Spraying control method, electronic equipment and program product
Through the linkage of camera monitoring and spray water valve control system, the problem of untimely cooling of the spray system and waste of water sources is solved, precise spraying and water sources for breeding animals are achieved, and spraying efficiency is improved.
Patent Information
- Application Number
- CN202411336829.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2044-09-25
AI Technical Summary
The existing spray systems have problems of untimely cooling and waste of water during the cooling process, resulting in inefficient spraying.
Obtain the current image through the camera, determine whether the camera is offset, and determine whether there are target animals in the detection area. Generate control instructions based on the status of the spray water valve, accurately control the opening and closing of the spray water valve, and ensure that the spray water valve and the spray water valve are Linkage of target animals.
Accurate spraying of target animals is achieved, water sources are saved, and the efficiency of spraying is improved.
Smart Images

Figure CN118844357B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of data processing, and in particular to a spray control method, electronic equipment, and program product. Background Art
[0002] As the scale of the breeding industry expands, the scale of breeding sheds is also getting bigger and bigger.
[0003] The temperature inside the breeding shed is greatly affected by the environment. When the ambient temperature is high, the temperature inside the breeding shed is also high, which will affect the feeding and growth of the breeding animals. At present, when the temperature inside the shed is high, the breeding animals can be cooled by spraying them manually, or by opening the spray water valve to spray and cool the breeding animals, so as to reduce the impact on the breeding animals.
[0004] In the above-mentioned process of spraying and cooling the farmed animals, there may be situations where the cooling is not timely and water resources are wasted, resulting in reduced efficiency of the spraying. Summary of the invention
[0005] The embodiments of the present application provide a spray control method, electronic equipment and program product to solve the defects in the prior art such as untimely cooling and waste of water resources, which lead to reduced efficiency of spraying.
[0006] In a first aspect, the present application provides a spray control method, which is applied to a spray system, wherein the spray system is used to control at least one spray water valve to be selected, including:
[0007] Get the current image captured by the camera;
[0008] Determining whether the camera is offset according to the current image;
[0009] If not, determine the detection area corresponding to the current image, determine whether there is a target animal in the detection area, and obtain a detection result;
[0010] A control instruction is generated according to the water valve state of the at least one spray water valve to be selected and the detection result, and the at least one spray water valve to be selected is controlled according to the control instruction.
[0011] In a possible implementation manner, generating a control instruction according to the water valve state of the at least one spray water valve to be selected and the detection result includes:
[0012] If the detection result is that there is a target animal in the detection area, determine at least one first spray water valve corresponding to the target animal, and generate a control instruction according to the water valve state of at least one first spray water valve and at least one spray water valve to be selected, wherein the first spray water valve is the spray water valve to be selected that has the shortest horizontal distance to the corresponding target animal;
[0013] If the detection result is that there is no target animal in the detection area, determine whether there is a second sprinkler water valve with a water valve state in the at least one to be selected sprinkler water valve, and if so, generate a first closing instruction. The control instruction includes the first closing instruction, and the first closing instruction is used to control the water valve state of the second sprinkler water valve to a closed state.
[0014] In a possible implementation manner, generating a control instruction according to the water valve status of at least one first spray water valve and the at least one spray water valve to be selected includes:
[0015] If there is a first spray water valve whose water valve state is in a closed state among the at least one first spray water valve, a first opening instruction is generated, and the control instruction includes the first opening instruction, and the first opening instruction is used to control the water valve state of the first spray water valve to be in an open state;
[0016] If there is a third spray water valve other than the at least one first spray water valve among the at least one spray water valve to be selected, determine whether the water valve state of the third spray water valve is open, and if so, generate a second closing instruction, and the control instruction includes the second closing instruction, and the second closing instruction is used to control the water valve state of the third spray water valve to be closed.
[0017] In a possible implementation, for any target animal, determining the first spray water valve corresponding to the target animal includes:
[0018] Determining a first horizontal position corresponding to the target animal;
[0019] Determine a second horizontal position corresponding to each of the at least one spray water valve to be selected;
[0020] In at least one second horizontal position, determining a target horizontal position that is shortest in distance from the first horizontal position;
[0021] The to-be-selected spray water valve corresponding to the target horizontal position is determined as the first spray water valve corresponding to the target animal.
[0022] In a possible implementation manner, controlling the at least one spray water valve to be selected according to the control instruction includes:
[0023] Sending the control instruction to the water valve controller via the instruction transceiver;
[0024] According to the control instruction, the at least one spray water valve to be selected is controlled by the water valve controller.
[0025] In a possible implementation, judging, according to the current image, whether the camera is offset includes:
[0026] Acquire configuration information, the configuration information including calibration position information corresponding to the detection area and calibration object information, the calibration object information including a preset position and a preset number of the at least one spray water valve to be selected;
[0027] It is determined whether the camera is offset according to the current image and the configuration information.
[0028] In a possible implementation manner, before obtaining the configuration information, the method further includes:
[0029] Receiving the configuration information sent by a target terminal, where the target terminal is a terminal associated with the sprinkler system;
[0030] The configuration information is generated in the following manner:
[0031] Displaying the calibration image captured by the camera and the area calibration control through the target terminal, wherein the area calibration control is used to determine the calibration position information corresponding to the detection area in the calibration image;
[0032] Through the target terminal, in response to the user selecting a partial area in the calibration image through the area calibration control, the position information corresponding to the partial area is determined as the calibration position information, and the partial area is identified to determine the calibration object information.
[0033] In a possible implementation, judging whether the camera is offset according to the current image and the configuration information includes:
[0034] Performing recognition processing on the current image to determine the water valve position corresponding to the at least one selected sprinkler water valve; determining whether there is a water valve position of a selected sprinkler water valve whose distance from the corresponding preset position is greater than a preset threshold; if so, determining that the camera is offset; if not, determining that the camera is not offset; or
[0035] The current image is identified and processed to determine the number of water valves corresponding to the at least one selected sprinkler water valve; whether the number of water valves is less than the preset number is determined; if so, determining that the camera is offset; if not, determining that the camera is not offset.
[0036] In a possible implementation, the spray system includes a plurality of spray water valves, and the method further includes:
[0037] Get the current temperature;
[0038] If the current temperature is greater than or equal to a first threshold, determining the plurality of spray water valves as the at least one spray water valve to be selected;
[0039] If the current temperature is less than the first threshold, some of the multiple spray water valves are determined as the at least one spray water valve to be selected.
[0040] In a second aspect, the present application provides a spray control device, which is applied to a spray system, wherein the spray system is used to control at least one spray water valve to be selected, and the device comprises:
[0041] An acquisition module is used to obtain the current image captured by the camera;
[0042] A judging module, used for judging whether the camera is offset according to the current image;
[0043] If not, the detection module is used to determine the detection area corresponding to the current image, determine whether there is a target animal in the detection area, and obtain a detection result;
[0044] The control module is used to generate a control instruction according to the water valve state of the at least one spray water valve to be selected and the detection result, and control the at least one spray water valve to be selected according to the control instruction.
[0045] In a possible implementation manner, the control module is specifically used to:
[0046] If the detection result is that there is a target animal in the detection area, determine at least one first spray water valve corresponding to the target animal, and generate a control instruction according to the water valve state of at least one first spray water valve and at least one spray water valve to be selected, wherein the first spray water valve is the spray water valve to be selected that has the shortest horizontal distance to the corresponding target animal;
[0047] If the detection result is that there is no target animal in the detection area, determine whether there is a second sprinkler water valve with a water valve state in the at least one to be selected sprinkler water valve, and if so, generate a first closing instruction. The control instruction includes the first closing instruction, and the first closing instruction is used to control the water valve state of the second sprinkler water valve to a closed state.
[0048] In a possible implementation manner, the control module is specifically used to:
[0049] If there is a first spray water valve whose water valve state is in a closed state among the at least one first spray water valve, a first opening instruction is generated, and the control instruction includes the first opening instruction, and the first opening instruction is used to control the water valve state of the first spray water valve to be in an open state;
[0050] If there is a third spray water valve other than the at least one first spray water valve among the at least one spray water valve to be selected, determine whether the water valve state of the third spray water valve is open, and if so, generate a second closing instruction, and the control instruction includes the second closing instruction, and the second closing instruction is used to control the water valve state of the third spray water valve to be closed.
[0051] In a possible implementation, for any target animal, the control module is specifically used to:
[0052] Determining a first horizontal position corresponding to the target animal;
[0053] Determine a second horizontal position corresponding to each of the at least one spray water valve to be selected;
[0054] In at least one second horizontal position, determining a target horizontal position that is shortest in distance from the first horizontal position;
[0055] The to-be-selected spray water valve corresponding to the target horizontal position is determined as the first spray water valve corresponding to the target animal.
[0056] In a possible implementation manner, the control module is specifically used to:
[0057] Sending the control instruction to the water valve controller via the instruction transceiver;
[0058] According to the control instruction, the at least one spray water valve to be selected is controlled by the water valve controller.
[0059] In a possible implementation manner, the determination module is specifically configured to:
[0060] Acquire configuration information, the configuration information including calibration position information corresponding to the detection area and calibration object information, the calibration object information including a preset position and a preset number of the at least one spray water valve to be selected;
[0061] It is determined whether the camera is offset according to the current image and the configuration information.
[0062] In a possible implementation, the device further includes a transceiver module, and the transceiver module is used to:
[0063] Receiving the configuration information sent by a target terminal, where the target terminal is a terminal associated with the sprinkler system;
[0064] The configuration information is generated in the following manner:
[0065] Displaying the calibration image captured by the camera and the area calibration control through the target terminal, wherein the area calibration control is used to determine the calibration position information corresponding to the detection area in the calibration image;
[0066] Through the target terminal, in response to the user selecting a partial area in the calibration image through the area calibration control, the position information corresponding to the partial area is determined as the calibration position information, and the partial area is identified to determine the calibration object information.
[0067] In a possible implementation manner, the determination module is specifically configured to:
[0068] Performing recognition processing on the current image to determine the water valve position corresponding to the at least one selected sprinkler water valve; determining whether there is a water valve position of a selected sprinkler water valve whose distance from the corresponding preset position is greater than a preset threshold; if so, determining that the camera is offset; if not, determining that the camera is not offset; or
[0069] The current image is identified and processed to determine the number of water valves corresponding to the at least one selected sprinkler water valve; whether the number of water valves is less than the preset number is determined; if so, determining that the camera is offset; if not, determining that the camera is not offset.
[0070] In a possible implementation, the spray system includes a plurality of spray water valves, and the device further includes a determination module, which is used to:
[0071] Get the current temperature;
[0072] If the current temperature is greater than or equal to a first threshold, determining the plurality of spray water valves as the at least one spray water valve to be selected;
[0073] If the current temperature is less than the first threshold, some of the multiple spray water valves are determined as the at least one spray water valve to be selected.
[0074] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0075] The memory stores computer-executable instructions;
[0076] The processor executes the computer-executable instructions stored in the memory to implement the method described in any one of the first aspects.
[0077] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.
[0078] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the method as described in any one of the first aspects when executed by a computer.
[0079] The embodiment of the present application provides a spray control method, electronic device and program product, which obtains the current image taken by the camera, determines whether the camera is offset according to the current image, and if not, determines the detection area corresponding to the current image, determines whether there is a target animal in the detection area, obtains the detection result, generates a control instruction according to the water valve state of at least one spray water valve to be selected, and controls at least one spray water valve to be selected according to the control instruction. In this way, the spray water valve and the target animal are linked together, and when the target animal is in the detection area, the spray water valve can be opened to achieve accurate spraying of the target animal. When the target animal leaves the detection area, the spray water valve can be closed to save water and improve the efficiency of spraying. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0081] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0082] Figure 2 A schematic diagram of another application scenario provided for an embodiment of the present application;
[0083] Figure 3 A schematic diagram of a flow chart of a spray control method provided in an embodiment of the present application;
[0084] Figure 4 A schematic flow chart of another spray control method provided in an embodiment of the present application;
[0085] Figure 5 A schematic diagram of a detection area provided in an embodiment of the present application;
[0086] Figure 6 A schematic flow chart of another spray control method provided in an embodiment of the present application;
[0087] Figure 7 A schematic diagram of another detection area provided in an embodiment of the present application;
[0088] Figure 8 A schematic flow chart of another spray control method provided in an embodiment of the present application;
[0089] Fig. 9 A schematic diagram of another detection area provided in an embodiment of the present application;
[0090] Fig.10 A schematic flow chart of another spray control method provided in an embodiment of the present application;
[0091] Fig.11 A schematic diagram of the structure of a spray control device provided in an embodiment of the present application;
[0092] Fig.12 A schematic diagram of the structure of another spray control device provided in an embodiment of the present application;
[0093] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0094] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0095] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0096] It should be noted that, although the terms "first", "second", etc. are used to describe various information in the embodiments of the present application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. Optionally, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information.
[0097] It should be understood that the terms "comprises" and "includes" indicate the presence of the previously mentioned features, steps, operations, but do not exclude the presence, occurrence or addition of one or at least one other feature, step, operation. The terms "and / or" and the like used in this application may be interpreted as inclusive, or mean any one or any combination. Optionally, "A and / or B" means "any of the following: A; B; A and B". In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship.
[0098] In the related art, as the scale of the breeding industry expands, the scale of breeding sheds is also getting larger and larger.
[0099] The temperature inside the breeding shed is greatly affected by the environment. When the ambient temperature is high, the temperature inside the breeding shed is also relatively high, which will affect the feeding and growth of the breeding animals. When the temperature inside the shed is high, the breeding animals can be cooled down by artificial spraying, or the spray water valve can be opened to spray the breeding animals to reduce the impact on the breeding animals.
[0100] In the above-mentioned process of spraying and cooling the farmed animals, there may be situations where the cooling is not timely and water resources are wasted, resulting in reduced efficiency of the spraying.
[0101] In order to solve the above technical problems, the embodiment of the present application provides a method for controlling spraying, which obtains the current image captured by the camera through the spraying system, detects whether the camera is offset, and when there is no offset, determines whether there is a target animal in the detection area of the current image, obtains the detection result, and controls the spraying valve to be opened or closed according to the detection result and the water valve state of the spraying valve. In this way, the spraying valve and the target animal are linked together. When the target animal is in the detection area, the spraying valve can be opened to achieve accurate spraying of the target animal. When the target animal leaves the detection area, the spraying valve can be closed to save water and improve the efficiency of spraying.
[0102] Next, combine Figure 1 and Figure 2 , an example is given to illustrate the architecture of the sprinkler system.
[0103] In one possible implementation, Figure 1 This is a schematic diagram of an application scenario provided by the embodiment of this application. Figure 1 , Figure 1 It may include a camera 101 , a hard disk recorder 102 , a command transceiver 103 and a water valve controller 104 .
[0104] The camera 101 can be connected to the hard disk video recorder 102 for communication. The hard disk video recorder 102 can be connected to the command transceiver 103 for communication. The command transceiver 103 can be connected to the water valve controller 104 for communication.
[0105] The camera 101 can be set in the breeding shed, and the activity status and environmental conditions of the target animals can be monitored in real time through the camera 101.
[0106] The hard disk video recorder 102 can be used to store the video information captured by the camera 101. The sprinkler system can be arranged in the hard disk video recorder 102, and can obtain the real-time image captured by the camera 101, and analyze and process the real-time image to determine the control instruction.
[0107] The instruction transceiver 103 can be used to send control instructions to the water valve controller 104 .
[0108] The water valve controller 104 can receive the control instruction sent by the instruction transceiver, and control the sprinkler water valve according to the control instruction to make the sprinkler water valve in an open state or a closed state.
[0109] In one possible implementation, Figure 2 Another application scenario diagram provided for the embodiment of the present application. Figure 2 , Figure 2 It may include a network camera 105 , a command transceiver 103 and a water valve controller 104 .
[0110] The network camera 105 can be set in the breeding shed, and the sprinkler system can be set in the network camera 105. The real-time image can be captured by the camera in the network camera 105, and the real-time image can be analyzed and processed to determine the control instructions.
[0111] The instruction transceiver 103 can be used to send control instructions to the water valve controller 104 .
[0112] The water valve controller 104 can receive the control instruction sent by the instruction transceiver, and control the sprinkler water valve according to the control instruction to make the sprinkler water valve in an open state or a closed state.
[0113] The technical solution shown in the present application is described in detail below through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.
[0114] Figure 3 A schematic flow chart of a spray control method provided in an embodiment of the present application. The execution subject of the embodiment of the present application can be a spray system or a processor in the spray system. The spray system can be implemented by software or by a combination of software and hardware. The spray system is used to control at least one spray water valve to be selected. Figure 3 , the method comprising:
[0115] S301, obtaining a current image captured by a camera.
[0116] The camera can be installed above the breeding shed to capture environmental information in the breeding shed and animal information of the target animals.
[0117] The current image may be an image captured in real time by a camera, and the current image may include at least one sprinkler valve to be selected and at least one target animal.
[0118] The current image captured by the camera can be obtained within a preset period.
[0119] S302: Determine whether the camera is offset according to the current image.
[0120] Since the camera is installed in the breeding shed, when the target animal moves, the ground may be subjected to excessive force due to the target animal's heavy weight, causing slight vibrations in the breeding shed structure. In the long run, this can easily cause the camera installation to be unstable and cause the camera to shift.
[0121] Optionally, the current image can be identified and processed to determine the water valve position corresponding to at least one selected sprinkler water valve; obtain the preset position corresponding to at least one selected sprinkler water valve; determine whether there is a water valve position of a selected sprinkler water valve whose distance from the corresponding preset position is greater than a preset threshold; if so, determine that the camera is offset; if not, determine that the camera is not offset.
[0122] Optionally, the current image can be identified and processed to determine the number of water valves corresponding to at least one selected sprinkler water valve; determine whether the number of water valves is less than a preset number; if so, determine that the camera is offset; if not, determine that the camera is not offset.
[0123] Optionally, configuration information may be obtained; and whether the camera is offset may be determined based on the current image and the configuration information.
[0124] The configuration information may include calibration position information corresponding to the detection area and calibration object information, wherein the calibration object information includes a preset position and a preset number of at least one spray water valve to be selected. The calibration position information may be the coordinate information of the detection area determined by the user during calibration.
[0125] It should be noted that the electronic device can determine whether the camera is offset according to any feasible implementation method, and the embodiments of the present application are not limited to this.
[0126] The deviation warning information can be used to remind the user to adjust the camera to eliminate the deviation phenomenon.
[0127] S303: If not, determine the detection area corresponding to the current image, determine whether there is a target animal in the detection area, and obtain a detection result.
[0128] The detection area may be an area calibrated by a user and linked to at least one spray water valve to be selected.
[0129] The target animal may be a poultry animal raised in a breeding shed, for example, a cow or a horse.
[0130] When the target animal is in the detection area, the spray water valve closest to the target animal is determined from at least one selected spray water valve, and the spray water valve is controlled to be in an open state to spray and cool the target animal. When the target animal leaves the detection area, the spray water valve is controlled to be in a closed state.
[0131] The detection result may include the presence of the target animal in the detection area or the absence of the target animal in the detection area.
[0132] If not, the calibration position information can be obtained, and the detection area corresponding to the current image can be determined based on the calibration position information and the current image, and the detection area can be identified and processed to determine whether there is a target animal in the detection area to obtain the detection result.
[0133] S304: Generate a control instruction according to the water valve state of at least one spray water valve to be selected and the detection result, and control at least one spray water valve to be selected according to the control instruction.
[0134] The spray system is used to control at least one spray water valve to be selected.
[0135] The water valve state may be a current state corresponding to at least one spray water valve to be selected.
[0136] The water valve state can be an open state or a closed state. The open state can be used to indicate that the spray water valve to be selected is performing spraying work.
[0137] The closed state can be used to indicate that the spray water valve to be selected is not performing the spraying operation.
[0138] Optionally, the spray system includes multiple spray water valves, and at least one spray water valve to be selected can be determined in the following manner: obtain the current temperature; if the current temperature is greater than or equal to a first threshold, determine the multiple spray water valves as at least one spray water valve to be selected; if the current temperature is less than the first threshold, determine some of the multiple spray water valves as at least one spray water valve to be selected.
[0139] In this way, different spraying strategies can be determined according to the current temperature.
[0140] Some sprinkler water valves can be determined according to actual conditions and are not limited here.
[0141] For example, the plurality of spray water valves may be double-sided spray water valves, and some of the spray water valves may be spray water valves on one side of the double-sided spray water valves.
[0142] For another example, a part of the spray water valves may be at least one spray water valve designated by a user from among a plurality of spray water valves.
[0143] Optionally, the update status of at least one selected sprinkler water valve can be determined based on the detection results, a control instruction can be generated based on the update status and the water valve status, and at least one selected sprinkler water valve can be controlled to switch from the water valve status to the update status according to the control instruction.
[0144] Among them, the control instruction can be generated according to the update status and the water valve status in the following manner: for any to-be-selected sprinkler water valve, when the update status of the to-be-selected sprinkler water valve is different from the water valve status of the to-be-selected sprinkler water valve, a control instruction is generated according to the update status.
[0145] Optionally, if the detection result is that there is a target animal in the detection area, determine the first spray water valve corresponding to at least one target animal, and generate a control instruction based on the water valve status of at least one first spray water valve and at least one selected spray water valve; if the detection result is that there is no target animal in the detection area, determine whether there is a second spray water valve with an open water valve status in at least one selected spray water valve, and if so, generate a first closing instruction, and the control instruction includes the first closing instruction.
[0146] Among them, the first spray water valve is a candidate spray water valve with the shortest horizontal distance to the corresponding target animal, and the first closing instruction is used to control the water valve state of the second spray water valve to be a closed state.
[0147] Optionally, at least one spray water valve to be selected may be controlled according to the control instruction in the following manner: a control instruction is sent to a water valve controller through an instruction transceiver; and according to the control instruction, at least one spray water valve to be selected is controlled by the water valve controller.
[0148] It should be noted that the electronic device can generate a control instruction according to any feasible implementation method through the water valve state of at least one to-be-selected sprinkler water valve and the detection result, and the embodiment of the present application is not limited to this.
[0149] The spray control method provided in this embodiment obtains the current image captured by the camera, determines whether the camera is offset according to the current image, and if not, determines the detection area corresponding to the current image, determines whether there is a target animal in the detection area, obtains the detection result, generates a control instruction according to the water valve state of at least one spray water valve to be selected, and controls at least one spray water valve to be selected according to the control instruction. In this way, the spray water valve and the target animal are linked together, and when the target animal is in the detection area, the spray water valve can be opened to achieve accurate spraying of the target animal. When the target animal leaves the detection area, the spray water valve can be closed to save water and improve the efficiency of spraying.
[0150] Next, combine Figure 4 , the process (S304) of generating a control instruction according to the water valve state of at least one spray water valve to be selected and the detection result is explained.
[0151] Figure 4 This is a flow chart of another spray control method provided in the embodiment of the present application. Based on the above embodiment, please refer to Figure 4 , the method is described in detail. The method comprises:
[0152] S401, determining whether the detection result indicates that a target animal exists in the detection area.
[0153] If yes, execute S402;
[0154] If not, execute S404.
[0155] S402: Determine a first spray water valve corresponding to at least one target animal.
[0156] The first spray water valve is a spray water valve to be selected which has the shortest horizontal distance to the corresponding target animal.
[0157] For any target animal, the position coordinates of the target animal and the position coordinates of at least one spray water valve to be selected can be obtained. Based on the position coordinates of the target animal and the position coordinates of at least one spray water valve to be selected, the distance from the target animal to each spray water valve to be selected can be determined, and the spray water valve to be selected with the shortest distance can be determined as the first spray water valve.
[0158] Optionally, for any target animal, the first spray water valve corresponding to the target animal can be determined in the following manner: determine the first horizontal position corresponding to the target animal; determine the second horizontal position corresponding to at least one selected spray water valve; among at least one second horizontal position, determine the target horizontal position with the shortest distance to the first horizontal position; and determine the selected spray water valve corresponding to the target horizontal position as the first spray water valve corresponding to the target animal.
[0159] The first horizontal position and the second horizontal position may be positions determined by a coordinate system with the lower left corner of the current image as the origin, or may be positions determined by a coordinate system with the lower left corner of the detection area as the origin.
[0160] Next, combine Figure 5 , the process of determining the first sprinkler water valve corresponding to the target animal is illustrated by way of example.
[0161] Figure 5 A schematic diagram of a detection area provided in an embodiment of the present application. Figure 5 , Figure 5 It may be a current image, the current image includes a detection area, and the detection area includes three sprinkler valves to be selected and a target animal.
[0162] Assume that the first horizontal position corresponding to the target animal is determined to be X1, and the second horizontal positions corresponding to the three spray valves to be selected are X2, X3, and X4 respectively.
[0163] Determine the horizontal distances corresponding to the target animal and the three spray water valves to be selected as |X2-X1|, |X3-X1|, and |X4-X1|, respectively; determine the target horizontal position with the shortest distance to the first horizontal position among multiple second horizontal positions according to the horizontal distances; and determine the spray water valve to be selected corresponding to the target horizontal position as the first spray water valve corresponding to the target animal.
[0164] S403: Generate a control instruction according to the water valve status of at least one first spray water valve and at least one to-be-selected spray water valve.
[0165] It can be determined that the updated state of at least one first spray water valve is open, and the updated state of the spray water valves other than the first spray water valve is closed, and a control instruction is generated according to the updated state of at least one spray water valve to be selected.
[0166] Optionally, a control instruction can be generated according to the water valve status of the first spray water valve and at least one spray water valve to be selected in the following manner: if there is a first spray water valve whose water valve status is closed among at least one first spray water valve, a first opening instruction is generated; if there is a third spray water valve other than at least one first spray water valve among at least one spray water valve to be selected, it is determined whether the water valve status of the third spray water valve is open, and if so, a second closing instruction is generated.
[0167] The control instruction includes a first opening instruction and a second closing instruction. The first opening instruction is used to control the water valve state of the first spray water valve to be an opening state, and the second closing instruction is used to control the water valve state of the third spray water valve to be a closing state.
[0168] S404: If it is determined that there is a second spray water valve whose water valve state is open in at least one spray water valve to be selected, generate a first closing instruction.
[0169] The control instruction includes a first closing instruction.
[0170] The first closing instruction is used to control the water valve state of the second sprinkler water valve to be closed.
[0171] When there is no target animal in the detection area, it can be detected whether there is a spray water valve in the open state among at least one spray water valve to be selected. If yes, the spray water valve is closed to save water.
[0172] The implementation content of each step in the embodiment of the present application can refer to the description of the corresponding steps or operations in the above method embodiment, and repeated content will not be repeated.
[0173] The present embodiment provides a method for controlling spraying. If the detection result is that there is a target animal in the detection area, determine the first spray water valve corresponding to at least one target animal, and generate a control instruction based on the water valve status of at least one first spray water valve and at least one spray water valve to be selected. The first spray water valve is the spray water valve to be selected with the shortest horizontal distance to the corresponding target animal. If the detection result is that there is no target animal in the detection area, determine whether there is a second spray water valve with an open water valve status in at least one spray water valve to be selected. If so, generate a first closing instruction. The control instruction includes the first closing instruction. The first closing instruction is used to control the water valve status of the second spray water valve to be closed. In this way, the spray water valve and the target animal are linked. When the target animal is in the detection area, the spray water valve can be opened to achieve accurate spraying of the target animal. When the target animal leaves the detection area, the spray water valve can be closed to save water and improve the efficiency of spraying.
[0174] Next, combine Figure 6 , the process of determining whether the camera is offset according to the current image (S302) is explained.
[0175] Figure 6 A flow chart of another spray control method provided in the embodiment of the present application. Based on the above embodiment, see Figure 6 , the method comprising:
[0176] S601: Obtain configuration information.
[0177] The configuration information includes the calibration position information corresponding to the detection area and the calibration object information.
[0178] The configuration information may be sent by a target terminal, which may be a terminal associated with the sprinkler system.
[0179] The calibration object information includes a preset position and a preset number of at least one sprinkler water valve to be selected.
[0180] The preset position may be the coordinate position of the spray water valve to be selected in the calibration image when calibrating the detection area.
[0181] S602: Perform recognition processing on the current image to determine the water valve position corresponding to at least one spray water valve to be selected.
[0182] The water valve position may be the coordinate position of the spray water valve to be selected in the current image.
[0183] At least one spray water valve to be selected may be identified in the current image to determine the water valve position corresponding to the at least one spray water valve to be selected.
[0184] S603: Determine whether there is a sprinkler water valve to be selected whose water valve position is at a distance greater than a preset threshold from the corresponding preset position.
[0185] If yes, execute S604;
[0186] If not, execute S605.
[0187] The preset threshold may be a preset value.
[0188] If the distance between the water valve position of the to-be-selected sprinkler water valve and the corresponding preset position is greater than the preset threshold, the to-be-selected sprinkler water valve has exceeded the detection area, affecting the detection accuracy.
[0189] S604: Determine whether the camera is offset.
[0190] Optionally, if it is determined that the camera is offset, an offset alarm message may be sent to the target terminal.
[0191] The target terminal may be a terminal associated with the sprinkler system.
[0192] Next, combine Figure 7 , an example is given to illustrate the situation where the camera is offset.
[0193] Figure 7 This is a schematic diagram of another detection area provided in an embodiment of the present application. Figure 7 , Figure 7 It may be a current image, the current image includes a detection area, and the detection area includes 8 sprinkler water valves to be selected.
[0194] When there is a distance Y between the water valve position of a to-be-selected sprinkler water valve and the corresponding preset position that is greater than a preset threshold, it is determined that the camera is offset.
[0195] S605: Determine whether the camera is offset.
[0196] The implementation content of each step in the embodiment of the present application can refer to the description of the corresponding steps or operations in the above method embodiment, and repeated content will not be repeated.
[0197] The spray control method provided in this embodiment obtains configuration information, which includes calibration position information corresponding to the detection area and calibration object information, and the calibration object information includes the preset position and preset number of at least one spray water valve to be selected; recognizes and processes the current image to determine the water valve position corresponding to at least one spray water valve to be selected; determines whether there is a water valve position of a spray water valve to be selected and the distance between the water valve position and the corresponding preset position is greater than a preset threshold; if so, determines that the camera is offset; if not, determines that the camera is not offset. In this way, accurate monitoring of the detection area can be achieved, and then accurate spraying of the target animal can be achieved to improve the efficiency of spraying.
[0198] Next, combine Figure 8 , the process of determining whether the camera is offset according to the current image (S302) is explained.
[0199] Figure 8 This is a flow chart of another spray control method provided in the embodiment of the present application. Based on the above embodiment, please refer to Figure 8 , the method comprising:
[0200] S801. Obtain configuration information.
[0201] The configuration information includes the calibration position information corresponding to the detection area and the calibration object information.
[0202] The configuration information may be sent by a target terminal, which may be a terminal associated with the sprinkler system.
[0203] The calibration object information includes a preset position and a preset number of at least one sprinkler water valve to be selected.
[0204] S802: Perform recognition processing on the current image to determine the number of water valves corresponding to at least one spray water valve to be selected.
[0205] At least one spray water valve to be selected may be identified in the current image to determine the number of water valves corresponding to the at least one spray water valve to be selected.
[0206] S803: Determine whether the number of water valves is less than a preset number.
[0207] If yes, execute S804;
[0208] If not, execute S805.
[0209] If the number of water valves is less than the preset number, the spray water valves to be selected are beyond the shooting range of the camera, affecting the detection accuracy.
[0210] S804: Determine whether the camera is offset.
[0211] Optionally, if it is determined that the camera is offset, an offset alarm message may be sent to the target terminal.
[0212] The target terminal may be a terminal associated with the sprinkler system.
[0213] Next, combine Fig. 9 , an example is given to illustrate the situation where the camera is offset.
[0214] Fig. 9 This is a schematic diagram of another detection area provided in an embodiment of the present application. Fig. 9 , Fig. 9 It may be a current image, the current image includes a detection area, and the detection area includes 7 sprinkler water valves to be selected. Assume that the preset number is 8.
[0215] If the number of sprinkler water valves to be selected is less than the preset number, it is determined that the camera is offset.
[0216] S805: Determine whether the camera is offset.
[0217] The implementation content of each step in the embodiment of the present application can refer to the description of the corresponding steps or operations in the above method embodiment, and repeated content will not be repeated.
[0218] The spray control method provided in this embodiment obtains configuration information, which includes calibration position information corresponding to the detection area and calibration object information, and the calibration object information includes the preset position and preset number of at least one spray water valve to be selected; recognizes and processes the current image to determine the water valve position corresponding to at least one spray water valve to be selected; determines whether there is a water valve position of a spray water valve to be selected and the distance between the water valve position and the corresponding preset position is greater than a preset threshold; if so, determines that the camera is offset; if not, determines that the camera is not offset. In this way, accurate monitoring of the detection area can be achieved, and then accurate spraying of the target animal can be achieved to improve the efficiency of spraying.
[0219] In a possible implementation manner, before obtaining the configuration information, the method further includes receiving the configuration information sent by a target terminal, where the target terminal is a terminal associated with the sprinkler system. Fig.10 , the specific process of generating configuration information for the target terminal is explained.
[0220] Fig.10This is a flow chart of another spray control method provided by the embodiment of the present application. Based on the above embodiment, the execution subject of the embodiment of the present application can be the target terminal, which can be seen in Fig.10 , the method comprising:
[0221] S1001. Display the calibration image and area calibration controls taken by the camera.
[0222] The calibration image may be an image captured in real time by the camera when the camera is not offset.
[0223] The area calibration control is used to determine the calibration position information corresponding to the detection area in the calibration image.
[0224] The calibration image captured by the camera can be displayed in real time, and the regional calibration control can be displayed at the preset position of the calibration image.
[0225] Optionally, before displaying the calibration image and area calibration controls taken by the camera, the spray linkage mode is also turned on. The spray linkage mode can be turned on in the following way: displaying a configuration interface, the configuration interface including a spray linkage turn-on control, and in response to the user selecting the spray linkage turn-on control, turning on the spray linkage mode.
[0226] Among them, the spray linkage mode can be to open the corresponding spray water valve only when the target animal is detected in the detection area.
[0227] S1002: In response to a user selecting a partial area in the calibration image through the area calibration control, position information corresponding to the partial area is determined as calibration position information, and recognition processing is performed on the partial area to determine calibration object information.
[0228] In response to a user clicking on an area calibration control, a calibration interface can be displayed, the calibration interface including a calibration image captured by the corresponding camera when the user performs the clicking operation; in response to a user selecting a partial area in the calibration image on the calibration interface, position information corresponding to the partial area is determined as calibration position information, and the partial area is identified and processed to determine the calibration object information.
[0229] The implementation content of each step in the embodiment of the present application can refer to the description of the corresponding steps or operations in the above method embodiment, and repeated content will not be repeated.
[0230] The spray control method provided in this embodiment displays the calibration image and the area calibration control taken by the camera through the target terminal, and the area calibration control is used to determine the calibration position information corresponding to the detection area in the calibration image; through the target terminal, in response to the user's selection operation of a part of the area in the calibration image through the area calibration control, the position information corresponding to the part of the area is determined as the calibration position information, and the part of the area is identified and processed to determine the calibration object information. In this way, the user can set the configuration information on the target terminal, which is more in line with the user's actual needs, thereby achieving accurate spraying of the target animal to improve the efficiency of spraying.
[0231] Fig.11 This is a schematic diagram of the structure of a spray control device provided in an embodiment of the present application. Fig.11 , applied to a sprinkler system, the sprinkler system is used to control at least one sprinkler water valve to be selected, the device 1100 includes an acquisition module 1101, a judgment module 1102, a detection module 1103 and a control module 1104, wherein,
[0232] An acquisition module 1101 is used to acquire a current image captured by a camera;
[0233] A determination module 1102 is used to determine whether the camera is offset according to the current image;
[0234] If not, the detection module 1103 is used to determine the detection area corresponding to the current image, determine whether there is a target animal in the detection area, and obtain a detection result;
[0235] The control module 1104 is used to generate a control instruction according to the water valve state of the at least one spray water valve to be selected and the detection result, and control the at least one spray water valve to be selected according to the control instruction.
[0236] In a possible implementation, the control module 1104 is specifically configured to:
[0237] If the detection result is that there is a target animal in the detection area, determine at least one first spray water valve corresponding to the target animal, and generate a control instruction according to the water valve state of at least one first spray water valve and at least one spray water valve to be selected, wherein the first spray water valve is the spray water valve to be selected that has the shortest horizontal distance to the corresponding target animal;
[0238] If the detection result is that there is no target animal in the detection area, determine whether there is a second sprinkler water valve with a water valve state in the at least one to be selected sprinkler water valve, and if so, generate a first closing instruction. The control instruction includes the first closing instruction, and the first closing instruction is used to control the water valve state of the second sprinkler water valve to a closed state.
[0239] In a possible implementation, the control module 1104 is specifically configured to:
[0240] If there is a first spray water valve whose water valve state is in a closed state among the at least one first spray water valve, a first opening instruction is generated, and the control instruction includes the first opening instruction, and the first opening instruction is used to control the water valve state of the first spray water valve to be in an open state;
[0241] If there is a third spray water valve other than the at least one first spray water valve among the at least one spray water valve to be selected, determine whether the water valve state of the third spray water valve is open, and if so, generate a second closing instruction, and the control instruction includes the second closing instruction, and the second closing instruction is used to control the water valve state of the third spray water valve to be closed.
[0242] In a possible implementation, for any target animal, the control module 1104 is specifically used to:
[0243] Determining a first horizontal position corresponding to the target animal;
[0244] Determine a second horizontal position corresponding to each of the at least one spray water valve to be selected;
[0245] In at least one second horizontal position, determining a target horizontal position that is shortest in distance from the first horizontal position;
[0246] The to-be-selected spray water valve corresponding to the target horizontal position is determined as the first spray water valve corresponding to the target animal.
[0247] In a possible implementation, the control module 1104 is specifically configured to:
[0248] Sending the control instruction to the water valve controller via the instruction transceiver;
[0249] According to the control instruction, the at least one spray water valve to be selected is controlled by the water valve controller.
[0250] In a possible implementation, the determination module 1102 is specifically configured to:
[0251] Acquire configuration information, the configuration information including calibration position information corresponding to the detection area and calibration object information, the calibration object information including a preset position and a preset number of the at least one spray water valve to be selected;
[0252] It is determined whether the camera is offset according to the current image and the configuration information.
[0253] In a possible implementation, the determination module 1102 is specifically configured to:
[0254] Performing recognition processing on the current image to determine the water valve position corresponding to the at least one selected sprinkler water valve; determining whether there is a water valve position of a selected sprinkler water valve whose distance from the corresponding preset position is greater than a preset threshold; if so, determining that the camera is offset; if not, determining that the camera is not offset; or
[0255] The current image is identified and processed to determine the number of water valves corresponding to the at least one selected sprinkler water valve; whether the number of water valves is less than the preset number is determined; if so, determining that the camera is offset; if not, determining that the camera is not offset.
[0256] Fig.12 This is a schematic diagram of the structure of another spray control device provided in an embodiment of the present application. Fig.11 Based on the examples shown, see Fig.12 , the device 1100 also includes a transceiver module 1105.
[0257] The transceiver module 1105 is used for:
[0258] Receiving the configuration information sent by a target terminal, where the target terminal is a terminal associated with the sprinkler system;
[0259] The configuration information is generated in the following manner:
[0260] Displaying the calibration image captured by the camera and the area calibration control through the target terminal, wherein the area calibration control is used to determine the calibration position information corresponding to the detection area in the calibration image;
[0261] Through the target terminal, in response to the user selecting a partial area in the calibration image through the area calibration control, the position information corresponding to the partial area is determined as the calibration position information, and the partial area is identified to determine the calibration object information.
[0262] The transceiver module 1105 is also used for:
[0263] If the camera is offset, an offset warning message is sent to the target terminal.
[0264] In a possible implementation manner, the apparatus further includes a determining module 1106, and the determining module 1106 is configured to:
[0265] Get the current temperature;
[0266] If the current temperature is greater than or equal to a first threshold, determining the plurality of spray water valves as the at least one spray water valve to be selected;
[0267] If the current temperature is less than the first threshold, some of the multiple spray water valves are determined as the at least one spray water valve to be selected.
[0268] Fig.13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.13 , the electronic device 1300 may include: a memory 1301 , a processor 1302 , and a transceiver 1303 .
[0269] The memory 1301 is used to store program instructions;
[0270] The processor 1302 is used to execute the program instructions stored in the memory, so as to enable the electronic device 1300 to execute the above method.
[0271] The transceiver 1303 may include: a transmitter and / or a receiver. The transmitter may also be referred to as a transmitter, a transmitter, a transmission port, a transmission interface, or the like, and the receiver may also be referred to as a receiver, a reception port, a reception interface, or the like. Exemplarily, the memory 1301, the processor 1302, and the transceiver 1303 are interconnected via a bus 1304.
[0272] The embodiment of the present application also provides a computer program product, which can be executed by a processor. When the computer program product is executed, the above method can be implemented.
[0273] The spray control device, electronic device, computer-readable storage medium and computer program product of the embodiments of the present application can execute the technical solutions shown in the above-mentioned spray control method embodiments. Their implementation principles and beneficial effects are similar and will not be repeated here.
[0274] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The above-mentioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the above-mentioned memory (storage medium) includes: read-only memory (ROM), random access memory (RAM), flash memory, hard disk, solid state drive, magnetic tape, floppy disk, optical disc and any combination thereof.
[0275] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer-executable instructions. These computer-executable instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0276] These computer executable instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0277] These computer executable instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0278] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for controlling a spray, characterized in that: Applied to a sprinkler system, the sprinkler system is used to control at least one sprinkler water valve to be selected, including: Get the current image captured by the camera; Determining whether the camera is offset according to the current image; If not, determine the detection area corresponding to the current image, determine whether there is a target animal in the detection area, and obtain a detection result; Generate a control instruction according to the water valve state of the at least one spray water valve to be selected and the detection result, and control the at least one spray water valve to be selected according to the control instruction; The determining, according to the current image, whether the camera is offset includes: Acquire configuration information, the configuration information including calibration position information corresponding to the detection area and calibration object information, the calibration object information including a preset position and a preset number of the at least one spray water valve to be selected; Performing recognition processing on the current image to determine the water valve position corresponding to the at least one selected sprinkler water valve; determining whether there is a water valve position of a selected sprinkler water valve whose distance from the corresponding preset position is greater than a preset threshold; if so, determining that the camera is offset; if not, determining that the camera is not offset; or The current image is identified and processed to determine the number of water valves corresponding to the at least one selected sprinkler water valve; whether the number of water valves is less than the preset number is determined; if so, determining that the camera is offset; if not, determining that the camera is not offset.
2. The method according to claim 1, characterized in that: Generating a control instruction according to the water valve state of the at least one spray water valve to be selected and the detection result, including: If the detection result is that there is a target animal in the detection area, determine at least one first spray water valve corresponding to the target animal, and generate a control instruction according to the water valve state of at least one first spray water valve and at least one spray water valve to be selected, wherein the first spray water valve is the spray water valve to be selected that has the shortest horizontal distance to the corresponding target animal; If the detection result is that there is no target animal in the detection area, determine whether there is a second sprinkler water valve with a water valve state in the at least one to be selected sprinkler water valve, and if so, generate a first closing instruction. The control instruction includes the first closing instruction, and the first closing instruction is used to control the water valve state of the second sprinkler water valve to a closed state.
3. The method according to claim 2, characterized in that Generate a control instruction according to the water valve status of at least one first spray water valve and the at least one spray water valve to be selected, including: If there is a first spray water valve whose water valve state is in a closed state among the at least one first spray water valve, a first opening instruction is generated, and the control instruction includes the first opening instruction, and the first opening instruction is used to control the water valve state of the first spray water valve to be in an open state; If there is a third spray water valve other than the at least one first spray water valve among the at least one spray water valve to be selected, determine whether the water valve state of the third spray water valve is open, and if so, generate a second closing instruction, and the control instruction includes the second closing instruction, and the second closing instruction is used to control the water valve state of the third spray water valve to be closed.
4. The method according to claim 2, characterized in that: For any target animal, determining the first spray water valve corresponding to the target animal includes: Determining a first horizontal position corresponding to the target animal; Determine a second horizontal position corresponding to each of the at least one spray water valve to be selected; In at least one second horizontal position, determining a target horizontal position that is shortest in distance from the first horizontal position; The to-be-selected spray water valve corresponding to the target horizontal position is determined as the first spray water valve corresponding to the target animal.
5. The method according to any one of claims 1 to 4, characterized in that: Before obtaining configuration information, it also includes: Receiving the configuration information sent by a target terminal, where the target terminal is a terminal associated with the sprinkler system; The configuration information is generated in the following manner: Displaying the calibration image captured by the camera and the area calibration control through the target terminal, wherein the area calibration control is used to determine the calibration position information corresponding to the detection area in the calibration image; Through the target terminal, in response to the user selecting a partial area in the calibration image through the area calibration control, the position information corresponding to the partial area is determined as the calibration position information, and the partial area is identified to determine the calibration object information.
6. The method according to any one of claims 1 to 4, characterized in that: The spray system includes a plurality of spray water valves, and the method further includes: Get the current temperature; If the current temperature is greater than or equal to a first threshold, determining the plurality of spray water valves as the at least one spray water valve to be selected; If the current temperature is less than the first threshold, some of the multiple spray water valves are determined as the at least one spray water valve to be selected.
7. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that: Computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
9. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 6 when being executed by a processor.
