CN115801815B - Plant growth status sharing method and device based on blockchain and storage medium - Google Patents

Plant growth status sharing method and device based on blockchain and storage medium Download PDF

Info

Publication number
CN115801815B
CN115801815B CN202310053214.4A CN202310053214A CN115801815B CN 115801815 B CN115801815 B CN 115801815B CN 202310053214 A CN202310053214 A CN 202310053214A CN 115801815 B CN115801815 B CN 115801815B
Authority
CN
China
Prior art keywords
information
plant growth
plant
user
blockchain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310053214.4A
Other languages
Chinese (zh)
Other versions
CN115801815A (en
Inventor
李晓风
许金林
赵赫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Zhongke Lattice Technology Co ltd
Original Assignee
Anhui Zhongke Lattice Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Zhongke Lattice Technology Co ltd filed Critical Anhui Zhongke Lattice Technology Co ltd
Priority to CN202310053214.4A priority Critical patent/CN115801815B/en
Publication of CN115801815A publication Critical patent/CN115801815A/en
Application granted granted Critical
Publication of CN115801815B publication Critical patent/CN115801815B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of blockchain, and discloses a blockchain-based plant growth condition sharing method, a blockchain-based plant growth condition sharing device and a storage medium, wherein the method comprises the following steps: when the user logs in successfully, determining the current function type according to the account identifier of the user; when the current function type is an information storage type, packaging a plurality of kinds of plant growth state information through a block outlet node of a block chain; obtaining first plant growth information and second plant growth information according to the target plant growth state block, storing the first plant growth information into a block chain and storing the second plant growth information into a target sharing system; by the method, the plant growth state information is stored for the information storage type user, and the problem to be inquired is issued for the problem help type, so that a series of plant growth conditions can be comprehensively shared, and the safety, traceability and correctness of the uploaded information are ensured.

Description

Plant growth status sharing method and device based on blockchain and storage medium
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a blockchain-based plant growth status sharing method, device, and storage medium.
Background
With the continuous improvement of living standard, people can do some interesting things in leisure time, for example, cultivate plants, but various problems can be encountered in the cultivation process, if the problems are not treated in time, the exhaustion of the plants can be caused, so that the grasping of the optimal plant cultivation mode is very important, at present, the plant cultivation mode and the problem solving way are more to inquire from books and networks, namely, the books and networks are shared, but the information on the networks is numerous and the system is not complete, so that the difficulty of inquiring the answer of the content required by the people is very high, the inquired answer is not necessarily correct, namely, an authoritative certification mechanism is not required to ensure the reliability of the answer of the content, the knowledge of the inquiry of the books is exact, the flexible increase according to the actual situation is not possible, and the situation that the books are not encountered is also ineffectual, so that the sharing of the growth condition of the plants is not comprehensive enough, and the safety, the traceability and the accuracy of the uploaded information cannot be ensured.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a block chain-based plant growth condition sharing method, a block chain-based plant growth condition sharing device and a block chain-based plant growth condition storage medium, and aims to solve the technical problems that the prior art cannot realize comprehensive sharing of a series of plant growth conditions and cannot guarantee the safety, traceability and correctness of uploading information.
In order to achieve the above object, the present invention provides a blockchain-based plant growth status sharing method, comprising the steps of:
when the user logs in successfully, determining the current function type according to the account identifier of the user;
when the current function type is an information storage type, acquiring a plurality of kinds of plant growth state information;
packaging the plant growth state information of the plurality of types through a block outlet node of the block chain to obtain a target plant growth state block;
and obtaining first plant growth information and second plant growth information according to the target plant growth state block, storing the first plant growth information into the block chain and storing the second plant growth information into a target sharing system.
Optionally, when the user logs in successfully, after determining the current function type according to the account identifier of the user, the method further includes:
when the current function type is a problem help type, acquiring a cultivated plant picture and/or cultivated plant problem description keywords uploaded by a user;
verifying the cultivated plant pictures and/or the cultivated plant problem description keywords through verification nodes of notarizers;
when verification is passed, determining the feature information of the cultivated plant problem according to the cultivated plant picture and/or the cultivated plant problem description keyword;
performing intelligent matching according to the cultivated plant problem feature information and a preset cultivated plant problem feature set to obtain the current matching degree;
when the current matching degree is larger than or equal to a preset matching degree threshold value, judging whether signature confirmation information sent by a user is received or not;
when signature confirmation information sent by a user is received, deducting the incentive fee of the user by automatically triggering an intelligent contract;
after deduction is successful, the target IPFS address is obtained according to the block hash value corresponding to the matched cultivated plant problem characteristics, and the cultivated plant problem answer information stored in the target IPFS address is displayed.
Optionally, the intelligent matching is performed according to the cultivated plant problem feature information and a preset cultivated plant problem feature set, and after the current matching degree is obtained, the method further includes:
when the current matching degree is smaller than a preset matching degree threshold, acquiring the plant cultivation problem information which needs to be issued by the user according to the plant cultivation picture and/or the plant cultivation problem description keyword;
setting incentive fees paid for issuing the information of the plant cultivation problems;
and after receiving the incentive fee payment success information sent by the user, generating a target intelligent contract according to the cultivated plant problem information.
Optionally, after receiving the incentive fee payment success information sent by the user, generating a target intelligent contract according to the plant cultivation problem information, the method further includes:
when receiving a solution strategy issued by other users aiming at the information of the cultivated plant problem, verifying the solution strategy through a verification node of a notarizer;
when verification is passed, generating a target hash by calling the target intelligent contract;
when receiving confirmation information of checking the solution strategy sent by the user, obtaining a current IPFS address according to the target hash;
and displaying the solution strategy stored by the current IPFS address, and setting the incentive fee in the account of the other user.
Optionally, before determining the current function type according to the account identifier of the user when the user login is successful, the method further includes:
when a login request sent by a user is received, acquiring identity information of the user;
when the identity information does not exist in the target identity database, verifying the identity information through a verification node of a notarizer;
after the verification is passed, generating an account identifier and a corresponding private key of the user according to the identity information, and judging whether the user is successfully logged in.
Optionally, when the current function type is an information storage type, acquiring a plurality of kinds of plant growth state information includes:
when the current function type is an information storage type, acquiring information on the growth introduction of cultivated plants, insect pest information and insect pest solving strategies in the cultivation process, and growth defects and defect solving strategies in the cultivation process;
and obtaining the plant growth state information of a plurality of types according to the cultivation plant growth introduction information, the insect pest information in the cultivation process, the insect pest solving strategy and the growth defect and defect solving strategy in the cultivation process.
Optionally, before the storing the first plant growth information to the blockchain and the storing the second plant growth information to the target sharing system, further includes:
verifying the first plant growth information and the second plant growth information through a verification node of a notarizer;
upon verification passing, storing the first plant growth information to the blockchain and the second plant growth information to a target sharing system.
In addition, in order to achieve the above object, the present invention also provides a plant growth status sharing device based on a blockchain, the plant growth status sharing device based on a blockchain comprising:
the determining module is used for determining the current function type according to the account identifier of the user when the user login is successful;
the acquisition module is used for acquiring a plurality of kinds of plant growth state information when the current function type is an information storage type;
the packing module is used for packing the plant growth state information of the plurality of types through the block outlet node of the block chain to obtain a target plant growth state block;
and the sharing module is used for obtaining first plant growth information and second plant growth information according to the target plant growth state block, storing the first plant growth information into the blockchain and storing the second plant growth information into a target sharing system.
In addition, in order to achieve the above object, the present invention also provides a blockchain-based plant growth status sharing apparatus including: a memory, a processor, and a blockchain-based plant growth sharing program stored on the memory and executable on the processor, the blockchain-based plant growth sharing program configured to implement the blockchain-based plant growth sharing method as described above.
In addition, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon a blockchain-based plant growth status sharing program that, when executed by a processor, implements the blockchain-based plant growth status sharing method as described above.
According to the plant growth condition sharing method based on the blockchain, when a user logs in successfully, the current function type is determined according to the account identifier of the user; when the current function type is an information storage type, acquiring a plurality of kinds of plant growth state information; packaging the plant growth state information of the plurality of types through a block outlet node of the block chain to obtain a target plant growth state block; obtaining first plant growth information and second plant growth information according to the target plant growth state block, storing the first plant growth information into the block chain and storing the second plant growth information into a target sharing system; by the method, the plant growth state information is stored for the information storage type user, and the problem to be inquired is issued for the problem help type, so that a series of plant growth conditions can be comprehensively shared, and the safety, traceability and correctness of the uploaded information are ensured.
Drawings
FIG. 1 is a schematic diagram of a block chain based plant growth status sharing device of a hardware operating environment in accordance with an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a blockchain-based plant growth status sharing method of the present invention;
FIG. 3 is a flowchart of a second embodiment of a blockchain-based plant growth status sharing method of the present invention;
FIG. 4 is a schematic diagram of functional modules of a first embodiment of a blockchain-based plant growth status sharing device according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a plant growth status sharing device based on a blockchain in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the blockchain-based plant growth status sharing device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of a blockchain-based plant growing condition sharing apparatus, and may include more or fewer components than shown, or certain components in combination, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a blockchain-based plant growth status sharing program may be included in the memory 1005 as one storage medium.
In the blockchain-based plant growth status sharing device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network integration platform workstation; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the blockchain-based plant growth status sharing device of the present invention may be disposed in the blockchain-based plant growth status sharing device, and the blockchain-based plant growth status sharing device invokes the blockchain-based plant growth status sharing program stored in the memory 1005 through the processor 1001 and executes the blockchain-based plant growth status sharing method provided by the embodiment of the present invention.
Based on the hardware structure, the embodiment of the plant growth status sharing method based on the blockchain is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a blockchain-based plant growth status sharing method according to the present invention.
In a first embodiment, the blockchain-based plant growth status sharing method includes the steps of:
and step S10, when the user login is successful, determining the current function type according to the account identifier of the user.
It should be noted that, the execution body of the embodiment is a plant growth status sharing device based on a blockchain, and may be other devices that can implement the same or similar functions, such as an information sharing platform, etc., which is not limited in this embodiment, and in this embodiment, the information sharing platform is taken as an example for explanation.
It should be understood that the information sharing platform has a strict notarization system, and has high credibility for the information uploaded to the sharing platform, the account identifier refers to an identifier capable of uniquely identifying the identity of the user, the account identifier may be an account ID, then the current function type is determined according to the account identifier of the user, and the current function type may be an information storage type and a problem help seeking type.
Further, before step S10, the method further includes: when a login request sent by a user is received, acquiring identity information of the user; when the identity information does not exist in the target identity database, verifying the identity information through a verification node of a notarizer; after the verification is passed, generating an account identifier and a corresponding private key of the user according to the identity information, and judging whether the user is successfully logged in.
It can be understood that when a login request sent by a user is received, whether the identity information of the user exists in the target identity database is judged, if not, the user is indicated to be a new user, at this time, the user is required to register the identity, namely, the identity information is verified through a verification node of a notary, after verification is passed, an account identifier of the new registered user and a corresponding private key are generated, the user at this time can be a common user, namely, a user of an information sharing platform, on the information sharing platform, other users except the verification node of the notary are all common nodes, only the authority of uploading data and inquiring related data is required, the private key does not have the authority of verifying and outputting the block, the private key is required to be correspondingly saved by the user, and then whether the user is successfully logged in or not is continued.
And step S20, acquiring a plurality of kinds of plant growth state information when the current function type is the information storage type.
It can be understood that the plant growth status information is divided into several kinds, for example, cultivation plant growth introduction information, insect pest information in the cultivation process, growth defect in the cultivation process, etc., and after the current function type is obtained, it is determined whether the current function type is an information storage type, if so, several kinds of plant growth status information are obtained.
Further, step S20 includes: when the current function type is an information storage type, acquiring information on the growth introduction of cultivated plants, insect pest information and insect pest solving strategies in the cultivation process, and growth defects and defect solving strategies in the cultivation process; and obtaining the plant growth state information of a plurality of types according to the cultivation plant growth introduction information, the insect pest information in the cultivation process, the insect pest solving strategy and the growth defect and defect solving strategy in the cultivation process.
It should be understood that the cultivation plant growth introduction information refers to introduction information describing a growth cycle, a living environment (including seasons, temperatures, moisture, inorganic salt types, etc.) of a plant and a growth state corresponding to each cycle, and the cultivation plant growth introduction information is mainly used for a user who is unfamiliar with the plant to view, in particular to a cultivation mode and a process which are the most basic for popularizing the plant; the insect pest information and the insect pest solving strategy refer to insect pest problems encountered in the cultivation of plants and the strategy for solving the insect pest, and the insect pest is necessary to exist in the cultivation process in the external cultivation of the plants, and the damage of insects to the plants greatly affects the growth of the plants, so that aiming at the problem that the insect pests of the plants are very urgent to solve, the insect pest types encountered by different plants are not necessarily the same, the insect pest solving methods are also different, and the information storage users upload the corresponding insect pest conditions encountered by the information storage users and the better treatment strategy, so that the treatment experience can be given to other users encountering the same insect pest; the growth defect and defect solving strategy refers to a strategy for solving the defect caused by the defect of a certain nutrient substance in the growth process, and the defect solving strategy can help other users to find a proper solution in time because a series of problems such as yellowing and withering of leaves, incapability of growing plants and the like occur due to the defect of a certain fertilizer in the plant cultivation process, and because some users lack knowledge of the problems, the users cannot know how to process the plants, and the wrong processing mode is possibly the opposite way.
And step S30, packaging the plant growth state information of the plurality of types through the block outlet nodes of the block chain to obtain a target plant growth state block.
It should be appreciated that upon obtaining the several kinds of plant growth status information, the outlet block node of the blockchain packages and publishes the several kinds of plant growth status information into a target plant growth status block.
And step S40, obtaining first plant growth information and second plant growth information according to the target plant growth state block, storing the first plant growth information into the blockchain and storing the second plant growth information into a target sharing system.
It will be appreciated that the first plant growth information refers to plant growth information stored to the blockchain, traceability of the plant growth information is ensured by storing the blockchain, the first plant growth information includes but is not limited to hash value, key word and characteristic information of the published plant growth state information, the second plant growth information refers to plant growth information stored to a target sharing system, the target sharing system may be IPFS, the second plant growth information includes but is not limited to pictures, videos and text descriptions of the published plant growth state information, and because of limited memory stored by the blockchain, a large amount of data cannot be stored in the blockchain, namely, large data storage by introducing the IPFS is ensured, and the storage pressure of the blockchain can be reduced by the two information storage modes, and then the information stored by the blockchain and the target sharing system is shared.
Further, before step S40, the method further includes: verifying the first plant growth information and the second plant growth information through a verification node of a notarizer; upon verification passing, storing the first plant growth information to the blockchain and the second plant growth information to a target sharing system.
It should be appreciated that before storing the first plant growth information and the second plant growth information to the blockchain and the target sharing system, the first plant growth information and the second plant growth information need to be verified by verification nodes of notarizers, and when verification passes, the first plant growth information is stored to the blockchain, and meanwhile, the second plant growth information is stored to the target sharing system, so that the safety of the information stored by the blockchain is ensured.
When the user logs in successfully, the embodiment determines the current function type according to the account identifier of the user; when the current function type is an information storage type, acquiring a plurality of kinds of plant growth state information; packaging the plant growth state information of the plurality of types through a block outlet node of the block chain to obtain a target plant growth state block; obtaining first plant growth information and second plant growth information according to the target plant growth state block, storing the first plant growth information into the block chain and storing the second plant growth information into a target sharing system; by the method, the plant growth state information is stored for the information storage type user, and the problem to be inquired is issued for the problem help type, so that a series of plant growth conditions can be comprehensively shared, and the safety, traceability and correctness of the uploaded information are ensured.
In an embodiment, as shown in fig. 3, a second embodiment of the blockchain-based plant growth status sharing method according to the present invention is provided based on the first embodiment, and the step S10 includes:
step S201, when the current function type is the problem help type, acquiring a cultivated plant picture and/or a cultivated plant problem description keyword uploaded by the user.
It should be understood that after the current function type is obtained, if the current function type is determined to be the problem help type, it is indicated that the user needs to issue help information about plant growth, at this time, a cultivated plant picture and/or a cultivated plant problem description keyword uploaded by the user are obtained, the cultivated plant problem description keyword is input by the user in a search box, and at least one of the cultivated plant picture and the cultivated plant problem description keyword needs to be uploaded.
Step S202, verifying the cultivated plant picture and/or the cultivated plant problem description keyword through a verification node of the notarizer.
It can be appreciated that after receiving the cultivated plant picture and/or the cultivated plant problem description keyword uploaded by the user, the cultivated plant picture and/or the cultivated plant problem description keyword is verified by a verification node of the notarizer.
And step S203, determining the feature information of the cultivated plant problem according to the cultivated plant picture and/or the cultivated plant problem description keyword when the verification is passed.
It should be understood that when verification is passed, it indicates that the cultivated plant picture and/or the cultivated plant problem description keyword uploaded by the user are not abnormal, and at this time, feature extraction is performed on the cultivated plant picture and/or the cultivated plant problem description keyword, so as to obtain the feature information of the cultivated plant problem.
And step S204, performing intelligent matching according to the cultivated plant problem feature information and a preset cultivated plant problem feature set to obtain the current matching degree.
It is understood that the current matching degree refers to the matching degree between the cultivated plant problem feature information and each problem feature in the preset cultivated plant problem feature set.
Further, after step S204, the method further includes: when the current matching degree is smaller than a preset matching degree threshold, acquiring the plant cultivation problem information which needs to be issued by the user according to the plant cultivation picture and/or the plant cultivation problem description keyword; setting incentive fees paid for issuing the information of the plant cultivation problems; and after receiving the incentive fee payment success information sent by the user, generating a target intelligent contract according to the cultivated plant problem information.
It should be understood that when it is determined that the current matching degree is smaller than the preset matching degree threshold, it is indicated that the blockchain and the target sharing system do not store the problem and resort to a corresponding solution strategy, at this time, the identity of the user is the information publisher, that is, the information of the cultivated plant problem to be published by the user is obtained according to the cultivated plant picture and/or the cultivated plant problem description keyword, and the incentive fee required to be paid for publishing the information of the cultivated plant problem is set, after the successful information of the incentive fee payment sent by the user is received, it is indicated that the user has completed payment, at this time, the information of the cultivated plant problem to be published is published, and the target intelligent contract is generated.
Further, after receiving the incentive fee payment success information sent by the user, generating a target intelligent contract according to the cultivated plant problem information, the method further comprises the following steps: when receiving a solution strategy issued by other users aiming at the information of the cultivated plant problem, verifying the solution strategy through a verification node of a notarizer; when verification is passed, generating a target hash by calling the target intelligent contract; when receiving confirmation information of checking the solution strategy sent by the user, obtaining a current IPFS address according to the target hash; and displaying the solution strategy stored by the current IPFS address, and setting the incentive fee in the account of the other user.
It can be understood that after the user issues the plant problem information to be issued, if other users know the solution strategy of the plant problem information to be issued, the solution strategy of the plant problem information to be issued can be sent to the information sharing platform, then when the solution strategy is received, the solution strategy is verified through a verification node of a notarizer, when the verification passes, the solution strategy is indicated to be abnormal, a target intelligent contract is called at the moment, then the target hash of the uploading information is filled, when the confirmation information of the solution strategy is checked and sent by the user who receives the issuing information, the solution strategy stored by the current IPFS address is displayed, and then the incentive expense is set in the account of the other users who upload the solution strategy, at the moment, no transfer is needed, the interests of the problem seeker and the solution strategy owner and the owners of the information rights are ensured, and when other people steal the information to upload and acquire the interests, the information sharing can be found and punished in time.
Step S205, judging whether signature confirmation information sent by a user is received or not when the current matching degree is larger than or equal to a preset matching degree threshold value.
It should be understood that after the current matching degree is obtained, whether the current matching degree is greater than or equal to a preset matching degree threshold value is judged, if yes, it is indicated that the blockchain and the target sharing system store a solution strategy corresponding to the problem seeking, at the moment, a confirmation request is sent to the user, and then whether signature confirmation information sent by the user is received is judged.
And step S206, deducting the incentive fee of the user by automatically triggering the intelligent contract when the signature confirmation information sent by the user is received.
It can be understood that after receiving the confirmation request, the user judges whether to click the confirmation button, if yes, the user enters the signature interface, after receiving the signature confirmation information of the user on the signature interface, the information sharing platform completes the query authorization, and the information sharing platform can automatically trigger the intelligent contract to deduct the incentive fee of the user.
Step S207, after deduction is successful, the target IPFS address is obtained according to the block hash value corresponding to the matched cultivated plant problem characteristics, and the cultivated plant problem answer information stored by the target IPFS address is displayed.
It should be understood that the target IPFS address refers to an address for checking the solution information of the cultivated plant problem, and after deduction is successful, the target IPFS address is directly skipped to the target IPFS address for storing the solution information of the cultivated plant problem, and then the solution information of the cultivated plant problem is displayed, so that the user can check the solution.
When the current function type is judged to be the problem help type, verifying the cultivated plant picture and/or the cultivated plant problem description keyword uploaded by the user through a verification node of the notarizer, and determining cultivated plant problem feature information according to the cultivated plant picture and/or the cultivated plant problem description keyword when verification is passed; and performing intelligent matching according to the cultivated plant problem feature information and a preset cultivated plant problem feature set to obtain a current matching degree, judging whether the current matching degree is larger than or equal to a preset matching degree threshold value, if so, judging whether signature confirmation information sent by a user is received, if so, deducting the excitation cost of the user by automatically triggering an intelligent contract, obtaining a target IPFS address according to a block hash value corresponding to the matched cultivated plant problem feature, and displaying cultivated plant problem answer information stored by the target IPFS address, thereby realizing reasonable and accurate sharing of the plant cultivation information and ensuring benefits of a solution strategy uploader.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium is stored with a plant growth status sharing program based on the blockchain, and the step of the plant growth status sharing method based on the blockchain is realized when the plant growth status sharing program based on the blockchain is executed by a processor.
Because the storage medium adopts all the technical schemes of all the embodiments, the storage medium has at least all the beneficial effects brought by the technical schemes of the embodiments, and the description is omitted here.
In addition, referring to fig. 4, an embodiment of the present invention further provides a plant growth status sharing device based on a blockchain, where the plant growth status sharing device based on a blockchain includes:
and the determining module 10 is used for determining the current function type according to the account identifier of the user when the user login is successful.
The obtaining module 20 is configured to obtain a plurality of kinds of plant growth status information when the current function type is an information storage type.
And the packing module 30 is used for packing the plant growth state information of the plurality of types through the block outlet node of the block chain to obtain a target plant growth state block.
The sharing module 40 is configured to obtain first plant growth information and second plant growth information according to the target plant growth status block, store the first plant growth information to the blockchain, and store the second plant growth information to a target sharing system.
When the user logs in successfully, the embodiment determines the current function type according to the account identifier of the user; when the current function type is an information storage type, acquiring a plurality of kinds of plant growth state information; packaging the plant growth state information of the plurality of types through a block outlet node of the block chain to obtain a target plant growth state block; obtaining first plant growth information and second plant growth information according to the target plant growth state block, storing the first plant growth information into the block chain and storing the second plant growth information into a target sharing system; by the method, the plant growth state information is stored for the information storage type user, and the problem to be inquired is issued for the problem help type, so that a series of plant growth conditions can be comprehensively shared, and the safety, traceability and correctness of the uploaded information are ensured.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
In addition, technical details not described in detail in the present embodiment can be referred to the blockchain-based plant growth status sharing method provided in any embodiment of the present invention, and are not described herein.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. Read Only Memory)/RAM, magnetic disk, optical disk) and including several instructions for causing a terminal device (which may be a mobile phone, a computer, an integrated platform workstation, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A blockchain-based plant growth status sharing method, characterized in that the blockchain-based plant growth status sharing method comprises the following steps: when the user logs in successfully, determining the current function type according to the account identifier of the user; when the current function type is an information storage type, acquiring a plurality of kinds of plant growth state information; packaging the plant growth state information of the plurality of types through a block outlet node of the block chain to obtain a target plant growth state block; obtaining first plant growth information and second plant growth information according to the target plant growth state block, storing the first plant growth information into the block chain and storing the second plant growth information into a target sharing system; the first plant growth information comprises a hash value, keywords and characteristic information of the published plant growth state information, and the second plant growth information comprises pictures, videos and text descriptions of the published plant growth state information.
2. The blockchain-based plant growing status sharing method of claim 1, wherein after determining the current function type according to the account identifier of the user when the user logs in successfully, further comprising: when the current function type is a problem help type, acquiring a cultivated plant picture and/or cultivated plant problem description keywords uploaded by a user; verifying the cultivated plant pictures and/or the cultivated plant problem description keywords through verification nodes of notarizers; when verification is passed, determining the feature information of the cultivated plant problem according to the cultivated plant picture and/or the cultivated plant problem description keyword; performing intelligent matching according to the cultivated plant problem feature information and a preset cultivated plant problem feature set to obtain the current matching degree;
when the current matching degree is larger than or equal to a preset matching degree threshold value, judging whether signature confirmation information sent by a user is received or not; when signature confirmation information sent by a user is received, deducting the incentive fee of the user by automatically triggering an intelligent contract; after deduction is successful, the target IPFS address is obtained according to the block hash value corresponding to the matched cultivated plant problem characteristics, and the cultivated plant problem answer information stored in the target IPFS address is displayed.
3. The blockchain-based plant growth status sharing method of claim 2, wherein the intelligent matching is performed between the cultivated plant question feature information and a preset cultivated plant question feature set to obtain a current matching degree, further comprising: when the current matching degree is smaller than a preset matching degree threshold, acquiring the plant cultivation problem information which needs to be issued by the user according to the plant cultivation picture and/or the plant cultivation problem description keyword; setting incentive fees paid for issuing the information of the plant cultivation problems; and after receiving the incentive fee payment success information sent by the user, generating a target intelligent contract according to the cultivated plant problem information.
4. The blockchain-based plant growing condition sharing method of claim 3, further comprising, after receiving the incentive fee payment success information sent by the user, generating a target smart contract according to the cultivated plant question information: when receiving a solution strategy issued by other users aiming at the information of the cultivated plant problem, verifying the solution strategy through a verification node of a notarizer; when verification is passed, generating a target hash by calling the target intelligent contract; when receiving confirmation information of checking the solution strategy sent by the user, obtaining a current IPFS address according to the target hash; and displaying the solution strategy stored by the current IPFS address, and setting the incentive fee in the account of the other user.
5. The blockchain-based plant growth status sharing method of claim 1, wherein when the user logs in successfully, before determining the current function type according to the account identifier of the user, further comprising: when a login request sent by a user is received, acquiring identity information of the user; when the identity information does not exist in the target identity database, verifying the identity information through a verification node of a notarizer; after the verification is passed, generating an account identifier and a corresponding private key of the user according to the identity information, and judging whether the user is successfully logged in.
6. The blockchain-based plant growth status sharing method of claim 1, wherein the obtaining the plurality of types of plant growth status information when the current function type is an information storage type comprises: when the current function type is an information storage type, acquiring information on the growth introduction of cultivated plants, insect pest information and insect pest solving strategies in the cultivation process, and growth defects and defect solving strategies in the cultivation process; and obtaining the plant growth state information of a plurality of types according to the cultivation plant growth introduction information, the insect pest information in the cultivation process, the insect pest solving strategy and the growth defect and defect solving strategy in the cultivation process.
7. The blockchain-based plant growth status sharing method of any of claims 1-6, wherein prior to storing the first plant growth information to the blockchain and the second plant growth information to a target sharing system, further comprising: verifying the first plant growth information and the second plant growth information through a verification node of a notarizer; upon verification passing, storing the first plant growth information to the blockchain and the second plant growth information to a target sharing system.
8. A blockchain-based plant growth status sharing device, characterized in that the blockchain-based plant growth status sharing device comprises: the determining module is used for determining the current function type according to the account identifier of the user when the user login is successful; the acquisition module is used for acquiring a plurality of kinds of plant growth state information when the current function type is an information storage type; the packing module is used for packing the plant growth state information of the plurality of types through the block outlet node of the block chain to obtain a target plant growth state block; the sharing module is used for obtaining first plant growth information and second plant growth information according to the target plant growth state block, storing the first plant growth information into the block chain and storing the second plant growth information into the target sharing system, wherein the first plant growth information comprises a hash value, keywords and characteristic information of the issued plant growth state information, and the second plant growth information comprises pictures, videos and text descriptions of the issued plant growth state information.
9. A blockchain-based plant growth status sharing device, characterized in that the blockchain-based plant growth status sharing device comprises: a memory, a processor, and a blockchain-based plant growth sharing program stored on the memory and executable on the processor, the blockchain-based plant growth sharing program configured to implement the blockchain-based plant growth sharing method of any of claims 1-7.
10. A storage medium having stored thereon a blockchain-based plant growth status sharing program that when executed by a processor implements the blockchain-based plant growth status sharing method of any of claims 1 to 7.
CN202310053214.4A 2023-02-03 2023-02-03 Plant growth status sharing method and device based on blockchain and storage medium Active CN115801815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310053214.4A CN115801815B (en) 2023-02-03 2023-02-03 Plant growth status sharing method and device based on blockchain and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310053214.4A CN115801815B (en) 2023-02-03 2023-02-03 Plant growth status sharing method and device based on blockchain and storage medium

Publications (2)

Publication Number Publication Date
CN115801815A CN115801815A (en) 2023-03-14
CN115801815B true CN115801815B (en) 2023-05-05

Family

ID=85429599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310053214.4A Active CN115801815B (en) 2023-02-03 2023-02-03 Plant growth status sharing method and device based on blockchain and storage medium

Country Status (1)

Country Link
CN (1) CN115801815B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111400761A (en) * 2020-03-17 2020-07-10 吉林亿联银行股份有限公司 Data sharing method and device, storage medium and electronic equipment
CN112950229A (en) * 2021-03-15 2021-06-11 杭州云象网络技术有限公司 Block chain composite tracing method and tracing and identification analysis system
WO2022177204A1 (en) * 2021-02-22 2022-08-25 주식회사 블록체인기술연구소 Did-based decentralized system for storing and sharing user data

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040012B (en) * 2018-06-19 2021-02-09 西安电子科技大学 Block chain-based data security protection and sharing method and system and application
US10824740B2 (en) * 2018-07-30 2020-11-03 EMC IP Holding Company LLC Decentralized policy publish and query system for multi-cloud computing environment
CN110493220B (en) * 2019-08-16 2021-05-25 腾讯科技(深圳)有限公司 Data sharing method and device based on block chain and storage medium
CN110417918B (en) * 2019-08-29 2021-10-08 腾讯科技(深圳)有限公司 Distributed storage method and device for archive information, electronic equipment and medium
CN110879902B (en) * 2019-11-25 2022-01-28 北京工商大学 Grain, oil and food full supply chain information safety management system and method based on trusted identification and IPFS
CN112039855B (en) * 2020-08-14 2022-03-08 海南大学 Scientific and technological resource data safe storage and sharing method based on alliance chain
CN113127811B (en) * 2021-03-09 2024-03-19 西北大学 Cultural relic digital resource safe sharing method, system and information data processing terminal
CN115208665B (en) * 2022-07-15 2023-05-05 河南农业大学 Germplasm resource data safe sharing method and system based on blockchain
CN115660903A (en) * 2022-10-31 2023-01-31 鼎链数字科技(深圳)有限公司 Intellectual property achievement sharing management system and method based on block chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111400761A (en) * 2020-03-17 2020-07-10 吉林亿联银行股份有限公司 Data sharing method and device, storage medium and electronic equipment
WO2022177204A1 (en) * 2021-02-22 2022-08-25 주식회사 블록체인기술연구소 Did-based decentralized system for storing and sharing user data
CN112950229A (en) * 2021-03-15 2021-06-11 杭州云象网络技术有限公司 Block chain composite tracing method and tracing and identification analysis system

Also Published As

Publication number Publication date
CN115801815A (en) 2023-03-14

Similar Documents

Publication Publication Date Title
EP4318410A2 (en) Distributed application architectures using blockchain and distributed file systems
CN113141782B (en) Storing and validating derivative work data on blockchain having original work data
CN107426165B (en) Bidirectional secure cloud storage data integrity detection method supporting key updating
Vico et al. Can leaf net photosynthesis acclimate to rising and more variable temperatures?
US7593548B2 (en) Secure and anonymous storage and accessibility for sensitive data
CN111931076B (en) Method and device for carrying out relationship recommendation based on authorized directed graph and computer equipment
KR102603797B1 (en) How to verify the execution integrity of an application on a target device
Alhajeri et al. A global test of Allen’s rule in rodents
Saito et al. Forecasting the range expansion of a recolonising wild boar Sus scrofa population
US20220318788A1 (en) Using an internal ledger with blockchain transactions
CN103685312A (en) Method and system for detecting phishing pages, client side and server
CN109729044A (en) A kind of general internet data acquisition is counter to climb system and method
Augustine et al. Accounting for behavioural response to capture when estimating population size from hair snare studies with missing data
CN112131471B (en) Method, device, equipment and medium for recommending relationship based on unowned undirected graph
CN108924258A (en) Background information method for pushing, device, computer equipment and storage medium
CN110276518A (en) A kind of hidden processing method for depositing high-risk biotic factor data of cross-border multichip carrier
CN113313606A (en) Block chain-based dynamic credit scoring system and method for supply chain enterprises
CN115801815B (en) Plant growth status sharing method and device based on blockchain and storage medium
Simon et al. Complex tactics in a dynamic large herbivore–carnivore spatiotemporal game
Solow et al. Estimating the rate of species introductions from the discovery record
US20130311218A1 (en) Farming support method and farming support apparatus
CN113688423A (en) Data management method, system and equipment of mobile vaccination vehicle
Travis et al. Spatial processes can determine the relationship between prey encounter rate and prey density
CN112347457A (en) Abnormal account detection method and device, computer equipment and storage medium
CN114697063A (en) Security authentication method and device, electronic equipment and storage medium

Legal Events

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