CN114493632A - Authentication method and equipment for real-year wine - Google Patents

Authentication method and equipment for real-year wine Download PDF

Info

Publication number
CN114493632A
CN114493632A CN202210080596.5A CN202210080596A CN114493632A CN 114493632 A CN114493632 A CN 114493632A CN 202210080596 A CN202210080596 A CN 202210080596A CN 114493632 A CN114493632 A CN 114493632A
Authority
CN
China
Prior art keywords
wine
production
information
enterprise
year
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
CN202210080596.5A
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.)
Shandong Inspur Industrial Internet Industry Co Ltd
Original Assignee
Shandong Inspur Industrial Internet Industry 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 Shandong Inspur Industrial Internet Industry Co Ltd filed Critical Shandong Inspur Industrial Internet Industry Co Ltd
Priority to CN202210080596.5A priority Critical patent/CN114493632A/en
Publication of CN114493632A publication Critical patent/CN114493632A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Databases & Information Systems (AREA)
  • Marketing (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides an authentication method and equipment for real-year wine, and the method is used for acquiring enterprise declaration information of wine production. And determining whether the corresponding enterprise has the determination result of the annual wine production qualification or not according to the enterprise declaration information. And generating a plurality of identification codes of the wine to be produced in the year based on the affirmation result and the enterprise declaration information. And determining each production data of the wine to be produced for the year, and associating each identification code with each production data to generate a plurality of production associated information. And inputting the production associated information into a preset associated code generation model to determine a plurality of link associated codes. And through the association codes of all links, the production association information is mutually associated to generate an association information group, and the association information group and corresponding production data are sent to a block chain platform which is set up in advance so as to generate the traceability authentication data of the wine to be produced in the year of production on the block chain platform. And generating a year wine tracing code according to the tracing authentication data. The year wine tracing code is used for acquiring tracing authentication data.

Description

Authentication method and equipment for real-year wine
Technical Field
The application relates to the technical field of Internet of things, in particular to an authentication method and equipment for real-year wine.
Background
The year wine is the wine that the white spirit producer blends with the base wine of certain "jar storage" age, and is very chaotic to year wine sign in the market at present, and the wine enterprise defines the year concept according to the marketing demand at will, and the consumer is difficult to obtain the abundant guarantee to the consumption appeal of "true year" old wine, has seriously influenced the healthy growth in year wine market.
Although the authentication standard and the process of the real-year wine are popularized in the wine enterprise on the ground at present, a better result is obtained. But the problems that a plurality of main bodies are involved in the authentication process, the node information of links is more critical, efficient collaboration of all links is difficult and the like are gradually highlighted.
Based on this, a source tracing authentication technical scheme which can truly display the authentication of the wine and each production flow to consumers throughout the links from authentication, production to sale of the wine is urgently needed, and the consumers can conveniently identify the real wine.
Disclosure of Invention
The embodiment of the application provides an authentication method and equipment for real wine of a year, which are used for tracing and authenticating the wine of the year from authentication, production to sale.
In one aspect, the present application provides a method for authenticating real year wine, the method comprising:
acquiring enterprise declaration information of wine production. Wherein, enterprise declares information and includes at least: the wine year, the name or the identification of an enterprise, and the information of a production wine base. And determining whether the corresponding enterprise has the determination result of the annual wine production qualification or not according to the enterprise declaration information. And generating a plurality of identification codes of the wine to be produced in the year based on the affirmation result and the enterprise declaration information. And determining each production data of the wine to be produced for the year, and associating each identification code with each production data to generate a plurality of production associated information. Wherein the production data at least comprises: wine jar information, wine name or mark, operator information, production link information, wine bottle name or mark, and production equipment information. And inputting the production associated information into a preset associated code generation model to determine a plurality of link associated codes. And through the association codes of all links, the production association information is mutually associated to generate an association information group, and the association information group and corresponding production data are sent to a block chain platform which is set up in advance so as to generate the traceability authentication data of the wine to be produced in the year of production on the block chain platform. And generating a year wine tracing code according to the tracing authentication data. The year wine tracing code is used for acquiring tracing authentication data.
In one implementation of the present application, it is determined whether the association degree of the production data in each production association information is greater than a preset value. And obtaining the association degree according to a preset association matching table. And inputting the production association information with the association degree larger than the preset value into a preset association code generation model. The preset association code generation model is a neural network model. And generating a model through a preset association code, and splicing the identification code and production data according to a preset mode to determine a link association code.
In an implementation manner of the present application, the association codes of the links are matched based on a preset rule. The preset rules comprise character digit matching, character similarity matching and character check digit matching. And sending the successfully matched link association codes to the user terminal. And determining a corresponding correlation code set based on the selection operation of the user to the user terminal. The correlated code set comprises correlated codes of all links which are selected by a user to be correlated. And correlating the corresponding production correlation information according to the correlation code set to produce a correlation information group.
In one implementation manner of the application, in the case that the associated information group is determined, a production data acquisition instruction is sent to a management terminal of each production data in the associated information group. And acquiring production data from the management terminal within a preset time. And determining whether a production evidence obtaining picture exists in the production data. And under the condition that the production evidence obtaining picture exists in the production data, identifying the production evidence obtaining picture to determine whether the production evidence obtaining picture corresponds to the to-be-produced year wine. And under the condition that the production evidence obtaining picture corresponds to the wine to be produced for the year, sending each generated data of the associated information group to the block chain platform.
In an implementation manner of the application, binarization processing is performed on a production evidence obtaining picture to obtain a binarization image. And determining a evidence obtaining area of the wine to be produced in the year in the binary image. Wherein, the area of collecting evidence includes: wine jar information, wine bottle information, operator information and production equipment information. And determining whether the label carried by the production data in the evidence obtaining area is matched with the label of the production data associated with the wine to be produced for the year through a pre-trained image recognition model. And under the condition that the label carried by the production data in the evidence obtaining area is matched with the label of the production data related to the wine for the year to be produced, determining that the production evidence obtaining picture corresponds to the wine for the year to be produced. And under the condition that the label carried by the production data in the evidence obtaining area is not matched with the label of the production data related to the wine for the year to be produced, determining that the production evidence obtaining picture does not correspond to the wine for the year to be produced.
In one implementation of the present application, a data format of production data is determined. And under the condition that the data format is a file, generating a file hash value of the production data through a file storage interface, and storing the file hash value to the block chain platform through a file storage intelligent contract of the block chain platform. And digitally signing the file hash value by a private key of a production data sender. And under the condition that the data format is a non-file, converting the production data into a lightweight data exchange format JSON character string. And storing the JSON character string to a block chain platform, and carrying out digital signature on the JSON character string by producing a private key of a data sender.
In one implementation of the present application, an enterprise authentication form is received from an enterprise terminal. And authenticating the enterprise identity information in the enterprise authentication form. The enterprise identity information comprises an enterprise name, enterprise business license information and a unified credit code. And under the condition that the enterprise identity information in the enterprise authentication form passes the authentication, generating expert authentication information and sending the expert authentication information to the expert terminal. And determining whether the enterprise authentication form of the enterprise terminal passes authentication or not based on the feedback information of the expert terminal so as to generate a certification result, and uploading the expert feedback information and the certification result to the block chain platform. Wherein the feedback information at least comprises: the expert identity card number, the expert name, the production wine base identification result and the base wine sampling detection result.
In one implementation of the present application, the blending proportion of the base wine in the production data is determined based on the traceability authentication data. And carrying out weighted average calculation on the blending proportion to obtain the wine age of the wine to be produced in the year. And generating a year wine identifier based on the blending proportion and the wine age, and sending the year wine identifier to the block chain platform so as to associate the year wine identifier with the year wine tracing code.
In one implementation of the present application, the identifier generation information is sent to an enterprise terminal that submits information to the enterprise. Wherein the identification generation information is used to determine the identification code generator. And determining the generator of the identification code based on the confirmation information of the enterprise terminal. And under the condition that the generation party of the identification codes is the enterprise, sending identification code acquisition information of each production data to the enterprise terminal so as to determine a plurality of identification codes based on the operation of the user on the enterprise terminal. And under the condition that the generator of the identification code is not an enterprise, generating an identification code set according to the enterprise name of the enterprise declaration information. The set of identification codes comprises a number of identification codes.
On the other hand, this application embodiment still provides an authentication equipment for true year wine, its characterized in that, equipment includes:
at least one processor; and a memory communicatively coupled to the at least one processor. Wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to:
acquiring enterprise declaration information of wine production. Wherein, enterprise declares information and includes at least: the wine year, the name or the identification of an enterprise, and the information of a production wine base. And determining whether the corresponding enterprise has the determination result of the annual wine production qualification or not according to the enterprise declaration information. And generating a plurality of identification codes of the wine to be produced in the year based on the affirmation result and the enterprise declaration information. And determining each production data of the wine to be produced for the year, and associating each identification code with each production data to generate a plurality of production associated information. Wherein the production data at least comprises: wine jar information, wine name or mark, operator information, production link information, wine bottle name or mark, and production equipment information. And inputting the production associated information into a preset associated code generation model to determine a plurality of link associated codes. And through the association codes of all links, the production association information is mutually associated to generate an association information group, and the association information group and corresponding production data are sent to a block chain platform which is set up in advance so as to generate the traceability authentication data of the wine to be produced in the year of production on the block chain platform. And generating a year wine tracing code according to the tracing authentication data. The year wine tracing code is used for acquiring tracing authentication data.
By the scheme, source tracing authentication can be performed on the links from authentication, production to sale of the wine for the year. The method improves the purchasing experience of the consumers on the real-year wine, facilitates the identification of the real-year wine by the consumers, maintains the legal rights and interests of the consumers and purifies the market of the real-year wine.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic flow chart of an authentication method for real year wine in the embodiment of the present application;
FIG. 2 is a schematic diagram of an authentication method for real year wine in the embodiment of the present application;
fig. 3 is a schematic structural diagram of an authentication device for real year wine in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to pass through the traceability authentication of the yearly wine from the authentication, the production to the sales links, the authentication of the yearly wine and each production flow are truly displayed to the consumers, and the consumers can conveniently identify the true yearly wine. The embodiment of the application provides an authentication method and equipment for real wine of a year, which are used for tracing and authenticating the wine of the year from authentication, production to sale.
Various embodiments of the present application are described in detail below with reference to the accompanying drawings.
The embodiment of the application provides an authentication method for real-year wine, and as shown in fig. 1, the method may include steps S101-S107:
s101, the server obtains enterprise declaration information of wine production.
Wherein, enterprise declares information and includes at least: the wine year, the name or the identification of an enterprise, and the information of a production wine base.
It should be noted that the server is only an exemplary entity as the execution subject of the authentication method for the real year wine, and the execution subject is not limited to the server, and the present application is not particularly limited thereto.
In the embodiment of the application, an enterprise producing wine can send enterprise declaration information to a server through an enterprise terminal, such as a mobile phone, a tablet computer and other devices. The server can identify the wine year, the name of the enterprise or the identification of the enterprise and the wine production library information in the enterprise declaration information, and can also perform identity authentication on the uploading user of the enterprise declaration information.
The server can perform digital identity authentication on each main body in the authentication process based on the block chain technology. For example, for a business, a business license photo proves identity, using a uniform credit code as the account ID; for an individual, besides using a mobile phone verification code to prove an identity, the identity card needs to pass two-element real-name verification of the identity card number and the name, and the identity card number is used as an account ID. Thereby realizing the safe data interaction between enterprises and individuals and the server.
In this embodiment of the application, before the server determines whether the corresponding enterprise has the result of the determination of the annual liquor production qualification according to the enterprise declaration information, the method further includes:
first, the server receives an enterprise authentication form from an enterprise terminal.
The enterprise authentication form may be a form that the server sends to the enterprise terminal according to an application from the enterprise terminal, and the enterprise terminal may send the enterprise authentication form to the server after completing filling of the content in the enterprise authentication form.
And secondly, the server authenticates the enterprise identity information in the enterprise authentication form.
The enterprise identity information comprises an enterprise name, enterprise business license information and a unified credit code.
The server can acquire the enterprise business license information and the uniform credit code of the enterprise name through the internet, or the server forwards the enterprise identity information to a third-party organization, such as the Chinese wine service, and then acquires the comparison information for authenticating the enterprise identity information from the blockchain platform. The server may authenticate the enterprise identity information in any one of the above manners, and in an actual use process, the authentication of the enterprise identity information may also be performed in a combination of the above manners, and may also be performed in other manners, which is not specifically limited in this application.
And thirdly, the server generates expert identification information under the condition that the enterprise identity information in the enterprise authentication form is authenticated, and sends the expert identification information to the expert terminal.
After the server completes the authentication of the enterprise identity information, the server may send expert certification information to an expert terminal (e.g., terminal equipment of each expert of the china wine industry association), where the expert terminal corresponds to a person performing on-site auditing of the intelligent supervision of the wine cellar or a terminal of a certification authority performing the wine enterprise qualification.
And finally, the server determines whether the enterprise authentication form of the enterprise terminal passes the authentication or not based on the feedback information of the expert terminal so as to generate a confirmation result, and uploads the expert feedback information and the confirmation result to the block chain platform.
Wherein the feedback information at least comprises: the expert identity card number, the expert name, the production wine base identification result and the base wine sampling detection result.
After receiving the expert identification information, the expert terminal can go to a wine enterprise to carry out on-site identification and supervision, and carry out base wine sampling detection. The operator of the expert terminal can generate feedback information according to the detection result and the on-site supervision and identification result, and send the feedback information to the server. And the server judges whether the enterprise authentication form passes or not according to the content of the feedback information.
In addition, the detection result of the base wine sampling detection can be uploaded to a block chain platform for information storage.
In the embodiment of the application, the authentication method for real-year wine requires that information such as programs, processes, people and the like related to production and identification of year wine is uploaded to a block chain platform for information storage.
Through the scheme, the method for conveniently determining the qualification of the enterprise is provided, real and reliable data can be provided when the wine is determined in the year, and the production data traceability of the wine in the year is guaranteed.
And S102, the server determines whether the corresponding enterprise has the determination result of the annual wine production qualification or not according to the enterprise declaration information.
In the embodiment of the application, the server determines whether the enterprise reporting the information has a determination result from the blockchain platform according to the enterprise reporting information. The result is determined by examining and verifying relevant data of the enterprise and performing field investigation on the enterprise by the Chinese wine enterprise expert.
In an embodiment of the application, if the affirmation result exists, the server may further determine, according to the affirmation result, whether the wine year and the wine base production information of the enterprise declaration information meet the affirmation result, and further determine whether the enterprise declaration information of the enterprise meets the requirement.
Specifically, for example, in the approval result, the produced wine cellar m of the enterprise a can produce wine of x years, and the enterprise declaration information records that the produced wine cellar m of the enterprise a is to produce wine of x +10 years, so that the server determines that the enterprise declaration information does not meet the approval result.
For another example, in the affirmation result, the produced wine bank n of the enterprise a can produce wine of x years, and the enterprise declaration information records that the produced wine bank n of the enterprise a needs to produce wine of x-5 years (x is at least larger than 5), so that the server confirms that the enterprise declaration information accords with the affirmation result.
S103, the server generates a plurality of identification codes of the wine to be produced in the year based on the affirmation result and the enterprise declaration information.
In this application embodiment, the server generates a plurality of identification codes of the to-be-produced year wine based on the approval result and the enterprise declaration information, and specifically includes:
first, the server sends identification generation information to the enterprise terminal that the enterprise declared information.
Wherein the identification generation information is used to determine the identification code generator.
And the server generates an identification code for the enterprise corresponding to the enterprise declaration information after determining that the enterprise declaration information conforms to the confirmation result according to the confirmation result and the enterprise declaration information. Before the identification code is generated, the server generates identification generation information and sends the identification generation information to the enterprise terminal.
The server then determines the generator of the identification code based on the confirmation information of the enterprise terminal.
The server may receive confirmation information sent by the enterprise terminal, where the confirmation information is used to determine a generator corresponding to the identifier generation information, where the identifier generation information includes: please select the generator. The confirmation information may be the generation side, the enterprise, or the server.
Then, under the condition that the generation party of the identification code is the enterprise, the server sends identification code acquisition information of each production material to the enterprise terminal so as to determine a plurality of identification codes based on the operation of the user on the enterprise terminal.
When the server receives that the generator with the confirmation information as the identification code is an enterprise, the server sends identification code acquisition information of each production data to the enterprise terminal, wherein each production data comprises but is not limited to wine storage jar information, wine name or identification, operator information, production link information, wine bottle name or identification and production equipment information. The wine storage jar information has an identification code, the wine has an identification code, the operator has an identification code, each production link corresponds to an identification code, the wine bottle has an identification code, and the production equipment also has an identification code. The enterprise terminal can send the identification code of each production data to the server. The identification code is an identification number as shown in fig. 2.
And the server generates an identification code set according to the enterprise name of the enterprise declaration information under the condition that the generation party of the identification code is not the enterprise.
The set of identification codes comprises a number of identification codes.
Under the condition that the generation party of the identification codes is not an enterprise, the server can determine each production data of the wine in the year corresponding to the enterprise declaration information according to the name of the enterprise and generate an identification code set comprising a plurality of identification codes, wherein the number of the identification codes in the identification code set is greater than or equal to the number of the production data.
S104, the server determines each production data of the wine to be produced for the year, and associates each identification code with each production data to generate a plurality of production associated information.
Wherein the production data at least comprises: wine jar information, wine name or mark, operator information, production link information, wine bottle name or mark, and production equipment information.
The server may determine individual production profiles for the year wine to be produced, such as base wine, a draft, a finished product, etc. in fig. 2, and then the server associates each production profile with an identification code (identification number), such as 88.299.99/2cx65 for the base wine 1, altar number 1-2-09, wine base 1.
And S105, the server inputs the production associated information into a preset associated code generation model so as to determine a plurality of link associated codes.
In the embodiment of the application, the server inputs the production association information into a preset association code generation model to determine a plurality of link association codes, including:
firstly, the server determines whether the relevance of the production data in each production relevance information is greater than a preset value.
And obtaining the association degree according to a preset association matching table.
In the embodiment of the application, the association matching table can be generated by the operation of the user terminal, and the table stores the association degree among the production data.
And then, the server inputs the production association information with the association degree larger than the preset value into a preset association code generation model.
The preset association code generation model is a neural network model.
The preset association code generation model is a pre-trained neural network model, which may be a convolutional neural network model or other types of neural network models, and this application does not specifically limit this. The association code generation model is obtained by training a plurality of sample production association information and association codes so as to generate a spliced link association code. For example, the code of the production data of the production associated information is 789, and the identification code is 88.999.11, the code and the identification code are spliced to obtain the link associated code.
And finally, the server generates a model through a preset association code, and splices the identification code and production data according to a preset mode to determine a link association code.
In the embodiment of the present application, the preset mode may be that the production data is preceded and the identification code is concatenated later, such as 789-88.999.11, or that the production data is preceded and the production data is succeeded, such as 88.999.11-789, or that random interpolation is performed, 878.9989.191. The preset mode can be set randomly by a server, or preset mode confirmation information is sent to the user terminal to obtain the preset mode.
And S106, the server correlates the production associated information with each other through the link associated codes to generate an associated information group, and sends the associated information group and corresponding production data to a pre-established block chain platform so as to generate traceability authentication data of the wine to be produced in the block chain platform.
In this embodiment of the present application, the server associates the production related information with each other through the link related code to generate a related information group, including:
firstly, the server matches the association codes of all links based on a preset rule.
The preset rules comprise character digit matching, character similarity matching and character check digit matching.
And then, the server sends the link association codes which are successfully matched to the user terminal.
Then, the server determines a corresponding set of the correlated codes based on the user's selection operation of the user terminal.
The correlated code set comprises correlated codes of all links which are selected by a user to be correlated.
The user terminal may be a terminal for recognizing, creating, selling, etc. the links in the year, such as the terminal for generating and transmitting production materials in fig. 2. The correlation is that the user terminal selects the hooking and the finished product as the correlation in fig. 2.
And finally, the server correlates the corresponding production correlation information according to the correlation code set to generate a correlation information group.
In this embodiment of the application, the server sends the associated information group and the corresponding production data to a pre-established block chain platform, which specifically includes:
and the server sends a production data acquisition instruction to the management terminal of each production data in the associated information group under the condition of determining the associated information group.
And in a preset time, the server acquires production data from the management terminal.
In order to ensure that the production data correspondingly obtained by the production data acquisition instruction can be real and reliable, the server can obtain the production data within a preset time.
Then, the server determines whether a production forensic picture exists in the production data.
Subsequently, the server identifies the production forensic picture in the presence of the production forensic picture in the production data to determine whether the production forensic picture corresponds to the wine for the year to be produced.
In this application embodiment, identify the production evidence picture to determine whether the production evidence picture corresponds to the year wine to be produced, specifically include:
firstly, the server carries out binarization processing on a production evidence obtaining picture to obtain a binarization image.
And secondly, the server determines a evidence obtaining area of the wine to be produced in the binary image.
Wherein, the area of collecting evidence includes: wine jar information, wine bottle information, operator information and production equipment information.
For example, the forensics area may be an image of an operator when the operator is blending base wine, and the forensics area includes operator information, such as a worker plate including an operator name, a worker number, an identification number, a photo, and the like.
Thirdly, determining whether the label carried by the production data in the evidence obtaining area is matched with the label of the production data associated with the wine to be produced for the year through a pre-trained image recognition model.
The label is data in the evidence obtaining area, for example, the name of an operator is a label, the work number is a label, and the identification number is a label.
Then, the server determines that the production evidence obtaining picture corresponds to the to-be-produced year wine under the condition that the label carried by the production data in the evidence obtaining area is matched with the label of the production data related to the to-be-produced year wine.
And finally, the server determines that the production evidence obtaining picture does not correspond to the wine to be produced in the condition that the label carried by the production data in the evidence obtaining area is not matched with the label of the production data related to the wine to be produced in the year.
And the server sends each generated data of the associated information group to the block chain platform under the condition that the production evidence obtaining picture corresponds to the wine of the year to be produced.
Through the scheme, whether the production data are consistent or not is determined from the picture, so that the credibility of the production process of the wine to be produced in the year is ensured, the data are not tampered, and the authenticity of the authentication traceability is ensured.
In an embodiment of the present application, the server sends the associated information group and the corresponding production data to a pre-established block chain platform, further including:
the server determines a data format of the production data.
The production data can be packaged into a file to be sent, and can also be directly sent.
And under the condition that the data format is a file, the server generates a file hash value of the production data through a file storage interface, and stores the file hash value to the block chain platform through a file storage intelligent contract of the block chain platform. And
and the server carries out digital signature on the file hash value by a private key of a production data sender.
And the server converts the production data into a lightweight data exchange format JSON character string under the condition that the data format is a non-file format.
And the server stores the JSON character string to the block chain platform and digitally signs the JSON character string by producing a private key of a data sender.
Through the scheme, the efficiency of the production data uploading block chain platform can be ensured.
And S107, the server generates a year wine traceability code according to the traceability authentication data.
The year wine tracing code is used for acquiring tracing authentication data.
The year wine tracing code can be used for tracing the source of the qualification determination result, the production and the sale process of the year wine, and the user can obtain tracing authentication data by scanning the tracing authentication through a mobile phone.
For example, from the traceability authentication data, product information of the yearly wine (the year of the wine), production authentication information of the wine, and proof of existence of the yearly wine in the blockchain are determined.
In this application embodiment, after the server generates the year wine tracing code according to the tracing authentication data, the method further includes:
and the server determines the blending proportion of the base wine in the production data based on the tracing authentication data.
And then, the server performs weighted average calculation on the blending proportion to obtain the wine age of the to-be-produced year wine.
And finally, the server generates a year wine identifier based on the blending proportion and the wine age, and sends the year wine identifier to the block chain platform so as to associate the year wine identifier with the year wine tracing code.
By the scheme, the main body and the key process information of each link of real-year wine authentication can be locked based on the block chain technology, and the key actions, the interactive behaviors and the key results of related roles of each link such as raw wine storage, detection, authorized production, blending, wine label authorization, finished product packaging and the like are recorded and stored in a whole process, so that the authentication data is real and reliable. The source tracing authentication can be carried out on the links from authentication, production to sale of the wine, the market of the real wine is purified, the harmony of the market is guaranteed, and the legal rights and interests of consumers when buying the real wine can be improved.
Fig. 3 is an authentication device for real-year wine according to an embodiment of the present application, where the authentication device includes:
at least one processor; and a memory communicatively coupled to the at least one processor. Wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to:
acquiring enterprise declaration information of wine production. Wherein, enterprise declares information and includes at least: the wine year, the name or the identification of an enterprise, and the information of a production wine base. And determining whether the corresponding enterprise has the determination result of the annual wine production qualification or not according to the enterprise declaration information. And generating a plurality of identification codes of the wine to be produced in the year based on the affirmation result and the enterprise declaration information. And determining each production data of the wine to be produced for the year, and associating each identification code with each production data to generate a plurality of production associated information. Wherein the production data at least comprises: wine jar information, wine name or mark, operator information, production link information, wine bottle name or mark, and production equipment information. And inputting the production associated information into a preset associated code generation model to determine a plurality of link associated codes. And through the association codes of all links, the production association information is mutually associated to generate an association information group, and the association information group and corresponding production data are sent to a block chain platform which is set up in advance so as to generate the traceability authentication data of the wine to be produced in the year of production on the block chain platform. And generating a year wine tracing code according to the tracing authentication data. The year wine tracing code is used for acquiring tracing authentication data.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The devices and the methods provided by the embodiment of the application are in one-to-one correspondence, so the devices also have beneficial technical effects similar to the corresponding methods.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method of authenticating real year wine, the method comprising:
acquiring enterprise declaration information of wine production; wherein the enterprise declaration information at least comprises: the wine year, the name or the identification of an enterprise, and the information of a production wine base;
determining whether the corresponding enterprise has the determination result of the annual wine production qualification or not according to the enterprise declaration information;
generating a plurality of identification codes of the wine to be produced in the year based on the affirmation result and the enterprise declaration information;
determining each production data of the wine to be produced for the year, and associating each identification code with each production data to generate a plurality of production associated information; wherein the production data at least comprises: wine jar information of wine storage, name or mark of wine, operator information, production link information, name or mark of wine bottle, and production equipment information;
inputting each production associated information into a preset associated code generation model to determine a plurality of link associated codes;
through each link association code, correlating each piece of production association information to generate an association information group, and sending the association information group and corresponding production data to a pre-established block chain platform so as to generate traceability authentication data of the wine to be produced for the year on the block chain platform;
generating a year wine tracing code according to the tracing authentication data; the year wine tracing code is used for acquiring the tracing authentication data.
2. The method of claim 1, wherein inputting each of the production-related information into a preset associated code generation model to determine a plurality of link associated codes, specifically comprises:
determining whether the association degree of the production data in each piece of production association information is greater than a preset value; the correlation degree is obtained according to a preset correlation matching table;
inputting the production association information with the association degree larger than the preset value into the preset association code generation model; the preset association code generation model is a neural network model;
and splicing the identification code and the production data according to a preset mode through the preset association code generation model so as to determine the link association code.
3. The method of claim 1, wherein the associating information of each production is associated with each other by each link association code to generate an associated information set, specifically comprising:
matching the link associated codes based on a preset rule; the preset rules comprise character digit matching, character similarity matching and character check digit matching;
sending each link associated code successfully matched to a user terminal;
determining a corresponding correlation code set based on the selection operation of the user to the user terminal; wherein the set of correlated codes comprises each link correlated code selected by the user to be correlated;
and correlating the corresponding production correlation information according to the correlation code set to produce the correlation information group.
4. The method according to claim 1, wherein sending the associated information group and the corresponding production data to a pre-established block chain platform specifically comprises:
under the condition that the associated information group is determined, sending a production data acquisition instruction to a management terminal of each production data in the associated information group;
acquiring production data from the management terminal within a preset time;
determining whether a production evidence obtaining picture exists in the production data;
identifying a production forensic picture in the presence of the production forensic picture in the production data to determine whether the production forensic picture corresponds to the to-be-produced year wine;
and under the condition that the production evidence obtaining picture corresponds to the wine of the year to be produced, sending each generated data of the associated information group to the block chain platform.
5. The method according to claim 4, wherein identifying the production forensic picture to determine whether the production forensic picture corresponds to the yearly wine to be produced comprises:
carrying out binarization processing on the production evidence obtaining picture to obtain a binarization image;
determining a evidence obtaining area of the wine to be produced in the binary image; wherein the forensics area comprises: wine jar information, wine bottle information, operator information and production equipment information are stored in the wine jar;
determining whether a label carried by the production data in the evidence obtaining area is matched with a label of the production data related to the to-be-produced year wine or not through a pre-trained image recognition model;
determining that the production evidence obtaining picture corresponds to the to-be-produced year wine under the condition that a label carried by the production data in the evidence obtaining area is matched with a label of the production data related to the to-be-produced year wine;
determining that the production forensic picture does not correspond to the yearly wine to be produced if the label carried by the production data in the forensics area does not match the label of the production data associated with the yearly wine to be produced.
6. The method according to claim 1, wherein sending the associated information group and the corresponding production data to a pre-established block chain platform specifically comprises:
determining a data format of the production data;
under the condition that the data format is a file, generating a file hash value of the production data through a file evidence storage interface, and storing the file hash value to the block chain platform through a file evidence storage intelligent contract of the block chain platform; and
carrying out digital signature on the file hash value through a private key of the production data sender;
under the condition that the data format is a non-file, converting the production data into a lightweight data exchange format JSON character string;
and storing the JSON character string to the block chain platform, and digitally signing the JSON character string through a private key of the production data sender.
7. The method of claim 1, wherein before determining whether the corresponding enterprise has a qualified annual wine production based on the enterprise declaration, the method further comprises:
receiving an enterprise authentication form from an enterprise terminal;
authenticating the enterprise identity information in the enterprise authentication form; wherein the enterprise identity information comprises the enterprise name, enterprise business license information, and a unified credit code;
under the condition that the enterprise identity information in the enterprise authentication form is authenticated, generating expert identification information, and sending the expert identification information to an expert terminal;
determining whether an enterprise authentication form of the enterprise terminal passes authentication or not based on feedback information of the expert terminal so as to generate an approval result, and uploading the expert feedback information and the approval result to the block chain platform; wherein the feedback information at least comprises: the expert identity card number, the expert name, the production wine base identification result and the base wine sampling detection result.
8. The method of claim 1, wherein after generating a year wine provenance code based on the provenance authentication data, the method further comprises:
determining the blending proportion of the base wine in the production data based on the tracing authentication data;
carrying out weighted average calculation on the blending proportion to obtain the wine age of the to-be-produced year wine;
and generating a year wine identifier based on the blending proportion and the wine age, and sending the year wine identifier to the block chain platform so as to associate the year wine identifier with the year wine tracing code.
9. The method of claim 1, wherein generating a plurality of identification codes of the wine to be produced for the year based on the approval result and the enterprise declaration information comprises:
sending identification generation information to the enterprise terminal of the enterprise declaration information; wherein the identification generation information is used for determining an identification code generator;
determining a generator of the identification code based on the confirmation information of the enterprise terminal;
under the condition that the generation party of the identification codes is the enterprise, sending identification code acquisition information of each production data to the enterprise terminal so as to determine a plurality of identification codes based on the operation of a user on the enterprise terminal;
under the condition that the generator of the identification code is not the enterprise, generating an identification code set according to the enterprise name of the enterprise declaration information; the set of identification codes comprises a number of identification codes.
10. An authentication device for real year wine, characterized in that it comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring enterprise declaration information of wine production; wherein the enterprise declaration information at least comprises: the wine year, the name or the identification of an enterprise, and the information of a production wine base;
determining whether the corresponding enterprise has the determination result of the annual wine production qualification or not according to the enterprise declaration information;
generating a plurality of identification codes of the wine to be produced in year based on the affirmation result and the enterprise declaration information;
determining each production data of the wine to be produced for the year, and associating each identification code with each production data to generate a plurality of production associated information; wherein the production data at least comprises: wine jar information of wine storage, name or mark of wine, operator information, production link information, name or mark of wine bottle, and production equipment information;
inputting each production associated information into a preset associated code generation model to determine a plurality of link associated codes;
through each link association code, correlating each piece of production association information to generate an association information group, and sending the association information group and corresponding production data to a pre-established block chain platform so as to generate traceability authentication data of the wine to be produced for the year on the block chain platform;
generating a year wine tracing code according to the tracing authentication data; the year wine tracing code is used for acquiring the tracing authentication data.
CN202210080596.5A 2022-01-24 2022-01-24 Authentication method and equipment for real-year wine Pending CN114493632A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210080596.5A CN114493632A (en) 2022-01-24 2022-01-24 Authentication method and equipment for real-year wine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210080596.5A CN114493632A (en) 2022-01-24 2022-01-24 Authentication method and equipment for real-year wine

Publications (1)

Publication Number Publication Date
CN114493632A true CN114493632A (en) 2022-05-13

Family

ID=81475388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210080596.5A Pending CN114493632A (en) 2022-01-24 2022-01-24 Authentication method and equipment for real-year wine

Country Status (1)

Country Link
CN (1) CN114493632A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117807461A (en) * 2024-02-26 2024-04-02 中国计量科学研究院 Whisky origin tracing method and system based on big data

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109345264A (en) * 2018-08-21 2019-02-15 太原理工大学 A kind of alcohol product traceability anti-fake system and method based on block chain
CN110930230A (en) * 2019-12-02 2020-03-27 山东爱城市网信息技术有限公司 Blending customization method and device based on block chain and medium
CN110930170A (en) * 2019-11-29 2020-03-27 山东爱城市网信息技术有限公司 Block chain-based quality tracing method, equipment and medium for wine products
CN111008844A (en) * 2019-11-21 2020-04-14 山东爱城市网信息技术有限公司 Block chain-based drug tracing method, device and medium
CN111047333A (en) * 2019-11-29 2020-04-21 山东爱城市网信息技术有限公司 Block chain-based method, equipment and medium for preventing goods fleeing of wine products
CN111695041A (en) * 2020-06-17 2020-09-22 北京字节跳动网络技术有限公司 Method and device for recommending information
CN112184252A (en) * 2019-06-17 2021-01-05 雲禾(浙江)科技集团有限公司 Commodity anti-counterfeiting tracing method based on block chain technology
CN112269829A (en) * 2020-09-15 2021-01-26 众立拓软件科技有限公司 Block chain data management method based on resource recovery system platform
CN112287025A (en) * 2020-10-28 2021-01-29 河北科技师范学院 Wine product whole life process tracing and supervision method and system based on block chain
CN112508587A (en) * 2020-12-16 2021-03-16 北京航天智造科技发展有限公司 Tracing code generation method and device based on block chain
CN113469716A (en) * 2021-07-20 2021-10-01 山东省计算中心(国家超级计算济南中心) Product tracing method and system based on block chain and identification analysis
CN113487337A (en) * 2021-07-13 2021-10-08 中国联合网络通信集团有限公司 Product information storage method, tracing method and block chain platform
CN113793256A (en) * 2021-09-10 2021-12-14 未鲲(上海)科技服务有限公司 Animation character generation method, device, equipment and medium based on user label

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109345264A (en) * 2018-08-21 2019-02-15 太原理工大学 A kind of alcohol product traceability anti-fake system and method based on block chain
CN112184252A (en) * 2019-06-17 2021-01-05 雲禾(浙江)科技集团有限公司 Commodity anti-counterfeiting tracing method based on block chain technology
CN111008844A (en) * 2019-11-21 2020-04-14 山东爱城市网信息技术有限公司 Block chain-based drug tracing method, device and medium
CN110930170A (en) * 2019-11-29 2020-03-27 山东爱城市网信息技术有限公司 Block chain-based quality tracing method, equipment and medium for wine products
CN111047333A (en) * 2019-11-29 2020-04-21 山东爱城市网信息技术有限公司 Block chain-based method, equipment and medium for preventing goods fleeing of wine products
CN110930230A (en) * 2019-12-02 2020-03-27 山东爱城市网信息技术有限公司 Blending customization method and device based on block chain and medium
CN111695041A (en) * 2020-06-17 2020-09-22 北京字节跳动网络技术有限公司 Method and device for recommending information
CN112269829A (en) * 2020-09-15 2021-01-26 众立拓软件科技有限公司 Block chain data management method based on resource recovery system platform
CN112287025A (en) * 2020-10-28 2021-01-29 河北科技师范学院 Wine product whole life process tracing and supervision method and system based on block chain
CN112508587A (en) * 2020-12-16 2021-03-16 北京航天智造科技发展有限公司 Tracing code generation method and device based on block chain
CN113487337A (en) * 2021-07-13 2021-10-08 中国联合网络通信集团有限公司 Product information storage method, tracing method and block chain platform
CN113469716A (en) * 2021-07-20 2021-10-01 山东省计算中心(国家超级计算济南中心) Product tracing method and system based on block chain and identification analysis
CN113793256A (en) * 2021-09-10 2021-12-14 未鲲(上海)科技服务有限公司 Animation character generation method, device, equipment and medium based on user label

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
刘同柱等: "智慧医院建设模式与创新", 31 October 2019, 中国科学技术大学出版社, pages: 136 - 137 *
刘振;王玎;: ""明明白白"喝白酒 白酒质量追溯方案让消费者放心", 中国自动识别技术, no. 01, 18 February 2014 (2014-02-18) *
川观新闻: "如何准确辨别白酒生产年份?这套数字化系统告诉你", pages 1 - 3, Retrieved from the Internet <URL:https://cbgc.scol.com.cn/home/430164?from-related-news?ivk_sa=1024320u> *
林海燕: "浅谈清香型白酒食品安全追溯体系建设", 食品工程, 31 December 2023 (2023-12-31) *
王守友;刘红云;: "酒包装二维码溯源防伪设计", 印刷技术, no. 12, 15 June 2013 (2013-06-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117807461A (en) * 2024-02-26 2024-04-02 中国计量科学研究院 Whisky origin tracing method and system based on big data
CN117807461B (en) * 2024-02-26 2024-04-26 中国计量科学研究院 Whisky origin tracing method and system based on big data

Similar Documents

Publication Publication Date Title
US20190303951A1 (en) Systems and methods for using codes and images within a blockchain
CN106447362B (en) Method and device for preventing counterfeit and shoddy commodities from entering circulation field
CN104156862A (en) Wechat-platform-based two-dimensional code anti-fake and anti-channel conflict inquiry system and method
CN105678369A (en) Anti-counterfeiting-tag-based anti-counterfeiting method for commodity
US11328237B2 (en) End-to-end commodity and commodity marking tracking
CN104299146A (en) Product anti-counterfeiting inquiry system
CN107918873A (en) Item authentication plateform system and item authentication management system
CN114493632A (en) Authentication method and equipment for real-year wine
CN113610550B (en) Product tracing method and system based on block chain
CN107609883B (en) Anti-counterfeiting verification sharing system and verification method
CN112561645A (en) 3C (third-generation) commodity leasing method and system based on block chain and IPFS (Internet protocol file system) technology
CN112270636A (en) Block chain-based consignment logistics management method, device, terminal and storage medium
CN116805261B (en) Public purchasing digital transaction management system
CN110472707A (en) Product certification system and product certification method
CN109858811A (en) A kind of automation recruitment and trial period checking system and its operation method
CN113034267A (en) Electronic letter protection system based on supply chain
KR20150045543A (en) Genuine product certification and sns posting system, and method using nfc tag and smart phone
CN103905206A (en) Cross-equipment and cross-application identity authentication method based on data image coding
CN112085576A (en) Online bidding method, device, system and storage medium
CN110222077A (en) Method of proof and system based on block chain
KR102315328B1 (en) A system and method for providing legal contract services to resolve disputes between parties by storing online conversations in a blockchain
RU2755969C1 (en) Technology for protection against counterfeiting and falsification by encoding, internal placement of unique codes, and recognition thereof
CN103905205A (en) Cross-equipment and cross-application digital signature and verification method based on data image coding
CN110599206B (en) Article quality authentication method and device, storage medium and electronic equipment
CN109871930B (en) Method and device for issuing quality codes and verifying quality codes by block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination