Detailed description of the invention
For the ease of understanding the present invention, below with reference to relevant drawings, the present invention is described more fully. Accompanying drawing gives the preferred embodiment of the present invention. But, the present invention can realize in many different forms, however it is not limited to embodiment described herein. On the contrary, the purpose providing these embodiments is to make the understanding to the disclosure more thorough comprehensively.
Unless otherwise defined, all of technology used herein is identical with the implication that the those skilled in the art belonging to the present invention are generally understood that with scientific terminology. The term used in the description of the invention herein is intended merely to the purpose describing specific embodiment, it is not intended that in the restriction present invention. Term as used herein " or/and " include the arbitrary and all of combination of one or more relevant Listed Items.
As it is shown in figure 1, be the water-fertilizer integrated intelligent control method of irrigation based on UI interface of one embodiment of the present invention, including step:
S130, host side obtains control mode information, and loads corresponding automatic control UI interface or manual UI interface according to described control mode information.
Host side is main control end, it is possible to realize increasing, revising or delete the control information to actuating station in host side.
Control mode information can be character information.Control mode information can also be the coordinate information of click, determines control mode according to the coordinate information of click, and loads UI interface corresponding with control mode. Specifically, carry out contrasting the control mode determining that user selects according to the coordinate information of click and preset coordinate information.
In the present embodiment, control mode includes autocontrol mode and manual method, and its UI interface corresponding respectively is automatic control UI interface and manual UI interface.
S150, described host side obtains control information by automatic control UI interface or described manual UI interface, and described control information is sent extremely from machine end.
User inputs control information in UI interface, and host side obtains this control information, and sends control information to from machine end.
Specifically, host side and be provided with radio-frequency module from machine end. Host side sends control information to from machine end by radio-frequency module; Control information is received by radio-frequency module from machine end.
The control information obtained by described automatic control UI interface is included: valve information, irrigation time and end time; The control information obtained by described manual UI interface is included: valve selects the opening and closing information of information and described valve.
Valve selects the information (valve information) that information can be the corresponding valve shown of coordinate of click, it is also possible to for the valve information being manually entered.
In order to facilitate the open and-shut mode of valve that user understands, described manual UI interface also includes the display information of the current open and-shut mode of described valve. Specifically, display information can be that the different colours of valve shows.
S170, described from the machine termination described control information of receipts, and control being turned on and off of actuating station respective valves according to described control information, to control described actuating station duty.
So, beginning or the end irrigated are controlled.
The above-mentioned water-fertilizer integrated intelligent control method of irrigation based on UI interface, host side obtains control mode information, and loads corresponding automatic control UI interface or manual UI interface according to described control mode information; Described host side obtains control information by automatic control UI interface or described manual UI interface, and described control information is sent extremely from machine end; The control information obtained by described automatic control UI interface is included: valve information, irrigation time and end time; The control information obtained by described manual UI interface is included: valve selects the opening and closing information of information and described valve; Described from the machine termination described control information of receipts, and control being turned on and off of actuating station respective valves according to described control information, to control described actuating station duty. Owing to control information is obtained by UI interface, therefore the above-mentioned water-fertilizer integrated intelligent control method of irrigation visualization based on UI interface is high.
Wherein in an embodiment, step S170 includes S171 and S173.
S171: when described control mode is described autocontrol mode, described from the machine termination described valve information of receipts, irrigation time and end time, and described valve information, irrigation time and end time are decoded as the valve to corresponding actuating station carry out the automatic control control command of valve switch control, and send corresponding logic control sequence to described actuating station according to described automatic control control command in the time of setting.
Wherein, automatic control control command includes the valve information corresponding with described valve information and irrigation time or end time, opening and closing information and setting time. Valve information includes valve and uniquely identifies, and this uniquely identifies can be title or numbering etc.
Logic control sequence is the opening and closing signal of the valve arranged according to preset order according to valve information.Opening and closing information can be represented by opening and closing signal. Opening and closing signal can be 0 or 1, is represented the opening and closing of valve by 0 or 1.
S173, when described control mode is described manual method, the described opening and closing information receiving described valve selection information and described valve from machine termination, and described valve selects the valve that the opening and closing information of information and described valve is decoded as corresponding actuating station carry out the manual control command of valve switch control, and described manual control command is sent in real time to corresponding logic control sequence extremely described actuating station. Wherein, manual control command includes: the valve information corresponding with described valve selection information and described opening and closing information and opening and closing information.
Actuating station is for controlling the opening and closing of valve. In the present embodiment, actuating station controls in logic sequence the opening and closing signal on diverse location in sequence according to logic control sequence and controls being turned on and off of valve corresponding to relevant position.
When described control mode is described autocontrol mode, a plurality of automatic control control command can be generated according to the information of control from machine end. In a control information, at least include irrigation time and the end time two sets time point, at least two automatic control control commands will be generated. Wherein, an automatic control control command correspondence irrigation time and this moment need the valve information and the opening and closing information that are turned on and off; Another automatic control control command correspondence end time and this moment need the valve information and the opening and closing information that are turned on and off.
Further, control information can also include the watering period, and so, one controls information by corresponding a plurality of automatic control control command, irrigation time and end time in each watering period will generate a corresponding automatic control control command, reach the effect periodically irrigated.
When necessary, it is also possible to generate manual control command by manual UI interface according to the information of control, thus controlling the opening and closing of valve, to control to irrigate.
Refer to Fig. 2, wherein in an embodiment, before step S130, further comprise the steps of:
S110, host side obtains account information, and described account information is carried out validity judgement, until judging that described account information is legal.
So, it is possible to ensure to a certain extent to increase control information for for validated user, the safety improving the water-fertilizer integrated intelligent control method of irrigation based on UI interface is high.
Wherein in an embodiment, before step S130, after step S110, further comprise the steps of:
S120, host side obtains current time, and obtains account class information according to described account information, determines the open corresponding authority of described account information according to described current time and described account class information.
Specifically, account class information includes: user has permission controllable valve and has permission the controllable time. So, it is possible to improve the safety of the water-fertilizer integrated intelligent control method of irrigation based on UI interface further.
Further, step S130 particularly as follows:
Described host side obtains the corresponding authority of described account information and control mode information, and loads corresponding UI interface automatically or manual UI interface according to the corresponding authority of described account information and described control mode information.
It should be noted that authority is different, on interface, display can controlled object difference. As, the controllable valve of user of different rights is different, thus the valve of display is different in manual UI interface.
As it is shown on figure 3, be the water-fertilizer integrated intelligent irrigation control system based on UI interface of one embodiment of the present invention, including:
Interface load-on module 130, obtains control mode information for host side, and loads corresponding automatic control UI interface or manual UI interface according to described control mode information.
Host side is main control end, it is possible to realize increasing, revising or delete the control information to actuating station in host side.
Control mode information can be character information. Control mode information can also be the coordinate information of click, determines control mode according to the coordinate information of click, and loads UI interface corresponding with control mode. Specifically, carry out contrasting the control mode determining that user selects according to the coordinate information of click and preset coordinate information.
In the present embodiment, control mode includes autocontrol mode and manual method, and it distinguishes corresponding respectively automatic control UI interface, UI interface and manual UI interface.
Data obtaining module 150, obtains control information for described host side by automatic control UI interface or described manual UI interface, and described control information is sent extremely from machine end.
User inputs control information in UI interface, and host side obtains this control information, and sends control information to from machine end.
Specifically, host side and be provided with radio-frequency module from machine end. Host side sends control information to from machine end by radio-frequency module; Control information is received by radio-frequency module from machine end.
The control information obtained by described automatic control UI interface is included: valve information, irrigation time and end time; The control information obtained by described manual UI interface is included: valve selects the opening and closing information of information and described valve. Valve selects the information (valve information) that information can be the corresponding valve shown of coordinate of click, it is also possible to for the valve information being manually entered.
In order to facilitate the open and-shut mode of valve that user understands, described manual UI interface also includes the display information of the current open and-shut mode of described valve. Specifically, display information can be that the different colours of valve shows.
Control to perform module 170, described from the machine termination described control information of receipts, and control being turned on and off of actuating station respective valves according to described control information, to control described actuating station duty.
So, beginning or the end irrigated are controlled.
The above-mentioned water-fertilizer integrated intelligent irrigation control system based on UI interface, interface load-on module, obtain control mode information for host side, and load corresponding automatic control UI interface or manual UI interface according to described control mode information; Data obtaining module, obtains control information for described host side by described automatic control UI interface or described manual UI interface, and described control information is sent extremely from machine end; The control information obtained by described automatic control UI interface is included: valve information, irrigation time and end time; The control information obtained by described manual UI interface is included: valve selects the opening and closing information of information and described valve; Control to perform module, receive described control information for described from machine termination, and control being turned on and off of actuating station respective valves according to described control information, to control described actuating station duty. Owing to control information is obtained by UI interface, therefore the above-mentioned water-fertilizer integrated intelligent irrigation control system visualization based on UI interface is high.
Wherein in an embodiment, control to perform module 170 and include self-control implementation unit 171 and manual performance element 173.
Self-control implementation unit 171, for when described control mode is described autocontrol mode, described from the machine termination described valve information of receipts, irrigation time and end time, and described valve information, irrigation time and end time are decoded as the valve to corresponding actuating station carry out the automatic control control command of valve switch control, and send corresponding logic control sequence to described actuating station according to described automatic control control command in the time of setting.
Wherein, automatic control control command includes corresponding with described valve information and irrigation time or end time at least including valve information, opening and closing information and setting time. Valve information includes valve and uniquely identifies, and this uniquely identifies can be title or numbering etc.
Logic control sequence is the opening and closing signal of the valve arranged according to preset order according to valve information. Opening and closing information can be represented by opening and closing signal. Opening and closing signal can be 0 or 1, is represented the opening and closing of valve by 0 or 1.
Manual performance element 173, for when described control mode is described manual method, the described opening and closing information receiving described valve selection information and described valve from machine termination, and described valve selects the valve that the opening and closing information of information and described valve is decoded as corresponding actuating station carry out the manual control command of valve switch control, and described manual control command is sent in real time to the extremely described execution of corresponding logic control sequence. Manual control command includes: the valve information corresponding with described valve selection information and described opening and closing information and opening and closing information.
Actuating station is for controlling the opening and closing of valve. In the present embodiment, actuating station controls to perform module 190 and controls in logic sequence the opening and closing signal on diverse location in sequence according to logic control sequence and control being turned on and off of valve corresponding to relevant position.
When described control mode is described autocontrol mode, a plurality of automatic control control command can be generated according to the information of control from machine end. In a control information, at least include irrigation time and the end time two sets time point, at least two automatic control control commands will be generated. Wherein, an automatic control control command correspondence irrigation time and this moment need the valve information and the opening and closing information that are turned on and off; Another automatic control control command correspondence end time and this moment need the valve information and the opening and closing information that are turned on and off.
Further, control information can also include the watering period, and so, one controls information by corresponding a plurality of automatic control control command, irrigation time and end time in each watering period will generate a corresponding automatic control control command, reach the effect periodically irrigated.
When necessary, it is also possible to generate manual control command by manual UI interface according to the information of control, thus controlling the opening and closing of valve, to control to irrigate.
Refer to Fig. 4, wherein in an embodiment, also include:
Legal judge module 110, obtains account information for described host side, and described account information is carried out validity judgement, until judging that described account information is legal.
So, it is possible to ensure to a certain extent to increase control information for for validated user, the safety improving the water-fertilizer integrated intelligent irrigation control system based on UI interface is high.
Wherein in an embodiment, also include:
Control of authority module 120, obtains current time for described host side, and obtains account class information according to described account information, determine the corresponding authority of described account information according to described current time and described account class information.
Specifically, account class information includes: user has permission controllable valve and has permission the controllable time. So, it is possible to improve the safety of the water-fertilizer integrated intelligent irrigation control system based on UI interface further.
Further, described interface load-on module 130, it is additionally operable to described host side and obtains the corresponding authority of described account information and control mode information, and load corresponding UI interface automatically or manual UI interface according to the corresponding authority of described account information and described control mode information.
It should be noted that authority is different, on interface, display can controlled object difference. As, the controllable valve of user of different rights is different, thus the valve of display is different in manual UI interface.
Above example only have expressed the several embodiments of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention. It should be pointed out that, for the person of ordinary skill of the art, without departing from the inventive concept of the premise, it is also possible to making multiple deformation and improvement, these broadly fall into protection scope of the present invention. Therefore, the protection domain of patent of the present invention should be as the criterion with claims.