Irrigation system

By designing a remotely controlled irrigation system and using wireless communication and mobile communication modules, the problem of manual down-to-field operation of irrigation equipment is solved, and the irrigation efficiency and scope of application are improved.

CN119949218APending Publication Date: 2025-05-09SHANGHAI HUACE NAVIGATION TECH
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510122521.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-24
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

In the existing irrigation system, switching operations of irrigation equipment require manual down-to-field operation, which is inefficient and time-consuming.

Method used

Design an irrigation system, including control equipment, servers and clients, and use short-range wireless communications and mobile communication modules to realize remote control and management of irrigation equipment.

Benefits of technology

With remote control equipment, users can operate the irrigation system without going down the field, improve irrigation efficiency, reduce operating costs, and are suitable for vast rural areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119949218A_ABST
    Figure CN119949218A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of agriculture, and provides an irrigation system. The system comprises a control device, a server and a client, wherein the control device comprises a master station device and a slave station device; the control equipment is installed on the irrigation equipment to control the irrigation equipment, the control equipment comprises a first short-distance wireless communication module, and a local area network is established between the control equipment through the first short-distance wireless communication module; the master station device further comprises a mobile communication module, the master station device communicates with the server through the mobile communication module, and the client controls the master station device through the server based on a mobile communication network and controls the slave station device through the server and the master station device; the master station device further comprises a second short-distance wireless communication module, the master station device communicates with the client side through the second short-distance wireless communication module, and the client side controls the master station device based on short-distance wireless communication and controls the slave station device through the master station device. The system is easy to install, low in cost, low in power consumption, high in intelligent degree, wide in application range and high in irrigation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of agriculture, and in particular to an irrigation system. Background Art

[0002] Irrigation is an important part of agricultural production. Taking drip irrigation as an example, the current common practice is to install several water outlet piles in the farmland, install ball valves on the water outlet piles, lead out irrigation hoses from the ball valves, and then lead out drip irrigation tapes from the hoses for irrigation. At the beginning and end of irrigation, users need to go down to the field to manually open and close the ball valve, which is time-consuming and labor-intensive, resulting in low irrigation efficiency. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide an irrigation system to improve the above-mentioned technical problems.

[0004] To achieve the above objectives, this application provides the following technical solutions:

[0005] An embodiment of the present application provides an irrigation system, comprising: a control device, a server and a client, wherein the control device comprises a master station device and a slave station device; wherein the control device is installed on the irrigation equipment within the irrigation area and is used to control the irrigation equipment, and the control device comprises a first short-range wireless communication module, and a local area network is formed between the control devices through the first short-range wireless communication module; the master station device also comprises a mobile communication module, and the master station device is used to communicate with the server through the mobile communication module, and the client is used to control the master station device through the server based on the mobile communication network, and control the slave station device through the server and the master station device; the master station device also comprises a second short-range wireless communication module, and the master station device is also used to directly communicate with the client through the second short-range wireless communication module, and the client is also used to directly control the master station device based on short-range wireless communication, and control the slave station device through the master station device.

[0006] First of all, in the above irrigation system, users can control the control device through the client, thereby realizing the control of the irrigation equipment. There is no need to go down to the field to operate the irrigation equipment personally. It has a high degree of intelligence, which greatly improves the irrigation efficiency and is conducive to large-scale agricultural production.

[0007] Secondly, in the above irrigation system, only the master station device has a mobile communication module, and the slave station device does not have a mobile communication module, which is conducive to reducing the overall power consumption of the system and saving implementation costs. In addition, in the vast rural areas, the mobile communication network coverage is poor in many areas. If all control devices rely on the mobile communication network for communication, it may cause difficulties in system operation. If only the master station device has mobile communication capabilities, it can be considered to install the master station device in a location with good mobile communication network coverage, and the control devices can communicate in the local area network based on short-range wireless communication technology, so as to avoid the above problems as much as possible. In addition, since the master station device can communicate in the local area network and communicate with external servers, it actually integrates the function of the gateway, thereby eliminating the trouble and cost of installing a separate gateway device.

[0008] Furthermore, in the above-mentioned irrigation system, since the master station device includes both a mobile communication module and a second short-range wireless communication module, if the master station device can be connected to the mobile communication network, the client can control the master station and the slave station devices based on the mobile communication network; if the master station device cannot be connected to the mobile communication network, the client can control the master station and the slave station devices based on short-range wireless communication technology, so that the system has a wide range of applications, especially for some remote areas without mobile communication networks.

[0009] Finally, the master station device and the slave station device are both installed on the irrigation equipment in a similar manner, and both include a first short-range wireless communication module with a similar structure, thereby facilitating unified design and manufacturing and also helping to save implementation costs.

[0010] In one implementation, the irrigation system further includes the irrigation equipment.

[0011] In the above implementation, the irrigation equipment may also be provided by the manufacturer of the irrigation system, so that the irrigation equipment can be specially designed so that the control device is more compatible with the irrigation equipment in terms of installation structure and the installation is simpler.

[0012] In one implementation, the irrigation equipment includes a ball valve installed on a water outlet pile, and the control device is installed on the ball valve to control the on-off state of the water outlet of the ball valve.

[0013] In the above implementation, the control device supports installation on the ball valve. Since the ball valve is a very common type of irrigation equipment, the irrigation system has a wide range of applications. In addition, since the ball valve can directly control the switch of the water flow and even the flow rate, more accurate irrigation control can be achieved by controlling the ball valve to improve the irrigation effect.

[0014] In one implementation, the control device further includes a water pressure detection module, which is used to detect water pressure data of the water outlet of the ball valve and send the water pressure data to the client.

[0015] In the above implementation, the control device detects the water pressure and sends it to the client, so that the user can grasp the water pressure of each water outlet in real time through the client, and then issue appropriate device instructions to the control device through the client.

[0016] In one implementation, the control device uses a built-in battery, and a water flow generator is provided at the water outlet and / or water inlet of the ball valve for charging the battery of the control device.

[0017] In the above implementation, the control device uses a built-in battery, which is beneficial to reducing the size of the device and eliminating the process of installing an external solar panel. If combined with some low-power designs, the built-in battery is also sufficient. In addition, a water flow generator is also provided at the water outlet and / or water inlet of the ball valve, and the battery of the control device is charged with irrigation water, further extending the battery life.

[0018] In one implementation, the mobile communication module supports mobile communication networks of different standards of multiple operators, and the master station device automatically selects the mobile communication network with the best current signal for communication when communicating with the server.

[0019] In the above implementation, since the mobile communication module of the master station device supports mobile communication networks of different standards of multiple operators, the master station device can automatically select the mobile communication network with the best current signal when communicating with the server, thereby improving the communication quality, which is conducive to maintaining stable and efficient operation of the irrigation system.

[0020] In one implementation, the location of the irrigation equipment where the master station device is installed is in the best signal area of ​​the mobile communication network in the irrigation area.

[0021] In the above implementation, the master station device is installed in the best signal area of ​​the mobile communication network, so that the master station device can maintain normal communication with the server, which is conducive to the irrigation system to maintain stable and efficient operation.

[0022] In one implementation, the slave station device also includes a third short-range wireless communication module, and the slave station device is also used to directly communicate with the client through the third short-range wireless communication module. The client is also used to directly control the slave station device equipped with the third short-range wireless communication module based on short-range wireless communication, and to control the master station device and other slave station devices through the slave station device.

[0023] In the above implementation, the slave device also supports the client to control it through short-range wireless communication technology, so that even if the client is far away from the master device and cannot communicate with the master device through short-range wireless communication, it can still communicate with the nearby slave device to control the slave device, and even control more devices through the slave device, which is conducive to the deployment of the irrigation system in a larger geographical area.

[0024] In one implementation, the mobile communication module, the first short-range wireless communication module, and the second short-range wireless communication module all use built-in antennas, and the control device uses a built-in battery.

[0025] In the above implementation, each communication module uses a built-in antenna, which is beneficial to reducing the size of the device and eliminating the process of installing an external antenna.

[0026] In one implementation, the first short-range wireless communication module includes a Lora module, and the second short-range wireless communication module includes a WiFi module or a Bluetooth module.

[0027] In the above implementation, Lora technology has good penetration, low power consumption, supports a longer communication distance, and does not require the deployment of base stations, so it is very suitable for field applications and is also suitable for use in some remote areas. WiFi and Bluetooth are standard configurations of many devices (such as mobile phones, laptops, and tablets), so the second short-range wireless communication module selects a WiFi module or a Bluetooth module to facilitate communication with the device where the client is located.

[0028] In one implementation, the local area network adopts a star structure, the master station device is the central node of the star structure, and each slave station device is only communicated with the master station device; or, the local area network adopts a tree structure, the master station device is the root node of the tree structure, the slave station device is a leaf node or internal node of the tree structure, and each control device is only communicated with the node to which it is connected in the tree structure.

[0029] In the above implementation, the star structure management is relatively simple, and the slave device only communicates with the master device, so its working logic is also relatively simple. In the tree structure, since the slave device does not need to be connected to the master device, it can be deployed farther away from the master device, expanding the coverage of the irrigation system, but the communication logic of the slave device will become more complicated. Users can flexibly implement the topology of the LAN according to actual irrigation needs.

[0030] In one implementation, the control device also includes a sensor, which is used to collect environmental data of the irrigation area; the control device is used to control the irrigation equipment according to the environmental data; or, the control device is also used to send the sensor data to the server, the server is used to generate a device instruction based on the sensor data, and send the device instruction to the control device, the device instruction is used to instruct the control device to control the irrigation equipment; or, the control device is also used to send the sensor data to the client, the client is used to generate a device instruction based on the sensor data, and send the device instruction to the control device, the device instruction is used to instruct the control device to control the irrigation equipment.

[0031] In the above implementation, sensors are set up to sense the external environment of the irrigation area, and then the environmental data is analyzed using control equipment, servers or clients, so as to achieve autonomous irrigation, further improving the intelligence level of the irrigation system.

[0032] In one implementation, the server is used to bind or unbind the control device to a user account on the client; the user account has sole control over the control device bound to it, and if a control device that has been bound to a first user account needs to be bound to a second user account, it must first be unbound from the first user account.

[0033] In the above implementation, the control device is uniquely bound to the user account, thereby preventing the control device from being misoperated or maliciously operated by an unbound user account, which is beneficial to improving the security of the irrigation system.

[0034] In one implementation, the client is also used to scan the device identification on the control device to import the control device into the current user account on the client, and the server is used to perform the following verification operations: if the control device imported by the client is not bound to any user account, the control device is bound to the current user account; if the control device imported by the client has been bound to other user accounts except the current user account, the control device is refused to be bound to the current user account; wherein, if the client is connected to the mobile communication network when importing the control device, the server directly performs the verification operation; if the client is not connected to the mobile communication network when importing the control device, the server performs the verification operation again after the client is connected to the mobile communication network.

[0035] In the above implementation, whenever the client imports a control device, the server will perform a verification operation to ensure that the control device is uniquely bound to the user account, thereby preventing the control device from being misoperated or maliciously operated by an unbound user account, which is beneficial to improving the security of the irrigation system. In addition, even if the client is not connected to the mobile communication network when importing the control device, once it is connected to the network later, the server will automatically perform a verification operation, further improving the security of the irrigation system.

[0036] In one implementation, the server is further configured to, when refusing to bind the control device to the current user account, notify a user account to which the control device has been bound of relevant information of the current user account.

[0037] In the above implementation, the server will notify the user account bound to the control device of the relevant information of the current user account that failed to import the control device, so that the original user can be aware of the potential risks, which is conducive to improving the safety of the irrigation system.

[0038] In one implementation, the client is also used to send a first device control request for a target control device to the server when connected to a mobile communication network; the server is also used to respond to the first device control request and determine whether the target control device is bound to the current user account on the client. If bound, the current user account on the client is allowed to control the target control device; if not bound, the current user account on the client is prohibited from controlling the target control device.

[0039] In the above implementation, if the client is connected to the mobile communication network, whenever the client attempts to control the control device through the server, the server will perform a verification operation to ensure that the target control device to be controlled is uniquely bound to the current user account, thereby preventing the control device from being misoperated or maliciously operated by an unbound user account, which is beneficial to improving the security of the irrigation system.

[0040] In one implementation, the client is also used to send a loss alarm request for the target control device to the server; the server is also used to respond to the loss alarm request, unbind the target control device from the current user account on the client, and when monitoring that the target control device is imported into a new user account, notify the current user account of the location of the target control device and relevant information of the new user account.

[0041] In the above implementation, a loss alarm mechanism is designed. Once the user makes a loss alarm through the client, the server can obtain relevant information of the new user account and the current location of the control device, so that the lost device can be found in time and even the thief can be tracked down, which is conducive to reducing economic losses and improving the safety of the irrigation system.

[0042] In one implementation, the client is also used to send a second device control request for a target control device to the main station device when it is not connected to a mobile communication network; the main station device is also used to respond to the second device control request and determine whether the authentication code in the second device control request is consistent with its own built-in authentication code. If they are consistent, the current user account on the client is allowed to control the target control device; if they are inconsistent, the current user account on the client is prohibited from controlling the target control device.

[0043] In the above implementation, if the client is not connected to the mobile communication network, it is impossible to verify through the server whether the current user account is bound to the target control device. At this time, the authentication code verification can be used as an alternative, thereby preventing the control device from being misoperated or maliciously operated by an unbound user account, which is beneficial to improving the security of the irrigation system. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0045] Figure 1 Possible architectures of irrigation systems provided by embodiments of the present application;

[0046] Figure 2 The state in which the control device provided in the embodiment of the present application is installed on the ball valve;

[0047] Figure 3 A possible internal structure of a control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0049] The terms "comprises", "comprising" or any other variation thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. The terms "first", "second", "third", etc. are used only to distinguish descriptions and are not to be understood as indicating or implying relative importance.

[0050] An embodiment of the present application provides an irrigation system, which includes at least a control device, a server, and a client. Figure 1 The possible architecture of the irrigation system provided in the embodiment of the present application will be combined with the irrigation system described below. Figure 1 To elaborate.

[0051] Among them, the control equipment includes master equipment and slave equipment. In an irrigation system, the number of master equipment can be one, and the number of slave equipment can be one or more. The master equipment and the slave equipment have both similarities and differences. When explaining the technical solution later, for the sake of simplicity, all the content called "control equipment" is applicable to both master equipment and slave equipment. If the content is only applicable to the master equipment, it will be clearly called "master equipment". If the content is only applicable to the slave equipment, it will be clearly called "slave equipment". Figure 1 In the irrigation system shown in FIG. 1 , a master device and eight slave devices are shown.

[0052] The control device is installed on the irrigation equipment in the irrigation area and is used to control the irrigation equipment. The irrigation area can be some plots of land where crops are planted. In agricultural production, the irrigation area is likely to be located in some remote areas, where there may be no mobile communication network or the mobile communication network coverage is poor. Irrigation equipment generally refers to equipment used for irrigation, such as valves (including ball valves, butterfly valves, gate valves, etc.), water pumps and other equipment. Controlling irrigation equipment refers to adjusting certain properties of irrigation equipment, such as the switch status of valves.

[0053] In different implementations, the irrigation system may not include irrigation equipment, for example, the irrigation system is produced by manufacturer A, and the irrigation equipment is produced by manufacturer B, but the control equipment can be installed on the irrigation equipment; the irrigation system may also include irrigation equipment, for example, the irrigation system is produced by manufacturer A, so that manufacturer A can specially design the irrigation equipment and / or control equipment to make the two more matched in installation structure, simplify the installation process or add specific functional modules.

[0054] In the following text, for simplicity, the irrigation equipment is mainly introduced as a ball valve. Figure 1 As shown. Since the ball valve is a very common type of irrigation equipment, the irrigation system provided by the embodiment of the present application has a wide range of applications.

[0055] The ball valve can be installed on the water outlet pile in the irrigation area. The ball valve includes an inlet and an outlet. Water flows into the ball valve from the inlet through the water outlet pile and flows out of the ball valve from the outlet. Each outlet can be opened or closed. The outlet of the ball valve can be connected to a hose, drip irrigation belt, etc. to further guide the water flow to the location where irrigation is required. Depending on the type of ball valve, the number of ball valve outlets is also different. For example, a three-way valve includes one inlet and two outlets, and a five-way valve includes one inlet and four outlets.

[0056] Figure 2 The state in which the control device provided in the embodiment of the present application is installed on the ball valve, Figure 3 A possible internal structure of a control device provided in an embodiment of the present application. Figure 2 The ball valve in the valve is a three-way valve, with the water inlet at the bottom and the water outlets on the left and right sides. Figure 2 and Figure 3 It can be seen that the control device is installed on the upper part of the ball valve.

[0057] The control device can control the switch state of the water outlet of the ball valve. Taking a three-way valve as an example, the control device can control the two water outlets to open or close at the same time; or, it can control the opening or closing of each water outlet independently; or, it can control the opening degree of each water outlet, such as opening 5 degrees, 10 degrees, etc. Of course, the specific control method depends on the structure of the ball valve itself, such as whether the ball valve supports independent opening or closing of each water outlet, and on the other hand, it also depends on the connection method between the control device and the ball valve. Reference Figure 3 The control device includes an upper shell and a lower shell. There is an actuator inside the shell. One end of the actuator is connected to the main control chip (for example, MCU) on the main control board, and the other end is connected to the valve stem of the ball valve. Therefore, the main control chip controls the actuator to rotate, which can drive the valve stem to rotate, thereby achieving the purpose of controlling the switch state of the ball valve.

[0058] Since the ball valve can directly control the switch of water flow and even the flow rate, the control equipment can achieve more precise irrigation control and improve the irrigation effect by controlling the ball valve.

[0059] The control device includes a first short-distance wireless communication module. Each control device forms a local area network through its own first short-distance wireless communication module, and each control device communicates through the local area network.

[0060] The short-range wireless communication technology in the embodiments of the present application generally refers to wireless communication technology with a communication distance between sites ranging from several meters to hundreds of meters (not exceeding 1000 meters). The first short-range wireless communication module can be implemented by using a short-range wireless communication technology with low power consumption, good penetration, and long communication distance (the "longer" here is relative to other short-range wireless communication technologies). Low power consumption means that it is suitable for long-term use in the field without charging or replacing batteries. Good penetration means that the signal is not easily blocked by some tall crops (such as corn, sorghum, and sugarcane), and the long communication distance is conducive to expanding the coverage area of ​​the irrigation system. For example, according to the above requirements, the first short-range wireless communication module can adopt a Lora module, such as Figure 1 As shown. In addition, Lora technology does not require the deployment of base stations, so it is very suitable for field applications, especially in some remote areas.

[0061] The topology of the above LAN is not limited to:

[0062] For example, Figure 1 In the star structure, the master station device is the central node of the star structure, and all slave station devices communicate only with the master station device, but the slave station devices do not communicate with each other. The star structure management is relatively simple, and the slave station devices only communicate with the master station device, so their working logic is also relatively simple.

[0063] For another example, in a tree structure, the master device serves as the root node of the tree structure, and the slave devices serve as leaf nodes or internal nodes (referring to nodes other than the root node and leaf nodes) of the tree structure. Each control device is only connected to the nodes it is connected to in the tree structure. For example, the master device is only connected to its child nodes in the tree structure, the slave device (when serving as an internal node) is only connected to its parent node and child nodes in the tree structure, and the slave device (when serving as a leaf node) is only connected to its parent node in the tree structure. In a local area network with a tree structure, since the slave devices do not need to be connected to the master device, they can be deployed at a location farther away from the master device, expanding the coverage of the irrigation system, but the communication logic of the slave devices will also become more complicated.

[0064] For example, in a mesh structure, for example, based on a star structure, some slave devices also establish communication connections with each other.

[0065] But no matter what the topology of the LAN is, it should at least be able to ensure that the master device can communicate directly or indirectly with any slave device.

[0066] The client can refer to an application used by the user of the irrigation system, which runs on a client device, which can be a mobile phone, laptop, tablet, PC, dedicated handheld device, etc. For example, in Figure 1 In the context of irrigation, the client is the APP on the user's phone. In this case, the client is part of the irrigation system, but the client device is not part of the irrigation system, for example, it can be the user's own device. Alternatively, the client can also refer to the client device used by the user, including hardware and software, in which case the client is part of the irrigation system.

[0067] The user can send device instructions to the control device through the client, instructing the control device to further control the irrigation equipment to perform corresponding operations, such as opening the water outlet of the ball valve, closing the water outlet of the ball valve, adjusting the flow rate of the water outlet of the ball valve, etc. Of course, the control device can also feed back some data, such as device status information (such as power, network connection status, sensor data, water pressure data, etc.) to the client to inform the user and make corresponding decisions, such as whether irrigation is currently to be carried out, whether the control device needs to be replaced or repaired, etc.

