Electronic information collection system based on wireless communication network

CN119729396BActive Publication Date: 2026-07-14CHINA UTONE CONSTR CONSULTING CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UTONE CONSTR CONSULTING CO LTD
Filing Date
2025-01-03
Publication Date
2026-07-14

Smart Images

  • Figure CN119729396B_ABST
    Figure CN119729396B_ABST
Patent Text Reader

Abstract

The application discloses an electronic information collection system based on a wireless communication network, which mainly comprises an information collection device layout module, a water quality information frequency calculation module, a display screen module, a channel optimization module and a frequency band switching module; the information collection device layout module is used for arranging ammonia nitrogen, nitrite, hardness, PH value, dissolved oxygen and the like monitoring instruments at multiple positions of a target fish pond to collect water quality information and transmit the water quality information to the display screen module through WiFi; the water quality information frequency calculation module is used for formulating detection frequencies for various water quality indexes according to different methods based on historical water quality data of the target fish pond; the display screen module is used for calculating and displaying mean values of water quality information at various collection positions; the channel optimization module is used for selecting a channel for the device by calculating a channel influence value and a device priority value; and the frequency band switching module is used for selecting an optimal frequency band by using a multi-frequency band technology to ensure communication stability; and the application can improve breeding efficiency and provide effective support for water quality management of aquaculture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information acquisition, and in particular to an electronic information acquisition system based on a wireless communication network. Background Technology

[0002] In traditional aquaculture, farmers mainly rely on experience and limited observation to manage fishponds; water quality monitoring often depends on regular manual sampling, followed by laboratory testing and analysis. This method has many drawbacks:

[0003] Time lag: Manual sampling cannot achieve real-time monitoring. It may take several hours or even days from sampling to obtaining test results. During this period, the water quality in the fishpond may have changed significantly, making it difficult for fish farmers to take effective control measures in a timely manner.

[0004] High labor intensity: Frequent manual sampling requires a lot of manpower and time, especially for large-area fish ponds, which not only increases breeding costs but also reduces work efficiency;

[0005] Limited monitoring points: Manual sampling can only be carried out at a limited number of points, making it difficult to fully reflect the water quality of the entire fishpond and may miss some local water quality problems.

[0006] With the rapid development of wireless communication technologies such as ZigBee, Wi-Fi, Bluetooth, and NB-IoT, new technical means have been provided for water quality information collection. These wireless communication technologies have advantages such as low power consumption, flexible networking, and remote transmission.

[0007] However, existing electronic information systems based on wireless communication networks still have the following shortcomings in collecting fishpond water quality information: they cannot analyze the historical water quality information of the target fishpond to customize the inspection frequency for each sub-indicator of water quality information, such as ammonia nitrogen and nitrite content, hardness value, pH value, and oxygen content; when using wireless communication networks, they cannot analyze each channel and device to select the appropriate channel for the device; and they cannot perform comprehensive analysis of each frequency band to achieve intelligent frequency band switching.

[0008] To address this, an electronic information acquisition system based on a wireless communication network has been developed. Summary of the Invention

[0009] In view of this, the present invention provides an electronic information acquisition system based on a wireless communication network to solve the problems mentioned in the background art.

[0010] The objective of this invention can be achieved through the following technical solution: an electronic information acquisition system based on a wireless communication network, comprising:

[0011] Information acquisition equipment deployment module: Multiple acquisition locations are selected in the target fishpond, and various devices are used at each acquisition location to detect water quality information in the fishpond. The devices include an online ammonia nitrogen monitor, an online nitrite monitor, a hardness monitor, an online pH monitor, and an online dissolved oxygen analyzer. The water quality information includes the content of ammonia nitrogen and nitrite in the water, hardness value, pH value, and oxygen content, and the water quality information is sent to the display screen module via WiFi.

[0012] Water quality information frequency calculation module: By analyzing the historical water quality information of the target fishpond, different detection frequencies are set for ammonia nitrogen and nitrite content, hardness value, pH value and oxygen content;

[0013] Display module: Calculates the average values ​​of ammonia nitrogen and nitrite content, hardness, pH value and oxygen content in the water at each collection location, and uses the results as the ammonia nitrogen and nitrite content, hardness value, pH value and oxygen content of the target fishpond. Displays the results on the display screen and sends the results to the integrated processing module.

[0014] Integrated processing module: Performs different operations based on the specific values ​​of ammonia nitrogen and nitrite content, hardness, pH value, and oxygen content of the target fishpond;

[0015] Channel optimization module: When a device sends information to the display screen, it calculates the priority value of each device and the impact value of each channel, selects a channel for each device, and avoids channel congestion.

[0016] Frequency band switching module: Utilizes multi-band communication technology to select the optimal frequency band and ensure communication stability.

[0017] Furthermore, the water quality information frequency calculation module sets different detection frequencies, and the specific steps are as follows:

[0018] S1: Obtain the pH value of the target fishpond within one year on a daily basis. Plot the pH value of the target fishpond within one year in a line graph according to the time series. Define the appropriate pH value range. Plot the threshold lines about the maximum and minimum values ​​of the appropriate pH value range in the line graph. Mark the line graph that is not between the two threshold lines as an abnormal segment. Count the time of each abnormal segment. Sum the time of each abnormal segment and record it as the abnormal value YC.

[0019] S2: Using the maximum and minimum values ​​of the suitable pH range as the standard, and 0.1 as the increment or decrement factor, obtain each abnormal pH range. Count the number of days in a year that the pH value of the target fishpond falls within each abnormal pH range. Divide the number of days in each abnormal pH range by 365 to obtain the abnormal frequency of each abnormal range. Set the abnormal score corresponding to each abnormal pH range, match the abnormal score corresponding to each abnormal pH range, multiply the abnormal score corresponding to each abnormal pH range by the corresponding abnormal frequency, and then add them together to obtain the abnormal weight value YZ.

[0020] S3: Preset the weighting factors corresponding to the abnormal error value YC and the abnormal weight value YZ. Multiply the abnormal error value YC and the abnormal weight value YZ by the corresponding weighting factors and then sum them. The final result is used as the comprehensive value. Preset the comprehensive value intervals and set different inspection frequencies for different comprehensive value intervals. Match the comprehensive value intervals corresponding to the comprehensive value to obtain the inspection frequency corresponding to the comprehensive value. Use the inspection frequency corresponding to the comprehensive value as the inspection frequency of the target fish pond pH value.

[0021] S4: The calculation of the frequency of checking hardness and oxygen content in the target fishpond is a repeat of steps S1-S3. The difference is that an appropriate hardness range is determined according to the species of fish in the target fishpond, with 5 as an increment or decrement factor; an appropriate oxygen content range is determined according to the number of fish in the target fishpond and the size of the fishpond, with 0.5 as an increment or decrement factor.

[0022] S5: The frequency of checking ammonia nitrogen and nitrite content in the target fishpond is the same as S1-S3. The difference is that since ammonia nitrogen and nitrite are harmful substances, the lower the content, the better. Therefore, it is only necessary to set the ammonia nitrogen threshold and nitrite threshold, and draw a threshold line on the corresponding line graph. Abnormal segments only need to be marked for the part above the threshold line. There is no decreasing factor, only an increasing factor, with 0.05 as the increasing factor.

[0023] Furthermore, the specific operation of the integrated processing module is as follows:

[0024] G1: Based on the suitable oxygen content range described by the water quality information frequency calculation module, the received oxygen content is compared with the suitable oxygen content range. If the oxygen content is not within the suitable oxygen content range, the difference between the oxygen content and the suitable oxygen content range is calculated. If the oxygen content is greater than the maximum value of the suitable oxygen content range, the oxygen content is subtracted from the maximum value of the suitable oxygen content range, and the result is used as the oxygen increment. Preset oxygen increment ranges, set the power of each group of aerators corresponding to each oxygen increment range, match the oxygen increment range corresponding to the oxygen increment, and thus obtain the corresponding aerator power. Adjust the aerator to the corresponding aerator power. If the oxygen content is less than the minimum value of the suitable oxygen content range, the oxygen content is subtracted from the minimum value of the suitable oxygen content range, and the result is used as the oxygen deficiency. Preset oxygen deficiency ranges, set the power of each group of aerators corresponding to each oxygen deficiency range, match the oxygen deficiency range corresponding to the oxygen deficiency, and thus obtain the corresponding aerator power. Adjust the aerator to the corresponding aerator power.

[0025] G2: Repeat step G1 for hardness and pH values, except that when the pH value is higher than the maximum value of the suitable pH range, control the amount of alum added to the target fishpond based on the difference between the pH value and the maximum value of the suitable pH range; when the pH value is lower than the minimum value of the suitable pH range, control the amount of quicklime added to the target fishpond based on the difference between the pH value and the minimum value of the suitable pH range; when the hardness value is higher than the maximum value of the suitable hardness range, control the amount of chelating agent added to the target fishpond based on the difference between the hardness value and the maximum value of the suitable hardness range; when the hardness value is lower than the minimum value of the suitable hardness range, control the amount of calcium chloride added to the target fishpond based on the difference between the hardness value and the minimum value of the suitable hardness range.

[0026] G3: Based on the ammonia nitrogen threshold described by the water quality information frequency calculation module, the received ammonia nitrogen value is compared with the ammonia nitrogen threshold. If the received ammonia nitrogen value is greater than the ammonia nitrogen threshold, the ammonia nitrogen value is subtracted from the ammonia nitrogen threshold, and the result is used as the ammonia nitrogen difference. Each ammonia nitrogen difference interval is preset, and each ammonia nitrogen difference interval is set to correspond to the inflow and outflow of each group. The ammonia nitrogen difference interval corresponding to the ammonia nitrogen difference value is matched to obtain the inflow and outflow corresponding to the ammonia nitrogen value, and the inflow and outflow of the fish pond are controlled to reach the corresponding inflow and outflow.

[0027] G4: Repeat step G3 for nitrite value operation, except that when the nitrite value is higher than the nitrite threshold, the amount of zeolite powder added to the fishpond is controlled according to the difference between the nitrite value and the nitrite threshold.

[0028] Furthermore, the channel optimization module selects channels for each device, and the specific steps are as follows:

[0029] F1: Calculate the impact value of each channel;

[0030] F2: Rank the ammonia nitrogen and nitrite content, hardness, pH value, and oxygen content of the target fishpond from highest to lowest according to the inspection frequency. The first-ranked fishpond is assigned 5 emergency points, the second-ranked fishpond 4 emergency points, and so on. When a device is detected sending information to the display screen, obtain the emergency point JJF corresponding to the water quality information to be transmitted by the device, the distance JL between the device and the display screen, and the signal quality index SQI of the device. Normalize the emergency point JJF, the distance JL between the device and the display screen, and the signal quality index SQI, and then input them into the formula. Thus, the priority value YXZ of the corresponding device is obtained, where a1, a2 and a3 are the weighted influencing factors corresponding to the emergency sub-JJF, the distance JL between the device and the display screen and the signal quality index SQI, respectively.

[0031] F3: Preset data packet byte range, with different strength values ​​corresponding to each range; the larger the data packet byte, the larger the strength value. When multiple devices send information to the display screen at the same time, channels are allocated according to the priority value of each device. The device with the highest priority value is allocated the channel with the smallest impact value, and the byte value of the data packet to be sent by that device is obtained. The data packet byte range corresponding to that byte value is matched to obtain the strength value corresponding to that data packet. The influence value corresponding to the channel with the smallest influence value is added to the strength value to obtain the new influence value of the corresponding channel.

[0032] F4: Repeat step F3 for the processing method of the remaining devices sending information.

[0033] Furthermore, the calculation of the influence value of each channel in step F1 is as follows:

[0034] D1: When a device is detected that wants to send information to the display screen, mark the current time as the starting point and obtain the number of data packets in the set time interval before the starting point of each channel. Total transmitted data and transmission rate Where i is the channel number, i = 1, 2...n, and n is the number of channels; using the formula... Obtain the busy level of each channel. ,in , as well as These are standard values ​​for the number of data packets, the total amount of transmitted data, and the transmission rate for each channel, extracted from a pre-set database. a1, a2, and a3 represent the number of data packets, respectively. Total transmitted data and transmission rate The corresponding weighting influence factor;

[0035] D2: Obtain the channel signal strength value XHQ using the interface provided by the wireless network card, obtain the ambient noise level ZS using the register in the wireless communication chip, and then use the formula... Obtain the signal indication value I, where Lg represents the logarithmic function to the base 10; calculate the hash values ​​of each data packet transmitted by the transmitting end and the hash values ​​of each data packet received by the receiving end within a set time interval before the starting point; for the same data packet, compare the hash value of the receiving end with the hash value of the transmitting end, and count the ratio of the number of data packets with different hash values ​​to the total number of data packets received by the receiving end, which is denoted as the transmission error rate CS; preset the weighting factors corresponding to the signal indication value I and the transmission error rate CS; normalize the signal indication value I and the transmission error rate CS, multiply them by the corresponding weighting factors, and then add them together; the final result is used as the interference indication value.

[0036] D3: Perform D2 calculations on all channels to obtain the interference indication value and busyness of each channel. Preset the weighting factors corresponding to the interference indication value and busyness. Multiply the interference indication value and busyness of each channel by the corresponding weighting factors and then add them together. The result is used as the influence value of each channel.

[0037] Furthermore, the specific steps for the frequency band switching module to select the optimal frequency band are as follows:

[0038] The system acquires the influence values ​​of each channel in each frequency band and takes the average of the influence values ​​of each channel in the same frequency band as the shadow mean value of that frequency band. It presets a frequency band switching threshold and compares the difference between the shadow mean value of the currently used frequency band and the shadow mean values ​​of other frequency bands in real time. This is done by subtracting the shadow mean values ​​of other frequency bands from the current frequency band's shadow mean value to obtain the shadow difference value of each frequency band. If the shadow difference value of a certain frequency band is detected to be greater than the preset switching threshold, the current time point is marked as a switching node, and all frequency bands with shadow difference values ​​greater than the preset switching threshold are marked as pre-switching frequency bands. The system acquires the shadow mean values ​​of each pre-switching frequency band at each time point within a set time interval before the switching node. It then uses the standard deviation formula to calculate the shadow mean values ​​of each pre-switching frequency band at each time point within the set time interval before the switching node, thereby obtaining the shadow wave value of each pre-switching frequency band. The frequency band with the smallest shadow wave value is selected as the switching frequency band.

[0039] Compared with the prior art, the beneficial effects of the present invention are:

[0040] This invention analyzes historical water quality information of the target fishpond to determine the inspection frequency for each sub-indicator of the water quality information, thereby avoiding the waste of resources or insufficient detection caused by uniform high-frequency or low-frequency detection of all sub-indicators, and rationally allocating detection resources.

[0041] This invention analyzes each channel to obtain the busyness and interference indication values ​​corresponding to each channel. Then, by setting weighting factors, it calculates the busyness and interference indication values ​​to obtain the influence value of each channel. At the same time, it calculates the priority value of each device. When it detects that a device is sending information to the display screen, it assigns channels to each device according to the device priority value and introduces intensity values ​​to dynamically adjust the influence value of each channel, so as to ensure the efficiency and stability of data transmission.

[0042] This invention achieves intelligent frequency switching by real-time detection of each frequency band and setting frequency band switching thresholds and calculating shadow values. This enables the system to accurately select the frequency band with the most stable communication quality and the least fluctuation, making full use of the advantages of different frequency bands, adapting to changes in wireless signals at different times and in different environments, improving overall communication performance, reducing data transmission delays and errors, and providing aquaculture farmers with more timely and accurate water quality monitoring data. Attached Figure Description

[0043] Further details, features, and advantages of this application are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:

[0044] Figure 1 This is a schematic diagram of the principle of the present invention. Detailed Implementation

[0045] Several embodiments of this application will now be described in more detail with reference to the accompanying drawings to enable those skilled in the art to implement this application. This application may be embodied in many different forms and for various purposes and should not be limited to the embodiments set forth herein. These embodiments are provided to make this application thorough and complete, and to fully convey the scope of this application to those skilled in the art. The embodiments described do not limit this application.

[0046] Unless otherwise defined, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It will be further understood that terms such as those defined in commonly used dictionaries shall be interpreted as having a meaning consistent with their meaning in the relevant field and / or the context of this specification, and shall not be interpreted in an idealized or overly formal sense unless expressly defined herein.

[0047] Please see Figure 1 As shown, the electronic information acquisition system based on a wireless communication network includes: an information acquisition equipment deployment module, a water quality information frequency calculation module, a display screen module, a comprehensive processing module, a channel optimization module, and a frequency band switching module;

[0048] Information acquisition equipment deployment module: Multiple acquisition locations are selected in the target fishpond, and various devices are used at each acquisition location to detect water quality information in the fishpond. The devices include an online ammonia nitrogen monitor, an online nitrite monitor, a hardness monitor, an online pH monitor, and an online dissolved oxygen analyzer. The water quality information includes the content of ammonia nitrogen and nitrite in the water, hardness value, pH value, and oxygen content, and the water quality information is sent to the display screen module via WiFi.

[0049] Online ammonia nitrogen and nitrite monitors detect the levels of ammonia nitrogen and nitrite in fishpond water, both of which are highly toxic to fish. Hardness meters detect the levels of calcium and magnesium ions in fishpond water. Water hardness is primarily determined by the levels of these two ions; higher levels indicate greater hardness. Both excessively high and low hardness can negatively impact fish health. Online pH monitors measure the pH level in fishpond water. Different fish species require different pH levels for optimal growth; excessively high or low pH levels can cause stress in fish, affecting their growth and immunity. Online dissolved oxygen analyzers detect the oxygen content in the water.

[0050] Water quality information frequency calculation module: By analyzing the historical water quality information of the target fishpond, different detection frequencies are set for ammonia nitrogen and nitrite content, hardness value, pH value and oxygen content;

[0051] S1: Obtain the pH value of the target fishpond within one year on a daily basis. Plot the pH value of the target fishpond within one year on a line graph according to the time series. Determine the appropriate pH value range based on the species of fish in the target fishpond. Plot threshold lines about the maximum and minimum values ​​of the appropriate pH value range on the line graph. Mark the line graph that is not between the two threshold lines as an abnormal segment. Count the time of each abnormal segment and sum the time of each abnormal segment, which is recorded as the abnormal value YC.

[0052] S2: Using the maximum and minimum values ​​of the suitable pH range as the standard, and 0.1 as the increment or decrement factor, obtain each abnormal pH range. Count the number of days in a year when the pH value of the target fishpond falls within each abnormal pH range. Divide the number of days in each abnormal pH range by 365 to obtain the abnormal frequency of each abnormal range. Set the abnormal score for each abnormal pH range. The greater the difference between the abnormal pH range and the suitable pH range, the greater the abnormal score. Match the abnormal score corresponding to each abnormal pH range, multiply the abnormal score corresponding to each abnormal pH range by the corresponding abnormal frequency, and then add them together to obtain the abnormal weight value YZ.

[0053] An abnormal range is set according to the appropriate range, and the abnormal weight value YZ is calculated by combining the abnormal frequency and abnormal score. The severity and probability of occurrence of the abnormality are fully considered, so as to provide a detailed basis for assessing the impact of water quality and environment on fish.

[0054] For example, if the suitable pH range is [7.5, 8.5], then the abnormal pH ranges with an increment factor of 0.1 are (8.5, 8.6], (8.6, 8.7]... and so on; then the abnormal pH ranges with a decrement factor of 0.1 are [7.4, 7.5), [7.3, 7.4)... and so on.

[0055] S3: Preset the weighting factors corresponding to the abnormal error value YC and the abnormal weight value YZ. Multiply the abnormal error value YC and the abnormal weight value YZ by the corresponding weighting factors and then sum them. The final result is used as the comprehensive value. Preset the comprehensive value intervals and set different inspection frequencies for different comprehensive value intervals. The larger the comprehensive value, the higher the inspection frequency. Match the comprehensive value interval corresponding to the comprehensive value to obtain the inspection frequency corresponding to the comprehensive value. Use the inspection frequency corresponding to the comprehensive value as the inspection frequency of the target fish pond pH value.

[0056] By setting different inspection frequencies based on the overall value, resources can be allocated rationally, key areas of concern can be focused on, and management efficiency can be improved.

[0057] S4: The calculation of the frequency of checking hardness and oxygen content in the target fishpond is a repeat of steps S1-S3. The difference is that an appropriate hardness range is determined according to the species of fish in the target fishpond, with 5 as an increment or decrement factor; an appropriate oxygen content range is determined according to the number of fish in the target fishpond and the size of the fishpond, with 0.5 as an increment or decrement factor.

[0058] S5: The frequency of checking ammonia nitrogen and nitrite content in the target fishpond is the same as S1-S3. The difference is that since ammonia nitrogen and nitrite are harmful substances, the lower the content, the better. Therefore, there is no suitable range for ammonia nitrogen and suitable range for nitrite. So, it is only necessary to set the threshold values ​​for ammonia nitrogen and nitrite. Draw a threshold line on the corresponding line graph for ammonia nitrogen and nitrite. Marking abnormal segments only requires marking the part above the threshold line. There is no decreasing factor, only an increasing factor, with 0.05 as the increasing factor.

[0059] Display module: Calculates the average values ​​of ammonia nitrogen and nitrite content, hardness, pH value, and oxygen content in the water from each collection location. The results are used as the ammonia nitrogen and nitrite content, hardness value, pH value, and oxygen content of the target fishpond. The results are displayed on the display screen and sent to the integrated processing module.

[0060] Integrated processing module: Performs different operations based on the specific values ​​of ammonia nitrogen and nitrite content, hardness, pH value, and oxygen content of the target fishpond;

[0061] G1: Based on the suitable oxygen content range described by the water quality information frequency calculation module, the received oxygen content is compared with the suitable oxygen content range. If the oxygen content is not within the suitable oxygen content range, the difference between the oxygen content and the suitable oxygen content range is calculated. If the oxygen content is greater than the maximum value of the suitable oxygen content range, the oxygen content is subtracted from the maximum value of the suitable oxygen content range, and the result is used as the oxygen increment. Preset oxygen increment ranges, set the power of each group of aerators corresponding to each oxygen increment range, match the oxygen increment range corresponding to the oxygen increment, and thus obtain the corresponding aerator power. Adjust the aerator to the corresponding aerator power. If the oxygen content is less than the minimum value of the suitable oxygen content range, the oxygen content is subtracted from the minimum value of the suitable oxygen content range, and the result is used as the oxygen deficiency. Preset oxygen deficiency ranges, set the power of each group of aerators corresponding to each oxygen deficiency range, match the oxygen deficiency range corresponding to the oxygen deficiency, and thus obtain the corresponding aerator power. Adjust the aerator to the corresponding aerator power.

[0062] G2: Repeat step G1 for hardness and pH values, except that when the pH value is higher than the maximum value of the suitable pH range, control the amount of alum added to the target fishpond based on the difference between the pH value and the maximum value of the suitable pH range; when the pH value is lower than the minimum value of the suitable pH range, control the amount of quicklime added to the target fishpond based on the difference between the pH value and the minimum value of the suitable pH range; when the hardness value is higher than the maximum value of the suitable hardness range, control the amount of chelating agent added to the target fishpond based on the difference between the hardness value and the maximum value of the suitable hardness range; when the hardness value is lower than the minimum value of the suitable hardness range, control the amount of calcium chloride added to the target fishpond based on the difference between the hardness value and the minimum value of the suitable hardness range.

[0063] G3: Based on the ammonia nitrogen threshold described by the water quality information frequency calculation module, the received ammonia nitrogen value is compared with the ammonia nitrogen threshold. If the received ammonia nitrogen value is greater than the ammonia nitrogen threshold, the ammonia nitrogen value is subtracted from the ammonia nitrogen threshold, and the result is used as the ammonia nitrogen difference. Each ammonia nitrogen difference interval is preset, and each ammonia nitrogen difference interval is set to correspond to the inflow and outflow of each group. The ammonia nitrogen difference interval corresponding to the ammonia nitrogen difference value is matched to obtain the inflow and outflow corresponding to the ammonia nitrogen value, and the inflow and outflow of the fish pond are controlled to reach the corresponding inflow and outflow.

[0064] G4: Repeat step G3 for nitrite value operation, except that when the nitrite value is higher than the nitrite threshold, the amount of zeolite powder added to the fishpond is controlled according to the difference between the nitrite value and the nitrite threshold.

[0065] Channel optimization module: When a device sends information to the display screen, it calculates the priority value of each device and the impact value of each channel, selects a channel for each device, and avoids channel congestion.

[0066] D1: When a device is detected that wants to send information to the display screen, mark the current time as the starting point and obtain the number of data packets in the set time interval before the starting point of each channel. Total transmitted data and transmission rate Where i is the channel number, i = 1, 2...n, and n is the number of channels; using the formula... Obtain the busy level of each channel. ,in , as well as These are standard values ​​for the number of data packets, the total amount of transmitted data, and the transmission rate for each channel, extracted from a pre-set database. a1, a2, and a3 represent the number of data packets, respectively. Total transmitted data and transmission rate The corresponding weighting influence factor;

[0067] When the device sends information to the display screen, it acquires multi-dimensional data such as the number of data packets, the total amount of data transmitted, and the transmission rate of each channel in a specific time interval. Combined with standard values ​​and weighting factors, it calculates the busyness, which can comprehensively and fully reflect the busy status of the channel and provide a quantitative basis for the subsequent reasonable allocation of channel resources.

[0068] D2: Obtain the channel signal strength value XHQ using the interface provided by the wireless network card, obtain the ambient noise level ZS using the register in the wireless communication chip, and then use the formula... Obtain the signal indication value I, where Lg represents the logarithmic function to the base 10; calculate the hash values ​​of each data packet transmitted by the transmitting end and the hash values ​​of each data packet received by the receiving end within a set time interval before the starting point; for the same data packet, compare the hash value of the receiving end with the hash value of the transmitting end; if the hash values ​​are different, it means that a transmission error has occurred; count the ratio of the number of data packets with different hash values ​​to the total number received by the receiving end, and record it as the transmission error rate CS; preset the weighting factors corresponding to the signal indication value I and the transmission error rate CS; normalize the signal indication value I and the transmission error rate CS, multiply them by the corresponding weighting factors, and then add them together; the final result is used as the interference indication value;

[0069] The signal indication value I is calculated by comprehensively utilizing the signal strength value obtained from the wireless network card interface and the noise level in the register of the wireless communication chip. At the same time, the transmission error rate is obtained by comparing the hash values ​​of the data packets at the transmitting and receiving ends. The quality of channel communication is comprehensively evaluated from two different dimensions: signal strength and noise interference, and data transmission accuracy.

[0070] D3: Perform D2 calculations on all channels to obtain the interference indication value and busyness of each channel. Preset the weighting factors corresponding to the interference indication value and busyness. Multiply the interference indication value and busyness of each channel by the corresponding weighting factors and then add them together. The result is used as the influence value of each channel.

[0071] F1: Rank the ammonia nitrogen and nitrite content, hardness, pH value, and oxygen content of the target fishpond from highest to lowest according to the frequency of inspection. The first-ranked fishpond is assigned 5 emergency points, the second-ranked fishpond 4 emergency points, and so on. When a device is detected sending information to the display screen, obtain the emergency point JJF corresponding to the water quality information to be transmitted by the device, the distance JL between the device and the display screen, and the signal quality index SQI of the device. Normalize the emergency point JJF, the distance JL between the device and the display screen, and the signal quality index SQI, and then input them into the formula. Thus, the priority value YXZ of the corresponding device is obtained, where a1, a2 and a3 are the weighted influencing factors corresponding to the emergency sub-JJF, the distance JL between the device and the display screen and the signal quality index SQI, respectively.

[0072] When the device sends information to the display screen, it comprehensively considers three different dimensions of factors: the urgency of the water quality information to be transmitted, the distance between the device and the display screen, and the signal quality indicators. After normalization processing, the priority value is calculated by inputting it into the formula, which comprehensively and scientifically evaluates the priority of the information sent by the device, avoiding the one-sidedness of making decisions based on only a single factor.

[0073] F2: Preset data packet byte range, with different strength values ​​corresponding to each range; the larger the data packet byte, the larger the strength value. When multiple devices send information to the display screen at the same time, channels are allocated according to the priority value of each device. The device with the highest priority value is allocated the channel with the smallest impact value, and the byte value of the data packet to be sent by that device is obtained. The data packet byte range corresponding to that byte value is matched to obtain the strength value corresponding to that data packet. The influence value corresponding to the channel with the smallest influence value is added to the strength value to obtain the new influence value of the corresponding channel.

[0074] The system presets the data packet byte range and corresponding strength value. The strength value is determined based on the byte value of the data packets sent by the device, so that channel allocation not only considers device priority but also takes into account the characteristics of the data packets themselves. The larger the data packet byte, the larger the strength value assigned, which can more reasonably reflect the potential impact of different data packet transmissions on the channel and further optimize the allocation of channel resources.

[0075] F3: Repeat step F2 for the remaining devices to send information.

[0076] Frequency band switching module: Utilizes multi-band communication technology to select the optimal frequency band and ensure communication stability;

[0077] The system acquires the influence values ​​of each channel in each frequency band and takes the average of the influence values ​​of each channel in the same frequency band as the shadow mean value of that frequency band. It presets a frequency band switching threshold and compares the difference between the shadow mean value of the currently used frequency band and the shadow mean values ​​of other frequency bands in real time. This is done by subtracting the shadow mean values ​​of other frequency bands from the current frequency band's shadow mean value to obtain the shadow difference value of each frequency band. If the shadow difference value of a certain frequency band is detected to be greater than the preset switching threshold, the current time point is marked as a switching node, and all frequency bands with shadow difference values ​​greater than the preset switching threshold are marked as pre-switching frequency bands. The system acquires the shadow mean values ​​of each pre-switching frequency band at each time point within a set time interval before the switching node. It then uses the standard deviation formula to calculate the shadow mean values ​​of each pre-switching frequency band at each time point within the set time interval before the switching node, thereby obtaining the shadow wave value of each pre-switching frequency band. The frequency band with the smallest shadow wave value is selected as the switching frequency band.

[0078] The preferred embodiments of the present invention disclosed above are merely illustrative of the invention. These preferred embodiments do not exhaustively describe all details, nor do they limit the invention to any specific implementation. Clearly, many modifications and variations can be made based on the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to better understand and utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims

1. An electronic information acquisition system based on a wireless communication network, characterized in that, include: Information acquisition equipment deployment module: Multiple acquisition locations are selected in the target fishpond, and various devices are used at each acquisition location to detect water quality information in the fishpond. The devices include an online ammonia nitrogen monitor, an online nitrite monitor, a hardness monitor, an online pH monitor, and an online dissolved oxygen analyzer. The water quality information includes the content of ammonia nitrogen and nitrite in the water, hardness value, pH value, and oxygen content, and the water quality information is sent to the display screen module via WiFi. Water quality information frequency calculation module: By analyzing the historical water quality information of the target fishpond, different detection frequencies are set for ammonia nitrogen and nitrite content, hardness value, pH value and oxygen content; The water quality information frequency calculation module sets different detection frequencies, and the specific steps are as follows: S1: Obtain the pH value of the target fishpond within one year on a daily basis. Plot the pH value of the target fishpond within one year in a line graph according to the time series. Define the appropriate pH value range. Plot the threshold lines about the maximum and minimum values ​​of the appropriate pH value range in the line graph. Mark the line graph that is not between the two threshold lines as an abnormal segment. Count the time of each abnormal segment. Sum the time of each abnormal segment and record it as the abnormal value YC. S2: Using the maximum and minimum values ​​of the suitable pH range as the standard, and 0.1 as the increment or decrement factor, obtain each abnormal pH range. Count the number of days in a year that the pH value of the target fishpond falls within each abnormal pH range. Divide the number of days in each abnormal pH range by 365 to obtain the abnormal frequency of each abnormal range. Set the abnormal score corresponding to each abnormal pH range, match the abnormal score corresponding to each abnormal pH range, multiply the abnormal score corresponding to each abnormal pH range by the corresponding abnormal frequency, and then add them together to obtain the abnormal weight value YZ. S3: Preset the weighting factors corresponding to the abnormal error value YC and the abnormal weight value YZ. Multiply the abnormal error value YC and the abnormal weight value YZ by the corresponding weighting factors and then sum them. The final result is used as the comprehensive value. Preset the comprehensive value intervals and set different inspection frequencies for different comprehensive value intervals. Match the comprehensive value intervals corresponding to the comprehensive value to obtain the inspection frequency corresponding to the comprehensive value. Use the inspection frequency corresponding to the comprehensive value as the inspection frequency of the target fish pond pH value. S4: The calculation of the frequency of checking hardness and oxygen content in the target fishpond is a repeat of steps S1-S3. The difference is that an appropriate hardness range is determined according to the species of fish in the target fishpond, with 5 as an increment or decrement factor; an appropriate oxygen content range is determined according to the number of fish in the target fishpond and the size of the fishpond, with 0.5 as an increment or decrement factor. S5: The frequency of checking ammonia nitrogen and nitrite content in the target fishpond is the same as S1-S3. The difference is that since ammonia nitrogen and nitrite are harmful substances, the lower the content, the better. Therefore, it is only necessary to set the ammonia nitrogen threshold and nitrite threshold, and draw a threshold line on the corresponding line graph. Abnormal segments only need to be marked for the part above the threshold line. There is no decreasing factor, only an increasing factor, with 0.05 as the increasing factor. Display module: Calculates the average values ​​of ammonia nitrogen and nitrite content, hardness, pH value and oxygen content in the water at each collection location, and uses the results as the ammonia nitrogen and nitrite content, hardness value, pH value and oxygen content of the target fishpond. Displays the results on the display screen and sends the results to the integrated processing module. Integrated processing module: Performs different operations based on the specific values ​​of ammonia nitrogen and nitrite content, hardness, pH value, and oxygen content of the target fishpond; Channel optimization module: When a device sends information to the display screen, it calculates the priority value of each device and the impact value of each channel, selects a channel for each device, and avoids channel congestion. First, the impact value of each channel is calculated. The specific process is as follows: D1: When a device is detected that wants to send information to the display screen, mark the current time as the starting point and obtain the number of data packets in the set time interval before the starting point of each channel. Total transmitted data and transmission rate Where i is the channel number, i = 1, 2...n, and n is the number of channels; using the formula... Obtain the busy level of each channel. ,in , as well as These are standard values ​​for the number of data packets, the total amount of transmitted data, and the transmission rate for each channel, extracted from a pre-defined database. a1, a2, and a3 represent the number of data packets, respectively. Total transmitted data and transmission rate The corresponding weighting influence factor; D2: Obtain the channel signal strength value XHQ using the interface provided by the wireless network card, obtain the ambient noise level ZS using the register in the wireless communication chip, and then use the formula... Obtain the signal indication value I, where Lg represents the logarithmic function with base 10; calculate the hash value of each data packet transmitted by the transmitting end and the hash value of each data packet received by the receiving end within the set time interval before the starting point; for the same data packet, compare the hash value of the receiving end with the hash value of the transmitting end, and count the ratio of the number of data packets with different hash values ​​to the total number of data packets received by the receiving end, which is denoted as the transmission error rate CS. The signal indication value I and the transmission error rate CS are preset with corresponding weighting factors. The signal indication value I and the transmission error rate CS are normalized, multiplied by the corresponding weighting factors, and then added together. The final result is used as the interference indication value. D3: Perform D2 calculations on all channels to obtain the interference indication value and busyness of each channel. Preset the weighting factors corresponding to the interference indication value and busyness. Multiply the interference indication value and busyness of each channel by the corresponding weighting factors and then add them together. The result is used as the influence value of each channel. Frequency band switching module: Utilizing multi-band communication technology, it selects the optimal frequency band to ensure communication stability; the specific steps for the frequency band switching module to select the optimal frequency band are as follows: The system acquires the influence values ​​of each channel in each frequency band and takes the average of the influence values ​​of each channel in the same frequency band as the shadow mean value of that frequency band. It presets a frequency band switching threshold and compares the difference between the shadow mean value of the currently used frequency band and the shadow mean values ​​of other frequency bands in real time. This is done by subtracting the shadow mean values ​​of other frequency bands from the current frequency band's shadow mean value to obtain the shadow difference value of each frequency band. If the shadow difference value of a certain frequency band is detected to be greater than the preset switching threshold, the current time point is marked as a switching node, and all frequency bands with shadow difference values ​​greater than the preset switching threshold are marked as pre-switching frequency bands. The system acquires the shadow mean values ​​of each pre-switching frequency band at each time point within a set time interval before the switching node. It then uses the standard deviation formula to calculate the shadow mean values ​​of each pre-switching frequency band at each time point within the set time interval before the switching node, thereby obtaining the shadow wave value of each pre-switching frequency band. The frequency band with the smallest shadow wave value is selected as the switching frequency band.

2. The electronic information acquisition system based on a wireless communication network according to claim 1, characterized in that, The specific operation of the integrated processing module is as follows: G1: Based on the suitable oxygen content range described by the water quality information frequency calculation module, the received oxygen content is compared with the suitable oxygen content range. If the oxygen content is not within the suitable oxygen content range, the difference between the oxygen content and the suitable oxygen content range is calculated. If the oxygen content is greater than the maximum value of the suitable oxygen content range, the oxygen content is subtracted from the maximum value of the suitable oxygen content range, and the result is used as the oxygen increment. Preset oxygen increment ranges, set the power of each group of aerators corresponding to each oxygen increment range, match the oxygen increment range corresponding to the oxygen increment, and thus obtain the corresponding aerator power. Adjust the aerator to the corresponding aerator power. If the oxygen content is less than the minimum value of the suitable oxygen content range, the oxygen content is subtracted from the minimum value of the suitable oxygen content range, and the result is used as the oxygen deficiency. Preset oxygen deficiency ranges, set the power of each group of aerators corresponding to each oxygen deficiency range, match the oxygen deficiency range corresponding to the oxygen deficiency, and thus obtain the corresponding aerator power. Adjust the aerator to the corresponding aerator power. G2: Repeat step G1 for hardness and pH values, except that when the pH value is higher than the maximum value of the suitable pH range, control the amount of alum added to the target fishpond based on the difference between the pH value and the maximum value of the suitable pH range; when the pH value is lower than the minimum value of the suitable pH range, control the amount of quicklime added to the target fishpond based on the difference between the pH value and the minimum value of the suitable pH range; when the hardness value is higher than the maximum value of the suitable hardness range, control the amount of chelating agent added to the target fishpond based on the difference between the hardness value and the maximum value of the suitable hardness range; when the hardness value is lower than the minimum value of the suitable hardness range, control the amount of calcium chloride added to the target fishpond based on the difference between the hardness value and the minimum value of the suitable hardness range. G3: Based on the ammonia nitrogen threshold described by the water quality information frequency calculation module, the received ammonia nitrogen value is compared with the ammonia nitrogen threshold. If the received ammonia nitrogen value is greater than the ammonia nitrogen threshold, the ammonia nitrogen value is subtracted from the ammonia nitrogen threshold, and the result is used as the ammonia nitrogen difference. Each ammonia nitrogen difference interval is preset, and each ammonia nitrogen difference interval is set to correspond to the inflow and outflow of each group. The ammonia nitrogen difference interval corresponding to the ammonia nitrogen difference value is matched to obtain the inflow and outflow corresponding to the ammonia nitrogen value, and the inflow and outflow of the fish pond are controlled to reach the corresponding inflow and outflow. G4: Repeat step G3 for nitrite value operation, except that when the nitrite value is higher than the nitrite threshold, the amount of zeolite powder added to the fishpond is controlled according to the difference between the nitrite value and the nitrite threshold.

3. The electronic information acquisition system based on a wireless communication network according to claim 1, characterized in that, The channel optimization module selects channels for each device, and the specific steps are as follows: F1: Calculate the impact value of each channel; F2: Rank the ammonia nitrogen and nitrite content, hardness, pH value, and oxygen content of the target fishpond from highest to lowest according to the inspection frequency. The first-ranked fishpond is assigned 5 emergency points, the second-ranked fishpond 4 emergency points, and so on. When a device is detected sending information to the display screen, obtain the emergency point JJF corresponding to the water quality information to be transmitted by the device, the distance JL between the device and the display screen, and the signal quality index SQI of the device. Normalize the emergency point JJF, the distance JL between the device and the display screen, and the signal quality index SQI, and then input them into the formula. Thus, the priority value YXZ of the corresponding device is obtained, where a1, a2 and a3 are the weighted influencing factors corresponding to the emergency sub-JJF, the distance JL between the device and the display screen and the signal quality index SQI, respectively. F3: Preset data packet byte range, with different strength values ​​corresponding to each range; The larger the data packet size, the greater the strength value. When multiple devices send information to the display screen at the same time, channels are allocated according to the priority value of each device. The device with the highest priority value is allocated the channel with the smallest impact value. The byte value of the data packet to be sent by the device is obtained, and the data packet byte range corresponding to the byte value is matched to obtain the strength value corresponding to the data packet. The influence value corresponding to the channel with the smallest influence value is added to the strength value to obtain the new influence value of the corresponding channel. F4: Repeat step F3 for the processing method of the remaining devices sending information.