Wine brewing data processing method and system based on regional alliance chain

Through the regional alliance chain's brewing data processing method, the problem of unstable wine quality in liquor brewing is solved, reliable sharing and automated monitoring of brewing data is realized, and the quality and market competitiveness of wine are improved.

CN120378439APending Publication Date: 2025-07-25GUIZHOU UNIV
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510761267.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-09
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

During the brewing of traditional liquor, the quality of the wine is unstable and it is time-consuming to find the cause of the problem, making it difficult to quickly improve the quality of the wine while ensuring stable quality.

Method used

The brewing data processing method based on the regional alliance chain is adopted to realize the authenticity and reliability of brewing data through decentralized distributed storage and smart contracts, and support the automated monitoring and traceability of the brewing process.

Benefits of technology

Ensure the authenticity and reliability of brewing data, realize the sharing of data between different clients, provide trusted traceability results, support automated monitoring of the brewing process and rapid search of key influencing factors, and improve wine quality and market competitiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120378439A_ABST
    Figure CN120378439A_ABST
Patent Text Reader

Abstract

The invention provides a brewing data processing method and system based on a regional alliance chain, and relates to the technical field of data sharing. The method comprises the following steps: receiving wine brewing data information of a wine brewing distillation link acquired by a wine brewing data acquisition module in real time; the wine brewing data information carries first timestamp information and identification information of the wine brewing data acquisition module; and processing the brewing data information through an intelligent contract accepted by a brewing enterprise regional alliance network, sending the processed brewing data information to a regional alliance chain for consensus processing, and generating a target block and target account book data corresponding to the target block. According to the scheme provided by the invention, decentralized distributed storage and sharing of the wine brewing data can be realized, and the safety and reliability of the wine brewing data are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data sharing, and in particular to a brewing data processing method and system based on a regional alliance chain. Background Art

[0002] The exploration process of automated production in traditional Chinese liquor brewing started in the 1950s. Automated brewing meets the demand for liquor production. Nowadays, people have a stronger pursuit of liquor quality. However, the operating processes, fermentation processes, material properties, etc. of various types of liquor have a great impact on liquor quality, resulting in a large difference in the quality of various types of liquor, and there are also many unstable factors in the quality of the same type of liquor. Especially when there are quality problems in the produced liquor, it takes a considerable amount of time, manpower and other costs to find the cause of the problem, bringing a great burden and uncertainty to liquor brewing production enterprises. Therefore, it is particularly important to be able to quickly find the key factors affecting liquor products and steadily improve liquor quality while ensuring the stable quality of the existing production. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to provide a brewing data processing method and system based on a regional alliance chain. Through decentralized distributed storage, the authenticity and reliability of brewing data preservation are ensured, the sharing of brewing data among different clients is realized, and at the same time, reliable support is provided for the automated monitoring of the brewing process, and strong guarantee is provided for the credibility of the traceability result.

[0004] To solve the above technical problem, an embodiment of the present invention provides a brewing data processing method based on a regional alliance chain, including the following steps:

[0005] Receiving brewing data information of the brewing distillation link collected in real time by a brewing data collection module; the brewing data information carries first timestamp information and the identification information of the brewing data collection module;

[0006] Processing the brewing data information through a smart contract recognized by the regional alliance network of brewing enterprises, and sending the processed brewing data information to the regional alliance chain for consensus processing, and generating a target block and target ledger data corresponding to the target block.

[0007] In one embodiment, the above brewing data processing method based on a regional alliance chain further includes:

[0008] Receiving a verification request sent by the brewing data collection module through a gateway, the verification request carrying the identification information of the brewing data collection module;

[0009] Receive the encrypted brewing data information sent by the brewing data acquisition module, where the encrypted brewing data information is obtained by encrypting the pairing key in the pairing information generated after verifying the brewing data acquisition module according to the verification request and passing the verification;

[0010] Decrypt the encrypted brewing data information according to the pairing key to obtain the brewing data information before encryption processing.

[0011] In one embodiment, the above-mentioned brewing data processing method based on the regional alliance chain further includes:

[0012] Sort and classify the brewing data information according to the first timestamp information;

[0013] Broadcast the sorted and classified brewing data information to the regional alliance chain.

[0014] In one embodiment, through a smart contract recognized by the brewing enterprise regional alliance network, process the brewing data information, and send the processed brewing data information to the regional alliance chain for consensus processing, and generate a target block and target ledger data corresponding to the target block, including:

[0015] Encrypt the brewing data information according to the preset algorithm in the smart contract to obtain the target data information of the brewing data information and the identification information corresponding to the target data information.

[0016] In one embodiment, the above-mentioned brewing data processing method based on the regional alliance chain further includes:

[0017] Receive a service query request sent by a target service request entity among at least one service request entity, where the service query request carries the identification information and a second timestamp information; at least one service request entity includes a brewing enterprise process monitoring module and a customer traceability module;

[0018] Query the target data information corresponding to the current identification information from the target ledger data on the regional alliance chain according to the identification information;

[0019] Decrypt the target data information according to the smart contract, and send the obtained brewing data information after decryption to the target service request entity.

[0020] In one embodiment, the above-mentioned brewing data processing method based on the regional alliance chain further includes:

[0021] Sort and classify the service query request according to the second timestamp information, and after packing the sorted and classified service query request, broadcast it to the regional alliance chain.

[0022] In one embodiment, the above-mentioned brewing data processing method based on a regional alliance chain further includes:

[0023] Receiving a service update request sent by a target service request entity among at least one service request entity, where the service update request carries brewing data information to be updated, identification information of the brewing data information to be updated, and third timestamp information;

[0024] When it is determined that the target service request entity has the update permission, an update operation is performed on the target data information in the target ledger data according to the identification information of the brewing data information to be updated.

[0025] In one embodiment, the above-mentioned brewing data processing method based on a regional alliance chain further includes:

[0026] Sorting and classifying the service update requests according to the third timestamp information, and broadcasting the sorted and classified service update requests to the regional alliance chain after packaging.

[0027] An embodiment of the present invention further provides a brewing data processing system based on a regional alliance chain, including:

[0028] A brewing data acquisition module for real-time acquisition of data in the brewing and distillation process;

[0029] A brewing enterprise regional alliance network module, which is communicatively connected to the brewing data acquisition module, processes the brewing data information through a smart contract recognized by the brewing enterprise regional alliance network, and sends the processed brewing data information to the regional alliance chain for consensus processing, and generates a target block and target ledger data corresponding to the target block.

[0030] An embodiment of the present invention further provides a computer-readable storage medium, in which a program is stored, and when the program is executed by a processor, the method described above is implemented.

[0031] The above solution of the present invention has at least the following beneficial effects:

[0032] The brewing data processing method and system based on a regional alliance chain provided by the above solution of the present invention, wherein the method comprises the following steps: receiving brewing data information of the brewing distillation link collected in real time by a brewing data collection module; the brewing data information carrying first timestamp information and the identification information of the brewing data collection module; processing the brewing data information through a smart contract recognized by a brewing enterprise regional alliance network, and sending the processed brewing data information to the regional alliance chain for consensus processing, and generating a target block and target ledger data corresponding to the target block. The solution provided by the above embodiment of the present invention ensures the authenticity and reliability of the preservation of brewing data through decentralized distributed storage, realizes the sharing of brewing data between different clients and the regional alliance chain, and at the same time provides reliable support for the automatic monitoring of the brewing process, and provides a strong guarantee for the credibility of the traceability result. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a flowchart of a brewing data processing method based on a regional alliance chain provided by an embodiment of the present invention;

[0034] Figure 2 is a schematic diagram of a regional alliance chain structure provided by an optional embodiment of the present invention;

[0035] Figure 3 is a block diagram structure of brewing data storage provided by an optional embodiment of the present invention;

[0036] Figure 4 is a processing flow block diagram of brewing data provided by an optional embodiment of the present invention;

[0037] Figure 5 is a module diagram of a brewing data processing system based on a regional alliance chain provided by an optional embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0038] Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be fully conveyed to those skilled in the art.

[0039] In the following description, certain specific details are set forth for the purpose of illustrating the various disclosed embodiments to provide a thorough understanding of the various disclosed embodiments. However, those skilled in the relevant art will recognize that the embodiments may be practiced without one or more of these specific details. In other cases, well-known devices, structures, and techniques associated with the present application may not be shown or described in detail to avoid unnecessarily obscuring the description of the embodiments.

[0040] References throughout the specification to "one embodiment" or "an embodiment" indicate that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any manner in one or more embodiments.

[0041] like Figure 1 As shown, an embodiment of the present invention provides a winemaking data processing method based on a regional alliance chain, comprising the following steps:

[0042] Step 11, receiving the brewing data collection module to collect brewing data information of the brewing distillation link in real time; the brewing data information carries the first timestamp information and the identification information of the brewing data collection module;

[0043] Step 12, the brewing data information is processed through the smart contract recognized by the brewing enterprise regional alliance network, and the processed brewing data information is sent to the regional alliance chain for consensus processing, and a target block and a target account data corresponding to the target block are generated.

[0044] In this embodiment, the wine brewing data collection module is composed of a ground pot data collection sensor, a wine steamer data collection sensor, a cooling device and a wine output data collection sensor, and is used to collect data from the distillation process in real time;

[0045] The regional alliance network of brewing enterprises is initiated by relevant enterprises in the brewing industry. The relevant enterprises in the brewing industry can be brewing manufacturers in the local area or a specific area. They establish cooperative relationships with different brewing enterprises with various business needs such as brewing data information monitoring and traceability, customers who purchase wine, and other business demand entities, and are used for cooperative execution or transaction confirmation in the shared regional alliance chain, such as sharing data, query, feedback, etc.

[0046] Each brewing enterprise node in the regional alliance chain represents a brewing enterprise in the regional alliance network. For each brewing enterprise node in the regional alliance chain, data required by different brewing enterprises or customers who purchase wine products is correspondingly stored; all the data in the regional alliance chain is consistent. When any brewing enterprise in the brewing enterprise regional alliance network has new shared data, the shared data can be broadcast to all brewing enterprise nodes in the regional alliance chain;

[0047] As Figure 2 shown, all brewing enterprise nodes in the regional alliance chain jointly maintain a multi-party recognized smart contract; this smart contract is a contract written in code form, which can be automatically executed in the regional alliance chain, and has the characteristics of decentralization and immutability. This smart contract can implement various functions, such as identity authentication, authorization, data viewing rules, etc.; for different business requirement entities, different smart contracts can be deployed in the regional alliance chain correspondingly; for different business requirement entities, they can all query, copy and other related operations on the brewing data in the regional alliance chain through the smart contract, thereby breaking the data isolation problem existing between different brewing enterprises; at the same time, based on the regional alliance chain, brewing data isolation can also be realized, thereby ensuring the security and reliability of brewing data.

[0048] When the brewing data acquisition module provides the acquired brewing data information, through the key provided by the regional alliance chain, an encryption signature operation is performed on the provided brewing data information and the identification information of the corresponding brewing data acquisition module, and a data storage transaction request is generated; when the regional alliance chain receives the data storage transaction request, it can process the brewing data information in the data storage transaction request through the smart contract, and obtain the target data information of the brewing data information. At the same time, the system will generate an identification information corresponding to the target data information to ensure the security of the brewing data information.

[0049] In an optional embodiment of the present invention, the above-mentioned brewing data processing method based on the regional alliance chain may further include:

[0050] Step 101, receiving a verification request sent by the brewing data acquisition module through the gateway, and the verification request carries the identification information of the brewing data acquisition module;

[0051] Step 102, receiving the encrypted brewing data information sent by the brewing data acquisition module, and the encrypted brewing data information is obtained by encrypting the pairing key in the pairing information after verifying the brewing data acquisition module according to the verification request and passing the verification;

[0052] Step 103, decrypting the encrypted brewing data information according to the pairing key to obtain the brewing data information before encryption processing.

[0053] In this embodiment, before the brewing data collection module collects brewing data information and sends it to the brewing enterprise regional alliance network, it will first pair with the gateway of the brewing enterprise regional alliance network, and establish an end-to-end SHA-256 algorithm verification encryption transmission after determining that the pairing is successful. The specific process is as follows:

[0054] Initialize the encryption key: During the pairing process between the brewing data collection module and the gateway of the brewing enterprise regional alliance network, a unique pairing key is generated; this pairing key will be used for subsequent encryption and decryption processes;

[0055] Node-by-node encryption: At the brewing data collection module side, the SHA-256 algorithm is used to encrypt the brewing data information. Specifically, the brewing data information is converted into a byte stream, and the SHA-256 algorithm is used to perform a hash operation on the byte stream to generate a 256-bit hash value; the hash value is combined with the pairing key, and a symmetric encryption algorithm (such as AES) is used to encrypt the brewing data information to obtain the encrypted brewing data information to ensure the security of data transmission;

[0056] Transmit the encrypted brewing data information: The encrypted brewing data information is transmitted to the gateway of the brewing enterprise regional alliance network. Since the data has been encrypted, even if it is intercepted during transmission, it is difficult for attackers to obtain the original data.

[0057] Decrypt and verify the encrypted brewing data information: After the gateway of the brewing enterprise regional alliance network receives the encrypted brewing data information, it uses the same pairing key and encryption algorithm for decryption. During the decryption process, the hash value generated by decryption is compared with the hash value generated by encryption; if the two hash values are the same, it means that the brewing data information has not been tampered with during transmission, the verification is passed and it is transmitted to the regional alliance chain; otherwise, the data is discarded. By performing pairing verification with the gateway of the brewing enterprise regional alliance network, the confidentiality and integrity of the brewing data information during transmission are ensured.

[0058] In an alternative embodiment of the present invention, the above-mentioned brewing data processing method based on the regional alliance chain may further include:

[0059] Step 111, sort and classify the brewing data information according to the first timestamp information;

[0060] Step 112, broadcast the sorted and classified brewing data information to the regional alliance chain.

[0061] In this embodiment, when the regional alliance network of brewing enterprises receives the brewing data information sent by the brewing data collection module, the business sorting service module in the regional alliance network of brewing enterprises will classify and sort the received brewing data information; specifically, classify according to the identification information carried in the brewing data information and confirm the annual brewing enterprises, and at the same time determine the sequence of transmission of the brewing data information according to the first timestamp information;

[0062] Further, the classified and sorted brewing data information is broadcast to the corresponding brewing enterprise nodes for subsequent encrypted storage and consensus processing; by sorting and classifying the brewing data information, the timeliness and accuracy of data transmission are ensured, and then the accuracy of subsequent data encrypted storage and consensus processing is ensured.

[0063] In an alternative embodiment of the present invention, step 12 above may include:

[0064] Step 121, encrypt the brewing data information according to the preset algorithm in the smart contract to obtain the target data information of the brewing data information and the identification information corresponding to the target data information.

[0065] In this embodiment, the preset algorithm may include a preset encryption algorithm. When encrypting the brewing data information in the data storage transaction request through the preset encryption algorithm in the smart contract, different preset encryption algorithms can be selected according to the requirements of different application scenarios; for each brewing data information, after being encrypted by the preset encryption algorithm, there is a unique target data information corresponding to it. In the smart contract, the original brewing data information can be replaced by the target data information to ensure the integrity and security of the brewing data information, and thus protect user privacy.

[0066] Here, encrypting the brewing data information through the smart contract to obtain the target data information of the brewing data information may include:

[0067] The brewing data information can also be encrypted by the smart contract in a node-by-node encryption manner using the SHA-256 algorithm (preset encryption algorithm) to ensure the security and integrity of the brewing data information during the transmission process;

[0068] Further, the identification information and the target data information can be sent to the corresponding brewing enterprise nodes in the regional alliance chain and consensus processing can be performed among other brewing enterprise nodes to ensure the security and reliability of the target data information; while performing consensus processing on the target data information and the identification information, a target block for storing the target data information and the identification information and target ledger data corresponding to the target block are generated; the data in the target ledger nodes corresponding to each brewing data is stored in the form of target blocks; here, as Figure 3 shown, the target block consists of two parts. The first part consists of a block hash, a block serial number, a data hash, and the identification information (enterprise ID) of the brewing enterprise; the second part consists of schema structure data formed by encrypting the data collected by the sensor node by node with sha256 after data processing; here, the second part of the schema structure data is formed by structurally disassembling the data in the brewing manufacturing process of each brewing enterprise, using the data volume as the schema vertex and the data relationship as the edge of the schema structure to form the block schema structure data in sequence.

[0069] Preferably, to perform consensus processing on the target data information, a preset consensus algorithm can be used. The preset consensus algorithm includes but is not limited to: the proof-of-work consensus algorithm, the delegated proof-of-stake consensus algorithm, etc. The target data information is processed through the preset consensus algorithm to ensure a consistent data state in the regional alliance chain and ensure data security.

[0070] Refer to Figure 4 , in an alternative embodiment of the present invention, the above-mentioned brewing data processing method based on the regional alliance chain further includes:

[0071] Step 21, receiving a service query request sent by a target service requestor among at least one service requestor. The service query request carries identification information and second timestamp information; the at least one service requestor includes a brewing enterprise process monitoring module and a customer traceability module;

[0072] Step 22, querying the target data information corresponding to the current identification information from the target ledger data on the regional alliance chain according to the identification information;

[0073] Step 23, decrypting the target data information according to the smart contract and sending the obtained brewing data information to the target service requestor.

[0074] In this embodiment, at least one service request entity includes a brewing enterprise process monitoring module and a customer traceability module. Here, both the brewing enterprise process monitoring module and the customer traceability module can send relevant service requests to the brewing enterprise regional alliance network through corresponding clients. For example, the brewing enterprise process monitoring module sends permissions such as querying, modifying, and copying brewing data through the brewing enterprise process monitoring client, and the brewing enterprise process monitoring client provides all brewing data monitoring services within the user permissions of the brewing enterprise. The customer traceability module sends permissions such as querying, submitting, and copying brewing data through the customer traceability client used by the users who purchase the products, connects to the brewing enterprise process monitoring client to provide traceability services, and the customer traceability client is communicatively connected to the brewing enterprise process monitoring client to provide traceability services. Preferably, the permissions of the brewing enterprise process monitoring client are managed by a monitoring smart contract jointly recognized by all brewing enterprise nodes in the regional alliance chain, and the permissions of the customer traceability client are managed by a traceability smart contract jointly recognized by all brewing enterprise nodes in the regional alliance chain to avoid the leakage of brewing data information.

[0075] When the brewing enterprise regional alliance network receives a service query request sent by a target service request entity among at least one service request entity, it can search in the target ledger data of the regional alliance chain according to the identification information corresponding to the target data information to be queried carried in the service query request, and search for the target data information in the target ledger data corresponding to the identification information corresponding to the target data information to be queried.

[0076] Since the target data information is obtained after being encrypted by a preset algorithm in the smart contract, at this time, the target data information is decrypted to obtain the decrypted brewing data information. It should be known that the structure of the preset decryption algorithm and the above preset encryption algorithm can be the same, and the decryption process is the inverse operation of the encryption process.

[0077] Preferably, here, when receiving the service query request, it may further include:

[0078] Step 211, sorting and classifying the service query request according to the second timestamp information, and broadcasting the sorted and classified service query request to the regional alliance chain after packaging. By classifying and sorting the service query request, the processing efficiency of the service query can be improved.

[0079] Refer to Figure 4 , in an alternative embodiment of the present invention, the above-mentioned brewing data processing method based on the regional alliance chain further includes:

[0080] Step 31: Receive a service update request sent by a target service request entity among at least one service request entity. The service update request carries the brewing data information to be updated, the identification information of the brewing data information to be updated, and the third timestamp information.

[0081] Step 31: When it is determined that the target service request entity has the update permission, perform an update operation on the target data information in the target ledger data according to the identification information of the brewing data information to be updated.

[0082] Preferably, here, when receiving the service update request, it may further include:

[0083] Step 311: Sort and classify the service update request according to the third timestamp information, and broadcast the sorted and classified service update request to the regional alliance chain after packaging. By classifying and sorting the service update request, the processing efficiency of service update can be improved.

[0084] When the brewing enterprise regional alliance network receives a service update request sent by a target service request entity among at least one service request entity, when it is determined that the target service request entity has the update permission, it can perform an update operation on the target data information in the target ledger data in the regional alliance chain according to the identification information of the brewing data information to be updated and the brewing data information to be updated in the update request, and then the updated target ledger data can be obtained, ensuring the real-time and accuracy of the regional alliance chain in sharing data; when updating the brewing data information, only the target data information will be updated, and the identification information corresponding to the target data information will not be updated.

[0085] It should be known that the update operation on the brewing data information should be performed by the brewing enterprise, and its corresponding update permission is managed by monitoring the smart contract; if the current brewing enterprise sending the data service update request is in the monitoring smart contract, the brewing data information can be updated, otherwise the update operation cannot be performed;

[0086] When updating the brewing data information, search for the target data information corresponding to the identification information that is the same as the identification information of the current brewing data information to be updated in the regional alliance chain according to the identification information of the brewing data information to be updated; at this time, the brewing data information to be updated can be encrypted to obtain the corresponding updated target data information, and the found target data information is directly replaced with the updated target data information.

[0087] Such as Figure 5As shown in the figure, an embodiment of the present invention further provides a brewing data processing system based on a regional alliance chain, including a brewing data collection module and a brewing enterprise regional alliance network module communicatively connected to the brewing data collection module. Among them, the brewing data collection module is used to collect the data of the brewing distillation link in real time; the brewing enterprise regional alliance network module includes a service sorting module and a regional alliance chain. The brewing enterprise regional alliance network module processes the brewing data information through a smart contract recognized by the brewing enterprise regional alliance network, and sends the processed brewing data information to the regional alliance chain for consensus processing, and generates a target block and target ledger data corresponding to the target block.

[0088] The brewing data processing system based on the regional alliance chain provided in this embodiment is mainly applied to the brewing data processing method based on the regional alliance chain described in any one of the above embodiments;

[0089] Here, the brewing enterprise node n in the regional alliance chain consists of an information broadcasting node and multiple brewing data ledger nodes (that is, the target ledger data). The data in the multiple brewing data ledger nodes constitutes the data of the entire production process of the brewing enterprise; at the same time, the brewing enterprise nodes in the regional alliance chain are composed of the mappings of brewing enterprises distributed in different regions in the alliance network, and each node ledger is jointly managed by a traceability smart contract and a monitoring smart contract; and the traceability smart contract and the monitoring smart contract form the smart contract of the regional alliance chain, which has the ability to automatically execute all day long and runs automatically when storing, querying, updating, and replicating brewing data.

[0090] Preferably, the system further includes a client, more specifically including a brewing enterprise process monitoring client and a customer traceability client; among them, the brewing enterprise monitors the brewing data of each link in the production process through the brewing enterprise process monitoring client; the customer who purchases the product traces the brewing data of each link in the production of the purchased wine product through the customer traceability client; here, the permissions of the brewing enterprise process monitoring client are managed by the monitoring smart contract, which manages the querying, modifying, replicating and other permissions of the brewing enterprise process monitoring client, and provides all brewing data monitoring services within the permissions of the brewing enterprise; the permissions of the customer traceability client are managed by the traceability smart contract, which manages the querying, submitting, replicating and other permissions of the customer who purchases the product. At the same time, the customer traceability client is communicatively connected to the brewing enterprise process monitoring client to provide traceability services through the brewing enterprise process monitoring client.

[0091] When the brewing enterprise regional alliance network module receives the brewing data information sent by the brewing data collection module, it can process the brewing data information through the smart contract, and send the processed brewing data information to the regional alliance chain for consensus processing, and generate a target block and target ledger data corresponding to the target block, thereby realizing various operations such as sharing, querying, and updating of brewing data.

[0092] The brewing data processing method and system based on a regional alliance chain provided by the above embodiments of the present invention fuse blockchain technology, which ensures the security of brewing data, to solve the security problems in the data collection, transmission, and storage links during the brewing production process, and provide all-weather automated monitoring and key factor search services for wine quality for brewing enterprises. Thus, brewing enterprises can, while stabilizing the quality of existing products, quickly trace the key influencing factors of wine quality, and improve wine quality by optimizing this link, increasing the competitiveness of products in the market. At the same time, for users who purchase products, they can quickly trace the brewing data of each link in the product production through the customer traceability client to enhance the after-sales experience for users.

[0093] The embodiments of the present invention also provide a computer-readable storage medium storing instructions that, when run on a computer, cause the computer to execute the method described above. All implementation manners in the above method embodiments are applicable to this embodiment and can achieve the same technical effects.

[0094] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0095] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0096] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings, direct couplings, or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.

[0097] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or distributed over multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0098] In addition, in each embodiment of the present invention, each functional unit may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0099] If the described function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs that can store program codes.

[0100] In addition, it should be noted that in the apparatus and method of the present invention, obviously, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent solutions of the present invention. And, the steps of performing the above series of processes can naturally be executed in chronological order according to the described order, but it is not necessary to execute them in chronological order. Some steps can be executed in parallel or independently of each other. For those of ordinary skill in the art, it is possible to understand that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including a processor, a storage medium, etc.) or a network of computing devices in the form of hardware, firmware, software, or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.

[0101] Accordingly, the object of the present invention can also be achieved by running a program or a set of programs on any computing device. The computing device may be a well-known general-purpose device. Therefore, the object of the present invention can also be achieved only by providing a program product containing program code for implementing the method or device. That is to say, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium may be any well-known storage medium or any storage medium developed in the future. It should also be noted that in the device and method of the present invention, obviously, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent solutions of the present invention. And, the steps of performing the above series of processes can naturally be executed in chronological order according to the described order, but it is not necessary to execute them in chronological order. Some steps can be executed in parallel or independently of each other.

[0102] The above are the preferred embodiments of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications should also be regarded as the protection scope of the present invention.

Claims

1. A brewing data processing method based on a regional alliance chain, characterized in that It includes the following steps: Receiving brewing data information collected in real time by the brewing data collection module during the brewing and distillation process; the brewing data information carries the first timestamp information and the identification information of the brewing data collection module; Processing the brewing data information through a smart contract recognized by the brewing enterprise regional alliance network, and sending the processed brewing data information to the regional alliance chain for consensus processing, and generating a target block and target ledger data corresponding to the target block.

2. The brewing data processing method based on a regional alliance chain according to claim 1, wherein It also includes: Receiving a verification request sent by the brewing data collection module through the gateway, the verification request carrying the identification information of the brewing data collection module; Receiving the encrypted brewing data information sent by the brewing data collection module, which is obtained by encrypting the pairing key in the pairing information after verifying the brewing data collection module according to the verification request and passing the verification; Decrypting the encrypted brewing data information according to the pairing key to obtain the brewing data information before encryption processing.

3. The brewing data processing method based on a regional alliance chain according to claim 1, characterized in that It also includes: Sorting and classifying the brewing data information according to the first timestamp information; Broadcasting the sorted and classified brewing data information to the regional alliance chain.

4. The brewing data processing method based on a regional alliance chain according to claim 1, wherein, Processing the brewing data information through a smart contract recognized by the brewing enterprise regional alliance network, and sending the processed brewing data information to the regional alliance chain for consensus processing, and generating a target block and target ledger data corresponding to the target block, including: Encrypting the brewing data information according to the preset algorithm in the smart contract to obtain the target data information of the brewing data information and the identification information corresponding to the target data information.

5. The brewing data processing method based on a regional alliance chain according to claim 1, characterized in that It also includes: Receiving a service query request sent by a target service request entity among at least one service request entity, the service query request carrying the identification information and the second timestamp information; at least one service request entity includes a brewing enterprise process monitoring module and a customer traceability module; Querying the target data information corresponding to the current identification information from the target ledger data on the regional alliance chain according to the identification information; Decrypting the target data information according to the smart contract, and sending the obtained brewing data information after decryption to the target service request entity.

6. The brewing data processing method based on a regional alliance chain according to claim 5, wherein It also includes: Sorting and classifying the service query request according to the second timestamp information, and broadcasting the sorted and classified service query request to the regional alliance chain after packaging.

7. The brewing data processing method based on a regional alliance chain according to claim 1, wherein It also includes: Receiving a service update request sent by a target service request entity among at least one service request entity, the service update request carrying the brewing data information to be updated, the identification information of the brewing data information to be updated, and the third timestamp information; When it is determined that the target service request entity has the update permission, performing an update operation on the target data information in the target ledger data according to the identification information of the brewing data information to be updated.

8. The brewing data processing method based on a regional alliance chain according to claim 7, characterized in that, It also includes: Sort and classify the service update requests according to the third timestamp information, and broadcast the service update requests after sorting and classification to the regional alliance chain after packaging.

9. A brewing data processing system based on a regional alliance chain, characterized in that, Including: A brewing data collection module for real-time collection of data in the brewing and distillation process; A brewing enterprise regional alliance network module, which is communicatively connected to the brewing data collection module, processes the brewing data information through a smart contract recognized by the brewing enterprise regional alliance network, and sends the processed brewing data information to the regional alliance chain for consensus processing, and generates a target block and target ledger data corresponding to the target block.

10. A computer-readable storage medium, characterized in that, A program is stored in the computer-readable storage medium, and when the program is executed by a processor, the method described in any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Block chain node data processing method and device and storage medium

    CN109003099A

  • Alcohol product quality tracing method and device based on block chain, and medium

    CN110930170A

  • Wine product full-life-process tracing supervision method and system based on block chain

    CN112287025A

  • Traceability management system for wine industry supply chain based on block chain

    CN112330345A

  • Data processing method and system based on block chain

    CN116881949A