[0068] In addition to the first short-range wireless communication module, the master station device also includes a mobile communication module and a second short-range wireless communication module.

[0069] A mobile communication module refers to a module that uses a mobile communication network to communicate based on mobile communication technology, such as a 2G module, a 3G module, a 4G module, or a 5G module. Figure 1 The module in the figure is a 4G module. Of course, the 4G module may have backward compatibility features, for example, it can also communicate with 2G and 3G.

[0070] With the help of the mobile communication module, the master station device can communicate with the server (which can be located remotely) through the mobile communication network, and the client can also connect to the server, so that the client can send device instructions to the master station device through the server, thereby realizing the control of the master station device. If the client wants to control the slave station device, it can also send the device instructions to the master station device through the server, and the master station device forwards the device instructions to the slave station device using the local area network built between it and the slave station device. It can be seen that the master station device plays the role of the external interface of the local area network, that is, the gateway function.

[0071] There are different ways for a client to connect to a server: for example, if the client device is a mobile communication terminal (e.g., a mobile phone), the client can also establish a communication connection with the server through a mobile communication network. Figure 1 For another example, if the client device is not a mobile communication terminal (e.g., a PC), the user can also use a computer network to manage and control the device by accessing a specific URL provided by the server in a browser. In this case, the client can be considered to be a browser or a specific web page opened in the browser.

[0072] The server in the irrigation system can include hardware and software, or only the server program. For example, for an irrigation system manufacturer, they can buy a computer and install the server program on it as the server in the irrigation system, or they can just develop the server program and deploy it on a rented cloud server.

[0073] With the help of the second short-range wireless communication module, the master station device can communicate with the client based on short-range wireless communication technology. The second short-range wireless communication module is mainly selected to consider the compatibility with the client device. For example, WiFi and Bluetooth are standard configurations of many devices (such as mobile phones, laptops, and tablets). If the client device is the user's own device, it is likely to contain these modules. Therefore, if the second short-range wireless communication module selects a WiFi module or a Bluetooth module, it is convenient to communicate with the client, which is beneficial to improve the applicability of the irrigation system. Figure 1 In the present invention, the master station device adopts the Bluetooth (BT) module.

[0074] In particular, the second short-range wireless communication module and the first short-range wireless communication module may also be implemented as the same module, such as a Lora module, but the user's own device usually does not have a Lora module, and the irrigation system manufacturer may need to provide a dedicated client device.

[0075] By using short-range wireless communication, the client can directly send device instructions to the master device, thereby achieving control over the master device. If the client wants to control the slave device, it can also send the device instructions to the master device, and the master device will forward the device instructions to the slave device using the local area network built between it and the slave device.

[0076] If the client controls the master or slave device through the mobile communication network as the first control method, and the client controls the master or slave device through short-range wireless communication as the second control method, then its possible application scenarios include:

[0077] (1) Both the master station device and the client can connect to the mobile communication network (including the case where the client uses the computer network), and the first control method is adopted. Since the mobile communication network has a wide coverage, the control of the control device under the first method will be more flexible and free, and the user can control it whether he is remote or in the irrigation area.

[0078] (2) If at least one of the master station device and the client cannot connect to the mobile communication network, the second control method is used. If the master station device cannot connect to the mobile communication network, it may be that the irrigation area is relatively remote, the mobile communication network has no coverage or the signal is very poor, or there may be network failures and other reasons. If the client cannot connect to the mobile communication network, in addition to the above reasons, it may also be that the user does not want to use the mobile communication network, for example, the user does not want to consume data and actively turns off the mobile communication network on the client device.

[0079] The second control method requires the client to be located near the main station device. If the irrigation area is located in a remote area, this method allows users to use the irrigation system normally without consuming network traffic.

[0080] When introducing the irrigation system above, it is assumed that an irrigation system only includes one master device. However, in actual implementation, an irrigation system can also include multiple master devices, and each master device can build a local area network with some slave devices. For example, an irrigation system includes 2 master devices and 10 slave devices. One master device and 4 slave devices that are close to each other form a local area network, and the other master device and 6 slave devices that are close to each other form a local area network. Each slave device only joins one local area network, and both master devices communicate with the same server.

[0081] Here is a brief summary of the advantages of the irrigation system described above:

[0082] First of all, in the above irrigation system, users can control the control device through the client, thereby realizing the control of the irrigation equipment. There is no need to go down to the field to operate the irrigation equipment personally. It has a high degree of intelligence, which greatly improves the irrigation efficiency and is conducive to large-scale agricultural production.

[0083] Secondly, in the above irrigation system, only the master station device has a mobile communication module, and the slave station device does not have a mobile communication module, which is conducive to reducing the overall power consumption of the system and saving implementation costs. In addition, in the vast rural areas, the mobile communication network coverage is poor in many areas. If all control devices rely on the mobile communication network for communication, it may cause difficulties in system operation. If only the master station device has mobile communication capabilities, it can be considered to install the master station device in a location with good mobile communication network coverage, and the control devices can communicate in the local area network based on short-range wireless communication technology, so as to avoid the above problems as much as possible. In addition, since the master station device can communicate in the local area network and communicate with external servers, it actually integrates the function of the gateway, thereby eliminating the trouble and cost of installing a separate gateway device.

[0084] Furthermore, in the above-mentioned irrigation system, since the master station device includes both a mobile communication module and a second short-range wireless communication module, if the master station device can be connected to the mobile communication network, the client can control the master station and the slave station devices based on the mobile communication network; if the master station device cannot be connected to the mobile communication network, the client can control the master station and the slave station devices based on short-range wireless communication technology, so that the system has a wide range of applications, especially for some remote areas without mobile communication networks.

[0085] Finally, the master station device and the slave station device are both installed on the irrigation equipment in a similar manner, and both include a first short-range wireless communication module with a similar structure, thereby facilitating unified design and manufacturing and also helping to save implementation costs.

[0086] Next, based on the above embodiments, the control device is further introduced:

[0087] In one implementation, the control device further includes a water pressure detection module, which is used to detect water pressure data of a water outlet of the ball valve and send the water pressure data to the client.

[0088] For example, refer to Figure 2 The water outlet of the ball valve is provided with a ball valve water pressure port, and a conduit is led out from the ball valve water pressure port and connected to a patch-type high-precision air pressure sensor (water pressure detection module) inside the housing of the control device. The air pressure sensor can detect the air pressure in the conduit, so that the main control chip of the control device can calculate the water pressure in the water outlet based on the air pressure (because the air is pushed into the conduit under the action of water pressure). Of course, the water pressure detection module can also be directly implemented using a water pressure sensor, which can be set inside the water outlet of the ball valve and connected to the main control chip of the control device.

[0089] Water pressure data may include information such as water pressure value and data collection time. As for how the control device sends the water pressure data to the client, it depends on the method used by the current control device to communicate with the client. Taking the case where the control device is a master device as an example, when the master device is connected to the mobile communication network, the water pressure data can be sent to the client through the server. When the master device is not connected to the mobile communication network, the water pressure data can be directly sent to the client through short-range wireless communication. In the case where the water pressure data is forwarded through the server, it is not ruled out that the server will do some processing on the water pressure data, such as statistics and screening before sending it to the client. The same is true for other data mentioned later that is forwarded from the client to the client through the server.

[0090] In the above implementation, the control device detects the water pressure and sends it to the client, so that the user can grasp the water pressure of each water outlet in real time through the client, and then issue appropriate device instructions to the control device through the client. For example, if the user observes from the client that the water pressure of the water outlets of different ball valves is inconsistent, it can adjust them to be consistent, so that the irrigation effect is more uniform.

[0091] In one implementation, the control device further includes a flow detection module, which is used to detect flow data of the water outlet of the ball valve and send the flow data to the client. The flow detection module can also be implemented using a flow sensor, which can be arranged inside the water outlet of the ball valve and connected to the main control chip of the control device. For the rest of the flow detection, please refer to the water pressure detection, and no further elaboration will be given.

[0092] In one implementation, the control device uses a built-in battery, such as Figure 1 and Figure 3 As shown, it is helpful to reduce the size of the equipment, and at the same time, it eliminates the process of installing external solar panels. If combined with some low-power designs, the built-in battery is also sufficient. Low-power designs include but are not limited to:

[0093] (1) The control device adopts low-power main control chip, wireless communication module (including mobile communication module, first short-range wireless communication module, second short-range wireless communication module), high-efficiency power supply chip and other components.

[0094] (2) The main control chip of the control device is in sleep mode when not in use, but can be awakened by the wireless communication module at any time.

[0095] (3) The wireless communication module of the control device is dormant when not in use, but is awakened when receiving data. For example, the mobile communication module can maintain a long connection with the server and can be awakened by the server at any time, which not only meets the low power consumption requirements but also ensures the real-time performance of the system.

[0096] (4) If the master station device currently uses the mobile communication module, the second short-range wireless communication module is powered off, and vice versa.

[0097] (5) Some functional modules of the control equipment, such as the water pressure detection module and the execution control circuit (driving actuator), are powered on when in use and powered off when not in use.

[0098] (6) A hierarchical power supply system is used to divide the modules of the control device into different levels. When the power is insufficient, the power supply of high-level modules is prioritized, and the power supply of low-level modules is suspended. For example, the power supply of the main control and wireless communication modules is prioritized, and the power supply of the sensor and water pressure detection modules is suspended.

[0099] Furthermore, a water flow generator can be set at the water outlet and / or water inlet of the ball valve to generate current using the flow of irrigation water, thereby charging the battery of the control device, further extending the battery life. The water flow generator is also part of the irrigation system ( Figure 1 not shown).

[0100] In one implementation, the mobile communication module supports mobile communication networks of different standards of multiple operators, and the master station device automatically selects the mobile communication network with the best current signal for communication when communicating with the server.

[0101] For example, the mobile communication module supports 2G, 3G, 4G, and 5G networks at the same time, and supports three operators X, Y, and Z. There are 12 mobile communication networks with different configurations in two combinations. The master station device can detect the signal strength and select the mobile communication network with the best signal for communication. At the same time, the master station device can also send the signal strength data to the server, and the server will also select the same mobile communication network as the master station device for communication based on the data.

[0102] In the above implementation, since the mobile communication module of the master station device supports mobile communication networks of different standards of multiple operators, the master station device can automatically select the mobile communication network with the best current signal when communicating with the server, thereby improving the communication quality, which is conducive to maintaining stable and efficient operation of the irrigation system.

[0103] In one implementation, the location of the irrigation equipment on which the master station device is installed is in the best signal area of ​​the mobile communication network in the irrigation area.

[0104] Since the installation methods of the master station equipment and the slave station equipment are the same, the installation location of the master station equipment can be preferentially selected according to the signal strength of the mobile communication network. For example, the user can use a mobile phone with an APP installed with a signal measurement function to measure the signal strength at each water outlet in the irrigation area, thereby determining the best signal area of ​​the mobile communication network in the irrigation area. The best area can correspond to the area where one or more water outlets with the best signal strength are located, and then the user can install the master station equipment on the ball valves of these water outlets.

[0105] In the above implementation, the master station device is installed in the best signal area of ​​the mobile communication network, so that the master station device can maintain normal communication with the server, which is conducive to the irrigation system to maintain stable and efficient operation.

[0106] In one implementation, the slave station device also includes a third short-range wireless communication module, and the slave station device can also communicate directly with the client through the third short-range wireless communication module. The client can also directly control the slave station device equipped with the third short-range wireless communication module based on short-range wireless communication, and control the master station device and other slave station devices through the slave station device.

[0107] In the embodiments described above, only the master device can directly perform short-range wireless communication with the client because the master device is equipped with a second short-range wireless communication module. However, if a slave device is far away from the master device (for example, the local area network adopts a tree structure), and the client is located near the slave device, the client may not be able to control the slave device because it cannot connect to the master device through short-range wireless communication. The above implementation method can effectively solve this problem: by adding a third short-range wireless communication module to the slave device, even if the client is far away from the master device, it can still communicate with the nearby slave devices, thereby controlling the slave device, and even controlling more devices through the slave device, which is conducive to supporting the deployment of irrigation systems in a larger geographical area.

[0108] Regarding the implementation of the third short-range wireless communication module, reference may be made to the second short-range wireless communication module and will not be elaborated on again.

[0109] In one implementation, the mobile communication module, the first short-range wireless communication module, the second short-range wireless communication module, and the third short-range wireless communication module (optional) all use built-in antennas, which helps to reduce the size of the device and eliminates the process of installing an external antenna.

[0110] Reference Figure 3 An antenna installation slot is reserved in the upper shell of the control device, and the antenna of each communication module can be installed therein.

[0111] In one implementation, the control device further includes a sensor, and the sensor is used to collect environmental data of the irrigation area.

[0112] For example, the control device may include one or more sensors such as temperature, humidity, light, wind speed, gas concentration, soil ion concentration, etc. These sensors can be set at different locations near the control device according to needs, such as in the air, in the soil, and on crops, so that the data collected by the sensors can reflect the external environment around the control device, so it is called environmental data. In particular, the camera can collect image data around the control device, and the camera is also regarded as a sensor.

[0113] There are two ways to process environmental data:

[0114] (1) The control device analyzes the environmental data and performs necessary control on the irrigation equipment based on the analysis results.

[0115] For example, if the control device determines that the soil moisture is below the threshold based on the data collected by the humidity sensor, it can control the ball valve to open the water outlet to irrigate the crops. During the irrigation process, the soil moisture can also be monitored in real time to decide when to stop irrigation. For another example, the control device can have a built-in AI model to predict whether irrigation is currently needed, the amount of water required, and the duration of irrigation based on a variety of environmental data, and then control the irrigation equipment to irrigate based on the prediction results.

[0116] (2) The control device sends the environmental data to the server (if it is sent directly by the master device, if it is sent by the slave device, it is sent to the master device first and then sent). The server analyzes the environmental data, generates device instructions based on the analysis results, and sends the device instructions to the control device. The control device can perform necessary control on the irrigation equipment based on these device instructions.

[0117] For example, the server can have a built-in AI model to predict whether the entire irrigation area needs to be irrigated, the amount of water required, and the duration of irrigation based on the various environmental data uploaded by multiple control devices. It can then generate device instructions based on the prediction results and send the device instructions to the control device so that the control device can further control the irrigation equipment to irrigate according to these device instructions. In addition, the control instructions generated by the server for different control devices can be different, which can achieve more refined irrigation control.

[0118] (3) The control device sends the sensor data to the client (if the master device sends directly, if the slave device sends first to the master device and then sends; if the master device communicates with the client through a mobile communication network at this time, the environmental data is sent to the client through the server; if the master device communicates with the client through short-range wireless communication at this time, the environmental data is sent directly to the client). The client analyzes the environmental data, generates device instructions based on the analysis results, and sends the device instructions to the control device (the transmission path of the device instructions is opposite to the transmission path of the environmental data, which will not be explained in detail). The control device can perform necessary control on the irrigation equipment according to these device instructions. Processing method (1) Since the control device processes the environmental data by itself, the computing pressure on the server side is small and it does not rely on the mobile communication network. Processing method (2) Since the server processes the environmental data, it involves uploading data and sending the processing results (i.e., device instructions). The solution relies more on the mobile communication network, and the computing pressure on the server side is relatively large. However, since the hardware capabilities of the server are usually much stronger than those of the low-power control device, more complex data processing is supported on the server, which may result in more valuable irrigation control strategies. Processing method (3) is divided into two cases: for the case where environmental data passes through the server, since the server is mainly responsible for forwarding environmental data, the server's computing pressure is not large, and the computing pressure is mainly borne by the client device; for the case where environmental data is sent directly to the client, since the hardware capabilities of the client device are usually much stronger than low-power control devices, more complex data processing is supported on the client, which may result in more valuable irrigation control strategies.

[0119] Furthermore, for method (2), before the control device sends the environmental data to the server, it can also perform preliminary calculations locally, and then only send the calculation results to the server, and the server can then perform further calculations based on these calculation results to reduce the bandwidth occupation of the mobile communication network and reduce the calculation pressure on the server. For method (3), before the control device sends the environmental data to the client, it can also perform preliminary calculations locally, and if the environmental data passes through the server, the server can also perform some calculations on the environmental data to reduce the calculation pressure on the client.

[0120] In the above implementation, sensors are set up to sense the external environment of the irrigation area, and then the environmental data is analyzed using control equipment, servers or clients, so as to achieve autonomous irrigation without human intervention or with less human intervention, further improving the intelligence level of the irrigation system.

[0121] It should be understood that the control device can also send environmental data to the client for display to the user, allowing the user to decide how to irrigate.

[0122] In addition, in addition to obtaining environmental data, the control device can also obtain other data during operation, such as water pressure data, location information of the control device, status information of the control device (for example, power level, network connection status between the control device and other control devices, fault or abnormal information), etc. Optionally, in processing method (1), in addition to environmental data, the control device can also determine the irrigation strategy in combination with other data. Of course, the control device can also upload the other data mentioned here to the server. In processing method (2), in addition to environmental data, the server can also determine the irrigation strategy in combination with other data. The irrigation strategy here can include one or more information such as irrigation duration, frequency, flow rate, water consumption, etc.

[0123] The following uses the server as an example to illustrate some possible ways to determine the irrigation strategy:

[0124] (1) The server first determines the preliminary irrigation strategy based on the environmental data, then queries the weather of the irrigation area in the future based on the location information of the control device, and then optimizes the preliminary irrigation strategy to obtain the final irrigation strategy.

[0125] For example, the initial irrigation strategy is to water continuously for 2 hours, but the weather forecast shows that there will be light rain during the day, then the irrigation strategy can be adjusted to continuous watering for half an hour.

[0126] (2) The server first determines the preliminary irrigation strategy based on the environmental data, and then predicts the power consumption of the control equipment when executing the preliminary irrigation strategy based on the power consumption of the control equipment and the power generation efficiency of the water flow generator. The preliminary irrigation strategy is then optimized based on the power consumption to obtain the final irrigation strategy.

[0127] For example, the initial irrigation strategy is to irrigate continuously for 4 hours, but the prediction results show that the power of the control device will drop below 10% after 3 hours. In this case, the irrigation strategy can be adjusted to continuous watering for 1 hour to avoid the control device being unable to work due to low power.

[0128] (3) The environmental data includes image data collected by the camera. The server uses the AI ​​model to automatically analyze the name of the crop currently being planted and its growth stage based on the image data. The server then queries the database to obtain a preliminary irrigation strategy suitable for the crop in its current growth stage. The server then optimizes the preliminary irrigation strategy in combination with other environmental data actually collected to obtain the final irrigation strategy.

[0129] (4) First, the initial irrigation strategy prediction model is determined based on historical experience, such as the final crop yield under different irrigation strategies. An initial irrigation strategy is predicted based on this model and executed. After execution, the image data collected by the camera is used to analyze the growth status of the crop, and then combined with the water resource consumption during the irrigation process to obtain an irrigation effect score. With the goal of maximizing the score (indicating the optimal growth status and the minimum water resource consumption), the irrigation strategy prediction model is optimized, and the optimized model is used to predict the new irrigation strategy and execute it. According to the above steps, the irrigation strategy prediction model is continuously iterated and optimized, and it can be stopped after the optimization reaches a certain level or not. In short, through the feedback of environmental data, the irrigation strategy prediction model can continuously improve itself, thereby predicting an irrigation strategy with better irrigation effect and achieving a balance between crop growth and water resource utilization.

[0130] Optionally, the server may determine a plurality of better irrigation strategies each time, and then push these irrigation strategies to the user, and the user may select an irrigation strategy to be executed according to actual conditions.

[0131] Next, based on the above embodiments, the security mechanism of the control device is further introduced, including the account binding mechanism and the anti-theft mechanism:

[0132] When users control control devices, they need to register a user account and log in to this account on the client. In the visual implementation, the control devices that the user has the right to control can be displayed on the user account interface, so that the user can click on the corresponding device on the interface and make corresponding control operations. At the same time, the water pressure data, device status information, environmental data, etc. collected by the control device during operation can also be displayed here for users to view.

[0133] Here, the control device displayed under the user account is bound to the user account. The binding operation is completed by the server, and the server will record the binding relationship. In addition, the server can also unbind the bound control device and user account.

[0134] A user account has exclusive control over the control device bound to it, that is, if a control device is bound to a first user account, only the first user account can control the control device (the user logs in to the first user account on the client and then controls the control device), and other user accounts cannot control the control device. If you want to control the control device through a second user account different from the first user account, you must first unbind the control device from the first user account through the server, and then bind it to the second user account.

