CN103984973A - Quality testing anti-fake control method based on two-dimensional bar code application - Google Patents

Quality testing anti-fake control method based on two-dimensional bar code application Download PDF

Info

Publication number
CN103984973A
CN103984973A CN201410159826.2A CN201410159826A CN103984973A CN 103984973 A CN103984973 A CN 103984973A CN 201410159826 A CN201410159826 A CN 201410159826A CN 103984973 A CN103984973 A CN 103984973A
Authority
CN
China
Prior art keywords
quality inspection
bar code
quality
dimensional bar
control method
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
CN201410159826.2A
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.)
Inspur General Software Co Ltd
Original Assignee
Inspur General Software 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 Inspur General Software Co Ltd filed Critical Inspur General Software Co Ltd
Priority to CN201410159826.2A priority Critical patent/CN103984973A/en
Publication of CN103984973A publication Critical patent/CN103984973A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention relates to the quality testing anti-fake technical field, and particularly relates to a quality testing anti-fake control method based on two-dimensional bar code application. According to the quality testing anti-fake control method based on the two-dimensional bar code application, the specific structure of a two-dimensional bar code is used for being connected with a quality management system so that quality control personnel can be better controlled to acquire the information content of a quality testing object, the operation range of the quality control personnel is limited, and meanwhile the quality testing efficiency is improved.

Description

A kind of false proof control method of quality inspection based on two-dimensional bar code application
Technical field
The present invention relates to quality inspection field of anti-counterfeit technology, particularly a kind of false proof control method of quality inspection based on two-dimensional bar code application.
Background technology
In traditional quality inspection management process, quality inspection personnel directly, in the face of being verified the application of material, in the process of typing quality inspection result, can be known some out of Memory relevant to material unavoidably, as organization, and name of material etc.Yet due to various factors, quality inspection personnel may change original true quality inspection result after knowing material out of Memory, thereby affects justice and the accuracy of quality inspection process.So needing a kind of better quality inspection mode effectively controls this kind of behavior.
Summary of the invention
In order to solve the problem of prior art, the invention provides a kind of false proof control method of quality inspection based on two-dimensional bar code application, it utilizes the ad hoc structure of two-dimensional bar code, bond quality management system can better be controlled the information content that quality inspection personnel obtains quality inspection object, the opereating specification that limits quality inspection personnel improves quality inspection efficiency simultaneously.
The technical solution adopted in the present invention is as follows:
The false proof control method of quality inspection based on two-dimensional bar code application, comprises the following steps:
A, in existing quality control system, the information on please verification certificate is combined to form to the pre-encrypted characters string of quality information, and prints generating two-dimension bar-code after encrypting;
B, in existing quality control system, increase quality inspection result bar code input function, support scanning the deciphering of bar code, after deciphering, character string is split, described information is taken out, and carry out Authority Verification, only have the operator numbering of current login to number in consistent situation and could input quality inspection result with quality inspection people, and can only input in bar code with the result of the quality inspection contents of a project;
C, on quality inspection result bar code input function, increase save button, in the time of preservation, according to the serial number and the quality inspection bullets that take out, automatically upgrade the record on quality inspection record, finally complete the preservation of quality inspection result.
In steps A, key element used in quality inspection management is combined by certain rule, form the character string of normal structure, centre is cut apart with branch, carries out the typing of data acquisition and quality inspection result by two-dimensional bar code.
In step B, encryption and decryption adopt standard 64 bit encryption algorithms;
In step B, in Authority Verification process, quality inspection serial number, quality inspection personnel numbering, quality inspection bullets key element are as the foundation of Data Update and authority judgement, and wherein quality inspection serial number and quality inspection bullets are as the interface identifier with ERP quality information management system; Quality inspection personnel numbering identifies as control of authority.
In authority and false proof control, there is following critical control point:
1, before two-dimensional bar code printout, must encrypt, in case stop divides technician people for juggling things;
2, after two-dimensional bar code deciphering, must be consistent with the login personnel numbering of current system for the quality inspection personnel numbering after splitting, otherwise be considered as invalid;
3, the quality inspection project that can input can only be existing quality inspection project in two-dimensional bar code, other without exception can not typing.
The beneficial effect that technical scheme provided by the invention is brought is:
1, send to and on the sample in quality inspection personnel hand, only have a two-dimensional barcode information and encrypt, quality inspection personnel cannot identify the product which this is from Quick Response Code.
2, different quality inspection personnels is responsible for check and the result typing of disparity items, even if sample send mistake also can provide prompting in result typing, cannot operate.
Accompanying drawing explanation
Fig. 1 is the two-dimensional bar code structural drawing of a kind of false proof control method of quality inspection based on two-dimensional bar code application of the present invention;
Fig. 2 is the applicating flow chart of a kind of false proof control method of quality inspection based on two-dimensional bar code application of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
As shown in Figure 2, take coal chemical industry enterprises below as example, concrete operations flow process done to following explanation:
1, on weighing list, buying increases quality inspection sampled functions, simultaneously generating two-dimension bar-code character string;
2, two-dimensional bar code character string is encrypted, and printout.Code is as follows:
//base64 encrypts
// parameter declaration
//blobbuf content to be encrypted
Word string after // rreturn value base64 encrypts
char?lch_base64key[64]
lch_base64key?=?'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
longlong?ll_bloblen
ll_bloblen?=?len(blobbuf)
if?ll_bloblen?<=?0?then?return?''
string?ls_add
char?lch_charbuf[]
blob2chararray(blobbuf,lch_charbuf)
longlong?i,ll_temp,ll_n,ll_j
string?ls_temp,ls_return
ls_return?=?''
for?i?=?1?to?longlong(ll_bloblen/3)
ls_temp?=?int2hex(asc(lch_charbuf[3*i?-?2]))?+&
int2hex(asc(lch_charbuf[3*i?-?1]))?+&
int2hex(asc(lch_charbuf[3*i]))
ll_temp?=?hex2int(left(ls_temp,3))
ls_return?+=?lch_base64key[int(ll_temp?/?64)+1]?+?lch_base64key[mod(ll_temp,64)+1]
ll_temp?=?hex2int(mid(ls_temp,4,3))
ls_return?+=?lch_base64key[int(ll_temp?/?64)+1]?+?lch_base64key[mod(ll_temp,64)+1]
next
choose?case?mod(ll_bloblen,3)
case?1
ls_temp?=?int2hex(asc(lch_charbuf[ll_bloblen]))?+'0000'
ll_temp?=?hex2int(left(ls_temp,3))
ls_return?+=?lch_base64key[int(ll_temp?/?64)+1]?+?lch_base64key[mod(ll_temp,64)+1]?+?'=='
case?2
ls_temp?=?int2hex(asc(lch_charbuf[ll_bloblen?-?1]))?+&
int2hex(asc(lch_charbuf[ll_bloblen]))?+'00'
ll_temp?=?hex2int(left(ls_temp,3))
ls_return?+=?lch_base64key[int(ll_temp?/?64)+1]?+?lch_base64key[mod(ll_temp,64)+1]
ll_temp?=?hex2int(mid(ls_temp,4,3))
ls_return?+=?lch_base64key[int(ll_temp?/?64)+1]?+?'='
end?choose
return?ls_return
3, increase quality inspection result input function, after scanning barcode, be decrypted and carry out Authority Verification.Quality inspection personnel, after quality inspection result input interface scanning barcode, can only be seen quality inspection project information, only has a quality inspection result items to operate, and out of Memory is all hidden in database system.Partial code is as follows:
String?vsZgbh,vstmp,vslsbh,vszgbh,vszgxm,vsxmbh,vsxmmc
ISTMBH?=?sle_tmbh.text
ISTMBH?=?trim(ISTMBH)
if?ISTMBH?=?''?or?isnull(ISTMBH)?then
Messagebox (' prompting ', ' please input bar code! ')
return
end?if
The deciphering of // two-dimensional bar code
vstmp=unbase64encode(istmbh)
// bar code is split
vslsbh=get_token(vstmp,';;')
// checking serial number has validity
if?gf_exists('BFGBD','BFGBD_LSBH')<1?then
Messagebox (' prompting ', ' do not find document serial number corresponding to bar code! '+vslsbh+', whether PLSCONFM serial number is effective! ')
return
end?if
vszgbh=get_token(vstmp,';;')
// checking serial number has validity
if?gf_exists('ZWZGZD','ZWZGZD_ZGBH')<1?then
Messagebox (' prompting ', ' do not find operator to number in system! '+vszgbh+', whether PLSCONFM operator is effective! ')
return
end?if
The personnel of // checking in bar code number and must number with the personnel when login system unanimously, otherwise do not allow operation
if?vszgbh<>gszgbh?then
Messagebox (' prompting ', ' current operation person's numbering and operator in bar code number inconsistently, operation stops! ')
return
end?if
vszgxm=get_token(vstmp,';;')
vsxmbh=get_token(vstmp,';;')
// checking serial number has validity
if?gf_exists('ZZXMZD','ZZXMZD_XMBH')<1?then
Messagebox (' prompting ', ' do not find quality inspection bullets! '+vsxmbh+', whether PLSCONFM bullets is effective! ')
return
end?if
vsxmmc=get_token(vstmp,';;')
// search and have the quality inspection of authority project
dw_xmjg.Retrieve(vsZgbh,vsxmbh)
4, on quality inspection result input function, increase save button, according to serial number and quality inspection project backfill quality inspection record.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (4)

1. the false proof control method of quality inspection of applying based on two-dimensional bar code, comprises the following steps:
A, in existing quality control system, the information on please verification certificate is combined to form to the pre-encrypted characters string of quality information, and prints generating two-dimension bar-code after encrypting;
B, in existing quality control system, increase quality inspection result bar code input function, support scanning the deciphering of bar code, after deciphering, character string is split, described information is taken out, and carry out Authority Verification, only have the operator numbering of current login to number in consistent situation and could input quality inspection result with quality inspection people, and can only input in bar code with the result of the quality inspection contents of a project;
C, on quality inspection result bar code input function, increase save button, in the time of preservation, according to the serial number and the quality inspection bullets that take out, automatically upgrade the record on quality inspection record, finally complete the preservation of quality inspection result.
2. a kind of false proof control method of quality inspection based on two-dimensional bar code application according to claim 1, it is characterized in that, in described steps A, key element used in quality inspection management is combined by certain rule, form the character string of normal structure, centre is cut apart with branch, carries out the typing of data acquisition and quality inspection result by two-dimensional bar code.
3. a kind of false proof control method of quality inspection based on two-dimensional bar code application according to claim 1, is characterized in that, in described step B, encryption and decryption adopt standard 64 bit encryption algorithms.
4. a kind of false proof control method of quality inspection based on two-dimensional bar code application according to claim 1, it is characterized in that, in described step B, in Authority Verification process, quality inspection serial number, quality inspection personnel numbering, quality inspection bullets key element are as the foundation of Data Update and authority judgement, and wherein quality inspection serial number and quality inspection bullets are as the interface identifier with ERP quality information management system; Quality inspection personnel numbering identifies as control of authority.
CN201410159826.2A 2014-04-21 2014-04-21 Quality testing anti-fake control method based on two-dimensional bar code application Pending CN103984973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410159826.2A CN103984973A (en) 2014-04-21 2014-04-21 Quality testing anti-fake control method based on two-dimensional bar code application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410159826.2A CN103984973A (en) 2014-04-21 2014-04-21 Quality testing anti-fake control method based on two-dimensional bar code application

Publications (1)

Publication Number Publication Date
CN103984973A true CN103984973A (en) 2014-08-13

Family

ID=51276935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410159826.2A Pending CN103984973A (en) 2014-04-21 2014-04-21 Quality testing anti-fake control method based on two-dimensional bar code application

Country Status (1)

Country Link
CN (1) CN103984973A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303353A (en) * 2015-11-04 2016-02-03 用友网络科技股份有限公司 Raw material purchasing inspection method and apparatus
CN106899573A (en) * 2016-06-29 2017-06-27 钟海英 Goods inspection device and goods inspection method thereof
CN116862204A (en) * 2023-08-31 2023-10-10 山东浪潮数字商业科技有限公司 Quality inspection plan scheduling method and tool

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932867A (en) * 2005-09-14 2007-03-21 中国科学院自动化研究所 Goods after-sale service management system and method based on radio frequency identification technique
CN101162512A (en) * 2006-10-11 2008-04-16 北京农业信息技术研究中心 Aquiculture product quality safety whole processingmanagement and retroactive method and system
CN101383029A (en) * 2008-10-27 2009-03-11 武汉理工大学 Control system and method for supply chain quality management based on RFID
CN101819658A (en) * 2010-04-09 2010-09-01 浙江大学 Visual production management and control method for discrete workshop
KR100982810B1 (en) * 2007-06-05 2010-09-20 이학모 Service method for quality management of animal, their by-products, and providing customized information by using online database, and system thereof
CN102156894A (en) * 2011-04-07 2011-08-17 华南农业大学 Layered two-dimension code system and application method of layered two-dimension code system
CN103020679A (en) * 2012-12-18 2013-04-03 上海大学 Precast concrete member production quality detection system
CN103020829A (en) * 2012-12-11 2013-04-03 华南农业大学 Spatial visualization revealed two-dimension code food information tracing method
CN103116821A (en) * 2013-01-21 2013-05-22 重庆大学 Whole course tracking method and whole course tracking system of discrete manufacturing workshop production process quality
CN103345687A (en) * 2013-06-05 2013-10-09 苏州市外来有害生物防控技术中心 Product quality control management system based on two-dimension code-mobile technology
CN103440554A (en) * 2013-08-29 2013-12-11 中国科学院自动化研究所 Motor producing quality monitoring and managing system and corresponding method
CN103455896A (en) * 2013-09-30 2013-12-18 南京航空航天大学 Paperless assembling quality control method based on internet of things
CN103544448A (en) * 2013-09-25 2014-01-29 中山爱科数字科技股份有限公司 Method for drawing up contract through mobile terminals

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932867A (en) * 2005-09-14 2007-03-21 中国科学院自动化研究所 Goods after-sale service management system and method based on radio frequency identification technique
CN101162512A (en) * 2006-10-11 2008-04-16 北京农业信息技术研究中心 Aquiculture product quality safety whole processingmanagement and retroactive method and system
KR100982810B1 (en) * 2007-06-05 2010-09-20 이학모 Service method for quality management of animal, their by-products, and providing customized information by using online database, and system thereof
CN101383029A (en) * 2008-10-27 2009-03-11 武汉理工大学 Control system and method for supply chain quality management based on RFID
CN101819658A (en) * 2010-04-09 2010-09-01 浙江大学 Visual production management and control method for discrete workshop
CN102156894A (en) * 2011-04-07 2011-08-17 华南农业大学 Layered two-dimension code system and application method of layered two-dimension code system
CN103020829A (en) * 2012-12-11 2013-04-03 华南农业大学 Spatial visualization revealed two-dimension code food information tracing method
CN103020679A (en) * 2012-12-18 2013-04-03 上海大学 Precast concrete member production quality detection system
CN103116821A (en) * 2013-01-21 2013-05-22 重庆大学 Whole course tracking method and whole course tracking system of discrete manufacturing workshop production process quality
CN103345687A (en) * 2013-06-05 2013-10-09 苏州市外来有害生物防控技术中心 Product quality control management system based on two-dimension code-mobile technology
CN103440554A (en) * 2013-08-29 2013-12-11 中国科学院自动化研究所 Motor producing quality monitoring and managing system and corresponding method
CN103544448A (en) * 2013-09-25 2014-01-29 中山爱科数字科技股份有限公司 Method for drawing up contract through mobile terminals
CN103455896A (en) * 2013-09-30 2013-12-18 南京航空航天大学 Paperless assembling quality control method based on internet of things

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303353A (en) * 2015-11-04 2016-02-03 用友网络科技股份有限公司 Raw material purchasing inspection method and apparatus
CN106899573A (en) * 2016-06-29 2017-06-27 钟海英 Goods inspection device and goods inspection method thereof
CN106899573B (en) * 2016-06-29 2021-11-05 钟海英 Goods inspection device and goods inspection method thereof
CN116862204A (en) * 2023-08-31 2023-10-10 山东浪潮数字商业科技有限公司 Quality inspection plan scheduling method and tool

Similar Documents

Publication Publication Date Title
CN106788995B (en) File encryption method and device
US9374222B2 (en) Secure communication of data between devices
CN106060078B (en) User information encryption method, register method and verification method applied to cloud platform
CN102171652A (en) Method for provisioning trusted software to an electronic device
CN109271798A (en) Sensitive data processing method and system
CN105184181B (en) File encryption method, file decryption method and file encryption device
CN102510378A (en) Method for logging in online game through mobile equipment
CN108075888B (en) Dynamic URL generation method and device, storage medium and electronic equipment
CN105101183A (en) Method and system for protecting private contents at mobile terminal
CN104657670A (en) Data encryption based safety use method of configuration file
CN103914662A (en) Access control method and device of file encrypting system on the basis of partitions
CN103929411A (en) Information displaying method, terminal, safety server and system
CN104050431A (en) Self-signing method and self-signing device for RFID chips
CN108667784B (en) System and method for protecting internet identity card verification information
KR102272928B1 (en) Operating method for machine learning model using encrypted data and apparatus based on machine learning model
CN103456050A (en) Electronic confirmation method and system
CN105763525A (en) Identification code generation method, device, identification code decryption method and device
CN103400063A (en) Method and device for executing script file
CN103873250A (en) Ciphertext generation method, ciphertext decryption method and encryption/ decryption device
CN103984973A (en) Quality testing anti-fake control method based on two-dimensional bar code application
CN105577673A (en) Data encryption method and data encryption server based on issuing encryption algorithm
CN105554038A (en) Control method for data security during on-line system and off-line system data interaction
JP6149749B2 (en) Information processing apparatus, information processing system, and program
CN102882675A (en) Password encryption method for social network sites
CN107682303B (en) System and method for encrypting and inquiring personal sensitive information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140813