Agricultural security information remote transmission control method and system based on Internet of Things

By adopting dynamic data transmission control method based on the Internet of Things in agricultural security systems, the problem of unreasonable allocation of data transmission resources is solved, efficient and low-energy data transmission is achieved, and real-time monitoring and rapid response are supported.

CN118612247BActive Publication Date: 2025-02-18HENAN POLICE ACAD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410683256.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2025-02-18
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

In the existing agricultural security systems, due to the unreasonable configuration of data transmission resources, the server and communication channels are loaded and the energy consumption is high.

Method used

The remote transmission control method and system of agricultural security information based on the Internet of Things is adopted to collect agricultural security information in real time, and dynamically adjust the data transmission volume of a single batch according to the remaining capacity of the communication channel, form multiple data packets and gradually send them to the data collection terminal. The server sets up virtual servers and data transmission exclusive threads based on the received data volume information to ensure timely transmission and storage of information.

Benefits of technology

It effectively reduces the load on the server and communication channels, reduces energy consumption, improves the efficiency and reliability of data transmission, and supports real-time monitoring and fast response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612247B_ABST
    Figure CN118612247B_ABST
Patent Text Reader

Abstract

The present invention proposes a remote transmission control method and system for agricultural security information based on the Internet of Things. The remote transmission control method for agricultural security information includes: real-time collection of agricultural security information, and transmission of the agricultural security information to a data collection terminal; the data collection terminal transmits each type of agricultural security information to a server according to the information type of the agricultural security information; the server sets a virtual server and a data transmission exclusive thread according to the actual reception of the agricultural security information; the virtual server sends the received agricultural security information to a cloud platform using a data transmission exclusive thread, and stores and manages the information through the cloud platform. The system includes modules corresponding to the steps of the method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention proposes an agricultural security information remote transmission control method and system based on the Internet of Things, belonging to the technical field of data transmission. Background Art

[0002] Modern agricultural security systems usually use surveillance cameras and various sensors, such as temperature sensors, humidity sensors, motion sensors, etc., to monitor the conditions of farms and farmland. These devices can capture images, videos, and sensor data. Agricultural security systems require remote data transmission and therefore rely on various network communication technologies, including the Internet, Wi-Fi, cellular networks, and satellite communications. These technologies are used to transmit monitoring data to remote servers or cloud platforms for further analysis and access. However, due to the unreasonable configuration of data transmission resources in the prior art, the server and communication channel are often overloaded and the energy consumption is high. Summary of the invention

[0003] The present invention provides a remote transmission control method and system for agricultural security information based on the Internet of Things, which is used to solve the problem of unreasonable data transmission resource configuration in the prior art, resulting in heavy load on servers and communication channels and high energy consumption. The technical solutions adopted are as follows:

[0004] The agricultural security information remote transmission control method based on the Internet of Things comprises:

[0005] Collect agricultural security information in real time and transmit the agricultural security information to a data collection terminal;

[0006] The data collection terminal transmits each type of agricultural security information to the server according to the information type of the agricultural security information;

[0007] The server sets up a virtual server and a dedicated thread for data transmission according to the actual reception of agricultural security information;

[0008] The virtual server sends the received agricultural security information to the cloud platform using a dedicated data transmission thread, and stores and manages the information through the cloud platform.

[0009] Furthermore, collecting agricultural security information in real time and transmitting the agricultural security information to a data collection terminal includes:

[0010] Collect agricultural security information in real time through data collection terminals;

[0011] The data acquisition terminal collects the remaining capacity of the communication channel between the current data acquisition terminal and the data collection terminal in real time;

[0012] Determine the amount of data to be transmitted in a single batch according to the remaining capacity of the communication channel; wherein the value range of the amount of data to be transmitted in a single batch is 52%C-68%C; wherein C represents the remaining capacity of the communication channel;

[0013] The data collection terminal packages the collected agricultural security information according to the single batch transmission data volume to form multiple data packets;

[0014] The data packets are sent to the data collection terminal in sequence.

[0015] Furthermore, the data collection terminal transmits each type of agricultural security information to the server according to the information type of the agricultural security information, including:

[0016] After receiving the data packet corresponding to the agricultural security information, the data collection terminal decompresses the data packet to obtain the agricultural security information;

[0017] Dividing the agricultural security information according to data format types to form a plurality of primary data sets corresponding to the data format types;

[0018] Scan each primary data set to obtain the information type of agricultural security information contained in each primary data set;

[0019] Dividing the data according to the information type of the agricultural security information in the primary data set to form a plurality of secondary data sets under each primary data set;

[0020] Extracting the data volume of each primary data set in turn as first data volume information;

[0021] Extracting the data volume of each subordinate secondary data set corresponding to each primary data set as second data volume information;

[0022] The data collection terminal sends the first data volume information and the second data volume information to a server;

[0023] The server sets a virtual server corresponding to each primary data set and a data transmission dedicated thread corresponding to each secondary data set according to the first data volume information and the second data volume information; wherein the virtual server and the data transmission dedicated thread are used for data transmission between the server and the cloud platform;

[0024] When the server completes the virtual server and the data transmission dedicated thread, it sends a feedback signal to the data collection terminal;

[0025] After receiving the feedback signal, the data collection terminal sends the primary data set and all secondary data sets contained therein to the virtual server.

[0026] Further, the server sets a virtual server corresponding to each primary data set and a data transmission exclusive thread corresponding to each secondary data set according to the first data volume information and the second data volume information, including:

[0027] The server receives first data volume information and second data volume information;

[0028] The server sets a setting parameter factor corresponding to the virtual server corresponding to each primary data set according to the received first data volume information and second data volume information, wherein the setting parameter factor includes a first setting parameter factor and a second setting parameter factor;

[0029] Acquire configuration parameters of the virtual server corresponding to each primary data set using the first setting parameter factor and the second setting parameter factor;

[0030] The server sets a secondary parameter factor corresponding to the virtual server corresponding to each secondary data set according to the received first data volume information and second data volume information, wherein the secondary parameter factor includes a first secondary parameter factor and a second secondary parameter factor;

[0031] The configuration parameters of the dedicated thread for data transmission between the virtual server and the cloud platform are set using the first and second level parameter factors.

[0032] Furthermore, the server sets a setting parameter factor corresponding to the virtual server corresponding to each primary data set according to the received first data volume information and second data volume information, including:

[0033] Extracting the first data volume information and the second data volume information;

[0034] Using the first data volume information, setting a first setting parameter factor corresponding to the virtual server corresponding to each primary data set;

[0035] The first data volume information and the second data volume information are used to set a second setting parameter factor corresponding to the virtual server corresponding to each primary data set.

[0036] The first setting parameter factor and the second setting parameter factor are obtained by the following formula:

[0037]

[0038] Among them, Q c represents the first setting parameter factor; C yIndicates the remaining data processing volume per unit time of the server; C z represents the total amount of primary data sets to be transmitted contained in the current data collection terminal; e represents a constant; n represents the number of primary data sets to be transmitted contained in the current data collection terminal; C 01i represents the data volume of the i-th primary data set to be transmitted; C 01p Indicates the average amount of primary data sets to be transmitted contained in the current data collection terminal; Q c0 Indicates the preset benchmark factor value;

[0039]

[0040] Among them, Q t represents the second setting parameter factor; α represents the first compensation adjustment coefficient; C y Indicates the remaining data processing volume per unit time of the server; C z It indicates the total amount of primary data sets to be transmitted by the current data collection terminal; e indicates a constant; Q c0 represents the preset benchmark factor value; m represents the total number of single batches of data transmitted by the data collection terminal; C zi Indicates the total amount of primary data sets to be transmitted by the data collection terminal when the i-th batch of single-batch transmission data has completed data transmission; C yi It indicates the remaining data processing amount per unit time of the server when the i-th batch of data has completed data transmission; sqrt does not represent the square root operator.

[0041] Furthermore, the server sets a secondary parameter factor corresponding to the virtual server corresponding to each secondary data set according to the received first data volume information and second data volume information, including:

[0042] Retrieving the first data volume information and the second data volume information;

[0043] Using the first data volume information and the second data volume information, setting first and second level parameter factors corresponding to the virtual server corresponding to each secondary data set;

[0044] The first data volume information and the second data volume information are used to set a second secondary parameter factor corresponding to the virtual server corresponding to each secondary data set.

[0045] The first and second secondary parameter factors are obtained by the following formula:

[0046]

[0047] Among them, S c Represents the first and second level parameter factors; Cy Indicates the remaining data processing volume per unit time of the server; C z Indicates the total amount of primary data sets to be transmitted in the current data collection terminal; e represents a constant; S c0 represents the preset benchmark parameter factor value; n represents the number of primary data sets to be transmitted contained in the current data collection terminal; k represents the number of secondary data sets contained in each primary data set; C 02i represents the data volume of the i-th secondary data set;

[0048]

[0049] Among them, S t Represents the second secondary parameter factor; C y Indicates the remaining data processing volume per unit time of the server; C z represents the total amount of primary data sets to be transmitted by the current data collection terminal; m represents the total number of batches of data transmitted by the data collection terminal in a single batch; S ti It represents the second secondary parameter factor value corresponding to the i-th batch of single batch transmission data volume having completed data transmission, and β represents the second compensation adjustment coefficient.

[0050] Further, obtaining the configuration parameters of the virtual server corresponding to each primary data set by using the first setting parameter factor and the second setting parameter factor includes:

[0051] Retrieve the first setting parameter factor and the second setting factor;

[0052] Determining a storage data volume parameter of the virtual server using the first setting parameter factor;

[0053] The second setting parameter factor is used to determine the maximum data processing volume per unit time of the virtual server for data processing per unit time.

[0054] The storage data volume parameter and the maximum data processing volume per unit time of the virtual server are obtained by the following formula:

[0055]

[0056] Among them, C max Indicates the storage data volume parameter of the virtual server; C fy Indicates the remaining storage data capacity of the current server; Q c represents the first setting parameter factor; C tmax Indicates the maximum amount of data processed per unit time; C t0 Indicates the preset basic value of data processing volume; Q cyrepresents the preset first setting parameter factor threshold; Q ty represents the preset second setting parameter factor threshold; λ1 represents the first adjustment coefficient; wherein the first adjustment coefficient is obtained by the following formula:

[0057]

[0058] Where m represents the total number of single batches of data transmitted by the data collection terminal; C zi Indicates the total amount of primary data sets to be transmitted by the data collection terminal when the i-th batch of single-batch transmission data has completed data transmission; C fyi It indicates the remaining data processing volume per unit time of the corresponding server when the i-th batch of data transmission has completed data transmission; C ymax The rated remaining amount of the server storage data volume represents the storage margin that must be reserved.

[0059] Further, the configuration parameters of the data transmission exclusive thread between the virtual server and the cloud platform are set by using the first and second level parameter factors, including:

[0060] Retrieve the first and second level parameter factors and the second and second level parameter factors;

[0061] Using the first and second level parameter factors, setting the maximum communication capacity of the data transmission exclusive thread between the virtual server and the cloud platform;

[0062] The second secondary parameter factor is used to set the data throughput per unit time of the dedicated thread for data transmission between the virtual server and the cloud platform.

[0063] The maximum communication capacity of the data transmission dedicated thread and the data throughput per unit time of the data transmission dedicated thread are obtained by the following formula:

[0064]

[0065] Among them, S max and S tmax S respectively represent the maximum communication capacity of the data transmission dedicated thread and the data throughput per unit time of the data transmission dedicated thread; c Represents the first and second level parameter factors; S cy Indicates the preset second level parameter factor threshold; S fy Represents the remaining capacity of the communication channel between the server and the cloud platform; S tmax S represents the data throughput per unit time of the dedicated thread for data transmission; ty Indicates the preset secondary parameter factor threshold; St represents the second secondary parameter factor; S t0 represents the data throughput per unit time of the communication channel between the server and the cloud platform; λ2 represents the second adjustment coefficient; wherein the second adjustment coefficient is obtained by the following formula:

[0066]

[0067] Where m represents the total number of single batches of data transmitted by the data collection terminal; S tmaxi S represents the data throughput per unit time of the data transmission dedicated thread when the i-th batch of data transmission has completed data transmission; fyi S represents the remaining capacity of the communication channel between the server and the cloud platform when the i-th batch of data has completed data transmission; ymax Indicates the rated remaining amount of the communication channel, wherein the rated remaining amount of the communication channel refers to the communication margin that must be reserved.

[0068] Furthermore, the virtual server sends the received agricultural security information to the cloud platform using a dedicated data transmission thread, including:

[0069] Extract the configuration parameters of the virtual server corresponding to each primary data set;

[0070] Generating a virtual server corresponding to each first-level data set according to configuration parameters of the virtual server corresponding to each first-level data set;

[0071] After the virtual server corresponding to each primary data set is generated, extracting configuration parameters of a dedicated thread for data transmission between the virtual server and the cloud platform;

[0072] Establishing a dedicated thread for data transmission between the virtual server and the cloud platform according to configuration parameters of the dedicated thread for data transmission between the virtual server and the cloud platform;

[0073] After the establishment of the dedicated thread for data transmission is completed, the virtual server is controlled to perform data transmission on the secondary data set corresponding to the primary data set;

[0074] After the current single batch of data transmission completes data transmission, the server is controlled to cancel the virtual server and the data transmission exclusive thread, and wait for the information data corresponding to the next batch of single batch transmission data. At the same time, the virtual server and the data transmission exclusive thread are reset and established according to the information data corresponding to the next batch of single batch transmission data.

[0075] The agricultural security information remote transmission control system based on the Internet of Things includes:

[0076] A real-time collection control module, used for collecting agricultural security information in real time and transmitting the agricultural security information to a data collection terminal;

[0077] A first data transmission module, used for the data collection terminal to transmit each type of agricultural security information to a server according to the information type of the agricultural security information;

[0078] A virtual server and thread establishment module, which is used for the server to set up a virtual server and a data transmission exclusive thread according to the actual reception of agricultural security information;

[0079] The second data transmission module is used for the virtual server to send the received agricultural security information to the cloud platform using a dedicated data transmission thread, and store and manage the information through the cloud platform.

[0080] Beneficial effects of the present invention:

[0081] The agricultural security information remote transmission control method and system based on the Internet of Things proposed in the present invention allow real-time monitoring of the conditions of farms and farmland, as well as rapid response to security issues. Agricultural security information is effectively classified and organized so that different types of information can be transmitted to appropriate locations. The server can be set up according to actual conditions to adapt to agricultural security systems of different scales and needs. The cloud platform provides long-term storage and management of data, allowing users to access and analyze data at any time to optimize resource management and security. At the same time, the agricultural security information remote transmission control method and system based on the Internet of Things proposed in the present invention can make the collection and management of agricultural security information more efficient and convenient, and help improve the management and protection level of farms. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] Figure 1 is a flow chart of the method of the present invention;

[0083] Figure 2 The system block diagram of the system of the present invention. DETAILED DESCRIPTION

[0084] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0085] Agricultural security information remote transmission control method based on the Internet of Things, such as Figure 1 As shown, the agricultural security information remote transmission control method includes:

[0086] S1. Collect agricultural security information in real time and transmit the agricultural security information to a data collection terminal;

[0087] S2. The data collection terminal transmits each type of agricultural security information to the server according to the information type of the agricultural security information;

[0088] S3, the server sets a virtual server and a dedicated thread for data transmission according to the actual reception of agricultural security information;

[0089] S4. The virtual server sends the received agricultural security information to the cloud platform using a dedicated data transmission thread, and stores and manages the information through the cloud platform.

[0090] The working principle of the above technical solution is: agricultural security information is collected in real time through various sensors and monitoring equipment. This information may include images, videos, temperature, humidity, motion detection, etc. These data are received by the data collection terminal. The data collection terminal transmits the collected agricultural security information to the server. In this step, the information is classified and organized so that each type of information is transmitted to the appropriate server. The server dynamically sets up virtual servers and data transmission dedicated threads based on the actual reception of the received agricultural security information. This is to effectively process and manage large amounts of information to ensure timely transmission and storage of information. The virtual server uses the data transmission dedicated thread to send the received agricultural security information to the cloud platform. The cloud platform provides storage and information management functions to ensure that the data is securely stored and easily accessible.

[0091] The technical effects of the above technical solution are as follows: The above technical solution of this embodiment allows real-time monitoring of the conditions of farms and farmland, as well as rapid response to security issues. Agricultural security information is effectively classified and organized so that different types of information can be transmitted to appropriate locations. The server can be set up according to actual conditions to adapt to agricultural security systems of different scales and needs. The cloud platform provides long-term storage and management of data, allowing users to access and analyze data at any time to optimize resource management and security.

[0092] In general, the above technical solutions can make the collection and management of agricultural security information more efficient and convenient, and help improve the management and protection level of farms.

[0093] An embodiment of the present invention collects agricultural security information in real time and transmits the agricultural security information to a data collection terminal, including:

[0094] S101. Collect agricultural security information in real time through a data collection terminal;

[0095] S102, the data acquisition terminal collects the remaining capacity of the communication channel between the current data acquisition terminal and the data collection terminal in real time;

[0096] S103, determining the amount of data to be transmitted in a single batch according to the remaining capacity of the communication channel; wherein the value range of the amount of data to be transmitted in a single batch is 52%C-68%C; wherein C represents the remaining capacity of the communication channel;

[0097] S104, the data collection terminal packages the collected agricultural security information according to the single batch transmission data volume to form multiple data packets;

[0098] S105: Send the data packets to the data collection terminal in sequence.

[0099] The working principle of the above technical solution is as follows: the data acquisition terminal collects agricultural security information in real time through various sensors and monitoring equipment. This information may include images, videos, temperature, humidity, etc. The data acquisition terminal monitors the remaining capacity of the communication channel between the current data acquisition terminal and the data collection terminal in real time. This can help determine the available bandwidth or capacity for data transmission. According to the remaining capacity of the communication channel, the amount of data transmitted in a single batch is determined. The purpose of this step is to ensure that data transmission is carried out within the capacity limit of the communication channel. The range of the amount of data transmitted in a single batch is 52%C to 68%C, where C represents the remaining capacity of the communication channel. The data acquisition terminal packages the collected agricultural security information according to the requirements of the amount of data transmitted in a single batch, and divides the data into multiple data packets. The data packets are sent to the data collection terminal in sequence. The data packets are transmitted in sequence to ensure the integrity and correctness of the data.

[0100] The technical effect of the above technical solution is: the above technical solution of this embodiment can collect agricultural security information in real time to ensure the safety of farms and farmland. By monitoring the remaining capacity of the communication channel, the system can maximize the use of the available communication bandwidth to achieve efficient data transmission. According to the remaining capacity of the communication channel, the system can dynamically adjust the amount of data transmitted in a single batch to avoid overload or waste of bandwidth.

[0101] In general, the technical solution of this embodiment helps to efficiently realize the real-time collection and transmission of agricultural security information under limited communication resources, and improves the reliability and efficiency of data transmission.

[0102] In one embodiment of the present invention, the data collection terminal transmits each type of agricultural security information to the server according to the information type of the agricultural security information, including:

[0103] S201, after receiving the data packet corresponding to the agricultural security information, the data collection terminal decompresses the data packet to obtain the agricultural security information;

[0104] S202, dividing the agricultural security information according to data format types to form a plurality of primary data sets corresponding to the data format types;

[0105] S203, scanning each first-level data set to obtain the information type of agricultural security information contained in each first-level data set;

[0106] S204, dividing the data according to the information type of the agricultural security information in the primary data set to form a plurality of secondary data sets under each primary data set;

[0107] S205, extracting the data volume of each first-level data set in sequence as first data volume information;

[0108] S206, extracting the data volume of each subordinate secondary data set corresponding to each primary data set as second data volume information;

[0109] S207, the data collection terminal sends the first data volume information and the second data volume information to a server;

[0110] S208, the server sets a virtual server corresponding to each primary data set and a data transmission dedicated thread corresponding to each secondary data set according to the first data volume information and the second data volume information; wherein the virtual server and the data transmission dedicated thread are used for data transmission between the server and the cloud platform;

[0111] S209, when the server completes the virtual server and the data transmission dedicated thread, it sends a feedback signal to the data collection terminal;

[0112] S2010. After receiving the feedback signal, the data collection terminal sends the primary data set and all secondary data sets contained therein to the virtual server.

[0113] The working principle of the above technical solution is as follows: the data collection terminal first receives and decompresses the data packet containing agricultural security information to obtain the agricultural security information therein. The obtained agricultural security information may contain different types of information. The data collection terminal divides the information into different primary data sets, each of which corresponds to one type of information. Then, the terminal scans each primary data set to determine the type of agricultural security information it contains. Within each primary data set, the agricultural security information is subdivided to form multiple secondary data sets. This is used to better manage and transmit information.

[0114] For each primary data set, the data collection terminal extracts its data volume, and extracts its corresponding data volume for the secondary data set. This constitutes the first and second data volume information, which describes the size and type of the data. The data collection terminal sends the first and second data volume information to the server, informing the server of the size and type of the information. After the server receives the first and second data volume information, it sets up virtual servers and data transmission dedicated threads based on this information. These virtual servers and threads are used to transfer data to the cloud platform. When the server completes the setting of the virtual server and the data transmission dedicated thread, it sends a feedback signal to the data collection terminal, indicating that the terminal can start transmitting data. After receiving the feedback signal, the data collection terminal sends the primary data set and all its subordinate secondary data sets to the virtual server for actual data transmission.

[0115] The technical effect of the above technical solution is: the above technical solution of this embodiment divides and identifies agricultural security information according to the information type, ensuring that different types of information are correctly processed and transmitted. The first and second data volume information provide clear information on the size and type of the data, enabling the server to set appropriate resources for each data set. The server sets virtual servers and threads according to the type and size of the information to ensure that data transmission is efficient. The feedback signal ensures that the data collection terminal knows when to start transmitting data to avoid conflicts and confusion. The above technical solution of this embodiment helps to efficiently and accurately manage and transmit different types of agricultural security information.

[0116] In one embodiment of the present invention, the server sets a virtual server corresponding to each primary data set and a data transmission exclusive thread corresponding to each secondary data set according to the first data volume information and the second data volume information, including:

[0117] S2081, the server receives first data volume information and second data volume information;

[0118] S2082, the server sets a setting parameter factor corresponding to the virtual server corresponding to each primary data set according to the received first data volume information and second data volume information, wherein the setting parameter factor includes a first setting parameter factor and a second setting parameter factor;

[0119] S2083, using the first setting parameter factor and the second setting parameter factor to obtain configuration parameters of the virtual server corresponding to each primary data set;

[0120] S2084, the server sets a secondary parameter factor corresponding to the virtual server corresponding to each secondary data set according to the received first data volume information and second data volume information, wherein the secondary parameter factor includes a first secondary parameter factor and a second secondary parameter factor;

[0121] S2085. Use the first and second level parameter factors and the second level parameter factors to set configuration parameters of the dedicated thread for data transmission between the virtual server and the cloud platform.

[0122] The working principle of the above technical solution is as follows: the server receives the first data volume information and the second data volume information. This information may include data related to the data volume and nature of agricultural security information. The server sets the configuration parameters of the virtual server corresponding to each primary data set according to the received first data volume information and the second data volume information. These parameters can be determined according to the nature and requirements of the data to ensure that the virtual server can process and store data. Using the first setting parameter factor and the second setting parameter factor, the server obtains the configuration parameters of the virtual server corresponding to each primary data set. These parameters include processing power, storage capacity, bandwidth, etc. The server sets the secondary parameter factor of the virtual server corresponding to each secondary data set according to the received first data volume information and the second data volume information. These parameters may be related to data transmission and storage. Using the first secondary parameter factor and the second secondary parameter factor, the server sets the configuration parameters of the exclusive thread for data transmission between the virtual server and the cloud platform. These parameters include transmission rate, data transmission protocol, data storage location, etc.

[0123] The technical effect of the above technical solution is: the above technical solution of this embodiment can dynamically configure the parameters of the virtual server and the data transmission dedicated thread according to the received data volume information and data properties to meet different data requirements. By accurately setting the parameters, the server resources can be better utilized to improve the data processing and transmission efficiency. The hierarchical processing and parameter setting of the data set helps to better manage and store agricultural security information to meet the needs of different levels.

[0124] In general, the above technical solution of this embodiment helps to optimize the utilization of server resources, improve the efficiency of data transmission and storage, and meet the needs of data at different levels.

[0125] In one embodiment of the present invention, the server sets a setting parameter factor corresponding to a virtual server corresponding to each primary data set according to the received first data volume information and second data volume information, including:

[0126] Step 1, extracting the first data volume information and the second data volume information;

[0127] Step 2: using the first data volume information to set a first setting parameter factor corresponding to the virtual server corresponding to each primary data set;

[0128] Step 3: Use the first data volume information and the second data volume information to set a second setting parameter factor corresponding to the virtual server corresponding to each primary data set.

[0129] The first setting parameter factor and the second setting parameter factor are obtained by the following formula:

[0130]

[0131] Among them, Q c represents the first setting parameter factor; C y Indicates the remaining data processing volume per unit time of the server; C z represents the total amount of primary data sets to be transmitted contained in the current data collection terminal; e represents a constant; n represents the number of primary data sets to be transmitted contained in the current data collection terminal; C 01i represents the data volume of the i-th primary data set to be transmitted; C 01p Indicates the average amount of primary data sets to be transmitted contained in the current data collection terminal; Q c0 Indicates the preset benchmark factor value;

[0132]

[0133] Among them, Q t represents the second setting parameter factor; α represents the first compensation adjustment coefficient; C y Indicates the remaining data processing volume per unit time of the server; C z It indicates the total amount of primary data sets to be transmitted by the current data collection terminal; e indicates a constant; Q c0 represents the preset benchmark factor value; m represents the total number of single batches of data transmitted by the data collection terminal; C zi Indicates the total amount of primary data sets to be transmitted by the data collection terminal when the i-th batch of single-batch transmission data has completed data transmission; C yi It indicates the remaining data processing amount per unit time of the server when the i-th batch of data has completed data transmission; sqrt does not represent the square root operator.

[0134] The working principle of the above technical solution is as follows: the server first extracts the first data volume information and the second data volume information, which may include data related to the data volume and nature. The first data volume information extracted is used to calculate the first setting parameter factor (Qc) of the virtual server corresponding to each primary data set, and the parameter is used to configure the virtual server to adapt to the data processing requirements. The first data volume information extracted and the second data volume information are used to calculate the second setting parameter factor (Qt) of the virtual server corresponding to each primary data set, and the parameter is used to configure the virtual server to adapt to the data transmission requirements.

[0135] The technical effect of the above technical solution is as follows: the above technical solution of this embodiment can dynamically configure the parameters of the virtual server according to the nature and requirements of the data by calculating the first and second setting parameter factors to meet different data processing and transmission requirements. Accurate parameter calculation helps to better utilize server resources and improve data processing and transmission efficiency. The setting of data sets and parameter calculation help to better manage and store data to meet different levels of requirements.

[0136] The above technical solution of this embodiment dynamically sets the setting parameter factor of the virtual server corresponding to each primary data set according to the first data volume information and the second data volume information received in real time. This means that the system can adjust the performance parameters of the server according to the actual situation to adapt to the processing requirements under different time periods and different data volumes, thereby improving the flexibility and response speed of the system. By accurately calculating the data volume of each primary data set and the remaining data processing capacity of the server, the above technical solution of this embodiment can reasonably allocate server resources to avoid resource waste and overload. It is used to improve the overall processing efficiency of the server and reduce operating costs. The calculation of the setting parameter factor of the above technical solution takes into account a variety of factors, including the size of the data set, the processing capacity of the server, and the batch of data transmission, so that the system can maintain a high stability when facing complex and changeable data processing tasks, and reduce the risk of system crash or performance degradation caused by fluctuations in data volume or server performance. At the same time, the design of the above technical solution of this embodiment enables the system to easily cope with the growth of future data volume or the improvement of server performance. By adjusting the calculation formula of the setting parameter factor or introducing new performance indicators, the system can adapt to a wider range of data processing scenarios and higher performance requirements.

[0137] On the other hand, the traditional server configuration method is often static and cannot be dynamically adjusted according to the real-time data volume, resulting in low processing efficiency. The above technical solution of this embodiment improves data processing efficiency by dynamically setting parameter factors. By dynamically adjusting and setting parameter factors, more efficient data processing is achieved, and the throughput and response speed of the server are improved. At the same time, in the case of uneven distribution of data volume, the traditional server configuration method may cause some servers to be overloaded while other servers are idle, resulting in waste of resources. By accurately calculating the amount of data and allocating server resources accordingly, balanced utilization of resources is achieved, and the occurrence of resource waste and overload is avoided. The above technical solution of this embodiment solves the problem of uneven resource allocation by accurately calculating the amount of data and allocating resources accordingly. In addition, in the face of complex and changeable data processing tasks, the traditional server configuration method may not be able to maintain stable performance. The above technical solution of this embodiment improves the stability of the system by setting parameter factors by comprehensively considering multiple factors. And by setting parameter factors by comprehensively considering multiple factors, the stability and reliability of the system are enhanced, and the risk of system crash or performance degradation is reduced.

[0138] In general, the above technical solution of this embodiment helps to improve the utilization of server resources and improve data processing and transmission efficiency to meet the needs of data at different levels.

[0139] In one embodiment of the present invention, the server sets the secondary parameter factor corresponding to the virtual server corresponding to each secondary data set according to the received first data volume information and second data volume information, including:

[0140] Step 1: retrieve the first data volume information and the second data volume information;

[0141] Step 2: using the first data volume information and the second data volume information to set the first and second level parameter factors corresponding to the virtual server corresponding to each secondary data set;

[0142] Step 3: Use the first data volume information and the second data volume information to set the second secondary parameter factor corresponding to the virtual server corresponding to each secondary data set.

[0143] The first and second secondary parameter factors are obtained by the following formula:

[0144]

[0145] Among them, S c Represents the first and second level parameter factors; C y Indicates the remaining data processing volume per unit time of the server; C z Indicates the total amount of primary data sets to be transmitted in the current data collection terminal; e represents a constant; Sc0 represents the preset benchmark parameter factor value; n represents the number of primary data sets to be transmitted contained in the current data collection terminal; k represents the number of secondary data sets contained in each primary data set; C 02i represents the data volume of the i-th secondary data set;

[0146]

[0147] Among them, S t Represents the second secondary parameter factor; C y Indicates the remaining data processing volume per unit time of the server; C z represents the total amount of primary data sets to be transmitted by the current data collection terminal; m represents the total number of batches of data transmitted by the data collection terminal in a single batch; S ti It represents the second secondary parameter factor value corresponding to the i-th batch of single batch transmission data volume having completed data transmission, and β represents the second compensation adjustment coefficient.

[0148] The working principle of the above technical solution is as follows: the server first extracts the first data volume information and the second data volume information, which may include data related to the data volume and nature. The first and second data volume information extracted are used to calculate the first and second secondary parameter factors (Sc) of the virtual server corresponding to each secondary data set, and the parameters are used to configure the virtual server to adapt to the processing requirements of the secondary data set. The second and second data volume information extracted are used to calculate the second and second secondary parameter factors (St) of the virtual server corresponding to each secondary data set, and the parameters are used to configure the virtual server to adapt to the transmission requirements of the secondary data set.

[0149] The technical effect of the above technical solution is as follows: the above technical solution of this embodiment can dynamically configure the parameters of the virtual server according to the nature and requirements of the data by calculating the first and second secondary parameter factors to meet different data processing and transmission requirements. This embodiment improves the precision and accuracy of parameter calculation, helps to better utilize server resources, and improves data processing and transmission efficiency, especially when processing a large number of secondary data sets. Parameter setting and calculation help to better manage and transmit secondary data sets to meet different levels of requirements.

[0150] The above technical solution of this embodiment achieves more refined control of the secondary data set by introducing the secondary parameter factor. By setting the corresponding parameter factor according to the specific data volume of the secondary data set, the processing requirements of the secondary data set can be more accurately reflected, thereby improving the accuracy and efficiency of data processing. The above technical solution sets the secondary parameter factor by comprehensively considering the remaining data processing capacity of the server, the total data volume of the primary data set, and the data volume of the secondary data set, so as to more reasonably allocate server resources and avoid resource waste and performance bottlenecks. Effectively improve the overall performance of the server to ensure stable and efficient operation when processing a large amount of data. At the same time, the above technical solution of this embodiment can dynamically adjust the secondary parameter factor according to the first data volume information and the second data volume information received in real time. This means that the system can flexibly adjust the processing strategy according to the change of the actual data volume to adapt to the data processing requirements in different scenarios. The above dynamic adaptability helps to improve the flexibility and response speed of the system. Since the above technical solution of this embodiment is based on the dynamic adjustment mechanism of the data volume, it can easily cope with the growth of the future data volume or the change of the data structure. By adjusting the calculation formula of the parameter factor or adding new performance indicators, the system can adapt to a wider range of data processing scenarios and higher performance requirements.

[0151] On the other hand, traditional data processing methods often only focus on the processing of primary data sets, while ignoring the processing efficiency of secondary data sets. The above technical solution achieves refined control of secondary data sets and improves processing efficiency by introducing secondary parameter factors. In addition, by introducing secondary parameter factors and dynamically adjusting them according to the amount of data, the processing efficiency of secondary data sets is improved and processing delay is reduced. At the same time, when processing a primary data set containing multiple secondary data sets, the traditional resource allocation method may cause some secondary data sets to not get enough processing resources, while other secondary data sets waste resources. The above technical solution sets parameter factors by comprehensively considering the data volume of primary data sets and secondary data sets, thereby achieving balanced allocation of resources. At the same time, by comprehensively considering the data volume of primary data sets and secondary data sets to set parameter factors, balanced allocation of resources is achieved, avoiding resource waste and performance bottlenecks. In addition. In the face of real-time changing data volume, traditional data processing methods often lack sufficient dynamic adaptability and cannot adjust processing strategies in time. The above technical solution enhances the dynamic adaptability of the system by dynamically adjusting the secondary parameter factors, so that it can better cope with changes in real-time data volume. Moreover, by dynamically adjusting the secondary parameter factors, the dynamic adaptability of the system is enhanced, enabling it to better cope with changes in the amount of real-time data, thereby improving the stability and reliability of the system.

[0152] In general, the above technical solution of this embodiment helps to improve the utilization of server resources and improve data processing and transmission efficiency to meet the needs of data at different levels, especially when managing and transmitting multi-level data sets.

[0153] In one embodiment of the present invention, the configuration parameters of the virtual server corresponding to each primary data set are obtained by using the first setting parameter factor and the second setting parameter factor, including:

[0154] Step 1, calling the first setting parameter factor and the second setting factor;

[0155] Step 2: Determine the storage data volume parameter of the virtual server by using the first setting parameter factor;

[0156] Step three: using the second setting parameter factor to determine the maximum data processing volume per unit time of the virtual server for data processing per unit time.

[0157] The storage data volume parameter and the maximum data processing volume per unit time of the virtual server are obtained by the following formula:

[0158]

[0159] Among them, C max Indicates the storage data volume parameter of the virtual server; C fy Indicates the remaining storage data capacity of the current server; Q c represents the first setting parameter factor; C tmax Indicates the maximum amount of data processed per unit time; C t0 Indicates the preset basic value of data processing volume; Q cy represents the preset first setting parameter factor threshold; Q ty represents the preset second setting parameter factor threshold; λ1 represents the first adjustment coefficient; wherein the first adjustment coefficient is obtained by the following formula:

[0160]

[0161] Where m represents the total number of single batches of data transmitted by the data collection terminal; C zi Indicates the total amount of primary data sets to be transmitted by the data collection terminal when the i-th batch of single-batch transmission data has completed data transmission; C fyi It indicates the remaining data processing volume per unit time of the corresponding server when the i-th batch of data transmission has completed data transmission; C ymax The rated remaining amount of the server storage data volume represents the storage margin that must be reserved.

[0162] The working principle of the above technical solution is as follows: First, the first setting parameter factor and the second setting factor are retrieved, which may be calculated or preset based on the amount of data and the nature of the data. The first setting parameter factor is used to determine the storage data volume parameter (Cmax) of the virtual server, which represents the storage capacity of the virtual server, that is, the amount of data it can store. The second setting parameter factor is used to determine the maximum data processing volume (Ctmax) that can be processed by the virtual server per unit time. This parameter represents the data processing capacity of the server, that is, the maximum amount of data that can be processed per unit time.

[0163] The technical effect of the above technical solution is as follows: the above technical solution of this embodiment can dynamically configure the storage and processing capabilities of the virtual server according to the nature and needs of the data by calculating the Cmax and Ctmax parameters to meet different data volumes and processing requirements. Accurate parameter calculation helps to better utilize server resources, ensure that data does not exceed storage capacity, and optimize data processing efficiency. The setting of these parameters helps to better manage and transmit data to meet the needs of different levels of data.

[0164] At the same time, by introducing the first setting parameter factor and the second setting parameter factor, the scheme can more accurately reflect the data processing capacity and storage requirements of the server. Using these parameter factors to determine the storage data volume parameters and the maximum data processing volume per unit time of the virtual server helps to achieve reasonable allocation of resources and avoid resource waste and overload. By comprehensively considering the remaining storage data capacity, data processing capacity and data transmission of the data collection terminal of the server, the scheme can dynamically adjust the configuration parameters of the virtual server to adapt to the performance requirements in different scenarios. It is used to improve the overall performance of the system, including data processing speed, storage efficiency and stability. The above technical scheme can dynamically adjust the configuration parameters of the virtual server according to the real-time received data volume information and server status information. This means that the system can flexibly adjust the performance parameters according to the actual operation situation to cope with dynamic factors such as changes in data volume and server load changes. This dynamic adaptability helps to improve the response speed and adaptability of the system. Since the above technical scheme is based on the dynamic adjustment mechanism of parameter factors, it has high scalability and flexibility. With the increase of data volume or the improvement of server performance, new requirements can be adapted by adjusting the calculation formula of parameter factors or adding new performance indicators. In addition, the above technical solution also allows customized configuration parameter settings according to different application scenarios and business requirements.

[0165] On the other hand, the traditional server configuration method often cannot accurately evaluate the storage requirements of the server, resulting in unreasonable allocation of storage resources, and insufficient or wasted storage space may occur. The above technical solution achieves more reasonable storage resource allocation by introducing the first setting parameter factor and considering the remaining storage data capacity of the server. By introducing the first setting parameter factor and comprehensively considering the remaining storage data capacity of the server, a more reasonable storage resource allocation is achieved, which avoids insufficient or wasted storage space and improves storage efficiency. At the same time, when processing a large amount of data, the traditional server configuration method may not be able to fully utilize the data processing capacity of the server, resulting in slow processing speed or waste of resources. The above technical solution determines the maximum data processing volume per unit time by using the second setting parameter factor, realizes the matching of data processing capacity and data volume, and improves processing efficiency. In addition, by determining the maximum data processing volume per unit time by using the second setting parameter factor, the matching of data processing capacity and data volume is realized, the data processing speed and efficiency are improved, and the waste of resources is reduced. At the same time, in the face of real-time changes in data volume and server status, the traditional server configuration method often lacks sufficient dynamic adaptability and cannot adjust the configuration parameters in time. The above technical solution enhances the dynamic adaptability of the system by dynamically adjusting the configuration parameters of the virtual server, so that it can better cope with various changes. In addition, by dynamically adjusting the configuration parameters of the virtual server, the dynamic adaptability of the system is enhanced, enabling it to better cope with real-time changes in data volume and server status, thereby improving the stability and reliability of the system.

[0166] In summary, the above technical solutions of the embodiments are helpful to improve the utilization of server resources, improve data processing and transmission efficiency, and ensure that data storage and processing do not exceed the capacity of the server.

[0167] In one embodiment of the present invention, the configuration parameters of the dedicated thread for data transmission between the virtual server and the cloud platform are set by using the first and second level parameter factors, including:

[0168] The first step is to retrieve the first and second level parameter factors and the second and second level parameter factors;

[0169] Step 2: using the first secondary parameter factor to set the maximum communication capacity of the data transmission exclusive thread between the virtual server and the cloud platform;

[0170] Step 3: Use the second secondary parameter factor to set the data throughput per unit time of the dedicated thread for data transmission between the virtual server and the cloud platform.

[0171] The maximum communication capacity of the data transmission dedicated thread and the data throughput per unit time of the data transmission dedicated thread are obtained by the following formula:

[0172]

[0173] Among them, S max and S tmax S respectively represent the maximum communication capacity of the data transmission dedicated thread and the data throughput per unit time of the data transmission dedicated thread; c Represents the first and second level parameter factors; S cy Indicates the preset second level parameter factor threshold; S fy Represents the remaining capacity of the communication channel between the server and the cloud platform; S tmax S represents the data throughput per unit time of the dedicated thread for data transmission; ty Indicates the preset secondary parameter factor threshold; S t represents the second secondary parameter factor; S t0 represents the data throughput per unit time of the communication channel between the server and the cloud platform; λ2 represents the second adjustment coefficient; wherein the second adjustment coefficient is obtained by the following formula:

[0174]

[0175] Where m represents the total number of single batches of data transmitted by the data collection terminal; S tmaxi S represents the data throughput per unit time of the data transmission dedicated thread when the i-th batch of data transmission has completed data transmission; fyi S represents the remaining capacity of the communication channel between the server and the cloud platform when the i-th batch of data has completed data transmission; ymax Indicates the rated remaining amount of the communication channel, wherein the rated remaining amount of the communication channel refers to the communication margin that must be reserved.

[0176] The working principle of the above technical solution is: extracting the first and second level parameter factors and the second level parameter factors (the first step): first, the system obtains the first and second level parameter factors and the second level parameter factors, which may be calculated or preset according to the nature and requirements of the data.

[0177] Calculate the maximum communication capacity (step 2): Use the first and second level parameter factors to determine the maximum communication capacity (Smax) of the data transmission dedicated thread. This parameter represents the maximum capacity of the communication channel between the thread and the cloud platform.

[0178] Calculate the data throughput per unit time (step 3): Use the second level parameter factor to determine the data throughput per unit time (Stmax) of the data transmission dedicated thread. This parameter represents the maximum amount of data that the thread can transmit per unit time.

[0179] The technical effect of the above technical solution is: the above technical solution of this embodiment calculates the Smax and Stmax parameters to help the system dynamically adjust the configuration of the data transmission dedicated thread to meet different data transmission requirements and the capacity of the communication channel. Ensure that the thread fully utilizes the available communication channel capacity to improve data transmission efficiency. The communication channel capacity between cloud platforms is taken into account to ensure that the data transmission thread does not exceed the available capacity, thereby reducing the risk of data loss. According to the throughput of the thread, the transmission of data can be better managed to ensure that the data arrives at the cloud platform in a timely manner.

[0180] On the other hand, by using the first and second level parameter factors to set the maximum communication capacity of the data transmission exclusive thread between the virtual server and the cloud platform, it is possible to ensure full utilization of the communication channel during the data transmission process, reduce communication blockage and delay, and thus improve the efficiency and speed of data transmission. The second level parameter factor is used to set the data throughput per unit time of the data transmission exclusive thread to ensure that the data throughput during the data transmission process matches the data volume, server processing capacity, etc., avoids bottlenecks and overload phenomena in data transmission, and optimizes the overall performance of the system. By comprehensively considering the processing capacity of the server, the communication channel capacity of the cloud platform, and the data transmission situation of the data collection terminal, the above technical solution can achieve reasonable allocation of resources. This ensures the stability and reliability of data transmission and avoids waste and excessive use of resources. The above technical solution can dynamically adjust the configuration parameters of the data transmission exclusive thread according to the real-time received data volume information and server status information. This means that the system can flexibly adjust the communication capacity and throughput according to the actual operation situation to adapt to dynamic factors such as changes in data volume, changes in server load, and changes in the state of the communication channel. This dynamic adaptability helps to improve the response speed and adaptability of the system.

[0181] At the same time, traditional data transmission methods often cannot accurately evaluate the capacity requirements of communication channels, resulting in insufficient or wasted communication capacity. The above technical solution achieves reasonable setting of communication capacity by introducing the first and second level parameter factors and comprehensively considering the processing capacity of the server and the communication channel capacity of the cloud platform, avoiding communication blockage and delay. By introducing the first and second level parameter factors and comprehensively considering the processing capacity of the server and the communication channel capacity of the cloud platform, reasonable setting of communication capacity is achieved, avoiding communication blockage and delay, and improving the efficiency and stability of data transmission. When processing a large amount of data, the traditional data transmission method may be limited by the throughput of the data transmission exclusive thread, resulting in slow data transmission speed or failure to fully utilize the processing capacity of the server. The above technical solution optimizes the throughput and improves the data transmission efficiency by setting the data throughput per unit time using the second and second level parameter factors. By setting the data throughput per unit time using the second and second level parameter factors, the throughput is optimized, the data transmission efficiency is improved, and the processing capacity of the server is fully utilized. At the same time, in the face of real-time changes in data volume, server load and communication channel status, traditional data transmission methods often lack sufficient dynamic adaptability and cannot adjust configuration parameters in time. The above technical solution enhances the dynamic adaptability of the system by dynamically adjusting the configuration parameters of the data transmission exclusive thread, so that it can better cope with various changes. In addition, by dynamically adjusting the configuration parameters of the data transmission exclusive thread, the dynamic adaptability of the system is enhanced, enabling it to better cope with real-time changes in data volume, server load and communication channel status, thereby improving the system's response speed and adaptability.

[0182] In summary, the above technical solution of this embodiment helps to optimize the configuration of data transmission threads to improve data transmission efficiency and reliability, while fully utilizing the capacity of the communication channel.

[0183] In one embodiment of the present invention, the virtual server sends the received agricultural security information to the cloud platform using a dedicated data transmission thread, including:

[0184] S401, extracting configuration parameters of the virtual server corresponding to each primary data set;

[0185] S402, generating a virtual server corresponding to each first-level data set according to configuration parameters of the virtual server corresponding to each first-level data set;

[0186] S403, after the virtual server corresponding to each primary data set is generated, extract the configuration parameters of the exclusive thread for data transmission between the virtual server and the cloud platform;

[0187] S404, establishing a dedicated thread for data transmission between the virtual server and the cloud platform according to configuration parameters of the dedicated thread for data transmission between the virtual server and the cloud platform;

[0188] S405, after completing the establishment of the dedicated thread for data transmission, controlling the virtual server to perform data transmission on the secondary data set corresponding to the primary data set;

[0189] S406. After the current single batch of data transmission completes data transmission, control the server to cancel the virtual server and the data transmission exclusive thread, and wait for the information data corresponding to the next batch of single batch transmission data. At the same time, reset and establish the virtual server and the data transmission exclusive thread according to the information data corresponding to the next batch of single batch transmission data.

[0190] The working principle of the above technical solution is as follows: the virtual server first extracts the configuration parameters corresponding to each primary data set, which may include parameters for the amount of data to be stored and the maximum amount of data to be processed per unit time. The virtual server uses the extracted configuration parameters to generate a virtual server corresponding to each primary data set. These virtual servers are used to process and manage primary data sets. The virtual server then extracts the configuration parameters of the dedicated thread for data transmission between the virtual server and the cloud platform. Using these parameters, the virtual server establishes a dedicated thread for data transmission to achieve data transmission between the cloud platform. Once the dedicated thread for data transmission is established, the virtual server can control the data transmission and send the secondary data set corresponding to the primary data set to the cloud platform. After the current single batch of transmitted data is completed, the virtual server will be revoked and wait for the information data corresponding to the next batch of single batch transmitted data. When the next batch of data arrives, the virtual server will reset and establish the virtual server and the dedicated thread for data transmission.

[0191] The technical effects of the above technical solution are as follows: the extraction and use of the configuration parameters of the virtual server in the above technical solution of this embodiment allows the system to dynamically manage resources in different situations to meet the needs of different data sets. The establishment and cancellation of virtual servers and data transmission dedicated threads ensure the efficiency and real-time performance of data transmission. Dynamically setting and adjusting virtual servers and threads can improve the stability and fault tolerance of the system. Ensure that data is transmitted from the primary data set to the cloud platform, thereby ensuring the integrity and availability of the data.

[0192] In summary, the above technical solution of this embodiment helps to achieve efficient, stable and dynamic data transmission management to meet the real-time transmission needs of agricultural security information.

[0193] The embodiment of the present invention proposes an agricultural security information remote transmission control system based on the Internet of Things, such as Figure 2As shown, the agricultural security information remote transmission control system includes:

[0194] A real-time collection control module, used for collecting agricultural security information in real time and transmitting the agricultural security information to a data collection terminal;

[0195] A first data transmission module, used for the data collection terminal to transmit each type of agricultural security information to a server according to the information type of the agricultural security information;

[0196] A virtual server and thread establishment module, which is used for the server to set up a virtual server and a data transmission exclusive thread according to the actual reception of agricultural security information;

[0197] The second data transmission module is used for the virtual server to send the received agricultural security information to the cloud platform using a dedicated data transmission thread, and store and manage the information through the cloud platform.

[0198] The working principle of the above technical solution is: agricultural security information is collected in real time through various sensors and monitoring equipment. This information may include images, videos, temperature, humidity, motion detection, etc. These data are received by the data collection terminal. The data collection terminal transmits the collected agricultural security information to the server. In this step, the information is classified and organized so that each type of information is transmitted to the appropriate server. The server dynamically sets up virtual servers and data transmission dedicated threads based on the actual reception of the received agricultural security information. This is to effectively process and manage large amounts of information to ensure timely transmission and storage of information. The virtual server uses the data transmission dedicated thread to send the received agricultural security information to the cloud platform. The cloud platform provides storage and information management functions to ensure that the data is securely stored and easily accessible.

[0199] The effect of the above technical solution is: the agricultural security information remote transmission control system based on the Internet of Things proposed in this embodiment allows real-time monitoring of the situation of farms and farmlands, as well as rapid response to security issues. Agricultural security information is effectively classified and organized so that different types of information can be transmitted to appropriate locations. The server can be set up according to actual conditions to adapt to agricultural security systems of different scales and needs. The cloud platform provides long-term storage and management of data, allowing users to access and analyze data at any time to optimize resource management and security. At the same time, the agricultural security information remote transmission control system based on the Internet of Things proposed in the present invention can make the collection and management of agricultural security information more efficient and convenient, and help improve the management and protection level of farms.

[0200] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A remote transmission control method for agricultural security information based on the Internet of Things, characterized in that: The agricultural security information remote transmission control method comprises: Collect agricultural security information in real time and transmit the agricultural security information to a data collection terminal; The data collection terminal transmits each type of agricultural security information to the server according to the information type of the agricultural security information; The server sets up a virtual server and a dedicated thread for data transmission according to the actual reception of agricultural security information; The virtual server sends the received agricultural security information to the cloud platform using a dedicated data transmission thread, and stores and manages the information through the cloud platform; The data collection terminal transmits each type of agricultural security information to the server according to the information type of the agricultural security information, including: After receiving the data packet corresponding to the agricultural security information, the data collection terminal decompresses the data packet to obtain the agricultural security information; Dividing the agricultural security information according to data format types to form a plurality of primary data sets corresponding to the data format types; Scan each primary data set to obtain the information type of agricultural security information contained in each primary data set; Dividing the data according to the information type of the agricultural security information in the primary data set to form a plurality of secondary data sets under each primary data set; Extracting the data volume of each primary data set in turn as first data volume information; Extracting the data volume of each subordinate secondary data set corresponding to each primary data set as second data volume information; The data collection terminal sends the first data volume information and the second data volume information to a server; The server sets a virtual server corresponding to each primary data set and a data transmission dedicated thread corresponding to each secondary data set according to the first data volume information and the second data volume information; wherein the virtual server and the data transmission dedicated thread are used for data transmission between the server and the cloud platform; When the server completes the virtual server and the data transmission dedicated thread, it sends a feedback signal to the data collection terminal; After receiving the feedback signal, the data collection terminal sends the primary data set and all secondary data sets contained therein to the virtual server.

2. The agricultural security information remote transmission control method according to claim 1 is characterized in that: Collect agricultural security information in real time and transmit the agricultural security information to a data collection terminal, including: Collect agricultural security information in real time through data collection terminals; The data acquisition terminal collects the remaining capacity of the communication channel between the current data acquisition terminal and the data collection terminal in real time; Determine the amount of data transmitted in a single batch according to the remaining capacity of the communication channel; wherein the value range of the amount of data transmitted in a single batch is 52%C-68%C; wherein C represents the remaining capacity of the communication channel; The data collection terminal packages the collected agricultural security information according to the single batch transmission data volume to form multiple data packets; The data packets are sent to the data collection terminal in sequence.

3. The agricultural security information remote transmission control method according to claim 1 is characterized in that: The server sets a virtual server corresponding to each primary data set and a data transmission exclusive thread corresponding to each secondary data set according to the first data volume information and the second data volume information, including: The server receives first data volume information and second data volume information; The server sets a setting parameter factor corresponding to the virtual server corresponding to each primary data set according to the received first data volume information and second data volume information, wherein the setting parameter factor includes a first setting parameter factor and a second setting parameter factor; Acquire configuration parameters of the virtual server corresponding to each primary data set using the first setting parameter factor and the second setting parameter factor; The server sets a secondary parameter factor corresponding to the virtual server corresponding to each secondary data set according to the received first data volume information and second data volume information, wherein the secondary parameter factor includes a first secondary parameter factor and a second secondary parameter factor; The configuration parameters of the dedicated thread for data transmission between the virtual server and the cloud platform are set using the first and second level parameter factors.

4. The agricultural security information remote transmission control method according to claim 3 is characterized in that: The server sets a setting parameter factor corresponding to a virtual server corresponding to each primary data set according to the received first data volume information and second data volume information, including: Extracting the first data volume information and the second data volume information; Using the first data volume information, setting a first setting parameter factor corresponding to the virtual server corresponding to each primary data set; The first data volume information and the second data volume information are used to set a second setting parameter factor corresponding to the virtual server corresponding to each primary data set.

5. The agricultural security information remote transmission control method according to claim 3 is characterized in that: The server sets the secondary parameter factor corresponding to the virtual server corresponding to each secondary data set according to the received first data volume information and second data volume information, including: Retrieving the first data volume information and the second data volume information; Using the first data volume information and the second data volume information, setting first and second level parameter factors corresponding to the virtual server corresponding to each secondary data set; The first data volume information and the second data volume information are used to set a second secondary parameter factor corresponding to the virtual server corresponding to each secondary data set.

6. The agricultural security information remote transmission control method according to claim 3 is characterized in that: Acquiring configuration parameters of the virtual server corresponding to each primary data set by using the first setting parameter factor and the second setting parameter factor includes: Retrieve the first setting parameter factor and the second setting factor; Determining a storage data volume parameter of the virtual server using the first setting parameter factor; The second setting parameter factor is used to determine the maximum data processing volume per unit time of the virtual server for data processing per unit time.

7. The agricultural security information remote transmission control method according to claim 3 is characterized in that: The configuration parameters of the dedicated thread for data transmission between the virtual server and the cloud platform are set by using the first and second level parameter factors, including: Retrieve the first and second level parameter factors and the second and second level parameter factors; Using the first and second level parameter factors, setting the maximum communication capacity of the data transmission exclusive thread between the virtual server and the cloud platform; The second secondary parameter factor is used to set the data throughput per unit time of the dedicated thread for data transmission between the virtual server and the cloud platform.

8. The agricultural security information remote transmission control method according to claim 1 is characterized in that: The virtual server sends the received agricultural security information to the cloud platform using a dedicated data transmission thread, including: Extract the configuration parameters of the virtual server corresponding to each primary data set; Generating a virtual server corresponding to each first-level data set according to configuration parameters of the virtual server corresponding to each first-level data set; After the virtual server corresponding to each primary data set is generated, extracting configuration parameters of a dedicated thread for data transmission between the virtual server and the cloud platform; Establishing a dedicated thread for data transmission between the virtual server and the cloud platform according to configuration parameters of the dedicated thread for data transmission between the virtual server and the cloud platform; After the establishment of the dedicated thread for data transmission is completed, the virtual server is controlled to perform data transmission on the secondary data set corresponding to the primary data set; After the current single batch of data transmission completes data transmission, the server is controlled to cancel the virtual server and the data transmission exclusive thread, and wait for the information data corresponding to the next batch of single batch transmission data. At the same time, the virtual server and the data transmission exclusive thread are reset and established according to the information data corresponding to the next batch of single batch transmission data.

9. An agricultural security information remote transmission control system based on the Internet of Things, characterized in that: The agricultural security information remote transmission control system comprises: A real-time collection control module, used for collecting agricultural security information in real time and transmitting the agricultural security information to a data collection terminal; A first data transmission module, used for the data collection terminal to transmit each type of agricultural security information to a server according to the information type of the agricultural security information; A virtual server and thread establishment module, which is used for the server to set up a virtual server and a data transmission exclusive thread according to the actual reception of agricultural security information; A second data transmission module is used for the virtual server to send the received agricultural security information to the cloud platform using a dedicated data transmission thread, and store and manage the information through the cloud platform; The data collection terminal transmits each type of agricultural security information to the server according to the information type of the agricultural security information, including: After receiving the data packet corresponding to the agricultural security information, the data collection terminal decompresses the data packet to obtain the agricultural security information; Dividing the agricultural security information according to data format types to form a plurality of primary data sets corresponding to the data format types; Scan each primary data set to obtain the information type of agricultural security information contained in each primary data set; Dividing the data according to the information type of the agricultural security information in the primary data set to form a plurality of secondary data sets under each primary data set; Extracting the data volume of each primary data set in turn as first data volume information; Extracting the data volume of each subordinate secondary data set corresponding to each primary data set as second data volume information; The data collection terminal sends the first data volume information and the second data volume information to a server; The server sets a virtual server corresponding to each primary data set and a data transmission dedicated thread corresponding to each secondary data set according to the first data volume information and the second data volume information; wherein the virtual server and the data transmission dedicated thread are used for data transmission between the server and the cloud platform; When the server completes the virtual server and the data transmission dedicated thread, it sends a feedback signal to the data collection terminal; After receiving the feedback signal, the data collection terminal sends the primary data set and all secondary data sets contained therein to the virtual server.

Citation Information

Patent Citations

  • Internet-of-things information management system based on cloud mode for agriculture

    CN107613021A

  • A cloud data center virtual machine dynamic resource configuration method and system

    CN109918170A