Content of the invention
The present invention provides a kind of method and system of product code in association packing case code and packing case, for solving existing skill
In art, packing case code and product code in packing case are individually present, and are not easy to user and review product in packing case according to packing case code
Defect.
In order to solve above-mentioned technical problem, a technical scheme of the present invention is for providing a kind of association packing case code and packing case
The method of interior product code, methods described is implemented on by packaging products in boxes after packing case, before packing case closure of openings, described side
Method includes:
First yard of data on packing case is obtained according to first triggering command;
Obtain the opening image of this packing case according to the second triggering command, wherein, described opening image comprises this packing case
The second code of interior product;
Identify that described opening image obtains the second code data of each product in this packing case;
First yard of data on this packing case is associated with the second code data of product in this packing case.
In the further embodiment of the inventive method, on described packing case first yard be Quick Response Code, bar code or other
The code of standard.
In the further embodiment of the inventive method, first yard on described packing case is spray printing that preprint or real-time.
In the further embodiment of the inventive method, described packing case is arranged on packing production chain transmission equipment, when setting
When being placed in the sensing apparatus of packing production chain transmission equipment one side and sensing packing case, by the control being connected with described sensing apparatus
Device processed sends first triggering command and the second triggering command.
In the further embodiment of the inventive method, in this packing case, the second code data of product is different.
In the further embodiment of the inventive method, packaging products in boxes was also included before packing case:
Obtain the second code data on product and third yard data;
Set up the incidence relation of the second code data on identical product and third yard data.
In the further embodiment of the inventive method, by first yard of data on this packing case and product in this packing case
Second code data also includes after being associated:
Second code data according to each product in this packing case searches each product in this packing case from described incidence relation
Third yard data;
First yard of data on this packing case is associated with the third yard data of each product in this packing case.
In the further embodiment of the inventive method, the second code on described product is coding, the 3rd on described product
Code is Quick Response Code;Or the second code on described product is Quick Response Code, the third yard on described product is coding.
Another technical scheme of the present invention is for providing a kind of system of product code in association packing case code and packing case, described system
System is arranged between boxing apparatus and the sealing device of packing production chain, described system include image capture device, controller and
Recognizing apparatus;
Described controller connects described image collecting device and described recognizing apparatus, is used for sending first triggering command to institute
State recognizing apparatus, send the second triggering command to described image collecting device;
Described recognizing apparatus obtain first yard of data on packing case according to described first triggering command;
Described image collecting device obtains the opening image of this packing case according to described second triggering command, wherein, described
Opening image comprises the second code of product in packing case;
Described controller identifies that described opening image obtains the second code data of each product in this packing case, by this packing case
On first yard of data be associated with the second code data of product in this packing case.
In the further embodiment of present system, described recognizing apparatus are arranged at the side of packing production chain transmission equipment
Face, described image collecting device is arranged at the top of packing production chain transmission equipment.
In the further embodiment of present system, described system also includes sensing apparatus, is arranged at packing production chain and passes
Send the one side of equipment, connect described controller, for sensing packing case, when sensing packing case, sent by described controller
First triggering command and the second triggering command.
In a kind of association packing case code of present invention offer and packing case, the method and system of product code are packed by acquisition
The second code data of all products in first yard of data on case and packing case, by first yard of data of packing case and this packing case
The second code data of interior all products is associated so that user just can review bag exactly by first yard on scanning packing case
The second code data of product in vanning, can effectively prevent dealer from replacing the product in packing case or altering on packing case
The second code of product in first yard or packing case, improves Consumer's Experience.On certain procedures, the perfect supervision of food, can hold back
Make the imitation behavior of illegal trade company.
Specific embodiment
In order that the technical characterstic of the present invention and effect become apparent from, below in conjunction with the accompanying drawings technical scheme is done
Further illustrate, the present invention also can have other different instantiations to be illustrated or to implement, any those skilled in the art
The equivalents done within the scope of the claims belong to the protection category of the present invention.
As shown in figure 1, Fig. 1 is the stream associating the method for product code in packing case code and packing case of one embodiment of the invention
Cheng Tu.The present invention can make user pass through scan packing case on first yard just can review second of product in packing case exactly
Code data (this second code data is acquisition during production, will not be tampered), can effectively prevent dealer from replacing bag
Second code on product in product in vanning or first yard on correction packing case or packing case, improves Consumer's Experience.
Specifically, association packing case code and packing case in product code method be implemented on by packaging products in boxes in packing case it
Afterwards, before packing case closure of openings, described packing case is arranged on packing production chain transmission equipment, and methods described includes:
Step 101: first yard of data on packing case is obtained according to first triggering command.
Specifically, in one embodiment of the invention, first yard on packing case is Quick Response Code, bar code or other standards
Code.First yard of Different Package case different.
Step 102: obtain the opening image of this packing case according to the second triggering command, wherein, described opening image comprises
The second code of product in this packing case.
Second code spray printing has the side of second code towards bag in the top side outer surface of product packaging or bottom side outer surface, spray printing
The opening of vanning.
Step 103: identify that described opening image obtains the second code data of each product in this packing case.
Step 104: first yard of data on this packing case is associated with the second code data of product in this packing case.Should
Incidence relation is the relation of one-to-many, such as has 20 products in packing case, then one first yard related to 20 second codes
Connection.During enforcement, first yard of data is stored in the form of data list with the incidence relation of second code data.
Can be by the second code of all products in the first of packing case yard data and this packing case by technique scheme
Data is associated so that user passes through to scan first yard of second yardage that just can review exactly in packing case on packing case
According to, can effectively prevent dealer replace packing case in product or alter packing case on first yard or packing case in product
Second code, improves Consumer's Experience.On certain procedures, the perfect supervision of food, can contain the imitation behavior of illegal trade company.
In one embodiment of the invention, the process obtaining first triggering command and the second triggering command is: by being arranged at vanning
Production line transmission equipment one side sensing apparatus sensing packing case, when described sensing apparatus sense packing case, by with institute
State the connected controller of sensing apparatus and send first triggering command and the second triggering command.
Specifically, sensing apparatus can be in inductive proximity sensor or capacitive proximity sensor or photoelectric sensor
Any one.
In one embodiment of the invention, first yard (codes of Quick Response Code, one-dimension code or other standards) on packing case are to preprint
Or real-time spray printing.
When first yard on packing case be preprint when, in above-mentioned steps 101 obtain packing case on first yard of data enter
One step includes: distinguishes first yard on packing case using the recognizing apparatus being arranged at packing production chain transmission equipment one side, obtains
First yard of data on packing case.
When first yard on packing case be real-time spray printing when, in above-mentioned steps 101 obtain packing case on the first yardage
According to further including: obtain first yard of data on packing case at code generator.
In one embodiment of the invention, for each product in accurate identification packing case, the second code of product in packing case
Data is different.
Further, packaging products in boxes was also included before packing case: obtain the second code data on product and third yard
Data;Set up the incidence relation of the second code data on identical product and third yard data.During enforcement, this step is in the life of product
Carry out in producing line, second code data is corresponded with third yard data.
Further, also include after above-mentioned steps 104: the second code data according to each product in this packing case is from institute
State the third yard data searching each product in this packing case in incidence relation;By first yard of data on this packing case and this packaging
In case, the third yard data of each product is associated.
Specifically, the second code on product is coding, and second code data is coding data, and the third yard on product is two dimension
Code, third yard data is two-dimensional code data.Or the second code on product is Quick Response Code, second code data is two-dimensional code data, produces
Third yard on product is coding, and third yard data is coding data.
The present embodiment is except making first yard of data on packing case related to the second code data of product in this packing case
Connection is outer, so that on packing case first yard of data is associated with the third yard data of product in this packing case, makes user not
First yard that passes through in the case of opening the box to scan on packing case optionally obtains second of product in this packing case
Code data and third yard data.
In order to become apparent from that technical scheme is described, below with first yard on packing case as Quick Response Code, on product
Second code is coding, and third yard is described in detail for as a example Quick Response Code, as shown in Fig. 2 association packing case Quick Response Code and bag
In vanning, product code-spraying, the method for Quick Response Code include:
Packaging products in boxes, before packing case, carries out step 201~202 in process of producing product:
Step 201, obtains the coding data on product and two-dimensional code data.
Coding data at least includes the check bit of production batch, date of manufacture (be accurate to point or second) and two, wherein, school
Testing position is character, digital or alphabetical any combination.
Step 202, sets up the incidence relation of the two-dimensional code data on identical product and coding data.During enforcement, association is closed
System is stored in the form of data list.
By packaging products in boxes in packing case, carry out following steps before packing case closure of openings:
Step 203, obtains the two-dimensional code data of packing case according to first triggering command.
Step 204, obtains the opening image of this packing case according to the second triggering command, and wherein, opening image comprises this bag
The coding of product in vanning.
Step 205, identification opening image obtains the coding data of each product in packing case.
Step 206, the two-dimensional code data on this packing case is associated with the coding data of product in this packing case.
Step 207: search according in the incidence relation that the coding data of each product in this packing case is set up from step 202
The two-dimensional code data of each product in this packing case.
Step 208: the Quick Response Code code data on this packing case is associated with the two-dimensional code data of product in this packing case.
In the present embodiment, except two-dimensional code data on packing case is associated it with the coding data of product in packing case
Outward, also two-dimensional code data on packing case is associated with the two-dimensional code data of product in packing case, user passes through to scan packing case
On Quick Response Code just can obtain the two-dimensional code data of product in packing case.
As shown in figure 3, Fig. 3 is the structure associating the system of product code in packing case and packing case of one embodiment of the invention
Figure.
Specifically, this system is arranged between boxing apparatus 10 and the sealing device 20 of packing production chain 30, described system
Including image capture device 301, controller 302 and recognizing apparatus 303.
Described controller 302 connects described image collecting device 301 and described recognizing apparatus 303, is used for sending first and touches
Send instructions to described recognizing apparatus 303, send the second triggering command to described image collecting device 301.
Described recognizing apparatus 303 according to described first triggering command obtain packing case on first yard of data, first yard 32
Spray printing is on packing case.
Described image collecting device 301 obtains the opening image of this packing case, wherein, institute according to described second triggering command
State the second code 31 that opening image comprises product in packing case.
Described controller 302 identifies that described opening image obtains the second code data of each product in this packing case, and this is wrapped
First yard of data in vanning is associated with the second code data of product in this packing case.
Recognizing apparatus 303 are arranged at the one side of packing production chain transmission equipment 30, and image capture device 301 is arranged at dress
The top of box assembly line transmission equipment.
Further, as shown in figure 4, the system associating product code in packing case code and packing case also includes sensing apparatus
304, it is arranged at the one side of packing production chain 30, connect described controller 302, for sensing packing case, sense packing case
When, first triggering command and the second triggering command are sent by described controller 302.
In a kind of association packing case code of present invention offer and packing case, the method and system of product code are packed by acquisition
The second code data of all products in first yard of data on case and packing case, by first yard of data of packing case and this packing case
Second coding data of interior all products is associated so that user just can be reviewed exactly by first yard on scanning packing case
The second code data of product in packing case, can effectively prevent dealer from replacing the product in packing case or altering on packing case
First yard or packing case in product second code, improve Consumer's Experience.The perfect supervision of food on certain procedures, can
Contain the imitation behavior of illegal trade company.
The above is merely to illustrate technical scheme, and any those of ordinary skill in the art all can be without prejudice to this
Under the spirit and the scope of invention, above-described embodiment is modified and is changed.Therefore, the scope of the present invention should regard power
Sharp claimed range is defined.