A kind of cloud computing agricultural information classification encryption handling system
Technical field
The present invention relates to agricultural data systems, more specifically to a kind of cloud computing agricultural information classification encryption handling
System.
Background technique
Agriculture (Agriculture) is the growth-development law using animals and plants, obtains product by artificial culture
Industry.Agricultural belongs to the primary industry, and the science for studying agricultural is agronomy.The subject of labour of agricultural is lived animals and plants, is obtained
The product obtained is animals and plants itself.Agricultural is to provide the basic industry of the support development of the national economy and development.And with network skill
The development of art, the collection for Agricultural Information are conducive to the trend study to agricultural, the analysis to weather, environment, are agriculture
Important judgement and guidance are made in development, and if Agricultural Information leaks, can bring detrimental effect, and if using complicated
Encryption technology Agricultural Information is encrypted, and be unfavorable for calling or management to Agricultural Information.
Prior art 1:CN106327346A discloses a kind of mobile service platform system and mobile terminal, passes through movement
Communication network realizes the communication of intelligent mobile terminal and server, provides all kinds of agricultural information services for mobile terminal user.Institute
Stating Agricultural Information mobile service platform system includes server and the mobile terminal.Server includes the communication server, video
Server, interface server, mobile terminal include power module, network communication module, video display module, input module, and
And mobile terminal uses customization mode, by Agricultural Information Information Mobile Service functional hardware Custom modules in mobile terminal.About net
The software security problem of network communication, WiFi network that software is commonly used are simultaneously not always believable.For example, open network or
In weak refined net, connector can monitor network flow;Attacker can oneself setting WiFi network fishing.In addition, obtaining
After obtaining root authority, network data can also be monitored in android system.System design is in SSL/TLS communication, client
Judge whether server is credible by digital certificate, and coded communication is carried out with server using the public key in certificate.In code
In more accurately directly verify whether certain specific certificate.Network Communicate Security when to guarantee using WiFi network.
Prior art 2:CN106768042A discloses a kind of Agricultural Information real-time remote monitoring system based on photovoltaic technology
System and monitoring method.The monitoring system includes power supply, first order information storage processing mould group, multiple information monitoring mould groups, letter
Breath transmission mould group, second-level message storage processing mould group and display control terminal, the power supply is used to be distributed based on photovoltaic technology
Formula power management provides electric energy and stores the work shape that processing mould group controls the information monitoring mould group by first order information
State, the real-time collection site fo environmental agriculture information of information monitoring mould group, and by first order information store processing mould group processing after,
The second-level message storage processing mould group, the second-level message storage processing mould group are transmitted to through information transmission mould group
After being processed to the real-time live Agricultural Information received, it is whole to the display control to feed back processed Agricultural Information
End.Agricultural Information real-time remote monitoring system of the invention improves operation possibility, realizes the transparent of crop growth environment parameter
Change, facilitate operating personnel improves crop growth environment in real time, optimizes growth environment.It is supervised as above-mentioned Agricultural Information real time remote
The further improvement of examining system 2, in above-mentioned signals transmission, the Agricultural Information real-time remote monitoring system 2 can be with
Increase encryption device, the encryption device is transmitted to the information storage processing mould group 27 to from the information monitoring mould group 23
Real-time Agricultural Information carries out encrypted transmission, and the reality of processing mould group 27 to the display control terminal 29 is stored from the information
When Agricultural Information carry out encrypted transmission, ensure data safety.
Prior art 3:CN106327346A discloses a kind of mobile service platform system and mobile terminal, passes through movement
Communication network realizes the communication of intelligent mobile terminal and server, provides all kinds of agricultural information services for mobile terminal user.Institute
Stating Agricultural Information mobile service platform system includes server and the mobile terminal.Server includes the communication server, video
Server, interface server, mobile terminal include power module, network communication module, video display module, input module, and
And mobile terminal uses customization mode, by Agricultural Information Information Mobile Service functional hardware Custom modules in mobile terminal.About net
The software security problem of network communication, WiFi network that software is commonly used are simultaneously not always believable.For example, open network or
In weak refined net, connector can monitor network flow;Attacker can oneself setting WiFi network fishing.In addition, obtaining
After obtaining root authority, network data can also be monitored in android system.System design is in SSL/TLS communication, client
Judge whether server is credible by digital certificate, and coded communication is carried out with server using the public key in certificate.In code
In more accurately directly verify whether certain specific certificate.Network Communicate Security when to guarantee using WiFi network.
However, although the above-mentioned prior art refers to encrypt relevant Agricultural Information, but there is no provided
The cryptographic means of body in view of this, being badly in need of one kind based on cloud computing, and can play one and obtain to shared, the collection of information
While more convenient, it is ensured that the safety and reliability of information makes information be not easy the agricultural information classification to outflow encryption
Management system.
Summary of the invention
In view of this, it is an object of the present invention to provide a kind of cloud computing agricultural information classification encryption handling system, on solving
State problem.
In order to solve the above-mentioned technical problem, the technical scheme is that a kind of cloud computing agricultural information classification encryption pipe
Reason system, including several user terminals and central server, each user terminal are configured with user information, and the user terminal is for defeated
Entering and store Agricultural Information, the Agricultural Information includes geological information, climate information, Crop Information and plantation policy information,
Each user terminal is all connected to the central server, and the central server is configured with Classification Management database and divides
Generic module;
The categorization module classifies to the data in the Classification Management database by a classification policy, and described point
Class strategy include building classified index, by classified index by the agricultural information classification passed through to the Classification Management database not
Same partition holding;
The user terminal includes uploading module, download module and sharing module;
Agricultural Information is uploaded to the central server, the central server by uploading strategy by the uploading module
The Agricultural Information received is stored to the Classification Management database;The user information includes primary user coding and two
Grade is subscriber-coded;The upload strategy includes rights encryption strategy and information encryption policy, passes through the rights encryption strategy
The plantation policy information is encrypted, the primary user is encoded to the corresponding key of the rights encryption strategy;Pass through institute again
The plantation policy information that information encryption policy encrypts is stated, it is corresponding that the secondary user is encoded to the information encryption policy
Key;
The download module downloads corresponding Agricultural Information from the central server by download policy;The downloading plan
Slightly include generating a downloading solicited message, the downloading solicited message is sent to the central server, the center service
Device will acquire the corresponding Agricultural Information according to the content of downloading solicited message and be sent to corresponding user terminal;
The sharing module obtains user information from other users end by a sharing policy;The sharing module includes altogether
Transmission unit and shared receiving unit are enjoyed, for the shared transmission unit for generating sharing request information, the shared reception is single
Member generates corresponding shared License Info for receiving the sharing request information, and the shared License Info connects according to shared
The user information for receiving the user terminal where unit generates;
The parsing module plants policy information by a parsing policy resolution, when the parsing module passes through primary user
When code parsing plants policy information, the initial plantation policy information is shown in the user terminal by a display protocol;
When the parsing module is by plantation policy information described in secondary parsing policy resolution, initial plantation policy information is obtained.
Further: the classified index includes geological information, climate information and Crop Information.
Further: the classified index includes geology association substrategy, weather association substrategy and crop association
Substrategy, for being associated with two different geological informations, two associated geological informations are regarded the geology association substrategy
For same geological information;The weather association substrategy is for being associated with two different climatic informations, two associated weathers
Information is considered as same climatic information;The crop association substrategy is associated for being associated with two different Crop Informations
Two Crop Informations are considered as same Crop Information.
Further: the user terminal is configured with encrypting module, and the encrypting module encrypts institute by the first encryption policy
Primary user coding is stated to obtain the first encrypting plaintext and corresponding first key, the first key is sent in described
Central server, first encrypting plaintext are stored to the user terminal.
Further: the encrypting module encrypts secondary user's coding by the second encryption policy and is added with obtaining second
Corresponding second decryption policy of close plaintext level-one, second decryption policy is for decrypting second encrypting plaintext, and described the
Two encrypting plaintexts are sent to central server, and second decryption policy is configured in corresponding user terminal.
Further: further including shared group, each shared group includes several user terminals, and the shared group is provided with shared deposit
Storage area, each user terminal store corresponding shared information to the shared memory, and can be from corresponding shared memory tune
With the shared information, the shared information includes the network address of user terminal.
Further: the shared information includes primary user coding.
Further: the plantation policy information includes several plantation sub-informations, and the plantation sub-information is divided into plantation side
Method information, plantation log information, plantation sample intelligence and plantation amount information.
Further: the central server is configured with retrieval module, and user terminal can be by accessing the retrieval module
Search condition is inputted, the retrieval module obtains corresponding agricultural letter according to the search condition from the central server
Breath.
Further: the search condition includes geological conditions, weather conditions and crops condition, the geological conditions,
Weather conditions and crops condition are corresponding with the geological information, climate information and Crop Information respectively.
The technology of the present invention effect major embodiment is in the following areas: being arranged in this way, can play one and be total to information
Enjoy, collect obtain it is more convenient while, it is ensured that the safety and reliability of information makes information be not easy to outflow.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1: the system architecture schematic diagram of cloud computing agricultural information classification encryption handling system of the invention;
Fig. 2: the user terminal schematic diagram of cloud computing agricultural information classification encryption handling system of the invention.
Appended drawing reference: 1, user terminal;11, uploading module;12, download module;13, sharing module;131, it shares and sends mould
Block;131, receiving module is shared;14, parsing module;15, encrypting module;2, central server;3, Classification Management database;4,
Shared group;41, shared memory.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art's every other embodiment obtained belong to what the present invention protected
Range.Below in conjunction with attached drawing, a specific embodiment of the invention is described in further detail, so that technical solution of the present invention is easier to
Understand and grasps.
Referring to Fig.1 shown in, a kind of cloud computing agricultural information classification encryption handling system, including several user terminals 1 and in
Central server 2, each user terminal 1 are configured with user information, and the user terminal 1 is for inputting and storing Agricultural Information, the agriculture
Industry information includes that geological information, climate information, Crop Information and plantation policy information, each user terminal 1 are all connected to
The central server 2, the central server 2 are configured with Classification Management database 3 and categorization module;User information first
Be according to user terminal 1 configure, have following two embodiment, first is that user information may belong to verification information, by with
The information of the cooperation of family end 1 and user's input generates, and second is direct configuration inside user terminal 1, and user can not call use
Family information can only could use user information by preset formula, and Agricultural Information then includes extremely complex information system,
Such as geological information reflects soil regime, physical location situation, may determine that the crop for being suitble to growth, and gas according to these situations
Waiting information then is to reflect the key of the weather conditions such as humidity, temperature, precipitation and plant growth, and Crop Information is then reflection
The type of crop, investment situation, output situation etc., and plant policy information reflection implantation methods, mode, utilize backman
Tool, the treating method for applying fertilizer and other special circumstances, and plant policy information then and be the pass in each Agricultural Information
Key information needs to maintain secrecy as far as possible, and in order to promote agricultural development, sharing functionality can be provided in system, and guarantee
The safety for planting policy information, is realized especially by following functions.
The categorization module classifies to the data in the Classification Management database 3 by a classification policy, described
Classification policy includes building classified index, by classified index by the agricultural information classification passed through to the Classification Management database
3 different partition holdings;And retrieve for convenience, then partition holding is constructed by search index, improves recall precision, and it is general
It is all that the effect of data storage to get optimal data, is played by climatic information, Crop Information or soil information
Fruit.
The user terminal 1 includes uploading module 11, download module 12 and sharing module 13.
Agricultural Information is uploaded to the central server 2 by uploading strategy by the uploading module 11, it is described in it is genuinely convinced
Business device 2 stores the Agricultural Information received to the Classification Management database 3;The user information includes primary user coding
And secondary user's coding;The upload strategy includes rights encryption strategy and information encryption policy, is added by the permission
Close strategy encrypts the plantation policy information, and the primary user is encoded to the corresponding key of the rights encryption strategy;Again
The plantation policy information encrypted by the information encryption policy, the secondary user are encoded to the information encryption policy
Corresponding key;It is the definition of uploading module 11 first, uploading module 11 plays the effect of data upload, guarantees data
Safety and reliability, and the crypticity of data is improved, and primary user coding and secondary user's coding are stored in simultaneously
User terminal 1, so will not be had an impact to the information security of user terminal 1 even if the heatstroke of database leaks, if obtained
Primary user coding, then can only possess the reading permission to plantation policy information, there is no download permissions, can not be by file again
Other people are shared to, and another secondary user encodes, then can obtain entire file, that is to say, that the mode of authorization is different, then
Different effects can be played.
The download module 12 downloads corresponding Agricultural Information from the central server 2 by download policy;Under described
Carrying strategy includes generating a downloading solicited message, and the downloading solicited message is sent to the central server 2, the center
Server 2 will acquire the corresponding Agricultural Information according to the content of downloading solicited message and be sent to corresponding user terminal 1;Downloading
Module 12 carries out the downloading and use of data by download policy, and by downloading Agricultural Information from central server 2, play one
A preferable downloading effect, and what is downloaded is encrypted plantation policy information, so if without corresponding user information, together
Sample can not obtain data content, and such downloading mode, and data acquisition efficiency can be improved, the biggish data of data volume are obtained
Get corresponding user terminal 1.
The sharing module 13 obtains user information from other users end 1 by a sharing policy;The sharing module 13
Including shared transmission unit and shared receiving unit, the shared transmission unit is described shared for generating sharing request information
Receiving unit for receiving the sharing request information to generate corresponding shared License Info, the shared License Info according to
The user information of user terminal 1 where shared receiving unit generates;Sharing module 13 is used as the most important ring of user terminal 1, packet
Include two units, a shared transmission unit for generating sharing request information, and sends sharing request information to corresponding
User terminal 1, and shared receiving unit is used to receive sharing request information, then user terminal 1 believes shared license after license
Breath is sent to corresponding user terminal 1, and shared License Info is obtained with corresponding user information by parsing, to parse
Corresponding plantation policy information, it should be noted that corresponding with plantation policy information when user information, that is to say, that if one
A user terminal 1 has multiple plantation policy informations, then corresponding, the primary user coding and secondary user's coding of user information
Quantity be also to be correspondingly arranged, and likewise, can only send corresponding information to corresponding user terminal 1.
The parsing module 14 plants policy information by a parsing policy resolution, when the parsing module 14 passes through level-one
When subscriber-coded parsing plantation policy information, the initial plantation strategy is shown in the user terminal 1 by a display protocol
Information;When the parsing module 14 is by plantation policy information described in secondary parsing policy resolution, initial plantation plan is obtained
Slightly information.
The classified index includes geological information, climate information and Crop Information.The classified index includes geology
It is associated with substrategy, weather association substrategy and crop and is associated with substrategy, the geology association substrategy is for being associated with two not
Same geological information, two associated geological informations are considered as same geological information;The weather association substrategy is for closing
Join two different climatic informations, two associated climatic informations are considered as same climatic information;The crop is associated with sub- plan
Slightly for being associated with two different Crop Informations, two associated Crop Informations are considered as same Crop Information.Pass through classification
The mode of index carries out information classification, and can specifically be classified by closing inspection word, and can be by the pass of equivalent different content
Keyword is regarded as a keyword and classifies, and improves classifying quality.
The user terminal 1 is configured with encrypting module 15, and the encrypting module 15 passes through the first encryption policy encryption described one
Grade is subscriber-coded to be sent to genuinely convinced in described to obtain the first encrypting plaintext and corresponding first key, the first key
Business device 2, first encrypting plaintext are stored to the user terminal 1.The encrypting module 15 is encrypted by the second encryption policy
To obtain corresponding second decryption policy of the second encrypting plaintext level-one, second decryption policy is used for secondary user's coding
Second encrypting plaintext is decrypted, second encrypting plaintext is sent to central server 2, and second decryption policy is matched
It is placed in corresponding user terminal 1.It is encrypted by encrypting module 15, improves Information Security and reliability, guarantee data security.
It further include shared group 4, each shared group 4 includes several user terminals 1, and the shared group 4 is provided with shared memory
41, each user terminal 1 stores corresponding shared information to the shared memory 41, and can be from corresponding shared memory 41
The shared information is called, the shared information includes the network address of user terminal 1.The shared information includes that primary user is compiled
Code.The setting of shared group 4 can play the effect of a data sharing, and the user terminal 1 in shared group 4 can share use each other
Family information or other information about plantation, can thus construct the planting information sharing mode of near field, improve
Agricultural technology development.
The plantation policy information includes several plantation sub-informations, and the plantation sub-information is divided into implantation methods information, kind
Log information, plantation sample intelligence and plantation amount information are planted, implantation methods information records the implantation methods of user, plants log
Information records the actual conditions in planting process, after plantation sample intelligence record plantation the case where finished product, plantation amount information record
Plant input amount and plantation harvest yield.The central server 2 is configured with retrieval module, and user terminal 1 can be by described in access
Retrieval module inputs search condition, and the retrieval module obtains correspondence according to the search condition from the central server 2
Agricultural Information.The search condition includes geological conditions, weather conditions and crops condition, the geological conditions, weather item
Part and crops condition are corresponding with the geological information, climate information and Crop Information respectively.The setting of retrieval module, Ke Yiti
High effect data effect, assuring data security and reliability.
Certainly, above is representative instance of the invention, and in addition to this, the present invention can also have other a variety of specific implementations
Mode, all technical solutions formed using equivalent substitution or equivalent transformation, is all fallen within the scope of protection of present invention.