Disclosure of Invention
The invention aims to solve the problems found in the background technology, and provides a printing ink tracing production process method based on a block chain.
In order to achieve the purpose, the invention adopts the following technical scheme: a printing ink tracing production process method based on a block chain comprises the following steps:
s1: uniformly mixing 1-2 parts by weight of acetic acid and 28-33 parts by weight of water-saturated polyester resin liquid to obtain a first mixed liquid, wherein the pH value of the first mixed liquid is 7.6-8.3;
s2: uniformly mixing 0.2-0.4 part by weight of beeswax, 6-9 parts by weight of low-odor slow-drying emulsion and 0.6-1.4 parts by weight of defoaming agent to obtain a second mixed solution, adding the second mixed solution into the first mixed solution, uniformly mixing, and performing emulsification treatment to obtain an emulsion;
s3: uniformly mixing 25-29 parts by weight of low-odor quick-drying emulsion, 31-35 parts by weight of color paste and 4-6 parts by weight of ink mixing oil to obtain a third mixed solution, adding the third mixed solution into the emulsion, uniformly mixing, and enabling the pH value of the third mixed solution to be 7.2-7.9 to obtain printing ink;
s4: filling and packaging the printing ink in an ink packaging bag, and printing a product identification code and a production date on the surface of the ink packaging bag by using an ink printer;
s5: and the printing ink printer packages the printed product identification code and the corresponding production date together and sends the product identification code and the corresponding production date to the block chain.
The printing ink is not easy to fall off after being printed, and the slow-drying emulsion and the quick-drying emulsion are low-odor raw materials, so that the odor of the finished printing ink is low, and the experience of consumers can be greatly improved; meanwhile, after the filling and packaging of the printing ink are finished, the printed product identification code and the corresponding production date are packaged together and sent to the block chain, so that once the printing ink has a problem, not only can a manufacturer and a merchant quickly and accurately trace to inquire the batch of printing ink with the problem through the block chain so as to prevent the printing ink with the problem from flowing to the market again, but also a consumer can quickly and accurately trace to inquire whether the printing ink purchased by the consumer belongs to the batch of printing ink with the problem through the block chain, and therefore the right of the consumer is guaranteed; in addition, due to the non-tampering characteristic of the blockchain, manufacturers and merchants cannot maliciously tamper with data, and therefore the rights of consumers are further guaranteed.
Further, the ink printer encapsulates the printed product identification code together with the corresponding production date and sends the encapsulated product identification code to the blockchain through the 5G network.
Further, the step S4 is specifically as follows:
s41: conveying the printing ink to a transparent container of a filling and packaging device, and filling and packaging the printing ink in an ink packaging bag through the filling and packaging device;
s42: in the process of filling and packaging printing ink, shooting the transparent container through a CCD camera, and transmitting the shot transparent container image to a transparent container image gray level conversion module;
s43: after receiving the transparent container image, the transparent container image Gray level conversion module converts the transparent container image into a transparent container Gray level image through an image Gray level conversion formula Gray ═ (R30 + G59 + B11)/100, and transmits the obtained transparent container Gray level image to the transparent container image processing module, wherein Gray is the Gray level of a pixel point in the transparent container image, R is the red component corresponding to the pixel point in the transparent container image, G is the green component corresponding to the pixel point in the transparent container image, and B is the blue component corresponding to the pixel point in the transparent container image;
s44: after receiving the transparent container gray-scale image, the transparent container image processing module extracts all transparent container images in the transparent container gray-scale image, performs edge extraction on all transparent container images, and simultaneously extracts the top surface and the bottom surface of the transparent container and the liquid level of printing ink in the transparent container;
s45: the transparent container image processing module calculates a ratio value K of the residual printing ink in the transparent container to be (H-C)/(H-L) according to the top surface and the bottom surface of the transparent container and the liquid level of the printing ink in the transparent container, wherein H is the height of the top surface of the transparent container, C is the height of the liquid level of the printing ink in the transparent container, and L is the height of the bottom surface of the transparent container;
s46: when the proportion value K of the residual printing ink in the transparent container is smaller than a first preset threshold value, the transparent container image processing module sends out a warning signal;
s47: when the proportion value K of the residual printing ink in the transparent container is smaller than a second preset threshold value, the transparent container image processing module continues to send out a warning signal and simultaneously sends a deceleration perfusion packaging signal to the perfusion packaging equipment, the perfusion packaging equipment reduces the perfusion packaging speed after receiving the deceleration perfusion packaging signal, and the second preset threshold value is smaller than the first preset threshold value;
s48: when the proportion value K of the residual printing ink in the transparent container is smaller than a third preset threshold value, the transparent container image processing module continues to send out a warning signal and simultaneously sends a stop signal to the filling and packaging equipment, the filling and packaging equipment stops after receiving the stop signal, and the third preset threshold value is smaller than the second preset threshold value;
s49: and after the ink packaging bag is filled and packaged, printing a product identification code and a production date on the surface of the ink packaging bag by using an ink printer.
The image of the transparent container is collected through the CCD camera, and the proportion value K of the residual printing ink in the transparent container is extracted and calculated through the image processing module of the transparent container, so that when the residual printing ink in the transparent container is not much, the image processing module of the transparent container can automatically send out a warning to remind a worker to add the printing ink into the transparent container, the situation that the printing ink is supplied in an off-line mode is avoided, and the worker does not need to check the residual amount of the printing ink in the transparent container all the time; meanwhile, before extracting and calculating the proportion value K of the residual printing ink in the transparent container, the transparent container image processing module converts the shot transparent container image into a transparent container gray-scale image through the transparent container image gray-scale conversion module, so that on one hand, the image processing error caused by large image difference obtained under different illumination environments can be reduced, the noise with different degrees in the image can be reduced, the image processing accuracy is improved, on the other hand, the image processing speed can be increased, and the response time is shortened; finally, three preset thresholds are designed, and one preset threshold is small, so that graded warning can be realized, and sufficient operation time is provided for workers, so that the safe operation of the production line is ensured, and the waste of resources is avoided.
Further, the transparent container image processing module is connected with the perfusion packaging device through a 5G network D2D.
Furthermore, before the printing of the ink printer, the parameters and the ink density of the ink printer need to be adjusted according to the environmental parameters, so that the adhesion index of the ejected ink meets the requirement, and the calculation formula of the adhesion index X of the ink is as follows:
wherein, WdIs the temperature of the ink-jet head, GpIs the dry atmospheric pressure of the environment in which the ink printer is located, ρ is the ink density, SpIs the wet atmospheric pressure of the environment in which the ink printer is located, k is the ejection frequency of the ink printing nozzle, QsThe air ratio humidity of the environment where the ink printer is located;
in addition, the first and second substrates are,
a2=0.569+0.028Z-2+4.685*10-4*z-4+5.876*10-5*Z-6,
wherein Z is the ignition frequency of the ink printing nozzle;
before printing, the dry atmospheric pressure, the wet atmospheric pressure and the air specific humidity of the environment where the ink printer is located are measured, and then the temperature of the ink printing nozzle, the ink density and the jet frequency of the ink printing nozzle are adjusted, so that the adhesion index of jetted ink is larger than a preset value.
Before printing, the temperature of the ink printing nozzle, the ink density and the jet frequency of the ink printing nozzle are adjusted according to the dry atmospheric pressure, the wet atmospheric pressure and the air specific humidity of the environment where the ink printer is located, so that the adhesion index of jetted ink meets the requirement, the ink is ensured not to fall off easily, and the adverse effect on the printing effect caused by the change of the environment where the ink printer is located is avoided.
Compared with the prior art, the invention has the advantages that:
1. the printing ink is not easy to fall off after being printed, and the slow-drying emulsion and the quick-drying emulsion are low-odor raw materials, so that the odor of the finished printing ink is low, and the experience of consumers can be greatly improved;
2. after the filling and packaging of the printing ink are finished, the printed product identification code and the corresponding production date are packaged together and sent to the block chain, so that once the printing ink has a problem, not only can a manufacturer and a merchant quickly and accurately trace the source of the printing ink with the problem to inquire the batch of the printing ink with the problem so as to prevent the printing ink with the problem from flowing to the market again, but also a consumer can quickly and accurately trace the source of the printing ink purchased by the consumer to inquire whether the batch of the printing ink with the problem belongs to, and therefore the right of the consumer is guaranteed;
3. due to the non-tampering characteristic of the block chain, the manufacturer and the merchant cannot maliciously tamper the data, so that the right of the consumer is further guaranteed;
4. the image of the transparent container is collected through the CCD camera, and the proportion value K of the residual printing ink in the transparent container is extracted and calculated through the image processing module of the transparent container, so that when the residual printing ink in the transparent container is not much, the image processing module of the transparent container can automatically send out a warning to remind a worker to add the printing ink into the transparent container, the situation that the printing ink is supplied in an off-line mode is avoided, and the worker does not need to check the residual amount of the printing ink in the transparent container all the time;
5. before extracting and calculating a proportion value K of the residual printing ink in the transparent container, the transparent container image processing module converts a shot transparent container image into a transparent container gray-scale image through the transparent container image gray-scale conversion module, so that on one hand, image processing errors caused by large image difference obtained under different illumination environments can be reduced, on the other hand, noises with different degrees in the image can be reduced, the image processing accuracy is improved, on the other hand, the image processing speed can be increased, and the response time is shortened;
6. by designing three preset thresholds, one of the three preset thresholds is small, grading warning can be realized, and sufficient operation time is provided for workers, so that the safe operation of a production line is ensured, and the waste of resources is avoided;
7. before printing, the temperature of the ink printing nozzle, the ink density and the jet frequency of the ink printing nozzle are adjusted according to the dry atmospheric pressure, the wet atmospheric pressure and the air specific humidity of the environment where the ink printer is located, so that the adhesion index of jetted ink meets the requirement, the ink is ensured not to fall off easily, and the adverse effect on the printing effect caused by the change of the environment where the ink printer is located is avoided.
Example (b):
referring to fig. 1, the embodiment provides a tracing production process method for printing ink based on a blockchain, which includes the following steps:
s1: uniformly mixing 1-2 parts by weight of acetic acid and 28-33 parts by weight of water-saturated polyester resin liquid to obtain a first mixed liquid, wherein the pH value of the first mixed liquid is 7.6-8.3;
s2: uniformly mixing 0.2-0.4 part by weight of beeswax, 6-9 parts by weight of low-odor slow-drying emulsion and 0.6-1.4 parts by weight of defoaming agent to obtain a second mixed solution, adding the second mixed solution into the first mixed solution, uniformly mixing, and performing emulsification treatment to obtain an emulsion;
s3: uniformly mixing 25-29 parts by weight of low-odor quick-drying emulsion, 31-35 parts by weight of color paste and 4-6 parts by weight of ink mixing oil to obtain a third mixed solution, adding the third mixed solution into the emulsion, uniformly mixing, and enabling the pH value of the third mixed solution to be 7.2-7.9 to obtain printing ink;
s41: conveying the printing ink to a transparent container of a filling and packaging device, and filling and packaging the printing ink in an ink packaging bag through the filling and packaging device;
s42: in the process of filling and packaging printing ink, shooting the transparent container through a CCD camera, and transmitting the shot transparent container image to a transparent container image gray level conversion module;
s43: after receiving the transparent container image, the transparent container image Gray level conversion module converts the transparent container image into a transparent container Gray level image through an image Gray level conversion formula Gray ═ (R30 + G59 + B11)/100, and transmits the obtained transparent container Gray level image to the transparent container image processing module, wherein Gray is the Gray level of a pixel point in the transparent container image, R is the red component corresponding to the pixel point in the transparent container image, G is the green component corresponding to the pixel point in the transparent container image, and B is the blue component corresponding to the pixel point in the transparent container image;
s44: after receiving the transparent container gray-scale image, the transparent container image processing module extracts all transparent container images in the transparent container gray-scale image, performs edge extraction on all transparent container images, and simultaneously extracts the top surface and the bottom surface of the transparent container and the liquid level of printing ink in the transparent container;
s45: the transparent container image processing module calculates a ratio value K of the residual printing ink in the transparent container to be (H-C)/(H-L) according to the top surface and the bottom surface of the transparent container and the liquid level of the printing ink in the transparent container, wherein H is the height of the top surface of the transparent container, C is the height of the liquid level of the printing ink in the transparent container, and L is the height of the bottom surface of the transparent container;
s46: when the proportion value K of the residual printing ink in the transparent container is smaller than a first preset threshold value, the transparent container image processing module sends out a warning signal;
s47: when the proportion value K of the residual printing ink in the transparent container is smaller than a second preset threshold value, the transparent container image processing module continues to send out a warning signal and simultaneously sends a deceleration perfusion packaging signal to the perfusion packaging equipment, the perfusion packaging equipment reduces the perfusion packaging speed after receiving the deceleration perfusion packaging signal, the second preset threshold value is smaller than the first preset threshold value, and the transparent container image processing module is connected with the perfusion packaging equipment through D2D of a 5G network;
s48: when the proportion value K of the residual printing ink in the transparent container is smaller than a third preset threshold value, the transparent container image processing module continues to send out a warning signal and simultaneously sends a stop signal to the filling and packaging equipment, the filling and packaging equipment stops after receiving the stop signal, and the third preset threshold value is smaller than the second preset threshold value;
s49: after the ink packaging bag is filled and packaged, printing a product identification code and a production date on the surface of the ink packaging bag through an ink printer;
s5: and the printing ink printer packages the printed product identification code and the corresponding production date together and sends the product identification code and the corresponding production date to the block chain through a 5G network.
The printing ink is not easy to fall off after being printed, and the slow-drying emulsion and the quick-drying emulsion are low-odor raw materials, so that the odor of the finished printing ink is low, and the experience of consumers can be greatly improved; meanwhile, after the filling and packaging of the printing ink are finished, the printed product identification code and the corresponding production date are packaged together and sent to the block chain, so that once the printing ink has a problem, not only can a manufacturer and a merchant quickly and accurately trace to inquire the batch of printing ink with the problem through the block chain so as to prevent the printing ink with the problem from flowing to the market again, but also a consumer can quickly and accurately trace to inquire whether the printing ink purchased by the consumer belongs to the batch of printing ink with the problem through the block chain, and therefore the right of the consumer is guaranteed; in addition, due to the non-tampering characteristic of the blockchain, manufacturers and merchants cannot maliciously tamper with data, and therefore the rights of consumers are further guaranteed.
Meanwhile, the image of the transparent container is collected through the CCD camera, and the proportion value K of the residual printing ink in the transparent container is extracted and calculated through the image processing module of the transparent container, so that when the residual printing ink in the transparent container is not much, the image processing module of the transparent container can automatically send out a warning to remind a worker to add the printing ink into the transparent container, the situation that the printing ink is supplied in an off-line mode is avoided, and the worker does not need to check the residual amount of the printing ink in the transparent container all the time; meanwhile, before extracting and calculating the proportion value K of the residual printing ink in the transparent container, the transparent container image processing module converts the shot transparent container image into a transparent container gray-scale image through the transparent container image gray-scale conversion module, so that on one hand, the image processing error caused by large image difference obtained under different illumination environments can be reduced, the noise with different degrees in the image can be reduced, the image processing accuracy is improved, on the other hand, the image processing speed can be increased, and the response time is shortened; finally, three preset thresholds are designed, and one preset threshold is small, so that graded warning can be realized, and sufficient operation time is provided for workers, so that the safe operation of the production line is ensured, and the waste of resources is avoided.
Before the ink printer prints, the parameters and the ink density of the ink printer need to be adjusted according to the environmental parameters, so that the adhesion index of the ink ejected by the ink printer meets the requirement, and the calculation formula of the adhesion index X of the ink is as follows:
wherein, WdIs the temperature of the ink-jet head, GpIs the dry atmospheric pressure of the environment in which the ink printer is located, ρ is the ink density, SpIs the wet atmospheric pressure of the environment in which the ink printer is located, k is the ejection frequency of the ink printing nozzle, QsThe air ratio humidity of the environment where the ink printer is located;
in addition, the first and second substrates are,
a2=0.569+0.028Z-2+4.685*10-4*Z-4+5.876*10-5*Z-6,
wherein Z is the ignition frequency of the ink printing nozzle;
before printing, the dry atmospheric pressure, the wet atmospheric pressure and the air specific humidity of the environment where the ink printer is located are measured, and then the temperature of the ink printing nozzle, the ink density and the jet frequency of the ink printing nozzle are adjusted, so that the adhesion index of jetted ink is larger than a preset value.
Before printing, the temperature of the ink printing nozzle, the ink density and the jet frequency of the ink printing nozzle are adjusted according to the dry atmospheric pressure, the wet atmospheric pressure and the air specific humidity of the environment where the ink printer is located, so that the adhesion index of jetted ink meets the requirement, the ink is ensured not to fall off easily, and the adverse effect on the printing effect caused by the change of the environment where the ink printer is located is avoided.