CN108182459A - A kind of digital display calliper collecting method based on continuous barcode scanning - Google Patents
A kind of digital display calliper collecting method based on continuous barcode scanning Download PDFInfo
- Publication number
- CN108182459A CN108182459A CN201711257765.3A CN201711257765A CN108182459A CN 108182459 A CN108182459 A CN 108182459A CN 201711257765 A CN201711257765 A CN 201711257765A CN 108182459 A CN108182459 A CN 108182459A
- Authority
- CN
- China
- Prior art keywords
- data
- digital display
- display calliper
- mobile terminal
- barcode scanning
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods 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
- G06K17/0016—Selecting or retrieving of images by means of their associated code-marks, e.g. coded microfilm or microfiche
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of digital display calliper collecting method based on continuous barcode scanning, and step includes:(1) the digital display calliper data acquisition based on mobile terminal;(2) measured data grouping generation Quick Response Code;(3) 2 D code information identification and parsing in groups.The present invention is based on Quick Response Code generation and identification technologies, are attached using mobile terminal and digital display calliper, data transfer is carried out according to packet mode, and so as to solve, the acquisition of digital display calliper data is inconvenient, imports the problems such as not convenient.It is realized by the method for the present invention and a large amount of measured data transmission is carried out based on continuous barcode scanning, so as to lay the foundation for the level of digital for improving production scene quality testing, can be promoted and applied in other similar application scenes.
Description
Technical field
The present invention relates to Digitized Manufacturing Technology fields, and in particular to a kind of digital display calliper data based on continuous barcode scanning are adopted
Diversity method.
Background technology
With the gradually popularization and application of digital display calliper in recent years at Workshop Production scene, controlled to realize towards Key Quality
The qualitative data online acquisition of point is laid a good foundation with management, is set in the measurement process of critical size by using digital display calliper
It is standby, accuracy, the stability of detection data can be greatly improved.But since the data output interface of digital display calliper is generally using same
Serial pulses output or USB outputs are walked, itself has store function, can not be by number according to information system cascade protection requirement
Video card ruler is directly connected into Intranet, and site environment is complicated, and connection is inconvenient, needs to solve the acquisition of digital display calliper data thus,
And by data are quick, safety imports Intranet problem after acquiring.
Invention content
The present invention provides a kind of base for providing existing digital display calliper data acquisition inconvenience, importing the problems such as not convenient
In the digital display calliper collecting method of continuous barcode scanning.
Realize the technical solution of the object of the invention:A kind of digital display calliper collecting method based on continuous barcode scanning, packet
Include following steps:
(1) the digital display calliper data acquisition based on mobile terminal
Mobile terminal and digital display calliper are established into communication connection, the data in digital display calliper are acquired by mobile terminal;
(2) measured data grouping generation Quick Response Code
Digital display calliper packet on step (1) mobile terminal is generated into Quick Response Code;Specially:
The data in digital display calliper are encrypted according to Base64 methods first, generate a character string, then according to
The length of setting carries out string segmentation, generates a character string dimension, then handles the data in array, in order
4 bit digitals mark is added before each array content, wherein first 2 are array element sum, latter 2 are serial number;It is original
Digital display calliper in data can be divided into the data cell of one group of ordered arrangement, specific length, and then by the data sheet
Member sequentially generates data two-dimension code image, and rolling broadcasting is carried out according to the frequency of setting on mobile terminal screen;
(3) 2 D code information identification and parsing in groups
Measured data two-dimension code image as obtained by high photographing instrument or high-definition camera scanning step (2) on mobile terminal,
And it is identified in real time and dissection process;
If data two-dimension code image identifies successfully, data are parsed according to the data processing rule in step (2) array,
4 data before interception, wherein preceding 2 be array element sum, latter 2 are serial number, and serial number and this group of data are stored in one
In Hash table, as first 2 of the element sum in Hash table=data two-dimension code image parsing data, then it represents that this identification
It completes, then the data in Hash table is spliced in sequence, and decrypted by Base64 methods, you can reduction mobile terminal
On digital display calliper data;After digital display calliper data on mobile terminal all identify successfully, by the digital display calliper data of acquisition
It is stored in database.
A kind of digital display calliper collecting method based on continuous barcode scanning as described above, passes through shifting in step (1)
Data in dynamic terminal acquisition digital display calliper, acquisition data mode is reads in real time, display data.
A kind of digital display calliper collecting method based on continuous barcode scanning as described above, passes through shifting in step (1)
Data in dynamic terminal acquisition digital display calliper, according to Quality Control card number, measured item by item piece by piece and with part using same item two ways into
Then row gathered data preserves a data, subsequently to reuse temporarily local.
A kind of digital display calliper collecting method based on continuous barcode scanning as described above will obtain in step (3)
Digital display calliper data deposit database, be according to respective rule be stored in database.
A kind of digital display calliper collecting method based on continuous barcode scanning as described above, if number in step (3)
It is identified successfully according to two-dimension code image, then skips this data two-dimension code image and carry out down data two-dimension code image identification.
A kind of digital display calliper collecting method based on continuous barcode scanning as described above, if number in step (3)
According to two-dimension code image recognition failures, then data two-dimension code image will be again identified that automatically, until data two-dimension code image is identified as
Work(.
Effect of the invention is that:A kind of digital display calliper collecting method based on continuous barcode scanning of the present invention,
It is based on Quick Response Code generation and identification technology, is attached using mobile terminal and digital display calliper, is carried out according to packet mode
Data transfer, so as to solve, the acquisition of digital display calliper data is inconvenient, imports the problems such as not convenient.It is realized by the method for the present invention
A large amount of measured data transmission are carried out based on continuous barcode scanning, so as to establish base for the level of digital for improving production scene quality testing
Plinth can be promoted and applied in other similar application scenes.Meanwhile the Quick Response Code generation in this method is using QR Code
Coding is verified that other coding modes similarly, can refer to and be used.
Description of the drawings
Fig. 1 is a kind of digital display calliper collecting method flow chart based on continuous barcode scanning of the present invention.
Fig. 2 generates Quick Response Code schematic diagram for the packet of actual measurement digital display calliper.
Specific embodiment
In the following with reference to the drawings and specific embodiments to a kind of digital display calliper data based on continuous barcode scanning of the present invention
Acquisition method is further described.
As depicted in figs. 1 and 2, a kind of digital display calliper collecting method based on continuous barcode scanning of the present invention,
Include the following steps:
(1) the digital display calliper data acquisition based on mobile terminal
Mobile terminal and digital display calliper are established into communication connection, the data in digital display calliper are acquired by mobile terminal,
Data mode is obtained as reading, display data in real time.
Acquire the data in digital display calliper above by mobile terminal, can according to Quality Control card number, using same item piece by piece and
It measures two ways item by item with part and is acquired data, then a data are preserved temporarily local, subsequently to reuse.
(2) measured data grouping generation Quick Response Code
Digital display calliper packet on step (1) mobile terminal is generated into Quick Response Code;Specially:
The data in digital display calliper are encrypted according to Base64 methods first, generate a character string, then according to
The length of setting carries out string segmentation, generates a character string dimension, then handles the data in array, in order
4 bit digitals mark is added before each array content, wherein first 2 are array element sum, latter 2 are serial number;It is original
Digital display calliper in data can be divided into the data cell of one group of ordered arrangement, specific length, and then by the data sheet
Member sequentially generates data two-dimension code image, and rolling broadcasting is carried out according to the frequency of setting on mobile terminal screen;
(3) 2 D code information identification and parsing in groups
Measured data two-dimension code image as obtained by high photographing instrument or high-definition camera scanning step (2) on mobile terminal,
And it is identified in real time and dissection process;
If data two-dimension code image identifies successfully, data are parsed according to the data processing rule in step (2) array,
4 data before interception, wherein preceding 2 be array element sum, latter 2 are serial number, and serial number and this group of data are stored in one
In Hash table, as first 2 of the element sum in Hash table=data two-dimension code image parsing data, then it represents that this identification
It completes, then the data in Hash table is spliced in sequence, and decrypted by Base64 methods, you can reduction mobile terminal
On digital display calliper data;After digital display calliper data on mobile terminal all identify successfully, by the digital display calliper data of acquisition
Database is stored according to respective rule.
If data two-dimension code image identifies successfully, skip this data two-dimension code image and carry out down a data Quick Response Code
Picture recognition.If data two-dimension code image recognition failures, data two-dimension code image will be again identified that automatically, until data two
Tie up the success of code picture recognition.
Claims (6)
1. a kind of digital display calliper collecting method based on continuous barcode scanning, it is characterised in that:This method comprises the following steps:
(1) the digital display calliper data acquisition based on mobile terminal
Mobile terminal and digital display calliper are established into communication connection, the data in digital display calliper are acquired by mobile terminal;
(2) measured data grouping generation Quick Response Code
Digital display calliper packet on step (1) mobile terminal is generated into Quick Response Code;Specially:
The data in digital display calliper according to Base64 methods are encrypted first, a character string are generated, then according to setting
Length carry out string segmentation, generate a character string dimension, then the data in array are handled, in order every
4 bit digitals mark is added before a array content, wherein first 2 are array element sum, latter 2 are serial number;Original number
Data in video card ruler can be divided into the data cell of one group of ordered arrangement, specific length, and then the data cell is pressed
Sequence generates data two-dimension code image, and rolling broadcasting is carried out according to the frequency of setting on mobile terminal screen;
(3) 2 D code information identification and parsing in groups
Measured data two-dimension code image as obtained by high photographing instrument or high-definition camera scanning step (2) on mobile terminal, and it is real
When be identified and dissection process;
If data two-dimension code image identifies successfully, data, interception are parsed according to the data processing rule in step (2) array
Preceding 4 data, wherein preceding 2 be array element sum, latter 2 are serial number, and serial number and this group of data are stored in a Hash
In table, as first 2 of the element sum in Hash table=data two-dimension code image parsing data, then it represents that this has been identified
Into, then the data in Hash table are spliced in sequence, and by Base64 methods decrypt, you can reduction mobile terminal on
Digital display calliper data;After digital display calliper data on mobile terminal all identify successfully, the digital display calliper data of acquisition are deposited
Enter database.
2. a kind of digital display calliper collecting method based on continuous barcode scanning according to claim 1, it is characterised in that:
The data in digital display calliper are acquired by mobile terminal in step (1), obtain data mode as reading, display data in real time.
3. a kind of digital display calliper collecting method based on continuous barcode scanning according to claim 1, it is characterised in that:
The data in digital display calliper are acquired by mobile terminal in step (1), according to Quality Control card number, using same item piece by piece and with part item by item
It measures two ways and is acquired data, then a data are preserved temporarily local, subsequently to reuse.
4. a kind of digital display calliper collecting method based on continuous barcode scanning according to claim 1, it is characterised in that:
The digital display calliper data of acquisition are stored in database in step (3), are to be stored in database according to respective rule.
5. a kind of digital display calliper collecting method based on continuous barcode scanning according to claim 1, it is characterised in that:
If data two-dimension code image identifies successfully in step (3), skip this data two-dimension code image and carry out down a data two dimension
Code picture recognition.
6. a kind of digital display calliper collecting method based on continuous barcode scanning according to claim 1, it is characterised in that:
If data two-dimension code image recognition failures in step (3), data two-dimension code image will be again identified that automatically, until data two
Tie up the success of code picture recognition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711257765.3A CN108182459B (en) | 2017-12-04 | 2017-12-04 | Digital display caliper data acquisition method based on continuous code scanning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711257765.3A CN108182459B (en) | 2017-12-04 | 2017-12-04 | Digital display caliper data acquisition method based on continuous code scanning |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108182459A true CN108182459A (en) | 2018-06-19 |
CN108182459B CN108182459B (en) | 2021-06-22 |
Family
ID=62545573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711257765.3A Active CN108182459B (en) | 2017-12-04 | 2017-12-04 | Digital display caliper data acquisition method based on continuous code scanning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108182459B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103473583A (en) * | 2013-09-25 | 2013-12-25 | 中山爱科数字科技股份有限公司 | Electronic book displaying method applied to farm bookstore |
CN103617717A (en) * | 2013-12-15 | 2014-03-05 | 程振国 | Electric charge meter-reading payment method based on two-dimension code |
CN103617524A (en) * | 2013-12-15 | 2014-03-05 | 程振国 | Method for paying for natural gas at home |
CN103700239A (en) * | 2013-12-20 | 2014-04-02 | 江苏林洋电子股份有限公司 | Electric power meter reading system and electric power meter reading method based on two-dimensional code |
CN104376356A (en) * | 2014-12-02 | 2015-02-25 | 合肥城市云数据中心有限公司 | Two-dimensional code generating method with encryption function |
WO2015101076A1 (en) * | 2013-12-31 | 2015-07-09 | Tencent Technology (Shenzhen) Company Limited | Methods, devices, and systems for generating and verifying a document |
WO2016065912A1 (en) * | 2014-10-31 | 2016-05-06 | 广州市动景计算机科技有限公司 | Page synchronization method and device |
CN105937921A (en) * | 2016-06-08 | 2016-09-14 | 华东师范大学 | Floating type system for simultaneously monitoring water currents and water quality |
CN106372892A (en) * | 2016-08-25 | 2017-02-01 | 芯海科技(深圳)股份有限公司 | Mobile code scanning payment system and method for electronic price computing scale |
-
2017
- 2017-12-04 CN CN201711257765.3A patent/CN108182459B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103473583A (en) * | 2013-09-25 | 2013-12-25 | 中山爱科数字科技股份有限公司 | Electronic book displaying method applied to farm bookstore |
CN103617717A (en) * | 2013-12-15 | 2014-03-05 | 程振国 | Electric charge meter-reading payment method based on two-dimension code |
CN103617524A (en) * | 2013-12-15 | 2014-03-05 | 程振国 | Method for paying for natural gas at home |
CN103700239A (en) * | 2013-12-20 | 2014-04-02 | 江苏林洋电子股份有限公司 | Electric power meter reading system and electric power meter reading method based on two-dimensional code |
WO2015101076A1 (en) * | 2013-12-31 | 2015-07-09 | Tencent Technology (Shenzhen) Company Limited | Methods, devices, and systems for generating and verifying a document |
WO2016065912A1 (en) * | 2014-10-31 | 2016-05-06 | 广州市动景计算机科技有限公司 | Page synchronization method and device |
CN104376356A (en) * | 2014-12-02 | 2015-02-25 | 合肥城市云数据中心有限公司 | Two-dimensional code generating method with encryption function |
CN105937921A (en) * | 2016-06-08 | 2016-09-14 | 华东师范大学 | Floating type system for simultaneously monitoring water currents and water quality |
CN106372892A (en) * | 2016-08-25 | 2017-02-01 | 芯海科技(深圳)股份有限公司 | Mobile code scanning payment system and method for electronic price computing scale |
Also Published As
Publication number | Publication date |
---|---|
CN108182459B (en) | 2021-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107124444A (en) | A kind of method and apparatus of block chain data syn-chronization | |
CN104238819A (en) | Detection method and system for display screen state in mobile terminal | |
CN106845470A (en) | Map data collecting method and apparatus | |
CN105159958A (en) | Picture information processing method and system based on mobile terminal | |
CN111862063A (en) | Video quality evaluation method and device, computer equipment and storage medium | |
CN104732182A (en) | Two-dimension-code-based communication method on webpage | |
CN104077557B (en) | A kind of method and apparatus obtaining card image | |
CN110942021A (en) | Environment monitoring method, device, equipment and storage medium | |
CN107291863B (en) | A kind of quick check method and device for industrial control equipment information security | |
CN104616305A (en) | Artwork filing identification flow | |
CN109902923A (en) | A kind of method and apparatus of asset management | |
CN112287325A (en) | Operation verification method, operation verification device, storage medium and electronic device | |
CN103870488A (en) | File obtaining method and electronic device | |
CN114283416A (en) | Processing method and device for vehicle insurance claim settlement pictures | |
JP2015197851A (en) | Image processor, program for image processing and information management system | |
CN108182459A (en) | A kind of digital display calliper collecting method based on continuous barcode scanning | |
CN110839135B (en) | Recovery method and system for DV or HDV video file | |
JP6281207B2 (en) | Information processing apparatus, information processing method, and program | |
CN104281974A (en) | Mobile operation unified identifying, recognizing and information obtaining method and system | |
CN113014800B (en) | Intelligent photographing method for surveying operation in communication industry | |
CN102055743A (en) | Digital content transferring system and method | |
CN106778449B (en) | Object identification method of dynamic image and interactive film establishment method for automatically capturing target image | |
CN109819138B (en) | Method and system for monitoring field sampling | |
CN104408556B (en) | Remote units test installation system based on Android mobile terminal | |
US11200583B2 (en) | Using surface textures as unique identifiers for tracking material with a distributed ledger |
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 |