Agricultural data sharing method, terminal and readable storage medium
Through the agricultural data sharing method, data publishing and uploading between terminals and cloud servers solves the problem of difficulty in sharing agricultural big data resources, realizes the sharing of agricultural data between agricultural departments and agricultural enterprises at all levels, and improves data efficiency. Resource utilization efficiency.
Patent Information
- Application Number
- CN201910566230.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-27
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2039-06-27
AI Technical Summary
There is a gap between my country and foreign countries in sharing agricultural big data resources. Data standards are different, the scale is small, and some data are scattered and cannot be shared, making it difficult to share agricultural big data resources in the big data era.
By providing an agricultural data sharing method, the terminal sends a main interface data request to the cloud server after detecting the account login operation, displays the main interface, and displays the data entry interface when receiving the instruction to create an agricultural task, obtains the data to be released, and sends it to Cloud servers enable the release and upload of data, and then share it among agricultural departments at all levels, agricultural enterprises and the public.
It has realized the cloud storage and real-time call of agricultural production data, promoted the sharing of agricultural data among agricultural departments at all levels, agricultural enterprises and the general public, and improved the efficiency of scientific research and the utilization level of data resources.
Smart Images

Figure CN112153086B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of agricultural management technology, and in particular to an agricultural data sharing method, a terminal and a readable storage medium. Background Art
[0002] Agriculture is the foundation of the national economy, and agricultural big data resources are the common wealth of human society. Big data sharing is an important driving force for the rapid development of modern science. However, my country lags far behind foreign countries in terms of big data resource sharing, especially agricultural big data resource sharing. For example, in the United States, the government has invested heavily in establishing an agricultural big database sharing platform, and scientific research institutes can share these data resources for free. This method effectively guarantees the free flow of data resources in scientific research departments, significantly reduces scientific research costs, and greatly improves scientific research efficiency. In contrast, in my country, the level of development and utilization of agricultural big data is still very low, data standards are inconsistent, and the scale is small. Some data are still in a scattered state and cannot be shared. Even if some research units have relevant databases, due to serious small-scale peasant consciousness and departmental conflicts of interest, they have created information islands of data department separatism, making it difficult for agricultural big data resources to be shared in the big data era.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide an agricultural data sharing method, a terminal and a readable storage medium, aiming to solve the technical problem that existing agricultural big data resources are difficult to share.
[0005] To achieve the above object, the present invention provides an agricultural data sharing method, which comprises the following steps:
[0006] When the terminal detects an account login operation and determines that the account has login permission, the terminal sends a main interface data request to the cloud server, so that the cloud server feeds back the main interface data;
[0007] When the terminal receives the main interface data sent by the cloud server, the main interface is displayed on the terminal screen based on the first preset format and the main interface data;
[0008] When the terminal detects the agricultural task creation instruction triggered by the main interface, a data entry interface is displayed based on the agricultural task creation instruction;
[0009] When the terminal detects a publishing task instruction triggered by the data entry interface, acquiring data to be published based on the data entry interface;
[0010] The terminal publishes the data to be published on the main interface, and sends the data to be published to the cloud server, so that the cloud server saves the data to be published.
[0011] Further, in one embodiment, when the terminal receives the main interface data sent by the cloud server, after the step of displaying the main interface on the terminal screen based on the first preset format and the main interface data, the method further includes:
[0012] When the terminal detects a create upload data instruction triggered by the main interface, displaying a data upload interface based on the create upload data instruction;
[0013] When the terminal detects an upload instruction triggered by the data upload interface, acquiring data to be uploaded based on the data upload interface;
[0014] The terminal displays the data to be uploaded based on a preset rule, and sends the data to be uploaded to the cloud server, so that the cloud server saves the data to be uploaded.
[0015] Further, in one embodiment, when the terminal receives the main interface data sent by the cloud server, after the step of displaying the main interface on the terminal screen based on the first preset format and the main interface data, the method further includes:
[0016] The terminal performs a scanning operation upon receiving the scanning instruction, and determines whether a land identification number is included based on the scanning result;
[0017] When it is determined that the land identification number is included, the terminal sends the land identification number to the cloud server, so that the cloud server feeds back the traceability information corresponding to the land identification number;
[0018] When the terminal receives the tracing information sent by the cloud server, the tracing information is displayed on the current interface of the terminal.
[0019] Further, in one embodiment, when the terminal receives the main interface data sent by the cloud server, after the step of displaying the main interface on the terminal screen based on the first preset format and the main interface data, the method further includes:
[0020] When the terminal detects a create order instruction triggered by the main interface, an order interface is displayed based on the create order instruction;
[0021] When the terminal detects a payment instruction triggered by the order interface, displaying a payment interface;
[0022] When the terminal detects that the payment is completed, the terminal obtains order data based on the order interface and sends the order data to the cloud server.
[0023] Further, in one embodiment, when the terminal receives the main interface data sent by the cloud server, after the step of displaying the main interface on the terminal screen based on the first preset format and the main interface data, the method further includes:
[0024] When the terminal detects an interface switching instruction on the current interface, determining the ID of the interface to be switched based on the interface switching instruction;
[0025] The terminal sends an interface data request including the ID of the interface to be switched to the cloud server, so that the cloud server feeds back the interface data of the ID of the interface to be switched;
[0026] When the terminal receives the interface data sent by the cloud server, the terminal screen displays the interface to be switched based on the second preset format and the interface data.
[0027] Furthermore, in one embodiment, the agricultural data sharing method comprises the following steps:
[0028] When the terminal detects an account login operation and determines that the account has administrator authority, an administrator operation interface is displayed on the terminal screen;
[0029] When the terminal detects the system management instruction triggered by the administrator operation interface, the system management instruction is executed in a corresponding system management operation based on the administrator operation interface.
[0030] Furthermore, in one embodiment, it is characterized in that the step of the terminal detecting an account login operation and determining that the account has login authority includes:
[0031] When the terminal detects an account login operation, the terminal sends the account and the password corresponding to the account to the cloud server, so that the cloud server feeds back a login verification message;
[0032] When the terminal receives a login verification message sent by the cloud server within a preset time, determining whether the account has login permission based on the login verification message;
[0033] When the login verification message indicates that the login is passed, it is determined that the account has the login authority.
[0034] Furthermore, in one embodiment, the agricultural data sharing device comprises:
[0035] A sending module, when the terminal detects an account login operation and determines that the account has login authority, the terminal sends a main interface data request to the cloud server, so that the cloud server feeds back the main interface data;
[0036] A receiving module, when the terminal receives the main interface data sent by the cloud server, displays the main interface on the terminal screen based on a first preset format and the main interface data;
[0037] a display module, which, when the terminal detects a create agricultural task instruction triggered by the main interface, displays a data entry interface based on the create agricultural task instruction;
[0038] an acquisition module, which acquires the data to be published based on the data entry interface when the terminal detects the publishing task instruction triggered by the data entry interface;
[0039] The publishing module is used for the terminal to publish the data to be published on the main interface and to send the data to be published to the cloud server so that the cloud server can save the data to be published.
[0040] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, which includes: a memory, a processor, and an agricultural data sharing program stored in the memory and executable on the processor, and the agricultural data sharing program, when executed by the processor, implements the steps of any one of the above-mentioned agricultural data sharing methods.
[0041] In addition, to achieve the above-mentioned purpose, the present invention also provides a readable storage medium, on which an agricultural data sharing program is stored, and when the agricultural data sharing program is executed by a processor, the steps of any of the above-mentioned agricultural data sharing methods are implemented.
[0042] The present invention is that when the terminal detects an account login operation and determines that the account has login authority, the terminal sends a main interface data request to the cloud server, so that the cloud server feeds back the main interface data, and then when the terminal receives the main interface data sent by the cloud server, the terminal screen displays the main interface based on the first preset format and the main interface data, and then when the terminal detects the agricultural task creation instruction triggered by the main interface, the data entry interface is displayed based on the agricultural task creation instruction, and then when the terminal detects the task release instruction triggered by the data entry interface, the data to be released is obtained based on the data entry interface, and finally the terminal releases the data to be released on the main interface and sends the data to be released to the cloud server, so that the cloud server saves the data to be released. The cloud server saves agricultural production related data, the terminal collects agricultural production data, and calls the data in the cloud server in real time according to user needs, thereby realizing the sharing of agricultural data among agricultural departments at all levels, agricultural enterprises and the general public. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention;
[0044] Figure 2 This is a flow chart of the first embodiment of the agricultural data sharing method of the present invention;
[0045] Figure 3 This is a flow chart of a second embodiment of the agricultural data sharing method of the present invention;
[0046] Figure 4 It is a schematic diagram of the functional modules of the agricultural data sharing device of the present invention.
[0047] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0048] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0049] Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.
[0050] The terminal in the embodiment of the present invention may be a PC, or may be a mobile terminal device with a display function, such as a smart phone, a tablet computer, or a portable computer.
[0051] like Figure 1As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0052] Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the terminal can also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.
[0053] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0054] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an agricultural data sharing program.
[0055] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the agricultural data sharing program stored in the memory 1005.
[0056] In this embodiment, the terminal includes: a memory 1005, a processor 1001, and an agricultural data sharing program stored in the memory 1005 and executable on the processor 1001, wherein when the processor 1001 calls the agricultural data sharing program stored in the memory 1005, the steps of the agricultural data sharing method provided in each embodiment of the present application are executed.
[0057] The present invention also provides an agricultural data sharing method, referring to Figure 2 , Figure 2 This is a flow chart of the first embodiment of the agricultural data sharing method of the present invention.
[0058] In this embodiment, the agricultural data sharing method includes:
[0059] Step S10, when the terminal detects an account login operation and determines that the account has login permission, the terminal sends a main interface data request to the cloud server, so that the cloud server feeds back the main interface data;
[0060] In this embodiment, the agricultural data sharing system is designed to achieve: sharing and exchanging agricultural data between agricultural departments at all levels, agricultural enterprises and the general public to achieve the purpose of information interconnection; effectively monitoring the crop environment to achieve the best growth environment for crops and scientific fertilization, so that crops can obtain relatively high yields, thereby increasing farmers' income; identifying agricultural products and inputs through QR codes, bar codes, etc., to achieve effective management and quality and safety traceability of agricultural products and inputs, etc.
[0061] Furthermore, the agricultural data sharing system includes a cloud server and a terminal, wherein the cloud server is used to store agricultural data, such as soil nutrients, agricultural machinery operations, geography, meteorology, pesticides, plots of land, etc. Users log in to the agricultural data sharing system through the terminal to publish, upload data, and view data. Different users have different permissions in the agricultural data sharing system. For example, the administrator has the authority to approve and delete all data, and farmers and agricultural enterprises can publish data or delete the data they publish.
[0062] Specifically, when a user logs in to the agricultural data sharing system, he logs in using his account and password. After successful login, since the data of the agricultural data sharing system is stored in the cloud server, the terminal sends a main interface data request to the cloud server so that the cloud server feeds back the main interface data.
[0063] Step S20, when the terminal receives the main interface data sent by the cloud server, displaying the main interface on the terminal screen based on the first preset format and the main interface data;
[0064] In this embodiment, after the terminal sends a main interface data request to the cloud server, if the main interface data sent by the cloud server is successfully received within a preset time, the main interface of the agricultural data sharing system is displayed on the screen of the terminal according to a preset display format, wherein the preset display format is determined by the agricultural data sharing system framework and display style, and is not limited in the present invention.
[0065] Step S30, when the terminal detects the agricultural task creation instruction triggered by the main interface, a data entry interface is displayed based on the agricultural task creation instruction;
[0066] In this embodiment, after the user successfully logs in and displays the main interface of the agricultural data sharing system, the user can click on the menus, virtual buttons, pictures, etc. in the main interface as needed to perform related operations and switch interfaces.
[0067] Specifically, when a user wants to publish a message, he can trigger the creation of an agricultural task instruction by clicking a menu on the main interface. For example, if the user is a farmer, he can publish requirements such as fertilization, pesticide application, surveying and mapping, and testing, so that agricultural enterprises can understand the needs of farmers through the agricultural data sharing system and provide professional services. Furthermore, after the main interface triggers the creation of an agricultural task instruction, a data entry interface is displayed on the terminal screen, and the user enters the data to be published in the interface. It should be noted that the data entry interface may be different due to the different types of messages published by the user, and is determined according to actual conditions, and is not limited in the present invention.
[0068] Step S40, when the terminal detects the publishing task instruction triggered by the data entry interface, the data to be published is obtained based on the data entry interface;
[0069] In this embodiment, after the user completes data entry in the data entry interface according to the format required by the interface, the user can further perform a publishing operation, that is, trigger a publishing task instruction by clicking a menu or button on the data entry interface. When the terminal detects the publishing task instruction triggered on the data entry interface, the terminal obtains the data to be published from the data entry interface.
[0070] Step S50: the terminal publishes the data to be published on the main interface, and sends the data to be published to the cloud server, so that the cloud server saves the data to be published.
[0071] In this embodiment, after the user triggers the publishing task instruction by clicking a menu or button on the data entry interface, the terminal obtains the data to be published from the data entry interface, and further publishes the data to be published to the preset location of the main interface, and at the same time sends the data to be published to the cloud server. The cloud server stores all data of the agricultural data sharing system, and the cloud server supports the terminal's real-time call to the agricultural data sharing data.
[0072] Furthermore, in one embodiment, before step S10, the agricultural data sharing method further includes:
[0073] Step a, when the terminal detects an account login operation, sending the account and the password corresponding to the account to the cloud server, so that the cloud server feeds back a login verification message;
[0074] In this embodiment, the agricultural data sharing system is logged in through an account. When a user logs in through the login interface of the terminal, the cloud server needs to authenticate the user. The cloud server manages the data of the agricultural data sharing system in a unified manner, thus ensuring that the data of the agricultural data sharing system is unique. Specifically, when the terminal detects an account login operation, it sends the account and the password corresponding to the account to the cloud server, so that the cloud server can feedback a login verification message.
[0075] Step b, when the terminal receives a login verification message sent by the cloud server within a preset time, determining whether the account has login permission based on the login verification message;
[0076] Step c: when the login verification message indicates that the login is passed, determining that the account has login authority.
[0077] In this embodiment, after the terminal sends the account number and the password corresponding to the account number to the cloud server, if a login verification message is received within a preset time, it is determined whether the account number has login authority according to the login verification message, wherein the verification message includes login pass and login failure. That is, when the verification message received by the terminal is login pass, it is determined that the account number has login authority and can successfully log in to the agricultural data sharing system; when the verification message received by the terminal is login failure, it is determined that the account number has no login authority and cannot enter the agricultural data sharing system.
[0078] It should be noted that if the terminal does not receive the login verification message within the preset time, a prompt message indicating a login timeout is output on the current screen of the terminal.
[0079] The agricultural data sharing method proposed in this embodiment is that when the terminal detects an account login operation and determines that the account has login authority, the terminal sends a main interface data request to the cloud server so that the cloud server feeds back the main interface data, and then when the terminal receives the main interface data sent by the cloud server, the terminal screen displays the main interface based on the first preset format and the main interface data, and then when the terminal detects the agricultural task creation instruction triggered by the main interface, the data entry interface is displayed based on the agricultural task creation instruction, and then when the terminal detects the task release instruction triggered by the data entry interface, the data to be released is obtained based on the data entry interface, and finally the terminal releases the data to be released on the main interface and sends the data to be released to the cloud server so that the cloud server saves the data to be released. The cloud server saves agricultural production-related data, the terminal collects agricultural production data, and calls the data in the cloud server in real time according to user needs, thereby realizing the sharing of agricultural data among agricultural departments at all levels, agricultural enterprises and the general public.
[0080] Based on the first embodiment, refer to Figure 3 , a second embodiment of the agricultural data sharing method of the present invention is proposed. In this embodiment, after step S20, the method further includes:
[0081] Step S60, when the terminal detects the instruction to create data upload triggered by the main interface, a data upload interface is displayed based on the instruction to create data upload;
[0082] In this embodiment, after the user successfully logs in and displays the main interface of the agricultural data sharing system, the user can click on the menus, virtual buttons, pictures, etc. in the main interface as needed to perform related operations and switch interfaces.
[0083] Specifically, when users want to upload data in the agricultural data sharing system, they can trigger the creation of data upload instructions by clicking on the menu on the main interface. For example, farmers upload their own land area, aerial survey images, pesticide application amount, fertilizer application amount, crop type, crop yield and other information to the agricultural data sharing system, which is convenient for tracing back the land, that is, agricultural products, and at the same time, it is convenient for agricultural experts or government agencies to guide farmers to plant crops reasonably, avoid the phenomenon of "price without market" or "market without price", and achieve a balance between supply and marketing of agricultural products.
[0084] Further, after the main interface triggers the creation of the upload data instruction, the terminal screen displays the data upload interface, and the user enters the data to be uploaded in the interface. It should be noted that the data entry interface may be different due to different message types uploaded by the user, and is determined according to actual conditions and is not limited in the present invention.
[0085] Step S70, when the terminal detects an upload instruction triggered by the data upload interface, acquiring the data to be uploaded based on the data upload interface;
[0086] In this embodiment, after the user completes data loading in the data upload interface according to the format required by the interface, the user can further perform an upload operation, that is, trigger an upload instruction by clicking a menu or button on the data entry interface. When the terminal detects the upload instruction triggered on the data upload interface, the terminal obtains the data to be uploaded from the data upload interface.
[0087] In step S80, the terminal displays the data to be uploaded based on a preset rule, and sends the data to be uploaded to the cloud server, so that the cloud server saves the data to be uploaded.
[0088] In this embodiment, after the user triggers the upload instruction by clicking a menu or button on the data upload interface, the terminal obtains the data to be uploaded from the data upload interface, and further displays the data to be uploaded according to preset rules, and sends the data to be uploaded to the cloud server. The cloud server saves all data of the agricultural data sharing system, and the cloud server supports the terminal's real-time call to the agricultural data sharing data.
[0089] Furthermore, in one embodiment, after step S20, the agricultural data sharing method further includes:
[0090] Step d, when receiving the scanning instruction, the terminal performs a scanning operation and determines whether the land identification number is included based on the scanning result;
[0091] In this embodiment, there are roughly three types of traceability technologies: one is RFID wireless radio frequency technology, which affixes a label with a chip on the product packaging, and the product can automatically collect and read relevant information when it enters and leaves the warehouse and is transported, and the flow of the product can be recorded on the chip; one is a QR code, and consumers only need to shoot the QR code with a mobile phone with a camera to query the relevant information of the product. The query records will be retained in the system. Once the product needs to be recalled, a text message can be sent directly to the consumer to achieve accurate recall; another is a barcode plus product batch information (such as production date, production time, batch number, etc.), and this method does not increase the production cost of the production enterprise. In the present invention, tracing the source is to identify the land through QR codes and barcodes, so as to achieve effective management and quality safety tracing of the use of the land, agricultural products planted on the land, and inputs. Specifically, the terminal is used for scanning, and at this time, the land identification number is obtained by scanning the code.
[0092] Step e, when it is determined that the land identification number is included, the terminal sends the land identification number to the cloud server, so that the cloud server feeds back the traceability information corresponding to the land identification number;
[0093] In this embodiment, the terminal sends the land identification number identified in the QR code to the cloud server, and the cloud server uniformly manages the data of the agricultural data sharing system, thereby ensuring the uniqueness of the data in the agricultural data sharing system. After receiving the land identification number, the cloud server sends the traceability information corresponding to the land identification number to the terminal for the user to view.
[0094] Step f: When the terminal receives the traceability information sent by the cloud server, the traceability information is displayed on the current interface of the terminal.
[0095] In this embodiment, after the terminal receives the traceability information sent by the cloud server within a preset time, the traceability information is displayed on the current interface of the terminal for viewing the use of the land, agricultural products grown on the land, and inputs.
[0096] Furthermore, in one embodiment, after step S20, the agricultural data sharing method further includes:
[0097] Step g, when the terminal detects a create order instruction triggered by the main interface, displaying an order interface based on the create order instruction;
[0098] In this embodiment, when a user wants to purchase products in the agricultural data sharing system, the products may include fertilizers, pesticides, crop insurance, etc., and the creation order instruction may be triggered by clicking a menu on the main interface. Further, after the creation order instruction is triggered on the main interface, a data order interface is displayed on the terminal screen, and the user enters relevant data on the interface. It should be noted that the order interface may be different due to different products purchased by the user, and is determined according to actual conditions, and is not limited in the present invention.
[0099] Step h, when the terminal detects the payment instruction triggered by the order interface, displaying the payment interface;
[0100] In this embodiment, after the user completes entering the relevant information on the order interface, the user can pay for the order. At this time, the payment instruction is triggered by clicking a menu or button on the order interface, and then the payment interface is displayed on the current interface. The payment interface can be a third-party system, such as a payment portal provided by a financial institution, such as WeChat Pay, and the user can complete the payment operation on the payment interface.
[0101] Step i: When the terminal detects that the payment is completed, the terminal obtains order data based on the order interface and sends the order data to the cloud server.
[0102] In this embodiment, after the user completes the payment in the data payment interface, the terminal obtains the order data from the order interface and sends the order data to the cloud server for storage. The cloud server stores all the data of the agricultural data sharing system, and the cloud server supports the real-time call of the terminal to the agricultural data sharing data.
[0103] Furthermore, in one embodiment, after step S20, the agricultural data sharing method further includes:
[0104] Step j, when the terminal detects an interface switching instruction on the current interface, the terminal determines the ID of the interface to be switched based on the interface switching instruction;
[0105] In this embodiment, the user browses messages in the agricultural data sharing system. When clicking a menu or button on the interface to trigger an interface switching instruction, the terminal determines the ID of the interface to be switched according to the interface switching instruction and prepares for the interface switching.
[0106] Step k, the terminal sends an interface data request including the ID of the interface to be switched to the cloud server, so that the cloud server feeds back the interface data of the ID of the interface to be switched;
[0107] In this embodiment, since the data of the agricultural data sharing system is stored in the cloud server, the terminal sends an interface data request carrying the interface ID to be switched to the cloud server, so that the cloud server feeds back the interface data of the interface ID to be switched, and then displays the switching interface according to the interface data of the interface ID to be switched.
[0108] Step 1: When the terminal receives the interface data sent by the cloud server, the terminal screen displays the interface to be switched based on the second preset format and the interface data.
[0109] In this embodiment, after the terminal sends an interface data request to the cloud server, when the interface data sent by the cloud server is successfully received within a preset time, the interface data is displayed on the screen of the terminal according to a preset display format, that is, the interface to be switched is displayed, wherein the preset display format is determined by the agricultural data sharing system framework and display style, and is not limited in the present invention.
[0110] Furthermore, in one embodiment, after step S20, the agricultural data sharing method further includes:
[0111] Step m, when the terminal detects an account login operation and determines that the account has administrator authority, displaying an administrator operation interface on the terminal screen;
[0112] Step n: when the terminal detects the system management instruction triggered by the administrator operation interface, the system management instruction is executed in the corresponding system management operation based on the administrator operation interface.
[0113] In this embodiment, the agricultural data sharing system is logged in through an account. The user logs in through the login interface of the terminal. Different user identities have different permissions in the agricultural data sharing system. For example, the administrator has the authority to approve and delete all data, and farmers and agricultural enterprises can publish data or delete the data they publish. Specifically, when the terminal detects the account login operation and determines that the account has administrator authority, the administrator operation interface is displayed on the terminal screen. Furthermore, in the administrator operation interface, the administrator can perform batch data operations and perform data maintenance and management.
[0114] The extended sample method proposed in this embodiment is that when the terminal detects the creation upload data instruction triggered by the main interface, the data upload interface is displayed based on the creation upload data instruction, and then when the terminal detects the upload instruction triggered by the data upload interface, the data to be uploaded is obtained based on the data upload interface. Next, the terminal displays the data to be uploaded based on a preset rule and sends the data to be uploaded to the cloud server so that the cloud server saves the data to be uploaded. The cloud server saves agricultural production-related data, the terminal collects agricultural production data, and calls the data in the cloud server in real time according to user needs, thereby realizing the sharing of agricultural data among agricultural departments at all levels, agricultural enterprises and the general public.
[0115] The present invention further provides an agricultural data sharing device, referring to Figure 4 , Figure 4 It is a schematic diagram of the functional modules of an embodiment of the agricultural data sharing device of the present invention.
[0116] The receiving module 10 is configured to display the main interface on the terminal screen based on the first preset format and the main interface data when the terminal receives the main interface data sent by the cloud server;
[0117] The display module 20 displays a data entry interface based on the agricultural task creation instruction when the terminal detects the agricultural task creation instruction triggered by the main interface;
[0118] The collecting module 30 acquires the data to be published based on the data entry interface when the terminal detects the publishing task instruction triggered by the data entry interface;
[0119] The publishing module 40 is used for the terminal to publish the data to be published on the main interface, and to send the data to be published to the cloud server so that the cloud server can save the data to be published.
[0120] Furthermore, the agricultural data sharing device also includes:
[0121] A first display module, when the terminal detects a create upload data instruction triggered by the main interface, displays a data upload interface based on the create upload data instruction;
[0122] A first acquisition module, when the terminal detects an upload instruction triggered by the data upload interface, acquires the data to be uploaded based on the data upload interface;
[0123] The first sending module, the terminal displays the data to be uploaded based on a preset rule, and sends the data to be uploaded to the cloud server, so that the cloud server saves the data to be uploaded.
[0124] Furthermore, the agricultural data sharing device also includes:
[0125] a second acquisition module, wherein the terminal performs a scanning operation upon receiving a scanning instruction, and determines whether a land identification number is included based on the scanning result;
[0126] a second sending module, when determining that the land identification number is included, the terminal sends the land identification number to the cloud server, so that the cloud server feeds back the traceability information corresponding to the land identification number;
[0127] The second display module displays the traceability information on the current interface of the terminal when the terminal receives the traceability information sent by the cloud server.
[0128] Furthermore, the agricultural data sharing device also includes:
[0129] A third display module, when the terminal detects a create order instruction triggered by the main interface, displays an order interface based on the create order instruction;
[0130] A payment module, which displays a payment interface when the terminal detects a payment instruction triggered by the order interface;
[0131] The third sending module is used for obtaining order data based on the order interface and sending the order data to the cloud server when the terminal detects that the payment is completed.
[0132] Furthermore, the agricultural data sharing device also includes:
[0133] A third acquisition module, when the terminal detects an interface switching instruction on the current interface, determines the ID of the interface to be switched based on the interface switching instruction;
[0134] A fourth sending module, wherein the terminal sends an interface data request including the ID of the interface to be switched to the cloud server, so that the cloud server feeds back the interface data of the ID of the interface to be switched;
[0135] The fourth display module displays the interface to be switched based on the second preset format and the interface data on the terminal screen when the terminal receives the interface data sent by the cloud server.
[0136] Furthermore, the agricultural data sharing device also includes:
[0137] A fifth display module, when the terminal detects an account login operation and determines that the account has administrator authority, displays an administrator operation interface on the terminal screen;
[0138] The execution module is configured to execute the corresponding system management operation of the system management instruction based on the administrator operation interface when the terminal detects the system management instruction triggered by the administrator operation interface.
[0139] Furthermore, the agricultural data sharing device also includes:
[0140] A fifth sending module, when the terminal detects an account login operation, sends the account and the password corresponding to the account to the cloud server, so that the cloud server feeds back a login verification message;
[0141] A receiving module, when the terminal receives a login verification message sent by the cloud server within a preset time, determines whether the account has login permission based on the login verification message;
[0142] The judgment module determines that the account has the login permission when the login verification message indicates that the login is passed.
[0143] In addition, an embodiment of the present invention further proposes a readable storage medium, on which an agricultural data sharing program is stored. When the agricultural data sharing program is executed by a processor, the steps of the agricultural data sharing method in the above-mentioned embodiments are implemented.
[0144] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0145] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0146] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0147] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An agricultural data sharing method, applied to a terminal, It is characterized in that The agricultural data sharing method comprises the following steps: When the terminal detects an account login operation and determines that the account has login permission, the terminal sends a main interface data request to the cloud server, so that the cloud server feeds back the main interface data; When the terminal receives the main interface data sent by the cloud server, the main interface is displayed on the terminal screen based on the first preset format and the main interface data; When the terminal detects the agricultural task creation instruction triggered by the main interface, a data entry interface is displayed based on the agricultural task creation instruction; When the terminal detects a publishing task instruction triggered by the data entry interface, acquiring data to be published based on the data entry interface; The terminal publishes the data to be published on the main interface, and sends the data to be published to the cloud server, so that the cloud server saves the data to be published; When the terminal receives the main interface data sent by the cloud server, after the step of displaying the main interface on the terminal screen based on the first preset format and the main interface data, the method further includes: The terminal performs a scanning operation upon receiving the scanning instruction, and determines whether a land identification number is included based on the scanning result; When it is determined that the land identification number is included, the terminal sends the land identification number to the cloud server, so that the cloud server feeds back the traceability information corresponding to the land identification number; When the terminal receives the traceability information sent by the cloud server, the traceability information is displayed on the current interface of the terminal; as well as, When the terminal detects a create order instruction triggered by the main interface, an order interface is displayed based on the create order instruction; When the terminal detects a payment instruction triggered by the order interface, displaying a payment interface; When the terminal detects that the payment is completed, the terminal obtains order data based on the order interface and sends the order data to the cloud server.
2. The agricultural data sharing method according to claim 1, It is characterized in that After the step of displaying the main interface on the terminal screen based on the first preset format and the main interface data when the terminal receives the main interface data sent by the cloud server, the method further includes: When the terminal detects a create upload data instruction triggered by the main interface, displaying a data upload interface based on the create upload data instruction; When the terminal detects an upload instruction triggered by the data upload interface, acquiring data to be uploaded based on the data upload interface; The terminal displays the data to be uploaded based on a preset rule, and sends the data to be uploaded to the cloud server, so that the cloud server saves the data to be uploaded.
3. The agricultural data sharing method according to claim 1, It is characterized in that After the step of displaying the main interface on the terminal screen based on the first preset format and the main interface data when the terminal receives the main interface data sent by the cloud server, the method further includes: When the terminal detects an interface switching instruction on the current interface, determining the ID of the interface to be switched based on the interface switching instruction; The terminal sends an interface data request including the ID of the interface to be switched to the cloud server, so that the cloud server feeds back the interface data of the ID of the interface to be switched; When the terminal receives the interface data sent by the cloud server, the terminal screen displays the interface to be switched based on the second preset format and the interface data.
4. The agricultural data sharing method according to claim 1, It is characterized in that The agricultural data sharing method comprises the following steps: When the terminal detects an account login operation and determines that the account has administrator authority, an administrator operation interface is displayed on the terminal screen; When the terminal detects the system management instruction triggered by the administrator operation interface, the system management instruction is executed in a corresponding system management operation based on the administrator operation interface.
5. The agricultural data sharing method according to any one of claims 1 to 4, It is characterized in that The step of the terminal detecting an account login operation and determining that the account has login authority includes: When the terminal detects an account login operation, the terminal sends the account and the password corresponding to the account to the cloud server, so that the cloud server feeds back a login verification message; When the terminal receives a login verification message sent by the cloud server within a preset time, determining whether the account has login permission based on the login verification message; When the login verification message indicates that the login is passed, it is determined that the account has the login authority.
6. An agricultural data sharing device, It is characterized in that The agricultural data sharing device comprises: A sending module, when the terminal detects an account login operation and determines that the account has login permission, the terminal sends a main interface data request to the cloud server, so that the cloud server feeds back the main interface data; A receiving module, when the terminal receives the main interface data sent by the cloud server, displays the main interface on the terminal screen based on a first preset format and the main interface data; a display module, which, when the terminal detects a create agricultural task instruction triggered by the main interface, displays a data entry interface based on the create agricultural task instruction; an acquisition module, which acquires the data to be published based on the data entry interface when the terminal detects the publishing task instruction triggered by the data entry interface; A publishing module, wherein the terminal publishes the data to be published on the main interface, and sends the data to be published to the cloud server so that the cloud server saves the data to be published; The agricultural data sharing device also includes: a second acquisition module, wherein the terminal performs a scanning operation upon receiving a scanning instruction, and determines whether a land identification number is included based on the scanning result; a second sending module, when determining that the land identification number is included, the terminal sends the land identification number to the cloud server, so that the cloud server feeds back the traceability information corresponding to the land identification number; A second display module, when the terminal receives the traceability information sent by the cloud server, displays the traceability information on the current interface of the terminal; A third display module, when the terminal detects a create order instruction triggered by the main interface, displays an order interface based on the create order instruction; A payment module, which displays a payment interface when the terminal detects a payment instruction triggered by the order interface; The third sending module is used for obtaining order data based on the order interface and sending the order data to the cloud server when the terminal detects that the payment is completed.
7. A terminal, It is characterized in that The terminal includes: a memory, a processor, and an agricultural data sharing program stored in the memory and executable on the processor. When the agricultural data sharing program is executed by the processor, the steps of the agricultural data sharing method as described in any one of claims 1 to 5 are implemented.
8. A readable storage medium, It is characterized in that The agricultural data sharing program is stored on the readable storage medium, and when the agricultural data sharing program is executed by the processor, the steps of the agricultural data sharing method as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Remote sensing data publishing method based on cloud storage system
CN103812934A
Agricultural things-internet platform architecture
CN104766153A
Facility agriculture agricultural product information management system and construction method thereof
CN108229982A
Crop tracing data system
CN108615161A
A cloud computing agricultural information classification and encryption management system
CN109308419A
