CN109410085B - Binding system and method for farm equipment - Google Patents

Binding system and method for farm equipment Download PDF

Info

Publication number
CN109410085B
CN109410085B CN201811296488.1A CN201811296488A CN109410085B CN 109410085 B CN109410085 B CN 109410085B CN 201811296488 A CN201811296488 A CN 201811296488A CN 109410085 B CN109410085 B CN 109410085B
Authority
CN
China
Prior art keywords
controller
identification information
room
monitoring
equipment
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.)
Active
Application number
CN201811296488.1A
Other languages
Chinese (zh)
Other versions
CN109410085A (en
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.)
Hitachi Building Technology Guangzhou Co Ltd
Original Assignee
Hitachi Building Technology Guangzhou 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 Hitachi Building Technology Guangzhou Co Ltd filed Critical Hitachi Building Technology Guangzhou Co Ltd
Priority to CN201811296488.1A priority Critical patent/CN109410085B/en
Publication of CN109410085A publication Critical patent/CN109410085A/en
Application granted granted Critical
Publication of CN109410085B publication Critical patent/CN109410085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Mining & Mineral Resources (AREA)
  • Human Resources & Organizations (AREA)
  • Animal Husbandry (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Agronomy & Crop Science (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Alarm Systems (AREA)

Abstract

The embodiment of the invention discloses a binding system and a binding method of farm equipment, wherein the binding system comprises an upper computer, monitoring equipment and a controller which is arranged in a breeding room and is provided with an indicator light, the monitoring equipment and the controller are both connected with the upper computer, the working state of the indicator light is controlled by the controller according to the controller identification information, the monitoring equipment monitors the culture room identification and the controller arranged in the culture room to generate a monitoring video, the upper computer receives the monitoring video generated by the monitoring equipment and then performs image recognition on the culture room identification and the indicator light in the monitoring video to obtain culture room identification information and controller identification information, and the identification information of the breeding room, the identification information of the controller and the identification information of the monitoring equipment are bound, so that the automatic matching of the breeding room, the controller and the monitoring equipment is realized, and the workload of a user is reduced.

Description

Binding system and method for farm equipment
Technical Field
The embodiment of the invention relates to the technical field of cultivation management, in particular to a system and a method for binding farm equipment.
Background
The breeding industry is an important industry in agriculture in China, and with the development of economic technology, the breeding industry is developed from a traditional workshop breeding mode to an intensive and industrialized breeding mode.
At present, for most large-scale farms, the culture room is provided with a culture room identifier and a controller, the culture room identifier is used for identifying the type of the culture room, the controller collects environmental data of the culture room, such as temperature, humidity, light intensity and the like, and monitoring equipment is further arranged for carrying out video monitoring on each culture room. When a user needs to acquire the environmental data and the monitoring video of a certain breeding room, the user needs to match the controller, the monitoring equipment and the breeding room, and the workload of the user is increased.
Disclosure of Invention
The embodiment of the invention provides a binding system and a binding method for farm equipment, which aim to solve the problem that the workload of a user is increased when the user matches a controller, monitoring equipment and a farm in the prior art, realize automatic matching of the controller, the monitoring equipment and the farm, and reduce the workload of the user.
In a first aspect, an embodiment of the invention provides a binding system for farm equipment, which comprises an upper computer, monitoring equipment and a controller which is arranged in a breeding room and is provided with an indicator light, wherein the monitoring equipment and the controller are both connected with the upper computer;
the controller is used for controlling the working state of the indicator light according to the controller identification information of the controller;
the monitoring equipment is used for monitoring the culture room identifier arranged in the culture room and the controller to generate a monitoring video;
the upper computer is used for receiving the monitoring video generated by the monitoring equipment, carrying out image recognition on the culture room identification in the monitoring video and the indicator lamp to obtain culture room identification information and controller identification information, and binding the culture room identification information, the controller identification information and the equipment identification information of the monitoring equipment.
In a second aspect, an embodiment of the present invention provides a method for binding farm equipment, which is applied to a system for binding farm equipment provided in an embodiment of the present invention, and the method includes:
controlling the working state of the indicator light according to the controller identification information;
monitoring the farm identity and the controller to generate a monitoring video;
carrying out image recognition on the culture room identification in the monitoring video and the indicator light of the controller to obtain culture room identification information and controller identification information;
and binding the identification information of the breeding room, the identification information of the controller and the equipment identification information of the monitoring equipment.
The embodiment of the invention provides a binding system of farm equipment, wherein a controller controls the working state of an indicator light according to controller identification information, a monitoring device monitors a breeding room identification and a controller arranged in a breeding room to generate a monitoring video, an upper computer receives the monitoring video generated by the monitoring device and then performs image recognition on the breeding room identification and the indicator light in the monitoring video to obtain the breeding room identification information and the controller identification information, and the breeding room identification information, the controller identification information and the equipment identification information of the monitoring device are bound, so that the automatic matching of the breeding room, the controller and the monitoring device is realized, and the workload of a user is reduced.
Drawings
Fig. 1 is a schematic structural diagram of a binding system for farm equipment according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of another farm equipment binding system provided by an embodiment of the invention;
FIG. 3 is a flow chart of a method for binding farm equipment according to an embodiment of the present invention;
FIG. 4 is a flow chart of another farm equipment binding method according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for binding farm devices according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a schematic structural diagram of a binding system of a farm device, according to an embodiment of the present invention, for performing a binding method of the farm device, so that devices in the farm are automatically bound. As shown in fig. 1, the binding system of the farm equipment includes: host computer 10, controller 11 and supervisory equipment 12.
In practical application, a farm is provided with culture rooms for breeding culture objects, each culture room is provided with a controller 11 and a culture room identifier, the controller 11 can collect environmental data of the culture room, for example, the controller 11 can collect environmental data such as temperature, humidity and light intensity in the culture room, the culture room identifier 1 can be a signboard for identifying the type of the culture room and the serial number of the culture room, and the signboard can be an electronic signboard or a non-electronic signboard. The monitoring device 12 may be disposed outside the breeding room, and the controller 11 and the breeding room identification may be captured by a camera, and the monitoring device 12 may generate a monitoring image or a monitoring video by the camera. The controller 11 and the monitoring device 12 are connected to the upper computer 10, specifically, the controller 11 and the monitoring device 12 may be connected to the upper computer 10 through ethernet, wireless signal, CAN bus, or the like, and the connection manner of the controller 11, the monitoring device 12, and the upper computer 10 is not limited in the embodiment of the present invention.
The controller 11 may control the operating state of the indicator light according to the controller identification information of the controller. Specifically, the controller identification information may be identity information of the controller, for example, may be a controller IP address, and the controller 11 may generate a control signal according to the controller IP address, and control the operating state of the indicator light through the control signal, for example, the controller 11 converts the controller IP address into a binary bit string, and generates different control signals according to a preset communication protocol to control the on time and the off time of the indicator light to represent the binary bit string.
The monitoring device 12 monitors the farm identity and controller set up by the farm to generate a monitoring video. In specific implementation, the controller 11 continuously controls the indicator light to be turned on or off according to the controller identification information of the controller, the monitoring device 12 can collect the monitoring video of the farm site, that is, the monitoring video of the working state of the indicator light including the farm identification and the controller 11, and sends the monitoring video to the upper computer 10
The upper computer 10 receives the monitoring video generated by the monitoring equipment, performs image recognition on the culture room identification and the indicator light in the monitoring video to obtain culture room identification information and controller identification information, and binds the culture room identification information, the controller identification information and the equipment identification information of the monitoring equipment. Specifically, after receiving the monitoring video, the upper computer 10 may perform still image recognition on the video frame including the identifier of the farm, recognize characters on the identifier of the farm by using an image recognition technology, obtain the type and the number of the farm, and use the type and the number of the farm as the identifier information of the farm. Meanwhile, the working state of the indicator light of the controller 11 in a period of time is counted through a video analysis technology, for example, the lighting or extinguishing duration of the indicator light in a period of time is analyzed, a binary bit string is analyzed through a preset communication protocol, a controller IP address is obtained after the binary bit string is converted into a decimal number, and the controller IP address is used as controller identification information.
The upper computer 10 performs image recognition on the farm identifier and the indicator light in the monitoring video to obtain farm identifier information and controller identifier information, and then can bind the farm identifier information, the controller identifier information and the equipment identifier information of the monitoring equipment, for example, the farm identifier information can be a farm number and a farm type, the controller identifier information can be a controller IP address, and the equipment identifier information can be a monitoring equipment IP address, and then can bind the farm number, the farm type, the controller IP address and the monitoring equipment IP address to bind the controller 11, the farm identifier and the monitoring equipment 12, so as to realize automatic matching of the environmental data collected by the controller 11, the farm to which the controller 11 belongs, the monitoring video of the farm, the farm type of the farm and the farm number, for example, through the serial numbers of the culture rooms, the types of the culture rooms, the environmental data collected by the controllers 11 arranged in the culture rooms and the monitoring videos of the monitoring equipment 12 for monitoring the culture rooms can be found.
Of course, the identification information of the breeding room may also be a name of the breeding room, the identification information of the controller may also be a name of the controller, and the identification information of the device may also be a name of the monitoring device.
According to the embodiment of the invention, the working state of the indicator light is controlled by the controller according to the controller identification information, after the monitoring equipment monitors the culture room identification and the controller arranged in the culture room to generate the monitoring video, the upper computer performs image recognition on the culture room identification and the indicator light in the monitoring video to obtain the culture room identification information and the controller identification information, and the culture room identification information, the controller identification information and the equipment identification information of the monitoring equipment are bound, so that the automatic matching of the culture room, the controller and the monitoring equipment is realized, and the workload of users is reduced.
Fig. 2 is a schematic diagram of a binding system of farm equipment according to an embodiment of the present invention.
As shown in fig. 2, in an application of the embodiment of the present invention, a farm is provided with at least two rows of cultivation rooms, each row of cultivation rooms includes a plurality of cultivation rooms, each cultivation room is provided with a controller 11 and a cultivation room identifier 13, a monitoring device 12 can photograph the cultivation room identifier of at least one cultivation room in each row and all the controllers 11, and the plurality of controllers 11 in each row of cultivation rooms are connected with each other, and any one of the controllers 11 is connected with an upper computer 10.
Specifically, in each row of cultivation rooms, a plurality of controllers 11 may be connected to each other by a CAN bus, an RS485 bus, a wireless connection, or the like, and one of the controllers 11 is connected to the upper computer 10. Therefore, the controller identification information includes a controller IP address and a ranking number, the controller IP address is the IP address of the controller 11 connected to the upper computer 10, and the ranking number is the ranking of the controller 11 in each row of the cultivation rooms.
In the embodiment of the present invention, the controller 11 may obtain the controller identifiers of all the controllers in each row of the cultivation room, determine the ranking number according to the controller identifiers, generate the control signal according to the controller IP address, the ranking number, and the preset communication protocol, and control the working state of the indicator light according to the control signal.
Specifically, the controller IP addresses of the controllers 11 connected to the upper computer 10 are in the same network segment, and the controllers 11 in each row are distinguished by using the last segment of the controller IP address, that is, the last segment of the controller IP addresses of the controllers 11 in the same row are the same. In addition, for the controllers 11 in the same row, the controller identifiers of the controllers 11 may be broadcast mutually, for example, the controllers 11 in the same row may be hung on the same CAN bus, each controller 11 may broadcast a unique chip serial number to the CAN bus, each controller 11 may receive the chip serial numbers of other controllers 11 from the CAN bus, and each controller 11 may perform bubble sorting according to the received chip serial numbers and the chip serial numbers of itself to obtain the rank numbers of the controllers 11.
On each controller 11, the preset communication protocol may be: for each bit of data, the operation state of the indicator light within the time length of 3t is identified. When the data is '1', the lighting time of the indicator light is 2t, and the extinguishing time is t; when the data is '0', the lighting time of the indicator light is t, and the extinguishing time is 2 t; the extinguishing time of the indicator light between each byte is 3t, the time for outputting two bytes is 51t, wherein t is unit time and can be determined according to the frame rate of the monitoring equipment. And the last digit of the controller IP address is the first byte and the rank number of the controller 11 is the second byte.
The controller 11 may generate a control signal according to the preset communication protocol, the first byte and the second byte, and control the indicator light to output the data of the first byte and the second byte through the control signal, that is, output the last segment of the IP address of the controller and the sequence number. When the controller 11 does not receive the binding success information sent by the upper computer 10, the controller outputs the controller IP address and the sequencing number through the working state of the control indicator lamp at intervals of 150t, and when the binding success information sent by the upper computer is received, the controller outputs the controller IP address and the sequencing number through the working state of the control indicator lamp at intervals of 600 t.
Of course, the above-mentioned communication protocol is only one example, and those skilled in the art may also set other ways to output the controller IP address and the sequence number through the indicator light, which is not limited in this embodiment of the present invention, and those skilled in the art may also control the operating state of the indicator light through other identification information of the controller, which is not limited only to the controller IP address and the sequence number, and this is not limited in this embodiment of the present invention.
In the embodiment of the present invention, the upper computer 10 obtains the first target video frame including the farm identity 13 from the monitoring video, and performs image recognition on the first target video frame to obtain the farm number and the farm type identified by the farm identity 13. Specifically, the upper computer 10 may perform still image recognition on the first target video frame by using an image recognition technology to obtain the breeding room number and the breeding room type identified by the breeding room identifier 13.
The upper computer 10 also analyzes the working state of the indicator lights of each controller in the monitoring video according to a preset communication protocol to obtain the controller IP addresses and the sequencing numbers of each controller. Specifically, for each controller in the monitoring video, the upper computer 10 analyzes the monitoring video in a preset time period to obtain the time length of each turn-on and turn-off of the indicator light, and then analyzes the controller IP address and the sequencing number through a preset communication protocol.
For example, the frame rate fps of the monitoring device 12 is greater than 5/t, after the upper computer 10 receives the monitoring video of the monitoring device 12, multi-frame image analysis is performed on the indicator light of each controller 11, according to the communication protocol in the controller 11, the number of frames of the video frame of one bit of data is identified to be 3 × t × fps, if the indicator light is identified to be turned on from the former 2 × t × fps video frame, and the indicator light is identified to be turned off from the latter 1 × t × fps video frame, the analyzed data is "1"; if the indicator light is identified to be turned on from the former 1 × t × fps video frame and the indicator light is identified to be turned off from the latter 2 × t × fps video frame, the data is analyzed to be 0; two bytes of data are obtained by identifying a 51 × t × fps frame of video, the first byte being a number following the controller IP address of the controller 11, and the second byte being a sorting number.
Of course, the above communication protocol is only one example, and those skilled in the art may also set other ways to analyze the operating states of the indicator lights in the monitoring video to obtain the IP address and the sequence number of the controller, which is not limited in this embodiment of the present invention.
The upper computer 10 further acquires a second target video frame containing the culture room identifier and each controller from the monitoring video, obtains position information of each controller relative to the culture room identifier after performing image recognition on the second target video frame, determines the culture room number and the culture room type corresponding to each controller based on a preset number arrangement rule, the position information, the culture room number and the culture room type identified by the culture room identifier, and binds the culture room number, the culture room type, the controller IP address, the arrangement number and the equipment identifier of the monitoring equipment.
Specifically, the upper computer 10 may perform image recognition on the second target video frame to obtain position information of each controller 11 relative to the farm identifier 13, where the position information includes a relative position and a relative distance.
As shown in fig. 2, in the first row of cultivation rooms, the cultivation room identifier of the newborn 1 is photographed by the monitoring device 12, and other cultivation room identifiers are not photographed, the relative position and the relative distance of each controller 11 with respect to the cultivation room identifier of the newborn 1 are calculated, then the cultivation room type and the cultivation room number corresponding to each controller 11 are determined according to the preset numbering rules, the relative position and the relative distance, the controller IP address of the controller corresponding to the controller 11, the controller ranking number, the cultivation room type, the cultivation room number and the monitoring device IP address are bound, stored in the database, and binding success information is generated and sent to each controller.
For example, in fig. 2, for the first row of cultivation rooms, the monitoring device 12 may capture the cultivation room identifier 13 of the newborn 1 and all the controllers 11, the upper computer 10 identifies the cultivation room identifier of the newborn 1, obtains that the type of the cultivation room is newborn, and the number of the cultivation room is 1, obtains the controller IP address and the sequence number of each controller after analyzing the indicator lights of all the controllers 11, and then performs image analysis on one frame of image, and obtains the relative position and the relative distance between each controller and the cultivation room identifier of the newborn 1. Meanwhile, the culture room identifications are numbered according to the distribution rule of the culture rooms, for example, each culture room is arranged in close proximity, the types of the culture rooms in each row are the same, and the culture room type and the culture room number corresponding to the culture room identification are obtained, such as birth 2, birth 3 and the like. The upper computer 10 obtains the type of the culture room of the first controller close to the culture room identification of the birth 1 as birth according to the relative distance and the position relation of each controller relative to the identified culture room identification of the birth 1, and the number of the culture room is 1; the type of the breeding room of the second controller is nascent, the number of the breeding room is 2, and so on, the type of the breeding room and the number of the breeding room corresponding to each controller 11 are obtained, then the controller IP address, the ranking number, the type of the breeding room, the number of the breeding room and the monitoring equipment IP address corresponding to each controller 11 are bound, the binding relationship is stored in the database, and binding success information is generated and sent to each controller 11.
In the above description, fig. 2 is taken as an example to illustrate the process of executing the image recognition and binding operation by the upper computer 10, when the embodiment of the present invention is implemented, the monitoring device of each row of cultivation rooms is not limited to only shooting one cultivation room identifier, which is not limited in the embodiment of the present invention, and in addition, when the cultivation room identifier is irregular, the monitoring device can monitor the cultivation room identifier so as to facilitate the upper computer to respectively recognize the cultivation room identifier.
According to the embodiment of the invention, the working state of the indicator light is controlled by the controller according to the controller identification information, after the monitoring equipment monitors the culture room identification and the controller arranged in the culture room to generate the monitoring video, the upper computer performs image recognition on the culture room identification and the indicator light in the monitoring video to obtain the culture room identification information and the controller identification information, and the culture room identification information, the controller identification information and the equipment identification information of the monitoring equipment are bound, so that the automatic matching of the culture room, the controller and the monitoring equipment is realized, and the workload of users is reduced.
Optionally, the upper computer 10 further determines a target controller corresponding to the controller IP address, generates binding success information after the binding is successful, and sends the binding success information, the number of the breeding room bound by the controller IP address, and the type of the breeding room to the target controller. Specifically, after the upper computer 10 is successfully bound, the type and the serial number of the breeding room where the controller 11 is located may be sent to the corresponding controller 11, so that the controller 11 may add the type and the serial number of the breeding room to the environmental data after acquiring the environmental data of the breeding room, so that the user may quickly identify the breeding room to which the environmental data belongs.
In a preferred embodiment of the present invention, the upper computer 10 updates the farm identification information and/or the controller identification information bound to the device identification information of the monitoring device 12 according to the monitoring video generated by the monitoring device 12. Specifically, the upper computer 10 continuously performs image recognition on the monitoring video generated by each monitoring device 12, and when the controller 11 in the farm is replaced due to a fault problem, or the monitoring device 12 is replaced due to a fault, or the farm type and the farm serial number are modified, information bound by the device identifier of the monitoring device in the database is updated in real time, for example, the controller IP address, the serial number, the farm type and the farm serial number bound by the monitoring device IP address are automatically updated, so that the automatic update of the binding information is realized, the replacement of the farm or the change of the farm type and the farm serial number is avoided, and the problem of easy error caused by manual matching is solved, thereby facilitating the maintenance of the farm on the farm.
Optionally, the upper computer 10 obtains a communication state of the controller, determines a working state of an indicator light of the controller according to the monitoring video, determines whether a fault occurs according to the communication state and the working state, and generates fault information according to the communication state and the working state and sends the fault information to the user terminal if the fault occurs. In specific implementation, the upper computer can acquire a communication state through heartbeat detection and continuously identify the monitoring video, and if the controller 11 and the upper computer 10 are in normal communication and the extinguishing time of the indicator lamp identified by the upper computer 10 exceeds the preset time, the fault information of the indicator lamp is generated; if the communication between the controller 11 and the upper computer 10 is abnormal, the upper computer 10 recognizes that the lighting time of the indicator lamp exceeds the preset time, and generates communication fault information; if the communication between the controller 11 and the upper computer 10 is abnormal, the upper computer 10 recognizes that the lighting time of the indicator lamp exceeds the preset time, controller off-line fault information is generated, and the upper computer can generate corresponding fault information and send the fault information to the user terminal through the communication state and the working state of the indicator lamp, so that the user can timely solve the equipment fault and the normal operation of the system is ensured.
Of course, those skilled in the art can also output different fault information through different working states of the indicator light, and is not limited to the above example.
In another embodiment of the present invention, the controller 11 collects environmental data of the breeding room, and controls the indicator light to be in a preset working state when the environmental data is abnormal, and the upper computer 10 generates environmental abnormal information and sends the environmental abnormal information to the user terminal when recognizing that the indicator light of the controller 11 is in the preset working state in the monitoring video, and determines the device identification information bound to the IP address of the controller, where the device identification information may be the IP address of the monitoring device, and obtains the monitoring video of the monitoring device corresponding to the IP address of the monitoring device.
Specifically, controller 11 is when environmental data is unusual, control pilot lamp is bright normally or control pilot lamp changes colour etc, host computer 10 discerns that the pilot lamp is in the state of bright normally or when predetermineeing the colour, confirm the supervisory equipment IP address that the controller IP address of this controller bound, and obtain the supervisory equipment 12's that this supervisory equipment IP address corresponds monitoring video, when making the user can in time look over environmental data unusual, breed the condition of object in the breed room, furthermore, can generate unusual information and send to user terminal, make the user can in time solve the environmental problem that the breed room exists, guarantee that the plant is under normal environmental condition, be favorable to breeding the growth of object.
To sum up, the embodiment of the invention controls the working state of the indicator light through the controller according to the controller identification information, the monitoring device monitors the breeding room identification and the controller arranged in the breeding room to generate the monitoring video, the upper computer performs image recognition on the breeding room identification and the indicator light in the monitoring video after receiving the monitoring video generated by the monitoring device to obtain the breeding room identification information and the controller identification information, and binds the breeding room identification information, the controller identification information and the equipment identification information of the monitoring device, thereby realizing the automatic matching of the breeding room, the controller and the monitoring device and reducing the workload of users.
Furthermore, the culture room identification information and/or the controller identification information bound by the equipment identification information of the monitoring equipment can be updated according to the monitoring video generated by the monitoring equipment, so that the binding information can be automatically updated, the problem that manual updating of the binding information is prone to error is solved, and the culture equipment of the farm can be conveniently maintained. In addition, the working state of an indicator light of the controller can be determined according to the monitoring video, and whether a fault occurs is determined according to the communication state and the working state; if the fault occurs, fault information is generated according to the communication state and the working state and is sent to the user terminal, so that the user can solve the fault in time, and the normal operation of the system is ensured. In addition, can also discern the pilot lamp of controller in the surveillance video when predetermineeing operating condition, generate the unusual information of environment and send to user terminal for the user can in time solve the environmental problem that the breed room exists, guarantees that the plant is in under the normal environmental condition, is favorable to breeding the growth of object.
Fig. 3 is a flowchart of a method for binding farm equipment according to an embodiment of the present invention. The embodiment is applicable to the case of farm equipment binding, and the method can be executed by a binding system of farm equipment, and the system can be implemented by software and/or hardware. As shown in fig. 3, the method may include the steps of:
s301, controlling the working state of the indicator light according to the controller identification information.
In the embodiment of the present invention, the controller identification information may be identity information of the controller, for example, may be a controller IP address, and then the controller identification information may generate a control signal according to the controller IP address, and control the operating state of the indicator light through the control signal, for example, convert the controller IP address into a binary bit string, and generate different control signals according to a preset communication protocol, so as to control the on-duration and the off-duration of the indicator light to output the binary bit string.
S302, monitoring the culture room identifier and the controller to generate a monitoring video.
Specifically, the monitoring device can be used for acquiring a monitoring video of the farm site, namely acquiring a monitoring video of the working state of an indicator lamp comprising a farm identifier and a controller.
S303, carrying out image recognition on the culture room identification in the monitoring video and the indicator light of the controller to obtain culture room identification information and controller identification information.
Specifically, the method can perform static image recognition on the video frame containing the culture room identifier, recognize characters on the culture room identifier by using an image recognition technology to obtain the culture room type and the culture room number, and use the culture room type and the culture room number as culture room identifier information. Meanwhile, the working state of the indicator light of the controller in a period of time is counted through a video analysis technology, the lighting or extinguishing time of the indicator light in the period of time is analyzed, a binary bit string is analyzed through a preset communication protocol, the controller IP address is obtained after the binary bit string is converted into a decimal number, and the controller IP address is used as controller identification information.
S304, binding the identification information of the breeding room, the identification information of the controller and the identification information of the monitoring equipment.
Specifically, after the breeding room identification information and the controller identification information are obtained, the breeding room identification information, the controller identification information and the equipment identification information of the monitoring equipment can be bound, for example, the breeding room identification information can be a breeding room number and a breeding room type, the controller identification information can be a controller IP address, the equipment identification information can be a monitoring equipment IP address, and then the breeding room number, the breeding room type, the controller IP address and the monitoring equipment IP address can be bound to realize the binding of the controller, the breeding room identification and the monitoring equipment, so that the environmental data collected by the controller, the breeding room to which the controller belongs, the monitoring video of the breeding room, the breeding room type of the breeding room and the breeding room number can be automatically matched, for example, the breeding room type of the breeding room and the environmental data collected by the controller arranged in the breeding room can be found through the breeding room number, and monitoring video of monitoring equipment for monitoring the breeding room.
According to the binding method of the farm equipment, the working state of the indicator light is controlled according to the controller identification information, the culture room identification and the controller arranged in the culture room are monitored to generate the monitoring video, the culture room identification and the indicator light in the monitoring video are subjected to image recognition to obtain the culture room identification information and the controller identification information, and the culture room identification information, the controller identification information and the equipment identification information of the monitoring equipment are bound, so that the automatic matching of the culture room, the controller and the monitoring equipment is realized, and the workload of a user is reduced.
Fig. 4 is a flowchart of a method for binding farm devices according to an embodiment of the present invention.
On the basis of the embodiment, the working state, the image recognition and the binding of the control indicator lamp can be optimized. As shown in fig. 4, the binding method of the optimized farm equipment may include the following steps:
s401, obtaining controller identifications of controllers in each row of cultivation rooms;
s402, determining a ranking number according to the controller identifier;
s403, generating a control signal according to the controller IP address, the ranking number and a preset communication protocol;
s404, controlling the working state of the indicator light according to the control signal;
s405, acquiring a first target video frame containing the culture room identifier from the monitoring video;
s406, performing image recognition on the first target video frame to obtain a breeding room number and a breeding room type which are included in the breeding room identification;
s407, analyzing the working state of the indicator light of each controller in the monitoring video according to a preset communication protocol to obtain the controller IP address and the sequencing number of each controller;
s408, acquiring a second target video frame containing the culture room identifier and each controller from the monitoring video;
s409, carrying out image recognition on the second target video frame to obtain position information of each controller relative to the culture room identifier;
s410, determining the number and the type of the culture room corresponding to each controller based on a preset culture room identification arrangement rule, the position information, the culture room number and the type of the culture room, wherein the culture room number and the type of the culture room are included by the culture room identification.
S411, binding the number of the breeding room, the type of the breeding room, the IP address of the controller, the sequence number and the equipment identification information of the monitoring equipment.
It should be noted that, as for the method embodiment, since it is basically similar to the system embodiment, the description is relatively simple, and for the relevant points, reference may be made to partial description of the method embodiment.
The method for binding the farm equipment provided by the embodiment of the invention is applied to the system for binding the farm equipment provided by the embodiment of the invention, so that the method for binding the farm equipment has corresponding beneficial effects.
Fig. 5 is a flowchart of a method for binding farm devices according to an embodiment of the present invention.
As shown in fig. 5, an embodiment of the present invention optimizes a method for binding farm devices, where the method may include the following steps:
s501, controlling the working state of the indicator light according to the controller identification information.
S502, monitoring the culture room identifier and the controller to generate a monitoring video.
S503, carrying out image recognition on the culture room identification in the monitoring video and the indicator light of the controller to obtain culture room identification information and controller identification information.
S504, binding the identification information of the breeding room, the identification information of the controller and the identification information of the monitoring equipment.
And S505, updating the culture room identification information and/or the controller identification information bound by the equipment identification of the monitoring equipment according to the monitoring video generated by the monitoring equipment.
Optionally, the method further comprises:
determining a target controller corresponding to the controller IP address;
generating binding success information;
and sending the binding success information, the breeding room number and the breeding room type bound by the controller IP address to the target controller.
Optionally, the method further comprises:
acquiring a communication state of the controller;
determining the working state of an indicator light of the controller according to the monitoring video;
determining whether a fault occurs according to the communication state and the working state;
if the fault occurs, generating fault information according to the communication state and the working state;
and sending the fault information to a user terminal.
Optionally, the method further comprises:
collecting environmental data of the culture room, and controlling the indicator light to be in a preset working state when the environmental data are abnormal;
when the fact that an indicator lamp of the controller is in a preset working state is identified in the monitoring video, generating environment abnormal information and sending the environment abnormal information to a user terminal, wherein the environment abnormal information comprises a breeding room type and a breeding room number bound to a controller IP address of the controller;
determining equipment identification information bound to the controller IP address, wherein the equipment identification information is the monitoring equipment IP address;
and acquiring the monitoring video of the monitoring equipment corresponding to the IP address of the monitoring equipment.
It should be noted that, as for the method embodiment, since it is basically similar to the system embodiment, the description is relatively simple, and for the relevant points, reference may be made to partial description of the method embodiment.
The method for binding the farm equipment provided by the embodiment of the invention is applied to the system for binding the farm equipment provided by the embodiment of the invention, so that the method for binding the farm equipment has corresponding beneficial effects.
It should be noted that, as for the method embodiment, since it is basically similar to the system embodiment, the description is relatively simple, and for the relevant points, reference may be made to partial description of the method embodiment.
The method for binding the farm equipment provided by the embodiment of the invention is applied to the system for binding the farm equipment provided by the embodiment II, so that the system for binding the farm equipment has corresponding functional modules and beneficial effects.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (13)

1. The binding system of the farm equipment is characterized by comprising an upper computer, monitoring equipment and a controller which is arranged in a culture room and provided with an indicator light, wherein the monitoring equipment and the controller are both connected with the upper computer;
the controller is used for controlling the working state of the indicator light according to the controller identification information of the controller;
the monitoring equipment is used for monitoring the culture room identifier and the controller to generate a monitoring video;
the upper computer is used for receiving the monitoring video generated by the monitoring equipment, carrying out image recognition on the culture room identification and the indicator lamp in the monitoring video to obtain culture room identification information and controller identification information, and binding the culture room identification information, the controller identification information and the equipment identification information of the monitoring equipment;
the farm is provided with at least two rows of culture rooms,
each row of cultivation rooms comprises a plurality of cultivation rooms, each cultivation room is provided with a controller and a cultivation room identifier, and the monitoring equipment is used for shooting the cultivation room identifier of at least one cultivation room in each row of cultivation rooms and all the controllers;
the controllers in each row of the culture rooms are mutually connected, any one controller is connected with the upper computer, and the controller identification information comprises controller IP addresses and sequencing numbers;
the controller is used for collecting environmental data of the culture room and controlling the indicator lamp to be in a preset working state when the environmental data are abnormal;
the upper computer is used for:
when the fact that an indicator lamp of the controller is in a preset working state is identified in the monitoring video, generating environment abnormal information and sending the environment abnormal information to a user terminal, wherein the environment abnormal information comprises a breeding room type and a breeding room number bound to a controller IP address of the controller;
determining equipment identification information bound to the controller IP address, wherein the equipment identification information is the monitoring equipment IP address;
and acquiring the monitoring video of the monitoring equipment corresponding to the IP address of the monitoring equipment.
2. The system of claim 1, wherein the controller is further to:
acquiring controller identifications of all controllers in each row of cultivation rooms;
determining a ranking number according to the controller identifier;
generating a control signal according to the controller IP address, the ranking number and a preset communication protocol;
and controlling the working state of the indicator light according to the control signal.
3. The system of claim 2, wherein the controller is further to:
and sending the controller identification.
4. The system of claim 2 or 3, wherein the upper computer is to:
acquiring a first target video frame containing the culture room identifier from the monitoring video;
carrying out image recognition on the first target video frame to obtain a breeding room number and a breeding room type which are included by the breeding room identification;
analyzing the working state of the indicator light of each controller in the monitoring video according to a preset communication protocol to obtain the controller IP address and the sequencing number of each controller;
acquiring a second target video frame containing the culture room identification and each controller from the monitoring video;
carrying out image recognition on the second target video frame to obtain position information of each controller relative to the culture room identifier;
determining the number and the type of the culture room corresponding to each controller based on a preset number arranging rule, the position information and the culture room number and the type of the culture room included by the culture room identification;
and binding the breeding room number, the breeding room type, the controller IP address, the sequencing number and the equipment identification information of the monitoring equipment.
5. The system of claim 4, wherein the host computer is further to:
determining a target controller corresponding to the controller IP address;
generating binding success information;
and sending the binding success information, the breeding room number and the breeding room type bound by the controller IP address to the target controller.
6. The system of claim 1, wherein the host computer is further to:
and updating the culture room identification information and/or the controller identification information bound with the equipment identification information of the monitoring equipment according to the monitoring video generated by the monitoring equipment.
7. The system of claim 1, 2, 3 or 6, wherein the host computer is to:
acquiring a communication state of the controller;
determining the working state of an indicator light of the controller according to the monitoring video;
determining whether a fault occurs according to the communication state and the working state;
if the fault occurs, generating fault information according to the communication state and the working state;
and sending the fault information to a user terminal.
8. A method for binding farm equipment, which is applied to a binding system of farm equipment according to any one of claims 1 to 7, and comprises the following steps:
controlling the working state of the indicator light according to the controller identification information;
monitoring the farm identity and the controller to generate a monitoring video;
carrying out image recognition on the culture room identification in the monitoring video and the indicator light of the controller to obtain culture room identification information and controller identification information;
binding the culture room identification information, the controller identification information and the equipment identification information of the monitoring equipment;
the plant is provided with at least one row of room of breeding, controller identification information includes controller IP address and sequencing number, according to controller identification information, control the operating condition of pilot lamp includes:
acquiring controller identifications of controllers in each row of cultivation rooms;
determining a ranking number according to the controller identifier;
generating a control signal according to the controller IP address, the ranking number and a preset communication protocol;
controlling the working state of the indicator light according to the control signal;
the method further comprises the following steps:
collecting environmental data of the culture room, and controlling the indicator light to be in a preset working state when the environmental data are abnormal;
when the fact that an indicator lamp of the controller is in a preset working state is identified in the monitoring video, generating environment abnormal information and sending the environment abnormal information to a user terminal, wherein the environment abnormal information comprises a breeding room type and a breeding room number bound to a controller IP address of the controller;
determining equipment identification information bound to the controller IP address, wherein the equipment identification information is the monitoring equipment IP address;
and acquiring the monitoring video of the monitoring equipment corresponding to the IP address of the monitoring equipment.
9. The method of claim 8, wherein the image recognizing the farm identification and the indicator light of the controller in the monitoring video to obtain farm identification information and controller identification information comprises:
acquiring a first target video frame containing the culture room identifier from the monitoring video;
carrying out image recognition on the first target video frame to obtain a breeding room number and a breeding room type which are included by the breeding room identification;
analyzing the working state of the indicator light of each controller in the monitoring video according to a preset communication protocol to obtain the controller IP address and the sequencing number of each controller;
acquiring a second target video frame containing the culture room identification and each controller from the monitoring video;
carrying out image recognition on the second target video frame to obtain the position information of each controller relative to the culture room identifier;
and determining the number and the type of the culture room corresponding to each controller based on a preset culture room identification arrangement rule, the position information, the culture room number and the type of the culture room, wherein the culture room number and the type of the culture room are included by the culture room identification.
10. The method of claim 8, wherein binding the farm identification information, the controller identification information, and the device identification information of the monitoring device comprises:
and binding the breeding room number, the breeding room type, the controller IP address, the sequencing number and the equipment identification information of the monitoring equipment.
11. The method of any one of claims 8-10, further comprising:
determining a target controller corresponding to the controller IP address;
generating binding success information;
and sending the binding success information, the breeding room number and the breeding room type bound by the controller IP address to the target controller.
12. The method of claim 8, wherein the method further comprises:
and updating the culture room identification information and/or the controller identification information bound to the equipment identification of the monitoring equipment according to the monitoring video generated by the monitoring equipment.
13. The method of any one of claims 8-10, further comprising:
acquiring a communication state of the controller;
determining the working state of an indicator light of the controller according to the monitoring video;
determining whether a fault occurs according to the communication state and the working state;
if the fault occurs, generating fault information according to the communication state and the working state;
and sending the fault information to a user terminal.
CN201811296488.1A 2018-11-01 2018-11-01 Binding system and method for farm equipment Active CN109410085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811296488.1A CN109410085B (en) 2018-11-01 2018-11-01 Binding system and method for farm equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811296488.1A CN109410085B (en) 2018-11-01 2018-11-01 Binding system and method for farm equipment

Publications (2)

Publication Number Publication Date
CN109410085A CN109410085A (en) 2019-03-01
CN109410085B true CN109410085B (en) 2021-06-29

Family

ID=65471270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811296488.1A Active CN109410085B (en) 2018-11-01 2018-11-01 Binding system and method for farm equipment

Country Status (1)

Country Link
CN (1) CN109410085B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413303B (en) * 2019-07-23 2023-02-03 日立楼宇技术(广州)有限公司 Controller synchronization method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419663A (en) * 2008-06-05 2009-04-29 华中科技大学 Indicating light status real time monitor and identification method for power equipment fault indicator
CN202034828U (en) * 2011-04-25 2011-11-09 上海申瑞电力科技股份有限公司 Hidden fault monitoring system of transformer station communication device
CN104637237A (en) * 2015-01-19 2015-05-20 无锡桑尼安科技有限公司 Flashlight warning method for stage of zoo
CN105100732A (en) * 2015-08-26 2015-11-25 深圳市银之杰科技股份有限公司 Machine room server remote monitoring method and system
CN105716579A (en) * 2014-12-05 2016-06-29 北京蚁视科技有限公司 Visual positioning system and method based on beacon
CN107480797A (en) * 2017-10-09 2017-12-15 成都深冷凌泰机电科技有限公司 A kind of LNG filling machines fault diagnosis removal system and its operating method
CN107864678A (en) * 2015-06-26 2018-03-30 亚马逊技术公司 Detection and interpretation to visual detector

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419663A (en) * 2008-06-05 2009-04-29 华中科技大学 Indicating light status real time monitor and identification method for power equipment fault indicator
CN202034828U (en) * 2011-04-25 2011-11-09 上海申瑞电力科技股份有限公司 Hidden fault monitoring system of transformer station communication device
CN105716579A (en) * 2014-12-05 2016-06-29 北京蚁视科技有限公司 Visual positioning system and method based on beacon
CN104637237A (en) * 2015-01-19 2015-05-20 无锡桑尼安科技有限公司 Flashlight warning method for stage of zoo
CN107864678A (en) * 2015-06-26 2018-03-30 亚马逊技术公司 Detection and interpretation to visual detector
CN105100732A (en) * 2015-08-26 2015-11-25 深圳市银之杰科技股份有限公司 Machine room server remote monitoring method and system
CN107480797A (en) * 2017-10-09 2017-12-15 成都深冷凌泰机电科技有限公司 A kind of LNG filling machines fault diagnosis removal system and its operating method

Also Published As

Publication number Publication date
CN109410085A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN108566299B (en) Internet of things cloud platform terminal group management method
CN105867245A (en) System for monitoring electric power information
CN105261079A (en) Portable intelligent electric power inspection device
CN108664062A (en) Crop growth monitoring device and its operating system based on dynamic image video analysis
CN110807460B (en) Transformer substation intelligent patrol system based on image recognition and application method thereof
CN105843147A (en) Smart agriculture monitoring and management system
CN213092145U (en) Intelligent management measurement and control system for plant growth
CN110084158B (en) Electric equipment identification method based on intelligent algorithm
CN110932952B (en) Control system, control method and upgrading method of intelligent household product
CN109769328B (en) Method for inquiring state information of lamp and application of method in light control system
CN111551212B (en) Crop information acquisition system based on Internet of things
CN109410085B (en) Binding system and method for farm equipment
CN107966914A (en) Show the methods, devices and systems of image
CN106614071B (en) Sow antenatal behavior monitoring system and method
CN101588267B (en) Method for implementing integrative network management in video monitoring system
CN106227260A (en) A kind of warmhouse booth mobile monitoring system and method thereof
CN215374056U (en) Temperature and humidity acquisition device with multi-machine cascade automatic address allocation function
CN107610260B (en) Intelligent attendance system and attendance method based on machine vision
CN103414571A (en) Information collecting and transmitting convergence node used for industrial monitoring
CN112362102A (en) Monitoring system for immediately monitoring agricultural production environment
WO2023071746A1 (en) Device monitoring method, network management system, and storage medium
CN211826410U (en) LED street lamp state monitoring and fault positioning system
CN111695883A (en) Automatic checking method for consistency of operation of live-line work order and master station listing
CN106818538B (en) A kind of hen house environment monitoring system
CN115349459A (en) Intelligent pigsty monitoring system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant