CN112700204A - Workflow generation method and device in agricultural control system - Google Patents

Workflow generation method and device in agricultural control system Download PDF

Info

Publication number
CN112700204A
CN112700204A CN201911012427.2A CN201911012427A CN112700204A CN 112700204 A CN112700204 A CN 112700204A CN 201911012427 A CN201911012427 A CN 201911012427A CN 112700204 A CN112700204 A CN 112700204A
Authority
CN
China
Prior art keywords
equipment
workflow
target system
model
determining
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.)
Pending
Application number
CN201911012427.2A
Other languages
Chinese (zh)
Inventor
林晓瑗
陈家翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xaircraft Technology Co Ltd
Original Assignee
Guangzhou Xaircraft Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Xaircraft Technology Co Ltd filed Critical Guangzhou Xaircraft Technology Co Ltd
Priority to CN201911012427.2A priority Critical patent/CN112700204A/en
Publication of CN112700204A publication Critical patent/CN112700204A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Forestry; Mining

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Animal Husbandry (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Agronomy & Crop Science (AREA)
  • Quality & Reliability (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Mining & Mineral Resources (AREA)
  • Operations Research (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a workflow generation method and a workflow generation device in an agricultural control system, wherein the method comprises the following steps: acquiring a workflow generation request, wherein the request comprises a target system identifier; displaying an editing panel corresponding to the target system identifier in a user interface according to a preset system identifier and an equipment mapping table, wherein the editing panel comprises the equipment identifier corresponding to the target system identifier; sequentially displaying an equipment model corresponding to the equipment in each adding instruction in a working area of the editing panel according to each equipment adding instruction which is sequentially acquired; determining the incidence relation among the devices according to the acquired starting and stopping point positions of the connection operations and the display positions of the device models; and generating a workflow corresponding to the target system according to the association relationship among the devices. The method can generate the workflow corresponding to the target system, so that the target system is intelligently controlled according to the generated workflow, the stability is high, the control is accurate, and the labor cost is greatly reduced.

Description

Workflow generation method and device in agricultural control system
Technical Field
The application relates to the technical field of agricultural control, in particular to a workflow generation method and device in an agricultural control system.
Background
For controlling systems such as farms, greenhouses and the like, manual methods are generally adopted, and manual experience is relied on to control environmental conditions in the farms or greenhouses, for example, when it is manually determined that soil is dry, a water spray device is manually opened to carry out watering and irrigation.
In the related art, the manual control method is easy to cause the environmental conditions in the whole farm or greenhouse to change greatly and unstably, so that the growth standard required by crops cannot be effectively met, the labor cost is high, and the requirement of high intelligence of farm management cannot be met.
Disclosure of Invention
The application provides a workflow generation method and a workflow generation device in an agricultural control system, which are used for solving the problems that in the related technology, a method for manually controlling a farm has poor stability and accuracy and high labor cost, and can not meet the requirement of high intelligence of farm management.
An embodiment of one aspect of the application provides a workflow generation method in an agricultural control system, which includes:
acquiring a workflow generation request, wherein the request comprises a target system identifier;
displaying an editing panel corresponding to the target system identifier in a user interface according to a preset system identifier and an equipment mapping table, wherein the editing panel comprises an equipment identifier corresponding to the target system identifier;
sequentially displaying an equipment model corresponding to the equipment in each adding instruction in a working area of the editing panel according to each equipment adding instruction which is sequentially acquired;
determining the incidence relation among the devices according to the acquired starting and stopping point positions of the connection operations and the display positions of the device models;
and generating a workflow corresponding to the target system according to the association relationship among the devices.
According to the workflow generation method in the agricultural control system, a workflow generation request is obtained, an editing panel corresponding to a target system identification is displayed in a user interface according to a preset system identification and an equipment mapping table, the editing panel comprises an equipment identification corresponding to the target system identification, equipment models corresponding to equipment in each adding instruction are sequentially displayed in a working area of the editing panel according to each equipment adding instruction which is sequentially obtained, an incidence relation among the equipment is determined according to the obtained starting and ending point positions of each connecting operation and the display position of each equipment model, and finally the workflow corresponding to the target system is generated according to the incidence relation among the equipment. Therefore, the target system is intelligently controlled through the generated workflow, so that the stability is high, the control is accurate, and the labor cost is greatly reduced.
An embodiment of another aspect of the present application provides a workflow generation apparatus in an agricultural control system, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a workflow generation request, and the request comprises a target system identifier;
the first display module is used for displaying an editing panel corresponding to the target system identifier in a user interface according to a preset system identifier and equipment mapping table, wherein the editing panel comprises the equipment identifier corresponding to the target system identifier;
the second display module is used for sequentially displaying the equipment model corresponding to the equipment in each adding instruction in the working area of the editing panel according to each equipment adding instruction which is sequentially acquired;
the first determining module is used for determining the incidence relation among the devices according to the acquired starting and ending point positions of the connecting operations and the display positions of the device models;
and the generating module is used for generating the workflow corresponding to the target system according to the incidence relation among the devices.
The workflow generation device in the agricultural control system according to the embodiment of the application displays an editing panel corresponding to a target system identifier in a user interface according to a preset system identifier and device mapping table by obtaining a workflow generation request, wherein the editing panel includes a device identifier corresponding to the target system identifier, sequentially displays device models corresponding to devices in each adding instruction in a working area of the editing panel according to each device adding instruction sequentially obtained, determines an incidence relation among the devices according to the obtained starting and ending point positions of each connecting operation and the display positions of the device models, and generates a workflow corresponding to the target system according to the incidence relation among the devices. Therefore, the target system is intelligently controlled through the generated workflow, the stability is high, the control is accurate and intelligent, and the labor cost is greatly reduced.
An embodiment of another aspect of the present application provides a computer device, including: a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the workflow generation method in the agricultural control system according to an embodiment of the above aspect.
Another embodiment of the present application provides a non-transitory computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements a workflow generation method in an agricultural control system as described in an embodiment of the above-mentioned aspect.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a workflow generation method in an agricultural control system according to an embodiment of the present disclosure;
fig. 2 is a first schematic display diagram of an editing panel according to an embodiment of the present disclosure;
fig. 3 is a second schematic display diagram of an editing panel according to an embodiment of the present disclosure;
fig. 4 is a third schematic display diagram of an editing panel according to an embodiment of the present disclosure;
fig. 5 is a fourth schematic display diagram of an editing panel according to an embodiment of the present disclosure;
fig. 6 is a schematic display diagram of an editing panel according to an embodiment of the present disclosure;
FIG. 7 is a schematic flow chart illustrating another method for generating a workflow in an agricultural control system according to an embodiment of the present disclosure;
fig. 8 is a sixth schematic display view of an editing panel according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a workflow generation device in an agricultural control system according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The workflow generation method and apparatus in the agricultural control system according to the embodiment of the present application are described below with reference to the drawings.
In the related art, the farm is controlled by a manual method, so that the change and fluctuation of the environmental conditions of the farm are large and unstable, the growth standard required by crops cannot be effectively met, the labor cost is high, and the requirement of high intelligence of farm management cannot be met.
The embodiment of the application provides a method for generating workflows in an agricultural control system, which is used for determining the association relationship among all devices according to the acquired starting and ending point positions of all connection operations and the display positions of all device models added in the working area of an editing panel, and generating workflows corresponding to a target system according to the association relationship among all devices so as to realize intelligent control on the target system according to the generated workflows.
Fig. 1 is a schematic flow chart of a workflow generation method in an agricultural control system according to an embodiment of the present application.
The method for generating the workflow in the agricultural control system according to the embodiment of the present application can be executed by a workflow generation device in the agricultural control system according to the embodiment of the present application, and the device can be configured in computer equipment to realize generation of the workflow of the agricultural control system.
As shown in fig. 1, the workflow generation method in the agricultural control system includes:
step 101, a workflow generation request is obtained, wherein the request comprises a target system identification.
In this embodiment, the workflow generation device in the agricultural control system may store a plurality of agricultural system identifiers in advance, and provide a user operation interface. When a user can select a system for generating the workflow on the operation interface and click a button for generating the workflow, the workflow generation device in the agricultural control system can acquire a workflow generation request. And the workflow generation request comprises a target system identifier.
The target system is a system selected by the user to generate the workflow, such as a greenhouse system, a farm, and the like.
And 102, displaying an editing panel corresponding to the target system identifier in a user interface according to the preset system identifier and the equipment mapping table.
In practical applications, each system has a certain device, such as an exhaust fan, a water mist device, and the like, for adjusting environmental conditions in the system, or a device for collecting environmental information, and the like, or has both devices.
In this embodiment, each system identifier and device mapping table may be established and stored. That is, a mapping table between the identification of each system and the devices that the system has is established and stored in advance.
It should be noted that one device id may correspond to multiple system ids, that is, multiple systems may correspond to the same device, and then the same device may appear in the mapping table corresponding to multiple system ids. For example, the system M has a device for acquiring air humidity, and the device identifier for acquiring air humidity that the system M has may also be placed in the mapping table corresponding to the system N.
After the target system identification is obtained, the equipment identification corresponding to the target system identification can be determined by inquiring the system identification and the equipment mapping table, and the editing panel corresponding to the target system identification is displayed in the user interface.
The editing panel comprises an area for displaying the equipment identifier corresponding to the target system identifier, a working area and the like, the working area refers to an area where editing operation can be performed, and if the editing operation is performed on the editing panel before the current editing, the edited panel is displayed. The device identifier may be a device number, a name of the device, or the like, which indicates uniqueness of the device.
As an example, a list of device identifications, each of which is an identification of a device corresponding to the target system, may be displayed in the editing panel. For example, a list of device identifications corresponding to the target system is displayed on the left side of the encoding panel.
For convenience of use by a user, as another example, the device identifications may be classified for display in the editing panel, such as by classifying the device identifications into two types of display, i.e., input device and output device.
Taking the generation of a workflow of a greenhouse irrigation system as an example, fig. 2 is a first display diagram of an editing panel provided in the embodiment of the present application. As shown in fig. 2, two lists are displayed on the left side of the edit panel, one being an input device list and the other being an output device list.
The input device refers to a device that can be used to collect environmental information, such as a device equipped with a sensor; the output device refers to a device which can be used for adjusting the environmental conditions in the system, such as an air draft device, an air draft system, a spraying device and the like.
As shown in fig. 2, the input devices of the greenhouse irrigation system comprise a timer, FM1 and soil devices, and the output devices comprise: air draft equipment, an air draft system, CM-05 and CM-0211.
It should be noted that the same device may be an input device or an output device.
And 103, sequentially displaying the equipment model corresponding to the equipment in each adding instruction in the working area of the editing panel according to each sequentially acquired equipment adding instruction.
In this embodiment, the user may add the device displayed on the user interface to the work area of the editing panel as needed, for example, drag a plurality of devices into the work area in sequence. At this time, the workflow generation device in the agricultural control system may sequentially acquire each device addition instruction. Each device adding instruction may correspond to one added device, that is, each time a device is added to the work area, a corresponding device adding instruction is obtained.
Then, according to each device adding instruction, the device models corresponding to the devices in each adding instruction are sequentially displayed in the working area. For example, the adding sequence of the device is device a, device B, and device C, and then the corresponding device models of device a, device B, and device C are sequentially displayed in the working area.
The device model may be a text identifier, a device icon, a model symbol selected by the user when entering the device, or the like.
And step 104, determining the association relation among the devices according to the acquired starting and ending point positions of the connection operations and the display positions of the device models.
In this embodiment, the association relationship between the devices refers to a relationship of control between the devices.
After the user adds the equipment in the working panel, the connection can be carried out between the equipment models. Such as wiring from device a to device B.
In this embodiment, the same connection line of the device model corresponding to the ending position may be determined according to the starting position of each connection line operation and the display position of each device model, so that the device model at the starting position of the connection line may be determined to correspond to the device model at the ending position, and the association relationship between the devices may be determined by using the device corresponding to the device model at the starting position to control the device corresponding to the device model at the ending position.
For example, the device model c corresponds to the end positions of two connection lines, the device model a and the device model b corresponding to the start positions of the two connection lines correspond to the device model c, and the association relationship between the devices corresponding to the three device models is to control the device corresponding to the device model c according to the devices corresponding to the device model a and the device model b.
And 105, generating a workflow corresponding to the target system according to the association relation among the devices.
After the incidence relation among the devices added in the working panel is determined, the control relation among the devices can be determined according to the incidence relation among the devices, and then the workflow corresponding to the target system is generated according to the control relation. The workflow herein refers to a control flow for adjusting the environmental conditions of the target system.
For example, the device model a and the device model b corresponding to the start position of the two connection lines correspond to the device model c corresponding to the end position of the two connection lines, and information acquired according to the two devices corresponding to the device model a and the device model b can be determined to control the device corresponding to the device model c, so that information acquired according to the two devices corresponding to the device model a and the device model b can be generated to control a workflow of the device corresponding to the device model c.
In specific use, after the user finishes adding the device and finishes connecting, the user can click a generation button on the editing interface, as shown in fig. 2, the user can click an "execute" button at the upper right corner, and at this time, the workflow is generated according to the operation of the user.
According to the workflow generation method in the agricultural control system, the input device of the system can be utilized to control the output device to generate the corresponding workflow so as to adjust the environmental condition of the system, and the environmental condition of another system can be adjusted according to the condition of the system so as to realize cross-regional control, so that the arrangement of the input device can be saved, and the cost is greatly reduced.
For example, the planting area m has a device for collecting air humidity, and the device for collecting air humidity in the planting area m can be added into the mapping list of the planting area n and the device, so that when the workflow of the planting area n is generated, the device for collecting air humidity in the planting area m can be connected with the output device of the planting area n, and thus, the humidity in the planting area n can be controlled according to the climate condition of the planting area m. For example, when the humidity of the planting area m is lower than a preset value, the output device of the planting area n can be controlled to be opened to adjust the humidity.
In the embodiment of the application, the device identification corresponding to the target system identification is displayed in the user interface, the device model corresponding to the device in each adding instruction is sequentially displayed in the working area in the editing panel according to each sequentially acquired device adding instruction, the association relationship among the devices is determined according to the acquired starting and ending point positions of each connecting operation and the display position of each device model, and the workflow corresponding to the target system is generated according to the association relationship among the devices.
In practice, one or more sensors may be installed on some devices to collect environmental information within a greenhouse or farm, etc. To further increase the personalization requirements of the user, the sensor model associated with the device can also be viewed in the work area.
Specifically, after the device model corresponding to the device in each add instruction is sequentially displayed in the work area of the edit panel, when it is determined that the focus is located in the first device model, the sensor models of the first device are displayed at the associated preset positions of the first device model.
The associated preset position may be a right area or a left area of the device model display position, and the displayed sensor model is a sensor model corresponding to the sensor of the device corresponding to the first device model. The sensor model may be a text identifier, a sensor icon, or a model symbol selected by the user when the user enters the sensor.
That is, when a user places a mouse on a device model in a work area, the associated preset position of the device model displays a sensor model corresponding to a sensor of a device corresponding to the device model.
In fig. 2, the sensor variables related to the sensors of the plant corresponding to the plant model are shown on the right side of the plant model, and include: temperature, humidity, pressure, light intensity. That is, the device corresponding to the device model has sensors capable of acquiring temperature, humidity, pressure and light intensity.
In the embodiment of the application, after the device model corresponding to the device in each adding instruction is sequentially displayed in the working area of the editing panel, when it is determined that the focus is located in the first device model, each sensor model in the first device may be displayed at a preset position associated with the first device model, and thus, a user may view the sensor of the device corresponding to the device model.
Furthermore, after the sensor models in the first device are displayed, working parameters of the sensors can be displayed to perform a device interface, so that a user can conveniently perform parameter setting on the sensors.
Specifically, the position of the focus point is monitored, and when the focus point is monitored to be located at the first sensor, a working parameter setting interface corresponding to the first sensor can be displayed in an upper layer of the editing panel. In the working parameter setting interface, a user can set a range of a value of a parameter corresponding to a first sensor required by a target system.
In this embodiment, according to each displayed sensor model of the sensors of the first device model, the user may select a certain sensor model to add the first sensor corresponding to the device. After the sensor model is added, a working parameter setting interface corresponding to the first sensor is displayed on the upper layer of the editing panel, so that a user can set a parameter value range of the first sensor by using the working parameter setting interface.
Fig. 3 is a second schematic display diagram of an editing panel according to an embodiment of the present application. In fig. 3, a humidity setting interface corresponding to the humidity sensor is shown. In the humidity device interface, a user can set a humidity range according to the humidity requirement of the system.
Fig. 4 is a third schematic display diagram of an editing panel according to an embodiment of the present application. If it is desired to turn on the extraction system when the air humidity is greater than 30% and less than 60%, as shown in fig. 3, the ">" symbol may be selected in the selection box and "30" may be entered. Clicking the following "+" sign again, as shown in fig. 4, selects the "<" sign and enters "60". Thus, the humidity range is set to be more than 30% and less than 60%.
It should be noted that, in this embodiment, after all the devices are added, the operating parameters of some devices may be subjected to device installation, or after some devices are added, the operating parameters of the device may be set, and then other devices may be added.
For example, fig. 5 is a fourth schematic display diagram of an editing panel provided in the embodiment of the present application. After the input device FM1 is added, the humidity sensor of FM1 is added and the humidity range is set, as shown in FIGS. 2-3, and then the output device extractor is pulled into the work area, as shown in FIG. 5.
Fig. 6 is a schematic display diagram of an editing panel according to an embodiment of the present application. After the extraction plant is towed into the work area, as shown in fig. 6, the sensor model of the humidity sensor of the input plant FM1 is connected as a starting point and the plant model of the extraction plant is connected as an end point.
In one embodiment of the present application, when determining the association relationship between the devices, the input device and the output device in each device may be determined first, and then the association relationship between the devices may be determined. Fig. 7 is a schematic flow chart of another method for generating a workflow in an agricultural control system according to an embodiment of the present application.
As shown in fig. 7, the determining the association relationship between the devices according to the acquired start and stop point positions of the connection operations and the display positions of the device models includes:
step 201, determining the input device according to the matching degree between the acquired starting point position of the connection operation and the display position of each device model.
When the connection operation is detected, the starting position of the connection operation is obtained, the starting position is compared with the display position of each equipment model in the working area, the matching degree of the starting position and the display position of each equipment model is obtained, and whether the equipment is the input equipment or not is determined according to the matching degree.
In this embodiment, the display position of the device model is an area, and when the starting point position belongs to the area range, it may be determined that the matching degree meets the requirement, and the device corresponding to the device model is an input device. If the starting point position is not in the area range, the matching degree is not satisfied, and the equipment corresponding to the equipment model is not input equipment.
Step 202, determining output equipment according to the matching degree of the acquired termination point position of the connection operation and the display position of each equipment model.
When the connection operation is detected, the termination point position of the connection operation is obtained, the termination point position is compared with the display position of each equipment model in the working area, the matching degree of the termination point position and the display position of each equipment model is obtained, and whether the equipment is output equipment or not is determined according to the matching degree.
In this embodiment, the display position of the device model is an area, and when the end point position belongs to the area range, it may be determined that the matching degree meets the requirement, and the device corresponding to the device model is an output device. If the starting point position is not in the area range, the matching degree is not satisfied, and the equipment corresponding to the equipment model is not output equipment.
And step 203, determining the association relationship among the devices according to the connection relationship among the devices and the corresponding input and output types of the devices.
According to the steps 201 to 202, the devices corresponding to the device models are classified, and the input device and the output device are determined. After the input device and the output device are determined, the input device corresponding to each output device can be determined according to the connection relationship between the devices and the input and output types of the devices, that is, the output device can be controlled according to the information collected by which input devices.
In practice, if different sensors are required to control the same result, another sensor or sensors may be conditionally connected to the output device.
Fig. 8 is a sixth schematic display diagram of an editing panel according to an embodiment of the present application. For example, if a soil moisture control fog apparatus is required in addition to the air moisture control fog apparatus, then the soil apparatus with the soil moisture sensor may be towed into a work panel and set to less than 50% of the soil moisture after connecting the moisture sensor of input FM1 to the fog apparatus.
Then, the sensor model of the soil humidity sensor of the soil equipment is connected with the equipment model of the water mist equipment, as shown in fig. 8, the setting interface of the water mist equipment displays that the humidity range is greater than 30% and the soil humidity range is less than 50%.
Therefore, in this embodiment, the same input device may correspond to a plurality of output devices, and the same output device may also correspond to a plurality of input devices.
It should be noted that the same device is an input device in one workflow, and may be an output device in other workflows, that is, the same device may be used as an input device or an output device.
In the embodiment of the application, the input and output types of the equipment are determined according to the matching degree of the starting point position and the end point position of the connection operation and the display position of each equipment model, and then the incidence relation between the equipment is determined according to the connection relation between the equipment and the input and output types of the equipment, so that the workflow corresponding to the target system is generated according to the incidence relation between the equipment, the output equipment is accurately controlled according to the information collected by the input equipment, the control stability is improved, and the labor cost is saved.
If the working parameters of the input device are set, such as setting a humidity range, a temperature range, etc., further, after the output device is determined, the working parameters of the input device can be displayed in a setting interface of the output device connected with the input device. And the setting interface of the output equipment comprises a display area of the working parameters.
As shown in fig. 6, the air draft device is an output device, and the humidity of the input device is greater than 30%, and then the humidity is displayed in the setting interface of the air draft device to be greater than 30%.
Further, in the setting interface of the output device, the following may be further included: and controlling keys of working parameters. And controlling the control conditions of the output equipment according to the opening or closing of the control key. Therefore, diversified control requirements are further provided for users.
For example, in fig. 6, the button on the right side of the humidity parameter is in the off state, that is, the humidity parameter will not be used as the control condition of the air pumping device. If the button is opened, the button is in an open state, then the humidity parameter is used as the control condition of the air extracting device, and the air extracting device is opened or closed according to the humidity requirement.
In fig. 8, the humidity sensor of the input device FM1 and the soil humidity sensor of the soil device are both connected to the output device water mist device, the set air humidity range and the set soil humidity range can be displayed simultaneously on the setting interface of the water mist device, and whether the control conditions are simultaneously used as the air extracting device or not can be determined through the corresponding control buttons. In fig. 8, the button corresponding to the humidity of more than 30% is in the on state, and the button corresponding to the soil humidity range is in the off state, so that the water mist device is turned on only when the humidity is more than 30%. If the two control conditions are simultaneously opened, when the humidity is more than 30% and the soil humidity is less than 50%, the water mist equipment is controlled to be opened.
In the embodiment of the application, after the output device is determined, the working parameters of the input device connected with the output device are displayed in the setting interface of the output device, so that a user can conveniently know the control conditions of the output device.
In an embodiment of the present application, each device model may include an input interface and/or an output interface, and after determining an input device according to a matching degree between a starting position of a connection operation and a display position of each device model, a connection line may be added at an output port of the device, and accordingly, after determining an output device, a connection line may be added at an input interface of the output device. Thereby, the input device and the output device are connected by the connection line.
Because the crops planted in the system are different in different seasons and different time periods, the generation conditions are different, and the requirements on the environmental conditions are different. Based on this, in order to further improve the intelligence and accuracy of control, the user can also set effective time for the workflow.
In this embodiment, after the user selects the target system, the user may further input a start time and an end time for controlling the target system, and then, after the workflow generation device in the agricultural control system obtains the request for generating the workflow, the effective time of the workflow corresponding to the target system may be determined according to the obtained time configuration instruction.
Specifically, the start time and the end time may be extracted from the time configuration instruction, and then a time period between the start time and the end time is an effective time of the workflow, and the target system is controlled according to the workflow in the effective time.
As an example, the workflow generation device in the agricultural control system further comprises a time configuration part in the selection interface comprising the target system. Then, the user can configure the effective time of the workflow when the target system is selected to request the generation of the workflow.
As another example, after generating a workflow, the workflow generation apparatus in the agricultural control system pops up a time configuration window of the workflow, and then the user can configure the effective time after generating the workflow.
In the embodiment of the application, after the generation request of the workflow is acquired, the effective time of the workflow corresponding to the target system can be determined according to the acquired time configuration instruction, so that the target system can be controlled according to the workflow in the effective time, and the intelligence and the accuracy of the control are improved.
In order to realize the above embodiments, the embodiments of the present application further provide a workflow generation device in an agricultural control system. Fig. 9 is a schematic structural diagram of a workflow generation device in an agricultural control system according to an embodiment of the present application.
As shown in fig. 9, the workflow generation device in the agricultural control system includes: the display device comprises an acquisition module 310, a first display module 320, a second display module 330, a first determination module 340 and a generation module 350.
An obtaining module 310, configured to obtain a workflow generation request, where the request includes a target system identifier;
a first display module 320, configured to display, in a user interface, an editing panel corresponding to a target system identifier according to a preset system identifier and an apparatus mapping table, where the editing panel includes an apparatus identifier corresponding to the target system identifier;
the second display module 330 is configured to sequentially display, in the working area of the editing panel, an equipment model corresponding to the equipment in each adding instruction according to each sequentially acquired equipment adding instruction;
a first determining module 340, configured to determine an association relationship between the devices according to the obtained start-stop point positions of the connection operations and the display positions of the device models;
and a generating module 350, configured to generate a workflow corresponding to the target system according to the association relationship between the devices.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include:
and the third display module is used for displaying each sensor model in the first equipment at a preset position associated with the first equipment model when the focus is determined to be positioned in the first equipment model.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include:
and the fourth display module is used for displaying a working parameter setting interface corresponding to the first sensor on the upper layer of the editing panel when the focus is monitored to be positioned on the first sensor.
In a possible implementation manner of the embodiment of the present application, the first determining module 340 is specifically configured to:
determining input equipment according to the matching degree of the acquired starting position of the line connecting operation and the display position of each equipment model;
determining output equipment according to the matching degree of the acquired termination point position of the connection operation and the display position of each equipment model;
and determining the association relationship among the devices according to the connection relationship among the devices and the corresponding input and output types of the devices.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include:
and the fifth display module is used for displaying the working parameters of the input equipment connected with the output equipment in a setting interface of the output equipment.
In a possible implementation manner of the embodiment of the present application, each device model includes an input interface and/or an output interface; the device also includes:
and the adding module is used for adding a connecting line at an output interface of the input equipment.
In a possible implementation manner of the embodiment of the present application, the apparatus may further include:
and the second determining module is used for determining the effective time of the workflow corresponding to the target system according to the acquired time configuration instruction.
It should be noted that the foregoing explanation of the embodiment of the method for generating a workflow in an agricultural control system is also applicable to the device for generating a workflow in an agricultural control system of this embodiment, and therefore will not be described herein again.
The workflow generation device in the agricultural control system according to the embodiment of the application displays an editing panel corresponding to a target system identifier in a user interface according to a preset system identifier and device mapping table by obtaining a workflow generation request, wherein the editing panel includes a device identifier corresponding to the target system identifier, sequentially displays device models corresponding to devices in each adding instruction in a working area of the editing panel according to each device adding instruction sequentially obtained, determines an incidence relation among the devices according to the obtained starting and ending point positions of each connecting operation and the display positions of the device models, and generates a workflow corresponding to the target system according to the incidence relation among the devices. Therefore, the target system is intelligently controlled through the generated workflow, so that the stability is high, the control is accurate, and the labor cost is greatly reduced.
In order to implement the foregoing embodiment, an embodiment of the present application further provides a computer device, including: comprises a processor and a memory;
the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to realize the workflow generation method in the agricultural control system according to the embodiment.
In order to achieve the above embodiments, the present application further proposes a non-transitory computer readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the workflow generation method in the agricultural control system according to the above embodiments.
In the description of the present specification, the terms "first", "second", and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (16)

1. A workflow generation method in an agricultural control system is characterized by comprising the following steps:
acquiring a workflow generation request, wherein the request comprises a target system identifier;
displaying an editing panel corresponding to the target system identifier in a user interface according to a preset system identifier and an equipment mapping table, wherein the editing panel comprises an equipment identifier corresponding to the target system identifier;
sequentially displaying an equipment model corresponding to the equipment in each adding instruction in a working area of the editing panel according to each equipment adding instruction which is sequentially acquired;
determining the incidence relation among the devices according to the acquired starting and stopping point positions of the connection operations and the display positions of the device models;
and generating a workflow corresponding to the target system according to the association relationship among the devices.
2. The method of claim 1, wherein after sequentially displaying the device models corresponding to the devices in each add instruction in the work area of the editing panel, further comprising:
upon determining that a focus is located on a first device model, displaying sensor models in the first device at preset locations associated with the first device model.
3. The method of claim 2, wherein after displaying the sensor models in the first device at the preset locations associated with the first device model, further comprising:
and if the focus is monitored to be positioned at the first sensor, displaying a working parameter setting interface corresponding to the first sensor on the upper layer of the editing panel.
4. The method of claim 3, wherein determining the association relationship between the devices according to the obtained starting and ending point positions of the connection operations and the display positions of the device models comprises:
determining input equipment according to the matching degree of the acquired starting position of the line connecting operation and the display position of each equipment model;
determining output equipment according to the matching degree of the acquired termination point position of the connection operation and the display position of each equipment model;
and determining the association relationship among the devices according to the connection relationship among the devices and the corresponding input and output types of the devices.
5. The method of claim 4, wherein after determining the output device, further comprising:
and displaying the working parameters of the input equipment connected with the output equipment in a setting interface of the output equipment.
6. The method of claim 4, wherein each device model includes an input interface and/or an output interface;
after the input device is determined according to the matching degree between the acquired starting point position of the connection operation and the display position of each device model, the method further comprises the following steps:
and adding a connecting wire at an output interface of the input equipment.
7. The method of any of claims 1-6, wherein after the obtaining the workflow generation request, further comprising:
and determining the effective time of the workflow corresponding to the target system according to the acquired time configuration instruction.
8. A workflow generation device in an agricultural control system, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a workflow generation request, and the request comprises a target system identifier;
the first display module is used for displaying an editing panel corresponding to the target system identifier in a user interface according to a preset system identifier and equipment mapping table, wherein the editing panel comprises the equipment identifier corresponding to the target system identifier;
the second display module is used for sequentially displaying the equipment model corresponding to the equipment in each adding instruction in the working area of the editing panel according to each equipment adding instruction which is sequentially acquired;
the first determining module is used for determining the incidence relation among the devices according to the acquired starting and ending point positions of the connecting operations and the display positions of the device models;
and the generating module is used for generating the workflow corresponding to the target system according to the incidence relation among the devices.
9. The apparatus of claim 8, further comprising:
and the third display module is used for displaying each sensor model in the first equipment at a preset position associated with the first equipment model when the focus is determined to be positioned in the first equipment model.
10. The apparatus of claim 9, further comprising:
and the fourth display module is used for displaying a working parameter setting interface corresponding to the first sensor on the upper layer of the editing panel when the focus is monitored to be positioned on the first sensor.
11. The apparatus of claim 10, wherein the first determining module is specifically configured to:
determining input equipment according to the matching degree of the acquired starting position of the line connecting operation and the display position of each equipment model;
determining output equipment according to the matching degree of the acquired termination point position of the connection operation and the display position of each equipment model;
and determining the association relationship among the devices according to the connection relationship among the devices and the corresponding input and output types of the devices.
12. The apparatus of claim 11, further comprising:
and the fifth display module is used for displaying the working parameters of the input equipment connected with the output equipment in a setting interface of the output equipment.
13. The apparatus of claim 11, wherein each device model includes an input interface and/or an output interface; the device further comprises:
and the adding module is used for adding a connecting line at an output interface of the input equipment.
14. The apparatus of any of claims 8-13, further comprising:
and the second determining module is used for determining the effective time of the workflow corresponding to the target system according to the acquired time configuration instruction.
15. A computer device comprising a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for implementing the workflow generation method in the agricultural control system according to any one of claims 1 to 7.
16. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements a method of generating a workflow in an agricultural control system according to any one of claims 1 to 7.
CN201911012427.2A 2019-10-23 2019-10-23 Workflow generation method and device in agricultural control system Pending CN112700204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911012427.2A CN112700204A (en) 2019-10-23 2019-10-23 Workflow generation method and device in agricultural control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911012427.2A CN112700204A (en) 2019-10-23 2019-10-23 Workflow generation method and device in agricultural control system

Publications (1)

Publication Number Publication Date
CN112700204A true CN112700204A (en) 2021-04-23

Family

ID=75505095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911012427.2A Pending CN112700204A (en) 2019-10-23 2019-10-23 Workflow generation method and device in agricultural control system

Country Status (1)

Country Link
CN (1) CN112700204A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587438A (en) * 2009-06-18 2009-11-25 南京联创科技股份有限公司 Graphic process template method for drafting under the ARP framework
CN102081370A (en) * 2010-11-26 2011-06-01 华中农业大学 Water-fertilizer integrated intelligent accurate control system and control method thereof
CN102609809A (en) * 2012-01-18 2012-07-25 西安交通大学 Method for realizing workflow cycle control by looking up table
CN103389755A (en) * 2013-08-05 2013-11-13 内蒙古农业大学 Accumulated temperature controller for energy conservation and consumption reduction of facility agriculture and service system of accumulated temperature controller
CN105045228A (en) * 2014-04-30 2015-11-11 布里斯托尔D/B/A远程自动化解决方案公司 Configuring workflows in host device operating in process control system
CN105243521A (en) * 2015-11-20 2016-01-13 华润电力投资有限公司河南分公司 Workflow management method and system
CN105787801A (en) * 2015-01-14 2016-07-20 埃森哲环球服务有限公司 Precision Agriculture System
CN107810509A (en) * 2015-06-23 2018-03-16 微软技术许可有限责任公司 Workflow generation and editor
CN109156229A (en) * 2018-10-29 2019-01-08 天津市农业科学院信息研究所 A kind of water-fertilizer integral pours control method, device and electronic equipment
CN109361737A (en) * 2018-09-25 2019-02-19 四川奥信通科技发展有限公司 Agricultural supervisory system based on Internet of Things
CN110310088A (en) * 2019-06-14 2019-10-08 平安科技(深圳)有限公司 Workflow configuration method and Related product

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587438A (en) * 2009-06-18 2009-11-25 南京联创科技股份有限公司 Graphic process template method for drafting under the ARP framework
CN102081370A (en) * 2010-11-26 2011-06-01 华中农业大学 Water-fertilizer integrated intelligent accurate control system and control method thereof
CN102609809A (en) * 2012-01-18 2012-07-25 西安交通大学 Method for realizing workflow cycle control by looking up table
CN103389755A (en) * 2013-08-05 2013-11-13 内蒙古农业大学 Accumulated temperature controller for energy conservation and consumption reduction of facility agriculture and service system of accumulated temperature controller
CN105045228A (en) * 2014-04-30 2015-11-11 布里斯托尔D/B/A远程自动化解决方案公司 Configuring workflows in host device operating in process control system
CN105787801A (en) * 2015-01-14 2016-07-20 埃森哲环球服务有限公司 Precision Agriculture System
CN107810509A (en) * 2015-06-23 2018-03-16 微软技术许可有限责任公司 Workflow generation and editor
CN105243521A (en) * 2015-11-20 2016-01-13 华润电力投资有限公司河南分公司 Workflow management method and system
CN109361737A (en) * 2018-09-25 2019-02-19 四川奥信通科技发展有限公司 Agricultural supervisory system based on Internet of Things
CN109156229A (en) * 2018-10-29 2019-01-08 天津市农业科学院信息研究所 A kind of water-fertilizer integral pours control method, device and electronic equipment
CN110310088A (en) * 2019-06-14 2019-10-08 平安科技(深圳)有限公司 Workflow configuration method and Related product

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《电子报》编辑部: "2014年电子报合订本 上", 30 November 2014, 电子科技大学出版社, pages: 205 *
肖军和任东波: "淡水虾的养殖 2", 31 January 2008, 吉林摄影出版社, pages: 18 *

Similar Documents

Publication Publication Date Title
CN209517198U (en) A kind of wisdom agricultural standardization management system
KR102691773B1 (en) System and apparatus for smart farm operations, and control method thereof
CN107676937B (en) Air conditioner control method, device and system and computer readable storage medium
CN205353825U (en) Greenhouse automatic control system
CN106613783B (en) Universal intelligent irrigation system and control method thereof
CN107463958A (en) Insect identifies method for early warning and system
CN107229999B (en) Method, system, computer device and readable storage medium for predicting crop yield
KR102161572B1 (en) Automatic system and method of collecting/analyzing and monitoring/controlling/predicting smart farm data
CN204423211U (en) Greenhouse automatic control system
CN205193568U (en) Wisdom agricultural monitored control system
CN116739216A (en) Garden operation management system and method based on Internet of things
CN113157030A (en) Greenhouse temperature and humidity monitoring and self-adaptive adjusting system based on machine learning
CN112700204A (en) Workflow generation method and device in agricultural control system
CN111061323A (en) Intelligent temperature and humidity control system of greenhouse
CN110146130A (en) The acquisition methods of environmental information, obtain system and storage medium at acquisition device
CN109725620A (en) Greenhouse control system based on plug-and-play equipment
Mustika et al. Smart Garden Monstera Adansonii Based On IoT Using DHT11
KR20190079489A (en) The remote and automatic control system of irrigation water and storage system of temperature and humidity using Wi-Fi communication module
CN110865668A (en) Remote monitoring and intelligent decision-making system for facility gardening
CN205337054U (en) Automatic management system of warmhouse booth
CN112163966A (en) Fertilizing operation method and device, electronic equipment and storage medium
WO2023210215A1 (en) Cultivation assistance system
CN117204320B (en) Large-scale farm irrigation control system
Rosni et al. Smart Greenhouse Based on IoT Application
CN110335166A (en) Management method, managing device and the management system of cultivation equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information

Address after: 510000 Block C, 115 Gaopu Road, Tianhe District, Guangzhou City, Guangdong Province

Applicant after: XAG Co., Ltd.

Address before: 510000 Block C, 115 Gaopu Road, Tianhe District, Guangzhou City, Guangdong Province

Applicant before: Guangzhou Xaircraft Technology Co.,Ltd.

CB02 Change of applicant information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination