CN114979207B - Production system and communication method for digital cultivation under unreliable network condition - Google Patents

Production system and communication method for digital cultivation under unreliable network condition Download PDF

Info

Publication number
CN114979207B
CN114979207B CN202210558812.2A CN202210558812A CN114979207B CN 114979207 B CN114979207 B CN 114979207B CN 202210558812 A CN202210558812 A CN 202210558812A CN 114979207 B CN114979207 B CN 114979207B
Authority
CN
China
Prior art keywords
data
terminal
production
network
farm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210558812.2A
Other languages
Chinese (zh)
Other versions
CN114979207A (en
Inventor
段卫军
侯国盛
王朝晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inner Mongolia Huiyun Technology Co ltd
Original Assignee
Inner Mongolia Huiyun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inner Mongolia Huiyun Technology Co ltd filed Critical Inner Mongolia Huiyun Technology Co ltd
Priority to CN202210558812.2A priority Critical patent/CN114979207B/en
Publication of CN114979207A publication Critical patent/CN114979207A/en
Application granted granted Critical
Publication of CN114979207B publication Critical patent/CN114979207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Cardiology (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a production system and a communication method for digital cultivation under unreliable network conditions. The production system for digital cultivation under the unreliable network condition comprises: the terminal is used for collecting production data; the farm computing end is respectively connected with the network end and the terminal, and is used for receiving the production data collected by the terminal, analyzing the production data according to an analysis model deployed in the farm computing end by the network end, feeding back an analysis result to the terminal, and sending the production data and/or the analysis result to the network end; the network end is used for receiving the production data and/or the analysis result sent by the farm computing end, updating the analysis model according to the production data and/or the analysis result, and returning the updated analysis model to the farm computing end. The invention solves the technical problem that the use efficiency of the whole system is low due to the network problem of the system consisting of the production environment and the cloud server in the cultivation industry in the prior art.

Description

Production system and communication method for digital cultivation under unreliable network condition
Technical Field
The invention relates to the field of application of Internet technology, in particular to a production system and a communication method for digital cultivation under unreliable network conditions.
Background
In the traditional cultivation industry, because the cultivation place is far away from the urban area, the optical fiber and the broadband network are easily broken in accident, and the universal network bandwidth and quality are low, so that the universal business requirement of real-time cloud service end interaction in the production process can not be met.
At present, the informatization production of the traditional enterprises is mainly carried out in the following modes:
1. and (5) producing data paper records and secondarily recording the data. In the informatization process of some traditional enterprises, the last kilometer is difficult to get through due to the reasons of network and the like, but the problems of acquisition and analysis of production data are also required to guide production. Therefore, paper records of the production process are adopted, and after the production is finished, the production is carried out by collecting the paper records by special persons, and the production is carried out in a mode that the network is normally recorded into a cloud server system. There are problems: paper recording and secondary recording are prone to error, data acquisition and recording time are high in cost, real-time monitoring and early warning cannot be achieved, and the like.
2. And the local area network is used as a production unit for production. The production system is deployed in a local area network of a farm, and auxiliary production is carried out by adopting a sensing terminal and a mobile production terminal. There are problems: the method can not meet the requirement of clustered multi-field overall management, can not realize on-site monitoring and early warning, and can not realize optimized intelligent production decision of single production unit production data.
3. The terminal is directly connected with the cloud service end for production. Some traditional enterprises adopt SAAS (Software-as-a-service) services provided by a third party, and adopt a mode that a terminal directly interacts with a cloud service end to carry out production. There are problems: production is interrupted or uninterrupted after network interruption but production data and sensor data acquisition is stopped. The system cannot provide comprehensive, real-time and effective production data, cannot feed back real and effective production decision references, and is practically unavailable.
Aiming at the problem that the use efficiency of the whole system is low due to the network problem of the system consisting of the production environment and the cloud server in the cultivation industry in the prior art, no effective solution is proposed at present.
Disclosure of Invention
The embodiment of the invention provides a production system and a communication method for digital cultivation under unreliable network conditions, which at least solve the technical problem that the use efficiency of the whole system is low due to the network problem due to the production environment and cloud server-side system existing in the cultivation industry in the prior art.
According to an aspect of an embodiment of the present invention, there is provided a production system for digital farming under unreliable network conditions, comprising: the system comprises a network end, a farm computing end and a terminal, wherein the terminal is used for acquiring production data; the farm computing end is respectively connected with the network end and the terminal, and is used for receiving the production data collected by the terminal, analyzing the production data according to an analysis model deployed in the farm computing end by the network end, feeding back an analysis result to the terminal, and sending the production data and/or the analysis result to the network end; the network end is used for receiving the production data and/or the analysis result sent by the farm computing end, updating the analysis model according to the production data and/or the analysis result, and returning the updated analysis model to the farm computing end.
Optionally, the terminal includes: the system comprises a sensor terminal and a production terminal, wherein the sensor terminal is used for acquiring production environment state, production equipment state, production energy consumption data and automatic control equipment state, issuing control instructions to the automatic control equipment, and sending the production environment state, the production equipment state, the production energy consumption data, the automatic control equipment state and the control instructions to a farm computing end as sensing data; the production terminal is used for collecting service data, inquiring production state, uploading the service data to the farm computing terminal, and receiving analysis results returned by the farm computing terminal according to the production data and the service data.
Further, optionally, the sensor terminal sends the sensing data to the farm computing end through the farm internal network; the production terminal sends the business data to the farm computing terminal through the network inside the farm.
Optionally, the terminal further includes: and the monitoring terminal is used for monitoring the running state of at least one of the sensor terminal, the production terminal or the farm computing terminal, and displaying and inquiring the production data, the business progress and the analysis result.
Optionally, the farm computing terminal includes: the system comprises a data integration unit, a first compression and decompression unit, a first segmentation and splicing unit, a first data verification unit, a first data transmission unit and a first transmission control unit, wherein the first transmission control unit is used for triggering and generating a transmission control instruction for transmitting the sensing data and the service data under the condition that the sensing data transmitted by a sensor terminal and the service data transmitted by a production terminal are received; the data integration unit is used for integrating the sensing data and the service data according to the transmission control instruction to obtain a data file; the first compression and decompression unit is used for compressing the data file; the first segmentation and splicing unit is used for segmenting the compressed data file according to the transmission preset value; the first data verification unit is used for verifying the segmented data file according to a hash algorithm and sending a verification result to the second data verification unit at the network side; the first data transmission unit is used for transmitting the divided data files according to the transmission control instruction.
Further, optionally, the network side includes: the cloud server and/or the cloud server cluster, wherein the network side comprises a storage execution unit, a second compression and decompression unit, a second segmentation and concatenation unit, a second data verification unit, a second data transmission unit and a second transmission control unit, wherein the second data transmission unit is used for receiving data files; the second data verification unit is used for verifying the data file; the second splitting and splicing unit is used for splicing the data files after the verification is successful; the second compression and decompression unit is used for decompressing the spliced data files; the storage execution unit is used for analyzing the decompressed data file, notifying the data integration unit to retransmit through the second transmission control unit if the decompressed data file is abnormal, and checking the retransmitted data through the second data checking unit; if the execution is successful, the thirty-year old data integration unit is notified to update the data synchronization state through the second transmission control unit.
Optionally, the network end is connected with at least one farm computing end, wherein the farm computing end and the network end are interactively connected through heartbeat; and the network side acquires the category of the farm computing side according to the heartbeat interaction, acquires the version number of the program to be updated according to the category, and returns the version number to the farm computing side through the heartbeat response information, so that the farm computing side acquires the corresponding program to be updated from the network side according to the version number for updating.
Further, optionally, the farm computing end calculates the real-time network bandwidth according to the counted packet loss rate and the average delay, allocates a corresponding priority according to the data type of the data to be transmitted, and allocates a corresponding transmission proportion and a corresponding bandwidth proportion according to the priority.
According to another aspect of an embodiment of the present invention, there is provided a communication method including: the farm computing end receives the production data collected by the terminal; the farm computing end analyzes the production data according to an analysis model deployed in the farm computing end by the network end, and feeds back an analysis result to the terminal; and sending the production data and/or the analysis result to a network side.
Optionally, sending the production data and/or the analysis result to the network side includes: under the condition that sensing data sent by a sensor terminal in the terminal and service data sent by a production terminal in the terminal are received, triggering and generating a transmission control instruction for transmitting the sensing data and the service data; data integration is carried out on the sensing data and the service data according to the transmission control instruction, and a data file is obtained; compressing the data file; dividing the compressed data file according to a transmission preset value; verifying the segmented data file according to a hash algorithm, and sending a verification result to a network side; and transmitting the segmented data file according to the transmission control instruction.
Optionally, the method further comprises: and the farm computing end calculates the real-time network bandwidth according to the counted packet loss rate and the average delay, allocates corresponding priority according to the data type of the data to be transmitted, and allocates corresponding transmission proportion and corresponding bandwidth proportion according to the priority.
Optionally, the method further comprises: the farm computing end and the network end are interacted through heartbeat to establish communication connection; under the condition that the farm computing end carries the category of the farm computing end to the network end through a heartbeat protocol in heartbeat interaction, heartbeat response information sent by the network end is received, wherein the heartbeat response information comprises the version number of a program to be updated; and the farm computing end acquires the corresponding program to be updated from the network end according to the version number to update.
In the embodiment of the invention, the terminal is used for collecting production data; the farm computing end is respectively connected with the network end and the terminal, and is used for receiving the production data collected by the terminal, analyzing the production data according to an analysis model deployed in the farm computing end by the network end, feeding back an analysis result to the terminal, and sending the production data and/or the analysis result to the network end; the network end is used for receiving the production data and/or the analysis result sent by the farm computing end, updating the analysis model according to the production data and/or the analysis result, and returning the updated analysis model to the farm computing end, so that the technical effects of high availability and high efficiency of the production environment and the cloud service end under the unreliable network condition are realized, and the technical problem of low use efficiency of the whole system due to the network problem of the system consisting of the production environment and the cloud service end in the cultivation industry in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a schematic diagram of a production system for digital farming under unreliable network conditions according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a system frame in a production system for digital farming under unreliable network conditions according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the architecture of data interactions in a production system for digital farming under unreliable network conditions according to an embodiment of the present invention;
fig. 4 is a flow chart of a communication method according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
Example 1
According to an aspect of the embodiment of the present invention, there is provided a production system for digital cultivation under unreliable network conditions, fig. 1 is a schematic diagram of the production system for digital cultivation under unreliable network conditions according to an embodiment of the present invention, as shown in fig. 1, where the production system for digital cultivation under unreliable network conditions provided in the embodiment of the present application includes:
the system comprises a network end 12, a farm computing end 14 and a terminal 16, wherein the terminal 16 is used for collecting production data; the farm computing end 14 is respectively connected with the network end 12 and the terminal 16, and is used for receiving the production data collected by the terminal 16, analyzing the production data according to an analysis model of the network end 12 deployed in the farm computing end 14, feeding back an analysis result to the terminal 16, and sending the production data and/or the analysis result to the network end 12; the network side 12 is configured to receive the production data and/or the analysis result sent by the farm computing side 14, update the analysis model according to the production data and/or the analysis result, and return the updated analysis model to the farm computing side 14.
The production system for digital cultivation under the unreliable network condition provided by the embodiment of the application can be applied to traditional industrial informatization transformation such as cultivation industry, and the like, and is described by taking the cultivation industry as a preferred example, and the production system for digital cultivation under the unreliable network condition provided by the embodiment of the application consists of a network end 12, a farm computing end 14 and a terminal 16;
Wherein the terminal 16 comprises: the sensor terminal 161 and the production terminal 162, wherein the sensor terminal 161 is configured to collect production environment status, production equipment status, production energy consumption data, and automation control equipment status, send a control instruction to the automation control equipment, and send the production environment status, the production equipment status, the production energy consumption data, the automation control equipment status, and the control instruction as sensing data to the farm computing end 14; the production terminal 162 is configured to collect service data, query a production status, upload the service data to the farm computing terminal 14, and receive an analysis result returned by the farm computing terminal 14 according to the production data and the service data.
Further, the sensor terminal 161 transmits the sensing data to the farm computing terminal 14 through the in-farm network; the production terminal 162 transmits the business data to the farm computer 14 via an on-farm network.
Optionally, the terminal 16 further includes: and a monitoring terminal 163, wherein the monitoring terminal 163 is used for monitoring the operation state of at least one of the production terminal 162 or the farm-computing terminal 14 of the sensor terminal 161, and displaying and inquiring the production data, the business progress and the analysis result.
The network side 12 includes: cloud servers and/or cloud server clusters; in the embodiment of the present application, a cloud server is taken as an example for explanation.
Specifically, the production system for digital cultivation under the unreliable network condition provided by the embodiment of the invention can be applied to digital cultivation under the unreliable network condition, as shown in fig. 2, fig. 2 is a schematic diagram of a system frame in the production system for digital cultivation under the unreliable network condition according to the embodiment of the invention,
the sensing data acquired by the sensor terminal 161 and the production data acquired by the production terminal 162 are forwarded to the cloud server through the farm computing terminal 14; the cloud server generates a new analysis model according to the new production data and the existing training method; the cloud server issues the model to each farm computing end 14; the farm computing end 14 directs production according to the analysis model and the real-time production data, and issues production pre-warning and production monitoring data to the production terminal 162, and simultaneously reports the production pre-warning and production monitoring data to the cloud server, which forwards the data to the monitoring terminal.
The monitoring terminal 163 is used for at least one of querying production data, receiving early warning data, or monitoring progress of a business (i.e., analysis results in the embodiments of the present application).
The production system for digital cultivation under unreliable network conditions provided by the embodiment of the application is additionally provided with the farm computing end 14, and under the condition of network interruption, the farm is internally provided with the farm computing end 14 as a support to ensure that digital production is normally carried out. The production system for digital culture under the unreliable network condition is suitable for real-time production support under the unreliable network condition.
In this embodiment of the present application, the analysis result is obtained by analyzing the production data by the farm computing end 14 according to the analysis model, where the analysis result may be represented as early warning information for indicating the production adjustment mode of the next stage/next node;
the analysis results can also be used as long-term data to accumulate to achieve control data for generating specific business states according to historical data, wherein the specific business states can be average parity number, difficult yield of specific backfat amount, mortality in specific environment and the like of specific breeding procedures;
the analysis result can also be used as a learning sample of each machine learning of the analysis model.
Optionally, farm computing terminal 14 includes: the system comprises a data integration unit, a first compression and decompression unit, a first segmentation and splicing unit, a first data verification unit, a first data transmission unit and a first transmission control unit, wherein the first transmission control unit is used for triggering and generating a transmission control instruction for transmitting the sensing data and the service data under the condition that the sensing data transmitted by a sensor terminal 161 and the service data transmitted by a production terminal 162 are received; the data integration unit is used for integrating the sensing data and the service data according to the transmission control instruction to obtain a data file; the first compression and decompression unit is used for compressing the data file; the first segmentation and splicing unit is used for segmenting the compressed data file according to the transmission preset value; the first data verification unit is used for verifying the segmented data file according to a hash algorithm and sending a verification result to the second data verification unit of the network side 12; the first data transmission unit is used for transmitting the divided data files according to the transmission control instruction.
In this embodiment, the farm computing end 14 is configured to receive data of the production terminal 162 and the sensor terminal 161, and perform production decision and production early warning (i.e., analysis result in this embodiment) by using an analysis model issued from the cloud server, and meanwhile, the farm computing end 14 carries tasks of sensor data forwarding, production data forwarding, early warning data forwarding, and upgrade program downloading forwarding.
Optionally, the network end 12 is configured to include a storage executing unit, a second compression and decompression unit, a second splitting and splicing unit, a second data checking unit, a second data transmission unit, and a second transmission control unit, where the second data transmission unit is configured to receive a data file; the second data verification unit is used for verifying the data file; the second splitting and splicing unit is used for splicing the data files after the verification is successful; the second compression and decompression unit is used for decompressing the spliced data files; the storage execution unit is used for analyzing the decompressed data file, notifying the data integration unit to retransmit through the second transmission control unit if the decompressed data file is abnormal, and checking the retransmitted data through the second data checking unit; if the execution is successful, the thirty-year old data integration unit is notified to update the data synchronization state through the second transmission control unit.
The network side 12 in the embodiment of the present application is illustrated by taking a cloud server as an example, where the cloud server is used to collect production and sensing data of each farm, train an analysis model, and send the analysis model to a farm computing side of each farm to make a production decision, and meanwhile, the cloud server provides production data and early warning data forwarding functions.
Optionally, the network side 12 is connected to at least one farm computing side 14;
in the embodiment of the present application, one cloud server corresponds to a plurality of farm computing terminals 14 and monitoring terminals 163, and one farm computing terminal 14 corresponds to a plurality of sensor terminals 161 and production terminals 162.
The cloud server is transparent to the sensor terminals 161 and the production terminals 162, i.e. the sensor terminals 161 and the production terminals 162 only interact with the farm computing terminal 14; the monitoring terminal 163 interacts only with the cloud server.
Specifically, fig. 3 is a schematic diagram of a framework of data interaction in a production system for digital cultivation under unreliable network conditions according to an embodiment of the present invention, where in the embodiment of the present application, the farm computing end 14 and the network end 12 are shown in fig. 3, and the farm computing end 14 includes: the system comprises a data integration unit, a first compression and decompression unit, a first segmentation and splicing unit, a first data verification unit, a first data transmission unit and a first transmission control unit; the network side 12 includes: the device comprises a storage execution unit, a second compression and decompression unit, a second division and splicing unit, a second data verification unit, a second data transmission unit and a second transmission control unit; wherein,
A data integration unit: the method is responsible for arranging discrete structured and unstructured data strictly according to a given strategy to form a data file; for the same kind of data, the data of the first class is strictly ensured to be executed first, the data consistency of the farm computing end and the cloud server is ensured, the data file is generated, the file is divided by adopting time and file size double strategy control files, and the file is divided when the time exceeds a threshold value or the size exceeds the threshold value. In the embodiment of the application, the time threshold of the production data is set to 30 seconds, the size threshold is set to 64KB, the time threshold of the sensing data is set to 60 seconds, the size threshold is set to 1MB, the time threshold of the early warning data is set to 5 seconds, and the size threshold is set to 10KB; meanwhile, the data integration unit is responsible for forwarding the received production decision mode and the software upgrading package to a farm computing end main program, and upgrading is controlled by the main program.
First compression decompression unit/second compression decompression unit: and the data file generated by the data integration unit is compressed, the data file generated by the segmentation and splicing unit is decompressed, the bandwidth and time occupation in the transmission process are reduced to the maximum extent, and the synchronization success rate is improved.
First division splice unit/second division splice unit: the method is responsible for dividing data according to the size of a set transmission data block, avoiding secondary subpackaging of a protocol level and improving the transmission efficiency of the data packet; and simultaneously, the received data blocks are spliced correctly. The user datagram protocol is adopted for data transmission, the maximum size of a data field except a packet head of each data packet is 1472 bytes, so that the secondary sub-packet cost of the data is saved, the data packet transmission efficiency is improved, and the size of a data file is 1472 bytes.
First data check unit/second data check unit: and performing hash algorithm-based verification calculation on the data before segmentation, performing hash algorithm-based verification on the spliced file, and notifying retransmission through a signaling transmission unit if the verification is not passed.
First transmission control unit/second transmission control unit: and signaling data transmission is carried out by adopting a reliable data transmission protocol, so that the real-time reliable forwarding of the signaling data after abnormal/normal execution of each flow is ensured.
First data transmission unit/second data transmission unit: and the high-efficiency data transmission protocol is adopted for data transmission, so that the high-efficiency and rapid data transmission of the data is ensured.
Based on the above, as shown in fig. 3, the flow of the data interaction between the farm computing terminal 14 and the network terminal 12 is as follows:
s1: the farm computing end 14 establishes a keep-alive mechanism with the cloud server, and the keep-alive mechanism serves as a means for judging the current farm network state, detects and switches the farm computing end 14 network state in real time, and provides support for subsequent data synchronization business strategy execution.
The keep-alive mechanism may be a heartbeat mechanism, i.e. detecting whether the farm computing 14 is online or not, according to a timed query.
S2: the sensor terminals 161 and production terminals 162 of the farm collect sensor data and business data to the farm computing terminal 14.
S3: the farm computing end 14 generates early warning information (i.e., analysis results in the embodiment of the present application) according to the business data, the sensing data, and the analysis model issued by the cloud server.
S4: the farm computing end 14 performs data integration through the data integration unit according to the transmission control instruction generated by the first transmission control unit, and calls the first compression and decompression unit to compress the integrated data file.
S5: the farm computing terminal 14 calls the first splitting and splicing unit to split the compressed data file according to the transmission preset value.
S6: the farm computing end 14 performs verification computation based on a hash algorithm on the segmented data file through a first data verification unit, and transmits the computation result to a second data verification unit of the cloud server through a first transmission control unit.
S7: the first data transmission unit transmits the divided data according to the transmission control instruction of the first transmission control unit.
S8: and after the second segmentation and splicing unit of the cloud server receives the data, a second data verification unit of the cloud server verifies each received data block. If the check is not passed, the first transmission control unit (of the farm computing side 14) is informed that the block needs to be retransmitted, and the first transmission control unit controls the first data transmission unit to retransmit the block.
S9: and after the second data verification unit of the cloud server detects that all the blocks pass the verification, the second division and splicing unit splices the file.
S10: and the second compression and decompression unit of the cloud server decompresses the file.
S11: and the storage execution unit of the cloud server analyzes and executes the file content, if the file content is abnormal, the second transmission control unit is notified, the second data verification unit is called to re-verify the program version, and the data integration unit of the farm computing end 14 organizes data retransmission. If the execution is successful, the second transmission control unit is notified, and the data integration unit is called to put the relevant data into a synchronous state.
In addition, as shown in fig. 3, the cloud server is denoted as a cloud server side, and both the cloud server side and the farm computing side deploy a heartbeat unit and a network quality monitoring unit; wherein,
and the heartbeat unit is used for judging the network state through sending and receiving heartbeat packets every 1 second, carrying program version information and providing support for timely program updating.
The network quality monitoring unit monitors the network quality through the heartbeat unit and the data transmission log of the transmission control unit and provides basic data support for the data transmission control method based on the network quality and the data priority.
It should be noted that, the "first" and "second" in the embodiments of the present application are only described to distinguish between the farm computing end and the cloud service end, and the units with the same functions may be implemented for the same type of device in different devices, so "first" and "second" are not labeled in fig. 3.
Wherein, the farm computing terminal 14 and the network terminal 12 establish communication connection through heartbeat interaction; and the network side 12 acquires the category of the farm computing side 14 according to the heartbeat interaction, acquires the version number of the program to be updated according to the category, and returns the version number to the farm computing side 14 through the heartbeat response information, so that the farm computing side 14 acquires the corresponding program to be updated from the network side 12 according to the version number for updating.
Specifically, taking the update analysis model as an example, the farm computing end 14 obtains the corresponding program to be updated from the network end 12 according to the version number to perform the update process as follows:
s1: the farm computing end 14 establishes a keep-alive mechanism with the cloud server, and the keep-alive mechanism serves as a means for judging the current farm network state, detects and switches the farm computing end 14 network state in real time, and provides support for subsequent data synchronization business strategy execution. The heartbeat packet of the keep-alive mechanism feeds back the latest program version of the server.
S2: farm-computing side 14 determines the current terminal version (i.e., the version of the software upgrade update package or analysis model) and farm-computing side 14 version, and if they are consistent, does not process. And if the first transmission control unit is inconsistent, sending an upgrading instruction to the cloud server.
S3: and the cloud server compresses the software upgrade package through the second compression and decompression unit and sends the software upgrade package to the second segmentation and splicing unit.
S4: and the cloud server calls a second segmentation and splicing unit to segment the compressed data file according to the transmission preset value.
S5: the second data verification unit of the cloud server performs verification calculation based on a hash algorithm on the segmented data file, and transmits a calculation result to the first data verification unit of the farm calculation end 14 through the second transmission control unit.
S7: the second data transmission unit transmits the divided data according to the transmission control instruction of the second transmission control unit.
S8: after receiving the data, the first split-splice unit of the farm-computing terminal 14 checks each received data block by the first data check unit of the farm-computing terminal 14. And if the check is not passed, informing the second transmission control unit that the block needs to be retransmitted, and controlling the second data transmission unit to retransmit the block by the second transmission control unit.
S9: after the first data verification unit of the farm computing end 14 detects that all the blocks pass verification, the first splitting and splicing unit splices the file.
S10: the first compression and decompression unit of the farm computing side 14 decompresses the file.
S11: farm computing side 14 main program control upgrades.
Further, optionally, the farm calculating end 14 calculates the real-time network bandwidth according to the counted packet loss rate and the average delay, allocates a corresponding priority according to the data type of the data to be transmitted, and allocates a corresponding transmission proportion and a corresponding bandwidth proportion according to the priority.
Specifically, the farm computing end 14 calculates the real-time network bandwidth according to the counted packet loss rate and the average delay, and allocates a corresponding priority according to the data type of the data to be transmitted, and the transmission ratio and the corresponding bandwidth ratio corresponding to the priority allocation are specifically as follows:
S1: whether to begin data transmission is determined based on the network status of farm computing 14 as determined by the keep-alive mechanism. If the farm computing side 14 network status is online, starting to transmit data; if the farm computing 14 network status is offline, the data transmission is stopped.
S2: the average time delay during a period of time is calculated by subtracting the average number of time stamps carried by the heartbeat packets received by the farm computing terminal 14 from the time the farm computing terminal 14 receives the returned heartbeat packets during the period of time. The i-th detected delay is denoted as d i The average delay of n detections is:
s3: and calculating the packet loss rate in the period of time by dividing the number of the heartbeat reply packets which are not received in the period of time by the number of the heartbeat packets sent by the farm. The i-th detection of packet loss is recorded as l i If packet loss L i Assign 0, if not lost L i Assigning 1, the packet loss rate of n times of detection is as follows:
s4: the priority of the transmission data type is ranked, wherein the early warning data belongs to the A grade, the error retransmission data belongs to the B grade, the production data belongs to the C grade, the sensing data belongs to the D grade and the software upgrading package belongs to the E grade. The priority is gradually decreased according to A, B, C, D, E, wherein the proportion of A, B, C, D, E levels of data in transmission data packets is preset as follows: a (50%), B (25%), C (15%), D (8%), E (2%). (i.e., in the embodiment of the present application, corresponding priorities are assigned according to the data types of the data to be transmitted, and corresponding transmission proportions are assigned according to the priorities).
S5: the instant available network bandwidth is calculated, the current network congestion situation is determined by the average delay and the packet loss rate, and the available network bandwidth is calculated (i.e. the farm calculator 14 in the embodiment of the present application calculates the real-time network bandwidth according to the counted packet loss rate and the average delay). If the physical network bandwidth is W, sampling n times of heartbeat before the moment j, and setting the initial available network bandwidth W 0 The available network bandwidth after the first adjustment is recorded as W for 0.75W 1 Then:
the network bandwidth available after the jth adjustment is noted as: w (w) 1
S6: judging whether each type of data has a new data file, if so, establishing an independent transmission channel for the corresponding data to transmit the data, and if not, uniformly spreading the corresponding network bandwidth for other data to use. The bandwidth proportion occupied by the early warning data, the error retransmission data, the production data, the sensing data and the software upgrading packet is respectively recorded as follows: pw (pw) a (b)、pw b (b)、pw c (b)、pw d (b)、pw e (b) First transmission control listThe first data transmission units are controlled by the metadata to be pw a (b/s)、pw b (b/s)、pw c (b/s)、pw d (b/s)、pw e And (b/s) transmitting corresponding data at a rate.
Then the available network bandwidth w at time j j =pw a +pw b +pw c +pw d +pw e The method comprises the steps of carrying out a first treatment on the surface of the (i.e., corresponding transmission ratio and corresponding bandwidth ratio depending on priority allocation in the embodiment of the present application).
S7: every set threshold, this example is to do the instant available network bandwidth w once every 3 minutes j And (5) detecting and adjusting.
In summary, in the embodiments of the present application
The sensor terminals 161 are in bi-directional communication with the farm computer 14 and the production terminals 162 are in bi-directional communication with the farm computer 14. Farm computing side 14 communicates bi-directionally with the cloud server. The cloud server bi-directionally communicates with the monitoring terminal 163.
One cloud server can interact with a plurality of farm-computing terminals 14 and a plurality of monitoring terminals 163 at the same time, and one farm-computing terminal 14 and one monitoring terminal 163 interact with only one cloud server at the same time.
One farm-computing terminal 14 can interact with a plurality of sensor terminals 161 and a plurality of production terminals 162 simultaneously, one sensor terminal 161 and production terminal 162 interacting with only one farm-computing terminal 14 simultaneously.
The sensor terminals 161 and the production terminals 162 do not directly interact with the cloud server.
And the cloud server completes the storage management of the production and sensing data, and simultaneously utilizes the stored production data of a plurality of production farms of the same type to call a deep learning algorithm to perform model training on key production factors so as to generate an analysis model. The analysis model is actively requested to be updated by the farm computing side 14.
When the production terminal 162 and farm computing terminal 14 program need to be upgraded, the software upgrade package is manually uploaded to the cloud server to update the cloud server program version number. The latest program version is requested by the farm-computing side 14, and it is determined that if the production terminal 162 or the farm-computing side 14 program needs to be upgraded, the farm-computing side 14 actively requests the download of the upgrade package and executes it.
The cloud server acquires the data request of the monitoring terminal 163, extracts and returns corresponding data to the monitoring terminal 163, and actively pushes and transmits the data to the monitoring terminal 163 after receiving the early warning information.
The farm calculation end 14 is configured to collect data of the sensor terminal 161 and the production terminal 162, and perform production decision pre-warning using an analysis model. And detecting the network state of the cloud end, and pushing production data, sensing data and early warning data to the cloud server if the network state is normal.
The production terminal 162 queries the farm computing terminal 14 for the present farm production data, and reports the new production data to the farm computing terminal 14.
The sensor terminal 161 reports the sensed data to the farm computing terminal 14.
The cloud server provides a timing function based on NTP service, and all farm computing terminals 14 perform timing through the NTP service of the cloud server terminal, so that time synchronization between the cloud server and each farm computing terminal 14 is ensured.
The specific interaction flow of the cloud server, the farm computing terminal 14, the sensor terminal 161, the production terminal 162 and the monitoring terminal 163 comprises:
1. the farm computing end 14 establishes a keep-alive mechanism with the cloud server, the keep-alive mechanism is used as a means for judging the current farm network state, the network state of the farm computing end 14 is detected and switched in real time, support is provided for the follow-up data synchronization business strategy execution, and the keep-alive mechanism specifically comprises the following steps:
S1: the farm computing end 14 sends a heartbeat packet to the cloud server every second of heartbeat interval, and the heartbeat packet carries the program category of the farm computing end 14, a sequence code capable of uniquely identifying the heartbeat packet and a current timestamp.
S2: the cloud server immediately replies a heartbeat response packet after receiving the heartbeat response packet, and the farm computing terminal 14 sends the unique identification sequence code and the time stamp of the heartbeat packet, and the latest program version information of the farm computing terminal 14 and the program version information of the production terminal 162.
S3: if the farm computer 14 receives no response packet for more than 5 seconds, the farm computer 14 switches to the offline state, which is considered a network outage.
S4: the farm computing end 14 continuously sends heartbeat packets to the cloud server according to the established strategy in an offline state, and once the heartbeat response packet is received, the farm computing end 14 is switched to an online state.
2. The method comprises the steps of collecting and sending production service data to a cloud server, wherein the specific flow comprises the following steps:
s1: the service data collected by the sensor terminal 161 and the production terminal 162 are transmitted to the farm calculating terminal 14 in real time.
S2: farm computing terminal 14 parses and stores the collected production data/sensor data.
S3: farm computing side 14 stores and forwards the business data/sensory data to the cloud server using the high availability data exchange module.
S4: the monitoring end displays/inquires the production service data and the sensing data in real time according to the requirement.
3. The method comprises the following steps of:
s1: the farm computing end 14 generates early warning information according to the business data, the sensing data and the analysis model issued by the cloud server.
S2: after the new warning information is generated, the farm computing terminal 14 forwards the warning information to the production terminal 162, and generates a farm internal warning.
S3: after the new early warning information is generated, the farm computing end 14 calls the high-availability data exchange module to forward the early warning information to the cloud server, and the early warning information is forwarded to the monitoring terminal 163 by the cloud server.
S4: farm producers execute the early warning elimination task according to the early warning prompt, and the farm computing end 14 generates early warning elimination information according to the analysis model.
S5: after the new early warning elimination information is generated, the farm computing end 14 calls the high-availability data exchange module to forward the early warning elimination information to the cloud server, and the cloud server forwards the early warning elimination information to the monitoring terminal 163.
4. The cloud server issues an analysis model and a software upgrade package to the farm computing end 14, and the specific flow includes:
s1: and the cloud server keep-alive module queries the latest version number of the class according to the class of the farm computing end 14 program carried by the heartbeat packet and returns the latest version number in the form of the heartbeat response packet.
S2: the farm-computing terminal 14 obtains the latest program version information of the farm-computing terminal 14 and the program version information of the production terminal 162 from the heartbeat response packet, and compares the latest program version information with the current program version information.
S21: the latest program version is consistent with the current program version and is not processed.
S22: the latest program version is larger than the current program version, and the high-availability data exchange module is called to download the update package.
S3: farm calculator 14 updates at a set time and production terminal 162 automatically updates after the program is started.
In the embodiment of the application, the production control program is downloaded to the farm, production is performed based on a reliable network in the farm, and production cannot be influenced by any abnormality in the public network; the method comprises the steps that the calculation amount of production decision model calculation and the like is large, and the service requiring large data amount calculation is deployed on a cloud server with strong calculation power; the embodiment of the application is particularly suitable for the requirements of clustered culture management; a data transmission and abnormal retransmission control mechanism under unreliable network conditions is established, so that timely and accurate data exchange between a farm computing end and a cloud server is ensured; and the data synchronization priority is dynamically adjusted while the consistency of the farm computing end and the cloud server data is ensured by a culture data synchronization algorithm based on the dynamic priority, so that the priority transmission of high-priority data is ensured.
In the embodiment of the invention, the terminal is used for collecting production data; the farm computing end is respectively connected with the network end and the terminal, and is used for receiving the production data collected by the terminal, analyzing the production data according to an analysis model deployed in the farm computing end by the network end, feeding back an analysis result to the terminal, and sending the production data and/or the analysis result to the network end; the network end is used for receiving the production data and/or the analysis result sent by the farm computing end, updating the analysis model according to the production data and/or the analysis result, and returning the updated analysis model to the farm computing end, so that the technical effects of high availability and high efficiency of the production environment and the cloud service end under the unreliable network condition are realized, and the technical problem of low use efficiency of the whole system due to the network problem of the system consisting of the production environment and the cloud service end in the cultivation industry in the prior art is solved.
Example 2
According to another aspect of the embodiment of the present invention, there is provided a communication method, fig. 4 is a schematic flow chart of the communication method according to the embodiment of the present invention, and as shown in fig. 4, on a farm computing side, the communication method provided in the embodiment of the present application includes:
Step S402, a farm computing terminal receives production data collected by a terminal;
step S404, the farm computing end analyzes the production data according to an analysis model deployed in the farm computing end by the network end, and feeds back an analysis result to the terminal;
step S406, the production data and/or the analysis result are sent to the network side.
Optionally, the step S406 of sending the production data and/or the analysis result to the network side includes: under the condition that sensing data sent by a sensor terminal in the terminal and service data sent by a production terminal in the terminal are received, triggering and generating a transmission control instruction for transmitting the sensing data and the service data; data integration is carried out on the sensing data and the service data according to the transmission control instruction, and a data file is obtained; compressing the data file; dividing the compressed data file according to a transmission preset value; verifying the segmented data file according to a hash algorithm, and sending a verification result to a network side; and transmitting the segmented data file according to the transmission control instruction.
Specifically, as shown in fig. 3, the flow of data interaction between the farm computing end and the network end is as follows:
s1: and the farm computing end and the cloud server establish a keep-alive mechanism, and the keep-alive mechanism is used as a means for judging the current farm network state, detects and switches the network state of the farm computing end in real time, and provides support for the follow-up execution of the data synchronization business strategy.
The keep-alive mechanism may be a heartbeat mechanism, that is, detecting whether the farm computing end is online according to a timing query manner.
S2: and the sensor terminal and the production terminal of the farm acquire sensing data and business data to the farm computing terminal.
S3: and the farm computing end generates early warning information (namely, an analysis result in the embodiment of the application) according to the business data, the sensing data and the analysis model issued by the cloud server.
S4: and the farm computing end performs data integration through the data integration unit according to the transmission control instruction generated by the first transmission control unit, and calls the integrated data file to the first compression and decompression unit for compression.
S5: and the farm computing end calls a first segmentation and splicing unit to segment the compressed data file according to the transmission preset value.
S6: the farm computing end performs verification computation based on a hash algorithm on the segmented data file through a first data verification unit, and transmits a computation result to a second data verification unit of the cloud server through a first transmission control unit.
S7: the first data transmission unit transmits the divided data according to the transmission control instruction of the first transmission control unit.
S8: and after the second segmentation and splicing unit of the cloud server receives the data, a second data verification unit of the cloud server verifies each received data block. If the check is not passed, the first transmission control unit (of the farm computing end) is informed that the block needs to be retransmitted, and the first transmission control unit controls the first data transmission unit to retransmit the block.
S9: and after the second data verification unit of the cloud server detects that all the blocks pass the verification, the second division and splicing unit splices the file.
S10: and the second compression and decompression unit of the cloud server decompresses the file.
S11: and the storage execution unit of the cloud server analyzes and executes the file content, if the file content is abnormal, the second transmission control unit is notified, the second data verification unit is called to re-verify the program version, and the data integration unit of the farm computing end 14 organizes data retransmission. If the execution is successful, the second transmission control unit is notified, and the data integration unit is called to put the relevant data into a synchronous state.
Optionally, the communication method provided in the embodiment of the present application further includes: and the farm computing end calculates the real-time network bandwidth according to the counted packet loss rate and the average delay, allocates corresponding priority according to the data type of the data to be transmitted, and allocates corresponding transmission proportion and corresponding bandwidth proportion according to the priority.
Specifically, the farm computing end calculates the real-time network bandwidth according to the counted packet loss rate and average delay, allocates corresponding priority according to the data type of the data to be transmitted, and allocates corresponding transmission proportion and corresponding bandwidth proportion according to the priority, specifically as follows:
s1: whether to start data transmission is determined based on the network status of the farm computing side determined by the keep-alive mechanism. If the network state of the farm computing end is online, starting to transmit data; and if the network state of the farm computing end is offline, stopping transmitting the data.
S2: and subtracting the average number of the time stamps carried by the heartbeat packets received by the farm computing end from the time of the heartbeat packet received by the farm computing end in a period of time, and calculating the average time delay in the period of time. The i-th detected delay is denoted as d i The average delay of n detections is:
s3: and calculating the packet loss rate in the period of time by dividing the number of the heartbeat reply packets which are not received in the period of time by the number of the heartbeat packets sent by the farm. The i-th detection of packet loss is recorded as l i If packet loss L i Assign 0, if not lost L i Assigning 1, the packet loss rate of n times of detection is as follows:
s4: the priority of the transmission data type is ranked, wherein the early warning data belongs to the A grade, the error retransmission data belongs to the B grade, the production data belongs to the C grade, the sensing data belongs to the D grade and the software upgrading package belongs to the E grade. The priority is gradually decreased according to A, B, C, D, E, wherein the proportion of A, B, C, D, E levels of data in transmission data packets is preset as follows: a (50%), B (25%), C (15%), D (8%), E (2%). (i.e., in the embodiment of the present application, corresponding priorities are assigned according to the data types of the data to be transmitted, and corresponding transmission proportions are assigned according to the priorities).
S5: the instant available network bandwidth is calculated, the current network congestion condition is determined through the average time delay and the packet loss rate, and the available network bandwidth is calculated (namely, the farm calculating end in the embodiment of the application calculates the real-time network bandwidth according to the counted packet loss rate and the average time delay). If the physical network bandwidth is W, sampling n times of heartbeat before the moment j, and setting the initial available network bandwidth W 0 The available network bandwidth after the first adjustment is recorded as W for 0.75W 1 Then:
the network bandwidth available after the jth adjustment is noted as: w (w) j
S6: judging whether each type of data has a new data file, if so, establishing an independent transmission channel for the corresponding data to transmit the data, and if not, uniformly spreading the corresponding network bandwidth for other data to use. The bandwidth proportion occupied by the early warning data, the error retransmission data, the production data, the sensing data and the software upgrading packet is respectively recorded as follows: pw (pw) a (b)、pw b (b)、pw c (b)、pw d (b)、pw e (b) The first transmission control unit controls the first data transmission units to be pw respectively a (b/s)、pw b (b/s)、pw c (b/s)、pw d (b/s)、pw e And (b/s) transmitting corresponding data at a rate.
Then the available network bandwidth w at time j j =pw a +pw b +pw c +pw d +pw e The method comprises the steps of carrying out a first treatment on the surface of the (i.e., corresponding transmission ratio and corresponding bandwidth ratio depending on priority allocation in the embodiment of the present application).
S7: every set threshold, this example is to do the instant available network bandwidth w once every 3 minutes j And (5) detecting and adjusting.
Optionally, the communication method provided in the embodiment of the present application further includes: the farm computing end and the network end are interacted through heartbeat to establish communication connection; under the condition that the farm computing end carries the category of the farm computing end to the network end through a heartbeat protocol in heartbeat interaction, heartbeat response information sent by the network end is received, wherein the heartbeat response information comprises the version number of a program to be updated; and the farm computing end acquires the corresponding program to be updated from the network end according to the version number to update.
Specifically, the cloud server issues an analysis model and a software upgrade package to the farm computing end, and the specific flow includes:
s1: and the cloud server keep-alive module queries the latest version number of the class according to the class of the farm computing end program carried by the heartbeat packet and returns the latest version number in the form of the heartbeat response packet.
S2: the farm computing end acquires the latest program version information of the farm computing end and the program version information of the production terminal from the heartbeat response packet, and compares the latest program version information with the current program version information.
S21: the latest program version is consistent with the current program version and is not processed.
S22: the latest program version is larger than the current program version, and the high-availability data exchange module is called to download the update package.
S3: the farm computing end updates at the set time, and the production terminal automatically updates after the program is started.
In the embodiment of the invention, the farm computing terminal receives the production data collected by the terminal; the farm computing end analyzes the production data according to an analysis model deployed in the farm computing end by the network end, and feeds back an analysis result to the terminal; the production data and/or analysis results are sent to the network end, so that the technical effects of high availability and high efficiency of the production environment and the cloud service end under the unreliable network condition are realized, and the technical problem of low use efficiency of the whole system due to the network problem of the system formed by the production environment and the cloud service end in the breeding industry in the prior art is solved.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (7)

1. A production system for digital farming under unreliable network conditions, comprising:
network end, farm computing end and terminal end, wherein,
The terminal is used for collecting production data;
the farm computing end is respectively connected with the network end and the terminal, and is used for receiving the production data collected by the terminal, analyzing the production data according to an analysis model deployed in the farm computing end by the network end, feeding back an analysis result to the terminal, and sending the production data and/or the analysis result to the network end;
the network end is used for receiving the production data and/or the analysis result sent by the farm computing end, updating the analysis model according to the production data and/or the analysis result, and returning the updated analysis model to the farm computing end;
the network side is connected with at least one farm computing side, wherein,
the farm computing end and the network end are interactively connected through heartbeat; the method comprises the steps of,
the network side acquires the category of the farm computing side according to the heartbeat interaction, acquires the version number of the program to be updated according to the category, and returns the version number to the farm computing side through the heartbeat response information, so that the farm computing side acquires the corresponding program to be updated from the network side according to the version number for updating;
And the farm computing end calculates the real-time network bandwidth according to the counted packet loss rate and the average time delay, allocates corresponding priority according to the data type of the data to be transmitted, and allocates corresponding transmission proportion and corresponding bandwidth proportion according to the priority.
2. The production system for digital farming under unreliable network conditions according to claim 1, wherein said terminal comprises: a sensor terminal and a production terminal, wherein,
the sensor terminal is used for collecting production environment state, production equipment state, production energy consumption data and automatic control equipment state, issuing a control instruction to the automatic control equipment, and sending the production environment state, the production equipment state, the production energy consumption data, the automatic control equipment state and the control instruction to the farm computing end as sensing data;
the production terminal is used for collecting service data, inquiring production state, uploading the service data to the farm computing terminal, and receiving the analysis result returned by the farm computing terminal according to the production data and the service data;
the sensor terminal sends the sensing data to the farm computing end through a farm internal network; and the production terminal sends the business data to the farm computing terminal through an internal farm network.
3. The production system for digital farming under unreliable network conditions according to claim 2, wherein said terminal further comprises: a monitoring terminal, wherein,
the monitoring terminal is used for monitoring the running state of at least one of the sensor terminal, the production terminal or the farm computing terminal, and displaying and inquiring the production data, the business progress and the analysis result.
4. The production system for digital farming under unreliable network conditions according to claim 2, wherein said farm computing side comprises: the system comprises a data integration unit, a first compression and decompression unit, a first segmentation and splicing unit, a first data verification unit, a first data transmission unit and a first transmission control unit, wherein,
the first transmission control unit is used for triggering and generating a transmission control instruction for transmitting the sensing data and the service data under the condition that the sensing data transmitted by the sensor terminal and the service data transmitted by the production terminal are received;
the data integration unit is used for carrying out data integration on the sensing data and the service data according to the transmission control instruction to obtain a data file;
The first compression and decompression unit is used for compressing the data file;
the first segmentation and splicing unit is used for segmenting the compressed data file according to a transmission preset value;
the first data verification unit is used for verifying the segmented data file according to a hash algorithm and sending a verification result to a second data verification unit of the network side;
the first data transmission unit is used for transmitting the divided data file according to the transmission control instruction.
5. The production system for digital farming under unreliable network conditions according to claim 4, wherein said network side comprises: the network end comprises a storage execution unit, a second compression and decompression unit, a second division and splicing unit, a second data verification unit, a second data transmission unit and a second transmission control unit,
the second data transmission unit is used for receiving the data file;
the second data verification unit is used for verifying the data file;
the second splitting and splicing unit is used for splicing the data files after the verification is successful;
The second compression and decompression unit is used for decompressing the spliced data files;
the storage execution unit is used for analyzing the decompressed data file, notifying the data integration unit to retransmit through the second transmission control unit if the data file is abnormal, and checking the retransmitted data through the second data checking unit; and if the execution is successful, notifying the data integration unit to update the data synchronization state through the second transmission control unit.
6. A method of communication, comprising:
the farm computing end receives the production data collected by the terminal;
the farm computing end analyzes the production data according to an analysis model deployed in the farm computing end by the network end, and feeds back an analysis result to the terminal;
transmitting the production data and/or the analysis result to the network side;
the method further comprises the steps of:
the farm computing end calculates real-time network bandwidth according to the counted packet loss rate and average delay, allocates corresponding priority according to the data type of the data to be transmitted, and allocates corresponding transmission proportion and corresponding bandwidth proportion according to the priority;
The farm computing end and the network end are interactively connected through heartbeat;
receiving heartbeat response information sent by the network terminal under the condition that the farm computing terminal carries the category of the farm computing terminal to the network terminal through a heartbeat protocol in the heartbeat interaction, wherein the heartbeat response information comprises the version number of a program to be updated;
and the farm computing end acquires the corresponding program to be updated from the network end according to the version number to update.
7. The communication method according to claim 6, wherein the sending the production data and/or the analysis result to the network side comprises:
under the condition that sensing data sent by a sensor terminal in the terminal and service data sent by a production terminal in the terminal are received, triggering and generating a transmission control instruction for transmitting the sensing data and the service data;
carrying out data integration on the sensing data and the service data according to the transmission control instruction to obtain a data file;
compressing the data file;
dividing the compressed data file according to a transmission preset value;
Verifying the segmented data file according to a hash algorithm, and sending a verification result to the network side;
and transmitting the segmented data file according to the transmission control instruction.
CN202210558812.2A 2022-05-20 2022-05-20 Production system and communication method for digital cultivation under unreliable network condition Active CN114979207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210558812.2A CN114979207B (en) 2022-05-20 2022-05-20 Production system and communication method for digital cultivation under unreliable network condition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210558812.2A CN114979207B (en) 2022-05-20 2022-05-20 Production system and communication method for digital cultivation under unreliable network condition

Publications (2)

Publication Number Publication Date
CN114979207A CN114979207A (en) 2022-08-30
CN114979207B true CN114979207B (en) 2024-03-26

Family

ID=82986069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210558812.2A Active CN114979207B (en) 2022-05-20 2022-05-20 Production system and communication method for digital cultivation under unreliable network condition

Country Status (1)

Country Link
CN (1) CN114979207B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104732328A (en) * 2015-02-03 2015-06-24 天津市农村工作委员会信息中心 Agricultural Internet of Things platform system
CN105897920A (en) * 2016-05-27 2016-08-24 北京农业信息技术研究中心 Crop monitoring analysis method and system
CN107786653A (en) * 2017-10-24 2018-03-09 深圳市启元机器人有限公司 A kind of ecologic breeding complex data collection analysis equipment, system and method
KR102119721B1 (en) * 2019-10-23 2020-06-05 주식회사 넥스트케이 Intellectual Edge Device and Driving Method Thereof
KR20220021339A (en) * 2020-08-13 2022-02-22 한국전자통신연구원 System and method for recognizing dynamic anomalies of multiple livestock equipment in a smart farm system
CN114092059A (en) * 2021-11-19 2022-02-25 浙江九州云信息科技有限公司 Intelligent pig raising management system and method based on cloud edge-end cooperation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104732328A (en) * 2015-02-03 2015-06-24 天津市农村工作委员会信息中心 Agricultural Internet of Things platform system
CN105897920A (en) * 2016-05-27 2016-08-24 北京农业信息技术研究中心 Crop monitoring analysis method and system
CN107786653A (en) * 2017-10-24 2018-03-09 深圳市启元机器人有限公司 A kind of ecologic breeding complex data collection analysis equipment, system and method
KR102119721B1 (en) * 2019-10-23 2020-06-05 주식회사 넥스트케이 Intellectual Edge Device and Driving Method Thereof
KR20220021339A (en) * 2020-08-13 2022-02-22 한국전자통신연구원 System and method for recognizing dynamic anomalies of multiple livestock equipment in a smart farm system
CN114092059A (en) * 2021-11-19 2022-02-25 浙江九州云信息科技有限公司 Intelligent pig raising management system and method based on cloud edge-end cooperation

Also Published As

Publication number Publication date
CN114979207A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
CN111031094B (en) Data transmission method, device, equipment and storage medium in IoT system
CN102510409B (en) Method and system for quickly and remotely updating program of mobile terminal by using wireless network
CN109769001B (en) Internet of things data transmission method and system
CN103955381B (en) Management server carries out volume software upgrade method and system to terminal device
CN109254788B (en) Method for upgrading firmware of equipment under low bandwidth
CN111611129B (en) Performance monitoring method and device of PaaS cloud platform
CN104754641A (en) Data transmission control method and data transmission control device
CN105450720B (en) GPS data acquisition and transmission method and device
CN107483297B (en) Active monitoring system and method for quality of service carried on embedded equipment
CN108833565A (en) A kind of method, apparatus of monitoring server, server and storage medium
CN114979207B (en) Production system and communication method for digital cultivation under unreliable network condition
CN111478938B (en) Data redundancy elimination method and device
CN116155720A (en) CAN data acquisition remote configuration method in T-BOX
WO2022095785A1 (en) Method and apparatus and system, device, and medium for obtaining capture-data format file
CN112208579B (en) FAO log transmission method and FAO system
CN114697329A (en) HPC cloud computing system based on cloud computing mobile network resource management
CN112698948A (en) Method and device for acquiring product resources, storage medium and electronic device
CN110784454A (en) Information transmission method and device based on new generation distribution automation main station
CN104753990A (en) Data synchronization method, device and system
CN116566955B (en) Digital voice call method, device and application based on mqtt
CN110719226B (en) Method and device for adjusting CU-U resources in MANO
KR20240070238A (en) Synchronous communication system and method between multiple images and data
CN112243226A (en) Cloud SIM card wireless network remote control method, system and server device
CN117294741A (en) Intelligent configuration system and method for intelligent screen prompt
CN117479051A (en) Quality difference identification method, quality difference identification device, optical line terminal, optical line system and storage medium

Legal Events

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