CN105652903A - Water and fertilizer integrated intelligent irrigation control method and system based on UIs - Google Patents
Water and fertilizer integrated intelligent irrigation control method and system based on UIs Download PDFInfo
- Publication number
- CN105652903A CN105652903A CN201610133037.0A CN201610133037A CN105652903A CN 105652903 A CN105652903 A CN 105652903A CN 201610133037 A CN201610133037 A CN 201610133037A CN 105652903 A CN105652903 A CN 105652903A
- Authority
- CN
- China
- Prior art keywords
- control
- information
- valve
- interface
- manual
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D7/00—Control of flow
- G05D7/06—Control of flow characterised by the use of electric means
- G05D7/0617—Control of flow characterised by the use of electric means specially adapted for fluid materials
- G05D7/0629—Control of flow characterised by the use of electric means specially adapted for fluid materials characterised by the type of regulator means
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01G—HORTICULTURE; CULTIVATION OF VEGETABLES, FLOWERS, RICE, FRUIT, VINES, HOPS OR SEAWEED; FORESTRY; WATERING
- A01G25/00—Watering gardens, fields, sports grounds or the like
- A01G25/16—Control of watering
Landscapes
- Engineering & Computer Science (AREA)
- Water Supply & Treatment (AREA)
- Life Sciences & Earth Sciences (AREA)
- Environmental Sciences (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Selective Calling Equipment (AREA)
- Fertilizing (AREA)
Abstract
一种基于UI界面的水肥一体化智能灌溉控制方法及系统,主机端获取控制方式信息,并根据所述控制方式信息加载相应的自控UI界面或者手控UI界面;所述主机端通过所述自控UI界面或者所述手控UI界面获取控制信息,并将所述控制信息发送至从机端;通过所述自控UI界面获取的控制信息包括:阀门信息、灌溉时间及结束时间;通过所述手控UI界面获取的控制信息包括:阀门选择信息及所述阀门的开闭信息;所述从机端接收所述控制信息,并根据所述控制信息控制执行端相应阀门的开启或关闭,以控制所述执行端工作状态。由于控制信息是通过UI界面获取的,故上述基于UI界面的水肥一体化智能灌溉控制方法及系统可视化程度高。
A method and system for intelligent irrigation control of water and fertilizer integration based on a UI interface. The host end obtains control mode information, and loads a corresponding self-control UI interface or manual control UI interface according to the control mode information; The UI interface or the manual control UI interface obtains control information, and sends the control information to the slave terminal; the control information obtained through the self-control UI interface includes: valve information, irrigation time and end time; through the manual The control information acquired by the control UI interface includes: valve selection information and the opening and closing information of the valve; the slave end receives the control information, and controls the opening or closing of the corresponding valve at the execution end according to the control information to control The working status of the execution terminal. Since the control information is obtained through the UI interface, the above-mentioned intelligent irrigation control method and system based on the UI interface have a high degree of visualization.
Description
技术领域technical field
本发明涉及智能农业控制领域,尤其涉及一种基于UI界面的水肥一体化智能灌溉控制方法及系统。The invention relates to the field of intelligent agricultural control, in particular to a method and system for intelligent irrigation control of water and fertilizer integration based on a UI interface.
背景技术Background technique
随着水资源供需矛盾的日益加剧,各国都十分重视发展节水型农业。发达国家除普遍采用喷灌、微灌等先进的节水灌溉技术外,还应用先进的自动化控制技术实施精确灌溉,以作物实际需水为依据,以信息技术为手段,提高灌溉精准度,实施合理的灌溉制度,提高水的利用率。智能自动化控制灌溉能够提高灌溉管理水平,改变人为操作的随意性,同时智能控制灌溉能够减少灌溉用工,降低管理成本,显著提高效益。因此,推广实施自动化控制灌溉,改变目前普遍存在的粗放灌水方式,提高灌溉水利用率,是有效解决灌溉节水问题的必要措施之一。然而,目前水肥一体化灌溉控制还不能完全做到可视化。With the increasing contradiction between supply and demand of water resources, all countries attach great importance to the development of water-saving agriculture. In addition to widely adopting advanced water-saving irrigation technologies such as sprinkler irrigation and micro-irrigation, developed countries also apply advanced automatic control technology to implement precise irrigation, based on the actual water demand of crops, and using information technology as a means to improve irrigation accuracy and implement rationally. The irrigation system improves water use efficiency. Intelligent automatic control of irrigation can improve the level of irrigation management and change the arbitrariness of human operations. At the same time, intelligent control of irrigation can reduce irrigation labor, reduce management costs, and significantly improve efficiency. Therefore, it is one of the necessary measures to effectively solve the problem of irrigation water saving to promote the implementation of automatic control irrigation, change the extensive irrigation methods that are currently widespread, and improve the utilization rate of irrigation water. However, at present, the integrated irrigation control of water and fertilizer cannot be fully visualized.
发明内容Contents of the invention
基于此,有必要提供一种可视化程度高的基于UI界面的水肥一体化智能灌溉控制方法及系统。Based on this, it is necessary to provide a highly visualized UI interface-based intelligent irrigation control method and system for water and fertilizer integration.
一种基于UI界面的水肥一体化智能灌溉控制方法,包括步骤:A method for intelligent irrigation control of water and fertilizer integration based on a UI interface, comprising steps:
主机端获取控制方式信息,并根据所述控制方式信息加载相应的自控UI界面或者手控UI界面;The host terminal obtains the control mode information, and loads the corresponding self-control UI interface or manual control UI interface according to the control mode information;
所述主机端通过所述自控UI界面或者所述手控UI界面获取控制信息,并将所述控制信息发送至从机端;通过所述自控UI界面获取的控制信息包括:阀门信息、灌溉时间及结束时间;通过所述手控UI界面获取的控制信息包括:阀门选择信息及所述阀门的开闭信息;The host end obtains control information through the self-control UI interface or the manual control UI interface, and sends the control information to the slave end; the control information obtained through the self-control UI interface includes: valve information, irrigation time and end time; the control information obtained through the manual UI interface includes: valve selection information and opening and closing information of the valve;
所述从机端接收所述控制信息,并根据所述控制信息控制执行端相应阀门的开启或关闭,以控制所述执行端工作状态。The slave end receives the control information, and controls the opening or closing of the corresponding valve of the execution end according to the control information, so as to control the working state of the execution end.
一种基于UI界面的水肥一体化智能灌溉控制系统,包括:A UI interface-based integrated water and fertilizer intelligent irrigation control system, including:
界面加载模块,用于主机端获取控制方式信息,并根据所述控制方式信息加载相应的自控UI界面或者手控UI界面;The interface loading module is used for the host to obtain the control mode information, and loads the corresponding self-control UI interface or manual control UI interface according to the control mode information;
信息获取模块,用于所述主机端通过所述自控UI界面或者所述手控UI界面获取控制信息,并将所述控制信息发送至从机端;通过所述自控UI界面获取的控制信息包括:阀门信息、灌溉时间及结束时间;通过所述手控UI界面获取的控制信息包括:阀门选择信息及所述阀门的开闭信息;An information acquisition module, configured for the host terminal to obtain control information through the self-control UI interface or the manual control UI interface, and send the control information to the slave terminal; the control information obtained through the self-control UI interface includes : valve information, irrigation time and end time; the control information obtained through the manual control UI interface includes: valve selection information and opening and closing information of the valve;
控制执行模块,用于所述从机端接收所述控制信息,并根据所述控制信息控制执行端相应阀门的开启或关闭,以控制所述执行端工作状态。The control execution module is used for the slave end to receive the control information, and control the opening or closing of the corresponding valve of the execution end according to the control information, so as to control the working state of the execution end.
上述基于UI界面的水肥一体化智能灌溉控制方法及系统,主机端获取控制方式信息,并根据所述控制方式信息加载相应的自控UI界面或者手控UI界面;所述主机端通过所述自控UI界面或者所述手控UI界面获取控制信息,并将所述控制信息发送至从机端;通过所述自控UI界面获取的控制信息包括:阀门信息、灌溉时间及结束时间;通过所述手控UI界面获取的控制信息包括:阀门选择信息及所述阀门的开闭信息;所述从机端接收所述控制信息,并根据所述控制信息控制执行端相应阀门的开启或关闭,以控制所述执行端工作状态。由于控制信息是通过UI界面获取的,故上述基于UI界面的水肥一体化智能灌溉控制方法及系统可视化程度高。In the aforementioned UI interface-based water and fertilizer integrated intelligent irrigation control method and system, the host end obtains control mode information, and loads a corresponding self-control UI interface or manual control UI interface according to the control mode information; The interface or the manual control UI interface obtains control information, and sends the control information to the slave terminal; the control information obtained through the self-control UI interface includes: valve information, irrigation time and end time; through the manual control The control information acquired by the UI interface includes: valve selection information and the opening and closing information of the valve; the slave end receives the control information, and controls the opening or closing of the corresponding valve at the execution end according to the control information to control the valve. Describe the working status of the execution end. Since the control information is obtained through the UI interface, the above-mentioned intelligent irrigation control method and system based on the UI interface have a high degree of visualization.
附图说明Description of drawings
图1为一种实施方式的基于UI界面的水肥一体化智能灌溉控制方法的流程图;Fig. 1 is a flow chart of an embodiment of an integrated water and fertilizer intelligent irrigation control method based on a UI interface;
图2为另一种实施方式的基于UI界面的水肥一体化智能灌溉控制方法的流程图;Fig. 2 is the flow chart of another kind of embodiment based on the water and fertilizer integrated intelligent irrigation control method of UI interface;
图3为一种实施方式的基于UI界面的水肥一体化智能灌溉控制系统的结构图;Fig. 3 is the structural diagram of the water and fertilizer integrated intelligent irrigation control system based on the UI interface of an embodiment;
图4为另一种实施方式的基于UI界面的水肥一体化智能灌溉控制系统的结构图。Fig. 4 is a structural diagram of another embodiment of an intelligent water and fertilizer integrated irrigation control system based on a UI interface.
具体实施方式detailed description
为了便于理解本发明,下面将参照相关附图对本发明进行更全面的描述。附图中给出了本发明的较佳的实施例。但是,本发明可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对本发明的公开内容的理解更加透彻全面。In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the associated drawings. Preferred embodiments of the invention are shown in the accompanying drawings. However, the present invention can be embodied in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided to make the understanding of the disclosure of the present invention more thorough and comprehensive.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“或/和”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention. As used herein, the term "or/and" includes any and all combinations of one or more of the associated listed items.
如图1所示,为本发明一种实施方式的基于UI界面的水肥一体化智能灌溉控制方法,包括步骤:As shown in Figure 1, it is a UI interface-based intelligent irrigation control method for water and fertilizer in an embodiment of the present invention, including steps:
S130,主机端获取控制方式信息,并根据所述控制方式信息加载相应的自控UI界面或者手控UI界面。S130. The host terminal acquires control mode information, and loads a corresponding self-control UI interface or manual control UI interface according to the control mode information.
主机端为主控端,可以在主机端上实现增加、修改或删除对执行端的控制信息。The host end is the main control end, and the control information on the execution end can be added, modified or deleted on the host end.
控制方式信息可以为字符信息。控制方式信息也可以为鼠标点击的坐标信息,根据鼠标点击的坐标信息确定控制方式,并加载与控制方式相应的UI界面。具体地,根据鼠标点击的坐标信息与预设坐标信息进行对比确定用户选择的控制方式。The control mode information may be character information. The control mode information may also be the coordinate information of the mouse click, the control mode is determined according to the coordinate information of the mouse click, and the UI interface corresponding to the control mode is loaded. Specifically, the control mode selected by the user is determined by comparing the coordinate information of the mouse click with the preset coordinate information.
在本实施例中,控制方式包括自控方式和手控方式,其分别对应的UI界面为自控UI界面和手控UI界面。In this embodiment, the control modes include an automatic control mode and a manual control mode, and the corresponding UI interfaces are an automatic control UI interface and a manual control UI interface.
S150,所述主机端通过自控UI界面或者所述手控UI界面获取控制信息,并将所述控制信息发送至从机端。S150. The host terminal acquires control information through the self-control UI interface or the manual control UI interface, and sends the control information to the slave terminal.
用户在UI界面中输入控制信息,主机端获取该控制信息,并将控制信息发送至从机端。The user inputs control information in the UI interface, and the master side obtains the control information and sends the control information to the slave side.
具体地,主机端和从机端均设置有射频模块。主机端通过射频模块将控制信息发送至从机端;从机端通过射频模块接收控制信息。Specifically, both the host end and the slave end are provided with radio frequency modules. The host end sends the control information to the slave end through the radio frequency module; the slave end receives the control information through the radio frequency module.
通过所述自控UI界面获取的控制信息包括:阀门信息、灌溉时间及结束时间;通过所述手控UI界面获取的控制信息包括:阀门选择信息及所述阀门的开闭信息。The control information obtained through the self-control UI interface includes: valve information, irrigation time and end time; the control information obtained through the manual control UI interface includes: valve selection information and valve opening and closing information.
阀门选择信息可以为鼠标点击的坐标所对应显示的阀门的信息(阀门信息),也可以为手动输入的阀门信息。The valve selection information may be the information (valve information) of the valve displayed corresponding to the coordinates of the mouse click, or the valve information input manually.
为了方便用户了解的阀门的开闭状态,所述手控UI界面中还包括所述阀门的当前开闭状态的显示信息。具体地,显示信息可以为阀门的不同颜色显示。In order to facilitate the user to know the opening and closing state of the valve, the manual control UI interface also includes display information of the current opening and closing state of the valve. Specifically, the displayed information may be displayed in different colors of the valve.
S170,所述从机端接收所述控制信息,并根据所述控制信息控制执行端相应阀门的开启或关闭,以控制所述执行端工作状态。S170, the slave end receives the control information, and controls the opening or closing of the corresponding valve of the execution end according to the control information, so as to control the working state of the execution end.
如此,控制灌溉的开始或结束。In this way, the start or end of irrigation is controlled.
上述基于UI界面的水肥一体化智能灌溉控制方法,主机端获取控制方式信息,并根据所述控制方式信息加载相应的自控UI界面或者手控UI界面;所述主机端通过自控UI界面或者所述手控UI界面获取控制信息,并将所述控制信息发送至从机端;通过所述自控UI界面获取的控制信息包括:阀门信息、灌溉时间及结束时间;通过所述手控UI界面获取的控制信息包括:阀门选择信息及所述阀门的开闭信息;所述从机端接收所述控制信息,并根据所述控制信息控制执行端相应阀门的开启或关闭,以控制所述执行端工作状态。由于控制信息是通过UI界面获取的,故上述基于UI界面的水肥一体化智能灌溉控制方法可视化程度高。In the aforementioned UI interface-based water and fertilizer integrated intelligent irrigation control method, the host end obtains control mode information, and loads a corresponding self-control UI interface or manual control UI interface according to the control mode information; the host end uses the self-control UI interface or the The manual control UI interface obtains control information, and sends the control information to the slave terminal; the control information obtained through the self-control UI interface includes: valve information, irrigation time and end time; the control information obtained through the manual control UI interface The control information includes: valve selection information and the opening and closing information of the valve; the slave end receives the control information, and controls the opening or closing of the corresponding valve at the execution end according to the control information, so as to control the work of the execution end state. Since the control information is obtained through the UI interface, the above-mentioned intelligent irrigation control method for water and fertilizer integration based on the UI interface has a high degree of visualization.
在其中一个实施例中,步骤S170包括S171及S173。In one embodiment, step S170 includes S171 and S173.
S171:当所述控制方式为所述自控方式时,所述从机端接收所述阀门信息、灌溉时间及结束时间,并将所述阀门信息、灌溉时间及结束时间解码为对相应的执行端的阀门进行阀门开关控制的自控控制命令,并根据所述自控控制命令于设定时间发送相应的逻辑控制序列至所述执行端。S171: When the control mode is the self-control mode, the slave terminal receives the valve information, irrigation time and end time, and decodes the valve information, irrigation time and end time into corresponding execution terminal The valve executes a self-control command for valve switch control, and sends a corresponding logic control sequence to the execution end at a set time according to the self-control command.
其中,自控控制命令包括与所述阀门信息及灌溉时间或结束时间对应的阀门信息、开闭信息及设定时间。阀门信息包括阀门唯一标识,该唯一标识可以为名称或编号等。Wherein, the automatic control command includes valve information, opening and closing information and setting time corresponding to the valve information and irrigation time or end time. The valve information includes the unique identification of the valve, which can be name or number.
逻辑控制序列为根据阀门信息按照预设次序排列的阀门的开闭信号。可以通过开闭信号来表示开闭信息。开闭信号可以为0或1,通过0或1来表示阀门的开闭。The logic control sequence is the opening and closing signals of the valves arranged in a preset order according to the valve information. The opening and closing information may be represented by an opening and closing signal. The opening and closing signal can be 0 or 1, and the opening and closing of the valve is represented by 0 or 1.
S173,当所述控制方式为所述手控方式时,所述从机端接收所述阀门选择信息及所述阀门的开闭信息,并将所述阀门选择信息及所述阀门的开闭信息解码为相应执行端的阀门进行阀门开关控制的手控控制命令,并将所述手控控制命令实时发送至相应的逻辑控制序列至所述执行端。其中,手控控制命令包括:与所述阀门选择信息及所述开闭信息对应的阀门信息及开闭信息。S173. When the control mode is the manual control mode, the slave terminal receives the valve selection information and the valve opening and closing information, and stores the valve selection information and the valve opening and closing information Decode the manual control command for the valve switch control of the valve at the corresponding execution end, and send the manual control command to the corresponding logic control sequence to the execution end in real time. Wherein, the manual control command includes: valve information and opening and closing information corresponding to the valve selection information and the opening and closing information.
执行端用于控制阀门的开启和关闭。在本实施例中,执行端根据逻辑控制序列来控制逻辑序列中序列上不同位置上的开闭信号来控制相应位置对应的阀门的开启或关闭。The actuator is used to control the opening and closing of the valve. In this embodiment, the execution end controls the opening and closing signals at different positions in the logic sequence according to the logic control sequence to control the opening or closing of the valve corresponding to the corresponding position.
当所述控制方式为所述自控方式时,从机端可以根据控制信息生成多条自控控制命令。如一条控制信息中至少包括灌溉时间及结束时间两个设定时间点,将生成至少两条自控控制命令。其中,一条自控控制命令对应灌溉时间及该时刻需要开启或关闭的阀门信息及开闭信息;另一条自控控制命令对应结束时间及该时刻需要开启或关闭的阀门信息及开闭信息。When the control mode is the self-control mode, the slave terminal may generate multiple self-control commands according to the control information. If one piece of control information includes at least two set time points of irrigation time and end time, at least two self-control commands will be generated. Among them, one self-control command corresponds to the irrigation time and the valve information that needs to be opened or closed at this time and the opening and closing information; the other self-control control command corresponds to the end time and the valve information that needs to be opened or closed at this time and the opening and closing information.
进一步地,控制信息还可以包括灌溉周期,如此,一条控制信息将对应多条自控控制命令,在每一个灌溉周期中的灌溉时间及结束时间都将生成一条对应的自控控制命令,达到周期性灌溉的效果。Further, the control information can also include the irrigation cycle, so that one piece of control information will correspond to multiple self-control control commands, and a corresponding self-control control command will be generated for the irrigation time and end time in each irrigation cycle to achieve periodic irrigation. Effect.
在必要时,还可以通过手控UI界面根据控制信息生成手控控制命令,从而控制阀门的开闭,以控制灌溉。When necessary, a manual control command can also be generated according to the control information through the manual UI interface, so as to control the opening and closing of the valve to control irrigation.
请参阅图2,在其中一个实施例中,步骤S130之前,还包括步骤:Referring to Fig. 2, in one of the embodiments, before step S130, also includes the steps:
S110,主机端获取账号信息,并对所述账号信息进行合法性判断,直至判断所述账号信息合法。S110, the host side acquires account information, and judges the validity of the account information until it is determined that the account information is legal.
如此,可以在一定程度上保证增加控制信息的用于为合法用户,提高基于UI界面的水肥一体化智能灌溉控制方法的安全性高。In this way, it can be guaranteed to a certain extent that the use of increased control information is for legitimate users, and the security of the intelligent irrigation control method for water and fertilizer integration based on the UI interface is improved.
在其中一个实施例中,步骤S130之前,步骤S110之后,还包括步骤:In one of the embodiments, before the step S130 and after the step S110, further steps are included:
S120,主机端获取当前时间,并根据所述账号信息获取账号等级信息,根据所述当前时间及所述账号等级信息确定所述账号信息开放相应的权限。S120. The host side acquires the current time, and acquires account level information according to the account information, and determines the account information to release corresponding permissions according to the current time and the account level information.
具体地,账号等级信息包括:用户有权限可控制的阀门及有权限可控制的时间。如此,可以进一步提高基于UI界面的水肥一体化智能灌溉控制方法的安全性。Specifically, the account level information includes: the valve that the user has the authority to control and the time that the user has the authority to control. In this way, the security of the intelligent irrigation control method for water and fertilizer integration based on the UI interface can be further improved.
进一步地,步骤S130具体为:Further, step S130 is specifically:
所述主机端获取所述账号信息相应的权限以及控制方式信息,并根据所述账号信息相应的权限和所述控制方式信息加载相应的自动UI界面或者手控UI界面。The host terminal obtains the corresponding authority and control mode information of the account information, and loads the corresponding automatic UI interface or manual UI interface according to the corresponding authority of the account information and the control mode information.
需要说明的是,权限不同,界面上显示的可被控制的对象不同。如,不同权限的用户可控制的阀门不同,从而手控UI界面中显示的阀门不同。It should be noted that different permissions mean different objects displayed on the interface that can be controlled. For example, users with different permissions can control different valves, so the valves displayed on the manual control UI interface are different.
如图3所示,为本发明一种实施方式的基于UI界面的水肥一体化智能灌溉控制系统,包括:As shown in Figure 3, it is an integrated intelligent irrigation control system for water and fertilizer based on the UI interface of an embodiment of the present invention, including:
界面加载模块130,用于主机端获取控制方式信息,并根据所述控制方式信息加载相应的自控UI界面或者手控UI界面。The interface loading module 130 is used for the host to obtain control mode information, and load a corresponding self-control UI interface or manual control UI interface according to the control mode information.
主机端为主控端,可以在主机端上实现增加、修改或删除对执行端的控制信息。The host end is the main control end, and the control information on the execution end can be added, modified or deleted on the host end.
控制方式信息可以为字符信息。控制方式信息也可以为鼠标点击的坐标信息,根据鼠标点击的坐标信息确定控制方式,并加载与控制方式相应的UI界面。具体地,根据鼠标点击的坐标信息与预设坐标信息进行对比确定用户选择的控制方式。The control mode information may be character information. The control mode information may also be the coordinate information of the mouse click, the control mode is determined according to the coordinate information of the mouse click, and the UI interface corresponding to the control mode is loaded. Specifically, the control mode selected by the user is determined by comparing the coordinate information of the mouse click with the preset coordinate information.
在本实施例中,控制方式包括自控方式和手控方式,其分别对应的UI界面分别为自控UI界面和手控UI界面。In this embodiment, the control modes include an automatic control mode and a manual control mode, and the corresponding UI interfaces are respectively an automatic control UI interface and a manual control UI interface.
信息获取模块150,用于所述主机端通过自控UI界面或者所述手控UI界面获取控制信息,并将所述控制信息发送至从机端。The information obtaining module 150 is used for the master end to obtain control information through the self-control UI interface or the manual control UI interface, and send the control information to the slave end.
用户在UI界面中输入控制信息,主机端获取该控制信息,并将控制信息发送至从机端。The user inputs control information in the UI interface, and the master side obtains the control information and sends the control information to the slave side.
具体地,主机端和从机端均设置有射频模块。主机端通过射频模块将控制信息发送至从机端;从机端通过射频模块接收控制信息。Specifically, both the host end and the slave end are provided with radio frequency modules. The host end sends the control information to the slave end through the radio frequency module; the slave end receives the control information through the radio frequency module.
通过所述自控UI界面获取的控制信息包括:阀门信息、灌溉时间及结束时间;通过所述手控UI界面获取的控制信息包括:阀门选择信息及所述阀门的开闭信息。阀门选择信息可以为鼠标点击的坐标所对应显示的阀门的信息(阀门信息),也可以为手动输入的阀门信息。The control information obtained through the self-control UI interface includes: valve information, irrigation time and end time; the control information obtained through the manual control UI interface includes: valve selection information and valve opening and closing information. The valve selection information may be the information (valve information) of the valve displayed corresponding to the coordinates of the mouse click, or the valve information input manually.
为了方便用户了解的阀门的开闭状态,所述手控UI界面中还包括所述阀门的当前开闭状态的显示信息。具体地,显示信息可以为阀门的不同颜色显示。In order to facilitate the user to know the opening and closing state of the valve, the manual control UI interface also includes display information of the current opening and closing state of the valve. Specifically, the displayed information may be displayed in different colors of the valve.
控制执行模块170,所述从机端接收所述控制信息,并根据所述控制信息控制执行端相应阀门的开启或关闭,以控制所述执行端工作状态。Control execution module 170, the slave end receives the control information, and controls the opening or closing of the corresponding valve of the execution end according to the control information, so as to control the working state of the execution end.
如此,控制灌溉的开始或结束。In this way, the start or end of irrigation is controlled.
上述基于UI界面的水肥一体化智能灌溉控制系统,界面加载模块,用于主机端获取控制方式信息,并根据所述控制方式信息加载相应的自控UI界面或者手控UI界面;信息获取模块,用于所述主机端通过所述自控UI界面或者所述手控UI界面获取控制信息,并将所述控制信息发送至从机端;通过所述自控UI界面获取的控制信息包括:阀门信息、灌溉时间及结束时间;通过所述手控UI界面获取的控制信息包括:阀门选择信息及所述阀门的开闭信息;控制执行模块,用于所述从机端接收所述控制信息,并根据所述控制信息控制执行端相应阀门的开启或关闭,以控制所述执行端工作状态。由于控制信息是通过UI界面获取的,故上述基于UI界面的水肥一体化智能灌溉控制系统可视化程度高。The above UI interface-based water and fertilizer integrated intelligent irrigation control system, the interface loading module is used for the host to obtain control mode information, and loads the corresponding self-control UI interface or manual control UI interface according to the control mode information; the information acquisition module uses Obtain control information at the host terminal through the self-control UI interface or the manual control UI interface, and send the control information to the slave terminal; the control information obtained through the self-control UI interface includes: valve information, irrigation time and end time; the control information obtained through the manual control UI interface includes: valve selection information and the opening and closing information of the valve; a control execution module, used for the slave terminal to receive the control information, and according to the The control information controls the opening or closing of the corresponding valve at the execution end, so as to control the working state of the execution end. Since the control information is obtained through the UI interface, the above-mentioned intelligent irrigation control system for water and fertilizer integration based on the UI interface has a high degree of visualization.
在其中一个实施例中,控制执行模块170包括自控执行单元171及手控执行单元173。In one embodiment, the control execution module 170 includes a self-control execution unit 171 and a manual control execution unit 173 .
自控执行单元171,用于当所述控制方式为所述自控方式时,所述从机端接收所述阀门信息、灌溉时间及结束时间,并将所述阀门信息、灌溉时间及结束时间解码为对相应的执行端的阀门进行阀门开关控制的自控控制命令,并根据所述自控控制命令于设定时间发送相应的逻辑控制序列至所述执行端。The self-control execution unit 171 is configured to receive the valve information, irrigation time and end time at the slave end when the control mode is the self-control mode, and decode the valve information, irrigation time and end time into Carry out an automatic control command for valve switch control on the valve at the corresponding execution end, and send a corresponding logic control sequence to the execution end at a set time according to the automatic control command.
其中,自控控制命令包括与所述阀门信息及灌溉时间或结束时间对应的至少包括阀门信息、开闭信息及设定时间。阀门信息包括阀门唯一标识,该唯一标识可以为名称或编号等。Wherein, the automatic control command includes at least valve information, opening and closing information and setting time corresponding to the valve information and irrigation time or end time. The valve information includes the unique identification of the valve, which can be name or number.
逻辑控制序列为根据阀门信息按照预设次序排列的阀门的开闭信号。可以通过开闭信号来表示开闭信息。开闭信号可以为0或1,通过0或1来表示阀门的开闭。The logic control sequence is the opening and closing signals of the valves arranged in a preset order according to the valve information. The opening and closing information may be represented by an opening and closing signal. The opening and closing signal can be 0 or 1, and the opening and closing of the valve is represented by 0 or 1.
手控执行单元173,用于当所述控制方式为所述手控方式时,所述从机端接收所述阀门选择信息及所述阀门的开闭信息,并将所述阀门选择信息及所述阀门的开闭信息解码为相应执行端的阀门进行阀门开关控制的手控控制命令,并将所述手控控制命令实时发送至相应的逻辑控制序列至所述执行。手控控制命令包括:与所述阀门选择信息及所述开闭信息对应的阀门信息及开闭信息。The manual control execution unit 173 is used to receive the valve selection information and the opening and closing information of the valve from the slave terminal when the control mode is the manual control mode, and transfer the valve selection information and the valve opening and closing information The opening and closing information of the valve is decoded into a manual control command for the valve at the corresponding execution end to perform valve switch control, and the manual control command is sent to the corresponding logic control sequence in real time to the execution. The manual control command includes: valve information and opening and closing information corresponding to the valve selection information and the opening and closing information.
执行端用于控制阀门的开启和关闭。在本实施例中,执行端控制执行模块190根据逻辑控制序列来控制逻辑序列中序列上不同位置上的开闭信号来控制相应位置对应的阀门的开启或关闭。The actuator is used to control the opening and closing of the valve. In this embodiment, the execution end control execution module 190 controls the opening and closing signals at different positions in the logic sequence according to the logic control sequence to control the opening or closing of the valve corresponding to the corresponding position.
当所述控制方式为所述自控方式时,从机端可以根据控制信息生成多条自控控制命令。如一条控制信息中至少包括灌溉时间及结束时间两个设定时间点,将生成至少两条自控控制命令。其中,一条自控控制命令对应灌溉时间及该时刻需要开启或关闭的阀门信息及开闭信息;另一条自控控制命令对应结束时间及该时刻需要开启或关闭的阀门信息及开闭信息。When the control mode is the self-control mode, the slave terminal may generate multiple self-control commands according to the control information. If one piece of control information includes at least two set time points of irrigation time and end time, at least two self-control commands will be generated. Among them, one self-control command corresponds to the irrigation time and the valve information that needs to be opened or closed at this time and the opening and closing information; the other self-control control command corresponds to the end time and the valve information that needs to be opened or closed at this time and the opening and closing information.
进一步地,控制信息还可以包括灌溉周期,如此,一条控制信息将对应多条自控控制命令,在每一个灌溉周期中的灌溉时间及结束时间都将生成一条对应的自控控制命令,达到周期性灌溉的效果。Further, the control information can also include the irrigation cycle, so that one piece of control information will correspond to multiple self-control control commands, and a corresponding self-control control command will be generated for the irrigation time and end time in each irrigation cycle to achieve periodic irrigation. Effect.
在必要时,还可以通过手控UI界面根据控制信息生成手控控制命令,从而控制阀门的开闭,以控制灌溉。When necessary, a manual control command can also be generated according to the control information through the manual UI interface, so as to control the opening and closing of the valve to control irrigation.
请参阅图4,在其中一个实施例中,还包括:Referring to Figure 4, in one of the embodiments, it also includes:
合法判断模块110,用于所述主机端获取账号信息,并对所述账号信息进行合法性判断,直至判断所述账号信息合法。The legitimacy judgment module 110 is used for the host to acquire account information, and judge the legitimacy of the account information until it is judged that the account information is legal.
如此,可以在一定程度上保证增加控制信息的用于为合法用户,提高基于UI界面的水肥一体化智能灌溉控制系统的安全性高。In this way, it can be guaranteed to a certain extent that the use of increased control information is for legitimate users, and the security of the integrated water and fertilizer intelligent irrigation control system based on the UI interface is improved.
在其中一个实施例中,还包括:In one of the embodiments, it also includes:
权限控制模块120,用于所述主机端获取当前时间,并根据所述账号信息获取账号等级信息,根据所述当前时间及所述账号等级信息确定所述账号信息相应的权限。The authority control module 120 is used for the host end to obtain the current time, obtain account level information according to the account information, and determine the corresponding authority of the account information according to the current time and the account level information.
具体地,账号等级信息包括:用户有权限可控制的阀门及有权限可控制的时间。如此,可以进一步提高基于UI界面的水肥一体化智能灌溉控制系统的安全性。Specifically, the account level information includes: the valve that the user has the authority to control and the time that the user has the authority to control. In this way, the security of the integrated water and fertilizer intelligent irrigation control system based on the UI interface can be further improved.
进一步地,所述界面加载模块130,还用于所述主机端获取所述账号信息相应的权限以及控制方式信息,并根据所述账号信息相应的权限和所述控制方式信息加载相应的自动UI界面或者手控UI界面。Further, the interface loading module 130 is also used for the host to obtain the corresponding authority and control mode information of the account information, and load the corresponding automatic UI according to the corresponding authority of the account information and the control mode information. interface or manual UI interface.
需要说明的是,权限不同,界面上显示的可被控制的对象不同。如,不同权限的用户可控制的阀门不同,从而手控UI界面中显示的阀门不同。It should be noted that different permissions mean different objects displayed on the interface that can be controlled. For example, users with different permissions can control different valves, so the valves displayed on the manual control UI interface are different.
以上实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出多个变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above examples only express several implementations of the present invention, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present invention. It should be noted that, for those skilled in the art, many modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610133037.0A CN105652903B (en) | 2016-03-09 | 2016-03-09 | UI interface-based intelligent irrigation control method and system for water and fertilizer integration |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610133037.0A CN105652903B (en) | 2016-03-09 | 2016-03-09 | UI interface-based intelligent irrigation control method and system for water and fertilizer integration |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105652903A true CN105652903A (en) | 2016-06-08 |
| CN105652903B CN105652903B (en) | 2019-03-12 |
Family
ID=56492257
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610133037.0A Active CN105652903B (en) | 2016-03-09 | 2016-03-09 | UI interface-based intelligent irrigation control method and system for water and fertilizer integration |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105652903B (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201919444U (en) * | 2011-02-19 | 2011-08-10 | 新疆水利水电科学研究院 | Irrigation automation control system |
| CN102499028A (en) * | 2011-11-10 | 2012-06-20 | 深圳市赛瑞景观工程设计有限公司 | Wireless intelligent irrigation system |
| CN202819188U (en) * | 2012-10-16 | 2013-03-27 | 武汉市农业机械化科学研究所 | Agricultural irrigation device based on programmable logic controller (PLC) and human machine interface (HMI) technology |
| CN103955175A (en) * | 2014-04-01 | 2014-07-30 | 北京农业信息技术研究中心 | Customizable water-saving irrigation Internet of Things system and realization method |
| CN204498996U (en) * | 2015-03-26 | 2015-07-29 | 王兴华 | A kind of afforestation design band automatic irrigation system controlled based on environmental feedback |
| CN105123448A (en) * | 2015-09-02 | 2015-12-09 | 天津科技大学 | Wireless irrigation automatic control system and method with electric butterfly valve |
| CN105353748A (en) * | 2015-12-02 | 2016-02-24 | 新疆水利水电科学研究院 | Water-saving irrigation automatic control system based on Internet and using method thereof |
-
2016
- 2016-03-09 CN CN201610133037.0A patent/CN105652903B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201919444U (en) * | 2011-02-19 | 2011-08-10 | 新疆水利水电科学研究院 | Irrigation automation control system |
| CN102499028A (en) * | 2011-11-10 | 2012-06-20 | 深圳市赛瑞景观工程设计有限公司 | Wireless intelligent irrigation system |
| CN202819188U (en) * | 2012-10-16 | 2013-03-27 | 武汉市农业机械化科学研究所 | Agricultural irrigation device based on programmable logic controller (PLC) and human machine interface (HMI) technology |
| CN103955175A (en) * | 2014-04-01 | 2014-07-30 | 北京农业信息技术研究中心 | Customizable water-saving irrigation Internet of Things system and realization method |
| CN204498996U (en) * | 2015-03-26 | 2015-07-29 | 王兴华 | A kind of afforestation design band automatic irrigation system controlled based on environmental feedback |
| CN105123448A (en) * | 2015-09-02 | 2015-12-09 | 天津科技大学 | Wireless irrigation automatic control system and method with electric butterfly valve |
| CN105353748A (en) * | 2015-12-02 | 2016-02-24 | 新疆水利水电科学研究院 | Water-saving irrigation automatic control system based on Internet and using method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105652903B (en) | 2019-03-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3098526B1 (en) | Customized control method and system for air conditioner operation mode | |
| EP4328739A3 (en) | Control flow in blockchain scripts | |
| CN106648297A (en) | Intelligent device control method and device based on VR device | |
| CN105302364B (en) | It is remotely controlled the method and system of Android device | |
| CN104749996A (en) | Remote control method of ZigBee remote controller | |
| WO2018018843A1 (en) | Method and system for expanding screen interface | |
| CN109298643A (en) | Equipment control method and device, intelligent household unit and storage medium | |
| CN109163423A (en) | Control method, controller and the readable storage medium storing program for executing of intelligent fresh air system | |
| AU2001269860A1 (en) | Method and apparatus for graphical device management using a virtual console | |
| CN114690698A (en) | Object interconnection method and electronic equipment | |
| CN104935631A (en) | Wi-Fi network mapping remote control technology | |
| CN110572304B (en) | Equipment permission transfer method and device, storage medium and electronic equipment | |
| CN105652903A (en) | Water and fertilizer integrated intelligent irrigation control method and system based on UIs | |
| CN103037092A (en) | Design method for remotely controlling household appliances through smart phone | |
| CN106304319A (en) | Control household electrical appliance and add the method for wireless network, system and household electrical appliance | |
| CN106330530A (en) | Visual parameter configuration method | |
| CN109117080A (en) | The control function selection method and device of key | |
| CN102799364A (en) | Terminal and terminal controlling method | |
| CN105677154A (en) | System and method for controlling other intelligent devices on basis of mobile phone screen locking | |
| CN103619010A (en) | Wireless reset equipment and reset method | |
| CN204065779U (en) | A Remote Online Data Update System of Soft PLC Module | |
| CN105786380A (en) | Method and device for operating technical parameter adjustment of intelligent television through orientation gestures | |
| CN201160292Y (en) | Infrared clone apparatus for TV set EEPROM data | |
| CN105094722A (en) | Control method and control device thereof for supporting attribute display of multi-screen system | |
| TWI635721B (en) | Home appliance system with script function and control method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20190605 Address after: 510000 Floor 1-3, No. 20 Jinying Road, Tianhe District, Guangzhou City, Guangdong Province (Locations 101, 104) Patentee after: Guangzhou Agricultural Finance University Data Technology Co.,Ltd. Address before: 518057 7th and 8th Floors, No. 10 Yuexing Second Road, Nanshan High-tech Park, Shenzhen, Guangdong Province Patentee before: SHENZHEN BATIAN ECOTYPIC ENGINEERING Co.,Ltd. |
|
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20210422 Address after: 31st and 30th Floors, United Headquarters Building, 63 Xuefu Road, Nanshan High-tech Park, Shenzhen, Guangdong 518000 Patentee after: SHENZHEN BATIAN ECOTYPIC ENGINEERING Co.,Ltd. Address before: 510000 Floor 1-3, No. 20 Jinying Road, Tianhe District, Guangzhou City, Guangdong Province (Locations 101, 104) Patentee before: Guangzhou Agricultural Finance University Data Technology Co.,Ltd. |
|
| TR01 | Transfer of patent right | ||
| EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20160608 Assignee: GUIGANG BATIAN ECOLOGY Co.,Ltd. Assignor: SHENZHEN BATIAN ECOTYPIC ENGINEERING Co.,Ltd. Contract record no.: X2025980015918 Denomination of invention: A smart irrigation control method and system based on the UI interface Granted publication date: 20190312 License type: Common License Record date: 20250731 |
|
| EE01 | Entry into force of recordation of patent licensing contract |