CN109829526B - Bar code management method and device and electronic equipment - Google Patents

Bar code management method and device and electronic equipment Download PDF

Info

Publication number
CN109829526B
CN109829526B CN201910075751.2A CN201910075751A CN109829526B CN 109829526 B CN109829526 B CN 109829526B CN 201910075751 A CN201910075751 A CN 201910075751A CN 109829526 B CN109829526 B CN 109829526B
Authority
CN
China
Prior art keywords
bar code
code information
received
caching
reading instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910075751.2A
Other languages
Chinese (zh)
Other versions
CN109829526A (en
Inventor
巫金全
张波
郭颂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Urovo Technology Corp ltd
Original Assignee
Shenzhen Urovo Technology Corp 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 Shenzhen Urovo Technology Corp ltd filed Critical Shenzhen Urovo Technology Corp ltd
Priority to CN201910075751.2A priority Critical patent/CN109829526B/en
Publication of CN109829526A publication Critical patent/CN109829526A/en
Application granted granted Critical
Publication of CN109829526B publication Critical patent/CN109829526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a bar code management method, a device and an electronic device, which are applied to a handheld data acquisition terminal, wherein the handheld data acquisition terminal comprises a scanning device and a caching device, and the method comprises the following steps: receiving a current frame image of a barcode scanned by a scanning device; acquiring bar code information of a bar code according to the current frame image; and caching the bar code information into a caching device, judging whether a bar code information reading instruction is received at the same time, and outputting the bar code information according to the bar code information reading instruction if the bar code information reading instruction is received. The invention solves the problems that the traditional bar code scanner can not store data, the bar code data is lost, bar code receiving software is always at the front end, other operations can not be executed on the scanner during scanning, and the like, can realize the management of bar code data obtained by scanning, select the bar code sending time according to the user requirement, greatly facilitate the user, reduce the checking error rate and increase the use efficiency and flexibility of the scanner.

Description

Bar code management method and device and electronic equipment
Technical Field
The present invention relates to the field of barcode scanning technologies, and in particular, to a barcode management method, a barcode management device, and an electronic device.
Background
With the rapid development and expansion of the market, the bar code label is widely used, so the use efficiency of the bar code scanner is particularly important, the traditional scanner software is output immediately after the bar code is scanned, namely the scanner directly outputs to the front end after the bar code is scanned, and the way can lead to: if the bar code is received in no place, the scanned bar code data is lost, and the way leads to the fact that the user cannot accurately count the goods in application occasions such as inventory management and the like, or the user cannot count the goods due to misoperation, so that great inconvenience is brought to the use of the user.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a bar code management method, a device and electronic equipment aiming at the defects in the prior art.
The technical scheme adopted for solving the technical problems is as follows: the bar code management method is applied to a handheld data acquisition terminal, wherein the handheld data acquisition terminal comprises a scanning device and a buffer device, and the method comprises the following steps:
receiving a current frame image of the barcode scanned by the scanning device;
acquiring bar code information of the bar code according to the current frame image;
and caching the bar code information into a caching device, judging whether a bar code information reading instruction is received at the same time, and outputting the bar code information according to the bar code information reading instruction if the bar code information reading instruction is received.
Optionally, the caching the barcode information in the caching device, and simultaneously judging whether the barcode information reading instruction is received includes:
and detecting whether a display area of the handheld data acquisition terminal has a focus or not by adopting a focus detection method, and if so, judging that a bar code information reading instruction is received.
Optionally, the caching the barcode information in the caching device, and simultaneously judging whether the barcode information reading instruction is received includes:
judging whether a broadcast message is received or not; the broadcast message carries a data processing identifier;
if yes, acquiring a data processing identifier of the broadcast message;
judging whether a bar code information reading instruction is received according to the data processing identifier.
Optionally, the method further comprises:
judging whether the buffer time is reached, if so, deleting the bar code information which is buffered in the buffer device and reaches the buffer time.
Optionally, the caching the barcode information in the caching device includes:
and the root stores the bar code information in the caching device according to time sequence.
Optionally, the method further comprises:
judging whether an instruction for clearing bar code information is received or not;
if yes, deleting the bar code information corresponding to the bar code information clearing instruction cached in the caching device according to the bar code information clearing instruction.
The invention also provides a bar code management device which is applied to the handheld data acquisition terminal and comprises:
the receiving unit is used for receiving the current frame image of the bar code;
the bar code acquisition unit is used for acquiring bar code information of the bar code according to the current frame image;
and the control unit is used for caching the bar code information into the caching device, judging whether a bar code information reading instruction is received or not at the same time, and outputting the bar code information according to the bar code information reading instruction if the bar code information reading instruction is received.
Optionally, the control unit includes:
and the detection judging module is used for detecting whether the display area of the handheld data acquisition terminal has a focus or not by adopting a focus detection method, and judging that a bar code information reading instruction is received if the display area has the focus.
Optionally, the control unit is specifically configured to:
judging whether a broadcast message is received or not; the broadcast message carries a data processing identifier;
if yes, acquiring a data processing identifier of the broadcast message;
judging whether a bar code information reading instruction is received according to the data processing identifier.
The invention also provides an electronic device comprising a processor for implementing the barcode management method as described above when executing a computer program stored in a memory.
The bar code management method has the following beneficial effects: the bar code management method solves the problems that the traditional bar code scanner cannot store data, bar code data is easy to lose, bar code receiving software is always at the front end, other operations cannot be executed on the scanner during scanning, and the like, can realize the management of bar code data obtained through scanning, selects bar code sending time according to user requirements, greatly facilitates users, reduces inventory error rate, and increases the use efficiency and flexibility of the scanner.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a schematic flow chart of a bar code management method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a bar code management device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flow chart of a barcode management method according to an embodiment of the present invention is shown. It can be appreciated that the barcode management method provided by the embodiment of the present invention may be applied to a handheld data acquisition terminal, such as a PDA, where the handheld data acquisition terminal includes a scanning device and a buffering device. The scanning device comprises a camera, the camera is used for shooting images within a shooting range of the camera during scanning so as to acquire a current frame image, and the caching device is used for caching bar code information acquired according to the acquired current frame image.
As shown in fig. 1, the barcode management method of the embodiment of the present invention includes the following steps:
step S1, receiving a current frame image of the bar code scanned by the scanning device.
Specifically, after the scanning device is started, the scanning device starts to execute scanning action so as to shoot the obtained current frame image including the bar code. It will be appreciated that the scanning device may be triggered and started by a user, and in a specific embodiment, the scanning switch provided on the handheld data acquisition terminal may be triggered by the user to input an instruction for starting the scanning device, and when the handheld data acquisition terminal detects the instruction for starting the scanning device input by the user, the scanning device is controlled to be started, so as to execute the scanning action.
And S2, acquiring bar code information of the bar code according to the current frame image.
In the embodiment of the present invention, the method for acquiring the barcode information of the barcode may be implemented by using an existing scheme, and the embodiment of the present invention is not described herein.
And step S3, caching the bar code information into a caching device, judging whether a bar code information reading instruction is received at the same time, and outputting the bar code information according to the bar code information reading instruction if the bar code information reading instruction is received.
Optionally, the storing of the barcode information in the embodiment of the present invention may be cached in the cache device according to the acquisition time sequence of the barcode information.
In the embodiment of the invention, the bar code information is cached in the caching device, and whether the bar code information reading instruction is received or not is judged at the same time, which specifically comprises the following steps:
and detecting whether a display area of the handheld data acquisition terminal has a focus or not by adopting a focus detection method, and if so, judging that a bar code information reading instruction is received.
In the embodiment of the invention, the focus can be the bar code information acquisition operation input by the user in the display area of the handheld data acquisition terminal, for example, the focus can be the bar code input box input by the user in the display area of the handheld data acquisition terminal, when the handheld data acquisition terminal detects that the bar code input box input by the user is arranged in the display area, the user can judge that the bar code information reading instruction is received, and the user needs to acquire the bar code information cached in the caching device.
Alternatively, in some other embodiments, caching the barcode information in the caching device, and simultaneously determining whether the barcode information reading instruction is received specifically includes:
judging whether a broadcast message is received or not; the broadcast message carries a data processing identifier.
If yes, the data processing identification of the broadcast message is obtained.
Judging whether a bar code information reading instruction is received according to the data processing identifier.
Alternatively, the broadcast message may be generated by a user triggering application software installed on the handheld data acquisition terminal.
Further, the data processing identifier picked up by the broadcast message identifies whether the application software that generated the broadcast message has the capability to process the data of the barcode information. If the carried data processing mark has the data processing capability, judging that a bar code information reading instruction is received; if the carried data processing identifier does not have the data processing capability, judging that the bar code information reading instruction is not received. Optionally, the data processing identifier carried in the broadcast message may be implemented by using an existing scheme, which is not described herein in detail.
According to the bar code management method, bar code information is output to the display area of the handheld data acquisition terminal for a user of the handheld data acquisition terminal to check when the bar code information reading requirement exists in the scanning process, or is output to corresponding software installed on the handheld data acquisition terminal, and the bar code information is not output when the bar code information reading requirement does not exist, but is buffered in the buffer device. The requirement indicates that whether the bar code information is required to be read or not, the bar code information obtained by scanning is directly cached in the caching device, namely, when the bar code information is required to be read and the corresponding bar code information is output according to the bar code information reading instruction, the output bar code information is synchronously cached in the caching device. Further, the outputted barcode information may be barcode information directly outputted in the scanning process, or barcode information read from the buffer device.
Further, the barcode management method of the embodiment of the invention further comprises the following steps:
judging whether the buffer time is reached, if so, deleting the bar code information which is buffered in the buffer device and reaches the buffer time.
Specifically, by presetting the buffer time of the bar code information, when any one or more bar code information reaches the preset buffer time, the handheld data acquisition terminal automatically deletes the bar code information reaching the buffer time, so that the occupation of the storage space is avoided, and the use requirement of a user is met.
Further, the barcode management method of the embodiment of the invention further comprises the following steps:
and judging whether an instruction for clearing bar code information is received.
It will be appreciated that the instruction to clear the barcode information may be triggered by a user of the handheld data acquisition terminal performing a corresponding operation on the handheld data acquisition terminal.
If yes, deleting the bar code information which is cached in the caching device and corresponds to the bar code information clearing instruction according to the bar code information clearing instruction.
When the hand-held data acquisition terminal detects that a user inputs a bar code information clearing instruction, corresponding bar code information in the caching device is deleted according to the received bar code information clearing instruction, so that the caching space is effectively utilized according to the use requirement of the user.
Furthermore, in the barcode management method provided by the embodiment of the invention, since the barcode information is cached in the caching device, the operation of the front end of the handheld data acquisition terminal is not affected, so that the handheld data acquisition terminal can execute other operations while scanning.
By adopting the bar code management method, the invention effectively solves the problems that the traditional bar code scanner cannot store data, the bar code data is lost, bar code receiving software is always at the front end, other operations cannot be executed on the scanner during scanning, and the like, can realize the management of the bar code data obtained by scanning, select the bar code sending time according to the requirements of users, greatly facilitates the users, reduces the checking error rate, and increases the use efficiency and flexibility of the scanner.
Referring to fig. 2, a barcode management apparatus according to an embodiment of the present invention may be used to implement the barcode management method described above. The bar code device is optionally applied to a handheld data acquisition device, the handheld data acquisition terminal comprises a scanning device and a buffer device, wherein the scanning device comprises a camera, the camera is used for shooting images within a shooting range of the camera when scanning so as to acquire a current frame image, and the buffer device is used for buffering bar code information acquired according to the acquired current frame image.
As shown in fig. 2, the barcode management apparatus includes:
and a receiving unit 201 for receiving the current frame image of the bar code.
In the embodiment of the invention, the current frame image of the bar code can be obtained through the scanning device.
Specifically, after the scanning device is started, the scanning device starts to execute scanning action so as to shoot the obtained current frame image including the bar code. It will be appreciated that the scanning device may be triggered and started by a user, and in a specific embodiment, the scanning switch provided on the handheld data acquisition terminal may be triggered by the user to input an instruction for starting the scanning device, and when the handheld data acquisition terminal detects the instruction for starting the scanning device input by the user, the scanning device is controlled to be started, so as to execute the scanning action.
The barcode acquisition unit 202 is configured to acquire barcode information of a barcode according to a current frame image.
In the embodiment of the present invention, the method for acquiring the barcode information of the barcode may be implemented by using an existing scheme, and the embodiment of the present invention is not described herein.
And the control unit 203 is configured to cache the barcode information in the cache device, and determine whether a barcode information reading instruction is received, if yes, output the barcode information according to the barcode information reading instruction.
Optionally, the storing of the barcode information in the embodiment of the present invention may be cached in the cache device according to the acquisition time sequence of the barcode information.
In the embodiment of the present invention, the control unit 203 includes a detection and judgment module.
And the detection judging module is used for detecting whether the display area of the handheld data acquisition terminal has a focus or not by adopting a focus detection method, and judging that a bar code information reading instruction is received if the display area of the handheld data acquisition terminal has the focus.
In the embodiment of the invention, the focus can be the bar code information acquisition operation input by the user in the display area of the handheld data acquisition terminal, for example, the focus can be the bar code input box input by the user in the display area of the handheld data acquisition terminal, when the handheld data acquisition terminal detects that the bar code input box input by the user is arranged in the display area, the user can judge that the bar code information reading instruction is received, and the user needs to acquire the bar code information cached in the caching device.
Alternatively, in other embodiments, the control unit 203 is specifically configured to:
judging whether a broadcast message is received or not; the broadcast message carries a data processing identifier.
If yes, the data processing identification of the broadcast message is obtained.
Judging whether a bar code information reading instruction is received according to the data processing identifier.
Alternatively, the broadcast message may be generated by a user triggering application software installed on the handheld data acquisition terminal.
Further, the data processing identifier picked up by the broadcast message identifies whether the application software that generated the broadcast message has the capability to process the data of the barcode information. If the carried data processing mark has the data processing capability, judging that a bar code information reading instruction is received; if the carried data processing identifier does not have the data processing capability, judging that the bar code information reading instruction is not received. Optionally, the data processing identifier carried in the broadcast message may be implemented by using an existing scheme, which is not described herein in detail.
In the barcode management device, barcode information is output to a display area of the handheld data acquisition terminal for a user of the handheld data acquisition terminal to check or output to corresponding software installed on the handheld data acquisition terminal when barcode information reading requirements exist in the scanning process, and the barcode information is not output but is buffered in the buffer device when the barcode information reading requirements exist. The requirement indicates that whether the bar code information is required to be read or not, the bar code information obtained by scanning is directly cached in the caching device, namely, when the bar code information is required to be read and the corresponding bar code information is output according to the bar code information reading instruction, the output bar code information is synchronously cached in the caching device. Further, the outputted barcode information may be barcode information directly outputted in the scanning process, or barcode information read from the buffer device.
Further, the barcode management device of the embodiment of the present invention further includes: a first judgment unit.
And the judging unit is used for judging whether the buffer time is reached, and if so, deleting the bar code information which is buffered in the buffer device and reaches the buffer time.
Specifically, by presetting the buffer time of the bar code information, when any one or more bar code information reaches the preset buffer time, the handheld data acquisition terminal automatically deletes the bar code information reaching the buffer time, so that the occupation of the storage space is avoided, and the use requirement of a user is met.
Further, the barcode management device of the embodiment of the present invention further includes: and detecting an execution unit.
And the detection execution unit is used for judging whether a bar code information clearing instruction is received or not, and if yes, deleting bar code information which is cached in the caching device and corresponds to the bar code information clearing instruction according to the cleared bar code information instruction.
It will be appreciated that the instruction to clear the barcode information may be triggered by a user of the handheld data acquisition terminal performing a corresponding operation on the handheld data acquisition terminal.
When the hand-held data acquisition terminal detects that a user inputs a bar code information clearing instruction, corresponding bar code information in the caching device is deleted according to the received bar code information clearing instruction, so that the caching space is effectively utilized according to the use requirement of the user.
Referring to fig. 3, a schematic structural diagram of an electronic device according to an embodiment of the present invention is provided.
The electronic device comprises a camera and further comprises a processor 301, wherein the processor 301 is used for implementing the steps of the bar code management method when executing a computer program stored in a memory.
As shown in fig. 3, a processor 301 (e.g., a central processing unit, a graphics processor, etc.) may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage device 308 into a Random Access Memory (RAM) 303. In the RAM303, various programs and data required for the operation of the electronic apparatus 300 are also stored. The processor 301, the ROM302, and the RAM303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
In general, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 308 including, for example, magnetic tape, hard disk, etc.; and communication means 309. The communication means 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 shows an electronic device 300 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present invention, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device 309, or installed from a storage device 308, or installed from a ROM 302. The above-described functions defined in the method of the embodiment of the present invention are performed when the computer program is executed by the processor 301.
The computer readable medium of the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device 300; or may exist alone without being assembled into the electronic device 300.
The computer readable medium carries one or more programs which, when executed by the electronic device 300, cause the electronic device 300 to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects an internet protocol address from the at least two internet protocol addresses and returns the internet protocol address; receiving an Internet protocol address returned by the node evaluation equipment; wherein the acquired internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs that, when executed by the electronic device 300, cause the electronic device 300 to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present invention may be implemented in software or in hardware. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
The embodiment of the invention also provides a readable storage medium, on which a computer program is stored, which when executed by a processor, implements the barcode management method.
The readable storage medium provided by embodiments of the present invention includes, but is not limited to, a magnetic disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any combination of the foregoing.
It is to be understood that the readable storage medium of the present invention may be the readable storage medium included in the electronic device 300 described above, or may be a readable storage medium that exists independently and is not installed in the electronic device 300.
Further, the computer program stored in the readable storage medium of the present invention may be one or more programs.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a magnetic disk, an optical disk, a read-only memory (ROM) or a random-access memory (RAM), etc., including several instructions to cause a computer device (which may be a personal computer, a server, a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
The above embodiments are provided to illustrate the technical concept and features of the present invention and are intended to enable those skilled in the art to understand the content of the present invention and implement the same according to the content of the present invention, and not to limit the scope of the present invention. All equivalent changes and modifications made with the scope of the claims should be covered by the claims.
It will be understood that modifications and variations will be apparent to those skilled in the art from the foregoing description, and it is intended that all such modifications and variations be included within the scope of the following claims.

Claims (4)

1. The bar code management method is applied to a handheld data acquisition terminal, wherein the handheld data acquisition terminal comprises a scanning device and a buffer device, and is characterized by comprising the following steps:
receiving a current frame image of the barcode scanned by the scanning device;
acquiring bar code information of the bar code according to the current frame image;
caching the bar code information into a caching device, judging whether a bar code information reading instruction is received at the same time, and outputting the bar code information according to the bar code information reading instruction if the bar code information reading instruction is received; the caching the bar code information into a caching device comprises the following steps: the bar code information is cached in the caching device according to time sequence;
the step of caching the bar code information into a caching device and judging whether a bar code information reading instruction is received simultaneously comprises the following steps:
detecting whether a display area of the handheld data acquisition terminal has a focus or not by adopting a focus detection method, and if so, judging that a bar code information reading instruction is received;
or, the caching the bar code information in the caching device, and simultaneously judging whether the bar code information reading instruction is received includes:
judging whether a broadcast message is received or not; the broadcast message carries a data processing identifier;
if yes, acquiring a data processing identifier of the broadcast message;
judging whether a bar code information reading instruction is received according to the data processing identifier;
the method further comprises the steps of:
judging whether the buffer time is reached, if so, deleting the bar code information which is buffered in the buffer device and reaches the buffer time.
2. The barcode management method of claim 1, wherein the method further comprises:
judging whether an instruction for clearing bar code information is received or not;
if yes, deleting the bar code information corresponding to the bar code information clearing instruction cached in the caching device according to the bar code information clearing instruction.
3. The utility model provides a bar code management device is applied to handheld data acquisition terminal, which characterized in that includes:
the receiving unit is used for receiving the current frame image of the bar code;
the bar code acquisition unit is used for acquiring bar code information of the bar code according to the current frame image;
the control unit is used for caching the bar code information into the caching device and judging whether a bar code information reading instruction is received or not at the same time, and if yes, outputting the bar code information according to the bar code information reading instruction; the control unit buffers the bar code information into the buffer device according to time sequence;
the control unit includes:
the detection judging module is used for detecting whether a display area of the handheld data acquisition terminal has a focus or not by adopting a focus detection method, and judging that a bar code information reading instruction is received if the display area has the focus;
alternatively, the control unit is specifically configured to:
judging whether a broadcast message is received or not; the broadcast message carries a data processing identifier;
if yes, acquiring a data processing identifier of the broadcast message;
judging whether a bar code information reading instruction is received according to the data processing identifier;
the control unit is further configured to: judging whether the buffer time is reached, if so, deleting the bar code information which is buffered in the buffer device and reaches the buffer time.
4. An electronic device comprising a processor for implementing the barcode management method of claim 1 or 2 when executing a computer program stored in a memory.
CN201910075751.2A 2019-01-25 2019-01-25 Bar code management method and device and electronic equipment Active CN109829526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910075751.2A CN109829526B (en) 2019-01-25 2019-01-25 Bar code management method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910075751.2A CN109829526B (en) 2019-01-25 2019-01-25 Bar code management method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109829526A CN109829526A (en) 2019-05-31
CN109829526B true CN109829526B (en) 2023-09-26

Family

ID=66862456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910075751.2A Active CN109829526B (en) 2019-01-25 2019-01-25 Bar code management method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109829526B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020204957A (en) * 2019-06-18 2020-12-24 東芝テック株式会社 Bar code generator, bar code generation method, and bar code generation program
CN112052753A (en) * 2020-08-21 2020-12-08 广汽本田汽车有限公司 Specification error-proofing identification method and device, terminal equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622574A (en) * 2012-04-13 2012-08-01 南京华博科技有限公司 Double-barcode scanning unit and scanning method and application thereof
CN104123520B (en) * 2013-04-28 2017-09-29 腾讯科技(深圳)有限公司 Two-dimensional code scanning method and device
CN106453052B (en) * 2016-10-14 2020-06-19 北京小米移动软件有限公司 Message interaction method and device
CN106407471B (en) * 2016-10-31 2019-10-25 上海慕聊物联网科技有限公司 Figure code scanning data processing method, apparatus and system
CN106897646A (en) * 2017-01-17 2017-06-27 珠海格力电器股份有限公司 The input method and device of bar code information
CN107885430B (en) * 2017-11-07 2020-07-24 Oppo广东移动通信有限公司 Audio playing method and device, storage medium and electronic equipment
CN108304899A (en) * 2018-01-16 2018-07-20 阿里巴巴集团控股有限公司 Information processing method, device and equipment based on scanning DOI

Also Published As

Publication number Publication date
CN109829526A (en) 2019-05-31

Similar Documents

Publication Publication Date Title
US20220385612A1 (en) Mail processing method and apparatus, electronic device and storage medium
CN109829526B (en) Bar code management method and device and electronic equipment
CN111310482A (en) Real-time translation method, device, terminal and storage medium
CN112433920A (en) Buried point data reporting method, device, equipment and medium
CN109815766B (en) Bar code scanning method and device, mobile terminal and readable storage medium
CN111309496A (en) Method, system, device, equipment and storage medium for realizing delay task
CN111783010B (en) Webpage blank page monitoring method, device, terminal and storage medium
CN111669625A (en) Processing method, device and equipment for shot file and storage medium
CN110071959B (en) Method and device for timing synchronization of third-party national standard resources
JP5632733B2 (en) Display device, screen image transfer method, and program
CN107889191B (en) Connection method, device and equipment of wireless local area network and computer readable storage medium
CN115134254B (en) Network simulation method, device, equipment and storage medium
CN107342981B (en) Sensor data transmission method and device and virtual reality head-mounted equipment
US20230418470A1 (en) Data processing method and apparatus, and electronic device
CN111309221A (en) Page processing method, device and equipment
CN106302821B (en) Data request method and equipment thereof
CN113033552B (en) Text recognition method and device and electronic equipment
CN109685508B (en) Transaction data processing method and device, electronic equipment and readable storage medium
CN109741069B (en) Transaction data processing method and device, electronic equipment and readable storage medium
CN110377654B (en) Data request processing method and device, electronic equipment and computer-readable storage medium
CN113760631A (en) Page loading duration determination method, device, equipment and storage medium
CN112101810A (en) Risk event control method, device and system
EP4328726A1 (en) Video generation method and apparatus, and electronic device and storage medium
CN111144077A (en) View information deleting method, device, equipment and computer readable storage medium
CN109167668B (en) Message notification method, message notification device and terminal equipment

Legal Events

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