A method and device for authenticating real vintage wine

Through blockchain technology and neural network model, the traceability and authentication of vintage wines is solved, and the problem of chaos in the vintage wine market is achieved, transparent traceability from production to sales is achieved, and consumer rights and market health is protected.

CN114493632BActive Publication Date: 2024-12-20浪潮工业互联网股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210080596.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-24
Publication Date
2024-12-20
Estimated Expiration
2042-01-24

AI Technical Summary

Technical Problem

The certification of real vintage wines in the vintage wine market is chaotic, making it difficult for consumers to identify real vintage wines, affecting the healthy growth of the market.

Method used

Use blockchain technology and neural network model for traceability authentication, and generate annual wine traceability code through the association of enterprise declaration information, production materials and evidence collection pictures to ensure that the information in each link is true and reliable, and store the data on the blockchain platform superior.

Benefits of technology

Improve consumers' confidence in purchasing real vintage wines, purify the market, ensure that the production and sales process of vintage wines are transparent and traceable, and protect consumers' legitimate rights and interests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114493632B_ABST
    Figure CN114493632B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for authenticating real vintage wines, which obtains the declaration information of the enterprise producing the wine. According to the enterprise declaration information, determine whether the corresponding enterprise has the qualification to produce vintage wine. Based on the identification result and the enterprise declaration information, generate several identification codes for the vintage wine to be produced. Determine the various means of production of the vintage wine to be produced, and associate each identification code with each means of production to generate several production-related information. Input each piece of production-related information into a preset association code generation model to determine several link association codes. Through the association codes of each link, the various production-related information are mutually associated to generate an association information group, and the association information group and the corresponding production data are sent to a pre-built blockchain platform to generate traceability authentication data for the vintage wine to be produced on the blockchain platform. Generate a vintage wine traceability code based on the traceability authentication data. The vintage wine traceability code is used to obtain traceability authentication data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet of Things technology, and in particular to a method and device for authenticating authentic vintage wine. Background Art

[0002] Vintage liquor is a liquor that is blended by liquor producers with base liquor that has been "stored in jars" for a certain period of time. There is currently a lot of confusion in the market about the labeling of vintage liquor. Liquor companies arbitrarily define the concept of vintage based on marketing needs. Consumers' demand for "real vintage" liquor is difficult to be fully guaranteed, which seriously affects the healthy growth of the vintage liquor market.

[0003] Although the certification standards and processes for real vintage wines have been implemented and promoted in wine companies, and have achieved good results, the certification process involves many entities, the information of the links is relatively critical, and the links are difficult to coordinate efficiently.

[0004] Based on this, there is an urgent need for a traceability authentication technology solution that can cover the entire process of vintage wine from authentication, production to sales, and truly display the authentication of vintage wine and each production process to consumers, making it easier for consumers to identify authentic vintage wine. Summary of the invention

[0005] The embodiments of the present application provide a method and device for authenticating authentic vintage wines, which are used to perform traceability authentication on vintage wines from authentication, production to sales.

[0006] On the one hand, the present application provides a method for authenticating authentic vintage wine, the method comprising:

[0007] Obtain the declaration information of the enterprise producing wine. Among them, the enterprise declaration information at least includes: the year of the wine, the name or logo of the enterprise, and the information of the wine production warehouse. According to the enterprise declaration information, determine whether the corresponding enterprise has the qualification to produce vintage wine. Based on the identification result and the enterprise declaration information, generate several identification codes of the vintage wine to be produced. Determine the various production materials of the vintage wine to be produced, and associate each identification code with each production material to generate several production-related information. Among them, the production materials at least include: the information of the original wine storage jar, the name or logo of the original wine, the operator information, the production link information, the name or logo of the wine bottle, and the production equipment information. Input each production-related information into the preset association code generation model to determine several link association codes. Through the association codes of each link, the various production-related information are mutually associated to generate an association information group, and the association information group and the corresponding production data are sent to the pre-built blockchain platform to generate the traceability authentication data of the vintage wine to be produced on the blockchain platform. Generate the vintage wine traceability code based on the traceability authentication data. The vintage wine traceability code is used to obtain the traceability authentication data.

