CN110633770A - Novel non-inductive bar code radio frequency card data acquisition system and method thereof - Google Patents

Novel non-inductive bar code radio frequency card data acquisition system and method thereof Download PDF

Info

Publication number
CN110633770A
CN110633770A CN201910876361.5A CN201910876361A CN110633770A CN 110633770 A CN110633770 A CN 110633770A CN 201910876361 A CN201910876361 A CN 201910876361A CN 110633770 A CN110633770 A CN 110633770A
Authority
CN
China
Prior art keywords
data
radio frequency
bar code
raspberry
server
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
CN201910876361.5A
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.)
Shanghai Sunmi Technology Group Co Ltd
Shenzhen Michelangelo Technology Co Ltd
Original Assignee
Shanghai Sunmi Technology Group Co Ltd
Shenzhen Michelangelo 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 Shanghai Sunmi Technology Group Co Ltd, Shenzhen Michelangelo Technology Co Ltd filed Critical Shanghai Sunmi Technology Group Co Ltd
Priority to CN201910876361.5A priority Critical patent/CN110633770A/en
Publication of CN110633770A publication Critical patent/CN110633770A/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
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations

Abstract

The invention provides a novel non-inductive bar code radio frequency card data acquisition system and a method thereof, wherein the system comprises: the raspberry group main control module receives and processes the read radio frequency data and the read bar code data; the RFID card reader is connected with the raspberry group main control module through a serial port; the at least one USB code reader is connected with one USB port of the raspberry pi main control module; the server is coupled with the raspberry group main control module and used for receiving the radio frequency data and the bar code data; and the mobile terminal with the display screen is connected with the server. The application method comprises the steps of initializing, starting a background of a main process of the raspberry dispatching operation system to automatically run, reading a network address configuration file, and judging whether data meet the specification in two threads; the raspberry pi main control module sends the reported and/or uploaded data to a server; the mobile terminal with the display screen accesses the server at any time. The invention can conveniently and quickly acquire data and directly check the data on the display screen, thereby greatly improving the working efficiency and the use convenience.

Description

Novel non-inductive bar code radio frequency card data acquisition system and method thereof
Technical Field
The invention mainly relates to the technical field of RFID (radio frequency identification devices), in particular to a novel non-inductive bar code radio frequency card data acquisition system and a method thereof.
Background
Radio Frequency Identification (RFID) is a non-contact automatic identification technology, and its basic principle is to utilize the transmission characteristics of Radio Frequency signal and spatial coupling (inductive or electromagnetic coupling) or radar reflection to realize automatic identification of an identified object. The RFID system at least comprises two parts, namely an electronic tag and a reader. The RFID reader (handheld reader) is in wireless communication with the RFID electronic tag through the antenna, and can read or write the tag identification code and the memory data. A typical reader contains a high frequency module (transmitter and receiver), a control unit, and a reader antenna. The RFID reading and writing is roughly divided into a low-frequency reader, a high-frequency reader, an ultrahigh-frequency reader, a double-frequency reader and a 433MHz active reader. The working principle of the RFID is as follows: in the radio frequency identification system, the electronic tag is also called as a radio frequency tag, a transponder and a data carrier; the reader is also called a reading device, a scanner, a communicator, a reader-writer (depending on whether the electronic tag can wirelessly rewrite data). The electronic tag and the reader realize space (non-contact) coupling of radio frequency signals through the coupling element, and realize energy transfer and data exchange in the coupling channel according to the time sequence relation.
There are two types of coupling of radio frequency signals that occur between a reader and an electronic tag:
(1) and (4) inductive coupling. The transformer model realizes coupling through a space high-frequency alternating magnetic field according to an electromagnetic induction law;
(2) electromagnetic backscatter coupling: the radar principle model reflects the emitted electromagnetic waves after the electromagnetic waves touch a target and carries back target information, and the space propagation rule of the electromagnetic waves is based on. The inductive coupling approach is generally suitable for near-field rfid systems operating at medium and low frequencies.
Along with the development of the mobile internet of things, the collection of intelligent data replaces manual recording, and the requirement of people on more convenient and rapid data collection is also obviously improved. However, most of the radio frequency card readers in the market independently and simply utilize a bar code gun and a code reader to acquire one-dimensional code two-dimensional codes and radio frequency card data, and the acquisition needs to use matched software to record the data and is not expensive, so that the problems of complex devices, high cost, poor man-machine interaction, poor user experience and the like exist.
Therefore, the urgent need is that the multi-data acquisition system has stronger functions, is more convenient and faster, better meets the requirements of users, has better man-machine interaction, and directly checks data by using mobile terminals such as a mobile phone or a tablet and the like of a user without a display, thereby being more in line with the development of the technology.
Disclosure of Invention
It is to be understood that both the foregoing general description and the following detailed description of the present disclosure are exemplary and explanatory and are intended to provide further explanation of the disclosure as claimed.
In order to solve the technical problem, the invention provides a novel non-inductive bar code radio frequency card data acquisition system, which is characterized by comprising:
the raspberry group main control module receives and processes the read radio frequency data and the read bar code data;
the RFID card reader is connected with the raspberry group main control module through a serial port;
at least one USB code reader connected with one USB port of the raspberry pi main control module;
the server is coupled with the raspberry group main control module and used for receiving the radio frequency data and the bar code data;
and the mobile terminal with the display screen is connected with the server and accesses the radio frequency data and the bar code data on the server.
Optionally, the invention relates to a novel non-inductive bar code radio frequency card data acquisition system, which is characterized in that,
the raspberry group main control module and the mobile terminal are accessed to the same local area wireless network through a router and are kept in the same network segment with the server.
Optionally, the invention relates to a novel non-inductive bar code radio frequency card data acquisition system, which is characterized in that,
and the radio frequency data and the bar code data are transmitted and received by adopting an http protocol.
The invention further discloses a method for collecting data by applying any novel non-inductive bar code radio frequency card data collecting system, which is characterized by comprising the following steps:
step one, initializing a raspberry pi operating system;
starting the background of the main process of the raspberry dispatching operation system to automatically run, reading a network address configuration file, connecting the network address configuration file to the server, then creating two threads, and synchronously reading the radio frequency card and the bar code data;
step three, firstly judging whether the data meet the specification in the two threads, if not, discarding, and if so, turning to step four;
step four, the processing of increasing data reporting and/or deleting data uploading is carried out according to the requirement;
step five, the raspberry group main control module sends the reported and/or uploaded data to the server;
and step six, the mobile terminal with the display screen accesses the server at any time.
Optionally, the method for acquiring data by using the novel non-inductive barcode radio frequency card data acquisition system of the present invention is characterized in that the initialization further includes:
the raspberry dispatching operating system downloads a Raspbian system file for system installation, then updates a system component, and inputs a sudo apt-get update in a terminal command window for updating;
a display screen, a mouse and a keyboard are externally connected to the raspberry pi main control module and connected with WIFI or a wired network;
configuring a serial port of the raspberry pi main control module for debugging the RFID card reader;
creating a folder in the raspberry group operating system, and putting a written program and related files into the folder;
after the relevant executable program is generated, the address and the port file of the server are configured according to the instruction document, the program is configured to be started for a starting background terminal, and the local storage data file is rebuilt according to the selectable timing task of the file.
Optionally, the method for collecting data by using the novel non-inductive barcode radio frequency card data collection system is characterized in that the data reporting includes that a user can add additional data to distinguish radio frequency data or barcode data and report the radio frequency data or barcode data to the server.
Optionally, the method for acquiring by using the novel non-inductive barcode radio frequency card data acquisition system is characterized in that the deleting data uploading includes that a user selects the radio frequency data or N bytes in the barcode data as required data to upload the data to the server.
Optionally, the method for acquiring data by using the novel non-inductive barcode radio frequency card data acquisition system is characterized in that in the fifth step, when the data is transmitted, whether the data is connected with a network or not is judged, and if the data is connected with the network, the data is transmitted; if the network is not connected, the data is stored in the backup file of the raspberry group main control module, a new thread is created to be continuously connected with the server, if new data comes in during the process of connecting the server, the data can be backed up in the file of the raspberry group operating system and cannot be uploaded, and the data is uploaded after connection.
Optionally, the method for collecting data by using the novel non-inductive barcode radio frequency card data collection system of the present invention is characterized in that, in the fifth step, when sending the data, the barcode data is reported in time, and one reported bar is read; and the raspberry master control module actively sends an instruction to read the radio frequency data.
Optionally, the method for collecting data by using the novel non-inductive barcode radio frequency card data collection system is characterized in that the data differentiation adopts one byte 00 to represent barcode data and 01 to represent radio frequency card data through a header.
Compared with the prior art, the invention has the following advantages: the problem of present a plurality of yard rifle of sweeping, code reader, RFID card reader just can read different data card barcode data, can the integration read multiple data, do not need multiple equipment coexistence.
Drawings
Embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. Reference will now be made in detail to the alternative embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts. Further, although the terms used in the present disclosure are selected from publicly known and used terms, some of the terms mentioned in the specification of the present disclosure may be selected by the applicant at his or her discretion, the detailed meanings of which are described in relevant parts of the description herein. Furthermore, it is required that the present disclosure is understood, not simply by the actual terms used but by the meaning of each term lying within.
The above and other objects, features and advantages of the present invention will become apparent to those skilled in the art from the following detailed description of the present invention with reference to the accompanying drawings.
FIG. 1 is a system block diagram of the present invention;
FIG. 2 is a system flow diagram of the present invention.
Reference numerals
11-RFID card reader
12-USB code reader
13-raspberry pi main control module
14-server
15-tablet or mobile phone display terminal
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only examples or embodiments of the application, from which the application can also be applied to other similar scenarios without inventive effort for a person skilled in the art. Unless otherwise apparent from the context, or otherwise indicated, like reference numbers in the figures refer to the same structure or operation.
As used in this application and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that steps and elements are included which are explicitly identified, that the steps and elements do not form an exclusive list, and that a method or apparatus may include other steps or elements.
The relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise. Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description. Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate. In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In the description of the present application, it is to be understood that the orientation or positional relationship indicated by the directional terms such as "front, rear, upper, lower, left, right", "lateral, vertical, horizontal" and "top, bottom", etc., are generally based on the orientation or positional relationship shown in the drawings, and are used for convenience of description and simplicity of description only, and in the case of not making a reverse description, these directional terms do not indicate and imply that the device or element being referred to must have a particular orientation or be constructed and operated in a particular orientation, and therefore, should not be considered as limiting the scope of the present application; the terms "inner and outer" refer to the inner and outer relative to the profile of the respective component itself.
Spatially relative terms, such as "above … …," "above … …," "above … …," "above," and the like, may be used herein for ease of description to describe one device or feature's spatial relationship to another device or feature as illustrated in the figures. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if a device in the figures is turned over, devices described as "above" or "on" other devices or configurations would then be oriented "below" or "under" the other devices or configurations. Thus, the exemplary term "above … …" can include both an orientation of "above … …" and "below … …". The device may be otherwise variously oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly.
It should be noted that the terms "first", "second", and the like are used to define the components, and are only used for convenience of distinguishing the corresponding components, and the terms have no special meanings unless otherwise stated, and therefore, the scope of protection of the present application is not to be construed as being limited. Further, although the terms used in the present application are selected from publicly known and used terms, some of the terms mentioned in the specification of the present application may be selected by the applicant at his or her discretion, the detailed meanings of which are described in relevant parts of the description herein. Further, it is required that the present application is understood not only by the actual terms used but also by the meaning of each term lying within.
It will be understood that when an element is referred to as being "on," "connected to," "coupled to" or "contacting" another element, it can be directly on, connected or coupled to, or contacting the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly on," "directly connected to," "directly coupled to" or "directly contacting" another element, there are no intervening elements present. Similarly, when a first component is said to be "in electrical contact with" or "electrically coupled to" a second component, there is an electrical path between the first component and the second component that allows current to flow. The electrical path may include capacitors, coupled inductors, and/or other components that allow current to flow even without direct contact between the conductive components.
Flow charts are used herein to illustrate operations performed by systems according to embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in the exact order in which they are performed. Rather, various steps may be processed in reverse order or simultaneously. Meanwhile, other operations are added to or removed from these processes.
Example one
Please refer to the block diagram of the system of the present invention shown in fig. 1.
The acquisition system comprises an RFID card reader 11, a USB code reader 12, a raspberry group main control module 13, a server 14 and a display terminal 15 comprising a tablet and a mobile phone, wherein the barcode reader 12 is connected with a USB port of a development board of the raspberry group system 13, and the radio frequency card reader 11 needs to be connected with the development board serial port of the raspberry group system 13. The raspberry pi system 13 can be connected with a router through wireless WIFI, and a data acquisition program is embedded in a development board of the raspberry pi system 13 and is used for simultaneously acquiring data acquired by the bar code 12 and the card reader 11. The operating system 13 also automatically identifies whether the collected data meets the requirements of the user, and then uploads the data to the server 14, and the user checks data information through the tablet or the mobile phone terminal 15.
And a Raspbian system is installed and operated on the raspberry pi main control module 13. And the module 13 has 4 USB ports, and can support a plurality of USB code readers (one is taken as an example in this case). The raspberry pi serial port is only one, and only one RFID serial port card reader can be supported. The raspberry pi module 13 sends data to the server 14 through wifi connected to a local area network, and the mobile phone or the tablet terminal 15 obtains the data on the server 14 through an installed APK program.
When sending data, the raspberry pi module 13 may choose to send and read only a specific barcode, and the header uses one byte 00 to represent barcode data, and 01 to represent radio frequency card data, so as to distinguish.
When sending data, if the bar code is read from the USB code reader 12, adopting timely reporting to read one reported bar code; if the data is the radio frequency card data read from the RFID card reader 11, the raspberry dispatching system is adopted to actively send an instruction to read, the time can be selected to read once every 500 milliseconds, if the same data is read twice continuously, the same radio frequency card is considered, and the subsequent reading of the same radio frequency card data is not reported. And (3) continuing to report the data of the radio frequency card when the radio frequency card is released (the read data is 0 when the radio frequency card is released), wherein the data of the radio frequency card is read at the last time, and the data of the card is different at two times).
In addition, the invention also makes a network disconnection detection and reconnection mechanism in the aspect of network, when sending data, firstly judges whether the network is connected, if so, sends the data. Under the condition that the network is not communicated, the file is only stored in the local file, and the file is convenient to check. And new threads are created in the program to be continuously connected with the server until the server is connected, and the new data cannot be uploaded to the server.
In a preferred embodiment, the raspberry pi master control module 13 is selected as a 3 rd generation B + model, the barcode reader 12 is a honeywell USB barcode reader, and the RFID card reader 11 is a reader/writer of a common standard that can recognize a tag of a high-frequency 14443A protocol.
Figure 2 illustrates a flow diagram of the present system.
Before starting the system flow, the connection between the modules is realized according to fig. 1, which is specifically as follows:
and a display screen, a mouse and a keyboard are externally connected to the raspberry group main control module 13 and connected with WIFI or a wired network. The official Raspbian system is then downloaded over the official web. After installation, the system component is updated, and the sudoapt-get update is input in a terminal command window for updating.
The serial port of the raspberry group is configured firstly, the external RFID card reader 11 of the raspberry group main control module 13 is connected externally and debugged, and the serial port of the raspberry group main control module 13 can be adjusted to be the serial port of the RFID, so that the raspberry group can be communicated with the serial port of the RFID card reader.
Next, the acquisition system proceeds to the following flow with reference to fig. 2:
step 21, starting up to perform system initialization, where the initialization includes two aspects of software and hardware, and specifically includes the following steps:
the hardware initialization comprises the following steps: externally connect and debug raspberry group USB bar code ware 12, need insert any USB mouth of raspberry group host system 13 with bar code ware 12 this moment, then can open the terminal window, sweep a one-dimensional or two-dimensional code, see whether the terminal has data to print, guarantee that USB bar code ware intercommunication does not have the problem.
Meanwhile, a display screen, a mouse and a keyboard are externally connected to the raspberry group main control module 13 and connected with WIFI or a wired network;
and configuring a serial port of the raspberry pi main control module 13 for debugging the RFID card reader 11.
Software initialization, comprising:
first, a folder is created where the program source code can be compiled using GCC. And after generating a corresponding executable program, configuring the address and the port file of the server according to the related instruction document, and configuring the program to start a starting background terminal. And the locally stored data file can be reconstructed in accordance with the file selectable timing tasks. The problem of poor readability caused by too large data of the local data file is avoided.
Secondly, a server program is operated on the server, and the server is ensured to be always in an operating state.
Thirdly, installing the written APK program on the mobile phone or the tablet terminal 15;
fourthly, restarting the raspberry dispatching operating system, and under the condition that the network is smooth, scanning a bar code or a two-dimensional code or a radio frequency card, simultaneously opening a mobile phone or a tablet terminal to run an application program, and checking read data information.
Step 22, after the step 21 is determined to be completed, entering a normal working state, automatically running a data acquisition main process by a background, reading an IP configuration file, and creating two threads to synchronously read the radio frequency card and the bar code data;
step 23, reading data through the RFID card reader 11 and the USB code reader 12, specifically, actively cycling through the RFID card reader thread to send an acquisition instruction to the card reader to acquire radio frequency data; reading bar code data through a USB code reading thread;
step 24, judging whether data are read in, if no data are read in, turning to step 23, and continuing to wait for data reading;
step 25, if data are read in, processing the data in two threads respectively;
step 26, judging whether the codes meet the specification, namely whether the codes are radio frequency codes and bar codes required by a user, and the user can specify the required coding format;
step 27, if the step 26 is judged to be in accordance with the specification, continuing to perform the processing of increasing data reporting or deleting data uploading according to the requirement, and increasing data reporting: after checking that the code specification is met, the user may add additional data, such as header 00,01 to distinguish between a radio frequency code and a bar code; data upload may be truncated: after checking that the code specification is met, the user can only select the radio frequency code or the bar code, wherein N bytes are used as required data to upload the data to the server 14, the rest data are discarded, and after the data are uploaded or reported, the operation returns to the step 23 to continue to wait for data reading;
if step 26 determines that the data is not in compliance, step 28, the relevant data is discarded.
According to the introduction, the invention has the advantages compared with the prior art that:
(1) the problem of present a plurality of yard rifle of sweeping, code reader, RFID card reader just can read different data card barcode data, can the integration read multiple data, do not need multiple equipment coexistence.
(2) The problem that data can be read only by connecting a display and collected data can be processed only by different software in the prior art is solved. The user does not need to look at the display, and the data can be conveniently and quickly checked by using the terminal.
(3) The customization of the collected data is realized, the bar codes and the radio frequency cards with specific formats can be read through a built-in program, the data can be differentially processed, and the data can be uploaded to a server. The optimization is also carried out on a network processing block, so that the crash and the crash of a system in a network failure state can not occur, and the data loss (backup to the local) can not occur.
Having thus described the basic concept, it will be apparent to those skilled in the art that the foregoing disclosure is by way of example only, and is not intended to limit the present application. Various modifications, improvements and adaptations to the present application may occur to those skilled in the art, although not explicitly described herein. Such modifications, improvements and adaptations are proposed in the present application and thus fall within the spirit and scope of the exemplary embodiments of the present application.
Also, this application uses specific language to describe embodiments of the application. Reference throughout this specification to "one embodiment," "an embodiment," and/or "some embodiments" means that a particular feature, structure, or characteristic described in connection with at least one embodiment of the present application is included in at least one embodiment of the present application. Therefore, it is emphasized and should be appreciated that two or more references to "an embodiment" or "one embodiment" or "an alternative embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, some features, structures, or characteristics of one or more embodiments of the present application may be combined as appropriate.
Aspects of the present application may be embodied entirely in hardware, entirely in software (including firmware, resident software, micro-code, etc.) or in a combination of hardware and software. The above hardware or software may be referred to as "data block," module, "" engine, "" unit, "" component, "or" system. The processor may be one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), digital signal processing devices (DAPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, or a combination thereof. Furthermore, aspects of the present application may be represented as a computer product, including computer readable program code, embodied in one or more computer readable media. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disk, floppy disk, magnetic strips … …), optical disks (e.g., Compact Disk (CD), Digital Versatile Disk (DVD) … …), smart cards, and flash memory devices (e.g., card, stick, key drive … …).
The computer readable medium may comprise a propagated data signal with the computer program code embodied therein, for example, on a baseband or as part of a carrier wave. The propagated signal may take any of a variety of forms, including electromagnetic, optical, and the like, or any suitable combination. The computer readable medium can be any computer readable medium that can communicate, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or device. Program code on a computer readable medium may be propagated over any suitable medium, including radio, electrical cable, fiber optic cable, radio frequency signals, or the like, or any combination of the preceding.
Similarly, it should be noted that in the preceding description of embodiments of the application, various features are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure aiding in the understanding of one or more of the embodiments. This method of disclosure, however, is not intended to require more features than are expressly recited in the claims. Indeed, the embodiments may be characterized as having less than all of the features of a single embodiment disclosed above.
Numerals describing the number of components, attributes, etc. are used in some embodiments, it being understood that such numerals used in the description of the embodiments are modified in some instances by the use of the modifier "about", "approximately" or "substantially". Unless otherwise indicated, "about", "approximately" or "substantially" indicates that the number allows a variation of ± 20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximations that may vary depending upon the desired properties of the individual embodiments. In some embodiments, the numerical parameter should take into account the specified significant digits and employ a general digit preserving approach. Notwithstanding that the numerical ranges and parameters setting forth the broad scope of the range are approximations, in the specific examples, such numerical values are set forth as precisely as possible within the scope of the application.
Although the present application has been described with reference to the present specific embodiments, it will be recognized by those skilled in the art that the foregoing embodiments are merely illustrative of the present application and that various changes and substitutions of equivalents may be made without departing from the spirit of the application, and therefore, it is intended that all changes and modifications to the above-described embodiments that come within the spirit of the application fall within the scope of the claims of the application.

