Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a waste-reducing packaging design control system for a big data monitoring service.
The technical problem to be solved by the invention is as follows:
(1) how to compare the similarity of the packaging pictures of the product package;
(2) how to analyze and predict the design cost of product package and allocate the package data of the product.
The purpose of the invention can be realized by the following technical scheme:
a waste-reducing packaging design control system for big data monitoring service comprises a user terminal, a data acquisition module, a packaging allocation module, a cost analysis module, a packaging comparison module, a big data module and a server, wherein the user terminal is used for inputting a required packaging picture by a user and sending the required packaging picture to the server, the server sends the required packaging picture to the packaging comparison module, the packaging comparison module is connected with the big data module, the big data module is used for acquiring a plurality of groups of existing packaging pictures and sending the plurality of groups of existing packaging pictures to the packaging comparison module, the packaging comparison module is used for comparing the required packaging picture with the plurality of groups of existing packaging pictures to generate a picture similarity signal or a picture innovation signal and feed the picture similarity signal back to the server, and if the server receives the picture similarity signal, the server generates a re-input instruction to load the user terminal, if the server receives the picture innovation signal, loading a picture input success instruction of the server to the user terminal;
the server stores package sets with different cost values, when receiving a picture innovation signal, the server loads a picture input success instruction to the cost analysis module, the cost analysis module is used for carrying out cost analysis on a required package picture input by a user to obtain a cost value CZu of the required package picture and feeds the cost value back to the server, the server obtains a corresponding package set according to the cost value, the server sends the cost value of the required package picture and the corresponding package set to the package allocation module, the package allocation module combines the cost value and the package set to carry out package allocation on the required package picture to generate a package normal signal, a package allocation signal or a package abnormal signal and feeds the package normal signal, the package allocation signal or the package abnormal signal back to the server, the server sends the package allocation signal or the package abnormal signal to the user terminal, and if the user terminal receives the package allocation signal, and the user of the user terminal allocates the input required packaging picture, and if the user terminal receives the packaging abnormal signal, the user of the user terminal replaces the input required packaging picture.
Further, the required package pictures specifically include resolution, specification, material and layer number of the pictures; the pack set includes a pack material, a pack area, and a number of pack layers.
Further, the alignment process of the packaging alignment module is specifically as follows:
the method comprises the following steps: acquiring the material of a required packaging picture, comparing the material of the required packaging picture with the materials of a plurality of groups of existing packaging pictures, if the material comparison is passed, entering the next step, otherwise, not passing;
step two: acquiring the specification of a required packaging picture, zooming a plurality of groups of existing packaging pictures to the specification of the same required packaging picture, then acquiring the resolution of the required packaging picture, comparing the material of the required packaging picture with the resolution of the plurality of groups of existing packaging pictures, and entering the next step if the resolution comparison is passed, otherwise, not passing;
step three: cutting the required packaging pictures to obtain a plurality of required picture lattices, and cutting a plurality of groups of existing packaging pictures to obtain a plurality of existing picture lattices;
step four: establishing a coordinate system by taking the upper left corner, the upper right corner, the lower left corner or the lower right corner of the required packaging picture as an origin, selecting a required picture lattice with any coordinate, and similarly selecting a corresponding existing picture lattice from a plurality of groups of existing packaging pictures according to the same coordinate;
step five: calculating pixel points with the same color in the required picture lattice and the plurality of existing picture lattices;
step six: if the number of the pixel points with the same color is the same, a picture similar signal is generated, and if the number of the pixel points with the same color is different, a picture innovation signal is generated.
Further, the cost analysis process of the cost analysis module is specifically as follows:
step S1: marking the requirement package pictures as u, u being 1, 2, … …, z, z being positive integers; acquiring the number of packaging layers of the pictures needing to be packaged, and marking the number of the packaging layers as BCu;
step S2: acquiring the packaging area of each layer of the required packaging picture, and summing the packaging areas of the layers to obtain the packaging area BMu of the required packaging picture;
step S3: obtaining BLu a packaging material for a required packaging picture, wherein if the packaging material for the required packaging picture is a degradable material, the value of the packaging material BLu is X1, and if the packaging material for the required packaging picture is a non-degradable material, the value of the packaging material BLu is X2; wherein X1 and X2 are both fixed values, and 0 is more than X1 and more than X2;
step S4: then obtaining the market price of the packaging material in the previous week, averaging the market prices of the packaging material in the previous week to obtain a market average price JJu, and calculating the packaging cost price CBu of the required packaging picture according to a formula CBu of JJu × BMu;
step S5: substituting the packaging layer number BCu, the packaging area BMu, the packaging material BLu and the packaging cost value CBu of the required packaging picture into a calculation formula to obtain the cost value CZu of the required packaging picture, wherein the calculation formula is as follows:
in the formula, a1, a2 and a3 are all proportionality coefficients with fixed numerical values, and the values of a1, a2 and a3 are all larger than zero.
Further, the packaging and blending module specifically comprises the following steps:
step SS 1: acquiring a packaging set corresponding to a required packaging picture, acquiring a packaging material, a packaging area and a packaging layer number in the packaging set, and respectively marking the packaging material, the packaging area and the packaging layer number in the packaging set as BL, BM and BC;
step SS 2: if the packaging materials of the pictures needing to be packaged are all degradable materials or non-degradable materials, the next step is carried out, and otherwise, a packaging allocation signal is generated;
step SS 3: acquiring the packaging layer number BCu and the packaging area BMu of a required packaging picture, calculating the difference value between the packaging layer number of the required packaging picture and the packaging layer number of a packaging set to obtain a layer number difference CCu, and calculating the difference value between the packaging area of the required packaging picture and the packaging area of the packaging set to obtain an area difference MCu;
step SS 4: calculating a packaging deviation value BPu of the required packaging picture by using a formula BPu which is CCu × b1+ MCu × b 2; in the formula, b1 and b2 are both weight coefficients with fixed values, and the values of b1 and b2 are both larger than zero;
step SS 5: if BPu is less than X1, generating a normal packaging signal;
if X1 is not less than BPu and is more than X2, generating a packaging and blending signal;
if X2 is less than or equal to BPu, generating a packaging abnormal signal; wherein X1 and X2 are both packaging deviation threshold values, and X1 is less than X2.
Further, the blending process specifically comprises: and if the packaging materials are inconsistent, allocating the packaging materials of the pictures required to be packaged, and if the number of packaging layers or the packaging area is inconsistent, correspondingly allocating the difference according to the weight coefficient.
Compared with the prior art, the invention has the beneficial effects that:
1. according to the invention, the required packaging picture is compared with a plurality of groups of existing packaging pictures through the packaging comparison module, and after the pixel points of the material, the specification, the resolution and the same color are sequentially compared, a picture similar signal or a picture innovation signal is generated, so that the similarity calculation of the packaging pictures is conveniently carried out before the product packaging design;
2. according to the invention, the cost analysis module is used for carrying out cost analysis on the required packaging picture input by the user, and the cost value of the required packaging picture is obtained by combining the number of packaging layers, the packaging area, the packaging material and the packaging cost price, so that the design cost of the product packaging can be conveniently analyzed and estimated;
3. according to the invention, the corresponding package set is obtained according to the cost value of the required package picture, the cost value of the required package picture and the corresponding package set are sent to the package allocation module, the package allocation module performs package allocation by combining the cost value of the required package picture and the corresponding package set, package deviation values of the required package picture are obtained after comparing the package materials, the package areas and the number of package layers in the package set, a package normal signal, a package allocation signal or a package abnormal signal is generated after comparing the package deviation values with a set threshold value, a user performs replacement or allocation according to the signals, and package design data is allocated by combining standard data of a product image, so that the cost can be saved to the maximum extent, and waste reduction of a product package source can be realized.
Detailed Description
To further illustrate the technical means and effects of the present invention adopted to achieve the predetermined objects, the following detailed description of the embodiments, structures, features and effects according to the present invention will be made with reference to the accompanying drawings and preferred embodiments.
Referring to fig. 1-2, a waste-reducing packaging design control system for big data monitoring service includes a user terminal, a data acquisition module, a packaging deployment module, a cost analysis module, a packaging comparison module, a big data module, and a server;
the server is wirelessly connected with a user terminal, the user terminal is used for inputting a required packaging picture by a user and sending the required packaging picture to the server, and the server sends the required packaging picture to the packaging comparison module;
specifically, the required package pictures specifically include resolution, specification, material, layer number, and the like of the pictures;
the module is compared to the packing is connected with big data module, big data module is connected with external internet, big data module is used for acquireing the present packing picture of a plurality of groups to send the present packing picture of a plurality of groups to the module is compared to the packing, the packing is compared the module and is used for comparing demand packing picture and the present packing picture of a plurality of groups, compares the process specifically as follows:
the method comprises the following steps: acquiring the material of a required packaging picture, comparing the material of the required packaging picture with the materials of a plurality of groups of existing packaging pictures, if the material comparison is passed, entering the next step, otherwise, not passing;
step two: acquiring the specification of a required packaging picture, zooming a plurality of groups of existing packaging pictures to the specification of the same required packaging picture, then acquiring the resolution of the required packaging picture, comparing the material of the required packaging picture with the resolution of the plurality of groups of existing packaging pictures, and entering the next step if the resolution comparison is passed, otherwise, not passing;
step three: cutting the required packaging pictures to obtain a plurality of required picture lattices, and cutting a plurality of groups of existing packaging pictures to obtain a plurality of existing picture lattices;
step four: establishing a coordinate system by taking the upper left corner, the upper right corner, the lower left corner or the lower right corner of the required packaging picture as an origin, selecting a required picture lattice with any coordinate, and similarly selecting a corresponding existing picture lattice from a plurality of groups of existing packaging pictures according to the same coordinate;
step five: calculating pixel points with the same color in the required picture lattice and the plurality of existing picture lattices;
step six: if the number of the pixel points with the same color is the same, generating a picture similar signal, and if the number of the pixel points with the same color is different, generating a picture innovation signal;
the packaging comparison module feeds back the picture similarity signal or the picture innovation signal to the server, if the server receives the picture similarity signal, the server generates a re-input instruction to be loaded to the user terminal, and if the server receives the picture innovation signal, the server successfully inputs the picture to the user terminal;
the server stores packaging sets with different cost values, wherein the packaging sets comprise packaging materials, packaging areas, packaging layer numbers and the like;
meanwhile, when the server receives the picture innovation signal, the server loads a picture input success instruction to the cost analysis module, the cost analysis module is used for carrying out cost analysis on the demand package picture input by the user, and the cost analysis process is as follows:
step S1: marking the requirement package pictures as u, u being 1, 2, … …, z, z being positive integers; acquiring the number of packaging layers of the pictures needing to be packaged, and marking the number of the packaging layers as BCu;
step S2: acquiring the packaging area of each layer of the required packaging picture, and summing the packaging areas of the layers to obtain the packaging area BMu of the required packaging picture;
step S3: obtaining BLu a packaging material for a required packaging picture, wherein if the packaging material for the required packaging picture is a degradable material, the value of the packaging material BLu is X1, and if the packaging material for the required packaging picture is a non-degradable material, the value of the packaging material BLu is X2;
wherein, X1 and X2 are both fixed values, and X1 is greater than 0 and X2 is greater than 0, in specific implementation, the value of X1 can be 1, and the value of X2 can be 2, as long as X1 is greater than X2;
step S4: then obtaining the market price of the packaging material in the previous week, averaging the market prices of the packaging material in the previous week to obtain a market average price JJu, and calculating the packaging cost price CBu of the required packaging picture according to a formula CBu of JJu × BMu;
step S5: substituting the packaging layer number BCu, the packaging area BMu, the packaging material BLu and the packaging cost value CBu of the required packaging picture into a calculation formula to obtain the cost value CZu of the required packaging picture, wherein the calculation formula is as follows:
in the formula, a1, a2 and a3 are all proportional coefficients with fixed numerical values, and the values of a1, a2 and a3 are all greater than zero, in specific implementation, a1 may be 0.14521, a2 may be 1.245, and a3 may be 0.256411, as long as the values are ensured to be greater than zero, and the cost value of the required package picture is calculated by combining a1, a2 and a 3;
the cost analysis module feeds back the cost value CZu of demand packing picture article to the server, the server obtains corresponding packing set according to the cost value, and when concrete implementation, the packing set is integrated by the packing picture of a plurality of groups of products of the same type and food package's health safety requirement etc. and comes, can be on the basis of guaranteeing food safety, and the cost and the environmental pollution of furthest reduction product package, the server sends the cost value of demand packing picture and the packing set that corresponds to the packing allotment module, the packing allotment module combines the cost value and the corresponding packing set of demand packing picture for pack the allotment with demand packing picture, packing allotment specifically as follows:
step SS 1: acquiring a packaging set corresponding to a required packaging picture, acquiring a packaging material, a packaging area and a packaging layer number in the packaging set, and respectively marking the packaging material, the packaging area and the packaging layer number in the packaging set as BL, BM and BC;
step SS 2: if the packaging materials of the pictures needing to be packaged are all degradable materials or non-degradable materials, the next step is carried out, and otherwise, a packaging allocation signal is generated;
step SS 3: acquiring the packaging layer number BCu and the packaging area BMu of a required packaging picture, calculating the difference value between the packaging layer number of the required packaging picture and the packaging layer number of a packaging set to obtain a layer number difference CCu, and calculating the difference value between the packaging area of the required packaging picture and the packaging area of the packaging set to obtain an area difference MCu;
step SS 4: calculating a packaging deviation value BPu of the required packaging picture by using a formula BPu which is CCu × b1+ MCu × b 2; in the formula, b1 and b2 are both weight coefficients with fixed values, and the values of b1 and b2 are both greater than zero, in specific implementation, the value of b1 can be 1.2, and the value of b2 can be 0.2, as long as b1 and b2 are guaranteed to be fixed values;
step SS 5: if BPu is less than X1, generating a normal packaging signal;
if X1 is not less than BPu and is more than X2, generating a packaging and blending signal;
if X2 is less than or equal to BPu, generating a packaging abnormal signal; wherein, both X1 and X2 are packaging deviation threshold values, and X1 is less than X2, in specific implementation, the value of X1 may be 1.2, and the value of X2 may be 2.4, as long as the value of X1 is less than the value of X2;
the packaging allocation module feeds back a packaging normal signal, a packaging allocation signal or a packaging abnormal signal to the server, the server sends the packaging allocation signal or the packaging abnormal signal to the user terminal, if the user terminal receives the packaging allocation signal, a user of the user terminal allocates an input required packaging picture, and if the user terminal receives the packaging abnormal signal, the user of the user terminal replaces the input required packaging picture;
wherein the blending process specifically comprises the following steps: if the packaging materials are inconsistent, blending the packaging materials of the pictures required to be packaged, and if the number of packaging layers or the packaging area is inconsistent, correspondingly blending the difference according to the weight coefficient;
as shown in fig. 2, the server further includes a design screening module, and when the design screening module is implemented specifically, the design screening module can screen a design mechanism of a demand package picture or a designer inside the design mechanism, and by screening the design mechanism or the designer, the design cost of source waste reduction and package control can be achieved for the demand package picture to a certain extent, the design screening module is used for screening the design mechanism of the demand package picture, and the screening process is specifically as follows:
step P1: marking a design mechanism of the required packaging picture as i, i is 1, 2, … …, and x is a positive integer; acquiring the total number of designers of a design organization, and marking the total number of designers as SSi;
step P2: acquiring the total design amount of a design mechanism, and marking the total design amount as SLi; obtaining the favorable rating of a design organization, and marking the favorable rating as HPi;
wherein the evaluation rate is obtained by comparing the evaluation rate of the design organization with the total evaluation number;
step P3: acquiring the real-time task quantity of a design mechanism, marking the real-time task quantity as SRi, and combining a formula
Calculating to obtain a first selected value XQ1i of the design mechanism; in the formula, c1, c2 and c3 are all proportional coefficients with fixed values, and the values of c1, c2 and c3 are all greater than zero, in specific implementation, c1 may be 0.24144, c2 may be 1.1245, and c3 may be 2.1564856, as long as the values are ensured to be greater than zero;
step P4: acquiring the design price of each time of designing the packaging picture by the design mechanism, and summing the design prices of each time of designing the packaging picture to obtain a design average price SJi of the design mechanism; obtaining a design satisfaction mean for the design organization and labeling the satisfaction mean as MJi;
the satisfactory mean value is that after the design mechanism finishes designing the packaging picture each time, a user evaluates and scores the packaging picture designed by the design mechanism, the evaluation and scoring are added, the mean value is obtained, and the score mean value is recorded as the satisfactory mean value;
step P5: calculating a second selected value XQ2i of the design mechanism by using a formula XQ2i (MJi × c4)/(SJi × c 5); in the formula, c4 and c5 are both proportional coefficients with fixed values, and the values thereof are both greater than zero, in specific implementation, c4 may be 2.01355, and c5 may be 0.098214, as long as the values are ensured to be greater than zero;
step P6: substituting the first selected value XQ1i and the second selected value XQ2i into a calculation formula SZi-XQ 1i × α + XQ2i × β to obtain a design value SZi of the design mechanism; wherein α and β are both fixed-value weighting coefficients, and α + β is 1;
step P7: arranging the design values in a descending order according to the numerical values to obtain a design ordering list of the design mechanism;
the design screening module feeds back a design sorting table to the server, the server selects a design mechanism according to the design sorting table, and the server sends the selected design mechanism to the user terminal.
A waste-reducing packaging design control system for big data monitoring service is provided, when in work, a user inputs a required packaging picture through a user terminal, the required packaging picture is sent to a server, and the server sends the required packaging picture to a packaging comparison module;
meanwhile, the big data module acquires a plurality of groups of existing packaging pictures and sends the plurality of groups of existing packaging pictures to the packaging comparison module, the packaging comparison module is used for comparing the required packaging picture with the plurality of groups of existing packaging pictures to acquire the material of the required packaging picture, comparing the material of the required packaging picture with the material of the plurality of groups of existing packaging pictures, acquiring the specification of the required packaging picture if the material comparison is passed, zooming the plurality of groups of existing packaging pictures to the same specification of the required packaging picture, then acquiring the resolution ratio of the required packaging picture, comparing the material of the required packaging picture with the resolution ratio of the plurality of groups of existing packaging pictures, if the resolution ratio is passed, cutting the required packaging picture to obtain a plurality of required picture lattices, and cutting the plurality of groups of existing packaging pictures to obtain a plurality of existing picture lattices, establishing a coordinate system by taking the upper left corner, the upper right corner, the lower left corner or the lower right corner of a required packaging picture as an origin, selecting a required picture lattice with any coordinate, similarly selecting corresponding existing picture lattices from a plurality of groups of existing packaging pictures according to the same coordinate, calculating pixel points with the same color in the required picture lattice and the existing picture lattices, generating a picture similar signal if the pixel points with the same color are the same, generating a picture innovation signal if the pixel points with the same color are different, feeding back the picture similar signal or the picture innovation signal to a server by a packaging comparison module, generating a re-input instruction by the server and loading the re-input instruction to a user terminal if the server receives the picture innovation signal, and loading the picture input success instruction of the server to the user terminal if the server receives the picture innovation signal;
the server stores package sets with different cost values, when the server receives a picture innovation signal, the server loads a picture input success command to the cost analysis module, the cost analysis module performs cost analysis on a required package picture input by a user to obtain package layer numbers BCu, package area BMu and package materials BLu of the required package picture, if the package materials of the required package picture are degradable materials, the value of the package materials BLu is X1, if the package materials of the required package picture are non-degradable materials, the value of the package materials BLu is X2, then the market price of the previous week of the package materials is obtained, the market price of the previous week of the package materials is averaged to obtain a market average value JJu, the package cost CBu of the required package picture is obtained by calculating CBu layer numbers JJu BMu, and the package area BMu of the required package picture is packaged in the number of layers, BCu and BMu, Substitution of packaging material BLu and packaging cost price CBu into the calculation formula
![Figure BDA0003369172640000121](https://patentimages.storage.***apis.com/4d/f8/6c/e4928e2e4d33e4/BDA0003369172640000121.png)
The cost value CZu of the required packaging picture is obtained, the cost analysis module feeds the cost value CZu of the required packaging picture back to the server, the server obtains a corresponding packaging set according to the cost value, and the server sends the cost value of the required packaging picture and the corresponding packaging set to the packaging allocation module;
the packaging allocation module combines the cost value of the required packaging picture and the corresponding packaging set, performs packaging allocation on the required packaging picture, obtains the packaging set corresponding to the required packaging picture, obtains the packaging material, the packaging area and the packaging layer number in the packaging set, respectively marks the packaging material, the packaging area and the packaging layer number in the packaging set as BL, BM and BC, obtains the packaging layer number BCu and the packaging area BMu of the required packaging picture if the packaging material of the required packaging picture is degradable material or non-degradable material, calculates the difference value between the packaging layer number of the required packaging picture and the packaging layer number of the packaging set to obtain a layer number difference CCu, calculates the difference value between the packaging area of the required packaging picture and the packaging area of the packaging set to obtain an area difference MCu, calculates a packaging deviation value BPu of the required packaging picture by using a formula BPu CCu × b1+ MCu × b2, and generates a packaging normal signal if BPu is less than X1, if X1 is not less than BPu and not more than X2, a package allocation signal is generated, if X2 is not less than BPu, a package abnormal signal is generated, a package allocation module feeds back a package normal signal, a package allocation signal or a package abnormal signal to a server, the server sends the package allocation signal or the package abnormal signal to a user terminal, if the user terminal receives the package allocation signal, a user of the user terminal allocates an input required package picture, and if the user terminal receives the package abnormal signal, the user of the user terminal replaces the input required package picture;
screening the design mechanism of the required package picture through a design screening module to obtain the total number SSi, the total design amount SLi, the good evaluation rate HPi and the real-time task amount SRi of the design mechanism, and combining a formula
![Figure BDA0003369172640000122](https://patentimages.storage.***apis.com/a4/bc/cf/5dae2f5aefbe70/BDA0003369172640000122.png)
The method comprises the steps of obtaining a first selected value XQ1i of a design mechanism through calculation, obtaining a design mean value SJi satisfactory mean value MJi of each time of design of packaging pictures of the design mechanism, obtaining a second selected value XQ2i of the design mechanism through calculation by using a formula XQ2i which is (MJi × c4)/(SJi × c5), obtaining a design value SZi of the design mechanism through calculation by substituting the first selected value XQ1i and the second selected value XQ2i into a calculation formula SZi which is XQ1i × α + XQ2i × β, performing descending order arrangement on the design values according to the numerical values to obtain a design ordering table of the design mechanism, feeding the design ordering table back to a server through a design screening module, selecting the design mechanism through the server according to the design ordering table, and sending the selected design mechanism to a user terminal through the server.
The formulas are all calculated by removing dimensions and taking numerical values, the formula is a formula which is obtained by acquiring a large amount of data and performing software simulation to obtain the latest real situation, and the preset parameters in the formula are set by the technical personnel in the field according to the actual situation; such as the formula: the XQ2i is (MJi × c4)/(SJi × c5), a person skilled in the art collects the design average value and the satisfactory average value of the design mechanism, sets a corresponding proportional coefficient for the design average value and the satisfactory average value, substitutes the set proportional coefficient and the collected data into a formula, and calculates to obtain a second selected value of the design mechanism, wherein the size of the coefficient is a specific value obtained by quantizing each parameter, so as to facilitate subsequent comparison, and regarding the size of the coefficient, the method is only required to be performed as long as the proportional relation between the parameter and the quantized value is not affected.
Although the present invention has been described with reference to the preferred embodiments, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.