[0135] This unique binding mechanism helps prevent the control device from being accidentally or maliciously operated by unbound user accounts, thereby improving the security of the irrigation system.

[0136] In an alternative solution, the second user account may be allowed to bind directly to the control device, but it must be authorized by the first user account first, and the first user account can also cancel this authorization at any time. In the following, for simplicity, the only binding situation is still mainly introduced.

[0137] In one implementation, a device identifier is provided on the surface of the control device, such as a barcode or a QR code attached to the device by printing, etching or pasting, and the client can scan the device identifier on the control device to try to import the control device into the current user account on the client, which is the user account currently logged in by the client. If the import is successful, as described above, the imported control device can be displayed in the interface of the current user account, so that the current user account can control or view relevant information of the device.

[0138] Specifically, through scanning and parsing, the client can obtain the device identity information in the device identifier, such as the device serial number, and then send the device identity information and the account information of the current user account to the server. At this time, the server can perform the following verification operations based on the received information:

[0139] (1) If the server finds out based on the device identity information that the control device imported by the client is not bound to any user account, the server will bind the control device to the current user account. In addition, the server can return the device information of the control device to the client. After receiving the device information, the client can display the control device in the interface of the current user account. At this time, the device is successfully imported.

[0140] (2) If the server finds out based on the device identity information that the control device imported by the client has been bound to another user account other than the current user account, the server refuses to bind the control device to the current user account. In addition, the server may return a prompt message indicating that the import failed to the client. After receiving the prompt message, the client may display the prompt message to inform the user of the device import result, which may also include the reason for the import failure. Since the import of the control device failed, the current user account naturally cannot control the control device.

[0141] Furthermore, in this case, the server can also notify the user account of the bound control device of the relevant information of the current user account as a warning. The relevant information here may include one or more information such as the account information of the current user account, the time when the current user account performs the import operation, and the device identity information of the control device that the current user account attempts to import. Based on this information, the user account of the bound control device can be aware of potential risks, which is conducive to improving the safety of the irrigation system.

[0142] The failure of importing a control device may be due to the theft of the device. If the recipient of the stolen device wants to use the stolen device, he must also perform the control device import process. At this time, the import will fail and trigger the above notification. Of course, it is also possible that an uninformed user accidentally imported the control device. The user can make his own judgment after receiving the warning information.

[0143] (3) If the server finds out based on the device identity information that the control device imported by the client has been bound to the current user account, there is no need to perform the binding operation again. In addition, the server can return a prompt message to the client indicating that the device has been imported. After receiving the prompt message, the client can display the prompt message to let the user know that the current device has been imported and does not need to be imported again.

[0144] If the client is connected to the mobile communication network when importing the control device, the server can directly perform the above verification operation. If the client is not connected to the mobile communication network when importing the control device, the client can temporarily store the information to be sent to the server (device identity information and account information of the current user account). Once the client is subsequently connected to the mobile communication network, this information will be sent to the server, and the server will also directly perform the above verification operation accordingly.

[0145] In the above implementation, whenever the client imports a control device, the server will perform a verification operation to ensure that the control device is uniquely bound to the user account, thereby preventing the control device from being misoperated or maliciously operated by an unbound user account, which is beneficial to improving the security of the irrigation system. In addition, even if the client is not connected to the mobile communication network when importing the control device, once it is connected to the network later, the server will automatically perform a verification operation, further improving the security of the irrigation system.

[0146] The following describes the verification mechanism when the client attempts to control the control device when it can connect to the mobile communication network and when it cannot connect to the mobile communication network. For the sake of ease of explanation, the control device to be controlled is called the target control device.

[0147] If the client can connect to the mobile communication network, the control device should be controlled through the server at this time. Therefore, the client can send a first device control request for the target control device to the server, which may include the device identity information of the target device and the account information of the current user account on the client.

[0148] The server responds to the received first device control request by parsing the device identity information of the target device and the account information of the current user account, and then determines whether the target control device is bound to the current user account based on these two pieces of information. If bound, the current user account is allowed to control the target control device. If not bound, the current user account is prohibited from controlling the target control device.

[0149] Furthermore, for the unbound situation, if the target control device has been bound to other user accounts, the server can also notify the user account bound to the target control device of the relevant information of the current user account as a warning. For details, please refer to the warning plan for device import in the previous article.

[0150] In the above implementation, if the client is connected to the mobile communication network, whenever the client attempts to control the control device through the server, the server will perform a verification operation to ensure that the target control device to be controlled is uniquely bound to the current user account, thereby preventing the control device from being misoperated or maliciously operated by an unbound user account, which is beneficial to improving the security of the irrigation system.

[0151] Note that although under normal circumstances, a user account can request to control a device only after the control device is imported into the user account, malicious requests are not excluded, so the verification operation for the first control request is very helpful to improve security.

[0152] If the client cannot connect to the mobile communication network, the control device should be controlled through the master device. Therefore, the client can send a second device control request for the target control device to the master device, which may include an authentication code. For example, the authentication code may be a string.

[0153] The master device responds to the received second device control request, parses the authentication code therefrom, and then determines whether the authentication code is consistent with its own built-in authentication code. Each master device may have a unique built-in authentication code, which may be written into the master device when it is manufactured, and the slave device does not have an authentication code.

[0154] If the authentication code in the second device control request is consistent with the authentication code built into the master station device, the master station device allows the current user account on the client to control the target control device. If they are inconsistent, the current user account is prohibited from controlling the target control device.

[0155] Optionally, the authentication code can be stored in the user account when the user account is imported into the master station device. Therefore, if the current user account holds the authentication code, it is equivalent to the current user account having been imported into the master station device. Therefore, even if the mobile communication network is not currently connected, the master station device can determine that the current user account has control over the master station device through the consistency of the authentication code. Although the target control device is not necessarily the master station device, normally the master station device and the slave station devices forming a local area network with it should be bound to the same user account. Therefore, it can also indirectly confirm that the current user account has control over the target control device.

[0156] Alternatively, when a user purchases an irrigation system (at this time the user account has not been imported into the master station device), the user provides his or her account information to the manufacturer's staff, who is responsible for binding the user account and the authentication code of the master station device of the irrigation system on the server, so that when the user subsequently logs into the account on the client, the authentication code will also be imported into the user account on the client.

[0157] In the above implementation, if the client is not connected to the mobile communication network, it is impossible to verify through the server whether the current user account is bound to the control device. At this time, the authentication code verification can be used as a substitute, thereby preventing the control device from being misoperated or maliciously operated by an unbound user account, which is beneficial to improving the security of the irrigation system.

[0158] In one implementation, if a user discovers that a certain control device is stolen (including accidentally lost after purchase), a loss alarm may be issued. For simplicity, the stolen device is also referred to as a target control device.

[0159] The user can send a loss alarm request for the target control device to the server through the client. The request can include the device identity information of the target control device and the account information of the current user account on the client. The current user account is the account that is currently performing a loss alarm. Since this account can perform a loss alarm, the target control device must have been imported before. Therefore, the device identity information of the target control device is saved on the client at this time.