[0008] In one implementation of the present application, it is determined whether the correlation degree of the production materials in each production-related information is greater than a preset value. The correlation degree is obtained according to a preset correlation matching table. Each production-related information with a correlation degree greater than the preset value is input into a preset correlation code generation model. Among them, the preset correlation code generation model is a neural network model. Through the preset correlation code generation model, the identification code and the production materials are spliced ​​in a preset manner to determine the link correlation code.

[0009] In one implementation of the present application, the association codes of each link are matched based on preset rules. The preset rules include character digit matching, character similarity matching, and character check digit matching. The association codes of each link that are successfully matched are sent to the user terminal. Based on the user's selection operation on the user terminal, the corresponding mutual association code set is determined. The mutual association code set includes the association codes of each link selected by the user to be mutually associated. According to the mutual association code set, the corresponding production association information is mutually associated to form a production association information group.

[0010] In one implementation of the present application, when the associated information group is determined, a production data collection instruction is sent to the management terminal of each production material in the associated information group. The production data from the management terminal is obtained within a preset time. It is determined whether there are production evidence pictures in the production data. In the case where there are production evidence pictures in the production data, the production evidence pictures are identified to determine whether the production evidence pictures correspond to the wine of the year to be produced. In the case where it is determined that the production evidence pictures correspond to the wine of the year to be produced, each generated data of the associated information group is sent to the blockchain platform.

[0011] In one implementation of the present application, a production evidence picture is binarized to obtain a binary image. The evidence collection area of ​​the wine of the year to be produced in the binary image is determined. The evidence collection area includes: information on the original wine storage jars, wine bottle information, operator information, and production equipment information. Through a pre-trained image recognition model, determine whether the label carried by the production materials in the evidence collection area matches the label of the production materials associated with the wine of the year to be produced. In the case where the label carried by the production materials in the evidence collection area matches the label of the production materials associated with the wine of the year to be produced, it is determined that the production evidence picture corresponds to the wine of the year to be produced. In the case where the label carried by the production materials in the evidence collection area does not match the label of the production materials associated with the wine of the year to be produced, it is determined that the production evidence picture does not correspond to the wine of the year to be produced.

[0012] In one implementation of the present application, the data format of the production data is determined. When the data format is a file, a file hash value of the production data is generated through a file evidence interface, and the file hash value is stored in the blockchain platform through the file evidence smart contract of the blockchain platform. And the file hash value is digitally signed by the private key of the sender of the production data. When the data format is non-file, the production data is converted into a lightweight data exchange format JSON string. The JSON string is stored in the blockchain platform, and the JSON string is digitally signed by the private key of the sender of the production data.

[0013] In one implementation of the present application, an enterprise authentication form is received from an enterprise terminal. The enterprise identity information in the enterprise authentication form is authenticated. Among them, the enterprise identity information includes the enterprise name, enterprise business license information, and a unified credit code. In the case where the enterprise identity information in the enterprise authentication form is authenticated, expert recognition information is generated, and the expert recognition information is sent to the expert terminal. Based on the feedback information of the expert terminal, it is determined whether the enterprise authentication form of the enterprise terminal is authenticated to generate a recognition result, and the expert feedback information and the recognition result are uploaded to the blockchain platform. Among them, the feedback information includes at least: the expert ID number, the expert name, the production wine warehouse recognition result, and the base wine sampling test result.

[0014] In one implementation of the present application, the blending ratio of the base wine in the production materials is determined based on the traceability authentication data. The blending ratio is weighted averaged to obtain the age of the vintage wine to be produced. Based on the blending ratio and the age of the wine, a vintage wine identifier is generated, and the vintage wine identifier is sent to the blockchain platform to associate the vintage wine identifier with the vintage wine traceability code.

[0015] In one implementation of the present application, identification generation information is sent to an enterprise terminal that declares information of an enterprise. The identification generation information is used to determine the generator of the identification code. The generator of the identification code is determined based on the confirmation information of the enterprise terminal. In the case where the generator of the identification code is an enterprise, identification code acquisition information of each means of production is sent to the enterprise terminal to determine a number of identification codes based on the user's operation on the enterprise terminal. In the case where the generator of the identification code is not an enterprise, an identification code set is generated according to the enterprise name of the enterprise information declared by the enterprise. The identification code set includes a number of identification codes.

[0016] On the other hand, the embodiment of the present application also provides a device for authenticating authentic vintage wine, characterized in that the device includes:

[0017] At least one processor; and a memory in communication with the at least one processor. The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to:

[0018] Obtain the declaration information of the enterprise producing wine. Among them, the enterprise declaration information at least includes: the year of the wine, the name or logo of the enterprise, and the information of the wine production warehouse. According to the enterprise declaration information, determine whether the corresponding enterprise has the qualification to produce vintage wine. Based on the identification result and the enterprise declaration information, generate several identification codes of the vintage wine to be produced. Determine the various production materials of the vintage wine to be produced, and associate each identification code with each production material to generate several production-related information. Among them, the production materials at least include: the information of the original wine storage jar, the name or logo of the original wine, the operator information, the production link information, the name or logo of the wine bottle, and the production equipment information. Input each production-related information into the preset association code generation model to determine several link association codes. Through the association codes of each link, the various production-related information are mutually associated to generate an association information group, and the association information group and the corresponding production data are sent to the pre-built blockchain platform to generate the traceability authentication data of the vintage wine to be produced on the blockchain platform. Generate the vintage wine traceability code based on the traceability authentication data. The vintage wine traceability code is used to obtain the traceability authentication data.

[0019] Through the above scheme, vintage wine can be traced and authenticated from the certification, production to sales process, which can improve consumers' purchasing experience of authentic vintage wine, facilitate consumers to identify authentic vintage wine, safeguard consumers' legitimate rights and interests, and purify the vintage wine market. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0021] Figure 1 A schematic diagram of a flow chart of a method for authenticating authentic vintage wine in an embodiment of the present application;

[0022] Figure 2 A schematic diagram of a method for authenticating authentic vintage wine in an embodiment of the present application;

[0023] Figure 3 This is a schematic diagram of the structure of a device for authenticating authentic vintage wine in an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0025] In order to be able to trace the origin of vintage wine from certification, production to sales, the certification of vintage wine and each production process are truly presented to consumers, making it easier for consumers to identify real vintage wine. The embodiment of the present application provides a method and device for authenticating real vintage wine, which is used to trace the origin of vintage wine from certification, production to sales.

[0026] The following describes in detail various embodiments of the present application in conjunction with the accompanying drawings.

[0027] The present application embodiment provides a method for authenticating authentic vintage wines. Figure 1 As shown, the method may include steps S101-S107:

[0028] S101, the server obtains the declaration information of the wine producing enterprise.

[0029] Among them, the information declared by the enterprise shall at least include: the year of the wine, the company name or logo, and the production wine warehouse information.

[0030] It should be noted that the server, as the executor of the authentication method for authentic vintage wine, is only an example. The executor is not limited to the server, and this application does not make any specific limitations on this.

[0031] In the embodiment of the present application, the wine producing enterprise can send enterprise declaration information to the server through its enterprise terminal, such as a mobile phone, tablet computer, etc. The server can identify the wine year, enterprise name or enterprise logo, and production wine warehouse information in the enterprise declaration information, and the server can also authenticate the identity of the user who uploaded the enterprise declaration information.

[0032] Among them, the server can perform digital identity authentication for each subject in the authentication process based on blockchain technology. For example, for enterprises, the business license photo is used to prove the identity, and the unified credit code is used as the account ID; for individuals, in addition to using the mobile phone verification code to prove the identity, it is also necessary to pass the two-factor real-name verification of the ID number and name, and use the ID number as the account ID. This enables secure data interaction between enterprises, individuals and servers.

[0033] In the embodiment of the present application, before the server determines whether the corresponding enterprise has the qualification to produce vintage wine according to the enterprise's declared information, it also includes:

[0034] First, the server receives the enterprise authentication form from the enterprise terminal.

[0035] The enterprise authentication form may be a form sent by the server to the enterprise terminal according to an application of the enterprise terminal. After the enterprise terminal completes filling in the content in the enterprise authentication form, it may send the enterprise authentication form to the server.

[0036] Secondly, the server authenticates the enterprise identity information in the enterprise authentication form.

[0037] Among them, corporate identity information includes corporate name, business license information, and unified credit code.

[0038] The server can obtain the business license information and unified 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 China Alcoholic Beverage Association, or the server obtains the reference information for authenticating the enterprise identity information from the blockchain platform. The server can authenticate the enterprise identity information in any of the above ways. In actual use, the enterprise identity information can also be authenticated by a combination of the above methods or by other methods, which is not specifically limited in this application.

[0039] Thirdly, when the enterprise identity information in the enterprise authentication form is authenticated, the server generates expert authentication information and sends the expert authentication information to the expert terminal.

[0040] After the server completes the enterprise identity information authentication, it can send expert recognition information to the expert terminal (such as the terminal devices of experts from the China Alcoholic Drinks Association). The expert terminal corresponds to the personnel who conduct on-site audits of the intelligent supervision of wine warehouses, and can also correspond to the terminal of the agency that certifies the qualifications of wine companies.

[0041] Finally, based on the feedback information from the expert terminal, the server determines whether the enterprise authentication form of the enterprise terminal has passed the authentication to generate the certification result, and uploads the expert feedback information and the certification result to the blockchain platform.

[0042] Among them, the feedback information shall at least include: expert ID number, expert name, production wine warehouse certification results, and base wine sampling test results.

[0043] After receiving the expert identification information, the expert terminal can go to the wine enterprise to conduct on-site identification and supervision, and conduct base wine sampling and testing. The operator of the expert terminal can generate feedback information based on the test results and on-site supervision and identification results, and send the feedback information to the server. The server determines whether the enterprise certification form has passed based on the content of the feedback information.

[0044] In addition, the test results of base wine sampling tests can be uploaded to the blockchain platform for information storage.

[0045] In the embodiment of the present application, in the authentication method for authentic vintage wine, information such as procedures, processes, and personnel involved in the production and certification of vintage wine needs to be uploaded to the blockchain platform for information storage.

[0046] The above scheme provides a way to facilitate enterprise qualification certification, provide authentic and reliable data when certifying vintage wines, and ensure that the production data of vintage wines can be traced.

[0047] S102, the server determines whether the corresponding enterprise has the qualification to produce vintage wine based on the enterprise's declared information.

[0048] In the embodiment of the present application, the server determines whether the enterprise reporting the enterprise information has a certification result according to the enterprise reporting information. The certification result is obtained through the review of the relevant information of the enterprise by experts of Chinese wine enterprises and on-site inspection of the enterprise.

[0049] In one embodiment of the present application, if there is a recognition result, the server can also determine whether the wine year and production wine warehouse information in the enterprise's declared information are consistent with the recognition result based on the recognition result, and further determine whether the enterprise's declared information meets the requirements.

[0050] Specifically, for example, in the identification result, the wine production warehouse m of company A can produce wine of year x, and the company's declaration information records that the wine production warehouse m of company A will produce wine of year x+10, then the server determines that the company's declaration information does not meet the identification result.

[0051] For another example, in the recognition result, the production wine warehouse n of company A can produce wine of year x, and the company's declared information records that the production wine warehouse n of company A will produce wine of year x-5 (x is at least greater than 5), then the server determines that the company's declared information meets the recognition result.

[0052] S103, the server generates several identification codes of the vintage wine to be produced based on the identification results and the enterprise's declared information.

[0053] In the embodiment of the present application, the server generates several identification codes of the wine of the year to be produced based on the identification results and the enterprise declaration information, specifically including:

[0054] First, the server sends identification generation information to the enterprise terminal that declares the enterprise information.

[0055] The identification generation information is used to determine the identification code generator.

[0056] After the server determines that the enterprise declaration information meets the recognition result based on the recognition result and the enterprise declaration information, it generates an identification code for the enterprise corresponding to the enterprise declaration information. Before the identification code is generated, the server generates an identification generation information and sends it to the enterprise terminal.

[0057] Then, the server determines the generator of the identification code based on the confirmation information of the enterprise terminal.

[0058] The server may receive confirmation information sent by the enterprise terminal, and the confirmation information is used to determine the generator corresponding to the identification generation information. For example, the identification generation information is: Please select the generator. The confirmation information may be that the generator is the enterprise or the server.

[0059] Next, when the generator of the identification code is an enterprise, the server sends identification code acquisition information of each production material to the enterprise terminal to determine a number of identification codes based on the user's operation on the enterprise terminal.

[0060] When the server receives confirmation that the generator of the identification code is an enterprise, the server will send identification code acquisition information of each means of production to the enterprise terminal. Each means of production includes but is not limited to raw wine storage jar information, raw wine name or logo, operator information, production link information, wine bottle name or logo, and production equipment information. That is, the raw wine storage jar information has an identification code, the raw 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 means of production to the server. The identification code is as follows: Figure 2 Identification number shown.

[0061] When the generator of the identification code is not an enterprise, the server generates an identification code set according to the enterprise name reported by the enterprise.

[0062] The identification code set includes several identification codes.

[0063] When the generator of the identification code is not the enterprise, the server can determine the production materials of the vintage wine corresponding to the enterprise's declared information based on the enterprise name, and generate an identification code set including several identification codes, where the number of identification codes in the identification code set is greater than or equal to the number of production materials.

[0064] S104, the server determines the production materials of the wine of the year to be produced, and associates the identification codes with the production materials to generate some production-related information.

[0065] Among them, the means of production include at least: information on raw wine storage jars, raw wine name or logo, operator information, production process information, wine bottle name or logo, and production equipment information.

[0066] The server can determine the various production materials of the wine to be produced, such as Figure 2 The server then associates each production material with an identification code (identification number), such as the identification code of the wine jar numbered 1-2-09 in the No. 1 wine cellar of base wine 1, which is 88.299.99 / 2cx65.

[0067] S105, the server inputs each production-related information into a preset association code generation model to determine several link association codes.

[0068] In the embodiment of the present application, the server inputs each production-related information into a preset association code generation model to determine several link association codes, including:

[0069] First, the server determines whether the correlation degree of the production materials in each production correlation information is greater than a preset value.

[0070] The association degree is obtained according to a preset association matching table.

[0071] In the embodiment of the present application, the association matching table can be generated by the user of the user terminal through operation, and the association degree between each production material is stored in the table.

[0072] Then, the server inputs each production association information with a correlation degree greater than a preset value into a preset association code generation model.

[0073] Among them, the preset association code generation model is a neural network model.

[0074] The preset association code generation model is a pre-trained neural network model, which can 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 number of sample production association information and association codes to generate a spliced ​​link association code. For example, the code of the production data of the production association information is 789, and the identification code is 88.999.11, then the code and the identification code are spliced ​​to obtain the link association code.

[0075] Finally, the server generates a model through a preset association code, and splices the identification code with the production materials in a preset manner to determine the link association code.

[0076] In the embodiment of the present application, the preset mode can be a splicing method in which the production data is in front and the identification code is in the back, such as 789-88.999.11, or the identification code is in front and the production data is in the back, such as 88.999.11-789, or a random interpolation method is performed, 878.9989.191. The preset mode can be randomly set by the server, or preset mode confirmation information is sent to the user terminal to obtain the preset mode. The present application does not specifically limit the specific determination method of the preset mode.

[0077] S106, the server associates each production-related information with each other through the association code of each link, generates an associated information group, and sends the associated information group and the corresponding production data to the pre-built blockchain platform to generate traceability authentication data of the vintage wine to be produced on the blockchain platform.

[0078] In the embodiment of the present application, the server associates each production-related information with each other through the association code of each link to generate an associated information group, including:

[0079] First, the server matches the association codes of each link based on preset rules.

[0080] Among them, the preset rules include character digit matching, character similarity matching, and character check digit matching.

[0081] Then, the server sends the association codes of each successfully matched link to the user terminal.

[0082] Next, the server determines a corresponding set of mutual correlation codes based on the user's selection operation on the user terminal.

[0083] The mutual association code set includes the association codes of each link selected by the user to be associated with each other.

[0084] The user terminal can be a terminal that identifies, generates, and sells each link in the year. Figure 2 The terminal used to generate and send production materials. The interrelationships are as follows Figure 2 The user terminal selects blending and the finished product as being interrelated.

[0085] Finally, the server correlates the corresponding production-related information with each other according to the correlation code set to generate a correlation information group.

[0086] In the embodiment of the present application, the server sends the associated information group and the corresponding production data to the pre-built blockchain platform, specifically including:

[0087] When determining the associated information group, the server sends a production data collection instruction to the management terminal of each production material in the associated information group.

[0088] And within the preset time, the server obtains the production data from the management terminal.

[0089] In order to ensure that the production data obtained in response to the production data collection instruction is authentic and reliable, the server can obtain the production data within a preset time.

[0090] Next, the server determines whether there are production forensic images in the production data.

[0091] Subsequently, when there are production forensic pictures in the production data, the server identifies the production forensic pictures to determine whether the production forensic pictures correspond to the wine of the year to be produced.

[0092] In the embodiment of the present application, the production evidence picture is identified to determine whether the production evidence picture corresponds to the wine of the year to be produced, specifically including:

[0093] First, the server performs binarization processing on the production forensic image to obtain a binary image.

[0094] Secondly, the server determines the evidence collection area of ​​the wine to be produced in the binary image.

[0095] Among them, the evidence collection areas include: raw wine storage jar information, wine bottle information, operator information, and production equipment information.

[0096] For example, the evidence collection area may include an image of an operator blending base liquor, and the evidence collection area includes operator information, such as a work badge including the operator's name, work number, ID number, photo, etc.

[0097] Again, through the pre-trained image recognition model, it is determined whether the labels carried by the production materials in the evidence collection area match the labels of the production materials associated with the vintage wine to be produced.

[0098] The label is the data in the evidence collection area, for example, the operator's name is a label, the work number is a label, and the ID number is a label.

[0099] Then, if the label carried by the production materials in the evidence collection area matches the label of the production materials associated with the vintage wine to be produced, the server determines that the production evidence picture corresponds to the vintage wine to be produced.

[0100] Finally, if the label carried by the production materials in the evidence collection area of ​​the server does not match the label of the production materials associated with the vintage wine to be produced, the server determines that the production evidence picture does not correspond to the vintage wine to be produced.

[0101] Furthermore, when the server determines that the production evidence image corresponds to the wine of the year to be produced, it sends each generated data of the associated information group to the blockchain platform.

[0102] Through the above scheme, it is possible to determine from the pictures whether the production data are consistent, thereby ensuring that the production process of the vintage wine to be produced is credible, the data is not tampered with, and the authenticity of the certification traceability is guaranteed.

[0103] In one embodiment of the present application, the server sends the associated information group and the corresponding production data to a pre-built blockchain platform, and also includes:

[0104] The server determines the data format of the production data.

[0105] Production data can be packaged into files for sending, or the data can be sent directly.

[0106] When the data format is a file, the server generates a file hash value for the production data through the file notarization interface, and stores the file hash value on the blockchain platform through the file notarization smart contract of the blockchain platform.

[0107] The server digitally signs the file hash value by using the private key of the data sender.

[0108] When the data format is non-file, the server converts the production data into a lightweight data exchange format JSON string.

[0109] The server stores the JSON string on the blockchain platform and digitally signs the JSON string using the private key of the data sender.

[0110] Through the above solution, the efficiency of uploading production data to the blockchain platform can be guaranteed.

[0111] S107, the server generates a vintage wine traceability code based on the traceability authentication data.

[0112] The vintage wine traceability code is used to obtain traceability certification data.

[0113] The vintage wine traceability code can be used to trace the qualification certification results, production and sales process of vintage wine. Users can obtain the traceability certification data by scanning the traceability certification code with their mobile phones.

[0114] For example, based on the traceability certification data, the product information of vintage wine (the year of the wine), the production certification information of the wine, and the proof of the vintage wine stored in the blockchain can be determined.

[0115] In the embodiment of the present application, after the server generates the vintage wine traceability code according to the traceability authentication data, it also includes:

[0116] The server determines the blending ratio of the base wine in the means of production based on the traceability certification data.

[0117] The server will then perform a weighted average calculation of the blending ratio to obtain the age of the wine to be produced.

[0118] Finally, the server generates a vintage wine logo based on the blending ratio and the age of the wine, and sends the vintage wine logo to the blockchain platform to associate the vintage wine logo with the vintage wine traceability code.

[0119] Through the above scheme, this application can lock the subject and key process information of each link of the real vintage wine authentication based on blockchain technology, and record and store the key actions, interactive behaviors and key results of the relevant roles in each link such as raw wine storage, testing, authorized production, blending, wine label authorization, finished product packaging, etc., so as to ensure that the authentication data is authentic and reliable. It can trace the source of vintage wine from authentication, production to sales, purify the market of real vintage wine, ensure market harmony, and improve the legitimate rights and interests of consumers when purchasing real vintage wine.

[0120] Figure 3 An authentic wine authentication device provided in an embodiment of the present application includes:

[0121] At least one processor; and a memory in communication with the at least one processor. The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to:

[0122] Obtain the declaration information of the enterprise producing wine. Among them, the enterprise declaration information at least includes: the year of the wine, the name or logo of the enterprise, and the information of the wine production warehouse. According to the enterprise declaration information, determine whether the corresponding enterprise has the qualification to produce vintage wine. Based on the identification result and the enterprise declaration information, generate several identification codes of the vintage wine to be produced. Determine the various production materials of the vintage wine to be produced, and associate each identification code with each production material to generate several production-related information. Among them, the production materials at least include: the information of the original wine storage jar, the name or logo of the original wine, the operator information, the production link information, the name or logo of the wine bottle, and the production equipment information. Input each production-related information into the preset association code generation model to determine several link association codes. Through the association codes of each link, the various production-related information are mutually associated to generate an association information group, and the association information group and the corresponding production data are sent to the pre-built blockchain platform to generate the traceability authentication data of the vintage wine to be produced on the blockchain platform. Generate the vintage wine traceability code based on the traceability authentication data. The vintage wine traceability code is used to obtain the traceability authentication data.

[0123] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0124] The device and method provided in the embodiments of the present application correspond one to one, and therefore, the device also has similar beneficial technical effects as its corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the device will not be repeated here.

[0125] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0126] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. 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

1. A method for authenticating authentic vintage wine, characterized in that: The method comprises: Obtaining the declared information of the enterprise producing the wine; wherein the declared information of the enterprise at least includes: the year of the wine, the name or logo of the enterprise, and the information of the wine production warehouse; Based on the information reported by the enterprise, determine whether the corresponding enterprise has the qualification to produce vintage wine; Based on the identification result and the enterprise declaration information, generate several identification codes of the wine of the year to be produced; Determine the various production materials of the wine of the year to be produced, and associate the various identification codes with the various production materials to generate a number of production-related information; wherein the production materials at least include: raw wine storage jar information, raw wine name or logo, operator information, production link information, wine bottle name or logo, and production equipment information; Inputting each of the production-related information into a preset association code generation model to determine several link association codes; By means of the association codes of the various links, the production-related information is associated with each other to generate an associated information group, and the associated information group and the corresponding production data are sent to a pre-built blockchain platform to generate traceability authentication data of the wine of the year to be produced on the blockchain platform; Generate a vintage wine traceability code based on the traceability authentication data; the vintage wine traceability code is used to obtain the traceability authentication data; The associated information group and the corresponding production data are sent to a pre-built blockchain platform, specifically including: When the associated information group is determined, a production data collection instruction is sent to the management terminal of each of the production materials in the associated information group; Acquiring production data from the management terminal within a preset time; Determining whether there are production evidence pictures in the production data; In the case where there is a production evidence picture in the production data, identifying the production evidence picture to determine whether the production evidence picture corresponds to the wine of the year to be produced; When it is determined that the production evidence image corresponds to the wine of the year to be produced, each of the generated data of the associated information group is sent to the blockchain platform; Among them, identifying the production evidence picture to determine whether the production evidence picture corresponds to the wine of the year to be produced specifically includes: Binarizing the production evidence picture to obtain a binary image; Determine the evidence collection area of ​​the wine of the year to be produced in the binary image; wherein the evidence collection area includes: original wine storage jar information, wine bottle information, operator information, and production equipment information; Determine, by means of a pre-trained image recognition model, whether the label carried by the production materials in the evidence collection area matches the label of the production materials associated with the vintage wine to be produced; If the label carried by the production materials in the evidence collection area matches the label of the production materials associated with the wine of the year to be produced, determining that the production evidence picture corresponds to the wine of the year to be produced; If the label carried by the production materials in the evidence collection area does not match the label of the production materials associated with the wine of the year to be produced, determining that the production evidence collection picture does not correspond to the wine of the year to be produced; Among them, through the association codes of each link, the production-related information is associated with each other to generate an associated information group, which specifically includes: Based on preset rules, the association codes of each link are matched; wherein the preset rules include character digit matching, character similarity matching, and character check digit matching; Sending the successfully matched association codes of the links to the user terminal; Based on the user's selection operation on the user terminal, a corresponding set of mutual association codes is determined; wherein the set of mutual association codes includes the association codes of the links selected by the user to be mutually associated; Correlating the corresponding production-related information with each other according to the mutual correlation code set to produce the correlation information group; Wherein, before determining whether the corresponding enterprise has the qualification to produce vintage wine according to the enterprise's declared information, the method further includes: Receive the enterprise authentication form from the enterprise terminal; Authenticate the enterprise identity information in the enterprise authentication form; wherein the enterprise identity information includes the enterprise name, enterprise business license information, and unified credit code; When the enterprise identity information in the enterprise authentication form is authenticated, expert authentication information is generated, and the expert authentication information is sent to the expert terminal; Based on the feedback information of the expert terminal, determine whether the enterprise authentication form of the enterprise terminal is authenticated to generate the authentication result, and upload the expert feedback information and the authentication result to the blockchain platform; wherein the feedback information at least includes: expert ID number, expert name, production wine warehouse authentication result, base wine sampling test result; Wherein, after generating the vintage wine traceability code according to the traceability authentication data, the method further comprises: Based on the traceability authentication data, determine the blending ratio of the base wine in the production materials; The blending ratio is weighted averaged to obtain the age of the wine to be produced; Based on the blending ratio and the age of the wine, a vintage wine identifier is generated, and the vintage wine identifier is sent to the blockchain platform to associate the vintage wine identifier with the vintage wine traceability code.

2. The method according to claim 1, characterized in that: Input each of the production-related information into a preset association code generation model to determine several link association codes, specifically including: Determine whether the correlation degree of the production data in each of the production correlation information is greater than a preset value; the correlation degree is obtained according to a preset correlation matching table; Input each of the production-related information whose correlation degree is greater than the preset value into the preset correlation code generation model; wherein the preset correlation code generation model is a neural network model; The preset association code generation model is used to splice the identification code with the production materials in a preset manner to determine the link association code.

3. The method according to claim 1, characterized in that: Sending the associated information group and the corresponding production data to the pre-built blockchain platform specifically includes: determining a data format of the production data; In the case where the data format is a file, a file hash value of the production data is generated through a file notarization interface, and the file hash value is stored in the blockchain platform through a file notarization smart contract of the blockchain platform; and Digitally signing the file hash value using the private key of the production data sender; In the case where the data format is non-file, converting the production data into a lightweight data exchange format JSON string; The JSON string is stored in the blockchain platform, and the JSON string is digitally signed by the private key of the production data sender.

4. The method according to claim 1, characterized in that: Based on the identification results and the enterprise declaration information, several identification codes of the wine of the year to be produced are generated, including: Sending identification generation information to the enterprise terminal that reports information of the enterprise; wherein the identification generation information is used to determine the identification code generator; Determining the generator of the identification code based on the confirmation information of the enterprise terminal; In the case where the generator of the identification code is the enterprise, sending identification code acquisition information of each of the production materials to the enterprise terminal to determine a number of the identification codes based on the user's operation on the enterprise terminal; In the case that the generator of the identification code is not the enterprise, an identification code set is generated according to the enterprise name in the enterprise declaration information; the identification code set includes a plurality of identification codes.

5. A device for authenticating authentic vintage wine, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a method for authenticating authentic vintage wine as described in any one of claims 1-4 above.