Claims (10)

1. A novel non-inductive bar code radio frequency card data acquisition system is characterized in that the system comprises:
the raspberry group main control module receives and processes the read radio frequency data and the read bar code data;
the RFID card reader is connected with the raspberry group main control module through a serial port;
at least one USB code reader connected with one USB port of the raspberry pi main control module;
the server is coupled with the raspberry group main control module and used for receiving the radio frequency data and the bar code data;
and the mobile terminal with the display screen is connected with the server and accesses the radio frequency data and the bar code data on the server.
2. The novel radio frequency card data collection system of the non-inductive bar code as claimed in claim 1,
the raspberry group main control module and the mobile terminal are accessed to the same local area wireless network through a router and are kept in the same network segment with the server.
3. The novel radio frequency card data collection system of the non-inductive bar code as claimed in claim 2,
and the radio frequency data and the bar code data are transmitted and received by adopting an http protocol.
4. A method for collecting data by using the novel non-inductive bar code radio frequency card data collecting system of any one of claims 1 to 3, wherein the method comprises the following steps:
step one, initializing a raspberry pi operating system;
starting the background of the main process of the raspberry dispatching operation system to automatically run, reading a network address configuration file, connecting the network address configuration file to the server, then creating two threads, and synchronously reading the radio frequency card and the bar code data;
step three, firstly judging whether the data meet the specification in the two threads, if not, discarding, and if so, turning to step four;
step four, the processing of increasing data reporting and/or deleting data uploading is carried out according to the requirement;
step five, the raspberry group main control module sends the reported and/or uploaded data to the server;
and step six, the mobile terminal with the display screen accesses the server at any time.
5. The method for acquiring data by using the novel non-inductive bar code radio frequency card data acquisition system according to claim 4, wherein the initialization further comprises:
the raspberry dispatching operating system downloads a Raspbian system file for system installation, then updates a system component, and inputs a sudo apt-get update in a terminal command window for updating;
a display screen, a mouse and a keyboard are externally connected to the raspberry pi main control module and connected with WIFI or a wired network;
configuring a serial port of the raspberry pi main control module for debugging the RFID card reader;
creating a folder in the raspberry group operating system, and putting a written program and related files into the folder;
after the relevant executable program is generated, the address and the port file of the server are configured according to the instruction document, the program is configured to be started for a starting background terminal, and the local storage data file is rebuilt according to the selectable timing task of the file.
6. The method for collecting data by using the novel radio frequency card data collecting system with the non-inductive bar code as claimed in claim 5,
the data reporting includes that the user can add additional data to distinguish the radio frequency data or the bar code data and report the data to the server.
7. The method for collecting data by using the novel radio frequency card data collecting system with the non-inductive bar code as claimed in claim 5 or 6,
and the uploading of the deleted data comprises the step that the user selects N bytes in the radio frequency data or the bar code data as required data to upload the data to the server.
8. The method for acquiring data by using the novel non-inductive bar code radio frequency card data acquisition system according to claim 7, wherein the fifth step further comprises,
when the data is sent, judging whether the data is connected with a network or not, and if so, sending the data; if the network is not connected, the data is stored in the backup file of the raspberry group main control module, a new thread is created to be continuously connected with the server, if new data comes in during the process of connecting the server, the data can be backed up in the file of the raspberry group operating system and cannot be uploaded, and the data is uploaded after connection.
9. The method for collecting data by using the novel radio frequency card data collecting system with the non-inductive bar code as claimed in claim 8,
in the fifth step, when the data is sent, the bar code data is reported in time, and one reported bar is read;
and the raspberry master control module actively sends an instruction to read the radio frequency data.
10. The method for collecting data by using the novel radio frequency card data collecting system with the non-inductive bar code as claimed in claim 9,
the data distinction adopts one byte 00 to represent bar code data through a header, and 01 to represent radio frequency card data.
CN201910876361.5A 2019-09-17 2019-09-17 Novel non-inductive bar code radio frequency card data acquisition system and method thereof Pending CN110633770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910876361.5A CN110633770A (en) 2019-09-17 2019-09-17 Novel non-inductive bar code radio frequency card data acquisition system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910876361.5A CN110633770A (en) 2019-09-17 2019-09-17 Novel non-inductive bar code radio frequency card data acquisition system and method thereof

Publications (1)

Publication Number Publication Date
CN110633770A true CN110633770A (en) 2019-12-31

Family

ID=68972734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910876361.5A Pending CN110633770A (en) 2019-09-17 2019-09-17 Novel non-inductive bar code radio frequency card data acquisition system and method thereof

Country Status (1)

Country Link
CN (1) CN110633770A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160253645A1 (en) * 2010-09-07 2016-09-01 Revel Systems, Inc. Point of sale system with data adapter
CN206331493U (en) * 2016-12-13 2017-07-14 陕西科技大学 A kind of RFID Work attendance management devices sent based on raspberry
CN208401886U (en) * 2018-04-13 2019-01-18 四川野马科技有限公司 Internet of things equipment data management system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160253645A1 (en) * 2010-09-07 2016-09-01 Revel Systems, Inc. Point of sale system with data adapter
CN206331493U (en) * 2016-12-13 2017-07-14 陕西科技大学 A kind of RFID Work attendance management devices sent based on raspberry
CN208401886U (en) * 2018-04-13 2019-01-18 四川野马科技有限公司 Internet of things equipment data management system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
冯蓉珍、宋志强主编: "《嵌入式计算机应用》", 30 April 2017 *
张兴: "一种基于树莓派的门禁系统快速构建方法", 《电子技术与软件工程》 *
杨荣等: "基于Linux下多线程编程" *
雷敏、王婷主编: "《物联网安全实践》", 31 July 2017 *

Similar Documents

Publication Publication Date Title
CN102422553B (en) Near-field communication equipment
CN1612494A (en) Mobile communication terminal with RFID function and RFID programming method in the same
US8386681B2 (en) Multiple communication channels on MMC or SD CMD line
CN110475000B (en) Touch screen point reporting method and related equipment
WO2021097428A1 (en) Systems and methods of translating wireless device signals
CN110502462A (en) A kind of OCP adapter and server
CN104350720A (en) Providing serial protocol for bidirectional serial interconnect
CN201689446U (en) Study and entertainment interaction system utilizing radio-frequency identification and wireless sensor network
CN107172039B (en) Method, device and system for acquiring protocol key value
CN109034148A (en) One kind is based on character image identification audio reading method and its device
WO2018175558A1 (en) Method and system for generating rfid labels using rfid encoder attachment
GB2403038A (en) Wireless stylus with memory for inputting hand written data to a computer or storing data internally with a finger print reader for user identification
CN103971145A (en) Handheld type Internet of Things terminal
US9824246B2 (en) Radio frequency identification tag having input device
CN110633770A (en) Novel non-inductive bar code radio frequency card data acquisition system and method thereof
Chen et al. Development of Inventory Management System Based on Radio Frequency Identification Technology.
CN103489016A (en) RFID anti-collision read-write device and control method thereof
CN204883270U (en) Archives are system of making an inventory of goods in a warehouse in real time
CN104424153B (en) A kind of audio & video equipment data collecting system and its method to USB interface
KR101391981B1 (en) System for Building Chip into Electronic Parts
CN103632173B (en) Access, access processing method and the device of label
CN213182795U (en) RFID reader-writer and tool management system
KR101485157B1 (en) Radio Frequency identification tag comprising an input unit
CN204496239U (en) A kind of intelligent monitoring equipment with Tracking Recognition and positioning function
CN204009662U (en) A kind of multi-function device of sector terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191231

RJ01 Rejection of invention patent application after publication