[0160] In response to the received loss alarm request, the server parses the device identity information of the target device and the account information of the current user account, and then unbinds the target control device from the current user account based on these two pieces of information. After unbinding, other user accounts are allowed to import the target control device. Since the device must be imported before the target control device can be used, the server can monitor whether there is any behavior of importing the target control device. Once the server detects that the target control device is imported into a new user account, it can be inferred that the new user account is the recipient of the stolen target control device. At this time, the location of the target control device and the relevant information of the new user account can be notified to the current user account. Among them, once the target control device is imported into a new user account, its location will be uploaded to the server and obtained by the server. The user corresponding to the current user account can take corresponding retroactive actions based on the received notification.

[0161] In the above implementation, a loss alarm mechanism is designed. Once the user issues a loss alarm through the client, the server can obtain the relevant information of the new user account and the current location of the control device, so that the lost device can be found in time and even the thief can be tracked down, which is conducive to reducing economic losses and improving the safety of the irrigation system. Note that in this solution, the target control device is not prohibited from being used by a new user account. On the one hand, it is to allow binding so that the server can obtain the latest location of the target control device. On the other hand, if the device is locked, the user may realize that his behavior of using the stolen device has been discovered, so he escapes or hides the target control device, making it difficult to trace.

[0162] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. An irrigation system, characterized in that: include: A control device, a server and a client, wherein the control device includes a master station device and a slave station device; Wherein, the control device is installed on the irrigation equipment in the irrigation area and is used to control the irrigation equipment. The control device includes a first short-range wireless communication module, and each control device forms a local area network through the first short-range wireless communication module; The master station device further includes a mobile communication module, the master station device is used to communicate with the server through the mobile communication module, and the client is used to control the master station device through the server based on a mobile communication network, and control the slave station device through the server and the master station device; The master station device also includes a second short-range wireless communication module, and the master station device is also used to directly communicate with the client through the second short-range wireless communication module. The client is also used to directly control the master station device based on short-range wireless communication, and to control the slave station device through the master station device.

2. The irrigation system according to claim 1, characterized in that: The irrigation system further comprises the irrigation device.

3. The irrigation system according to claim 1, characterized in that: The irrigation equipment comprises a ball valve installed on a water outlet pile, and the control device is installed on the ball valve and is used to control the switch state of the water outlet of the ball valve.

4. The irrigation system according to claim 3, characterized in that: The control device further comprises a water pressure detection module, which is used to detect water pressure data of the water outlet of the ball valve and send the water pressure data to the client.

5. The irrigation system according to claim 3, characterized in that: The control device uses a built-in battery, and a water flow generator is arranged at the water outlet and / or water inlet of the ball valve to charge the battery of the control device.

6. The irrigation system according to claim 1, characterized in that: The mobile communication module supports mobile communication networks of different standards of multiple operators, and the main station device automatically selects the mobile communication network with the best current signal for communication when communicating with the server.

7. The irrigation system according to claim 1, characterized in that: The location of the irrigation equipment where the master station device is installed is in the best signal area of ​​the mobile communication network in the irrigation area.

8. The irrigation system according to claim 1, characterized in that: The slave station device also includes a third short-range wireless communication module, and the slave station device is also used to directly communicate with the client through the third short-range wireless communication module. The client is also used to directly control the slave station device equipped with the third short-range wireless communication module based on short-range wireless communication, and to control the master station device and other slave station devices through the slave station device.

9. The irrigation system according to claim 1, characterized in that: The mobile communication module, the first short-range wireless communication module and the second short-range wireless communication module all use built-in antennas.

10. The irrigation system according to claim 1, characterized in that: The first short-range wireless communication module includes a Lora module, and the second short-range wireless communication module includes a WiFi module or a Bluetooth module.

11. The irrigation system according to claim 1, characterized in that: The local area network adopts a star structure, the master station device is the central node of the star structure, and each slave station device is only connected to the master station device for communication; or, The local area network adopts a tree structure, the master station device is the root node of the tree structure, the slave station device is the leaf node or internal node of the tree structure, and each control device is only communicated with the node connected to it in the tree structure.

12. The irrigation system according to claim 1, characterized in that: The control device further comprises a sensor, and the sensor is used to collect environmental data of the irrigation area; The control device is used to control the irrigation device according to the environmental data; Alternatively, the control device is further used to send the sensor data to the server, and the server is used to generate a device instruction according to the sensor data and send the device instruction to the control device, and the device instruction is used to instruct the control device to control the irrigation device; Alternatively, the control device is further used to send the sensor data to the client, and the client is used to generate a device instruction according to the sensor data and send the device instruction to the control device, wherein the device instruction is used to instruct the control device to control the irrigation device.

13. The irrigation system according to claim 1, characterized in that: The server is used to bind or unbind the control device to the user account on the client; The user account has the sole control right over the control device bound to it. If the control device bound to the first user account needs to be bound to the second user account, it must first be unbound from the first user account.

14. The irrigation system according to claim 13, characterized in that The client is further used to scan the device identification on the control device to import the control device into the current user account on the client, and the server is used to perform the following verification operations: If the control device imported by the client is not bound to any user account, binding the control device to the current user account; If the control device imported by the client has been bound to another user account except the current user account, refusing to bind the control device to the current user account; Among them, if the client is connected to the mobile communication network when importing the control device, the server directly performs the verification operation; if the client is not connected to the mobile communication network when importing the control device, the server performs the verification operation after the client is connected to the mobile communication network.

15. The irrigation system according to claim 14, characterized in that The server is further configured to notify a user account bound to the control device of relevant information of the current user account when refusing to bind the control device to the current user account.

16. The irrigation system according to claim 13, characterized in that The client is further configured to send a first device control request for a target control device to the server when connected to a mobile communication network; The server is also used to respond to the first device control request and determine whether the target control device is bound to the current user account on the client. If bound, the current user account on the client is allowed to control the target control device; if not bound, the current user account on the client is prohibited from controlling the target control device.

17. The irrigation system according to claim 14, characterized in that The client is also used to send a loss alarm request for the target control device to the server; The server is also used to respond to the loss alarm request, unbind the target control device from the current user account on the client, and when monitoring that the target control device is imported into a new user account, notify the current user account of the location of the target control device and relevant information of the new user account.

18. The irrigation system of claim 1, wherein: The client is also used to send a second device control request for a target control device to the master station device when the client is not connected to the mobile communication network; The master station device is also used to respond to the control request of the second device, and determine whether the authentication code in the control request of the second device is consistent with its own built-in authentication code. If they are consistent, the current user account on the client is allowed to control the target control device. If they are inconsistent, the current user account on the client is prohibited from controlling the target control device.

Citation Information

Patent Citations

  • Method and system for equipment to safely access Internet of things

    CN102882676A

  • Registration framework for connected consumer devices

    CN107077326A

  • Application method and system for cloud irrigation internet-of-things two-dimensional codes

    CN109347990A

  • Intelligent irrigation system and method

    CN110754342A

  • Methods, systems, kits and apparatuses for monitoring and managing industrial settings

    CN111435923A