CN109413606A - Greenhouse System multipoint acquisition data-updating method, device, medium and electronic equipment - Google Patents
Greenhouse System multipoint acquisition data-updating method, device, medium and electronic equipment Download PDFInfo
- Publication number
- CN109413606A CN109413606A CN201811268390.5A CN201811268390A CN109413606A CN 109413606 A CN109413606 A CN 109413606A CN 201811268390 A CN201811268390 A CN 201811268390A CN 109413606 A CN109413606 A CN 109413606A
- Authority
- CN
- China
- Prior art keywords
- data
- database
- client
- updating
- type
- 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
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000003860 storage Methods 0.000 claims description 18
- 241000854291 Dianthus carthusianorum Species 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 2
- 238000012544 monitoring process Methods 0.000 abstract description 8
- 238000012216 screening Methods 0.000 abstract 1
- 230000001360 synchronised effect Effects 0.000 abstract 1
- 238000013461 design Methods 0.000 description 16
- 230000002262 irrigation Effects 0.000 description 9
- 238000003973 irrigation Methods 0.000 description 9
- 238000007493 shaping process Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 230000004927 fusion Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 235000013311 vegetables Nutrition 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000006317 isomerization reaction Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000033228 biological regulation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000007499 fusion processing Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000000178 monomer Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/38—Services specially adapted for particular environments, situations or purposes for collecting sensor information
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of Greenhouse System multipoint acquisition data-updating method, device, medium and electronic equipments, which comprises multi-point data acquisition end acquires at least one categorical data, and at least one categorical data is reported to intelligent gateway;The intelligent gateway is uploaded to database after screening at least one categorical data, the database root automatically updates corresponding data according at least one categorical data and saves;The database is inquired in client timing, and updates client data according to the database data.The present invention is by being located at the indoor different parameters of the indoor multiple each temperature of temperature sensor real-time monitoring of multiple temperature, and management server is reported to by intelligent gateway timing, it is designed by simplified server architecture, related data can efficiently be updated, when client accesses database according to predetermined time interval, update can be synchronized to the information of client in real time.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a greenhouse system multipoint acquisition data updating method, device, medium and electronic equipment.
Background
The implementation of agricultural automatic irrigation is an important trend of modern agricultural development, and the issuing of vegetable irrigation prescriptions is realized by combining with the environmental monitoring of a greenhouse, so that the automatic and intelligent drip irrigation operation of facility vegetables is completed, and the method is a main direction of irrigation of the future planting industry. With the increasing scale of greenhouses, for example, vegetable parks and cooperative societies are adopting the large-scale and industrialized planting mode of greenhouse group. Compared with a single greenhouse, the temperature monitoring and data timely updating of the greenhouse group have certain difficulty. The reason is that the monitoring sensing network of the greenhouse group is large in scale, wide in coverage range and high in node density, the network structure presents complex characteristics of distribution, isomerization, multiple levels and the like, the single-greenhouse wireless sensing node networking is relatively simple, interference signals are small, the greenhouse group is composed of a plurality of single greenhouses, and the wireless network among the greenhouses needs strong anti-interference capability.
A large number of acquisition nodes need to be arranged for environment monitoring, and because the acquisition nodes can only acquire environment information within the coverage range of the acquisition nodes and cannot consider the spatial correlation of different nodes during data fusion, certain errors exist in data acquisition and reporting, data of a database and data of a client cannot be effectively updated in real time, and great troubles are brought to subsequent irrigation.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a greenhouse system multipoint acquisition data updating method, device, medium and electronic equipment.
According to the specific implementation mode of the invention, in a first aspect, the invention provides a greenhouse system multipoint acquisition data updating method, which comprises the following steps: the method comprises the following steps that a multipoint data acquisition end acquires at least one type of data and reports the at least one type of data to an intelligent gateway; the intelligent gateway discriminates the at least one type of data and uploads the data to a database, and the database automatically updates and stores corresponding data according to the at least one type of data; the client side inquires the database at regular time and updates the client side data according to the database data.
Preferably, the client querying the database at regular time and updating the client data according to the database data includes: the client side presets an updating time length, and when the updating time length is judged to be reached, an updating request is sent to the server side; the server side sends a query request to a database according to the client side updating request; and the database returns corresponding data, and the client updates the client data according to the corresponding data.
Preferably, the byte content length of the at least one type of data satisfies the following condition:
length of byte content of individual node:
length1 ═ 6 × Ni; wherein Ni is the number of sensors of the ith node;
length of byte content of cluster head node:
Length2=6*N1+6*N2+…+6*Nm
=6(N1+N2+.....+Nm)
in the formula, N1, N2, … …, Nm is the number of sensors, and m is the number of nodes.
Preferably, the database field includes: greenhouse area, greenhouse wireless IP, greenhouse number, terminal acquisition node number, sensor type, sensor data and storage time.
Preferably, the multipoint data acquisition terminal comprises: the data in different greenhouses are the same, or different data in different greenhouses are different, or different data in the same greenhouse are different.
According to a second aspect of the present invention, there is provided a multipoint collected data updating apparatus for a greenhouse system, comprising: the data acquisition unit is used for acquiring at least one type of data by the multipoint data acquisition terminal and reporting the at least one type of data to the intelligent gateway; the intelligent gateway discriminates the at least one type of data and uploads the data to a database, and the database automatically updates and stores corresponding data according to the at least one type of data; and the client side unit is used for inquiring the database at regular time and updating the client side data according to the database data.
Preferably, the client unit includes that the client presets an update duration, and when the update duration is judged to be reached, an update request is sent to the server; the server side sends a query request to a database according to the client side updating request; and the database returns corresponding data, and the client updates the client data according to the corresponding data.
Preferably, the byte content length of the at least one type of data satisfies the following condition:
length of byte content of individual node:
length1 ═ 6 × Ni; wherein Ni is the number of sensors of the ith node;
length of byte content of cluster head node:
Length2=6*N1+6*N2+…+6*Nm
=6(Nl+N2+.....+Nm)
in the formula, N1, N2, … …, Nm is the number of sensors, and m is the number of nodes.
According to a third aspect, the present invention provides a computer readable storage medium, on which a computer program is stored, wherein the program is executed by a processor to implement the method for updating multipoint collected data of a greenhouse system as described in any one of the above.
According to a fourth aspect of the present invention, there is provided an electronic apparatus including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the greenhouse system multipoint acquisition data updating method as defined in any of the above.
Compared with the prior art, the scheme of the embodiment of the invention at least has the following beneficial effects: the invention monitors different parameters in each greenhouse in real time through a plurality of temperature sensors positioned in a plurality of greenhouses, and reports the parameters to the management server at regular time through the intelligent gateway, related data can be updated rapidly through the simplified server architecture design, and when a client accesses the database according to a preset time interval, the information of the client can be updated synchronously in real time, thereby ensuring the real-time data of the client, satisfying the client's grasp of the conditions in the greenhouse, and facilitating the adoption of corresponding irrigation measures.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 is a schematic diagram of a multi-point data acquisition and updating structure of a greenhouse system according to the present invention;
FIG. 2 is a schematic view of the flow structure of the multi-point data collection of the greenhouse system of the present invention;
FIG. 3 is a schematic diagram of the working process of the client, server and greenhouse system of the present invention;
FIG. 4 is a schematic diagram of the structure of the device according to the embodiment of the present invention;
fig. 5 is a schematic diagram of an electronic device connection structure according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a plurality" typically includes at least two.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, third, etc. may be used to describe … … in embodiments of the present invention, these … … should not be limited to these terms. These terms are used only to distinguish … …. For example, the first … … can also be referred to as the second … … and similarly the second … … can also be referred to as the first … … without departing from the scope of embodiments of the present invention.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that an article or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such article or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in the article or device in which the element is included.
Alternative embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Example 1
As shown in fig. 1, the monitoring sensor network of the greenhouse group adopted in the invention has a larger scale, a wider coverage area and a high node density, and the network structure presents complex characteristics of distribution, isomerization, multi-level and the like, while the single-greenhouse wireless sensor node has relatively simple networking and small interference signals, the greenhouse group is composed of a plurality of single greenhouses, and the wireless network among the greenhouses needs stronger anti-interference capability.
The invention designs the characteristics of the greenhouse group, which originally inherits the performance optimization of the greenhouse group regulation and control system in the system architecture design, performs dynamic compatible expansibility design on the frame structure reported by the environment sensing node, and performs compatible design on the storage database table and the flow, thereby completing the improvement of the whole system in the performance aspect.
As shown in fig. 2, the present invention is structurally optimized, and structurally divided into a sensing layer, a transmission layer, a support layer and an application layer. Wherein, the operation mode of each monomer greenhouse is as follows: the environment acquisition sensor of the perception layer acquires environment data according to a preset frequency and transmits the environment data to the embedded intelligent gateway according to the preset frequency, and the intelligent gateway performs fusion processing on the environment data acquisition and stores the environment data to a remote database through a 3G/4G/GPRS module. The Web client designs a timer, the timer informs the Web server to inquire the remote database at fixed time intervals, and the Web client is updated after the inquiry results are returned layer by layer. As shown in fig. 3.
Specifically, according to an embodiment of the present invention, in a first aspect, the present invention provides a method for updating multipoint collected data of a greenhouse system, the method including: the method comprises the following steps that a multipoint data acquisition end acquires at least one type of data and reports the at least one type of data to an intelligent gateway; the intelligent gateway discriminates the at least one type of data and uploads the data to a database, and the database automatically updates and stores corresponding data according to the at least one type of data; the client side inquires the database at regular time and updates the client side data according to the database data.
Preferably, the client querying the database at regular time and updating the client data according to the database data includes: the client side presets an updating time length, and when the updating time length is judged to be reached, an updating request is sent to the server side; the server side sends a query request to a database according to the client side updating request; and the database returns corresponding data, and the client updates the client data according to the corresponding data.
Generally, a wireless sensor network has a large number of nodes, and the wireless sensor network has limited energy and cannot directly communicate with a base station, so an effective routing protocol is needed, while a clustering routing protocol is one of the routing protocols, and the nodes in a neighboring area form a cluster and select a cluster head, the nodes in the cluster transmit data to the cluster head, and the cluster head transmits the data to a next hop or directly to the base station after fusing the data. The byte content length of the at least one type of data satisfies the following condition:
length of byte content of individual node:
length1 ═ 6 × Ni; wherein Ni is the number of sensors of the ith node;
length of byte content of cluster head node:
Length2=6*N1+6*N2+…+6*Nm
=6(Nl+N2+.....+Nm)
in the formula, N1, N2, … …, Nm is the number of sensors, and m is the number of nodes.
Preferably, the database field includes: greenhouse area, greenhouse wireless IP, greenhouse number, terminal acquisition node number, sensor type, sensor data and storage time.
Preferably, the multipoint data acquisition terminal comprises: the data in different greenhouses are the same, or different data in different greenhouses are different, or different data in the same greenhouse are different.
A large number of acquisition nodes need to be arranged for facility environment monitoring, and because the acquisition nodes can only acquire environment information within the coverage range of the acquisition nodes and cannot consider the spatial correlation of different nodes during data fusion, the acquisition nodes report the time correlation fusion results of the acquisition nodes to a cluster head, and the cluster head performs spatial data correlation fusion according to the node relation. And after the convergent node receives the fusion data points reported by the cluster head, analyzing and reconstructing to recover the original data without distortion.
In order to reduce the data transmission quantity and simultaneously reduce the energy consumption of data acquisition, the data of the nodes in the cluster are compressed by utilizing the spatial correlation of the data so as to reduce the data quantity and the transmission quantity of the acquisition nodes.
The invention designs a data frame design format for compressing and fusing data in a cluster head. As shown in table 1 below
Length of byte content of individual node:
length1 ═ 6 × Ni; wherein Ni is the number of sensors of the ith node;
length of byte content of cluster head node:
Length2=6*N1+6*N2+…+6*Nm
=6(N1+N2+.....+Nm)
in the formula, N1, N2, … …, Nm is the number of sensors, and m is the number of nodes.
If the reporting of the multi-source environment information completely depends on the remote server, if the remote server is down due to a certain irresistible reason, the multi-source environment information is necessary to cause loss. The invention adopts the intelligent gateway and the database to directly store data, belongs to desktop application programs, and has enough guarantee for the implementation.
The communication structure is shown in fig. 3: the intelligent gateway stores the environment data into remote data through the communication module according to fixed frequency. The Web client regularly sends a request to the Web server for data in the remote database, the Web server queries the database, reports the query result to the Web client, and the Web client updates the Web page, so that the whole process is completed.
The invention relates to a method for collecting multi-source data of a greenhouse group, wherein the type and the number of sensors of each greenhouse can be dynamically adjusted according to monitoring requirements.
The database design adopts a paradigm structure, the design requirement of a third paradigm commonly used is met, and a four-layer data record table is designed to meet the requirement of multi-source environment information access. According to the design principles of the second and third paradigms of database design, the database table structures are designed as the following tables 2-6.
Information table 2 of facility environment greenhouse
Field(s) | Type (B) | Description of the invention |
ID | Shaping machine | ID of the greenhouse is increased. |
IPAdress | Character type | IP address of the intelligent gateway. |
Area | Character type | Area of facility temperature |
GreenhouseID | Character type | Greenhouse number |
The information of the sensor data type only needs to add one line when a new sensor type exists, and the structure of a data table does not need to be modified.
Data Structure Table 3
And warehousing the summary table, and ensuring the association in time to be fused with the table 4.
TABLE 4
Field(s) | Type (B) | Description of the invention |
ID | Shaping machine | ID, self-increment |
Retention time | Datetime | Time of warehousing |
greenhouse_ID | Shaping machine | Primary key ID of Table 2 |
And recording a space-time association table by the multi-source data, and storing the relation between the node number and the summary table.
TABLE 5
Field(s) | Type (B) | Description of the invention |
ID | Shaping machine | ID, self-increment |
Node number | Datetime | Node number |
Warehouse entry summary table ID | Shaping machine | Primary key ID of Table 4 |
And (4) recording and sub-listing multi-source data, and recording the sensor and the acquired data in detail.
TABLE 6
Field(s) | Type (B) | Description of the invention |
ID | Shaping machine | ID, self-increment |
Sensor numbering | Shaping machine | |
Data collected by the sensor | Float(double) | Data of sensor |
Type of sensor data | Shaping machine | Primary key ID of Table 3 |
Spatio-temporal association table ID | Shaping machine | TABLE 5Primary key ID |
The storage of the data is accomplished by tables 2-6 above.
If the sensor acquisition node of a single shed room needs to be newly added with a sensor, only one record needs to be added, and the structure of the database table does not need to be modified. The table structure of the database is designed in such a way, so that the software code is not required to be modified and maintained when a new sensor type is added in the design of a software system, and the development workload is greatly reduced.
The invention monitors different parameters in each greenhouse in real time through a plurality of temperature sensors positioned in a plurality of greenhouses, and reports the parameters to the management server at regular time through the intelligent gateway, related data can be updated rapidly through the simplified server architecture design, and when a client accesses the database according to a preset time interval, the information of the client can be updated synchronously in real time, thereby ensuring the real-time data of the client, satisfying the client's grasp of the conditions in the greenhouse, and facilitating the adoption of corresponding irrigation measures.
Example 2
As shown in fig. 3, according to a second aspect of the present invention, there is provided a multipoint collected data updating apparatus for a greenhouse system, comprising: the data acquisition unit is used for acquiring at least one type of data by the multipoint data acquisition terminal and reporting the at least one type of data to the intelligent gateway; the intelligent gateway discriminates the at least one type of data and uploads the data to a database, and the database automatically updates and stores corresponding data according to the at least one type of data; and the client side unit is used for inquiring the database at regular time and updating the client side data according to the database data.
Preferably, the client unit includes that the client presets an update duration, and when the update duration is judged to be reached, an update request is sent to the server; the server side sends a query request to a database according to the client side updating request; and the database returns corresponding data, and the client updates the client data according to the corresponding data.
Preferably, the byte content length of the at least one type of data satisfies the following condition:
length of byte content of individual node:
length1 ═ 6 × Ni; wherein Ni is the number of sensors of the ith node;
length of byte content of cluster head node:
Length2=6*N1+6*N2+…+6*Nm
=6(N1+N2+.....+Nm)
in the formula, N1, N2, … …, Nm is the number of sensors, and m is the number of nodes.
The above units may be implemented by using a virtual program code, or by using a physical electronic circuit structure, or by using a virtual code program in combination with a physical electronic circuit, which is not hard-defined.
The invention monitors different parameters in each greenhouse in real time through a plurality of temperature sensors positioned in a plurality of greenhouses, and reports the parameters to the management server at regular time through the intelligent gateway, related data can be updated rapidly through the simplified server architecture design, and when a client accesses the database according to a preset time interval, the information of the client can be updated synchronously in real time, thereby ensuring the real-time data of the client, satisfying the client's grasp of the conditions in the greenhouse, and facilitating the adoption of corresponding irrigation measures.
Example 3
As shown in fig. 4-5, the present embodiment provides an electronic device, which is used in a greenhouse system multipoint collected data updating method, and the electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the one processor to cause the at least one processor to: the method comprises the following steps:
the method comprises the following steps that a multipoint data acquisition end acquires at least one type of data and reports the at least one type of data to an intelligent gateway; the intelligent gateway discriminates the at least one type of data and uploads the data to a database, and the database automatically updates and stores corresponding data according to the at least one type of data; the client side inquires the database at regular time and updates the client side data according to the database data.
Preferably, the client querying the database at regular time and updating the client data according to the database data includes: the client side presets an updating time length, and when the updating time length is judged to be reached, an updating request is sent to the server side; the server side sends a query request to a database according to the client side updating request; and the database returns corresponding data, and the client updates the client data according to the corresponding data.
Preferably, the byte content length of the at least one type of data satisfies the following condition:
length of byte content of individual node:
length1 ═ 6 × Ni; wherein Ni is the number of sensors of the ith node;
length of byte content of cluster head node:
Length2=6*N1+6*N2+…+6*Nm
=6(N1+N2+.....+Nm)
in the formula, N1, N2, … …, Nm is the number of sensors, and m is the number of nodes.
Preferably, the database field includes: greenhouse area, greenhouse wireless IP, greenhouse number, terminal acquisition node number, sensor type, sensor data and storage time.
Preferably, the multipoint data acquisition terminal comprises: the data in different greenhouses are the same, or different data in different greenhouses are different, or different data in the same greenhouse are different.
The invention monitors different parameters in each greenhouse in real time through a plurality of temperature sensors positioned in a plurality of greenhouses, and reports the parameters to the management server at regular time through the intelligent gateway, related data can be updated rapidly through the simplified server architecture design, and when a client accesses the database according to a preset time interval, the information of the client can be updated synchronously in real time, thereby ensuring the real-time data of the client, satisfying the client's grasp of the conditions in the greenhouse, and facilitating the adoption of corresponding irrigation measures.
Example 4
The embodiment of the invention provides a nonvolatile computer storage medium, wherein a computer executable instruction is stored in the computer storage medium and can execute the greenhouse system multipoint acquisition data updating method in any method embodiment.
Example 5
Fig. 5 is a schematic diagram of a hardware structure of an electronic device of a greenhouse system multipoint collected data updating method provided in this embodiment, and as shown in fig. 5, the device includes:
one or more processors 510 and memory 520, with one processor 510 being an example in fig. 5.
The device for the greenhouse system multipoint acquisition data updating method can also comprise: an input device 530, an output device 540, and a peripheral device 550.
The processor 510, the memory 520, the input device 530, the output device 540, and the peripheral device 550 may be connected by a bus or other means, and the bus connection is exemplified in fig. 5.
The memory 520 is a non-volatile computer-readable storage medium, and can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the multipoint collected data updating method of the greenhouse system in the embodiment of the present invention. The processor 510 executes various functional applications and data processing of the server by running the nonvolatile software programs, instructions and modules stored in the memory 520, namely, the method for updating multipoint collected data of the greenhouse system in the embodiment of the method is realized.
The memory 520 may include a storage program area and a storage data area, wherein the storage program area may store an operating device, an application program required for at least one function; the storage data area may store data created from use of the greenhouse system multipoint collected data updating apparatus, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
The input device 530 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 540 may include a display device such as a display screen. The peripheral device 550 includes a network device and the like.
The one or more modules are stored in the memory 520 and, when executed by the one or more processors 510, perform the greenhouse system multi-point acquisition data update method of any of the method embodiments described above.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
The electronic device of embodiments of the present invention exists in a variety of forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions, such as televisions, large vehicle-mounted screens and the like.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A greenhouse system multipoint acquisition data updating method, the method comprising:
the method comprises the following steps that a multipoint data acquisition end acquires at least one type of data and reports the at least one type of data to an intelligent gateway;
the intelligent gateway discriminates the at least one type of data and uploads the data to a database, and the database automatically updates and stores corresponding data according to the at least one type of data;
the client side inquires the database at regular time and updates the client side data according to the database data.
2. The method of claim 1, wherein: the client regularly inquires the database, and the updating of the client data according to the database data comprises the following steps:
the client side presets an updating time length, and when the updating time length is judged to be reached, an updating request is sent to the server side;
the server side sends a query request to a database according to the client side updating request;
and the database returns corresponding data, and the client updates the client data according to the corresponding data.
3. The method of claim 1, wherein: the byte content length of the at least one type of data satisfies the following condition:
length of byte content of individual node:
length1 ═ 6 × Ni; wherein Ni is the number of sensors of the ith node;
length of byte content of cluster head node:
Length2=6/N1+6*N2+…+6*Nm
=6(N1+N2+…..+Nm)
in the formula, N1, N2, … …, Nm is the number of sensors, and m is the number of nodes.
4. The method of claim 1, wherein: the database fields include: greenhouse area, greenhouse wireless IP, greenhouse number, terminal acquisition node number, sensor type, sensor data and storage time.
5. The method of claim 1, wherein: the multipoint data acquisition terminal comprises: the data in different greenhouses are the same, or different data in different greenhouses are different, or different data in the same greenhouse are different.
6. A greenhouse system multipoint acquisition data updating device is characterized by comprising:
the data acquisition unit is used for acquiring at least one type of data by the multipoint data acquisition terminal and reporting the at least one type of data to the intelligent gateway;
the intelligent gateway discriminates the at least one type of data and uploads the data to a database, and the database automatically updates and stores corresponding data according to the at least one type of data;
and the client side unit is used for inquiring the database at regular time and updating the client side data according to the database data.
7. The apparatus of claim 6, wherein: the client unit includes a client-side unit including,
the client side presets an updating time length, and when the updating time length is judged to be reached, an updating request is sent to the server side;
the server side sends a query request to a database according to the client side updating request;
and the database returns corresponding data, and the client updates the client data according to the corresponding data.
8. The apparatus of claim 7, wherein:
the byte content length of the at least one type of data satisfies the following condition:
length of byte content of individual node:
length1 ═ 6 × Ni; wherein Ni is the number of sensors of the ith node;
length of byte content of cluster head node:
Length2=6*N1+6*N2+…+6*Nrn
=6(N1+N2+…..+Nm)
in the formula, N1, N2, … …, Nm is the number of sensors, and m is the number of nodes.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a greenhouse system multipoint acquisition data updating method as claimed in any one of claims 1 to 5.
10. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the greenhouse system multipoint acquisition data updating method as claimed in any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811268390.5A CN109413606A (en) | 2018-10-29 | 2018-10-29 | Greenhouse System multipoint acquisition data-updating method, device, medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811268390.5A CN109413606A (en) | 2018-10-29 | 2018-10-29 | Greenhouse System multipoint acquisition data-updating method, device, medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109413606A true CN109413606A (en) | 2019-03-01 |
Family
ID=65470518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811268390.5A Pending CN109413606A (en) | 2018-10-29 | 2018-10-29 | Greenhouse System multipoint acquisition data-updating method, device, medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109413606A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115441975A (en) * | 2021-06-02 | 2022-12-06 | 北京猎户星空科技有限公司 | Time synchronization method, device, equipment and storage medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050198318A1 (en) * | 2003-05-06 | 2005-09-08 | Clay Von Mueller | Wireless/wired token access distributed network and system for using same |
CN101930662A (en) * | 2009-10-10 | 2010-12-29 | 中国农业科学院农业资源与农业区划研究所 | Farmland information real-time monitoring system and method based on remote monitoring |
CN101969613A (en) * | 2010-08-19 | 2011-02-09 | 西北工业大学 | Wireless sensor network-based greenhouse group control system and control method thereof |
CN102136926A (en) * | 2010-01-27 | 2011-07-27 | 新奥特(北京)视频技术有限公司 | Method for actively collecting data and server for actively collecting data |
US20130035992A1 (en) * | 2008-05-27 | 2013-02-07 | Kaspar Llc | Method and system for the more efficient utilization and conservation of energy and water resources |
CN203102371U (en) * | 2012-06-12 | 2013-07-31 | 北京物资学院 | Tracking system of dairy product supply chain information based on Internet of Things |
CN103701845A (en) * | 2013-07-16 | 2014-04-02 | 廊坊市大华夏神农信息技术有限公司 | Cloud computing based monitoring and early warning control cloud service system and method for greenhouse cluster internet of things |
CN104184785A (en) * | 2013-09-12 | 2014-12-03 | 中国林业科学研究院资源信息研究所 | Forest Internet of Things system based on cloud platform |
CN104301435A (en) * | 2014-10-31 | 2015-01-21 | 上海融军科技有限公司 | Data cluster marshalling method and system for distributed cluster sensors |
CN104717306A (en) * | 2015-04-02 | 2015-06-17 | 江苏大学 | Greenhouse Internet-of-Things measurement and control system, and data synchronization method thereof |
CN105208016A (en) * | 2015-09-07 | 2015-12-30 | 山东大学 | Agricultural internet of things multi-data transmission and processing method |
WO2016080602A1 (en) * | 2014-11-19 | 2016-05-26 | 농업회사법인 주식회사 홀인원 | Greenhouse system to be controlled by using ict-based smart phone |
CN108234674A (en) * | 2018-02-26 | 2018-06-29 | 汤杰 | Intelligent vegetables household electrical appliances Internet of things system |
-
2018
- 2018-10-29 CN CN201811268390.5A patent/CN109413606A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050198318A1 (en) * | 2003-05-06 | 2005-09-08 | Clay Von Mueller | Wireless/wired token access distributed network and system for using same |
US20130035992A1 (en) * | 2008-05-27 | 2013-02-07 | Kaspar Llc | Method and system for the more efficient utilization and conservation of energy and water resources |
CN101930662A (en) * | 2009-10-10 | 2010-12-29 | 中国农业科学院农业资源与农业区划研究所 | Farmland information real-time monitoring system and method based on remote monitoring |
CN102136926A (en) * | 2010-01-27 | 2011-07-27 | 新奥特(北京)视频技术有限公司 | Method for actively collecting data and server for actively collecting data |
CN101969613A (en) * | 2010-08-19 | 2011-02-09 | 西北工业大学 | Wireless sensor network-based greenhouse group control system and control method thereof |
CN203102371U (en) * | 2012-06-12 | 2013-07-31 | 北京物资学院 | Tracking system of dairy product supply chain information based on Internet of Things |
CN103701845A (en) * | 2013-07-16 | 2014-04-02 | 廊坊市大华夏神农信息技术有限公司 | Cloud computing based monitoring and early warning control cloud service system and method for greenhouse cluster internet of things |
CN104184785A (en) * | 2013-09-12 | 2014-12-03 | 中国林业科学研究院资源信息研究所 | Forest Internet of Things system based on cloud platform |
CN104301435A (en) * | 2014-10-31 | 2015-01-21 | 上海融军科技有限公司 | Data cluster marshalling method and system for distributed cluster sensors |
WO2016080602A1 (en) * | 2014-11-19 | 2016-05-26 | 농업회사법인 주식회사 홀인원 | Greenhouse system to be controlled by using ict-based smart phone |
CN104717306A (en) * | 2015-04-02 | 2015-06-17 | 江苏大学 | Greenhouse Internet-of-Things measurement and control system, and data synchronization method thereof |
CN105208016A (en) * | 2015-09-07 | 2015-12-30 | 山东大学 | Agricultural internet of things multi-data transmission and processing method |
CN108234674A (en) * | 2018-02-26 | 2018-06-29 | 汤杰 | Intelligent vegetables household electrical appliances Internet of things system |
Non-Patent Citations (3)
Title |
---|
张雪飞: "基于容灾备份的设施温室环境监控系统关键技术的研究", 《江苏农业科学》 * |
张雪飞: "设施蔬菜水肥一体化智能灌溉控制系统的设计及试验", 《山西农业科学》 * |
王建春: "基于多点数据采集远程温湿度监控系统的研究及应用", 《山西农业科学》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115441975A (en) * | 2021-06-02 | 2022-12-06 | 北京猎户星空科技有限公司 | Time synchronization method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101667034B (en) | Scalable monitoring system supporting hybrid clusters | |
CN111511080A (en) | Bluetooth mesh-based illumination control method and related system | |
CN102523103B (en) | Industrial monitoring network data collection node | |
DE112011101470B4 (en) | Adaptive wireless sensor network and method for routing data in a wireless sensor network | |
CN106993059A (en) | A kind of agriculture feelings monitoring system based on NB IoT | |
CN105737897B (en) | A kind of distribution crop field meteorology teledata monitoring system | |
CN104865835A (en) | Intelligent household system based on ZigBee | |
CN104301130A (en) | Method and system of collecting monitoring data as well as task distribution server and collection device | |
CN103458021B (en) | A kind of event driven with the adaptive sensor method for organizing of state | |
CN102929613A (en) | Adjusting and optimizing device and method for operating system | |
CN109156229A (en) | A kind of water-fertilizer integral pours control method, device and electronic equipment | |
DE112012000699T5 (en) | Detect a group of nodes in a network | |
CN103795575A (en) | Multi-data-centre-oriented system monitoring method | |
CN107148306A (en) | A kind of low power loss communication method and device that network is gathered based on micro-energy | |
CN202841205U (en) | Agricultural things of internet system based on intelligent mobile phone | |
CN106100866B (en) | Intelligent detection device, configuration device and method based on regional linkage | |
CN108846244A (en) | Building structure health intelligent monitors system | |
CN108234674A (en) | Intelligent vegetables household electrical appliances Internet of things system | |
CN109413606A (en) | Greenhouse System multipoint acquisition data-updating method, device, medium and electronic equipment | |
CN114035445A (en) | Intelligent household equipment control method, device and system based on indoor positioning | |
CN105637904A (en) | Traffic coordination for communication sessions involving wireless terminals and server devices | |
CN109035052A (en) | A kind of livestock-raising information cloud management system Internet-based | |
CN108999517A (en) | Smart home Ventilation conditioning system | |
CN112422663A (en) | Data centralization system of industrial Internet of things and data aggregation, processing and storage method | |
CN111711704A (en) | Data acquisition method and device based on response polling protocol |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190301 |
|
RJ01 | Rejection of invention patent application after publication |