CN106792009A - A kind of plant image transmission method and device based on cultivation box - Google Patents
A kind of plant image transmission method and device based on cultivation box Download PDFInfo
- Publication number
- CN106792009A CN106792009A CN201611088622.XA CN201611088622A CN106792009A CN 106792009 A CN106792009 A CN 106792009A CN 201611088622 A CN201611088622 A CN 201611088622A CN 106792009 A CN106792009 A CN 106792009A
- Authority
- CN
- China
- Prior art keywords
- cultivation box
- plant image
- public key
- key
- download address
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/633—Control signals issued by server directed to the network components or client
- H04N21/6332—Control signals issued by server directed to the network components or client directed to client
- H04N21/6334—Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key
- H04N21/63345—Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key by transmitting keys
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N1/32101—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
- H04N1/32144—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
- H04N1/32149—Methods relating to embedding, encoding, decoding, detection or retrieval operations
- H04N1/32267—Methods relating to embedding, encoding, decoding, detection or retrieval operations combined with processing of the image
- H04N1/32272—Encryption or ciphering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/27—Server based end-user applications
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of plant image transmission method based on cultivation box, the method is applied to server, comprises the following steps:Receive requesting party transmission for plant image it is upper by reference or download address acquisition ask when, the public key of generation is sent to requesting party, using private key requesting party is sent to upper by reference or after download address is encrypted, requesting party using public key to encryption after it is upper by reference or download address is decrypted, after based on decryption it is upper by reference or download address carries out the transmission of plant image, requesting party is cultivation box or terminal.The method provided using the embodiment of the present invention, it is ensured that the security of address transmission, while ensure that the safe transmission of cultivation box interplantation object image so that user can in time recognize plant growth state, improve Consumer's Experience.The invention also discloses a kind of plant image transmitting device based on cultivation box, with corresponding technique effect.
Description
Technical field
The present invention relates to image transmission technology field, more particularly to a kind of plant image transmission method based on cultivation box
And device.
Background technology
With the raising of social life level, the cultivation box such as hydroponic box is gradually popularized.Cultivation box majority is applied to growth week
The plantation of phase shorter small-sized vegetable plant, can reach the purpose of home decoration, amusement and child-parent education.
Many in cultivation box to be provided with camera, to shoot cultivation box implants picture or video, cultivation box will can plant
Object image is uploaded onto the server specified location, is facilitated user to download and is checked, to understand the growth shape of cultivation box implants in time
State, meanwhile, these plant images can be also used for plant research, teaching etc..
When cultivation box needs to upload onto the server plant image, it is necessary to server is provided by reference.At present, service
Device is mostly supplied on cultivation box by reference by clear-text way, it is easy to is caused to upload the leakage of address information, is made juridical-person
Member easily intercepts and captures plant image, causes the leakage of plant image information so that user cannot in time understand plant growth state, shadow
Ring Consumer's Experience.
The content of the invention
It is an object of the invention to provide a kind of plant image transmission method and device based on cultivation box, to ensure cultivation box
The safe transmission of interplantation object image so that user can in time recognize plant growth state, lifts Consumer's Experience.
In order to solve the above technical problems, the present invention provides following technical scheme:
A kind of plant image transmission method based on cultivation box, is applied to server, and methods described includes:
Receive upper the first acquisition request by reference for the first plant image that cultivation box sends;
Obtain request according to described first, generate first plant image it is upper by reference with first key pair, it is described
First key is to comprising the first public key and the first private key;
First public key is sent to the cultivation box;
Using on described in first private key encryption by reference;
The cultivation box is sent to by reference on described after by encryption, so that the cultivation box uses first public key
It is decrypted by reference on described after to encryption, and first plant image is uploaded by reference according on described.
In a kind of specific embodiment of the invention, it is described by first public key be sent to the cultivation box it
Afterwards, it is described using on described in first private key encryption by reference before, also include:
Determine whether to receive the confirmation that the cultivation box is returned in the first duration of setting;
If it is, perform it is described using on described in first private key encryption by reference the step of.
In a kind of specific embodiment of the invention, also include:
If not receiving the confirmation that the cultivation box is returned in first duration, described general is repeated
The step of first public key is sent to the cultivation box, until number of repetition reaches setting first threshold.
A kind of plant image transmission method based on cultivation box, is applied to server, and methods described includes:
Second acquisition request of the download address for the second plant image that receiving terminal sends;
The download address of second plant image is searched in the address base being obtained ahead of time;
The second key pair is generated, second key is to comprising the second public key and the second private key;
Second public key is sent to the terminal;
Use download address described in second private key encryption;
The download address after by encryption is sent to the terminal, so that the terminal is added using second public key pair
The download address after close is decrypted, and downloads second plant image according to the download address.
In a kind of specific embodiment of the invention, it is described second public key is sent to the terminal after,
Before download address described in the use second private key encryption, also include:
Determine whether to receive the confirmation that the terminal is returned in the second duration of setting;
If it is, the step of performing download address described in the use second private key encryption.
In a kind of specific embodiment of the invention, also include:
If not receiving the confirmation that the terminal is returned in second duration, repeat described by institute
The step of stating the second public key and be sent to the cultivation box, until number of repetition reaches setting Second Threshold.
A kind of plant image transmitting device based on cultivation box, is applied to server, and described device includes:
First obtains request receiving module, for receive cultivation box transmission for first plant image it is upper by reference
First obtains request;
Address and key production module, for obtaining request according to described first, generate the upper of first plant image
By reference with first key pair, the first key is to comprising the first public key and the first private key;
First public key sending module, for first public key to be sent into the cultivation box;
Address encryption module is uploaded, for using on described in first private key encryption by reference;
On sending module by reference, for being sent to the cultivation box by reference on described after by encryption, so that described
Cultivation box using first public key to encryption after it is described on be decrypted by reference, and upload institute by reference according on described
State the first plant image.
In a kind of specific embodiment of the invention, also include:
First confirmation receiver module, for first public key to be sent to after the cultivation box described, really
It is fixed whether the confirmation that the cultivation box is returned to be received in the first duration of setting, if it is, triggering is described to upload ground
Location encrypting module.
In a kind of specific embodiment of the invention, also include:
First repeats module, for not receiving the confirmation that the cultivation box is returned in first duration
When, the first public key sending module described in repeated trigger, until number of repetition reaches setting first threshold.
A kind of plant image transmitting device based on cultivation box, is applied to server, and described device includes:
Second obtains request receiving module, for the download address for second plant image that receiving terminal sends
Second acquisition request;
Download address searching modul, the download ground for searching second plant image in the address base being obtained ahead of time
Location;
To generation module, for generating the second key pair, second key is to comprising the second public key and for second key
Two private keys;
Second public key sending module, for second public key to be sent into the terminal;
Download address encrypting module, for using download address described in second private key encryption;
Download address sending module, the terminal is sent to for the download address after by encryption, so that the end
Hold using second public key to encryption after the download address be decrypted, and download described the according to the download address
Two plant images.
In a kind of specific embodiment of the invention, also include:
Second confirmation receiver module, for second public key to be sent to after the terminal described, it is determined that
Whether the confirmation that the terminal is returned is received in the second duration of setting, if it is, trigger the download address adding
Close module.
In a kind of specific embodiment of the invention, also include:
Second repeats module, for not receiving the confirmation that the terminal is returned in second duration
When, the second public key sending module described in repeated trigger, until number of repetition reaches setting Second Threshold.
The technical scheme provided using the embodiment of the present invention, server to plant image it is upper by reference or download ground
Location is sent to requesting party after being encrypted, it is ensured that the security of address transmission, further ensures cultivation box implants
The safe transmission of image so that user can in time recognize plant growth state, improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of implementing procedure figure of the plant image transmission method based on cultivation box in the embodiment of the present invention;
Fig. 2 is the implementing procedure figure of another plant image transmission method based on cultivation box in the embodiment of the present invention;
Fig. 3 is a kind of structural representation of plant image transmitting device based on cultivation box corresponding with Fig. 1;
Fig. 4 is a kind of structural representation of plant image transmitting device based on cultivation box corresponding with Fig. 2.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiment is only a part of embodiment of the invention, rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise
Lower obtained every other embodiment, belongs to the scope of protection of the invention.
A kind of plant image transmission method based on cultivation box is the embodiment of the invention provides, the method can apply to clothes
Business device, server is communicated to connect with cultivation box.
It is shown in Figure 1, a kind of plant image transmission method based on cultivation box provided by the embodiment of the present invention
Implementing procedure figure, the method may comprise steps of:
S110:Receive upper the first acquisition request by reference for the first plant image that cultivation box sends.
In embodiments of the present invention, plant image can be plant picture or plant video.
Image collecting device is installed in cultivation box, cultivation box implants can be gathered irregularly or according to setting cycle
Image.When cultivation box in the plant image for reaching setting by after image acquisition device to the first plant image, uploading and touching
, it is necessary to during the first plant image is uploaded onto the server during clockwork spring part.Such as, there is upload demand when just plant image is collected,
Or have upload demand when the size of the plant image for collecting reaches predetermined threshold value.In this case, cultivation box can be with
Upper the first acquisition request by reference for the first plant image is sent to server.
After server receives the first acquisition request of cultivation box transmission, the operation of step S120 can be continued executing with.
In embodiments of the present invention, server, can first to planting after the first acquisition request for receiving cultivation box transmission
The legitimacy for planting case is verified, specifically, can be verified by the identification number of cultivation box, to determine that whether cultivation box can
Plant image is enough uploaded, if it is, continuing executing with the operation of step S120, otherwise, server can be asked to first acquisition
Ask and do not process.
S120:According to first obtain request, generation the first plant image it is upper by reference with first key pair.
Wherein, first key is to comprising the first public key and the first private key.
After server receives the upper first acquisition request by reference for the first plant image of cultivation box transmission, can
With according to this first obtain request, be the first plant image distribution storage location, generation the first plant image it is upper by reference.Together
When, server can also generate first key pair according to the first acquisition request.The first key is to comprising the first public key and
One private key.Specifically, server can generate the first key pair using RSA function libraries.
S130:First public key is sent to cultivation box.
Server generates first key to rear, the first public key of first key centering can be sent into cultivation box.Enter one
Step can continue executing with the operation of step S140.
In a kind of specific embodiment of the invention, after step s 130, before step S140, can also include with
Lower step:
Determine whether to receive the confirmation that cultivation box is returned in the first duration of setting, if it is, performing step
The operation of S140.
After first public key is sent to cultivation box by server, if cultivation box normally receives first public key, can be with
Return to confirmation.Because mostly between server and cultivation box connected by internet, if there is network connection interruption etc.
Situation, will cause that cultivation box cannot normally receive first public key, or, it is impossible to the information of will confirm that returns to server.Separately
In external first public key transmitting procedure, it is also possible to intercepted by unauthorized person so that cultivation box cannot normally receive first public affairs
Key.
Server can start a timer after the first public key is sent into cultivation box, if server is in setting
The confirmation of cultivation box return is received in first duration, then can continue executing with the operation of step S140.
If not receiving the confirmation of cultivation box return in the first duration, can repeat step S130's
Operation, until number of repetition reaches setting first threshold.
Server does not receive the confirmation of cultivation box return in the first duration, can repeat to send the first public key,
Until number of repetition reaches setting first threshold.First threshold can be set and be adjusted according to actual conditions.
In this way it can be ensured that the download address after being encrypted in the case of being communicated normally between server and cultivation box
Transmission, enhance the security of download address information.
S140:Using in the first private key encryption by reference.
Server using first key centering the first private key encryption generate the first plant image it is upper by reference.
S150:Upper after by encryption is sent to cultivation box by reference so that cultivation box using the first public key to encryption after
On be decrypted by reference, and upload the first plant image by reference according to upper.
By step S130, the first public key is sent to cultivation box by server, and cultivation box can obtain the first public key.By
Step S150, server by encryption after it is upper be sent to cultivation box by reference, cultivation box can be encrypted after it is upper by reference.
So, cultivation box can using the first public key to encryption after it is upper be decrypted by reference, obtain the first plant image upload
Address, and according to uploading the first plant image on this by reference.
The method provided using the embodiment of the present invention, server receive cultivation box transmission for the first plant image
It is upper by reference first acquisition request after, can according to this first obtain request, generation the first plant image it is upper by reference
With first key pair, first key centering include the first public key and the first private key.First public key is sent to cultivation box by server,
And using in the first private key encryption by reference, by encryption after upper be sent to cultivation box by reference.Cultivation box uses the first public key
Upper after to encryption is decrypted by reference, and uploads the first plant image by reference according to upper.Server uses the first private key
To it is upper be encrypted by reference after be transferred to cultivation box, it is ensured that on the security transmitted by reference, cultivation box itself pair plus
Upper after close is reused after being decrypted by reference and uploads plant image on this by reference, it is ensured that cultivation box interplantation object image
Safe transmission so that user can in time recognize plant growth state, improve Consumer's Experience.
It is shown in Figure 2, it is another plant image transmission method based on cultivation box provided in an embodiment of the present invention
Implementing procedure figure, the method may comprise steps of:
S210:Second acquisition request of the storage address for the second plant image that receiving terminal sends.
When user has the demand for obtaining plant image, such as it is to be understood that during cultivation box implants growth conditions, can be by end
Hold the second acquisition request that the storage address for plant image is sent to server.
After server receives the second acquisition request of the storage address for the second plant image of terminal transmission, can be with
Continue executing with the operation of step S220.
S220:The download address of the second plant image is searched in the address base being obtained ahead of time.
After server receives the second acquisition request, can be searched under plant image in the address base being obtained ahead of time
Set address.
In embodiments of the present invention, server receive cultivation box transmission for plant image it is upper by reference the
One obtain request, generate plant image it is upper by reference while, the download address of the plant image can be generated.And on ground
The corresponding relation of the plant image and download address is recorded in the storehouse of location.When the second acquisition request is received, to obtain the ground
Location storehouse, and therefrom search the download address of plant image.
S230:The second key pair is generated, the second key is to comprising the second public key and the second private key.
After server receives the second acquisition request, the second key pair, second can be generated according to the second acquisition request
Key is to comprising the second public key and the second private key.Specifically, server can generate second key pair using RSA function libraries.
S240:Second public key is sent to terminal.
S250:Use the second private key encryption download address.
S260:Download address after encryption is sent to terminal, so that terminal uses the second public key to the download after encryption
Address is decrypted, and downloads the second plant image according to download address.
Second public key of the second cipher key pair is sent to terminal by server, and terminal can obtain the second public key.Server
Using the second private key encryption download address of the second cipher key pair, the download address after encryption is sent to terminal.So, terminal
The download address after encryption can be decrypted using the second public key, obtain download address, and the is downloaded according to download address
Two plant images.
The method provided using the embodiment of the present invention, server receive terminal transmission for the second plant image
Download address second acquisition request when, can be searched in the address base being obtained ahead of time the second plant image download ground
Location, generates the second key pair, and the second public key of the second cipher key pair is sent into terminal, private using the second of the second cipher key pair
Key encrypts download address, and the download address after encryption is sent into terminal, and so, terminal is using the second public key under after encryption
Set address is decrypted, and can download the second plant image according to download address.Server is entered using the second private key to download address
Terminal is transferred to after row encryption, it is ensured that the security of download address transmission, terminal is entered at itself to the download address after encryption
Download address is reused after row decryption and download plant image, it is ensured that the safe transmission of plant image, it is to avoid unauthorized person is utilized
Download address steals plant image.
In a kind of specific embodiment of the invention, after step S240, before step S250, the method may be used also
To comprise the following steps:
Determine whether to receive the confirmation that terminal is returned in the second duration of setting, if it is, performing step
The operation of S250.
After second public key is sent to terminal by server, if terminal normally receives second public key, can return
Confirmation.Because mostly between server and terminal connected by internet, situations such as if there is network connection interruption, will
So that terminal cannot normally receive second public key, or, it is impossible to the information of will confirm that returns to server.It is public second in addition
In key transmitting procedure, it is also possible to intercepted by unauthorized person so that terminal cannot normally receive second public key.
Server can start a timer after the second public key is sent into cultivation box, if server is in setting
The confirmation of cultivation box return is received in second duration, then can continue executing with the operation of step S250.
If not receiving the confirmation of terminal return in the second duration, the behaviour of step S240 can be repeated
Make, until number of repetition reaches setting Second Threshold.
Server does not receive the confirmation of terminal return in the second duration, can repeat to send the second public key, directly
Setting Second Threshold is reached to number of repetition.Second Threshold can be set and be adjusted according to actual conditions.
In this way it can be ensured that communicate between server and terminal it is normal in the case of be encrypted after download address
Transmission, enhances the security of download address information.
Corresponding to the embodiment of the method shown in Fig. 1, the embodiment of the present invention additionally provides a kind of plant figure based on cultivation box
As transmitting device, a kind of plant image transmitting device based on cultivation box described below is a kind of based on plantation with above-described
The plant image transmission method of case can be mutually to should refer to.
Shown in Figure 3, the device is included with lower module:
First obtains request receiving module 310, the upload ground for the first plant image for receiving cultivation box transmission
First acquisition request of location;
Address and key production module 320, for according to first obtain request, generation the first plant image it is upper by reference
With first key pair, first key is to comprising the first public key and the first private key;
First public key sending module 330, for the first public key to be sent into cultivation box;
Address encryption module 340 is uploaded, for using in the first private key encryption by reference;
On sending module 350 by reference, cultivation box is sent to by reference for upper after by encryption, so that cultivation box is used
First public key to encryption after it is upper be decrypted by reference, and upload the first plant image by reference according to upper.
The device provided using the embodiment of the present invention, server receive cultivation box transmission for the first plant image
It is upper by reference first acquisition request after, can according to this first obtain request, generation the first plant image it is upper by reference
With first key pair, first key centering include the first public key and the first private key.First public key is sent to cultivation box by server,
And using in the first private key encryption by reference, by encryption after upper be sent to cultivation box by reference.Cultivation box uses the first public key
Upper after to encryption is decrypted by reference, and uploads the first plant image by reference according to upper.Server uses the first private key
To it is upper be encrypted by reference after be transferred to cultivation box, it is ensured that on the security transmitted by reference, cultivation box itself pair plus
Upper after close is reused after being decrypted by reference and uploads plant image on this by reference, it is ensured that cultivation box interplantation object image
Safe transmission so that user can in time recognize plant growth state, improve Consumer's Experience.
In a kind of specific embodiment of the invention, also include:
First confirmation receiver module, for being sent to after cultivation box by the first public key, it is determined whether in setting
The confirmation of cultivation box return is received in first duration, if it is, triggering uploads address encryption module 340.
In a kind of specific embodiment of the invention, also include:
First repeats module, during for the confirmation that cultivation box return is not received in the first duration, repeats
The first public key sending module 330 is triggered, until number of repetition reaches setting first threshold.
Corresponding to the embodiment of the method shown in Fig. 2, the embodiment of the present invention additionally provides a kind of plant figure based on cultivation box
Shown in Figure 4 as transmitting device, the device is included with lower module:
Second obtains request receiving module 410, for the download address for the second plant image that receiving terminal sends
Second acquisition request;
Download address searching modul 420, the download ground for searching the second plant image in the address base being obtained ahead of time
Location;
, to generation module 430, for generating the second key pair, the second key is to comprising the second public key and second for second key
Private key;
Second public key sending module 440, for the second public key to be sent into terminal;
Download address encrypting module 450, for using the second private key encryption download address;
Download address sending module 460, for the download address after encryption to be sent into terminal, so that terminal uses second
Public key is decrypted to the download address after encryption, and downloads the second plant image according to download address.
The device provided using the embodiment of the present invention, server receive terminal transmission for the second plant image
Download address second acquisition request when, can be searched in the address base being obtained ahead of time the second plant image download ground
Location, generates the second key pair, and the second public key of the second cipher key pair is sent into terminal, private using the second of the second cipher key pair
Key encrypts download address, and the download address after encryption is sent into terminal, and so, terminal is using the second public key under after encryption
Set address is decrypted, and can download the second plant image according to download address.Server is entered using the second private key to download address
Terminal is transferred to after row encryption, it is ensured that the security of download address transmission, terminal is entered at itself to the download address after encryption
Download address is reused after row decryption and download plant image, it is ensured that the safe transmission of plant image, it is to avoid unauthorized person is utilized
Download address steals plant image.
In a kind of specific embodiment of the invention, also include:
Second confirmation receiver module, for being sent to after terminal by the second public key, it is determined whether in setting the
The confirmation of terminal return is received in two durations, if it is, triggering download address encrypting module 450.
In a kind of specific embodiment of the invention, also include:
Second repeats module, during for the confirmation for not receiving terminal return in the second duration, repeats to touch
The second public key sending module 440 is sent out, until number of repetition reaches setting Second Threshold.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and other
The difference of embodiment, between each embodiment same or similar part mutually referring to.For being filled disclosed in embodiment
For putting, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part
Illustrate.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software, generally describes the composition and step of each example according to function in the above description.These
Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty
Technical staff can realize described function to each specific application using distinct methods, but this realization should not
Think beyond the scope of this invention.
The step of method or algorithm for being described with reference to the embodiments described herein, directly can be held with hardware, processor
Capable software module, or the two combination is implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In field in known any other form of storage medium.
Specific case used herein is set forth to principle of the invention and implementation method, and above example is said
It is bright to be only intended to help and understand technical scheme and its core concept.It should be pointed out that common for the art
For technical staff, under the premise without departing from the principles of the invention, some improvement and modification can also be carried out to the present invention, these
Improve and modification is also fallen into the protection domain of the claims in the present invention.
Claims (12)
1. a kind of plant image transmission method based on cultivation box, it is characterised in that be applied to server, methods described includes:
Receive upper the first acquisition request by reference for the first plant image that cultivation box sends;
Obtain request according to described first, generate first plant image it is upper by reference with first key pair, described first
Key is to comprising the first public key and the first private key;
First public key is sent to the cultivation box;
Using on described in first private key encryption by reference;
Be sent to the cultivation box by reference on described after by encryption so that the cultivation box using first public key pair plus
It is decrypted by reference on described after close, and first plant image is uploaded by reference according on described.
2. the plant image transmission method based on cultivation box according to claim 1, it is characterised in that it is described will be described
After first public key is sent to the cultivation box, it is described using on described in first private key encryption by reference before, also include:
Determine whether to receive the confirmation that the cultivation box is returned in the first duration of setting;
If it is, perform it is described using on described in first private key encryption by reference the step of.
3. the plant image transmission method based on cultivation box according to claim 2, it is characterised in that also include:
If not receiving the confirmation that the cultivation box is returned in first duration, repeat described by described in
The step of first public key is sent to the cultivation box, until number of repetition reaches setting first threshold.
4. a kind of plant image transmission method based on cultivation box, it is characterised in that be applied to server, methods described includes:
Second acquisition request of the download address for the second plant image that receiving terminal sends;
The download address of second plant image is searched in the address base being obtained ahead of time;
The second key pair is generated, second key is to comprising the second public key and the second private key;
Second public key is sent to the terminal;
Use download address described in second private key encryption;
The download address after by encryption is sent to the terminal, so that after the terminal uses second public key to encryption
The download address be decrypted, and download second plant image according to the download address.
5. the plant image transmission method based on cultivation box according to claim 4, it is characterised in that it is described will be described
After second public key is sent to the terminal, it is described using download address described in second private key encryption before, also include:
Determine whether to receive the confirmation that the terminal is returned in the second duration of setting;
If it is, the step of performing download address described in the use second private key encryption.
6. the plant image transmission method based on cultivation box according to claim 5, it is characterised in that also include:
If not receiving the confirmation that the terminal is returned in second duration, repeat described by described the
The step of two public keys are sent to the cultivation box, until number of repetition reaches setting Second Threshold.
7. a kind of plant image transmitting device based on cultivation box, it is characterised in that be applied to server, described device includes:
First obtain request receiving module, for receive cultivation box transmission for the first plant image it is upper by reference first
Obtain request;
Address and key production module, for obtaining request according to described first, generate the upload ground of first plant image
Location and first key pair, the first key is to comprising the first public key and the first private key;
First public key sending module, for first public key to be sent into the cultivation box;
Address encryption module is uploaded, for using on described in first private key encryption by reference;
On sending module by reference, for being sent to the cultivation box by reference on described after by encryption, so that the plantation
Case using first public key to encryption after it is described on be decrypted by reference, and upload described by reference according on described
One plant image.
8. the plant image transmitting device based on cultivation box according to claim 7, it is characterised in that also include:
First confirmation receiver module, for first public key to be sent to after the cultivation box described, it is determined that being
It is no that the confirmation that the cultivation box is returned is received in the first duration of setting, if it is, adding by reference on triggering is described
Close module.
9. the plant image transmission method based on cultivation box according to claim 8, it is characterised in that also include:
First repeats module, during for the confirmation that the cultivation box return is not received in first duration,
First public key sending module described in repeated trigger, until number of repetition reaches setting first threshold.
10. a kind of plant image transmitting device based on cultivation box, it is characterised in that be applied to server, described device includes:
Second obtains request receiving module, and the of the download address for second plant image sent for receiving terminal
Two obtain request;
Download address searching modul, the download address for searching second plant image in the address base being obtained ahead of time;
, to generation module, for generating the second key pair, second key is to private comprising the second public key and second for second key
Key;
Second public key sending module, for second public key to be sent into the terminal;
Download address encrypting module, for using download address described in second private key encryption;
Download address sending module, the terminal is sent to for the download address after by encryption, so that the terminal makes
With second public key to encryption after the download address be decrypted, and according to the download address download it is described second plant
Object image.
The 11. plant image transmitting devices based on cultivation box according to claim 10, it is characterised in that also include:
Second confirmation receiver module, for second public key to be sent to after the terminal described, it is determined whether
Received in the second duration the confirmation that the terminal is returned setting, if it is, triggering the download address encryption mould
Block.
The 12. plant image transmitting devices based on cultivation box according to claim 11, it is characterised in that also include:
Second repeats module, during for the confirmation that the terminal return is not received in second duration, weight
The second public key sending module is triggered again, until number of repetition reaches setting Second Threshold.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611088622.XA CN106792009A (en) | 2016-11-30 | 2016-11-30 | A kind of plant image transmission method and device based on cultivation box |
PCT/CN2017/088230 WO2018099041A1 (en) | 2016-11-30 | 2017-06-14 | Planting box-based plant image transmission method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611088622.XA CN106792009A (en) | 2016-11-30 | 2016-11-30 | A kind of plant image transmission method and device based on cultivation box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106792009A true CN106792009A (en) | 2017-05-31 |
Family
ID=58914339
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611088622.XA Pending CN106792009A (en) | 2016-11-30 | 2016-11-30 | A kind of plant image transmission method and device based on cultivation box |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106792009A (en) |
WO (1) | WO2018099041A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018099041A1 (en) * | 2016-11-30 | 2018-06-07 | 深圳前海弘稼科技有限公司 | Planting box-based plant image transmission method and apparatus |
WO2021109998A1 (en) * | 2019-12-05 | 2021-06-10 | 中兴通讯股份有限公司 | Media content transmission method and apparatus, and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102882685A (en) * | 2012-09-27 | 2013-01-16 | 东莞宇龙通信科技有限公司 | Identity authentication system and identity authentication method |
CN102917259A (en) * | 2012-10-31 | 2013-02-06 | 深圳市多尼卡电子技术有限公司 | Method, system and server for playing programs in encryption manner |
CN104973016A (en) * | 2015-07-27 | 2015-10-14 | 北京速能数码网络技术有限公司 | Vehicle-mounted monitoring terminal and parking monitoring method and system |
CN105338079A (en) * | 2015-10-27 | 2016-02-17 | 北京金山安全软件有限公司 | Method and device for downloading theme pack |
CN105407147A (en) * | 2015-10-27 | 2016-03-16 | 北京金山安全软件有限公司 | Method and device for downloading theme pack |
CN105516246A (en) * | 2015-11-25 | 2016-04-20 | 魅族科技(中国)有限公司 | Method for preventing application program downloading hijacking and server |
US20160112738A1 (en) * | 2013-03-13 | 2016-04-21 | Echostar Technologies L.L.C. | Systems and methods for securely providing adaptive bit rate streaming media content on-demand |
CN105608147A (en) * | 2015-12-17 | 2016-05-25 | 无锡天脉聚源传媒科技有限公司 | Method and device for hiding original addresses of pictures |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2916509B1 (en) * | 2014-03-03 | 2016-05-18 | Keypasco AB | Network authentication method for secure user identity verification |
CN104581059A (en) * | 2014-12-24 | 2015-04-29 | 河西学院 | Remote greenhouse image monitoring system based on Internet of Things |
CN204557776U (en) * | 2015-04-28 | 2015-08-12 | 天津国信浩天三维科技有限公司 | Based on the chamber planting long distance control system of cloud service |
CN106162087A (en) * | 2016-07-26 | 2016-11-23 | 深圳前海弘稼科技有限公司 | The growth course methods of exhibiting of a kind of cultivation box implants and system |
CN106792009A (en) * | 2016-11-30 | 2017-05-31 | 深圳前海弘稼科技有限公司 | A kind of plant image transmission method and device based on cultivation box |
-
2016
- 2016-11-30 CN CN201611088622.XA patent/CN106792009A/en active Pending
-
2017
- 2017-06-14 WO PCT/CN2017/088230 patent/WO2018099041A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102882685A (en) * | 2012-09-27 | 2013-01-16 | 东莞宇龙通信科技有限公司 | Identity authentication system and identity authentication method |
CN102917259A (en) * | 2012-10-31 | 2013-02-06 | 深圳市多尼卡电子技术有限公司 | Method, system and server for playing programs in encryption manner |
US20160112738A1 (en) * | 2013-03-13 | 2016-04-21 | Echostar Technologies L.L.C. | Systems and methods for securely providing adaptive bit rate streaming media content on-demand |
CN104973016A (en) * | 2015-07-27 | 2015-10-14 | 北京速能数码网络技术有限公司 | Vehicle-mounted monitoring terminal and parking monitoring method and system |
CN105338079A (en) * | 2015-10-27 | 2016-02-17 | 北京金山安全软件有限公司 | Method and device for downloading theme pack |
CN105407147A (en) * | 2015-10-27 | 2016-03-16 | 北京金山安全软件有限公司 | Method and device for downloading theme pack |
CN105516246A (en) * | 2015-11-25 | 2016-04-20 | 魅族科技(中国)有限公司 | Method for preventing application program downloading hijacking and server |
CN105608147A (en) * | 2015-12-17 | 2016-05-25 | 无锡天脉聚源传媒科技有限公司 | Method and device for hiding original addresses of pictures |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018099041A1 (en) * | 2016-11-30 | 2018-06-07 | 深圳前海弘稼科技有限公司 | Planting box-based plant image transmission method and apparatus |
WO2021109998A1 (en) * | 2019-12-05 | 2021-06-10 | 中兴通讯股份有限公司 | Media content transmission method and apparatus, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018099041A1 (en) | 2018-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11055429B2 (en) | Key providing method, video playing method, server and client | |
CN102915263B (en) | A kind of data back up method, system and equipment | |
US9608805B2 (en) | Encryption key generation | |
CN111209558B (en) | Internet of things equipment identity authentication method and system based on block chain | |
CN104980278B (en) | The method and apparatus for verifying the availability of biometric image | |
CN104184740B (en) | Trusted transmission method, trusted third party and credible delivery system | |
CN103428699A (en) | Registration binding and identity authentication method based on mobile phone hardware feature information | |
CN109729041B (en) | Method and device for issuing and acquiring encrypted content | |
CN102594555A (en) | Security protection method for data, entity on network side and communication terminal | |
CN103795798A (en) | Mobile phone checking-in method | |
CN108989848A (en) | A kind of acquisition methods and management system of video resource file | |
CN104317551A (en) | Ultrahigh-safety true random number generation method and ultrahigh-safety true random number generation system | |
EP3153985A1 (en) | Device and method for password generation in a user device | |
CN106656923A (en) | Device association method, key update method and apparatuses | |
CN104601582B (en) | A kind of methods, devices and systems of transmission file | |
WO2019129842A1 (en) | Method and system for cryptographic activation of a plurality of equipement items | |
CN110932854A (en) | Block chain key distribution system and method for Internet of things | |
CN101930516B (en) | Method for using license of embedded equipment | |
CN108599944A (en) | A kind of identifying code short message transparent encryption method based on handset identities | |
CN105141628A (en) | Method and apparatus for realizing pushing | |
CN104994095A (en) | Equipment authentication method, clients, server and system | |
CN106792009A (en) | A kind of plant image transmission method and device based on cultivation box | |
CN111461720A (en) | Identity verification method and device based on block chain, storage medium and electronic equipment | |
CN110324364B (en) | Offline lottery drawing method and electronic terminal | |
CN109739519A (en) | Mobile terminal and its discharging method of preset application program, memory |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 518052 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.) Applicant after: Shenzhen Chun Mu source Holdings Limited Address before: 518052 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A Applicant before: Shenzhen Qianhai Hong Jia Technology Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |