CN101840498B - Bar code decoding device and security protection method thereof - Google Patents

Bar code decoding device and security protection method thereof Download PDF

Info

Publication number
CN101840498B
CN101840498B CN2010101892597A CN201010189259A CN101840498B CN 101840498 B CN101840498 B CN 101840498B CN 2010101892597 A CN2010101892597 A CN 2010101892597A CN 201010189259 A CN201010189259 A CN 201010189259A CN 101840498 B CN101840498 B CN 101840498B
Authority
CN
China
Prior art keywords
decoding
program
usability
unit
bar
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.)
Expired - Fee Related
Application number
CN2010101892597A
Other languages
Chinese (zh)
Other versions
CN101840498A (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.)
Newland Digital Technology Co ltd
Original Assignee
Fujian Newland Computer 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 Fujian Newland Computer Co Ltd filed Critical Fujian Newland Computer Co Ltd
Priority to CN2010101892597A priority Critical patent/CN101840498B/en
Publication of CN101840498A publication Critical patent/CN101840498A/en
Application granted granted Critical
Publication of CN101840498B publication Critical patent/CN101840498B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a bar code decoding device, which comprises a decoding unit and a verifying unit, wherein the decoding unit is used for decoding a bar code image by using a decoding program, and the decoding program comprises a program fragment; the verifying unit is used for receiving the program fragment, performing transformation on the program fragment and transmitting the transformed program fragment to the decoding unit; and the decoding unit continuously runs the decoding program by using the transformed program fragment to decode the bar code image. The device can ensure that a decoding process cannot be easily decoded and improve the security performance.

Description

A kind of bar-code decoder and method for security protection thereof
[technical field]
The present invention relates to barcode technology, especially, relate to a kind of bar-code decoder and method for security protection thereof.
[background technology]
Barcode technology is an emerging technology that integrates coding, printing, identification, data acquisition and processing (DAP) that on computer technology and infotech basis, grows up.Barcode technology is because its identification is quick, accurate, reliable and low cost and other advantages; Be widely used in fields such as commerce, taking care of books, storage, post and telecommunications, traffic and Industry Control, and certainly will in " Internet of Things " that rise gradually used, bring into play great function.
The bar code that is widely used at present comprises bar code and two-dimensional bar code.Bar code is claimed linear bar code again, is made up of a plurality of " bars " that are arranged in parallel and " sky " unit, and bar code information leans on bar and empty different in width and position to express.Bar code is not then expressed any information just in a direction (generally being horizontal direction) expressing information in vertical direction, so information capacity and space availability ratio are lower, and after bar code is damaged, promptly can't discern.
Two-dimensional bar code is made up of the chequered with black and white particular geometric figure that on two-dimensional directional, distributes according to certain rules, its can be on two-dimensional directional expressing information, so information capacity and space availability ratio are higher, and have certain verifying function.Two-dimensional bar code can be divided into stack two-dimensional bar code and matrix two-dimensional barcode.The stack two-dimensional bar code is that the bar code by the multirow cutting back piles up and forms, and representational stack two-dimensional bar code comprises PDF417, Code 49, Code 16K etc.Matrix two-dimensional barcode is made up of black, the white module that is distributed in by pre-defined rule in the matrix, and representational matrix two-dimensional barcode comprises Codeone, Aztec, Data Matrix, OR sign indicating number etc.
In the process that the above one dimension of introducing or two-dimensional bar code are decoded, tend to be provided with some verification methods to guarantee decoding safety, information can not distorted.The verification method of existing bar-code decoder generally is before decoding, to send authorization information to give authentication unit; Authentication unit is carrying out safety check to check information; To confirm whether to decode action, the check information of above-mentioned verification method is decrypted easily and distorts, and security performance is relatively poor.
Therefore, to the above deficiency that prior art exists, needing badly provides a kind of bar-code decoder and method for security protection thereof, makes to guarantee that decode procedure can not decoded easily, improves security performance.
[summary of the invention]
Be decrypted easily and distort in order to overcome check information that prior art exists, the problem that security performance is relatively poor, the present invention provides a kind of bar-code decoder and method for security protection thereof, makes to guarantee that decode procedure can not be decrypted, to improve security performance.
The invention provides a kind of bar-code decoder, comprising: decoding unit, utilize decoding program that bar code image is carried out decoding processing, wherein, decoding program comprises a usability of program fragments; Authentication unit; Be used to receive usability of program fragments; Usability of program fragments is carried out conversion process, the usability of program fragments after conversion process is sent to decoding unit, the usability of program fragments of decoding unit utilization after conversion process continues the operation decoding program so that bar code image is carried out decoding processing.
According to a preferred embodiment of the invention, usability of program fragments is arranged on the starting point of decoding program.
According to a preferred embodiment of the invention, usability of program fragments is an arithmetic expression, is used to carry out arithmetical operation and handles.
According to a preferred embodiment of the invention, usability of program fragments is arranged on the inside of decoding program.
According to a preferred embodiment of the invention, institute's usability of program fragments is an arithmetic expression, is used to carry out arithmetical operation and handles.
The present invention more provides a kind of method for security protection of bar-code decoder, may further comprise the steps: decoding unit decoding program out of service, and the usability of program fragments in the transmission decoding program is to authentication ' unit; Authentication ' unit is carried out conversion process to usability of program fragments, and the usability of program fragments that will carry out after the conversion process is back to decoding unit; The usability of program fragments that the decoding unit utilization is carried out after the conversion process continues the operation decoding program to carry out decoding operation.
According to a preferred embodiment of the invention, usability of program fragments is arranged on the starting point of decoding program.
According to a preferred embodiment of the invention, usability of program fragments is an arithmetic expression, is used to carry out arithmetical operation and handles.
According to a preferred embodiment of the invention, usability of program fragments is arranged on the inside of decoding program.
According to a preferred embodiment of the invention, institute's usability of program fragments is an arithmetic expression, is used to carry out arithmetical operation and handles.
Through above-mentioned setting, the invention provides a kind of bar-code decoder and method for security protection thereof, make to guarantee that decode procedure can not be decrypted, and has greatly improved security performance.
[description of drawings]
Illustrated in fig. 1 is the circuit connection block diagram of bar code decoding protective device of the present invention.
Fig. 2 shows a preferred flow charts of the method for security protection of decoding protective device of the present invention.
Fig. 3 shows another preferred flow charts of the method for security protection of decoding protective device of the present invention.
[embodiment]
Relevant characteristic of the present invention and technology contents please refer to following detailed description and accompanying drawing, and accompanying drawing only provides reference and explanation, are not to be used for the present invention is limited.
The circuit that Fig. 1 shows bar code decoding protective device of the present invention connects block diagram.As shown in Figure 1; The decoding protective device comprises controller decoding unit 110 and authentication ' unit 111; Wherein, Decoding unit 110 comprises arithmetical unit 101, data-carrier store 102, program storage 103 and bus 104, and authentication ' unit 111 comprises arithmetical unit 107, data-carrier store 108, program storage 109 and bus 106.
Decoding unit 110 sees through data line 105 and is connected with authentication ' unit 111, can between decoding unit 110 and authentication ' unit 111, transmit data.
Fig. 2 illustrates a preferred workflow diagram of decoding protective device of the present invention.
As shown in Figure 2, flow process starts from step 201.
In step 202, decoding unit 110 starts and the operation preset program.
In step 203, decoding unit 110 is sent to authentication ' unit 111 with the usability of program fragments in the preset program, and particularly, data line 105 capable of using is the transmission procedure fragment between bus 104 and bus 106.It should be noted that above forwarding step has write in the program storage 103 of decoding unit 110, when working procedure, program storage can be carried out above forwarding step.
In step 204; Authentication ' unit 111 is carried out conversion process according to the usability of program fragments that obtains; Particularly; 107 pairs of usability of program fragments of authentication ' unit 111 arithmetical unit capable of using are carried out conversion process, obtain transformation results, and this transformation results is seen through the program storage 103 that data line 105 is back to decoding unit 110.
In step 205, decoding unit 101 is proceeded decoding operation according to this return results.
In step 206, accomplish decoding operation.
Fig. 3 shows another preferred workflow diagram of decoding protective device of the present invention.
As shown in Figure 3, flow process starts from step 301.
In step 302, decoding unit 110 starts and utilizes the decoding program that is arranged on program storage 103 in advance that bar code image is carried out decoding operation.
In step 303, decoding unit 110 runs to the inner particular breakpoint 303 of decoding program.
In step 304, decoding unit 110 decoding programs out of service are sent to authentication ' unit 111 with the preset program fragment.
In step 305, authentication ' unit 111 utilizes usability of program fragments to carry out conversion process, and returns transformation results to decoding unit 110.
In step 306, decoding unit 110 utilizations are returned transformation results and are proceeded decoding operation.
In step 307, decoding unit 110 is accomplished decoding operation.
The flow process difference of Fig. 2 and Fig. 3 is; In the flow process of Fig. 2; Decoding unit 110 is preset in the starting point of decoding program with usability of program fragments, and program is just moved at the beginning usability of program fragments is sent to authentication ' unit 111, and in the flow process of Fig. 3; Decoding unit 110 is at decoding program internal preset breakpoint, and decoding program runs to the inner a certain breakpoint of program and again usability of program fragments is sent to authentication ' unit 111.
It should be noted that above-described usability of program fragments can be the program that is used to handle a certain arithmetical operation formula, authentication ' unit 111 can see through the rule of making an appointment this arithmetic expression is handled.For example, if the main effect of the usability of program fragments that decoding unit 110 sends is to be used to handle X+Y, so after authentication ' unit 111 is obtained the usability of program fragments of this X+Y; Can good according to a preconcerted arrangement rule carry out conversion,, again the usability of program fragments after this conversion is back in the decoding unit as can it being become X*Y to this arithmetic expression; Continuing operation X*Y by decoding unit (can be other arithmetic expressions, as also being transformed to X+Y+C certainly; Wherein C is the numerical value of making an appointment), therefore, if decoding process does not pass through the conversion process of authentication ' unit 111; That operation is X+Y so, is X*Y and in fact agreement need to move, so under the prerequisite of the conversion process of authentication ' unit 111; Utilize the result of computing gained can not carry out follow-up decoding processing, thereby guaranteed the security of decode procedure.
Can know that by the above embodiment that discloses disclosed bar code decoding protective device can guarantee that decode procedure can not be decrypted, and has improved security performance.
Above with reference to description of drawings various preferred embodiments of the present invention, but only otherwise deviate from essence of the present invention and scope, those skilled in the art can carry out modification and change on the various forms to it, all belongs to protection scope of the present invention.

Claims (10)

1. a bar-code decoder is characterized in that, comprising:
Decoding unit utilizes decoding program that bar code image is carried out decoding processing, and wherein, said decoding program comprises a usability of program fragments;
Authentication ' unit; Be used to receive said usability of program fragments, said usability of program fragments is carried out conversion process, the usability of program fragments after conversion process is sent to said decoding unit; The said usability of program fragments after conversion process of said decoding unit operation is to carry out computing; When the result of computing gained is predetermined result, continue the said decoding program of operation so that said bar code image is carried out decoding processing, wherein; Under the prerequisite of the conversion process of said authentication ' unit, utilize the result of said computing gained can not carry out follow-up decoding processing.
2. bar-code decoder according to claim 1 is characterized in that said usability of program fragments is arranged on the starting point of said decoding program.
3. bar-code decoder according to claim 2 is characterized in that said usability of program fragments is an arithmetic expression, is used to carry out arithmetical operation and handles.
4. bar-code decoder according to claim 1 is characterized in that said usability of program fragments is arranged on the inside of said decoding program.
5. bar-code decoder according to claim 4 is characterized in that, institute's usability of program fragments is an arithmetic expression, is used to carry out arithmetical operation and handles.
6. the method for security protection of a bar-code decoder is characterized in that may further comprise the steps:
Decoding unit decoding program out of service, the usability of program fragments in the transmission decoding program is to authentication ' unit;
Authentication ' unit is carried out conversion process to said usability of program fragments, and the usability of program fragments that will carry out after the conversion process is back to said decoding unit;
The said usability of program fragments after conversion process of said decoding unit operation is to carry out computing; When computing gained result is predetermined result; Continue the said decoding program of operation to carry out decoding operation; Wherein, under the prerequisite of the conversion process of said authentication ' unit, utilize the result of computing gained can not carry out follow-up decoding processing.
7. the method for security protection of bar-code decoder according to claim 6 is characterized in that, said usability of program fragments is arranged on the starting point of said decoding program.
8. the method for security protection of bar-code decoder according to claim 7 is characterized in that, said usability of program fragments is an arithmetic expression, is used to carry out arithmetical operation and handles.
9. the method for security protection of bar-code decoder according to claim 6 is characterized in that, said usability of program fragments is arranged on the inside of said decoding program.
10. the method for security protection of bar-code decoder according to claim 9 is characterized in that, institute's usability of program fragments is an arithmetic expression, is used to carry out arithmetical operation and handles.
CN2010101892597A 2010-06-01 2010-06-01 Bar code decoding device and security protection method thereof Expired - Fee Related CN101840498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101892597A CN101840498B (en) 2010-06-01 2010-06-01 Bar code decoding device and security protection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101892597A CN101840498B (en) 2010-06-01 2010-06-01 Bar code decoding device and security protection method thereof

Publications (2)

Publication Number Publication Date
CN101840498A CN101840498A (en) 2010-09-22
CN101840498B true CN101840498B (en) 2012-05-09

Family

ID=42743861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101892597A Expired - Fee Related CN101840498B (en) 2010-06-01 2010-06-01 Bar code decoding device and security protection method thereof

Country Status (1)

Country Link
CN (1) CN101840498B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138564B (en) * 2019-04-22 2021-12-24 福建天晴数码有限公司 Method for secure transmission of data from encoder, and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4803906B2 (en) * 2001-06-07 2011-10-26 株式会社キーエンス Method for generating barcode for setting optical information reader, method for changing setting of optical information reader, program for generating barcode for setting, and recording medium
JP2003124920A (en) * 2001-10-15 2003-04-25 Patent One Kk Identification information management system, method and apparatus, identification information-issuing apparatus, and/or program
JP4202101B2 (en) * 2002-10-10 2008-12-24 富士通株式会社 Barcode recognition method and recognition decoding processing apparatus
CN100590638C (en) * 2004-01-20 2010-02-17 深圳市朗科科技股份有限公司 Decoding device and method for bar code
WO2006003698A1 (en) * 2004-07-01 2006-01-12 Fujitsu Limited Device, method, and program for creating a two-dimensional barcode image, system and method for information transmission, and device, method, and program for decoding the two-dimensional barcode
KR100921353B1 (en) * 2007-07-30 2009-10-13 윤성 Apparatus and Method for authentication using mobilephone card

Also Published As

Publication number Publication date
CN101840498A (en) 2010-09-22

Similar Documents

Publication Publication Date Title
CN105512881B (en) A kind of method and terminal for completing payment based on two dimensional code
CN102075547B (en) Dynamic password generating method and device and authentication method and system
EP2765531B1 (en) Two-dimensional code authentication device, two-dimensional code authentication method and program
US8390431B1 (en) RFID tags that backscatter more codes
CN107797854B (en) Transaction file processing method and device, storage medium and computer equipment
US9129168B1 (en) RFID readers causing tags to backscatter based on challenge
CN104252613A (en) Method, device and terminal for obtaining virtual object
CN102761580A (en) Information safety processing method, processing server and processing client side
CN103377442A (en) Data processing method and system
CN103455965A (en) Verification image based verification method, device and server
CN110489466B (en) Method and device for generating invitation code, terminal equipment and storage medium
CN106033573A (en) Display method and device for logistics transportation state information
CN105631383A (en) Intelligent gating bar code decoding method and system
CN107944525A (en) A kind of method and system of the expansion Quick Response Code capacity based on data segmentation
CN101840498B (en) Bar code decoding device and security protection method thereof
CN201927039U (en) Bar code decoding device with verifying function
CN105490809B (en) Information acquisition method and device, terminal and server
CN101908133B (en) Method and device for decoding bar code
CN101833645B (en) Bar code decoding method based on code word combination
CN201927035U (en) Bar code decoding device and binaryzation device thereof
CN101882200B (en) System on chip for integrating bar code decoding chip and optical image sensor array
CN105141673A (en) Intelligent terminal and user information processing method thereof
CN105138894B (en) A kind of identifying code safety defense method, system and device
CN101882199B (en) Bus type bar code decoding chip
CN101908134A (en) Serial bus type bar-code decoding chip and bar-code decoding device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 350015 No. 1 Rujiangxi Road, Mawei District, Fuzhou City, Fujian Province

Patentee after: NEWLAND DIGITAL TECHNOLOGY Co.,Ltd.

Address before: 350015 New Continental Science Park No. 1 Rujiangxi Road, Mawei District, Fuzhou City, Fujian Province

Patentee before: Fujian Newland Computer Co.,Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120509

CF01 Termination of patent right due to non-payment of annual fee