Personalized traceability service method and system for agricultural products based on big data
Through big data technology, the encrypted ID information, parse permissions and predict traceability factors are received in the agricultural product traceability system, the traceability results are optimized and the transmission is encrypted, which solves the problems of low user demand combination and poor authority control accuracy in the existing technology, and improves agricultural products The real-time and security of traceability services enhance the user experience.
Patent Information
- Application Number
- CN202411462759.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-19
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2044-10-19
AI Technical Summary
The existing agricultural product traceability system lacks real-time and personalized analysis capabilities, has low user demand integration and poor authority control accuracy, resulting in slow update of information and insufficient security, making it difficult to meet consumers' high requirements for product safety and quality.
Based on big data, personalized traceability service methods and systems for agricultural products can be received through the agricultural product traceability service cloud platform, analyses user permissions, and predicts dual-channel predicted traceability factors based on traceability characteristics, optimizes traceability results, and encrypts the transmission to enhance user needs. degree and authority control accuracy.
It has achieved real-time and security improvements in agricultural product traceability services, enhanced user experience satisfaction, optimized the traceability service effect, and ensured data security and privacy protection.
Smart Images

Figure CN118967176B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method and system for providing personalized agricultural product traceability services based on big data. Background Art
[0002] The agricultural product traceability system is a system that uses technical means to track and record each link of agricultural products from production to consumption. It aims to provide transparent information on agricultural products throughout the entire process and ensure product safety and quality.
[0003] At present, the existing agricultural product traceability systems usually rely on traditional databases and static recording methods, lacking real-time and personalized analysis capabilities, resulting in slow and incomplete information updates, making it difficult to meet consumers' high requirements for product safety and quality. In addition, these systems have obvious deficiencies in data security and privacy protection, are prone to the risk of information leakage and tampering, and lack effective permission management mechanisms, resulting in inadequate protection of sensitive data. These shortcomings limit the application effect and user experience of the traceability system, and there is an urgent need for a more intelligent, secure, and real-time traceability service solution.
[0004] In summary, the existing technology of agricultural product traceability service has low integration with user needs and poor accuracy of user authority management, which leads to technical problems such as poor effect of agricultural product traceability service. Summary of the invention
[0005] The purpose of this application is to provide a personalized agricultural product traceability service method and system based on big data, so as to solve the technical problems in the prior art of agricultural product traceability service, such as low user demand integration and poor user authority management accuracy, which lead to poor agricultural product traceability service effect.
[0006] In view of the above problems, the present application provides a personalized agricultural product traceability service method and system based on big data.
[0007] In a first aspect, the present application provides a personalized agricultural product traceability service method based on big data, which is implemented through a personalized agricultural product traceability service system based on big data, including: based on an agricultural product traceability service cloud platform, receiving an agricultural product traceability request instruction sent by a target user through a target device, wherein the agricultural product traceability request instruction includes agricultural product encrypted ID information; obtaining the user encrypted ID information of the target user, combining the device encrypted ID information of the target device, performing agricultural product traceability authority parsing on the target user according to the agricultural product traceability service cloud platform, and obtaining user traceability authority; decrypting the agricultural product encrypted ID information to obtain agricultural product ID information, combining the traceability feature prediction dual channel in the agricultural product traceability service cloud platform, and predicting the agricultural product traceability factor of the target user; based on the agricultural product ID information and the agricultural product traceability factor, obtaining a first agricultural product traceability result according to the agricultural product traceability service cloud platform; performing authority-sensitive optimization on the first agricultural product traceability result based on the user traceability authority to obtain a second agricultural product traceability result; based on the agricultural product traceability service cloud platform and the target device, encrypting the second agricultural product traceability result and sending it to the target user.
[0008] In the second aspect, the present application also provides a personalized agricultural product traceability service system based on big data, which is used to execute the personalized agricultural product traceability service method based on big data as described in the first aspect, including: a receiving instruction module, the receiving instruction module is used to receive the agricultural product traceability request instruction sent by the target user through the target device based on the agricultural product traceability service cloud platform, wherein the agricultural product traceability request instruction includes the agricultural product encrypted ID information; an authority acquisition module, the authority acquisition module is used to obtain the user encrypted ID information of the target user, and in combination with the device encrypted ID information of the target device, perform agricultural product traceability authority analysis on the target user according to the agricultural product traceability service cloud platform to obtain the user traceability authority; a traceability prediction module, the traceability prediction module is used to The invention relates to a method for decrypting the encrypted ID information of the agricultural product to obtain the ID information of the agricultural product, combining the traceability feature prediction dual channel in the agricultural product traceability service cloud platform to predict the agricultural product traceability factor of the target user; a traceability acquisition module, which is used to obtain a first agricultural product traceability result based on the agricultural product ID information and the agricultural product traceability factor according to the agricultural product traceability service cloud platform; a sensitive optimization module, which is used to perform permission-sensitive optimization on the first agricultural product traceability result based on the user traceability authority to obtain a second agricultural product traceability result; an encrypted sending module, which is used to encrypt and send the second agricultural product traceability result to the target user based on the agricultural product traceability service cloud platform and the target device.
[0009] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0010] Based on the agricultural product traceability service cloud platform, an agricultural product traceability request instruction sent by a target user through a target device is received, wherein the agricultural product traceability request instruction includes agricultural product encrypted ID information; the user encrypted ID information of the target user is obtained, and combined with the device encrypted ID information of the target device, the agricultural product traceability authority of the target user is parsed according to the agricultural product traceability service cloud platform to obtain the user traceability authority; the agricultural product encrypted ID information is decrypted to obtain the agricultural product ID information, and the agricultural product traceability factor of the target user is predicted in combination with the traceability feature prediction dual channel in the agricultural product traceability service cloud platform; based on the agricultural product ID information and the agricultural product traceability factor, a first agricultural product traceability result is obtained according to the agricultural product traceability service cloud platform; based on the user traceability authority, the first agricultural product traceability result is optimized with authority sensitivity to obtain a second agricultural product traceability result; based on the agricultural product traceability service cloud platform and the target device, the second agricultural product traceability result is encrypted and sent to the target user, so as to achieve the technical goals of improving the integration degree of user needs and improving the accuracy of authority management and control, and achieve the technical effects of optimizing the agricultural product traceability service effect and enhancing user experience satisfaction.
[0011] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented according to the contents of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are specifically cited below. It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0013] Figure 1 This is a flowchart of the personalized agricultural product traceability service method based on big data in this application;
[0014] Figure 2 This is a structural diagram of the personalized agricultural product traceability service system based on big data in this application.
[0015] Description of reference numerals:
[0016] Instruction receiving module 11, permission acquisition module 12, source tracing prediction module 13, source tracing acquisition module 14, sensitive optimization module 15, encryption sending module 16. DETAILED DESCRIPTION
[0017] This application solves the technical problems of low user demand integration and poor user authority control accuracy in the prior art agricultural product traceability services by providing a personalized agricultural product traceability service method and system based on big data. It achieves the technical goals of improving user demand integration and authority control accuracy, and achieves the technical effects of optimizing agricultural product traceability service effects and enhancing user experience satisfaction.
[0018] Below, the technical solutions in the present application will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments of the present application. It should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application. It should also be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, rather than all of them.
[0019] For example, please refer to the attached Figure 1 This application provides a personalized agricultural product traceability service method based on big data, which is applied to a personalized agricultural product traceability service system based on big data, specifically including:
[0020] Step 1: Based on the agricultural product traceability service cloud platform, receive the agricultural product traceability request instruction sent by the target user through the target device, wherein the agricultural product traceability request instruction includes the agricultural product encrypted ID information.
[0021] Specifically, the agricultural product traceability service cloud platform refers to a platform for obtaining agricultural product information. Target users refer to users who need personalized traceability of agricultural product information. The agricultural product traceability service cloud platform receives agricultural product traceability request instructions from target users, and the agricultural product traceability request instructions are sent through the target device. The target device refers to the device to which the instruction is to be sent. For example, the target device includes the target user's mobile phone, computer or other smart device. The agricultural product traceability request instruction contains the agricultural product encrypted ID information to ensure the security and uniqueness of the information. The agricultural product encrypted ID information refers to the name of the agricultural product and the number of the agricultural product. In this way, the agricultural product traceability service cloud platform can effectively process and feedback the agricultural product traceability information required by the target user, so that the target user can obtain the whole process record of the agricultural product from production to sales.
[0022] Step 2: Obtain the encrypted user ID information of the target user, combine it with the encrypted device ID information of the target device, perform agricultural product traceability authority analysis on the target user according to the agricultural product traceability service cloud platform, and obtain user traceability authority.
[0023] Specifically, the user encrypted ID information of the target user is obtained. The encrypted ID information is the unique identifier of the user in the system and is encrypted to ensure security and privacy. Combined with the device encrypted ID information of the target device, the device encrypted ID information is the unique identifier of the device and is also encrypted to ensure the security and reliability of the device. The user encrypted ID information and the device encrypted ID information are combined to form an authentication data packet. The agricultural product traceability service cloud platform will parse the authentication data packet, that is, parse the agricultural product traceability authority of the target user, verify and check the identity information of the user and the device to ensure the legitimacy and authenticity of the user and the device. For example, query the user's historical operation records, role permissions, device usage and other factors to determine the user's authority level. The user traceability authority is obtained through parsing. The user traceability authority defines the scope and depth of the agricultural product traceability data that the user can access in the system. The determination of traceability authority not only ensures the security of the system, but also ensures the rationality and compliance of information access. After obtaining the corresponding authority, users can query the production, processing, transportation and other detailed information of the agricultural products they are authorized to access, so as to achieve tracking and understanding of the entire life cycle of agricultural products and ensure product quality and safety. This method improves the security of the system and the user's trust in the traceability service through strict permission management.
[0024] Step three: decrypt the encrypted ID information of the agricultural product to obtain the agricultural product ID information, combine the traceability characteristics in the agricultural product traceability service cloud platform to predict the dual channel, and predict the agricultural product traceability factor of the target user.
[0025] Specifically, the encrypted ID information of agricultural products is decrypted to obtain the actual ID information of agricultural products. The encrypted ID information of agricultural products is the data after the agricultural products are uniquely identified and encrypted. The original ID information of agricultural products is restored through the decryption process, which ensures the security and uniqueness of the data and provides basic data for subsequent traceability operations. Combined with the traceability feature prediction dual channel in the agricultural product traceability service cloud platform, the agricultural product traceability factor of the target user is predicted. The traceability feature prediction dual channel consists of two channels, which use different data sources and analysis methods to predict the traceability features. The first channel may be mainly based on the attribute characteristics of agricultural products and basic user information, and the second channel may be combined with the user's health monitoring information. Through the comprehensive analysis of these two channels, a more accurate and comprehensive agricultural product traceability factor is generated.
[0026] Step 4: Based on the agricultural product ID information and the agricultural product traceability factor, a first agricultural product traceability result is obtained according to the agricultural product traceability service cloud platform.
[0027] Specifically, agricultural product ID information and traceability factors are the basic data for generating traceability results. Through the agricultural product traceability service cloud platform, the basic data is retrieved and processed to generate preliminary traceability results. The preliminary traceability results include information such as the production process, processing details, and transportation routes of agricultural products, helping users to fully understand the source and quality of agricultural products, ensuring the accuracy and reliability of traceability data, and enabling users to obtain detailed agricultural product traceability information, thereby enhancing trust in products and the scientific nature of purchasing decisions.
[0028] Step 5: Perform permission-sensitive optimization on the first agricultural product traceability result based on the user's traceability authority to obtain a second agricultural product traceability result.
[0029] Specifically, the user's traceability authority is checked, and sensitive information is processed and optimized for the first agricultural product traceability result based on the authority. If the user's authority is insufficient to access certain sensitive data, the data is obfuscated or replaced to obtain the second agricultural product traceability result to ensure that users can only see the information they are authorized to view, ensuring data security and the correct application of user authority.
[0030] Step six: Based on the agricultural product traceability service cloud platform and the target device, encrypt the second agricultural product traceability result and send it to the target user.
[0031] Specifically, the second agricultural product traceability result that has been optimized for permission sensitivity is encrypted to protect the security of data during transmission and prevent information from being stolen or tampered with. The encrypted traceability result is securely sent to the user's target device through the agricultural product traceability service cloud platform. After receiving the encrypted traceability result, the user can decrypt and view the detailed information to understand the complete traceability data of the agricultural products they purchased or paid attention to.
[0032] The method for personalized agricultural product traceability service based on big data is applied to the personalized agricultural product traceability service system based on big data, which can achieve the technical goals of improving the integration of user needs and improving the accuracy of authority management and control, and achieve the technical effects of optimizing the agricultural product traceability service effect and enhancing user experience satisfaction.
[0033] Furthermore, the present application also includes:
[0034] Decrypt the user encrypted ID information and the device encrypted ID information to obtain user ID information and device ID information; generate a user device binding relationship based on the user ID information and the device ID information; input the user device binding relationship into the user device authentication network of the agricultural product traceability service cloud platform to obtain a user device authentication result; when the user device authentication result is passed, input the user ID information into the agricultural product traceability authority management model of the agricultural product traceability service cloud platform to generate the user traceability authority.
[0035] Specifically, the encrypted user ID information and the encrypted device ID information are decrypted, and then the original user ID information and the device ID information are extracted from the encrypted state. The encrypted user ID information is the unique identity of the target user in the system, and is encrypted to ensure security. Similarly, the encrypted device ID information is the unique identifier of the target device, and is also encrypted. The decryption process generally involves the use of a corresponding decryption key or algorithm to ensure the accuracy and security of the information. The original user ID information and the device ID information can be extracted from the encrypted state through decryption. The user ID information identifies the specific user, and the device ID information identifies the specific device.
[0036] Next, based on the decrypted user ID information and device ID information, a user-device binding relationship is generated to associate the target user with the device used by the target user, ensuring that each target user's device can uniquely identify the specific user.
[0037] Then, the generated user device binding relationship is input into the user device authentication network of the agricultural product traceability service cloud platform. The function of the user device authentication network is to verify whether the user device binding relationship between the target user and the target device is true and valid. Through authentication, it is determined whether the target user is actually using the registered target device to operate, and a user device authentication result is generated.
[0038] Next, if the user device authentication result is passed, it means that the binding relationship between the target user and the target device has been verified. The user ID information is input into the agricultural product traceability permission management model of the agricultural product traceability service cloud platform. According to the user's identity information, the user's permission level in the system is determined, and specific user traceability permissions are generated. The agricultural product traceability permission management model is a model used to manage and control the user's access rights to agricultural product traceability information.
[0039] By ensuring that only verified users and devices can access the traceability information of agricultural products, the user's traceability permissions are precisely controlled, ensuring that users can only view the traceability data within their authority. This not only improves the security and reliability of the system, but also prevents unauthorized access and protects the integrity and confidentiality of agricultural product traceability information. Users can then safely and reliably obtain the agricultural product traceability information they need, thereby understanding detailed information on each link of the product's production, processing, transportation, and so on.
[0040] Furthermore, the present application also includes:
[0041] Construct the traceability feature prediction dual channel, wherein the traceability feature prediction dual channel includes a traceability feature prediction first channel and a traceability feature prediction second channel; based on the agricultural product traceability service cloud platform, retrieve the basic user information and user health monitoring information of the target user; perform attribute feature identification according to the agricultural product ID information to obtain the agricultural product attribute feature; based on the agricultural product attribute feature and the user basic information, predict the first channel according to the traceability feature to obtain a first traceability feature prediction result; based on the agricultural product attribute feature and the user health monitoring information, predict the second channel according to the traceability feature to obtain a second traceability feature prediction result; and fuse the first traceability feature prediction result and the second traceability feature prediction result to obtain the agricultural product traceability factor.
[0042] Specifically, a dual channel for tracing feature prediction is constructed. The dual channel for tracing feature prediction is used to predict the agricultural product traceability indicators that the target user is interested in. The dual channel for tracing feature prediction includes a first channel for tracing feature prediction and a second channel for tracing feature prediction, and each channel is responsible for processing different types of data to provide comprehensive traceability analysis.
[0043] First, based on the agricultural product traceability service cloud platform, retrieve the target user's basic user information and user health monitoring information. User basic information includes basic information such as age, gender, and place of residence, while health monitoring information covers dynamic data such as the user's health status and eating habits. Obtaining and retrieving the target user's basic user information and user health monitoring information can better match and analyze the relationship between users and agricultural products. Among them, consumers of different age groups, genders, and occupations have different concerns about agricultural product traceability information. For example, young people may pay more attention to organic and environmental protection information, while housewives may pay more attention to food safety and nutritional content. And consumers with health problems, such as allergic constitutions or chronic disease patients, may need specific traceability information, such as pesticide residues or the use of chemical additives in the production process.
[0044] Next, attribute characteristics are identified based on the agricultural product ID information. By analyzing the ID of the agricultural product, the specific attribute characteristics of the agricultural product are extracted, such as type, production place, nutritional ingredients, etc. The attribute characteristics of agricultural products are important basic data for traceability prediction.
[0045] Then, in the first channel of traceability feature prediction, analysis is performed based on the agricultural product attribute characteristics and user basic information. Through model calculation and data matching, the first traceability feature prediction result can be obtained, revealing the potential matching degree and suitability between the user and the agricultural product, and providing a reference for the user to choose the appropriate agricultural product.
[0046] At the same time, in the second channel of traceability feature prediction, the attribute characteristics of agricultural products and user health monitoring information are used for analysis, focusing on the relationship between the user's health needs and the health benefits of agricultural products, and obtaining the second traceability feature prediction results, which helps users understand whether the agricultural products meet their health needs and whether they can provide specific health benefits.
[0047] Finally, the prediction results of the first traceability feature and the second traceability feature are integrated to form a comprehensive agricultural product traceability factor, which is a comprehensive evaluation result of the matching degree and health suitability of agricultural products to users. Through fusion analysis, users can obtain more comprehensive and accurate traceability information, so as to make more informed agricultural product choices.
[0048] The dual-channel prediction model not only improves the accuracy and reliability of traceability analysis, but also enables users to understand the characteristics of agricultural products and their impact on their own health in a more personalized way, thereby improving the overall quality and user experience of agricultural product traceability services.
[0049] Furthermore, the present application also includes:
[0050] Based on the agricultural product traceability service cloud platform, a first agricultural product traceability record set is retrieved, wherein the first agricultural product traceability record set includes an agricultural product attribute feature sample set, a user basic information sample set and an agricultural product traceability indicator sample set; a traceability feature learning population is activated, wherein the traceability feature learning population includes a plurality of traceability feature learning seeds; based on the first agricultural product traceability record set, supervised learning is performed on the traceability feature learning population to obtain a plurality of traceability feature prediction first models that meet the traceability feature prediction accuracy constraint; meta-model training is performed based on the plurality of traceability feature prediction first models to generate the traceability feature prediction first channel; based on the agricultural product traceability service cloud platform and the traceability feature prediction accuracy constraint, the traceability feature prediction second channel is constructed according to the traceability feature learning population; the traceability feature prediction first channel and the traceability feature prediction second channel are connected to generate the traceability feature prediction dual channel.
[0051] Specifically, the first agricultural product traceability record set is retrieved through the agricultural product traceability service cloud platform. The first agricultural product traceability record set includes an agricultural product attribute feature sample set, a user basic information sample set, and an agricultural product traceability indicator sample set. The agricultural product attribute feature sample set contains various attribute information of agricultural products, such as type, origin, production process, etc. The user basic information sample set includes the user's basic information, such as age, gender, place of residence, etc. The agricultural product traceability indicator sample set records the traceability indicator data related to agricultural products, such as quality inspection results, logistics information, etc.
[0052] Next, activate the traceability feature learning population. The traceability feature learning population consists of multiple traceability feature learning seeds, each of which represents an initial learning model that is ready to be trained on a specific data set. For example, a variety of different machine learning models include decision trees, support vector machines, random forests, neural networks, etc. Based on the first agricultural product traceability record set, supervised learning is performed on the traceability feature learning population. Supervised learning is a machine learning method that uses labeled data to train models. The traceability feature learning population continuously optimizes and adjusts the model parameters by learning these labeled data, and finally obtains multiple traceability feature prediction first models that meet the traceability feature prediction accuracy constraints, ensuring the high accuracy and reliability of the model in traceability prediction.
[0053] Then, after obtaining multiple high-precision traceability feature prediction first models, meta-model training is performed based on the multiple traceability feature prediction first models. Meta-model training is to integrate the prediction results of multiple basic models to generate a more powerful prediction model. The first channel of traceability feature prediction is generated through meta-model training, which can efficiently and accurately predict traceability features.
[0054] Then, based on the agricultural product traceability service cloud platform and the traceability feature prediction accuracy constraint, the traceability feature learning population was used to further construct the second channel for traceability feature prediction. The construction of the second channel is similar to the first channel, but it may be optimized and adjusted for different data features and application scenarios to ensure comprehensive traceability prediction capabilities.
[0055] Next, the first and second channels of traceability feature prediction are connected to generate a dual channel of traceability feature prediction. The dual channel of traceability feature prediction combines the advantages of the first and second channels of traceability feature prediction, providing a more comprehensive and accurate traceability feature prediction service.
[0056] Through the dual channels of traceability feature prediction, users can obtain more detailed and accurate agricultural product traceability information, thereby improving the overall quality of traceability services and user experience.
[0057] Furthermore, the present application also includes:
[0058] Activate the agricultural product traceability data distribution module in the agricultural product traceability service cloud platform; match the corresponding agricultural product traceability data block based on the agricultural product ID information and according to the agricultural product traceability data distribution module; obtain the initial agricultural product traceability result based on the agricultural product traceability factor and according to the corresponding agricultural product traceability data block; construct an agricultural product traceability output template based on the agricultural product ID information and the agricultural product traceability factor; perform data integration on the initial agricultural product traceability result according to the agricultural product traceability output template to generate the first agricultural product traceability result.
[0059] Specifically, activate the agricultural product traceability data distribution module in the agricultural product traceability service cloud platform. The agricultural product traceability data distribution module is a key component in the agricultural product traceability service cloud platform, responsible for managing and distributing all agricultural product traceability data. By activating the agricultural product traceability data distribution module, efficient retrieval and processing of traceability data is ensured.
[0060] Next, based on the agricultural product ID information, the agricultural product traceability data distribution module is used to match the corresponding agricultural product traceability data block. The agricultural product ID information is the unique identifier of each agricultural product. Through this identifier, all relevant data blocks of the agricultural product can be accurately found, that is, detailed information on each link from production, processing to transportation contained in the agricultural product traceability data block can be obtained.
[0061] Then, based on the agricultural product traceability factor, the detailed information from production, processing to transportation in the matched agricultural product traceability data block is traced and analyzed to obtain the initial agricultural product traceability result. The agricultural product traceability factor is a comprehensive evaluation result generated by the dual-channel prediction model, which contains various information that users are concerned about. The initial agricultural product traceability result refers to the initial node from production, processing to transportation.
[0062] Next, based on the agricultural product ID information and agricultural product traceability factors, the agricultural product traceability output template is constructed. The agricultural product traceability output template is a predefined format used to standardize and organize the output of traceability data. Different data fields and display methods are defined according to the agricultural product ID information and agricultural product traceability factors in different agricultural products to ensure that the output results are clear and easy to read.
[0063] Finally, according to the agricultural product traceability output template, the initial agricultural product traceability results are integrated. The integration process includes steps such as data screening, formatting, and typesetting to ensure that all relevant information can be presented in accordance with the requirements of the template. After the integration is completed, the first agricultural product traceability result is generated. The first agricultural product traceability result is the traceability information that the user finally sees, which contains the entire process record from agricultural product production to the user's hands.
[0064] By efficiently and accurately generating agricultural product traceability results, providing users with comprehensive traceability information, and enhancing users' trust in the quality and safety of agricultural products, it not only helps consumers make more informed purchasing decisions, but also enhances the transparency and traceability of agricultural product production and supply chains.
[0065] Furthermore, the present application also includes:
[0066] Perform authority analysis based on the first agricultural product traceability result to obtain multiple traceability parameter authority requirement characteristic information; traverse the multiple traceability parameter authority requirement characteristic information to extract the first traceability parameter authority requirement characteristic information; determine whether the user traceability authority meets the first traceability parameter authority requirement characteristic information; if the user traceability authority does not meet the first traceability parameter authority requirement characteristic information, generate a first sensitive authority traceability parameter; perform sensitive compensation based on the first sensitive authority traceability parameter to obtain a first compensation traceability parameter; optimize the first agricultural product traceability result based on the first compensation traceability parameter to generate the second agricultural product traceability result.
[0067] Specifically, the permission analysis is performed on the initially generated first agricultural product traceability result to determine the permission requirement characteristics of different traceability parameters and obtain multiple traceability parameter permission requirement characteristic information. The multiple traceability parameter permission requirement characteristic information includes the access permission requirements and security level of each traceability parameter, so that permission control and data management can be performed according to the traceability parameter permission requirement characteristic information in subsequent steps.
[0068] Then, multiple traceability parameter permission requirement characteristic information are accessed in turn, and the first traceability parameter permission requirement characteristic information is randomly extracted to ensure that each traceability parameter permission requirement characteristic information is analyzed one by one, focusing on the characteristic information currently being processed, so as to perform accurate permission judgment and control.
[0069] Next, determine whether the user's traceability authority meets the first traceability parameter authority requirement characteristic information, and check whether the user's traceability authority meets the first traceability parameter authority requirement characteristic information. If the user's authority is sufficient, the user can access the detailed information of the traceability parameter; if the authority is insufficient, further measures need to be taken to ensure that only authorized users can access sensitive or high-level traceability data. If the user's traceability authority does not meet the first traceability parameter authority requirement characteristic information, generate a first sensitive authority traceability parameter. When the user's authority is insufficient, the first sensitive authority traceability parameter is generated, marking the sensitive data that the user cannot directly access, and then marking and classifying the sensitive data, preparing for subsequent compensation and optimization operations.
[0070] Next, sensitive compensation is performed according to the first sensitive permission traceability parameter to obtain the first compensation traceability parameter. The marked sensitive permission traceability parameter is compensated to generate the first compensation traceability parameter. The compensation process may involve data obfuscation, substitution or other processing methods to ensure that users can still obtain useful information when their permissions are insufficient, and to ensure that users can obtain as complete traceability data as possible when their permissions are limited.
[0071] Then, the first agricultural product traceability result is optimized according to the first compensation traceability parameter to generate the second agricultural product traceability result. Finally, based on the first compensation traceability parameter, the initially generated agricultural product traceability result is optimized to generate the second agricultural product traceability result. The optimized traceability result not only contains the original data, but also combines the compensated sensitive data to provide users with more comprehensive and detailed traceability information.
[0072] By traversing and extracting permission requirement feature information, judging user permissions and making sensitive compensation, we ultimately generate optimized agricultural product traceability results to ensure that users can obtain the most complete and detailed traceability information possible with restricted permissions, thereby improving user experience and data security.
[0073] Furthermore, the present application also includes:
[0074] Obtain traceability feedback information of the target user; perform traceability demand feature analysis based on the traceability feedback information to obtain an updated traceability factor; based on the agricultural product ID information and the updated traceability factor, obtain a third agricultural product traceability result according to the agricultural product traceability service cloud platform; perform permission-sensitive optimization on the third agricultural product traceability result based on the user traceability authority to obtain a fourth agricultural product traceability result; based on the agricultural product traceability service cloud platform and the target device, encrypt the fourth agricultural product traceability result and send it to the target user.
[0075] Specifically, traceability feedback information is collected from target users through the agricultural product traceability service cloud platform. Traceability feedback information may include user satisfaction with traceability data, data accuracy, and the level of detail of information. By obtaining traceability feedback information, we can better understand user needs and expectations, and thus make targeted improvements and optimizations.
[0076] Then, the collected user feedback information is parsed and analyzed in detail to identify the specific traceability demand characteristics of the user, which is used to update and adjust the traceability factors to better meet the user's personalized needs. The updated traceability factors can more accurately reflect the user's expectations and requirements, making the traceability results more in line with user needs.
[0077] Then, using the updated traceability factors and agricultural product ID information, the agricultural product traceability service cloud platform performs data processing and analysis to generate the third agricultural product traceability results. The third agricultural product traceability results are traceability data optimized according to the latest user demand characteristics, aiming to provide more accurate and detailed traceability information.
[0078] Then, the user's traceability permissions are checked, and the third-party agricultural product traceability results are optimized based on permissions, including the protection of sensitive information and compensation for insufficient permissions, to ensure that users obtain the most complete traceability information within the scope of their permissions while protecting the security of sensitive data.
[0079] Next, based on the agricultural product traceability service cloud platform and the target device, the fourth agricultural product traceability result is encrypted and sent to the target user. The fourth agricultural product traceability result with optimized permissions is encrypted and securely sent to the target user's device through the agricultural product traceability service cloud platform. Encrypted transmission ensures the security and privacy of data, allowing users to safely and reliably receive and view traceability information.
[0080] Starting from user feedback information, analyzing user demand characteristics and updating traceability factors, generating and optimizing traceability results, and finally transmitting them securely to user devices, we ensure the integrity, accuracy and security of traceability information while meeting the personalized needs of users.
[0081] In summary, the personalized agricultural product traceability service method based on big data provided by this application has the following technical effects:
[0082] Based on the agricultural product traceability service cloud platform, an agricultural product traceability request instruction sent by a target user through a target device is received, wherein the agricultural product traceability request instruction includes agricultural product encrypted ID information; the user encrypted ID information of the target user is obtained, and combined with the device encrypted ID information of the target device, the agricultural product traceability authority of the target user is parsed according to the agricultural product traceability service cloud platform to obtain the user traceability authority; the agricultural product encrypted ID information is decrypted to obtain the agricultural product ID information, and the agricultural product traceability factor of the target user is predicted in combination with the traceability feature prediction dual channel in the agricultural product traceability service cloud platform; based on the agricultural product ID information and the agricultural product traceability factor, a first agricultural product traceability result is obtained according to the agricultural product traceability service cloud platform; based on the user traceability authority, the first agricultural product traceability result is optimized with authority sensitivity to obtain a second agricultural product traceability result; based on the agricultural product traceability service cloud platform and the target device, the second agricultural product traceability result is encrypted and sent to the target user, so as to achieve the technical goals of improving the integration degree of user needs and improving the accuracy of authority management and control, and achieve the technical effects of optimizing the agricultural product traceability service effect and enhancing user experience satisfaction.
[0083] Embodiment 2: Based on the personalized agricultural product traceability service method based on big data in the previous embodiment, the present application also provides a personalized agricultural product traceability service system based on big data, please refer to the attached Figure 2 ,include:
[0084] A command receiving module 11 is used to receive an agricultural product traceability request instruction sent by a target user through a target device based on an agricultural product traceability service cloud platform, wherein the agricultural product traceability request instruction includes agricultural product encrypted ID information; an authority acquisition module 12 is used to obtain the user encrypted ID information of the target user, and in combination with the device encrypted ID information of the target device, perform agricultural product traceability authority parsing on the target user according to the agricultural product traceability service cloud platform to obtain user traceability authority; a traceability prediction module 13 is used to decrypt the agricultural product encrypted ID information, obtain agricultural product ID information, and in combination with the agricultural product The traceability feature prediction dual channel in the traceability service cloud platform predicts the agricultural product traceability factor of the target user; the traceability acquisition module 14, the traceability acquisition module 14 is used to obtain the first agricultural product traceability result according to the agricultural product traceability service cloud platform based on the agricultural product ID information and the agricultural product traceability factor; the sensitive optimization module 15, the sensitive optimization module 15 is used to perform permission-sensitive optimization on the first agricultural product traceability result based on the user traceability authority to obtain the second agricultural product traceability result; the encrypted sending module 16, the encrypted sending module 16 is used to encrypt and send the second agricultural product traceability result to the target user based on the agricultural product traceability service cloud platform and the target device.
[0085] Furthermore, the authority acquisition module 12 in the agricultural product personalized traceability service system based on big data is also used for:
[0086] Decrypt the user encrypted ID information and the device encrypted ID information to obtain user ID information and device ID information; generate a user device binding relationship based on the user ID information and the device ID information; input the user device binding relationship into the user device authentication network of the agricultural product traceability service cloud platform to obtain a user device authentication result; when the user device authentication result is passed, input the user ID information into the agricultural product traceability authority management model of the agricultural product traceability service cloud platform to generate the user traceability authority.
[0087] Furthermore, the traceability prediction module 13 in the agricultural product personalized traceability service system based on big data is also used for:
[0088] Construct the traceability feature prediction dual channel, wherein the traceability feature prediction dual channel includes a traceability feature prediction first channel and a traceability feature prediction second channel; based on the agricultural product traceability service cloud platform, retrieve the basic user information and user health monitoring information of the target user; perform attribute feature identification according to the agricultural product ID information to obtain the agricultural product attribute feature; based on the agricultural product attribute feature and the user basic information, predict the first channel according to the traceability feature to obtain a first traceability feature prediction result; based on the agricultural product attribute feature and the user health monitoring information, predict the second channel according to the traceability feature to obtain a second traceability feature prediction result; and fuse the first traceability feature prediction result and the second traceability feature prediction result to obtain the agricultural product traceability factor.
[0089] Furthermore, the traceability prediction module 13 in the agricultural product personalized traceability service system based on big data is also used for:
[0090] Based on the agricultural product traceability service cloud platform, a first agricultural product traceability record set is retrieved, wherein the first agricultural product traceability record set includes an agricultural product attribute feature sample set, a user basic information sample set and an agricultural product traceability indicator sample set; a traceability feature learning population is activated, wherein the traceability feature learning population includes a plurality of traceability feature learning seeds; based on the first agricultural product traceability record set, supervised learning is performed on the traceability feature learning population to obtain a plurality of traceability feature prediction first models that meet the traceability feature prediction accuracy constraint; meta-model training is performed based on the plurality of traceability feature prediction first models to generate the traceability feature prediction first channel; based on the agricultural product traceability service cloud platform and the traceability feature prediction accuracy constraint, the traceability feature prediction second channel is constructed according to the traceability feature learning population; the traceability feature prediction first channel and the traceability feature prediction second channel are connected to generate the traceability feature prediction dual channel.
[0091] Furthermore, the traceability acquisition module 14 in the agricultural product personalized traceability service system based on big data is also used for:
[0092] Activate the agricultural product traceability data distribution module in the agricultural product traceability service cloud platform; match the corresponding agricultural product traceability data block based on the agricultural product ID information and according to the agricultural product traceability data distribution module; obtain the initial agricultural product traceability result based on the agricultural product traceability factor and according to the corresponding agricultural product traceability data block; construct an agricultural product traceability output template based on the agricultural product ID information and the agricultural product traceability factor; perform data integration on the initial agricultural product traceability result according to the agricultural product traceability output template to generate the first agricultural product traceability result.
[0093] Furthermore, the sensitive optimization module 15 in the agricultural product personalized traceability service system based on big data is also used for:
[0094] Perform authority analysis based on the first agricultural product traceability result to obtain multiple traceability parameter authority requirement characteristic information; traverse the multiple traceability parameter authority requirement characteristic information to extract the first traceability parameter authority requirement characteristic information; determine whether the user traceability authority meets the first traceability parameter authority requirement characteristic information; if the user traceability authority does not meet the first traceability parameter authority requirement characteristic information, generate a first sensitive authority traceability parameter; perform sensitive compensation based on the first sensitive authority traceability parameter to obtain a first compensation traceability parameter; optimize the first agricultural product traceability result based on the first compensation traceability parameter to generate the second agricultural product traceability result.
[0095] Furthermore, the encryption sending module 16 in the agricultural product personalized traceability service system based on big data is also used for:
[0096] Obtain traceability feedback information of the target user; perform traceability demand feature analysis based on the traceability feedback information to obtain an updated traceability factor; based on the agricultural product ID information and the updated traceability factor, obtain a third agricultural product traceability result according to the agricultural product traceability service cloud platform; perform permission-sensitive optimization on the third agricultural product traceability result based on the user traceability authority to obtain a fourth agricultural product traceability result; based on the agricultural product traceability service cloud platform and the target device, encrypt the fourth agricultural product traceability result and send it to the target user.
[0097] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The personalized agricultural product traceability service method based on big data and the specific examples in the aforementioned embodiment 1 are also applicable to the personalized agricultural product traceability service system based on big data in this embodiment. Through the aforementioned detailed description of the personalized agricultural product traceability service method based on big data, those skilled in the art can clearly know the personalized agricultural product traceability service system based on big data in this embodiment, so for the sake of brevity of the specification, it will not be described in detail here. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0098] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
[0099] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the present application and its equivalent technology, the present application is also intended to include these modifications and variations.
Claims
1. Personalized traceability service method for agricultural products based on big data, It is characterized in that include: Based on the agricultural product traceability service cloud platform, receiving the agricultural product traceability request instruction sent by the target user through the target device, wherein the agricultural product traceability request instruction includes the agricultural product encrypted ID information; Obtain the encrypted user ID information of the target user, combine it with the encrypted device ID information of the target device, perform agricultural product traceability authority analysis on the target user according to the agricultural product traceability service cloud platform, and obtain the user traceability authority; Decrypt the encrypted ID information of the agricultural product to obtain the agricultural product ID information, combine the traceability characteristics in the agricultural product traceability service cloud platform to predict the dual channel, and predict the agricultural product traceability factor of the target user; Based on the agricultural product ID information and the agricultural product traceability factor, obtaining a first agricultural product traceability result according to the agricultural product traceability service cloud platform; Performing permission-sensitive optimization on the first agricultural product traceability result based on the user's traceability authority to obtain a second agricultural product traceability result; Based on the agricultural product traceability service cloud platform and the target device, encrypting the second agricultural product traceability result and sending it to the target user; Decrypt the encrypted ID information of the agricultural product to obtain the agricultural product ID information, combine the traceability characteristics in the agricultural product traceability service cloud platform to predict the dual channels, and predict the agricultural product traceability factor of the target user, including: Constructing the traceability feature prediction dual channel, wherein the traceability feature prediction dual channel includes a traceability feature prediction first channel and a traceability feature prediction second channel; Based on the agricultural product traceability service cloud platform, retrieve the basic user information and user health monitoring information of the target user; Identify the agricultural product attributes based on the agricultural product ID information to obtain the agricultural product attributes; Based on the agricultural product attribute characteristics and the user basic information, predicting a first channel according to the traceability characteristics to obtain a first traceability characteristic prediction result; Based on the agricultural product attribute characteristics and the user health monitoring information, predicting a second channel according to the traceability characteristics to obtain a second traceability characteristic prediction result; The agricultural product traceability factor is obtained by fusing the first traceability feature prediction result and the second traceability feature prediction result; The dual-channel traceability feature prediction is constructed, including: Based on the agricultural product traceability service cloud platform, a first agricultural product traceability record set is retrieved, wherein the first agricultural product traceability record set includes an agricultural product attribute feature sample set, a user basic information sample set, and an agricultural product traceability indicator sample set; Activating a traceability feature learning population, wherein the traceability feature learning population includes a plurality of traceability feature learning seeds; Based on the first agricultural product traceability record set, supervised learning is performed on the traceability feature learning population to obtain a plurality of first traceability feature prediction models that meet the traceability feature prediction accuracy constraint; Performing meta-model training according to the plurality of first traceability feature prediction models to generate the first traceability feature prediction channel; Based on the agricultural product traceability service cloud platform and the traceability feature prediction accuracy constraint, the traceability feature learning population is used to construct the traceability feature prediction second channel; The first channel for tracing feature prediction and the second channel for tracing feature prediction are connected to generate the dual channel for tracing feature prediction.
2. The method according to claim 1, It is characterized in that Obtaining the encrypted user ID information of the target user, combining it with the encrypted device ID information of the target device, performing agricultural product traceability authority analysis on the target user according to the agricultural product traceability service cloud platform, and obtaining the user traceability authority, including: Decrypting the user encrypted ID information and the device encrypted ID information to obtain user ID information and device ID information; Generate a user-device binding relationship based on the user ID information and the device ID information; Inputting the user device binding relationship into the user device authentication network of the agricultural product traceability service cloud platform to obtain a user device authentication result; When the user device authentication result is passed, the user ID information is input into the agricultural product traceability authority management model of the agricultural product traceability service cloud platform to generate the user traceability authority.
3. The method according to claim 1, It is characterized in that Based on the agricultural product ID information and the agricultural product traceability factor, a first agricultural product traceability result is obtained according to the agricultural product traceability service cloud platform, including: Activating the agricultural product traceability data distribution module in the agricultural product traceability service cloud platform; Based on the agricultural product ID information, according to the agricultural product traceability data distribution module, matching the corresponding agricultural product traceability data block; Based on the agricultural product traceability factor, and according to the corresponding agricultural product traceability data block, an initial agricultural product traceability result is obtained; Based on the agricultural product ID information and the agricultural product traceability factor, construct an agricultural product traceability output template; The initial agricultural product traceability result is integrated according to the agricultural product traceability output template to generate the first agricultural product traceability result.
4. The method according to claim 1, It is characterized in that The first agricultural product traceability result is optimized based on the user's traceability authority to obtain a second agricultural product traceability result, including: Perform authority analysis based on the first agricultural product traceability result to obtain characteristic information of authority requirements for multiple traceability parameters; Traversing the plurality of traceability parameter authority requirement characteristic information, extracting the first traceability parameter authority requirement characteristic information; Determine whether the user's traceability authority meets the first traceability parameter authority requirement characteristic information; If the user tracing authority does not meet the first tracing parameter authority requirement characteristic information, generate a first sensitive authority tracing parameter; Perform sensitive compensation according to the first sensitive permission tracing parameter to obtain a first compensation tracing parameter; The first agricultural product traceability result is optimized according to the first compensation traceability parameter to generate the second agricultural product traceability result.
5. The method according to claim 1, It is characterized in that Based on the agricultural product traceability service cloud platform and the target device, encrypting and sending the second agricultural product traceability result to the target user includes: Obtaining traceability feedback information of the target user; Analyze the traceability demand characteristics according to the traceability feedback information to obtain an updated traceability factor; Based on the agricultural product ID information and the updated traceability factor, obtaining a third agricultural product traceability result according to the agricultural product traceability service cloud platform; Performing permission-sensitive optimization on the third agricultural product traceability result based on the user traceability authority to obtain a fourth agricultural product traceability result; Based on the agricultural product traceability service cloud platform and the target device, the fourth agricultural product traceability result is encrypted and sent to the target user.
6. Personalized agricultural product traceability service system based on big data, It is characterized in that The steps for implementing the method for personalized agricultural product traceability service based on big data as described in any one of claims 1 to 5 include: A command receiving module, the command receiving module is used to receive an agricultural product traceability request command sent by a target user through a target device based on the agricultural product traceability service cloud platform, wherein the agricultural product traceability request command includes agricultural product encrypted ID information; A permission acquisition module, which is used to obtain the encrypted user ID information of the target user, combine it with the encrypted device ID information of the target device, perform agricultural product traceability permission analysis on the target user according to the agricultural product traceability service cloud platform, and obtain the user traceability permission; A traceability prediction module, which is used to decrypt the encrypted ID information of the agricultural products, obtain the agricultural product ID information, and predict the agricultural product traceability factor of the target user by combining the traceability feature prediction dual channels in the agricultural product traceability service cloud platform; A traceability acquisition module, the traceability acquisition module is used to obtain a first agricultural product traceability result based on the agricultural product ID information and the agricultural product traceability factor according to the agricultural product traceability service cloud platform; A sensitive optimization module, the sensitive optimization module is used to perform permission-sensitive optimization on the first agricultural product traceability result based on the user traceability authority to obtain a second agricultural product traceability result; An encrypted sending module is used to encrypt and send the second agricultural product traceability result to the target user based on the agricultural product traceability service cloud platform and the target device.
Citation Information
Patent Citations
Agricultural product traceability data processing method based on artificial intelligence and cloud platform
CN115526551A
Product supply chain tracing method and system
CN116777481A
