A method and system for detecting the environmental conditions of a honey powder source
By using the preset sorting strategy and the target difference distance ratio in the environmental condition detection of powder source, the powder source status is quickly identified, which solves the problem of inconvenience in detection of large data collection and improves detection efficiency.
Patent Information
- Application Number
- CN202411487877.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2044-10-24
AI Technical Summary
In the prior art, the detection of the environmental conditions in which the powder source is located requires a large amount of data to be collected, which makes the detection work inconvenient for a long time.
Using a preset sorting strategy, we search for the location information of the powder source on the electronic map, sort the environment detection information, judge whether the value in the environmental detection information sequence is greater than the preset threshold, and find the abnormal powder source through the target difference and target distance to reduce the amount of data collection.
It realizes rapid and accurate detection of the environmental status of the powder source, reduces the workload of data collection, and improves detection efficiency.
Smart Images

Figure CN119203000B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of honey and powder source detection, and in particular, relates to a method and system for detecting environmental conditions of a honey and powder source. Background Art
[0002] Plants that can provide nectar and pollen for bees to survive and reproduce are collectively referred to as nectar and pollen source plants. However, after pesticides are sprayed in the area where the nectar and pollen source plants are located, the bees should be kept in beehives, otherwise it is easy to cause accidental death of the bees. Therefore, it is extremely necessary to test the environmental conditions in the area where the nectar and pollen source plants are located.
[0003] At present, the environmental conditions of the honey pollen source are often detected by traversal method to collect environmental data, which will result in a large amount of data collection and is not convenient for long-term detection work. Summary of the invention
[0004] The present invention provides a method and system for detecting the environmental conditions of a honey powder source, which are used to solve the technical problem that the amount of data collected is large and it is not convenient to carry out long-term detection work.
[0005] In a first aspect, the present invention provides a method for detecting the environmental conditions of a honey and pollen source, comprising:
[0006] Obtaining environmental detection information of an area where at least one honey powder source is located;
[0007] Searching for the location information of the at least one honey powder source on a preset electronic map, and using a preset sorting strategy to sort each piece of environmental detection information to obtain at least one environmental detection information sequence;
[0008] Determine whether a first value corresponding to first environment detection information and a second value corresponding to second environment detection information in a certain environment detection information sequence are both greater than a preset threshold, wherein the first environment detection information is the first environment detection information in the environment detection information sequence, and the second environment detection information is the last environment detection information in the environment detection information sequence;
[0009] If the first value is greater than a preset threshold and the second value is not greater than the preset threshold, a first target difference between the first value and the second value, and a first target distance between a first powder source corresponding to the first environment detection information and a second powder source corresponding to the second environment detection information are obtained;
[0010] searching for third environment detection information in the certain environment detection information sequence according to a first ratio of the first target difference value to the first target distance, and determining whether a second target difference value between a third value corresponding to the third environment detection information and the preset threshold value is greater than a preset difference threshold value;
[0011] If it is greater than the preset difference threshold, searching for the fourth environment detection information in the certain environment detection information sequence according to the second target difference and the second target distance until the difference between the fourth value corresponding to the fourth environment detection information and the preset threshold is less than the preset difference threshold, wherein the second target distance is the distance between the second powder source corresponding to the second environment detection information and the third powder source corresponding to the third environment detection information;
[0012] The powder sources corresponding to all the environmental detection information between the first environmental detection information and the fourth environmental detection information, the powder sources corresponding to the first environmental detection information, and the powder sources corresponding to the fourth environmental detection information are defined as abnormal powder sources, and the powder sources corresponding to all the environmental detection information between the fourth environmental detection information and the second environmental detection information and the powder sources corresponding to the second environmental detection information are defined as normal powder sources.
[0013] In a second aspect, the present invention provides a system for detecting the environmental conditions of a honey and powder source, comprising:
[0014] A first acquisition module is configured to acquire environmental detection information of an area where at least one honey powder source is located;
[0015] A sorting module is configured to search for the location information of the at least one honey powder source on a preset electronic map, and use a preset sorting strategy to sort each piece of environmental detection information to obtain at least one environmental detection information sequence;
[0016] A first judgment module is configured to judge whether a first value corresponding to a first environment detection information and a second value corresponding to a second environment detection information in a certain environment detection information sequence are both greater than a preset threshold, wherein the first environment detection information is the first environment detection information in the environment detection information sequence, and the second environment detection information is the last environment detection information in the environment detection information sequence;
[0017] A second acquisition module is configured to acquire a first target difference between the first value and the second value, and a first target distance between a first powder source corresponding to the first environment detection information and a second powder source corresponding to the second environment detection information if the first value is greater than a preset threshold and the second value is not greater than the preset threshold;
[0018] a second judgment module, configured to search for third environment detection information in the certain environment detection information sequence according to a first ratio of the first target difference value to the first target distance, and judge whether a second target difference value between a third value corresponding to the third environment detection information and the preset threshold value is greater than a preset difference threshold value;
[0019] A search module is configured to search for fourth environment detection information in the certain environment detection information sequence according to the second target difference and the second target distance, if the difference is greater than a preset difference threshold, until the difference between a fourth value corresponding to the fourth environment detection information and the preset threshold is less than the preset difference threshold, wherein the second target distance is the distance between the second powder source corresponding to the second environment detection information and the third powder source corresponding to the third environment detection information;
[0020] A definition module is configured to define the powder sources corresponding to all environmental detection information between the first environmental detection information and the fourth environmental detection information, the powder sources corresponding to the first environmental detection information, and the powder sources corresponding to the fourth environmental detection information as abnormal powder sources, and to define the powder sources corresponding to all environmental detection information between the fourth environmental detection information and the second environmental detection information and the powder sources corresponding to the second environmental detection information as normal powder sources.
[0021] According to a third aspect, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the method for detecting the environmental conditions of a powder source in any embodiment of the present invention.
[0022] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor executes the steps of the method for detecting the environmental conditions of a powder source in any embodiment of the present invention.
[0023] The method and system for detecting the environmental conditions of a powder source in the present application adopt a preset sorting strategy to obtain multiple environmental detection information sequences that do not affect each other horizontally, and determine whether a first numerical value corresponding to a first environmental detection information and a second numerical value corresponding to a second environmental detection information in a certain environmental detection information sequence are both greater than a preset threshold value. If the first numerical value is greater than the preset threshold value and the second numerical value is not greater than the preset threshold value, a first target difference between the first numerical value and the second numerical value, and a first target distance between a first powder source corresponding to the first environmental detection information and a second powder source corresponding to the second environmental detection information are obtained. According to a first ratio of the first target difference to the first target distance, the third environmental detection information is searched in a certain environmental detection information sequence. The status of the powder source corresponding to each environmental detection information in a single environmental detection information sequence can be detected relatively quickly and accurately, which can reduce the workload of data collection. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.
[0025] Figure 1 A flow chart of a method for detecting the environmental conditions of a honey powder source provided by an embodiment of the present invention;
[0026] Figure 2 A structural block diagram of a system for detecting the environmental conditions of a honey powder source provided by an embodiment of the present invention;
[0027] Figure 3 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] See also Figure 1 , which shows a flow chart of a method for detecting the environmental conditions of a honey powder source in the present application.
[0030] like Figure 1 As shown, the method for detecting the environmental conditions of the honey powder source specifically includes the following steps:
[0031] Step S101, obtaining environmental detection information of an area where at least one honey powder source is located.
[0032] Step S102, searching for the location information of the at least one honey powder source on a preset electronic map, and using a preset sorting strategy to sort each piece of environmental detection information to obtain at least one environmental detection information sequence.
[0033] In this step, the wind direction information of the area where at least one honey powder source is located is obtained, and the position information of the first target honey powder source is obtained, wherein the first target honey powder source is the honey powder source that is located at the front among all honey powder sources when the wind direction in the wind direction information is the positive direction; taking the first target honey powder source as the starting point, a sliding window of a preset size is used to move in the positive direction for the first time, and the honey powder sources covered when the sliding window moves are sorted based on the position information to obtain a first environment detection information sequence; taking the second target honey powder source as the starting point, a sliding window of a preset size is used to move in the positive direction for the second time, and other honey powder sources covered when the sliding window moves are sorted based on the position information to obtain a second environment detection information sequence, until all honey powder sources are sorted, wherein the second target honey powder source is the honey powder source that is located at the front among other honey powder sources when the wind direction in the wind direction information is the positive direction, and other honey powder sources are honey powder sources among all honey powder sources excluding the honey powder sources corresponding to the first environment detection information sequence.
[0034] In this embodiment, since the chemical pollutants in the environment are propagated with the wind direction, but the lateral and longitudinal influence ranges of the propagation path are limited, through the above-mentioned sorting strategy, multiple environmental detection information sequences that do not affect each other laterally can be set, thereby improving the accuracy of subsequent honey powder source environmental detection. For example, the horizontal coordinates of honey powder source A on the electronic map are (1m, 2m), the horizontal coordinates of honey powder source B on the electronic map are (2m, 3m), the horizontal coordinates of honey powder source C on the electronic map are (2m, 5m), the horizontal coordinates of honey powder source D on the electronic map are (3m, 4m), the horizontal coordinates of honey powder source E on the electronic map are (4m, 2m), and the horizontal coordinates of honey powder source F on the electronic map are (4m, 5m).
[0035] If the ray at 45° to the X-axis is the wind direction, that is, the positive direction, then powder source A is the first target powder source, and with powder source A as the starting point, the powder sources covered when the sliding window moves include powder source B, powder source D, and powder source F. That is, powder source A, powder source B, powder source D, and powder source F are sequentially sorted to obtain the first environment detection information sequence. Powder source C and powder source E are respectively sorted to obtain the second environment detection information sequence and the third environment detection information sequence.
[0036] Step S103, determine whether a first value corresponding to a first environment detection information and a second value corresponding to a second environment detection information in a certain environment detection information sequence are both greater than a preset threshold, wherein the first environment detection information is the first environment detection information in the environment detection information sequence, and the second environment detection information is the last environment detection information in the environment detection information sequence.
[0037] In a specific embodiment, if the first numerical value is not greater than a preset threshold and the second numerical value is greater than the preset threshold, the first target difference between the first numerical value and the second numerical value, and the first target distance between the first powder source corresponding to the first environment detection information and the second powder source corresponding to the second environment detection information are obtained, and the third environment detection information is searched in a certain environment detection information sequence according to the first ratio of the first target difference to the first target distance; if both the first numerical value and the second numerical value are not greater than the preset threshold, all powder sources are defined as normal powder sources; if both the first numerical value and the second numerical value are greater than the preset threshold, the first target difference between the first numerical value and the second numerical value, and the first target distance between the first powder source corresponding to the first environment detection information and the second powder source corresponding to the second environment detection information are obtained, and the third environment detection information is searched in a certain environment detection information sequence according to the first ratio of the first target difference to the first target distance.
[0038] It should be noted that, in the first case where the first value is not greater than the preset threshold and the second value is greater than the preset threshold, and in the second case where both the first value and the second value are greater than the preset threshold, the situations performed in steps S104-S107 are opposite to each other, and the principles are the same, so they will not be elaborated here.
[0039] Step S104, if the first value is greater than a preset threshold and the second value is not greater than the preset threshold, obtain a first target difference between the first value and the second value, and a first target distance between the first powder source corresponding to the first environmental detection information and the second powder source corresponding to the second environmental detection information.
[0040] Step S105, searching for third environment detection information in the environment detection information sequence according to the first ratio of the first target difference to the first target distance, and determining whether a second target difference between a third value corresponding to the third environment detection information and the preset threshold is greater than a preset difference threshold.
[0041] In this step, the standard deviation between the first numerical value and the preset threshold is obtained, and the first standard distance is determined according to the standard deviation and the first ratio, where the first standard distance is the value obtained by dividing the standard deviation by the first ratio; according to the first standard distance, the third environment detection information is searched in a certain environment detection information sequence, wherein the distance between the third powder source corresponding to the third environment detection information and the first powder source is less than the distance difference between the first standard distance and the preset distance threshold.
[0042] In a specific embodiment, after determining whether the second target difference between the third numerical value corresponding to the third environmental detection information and the preset threshold is greater than the preset difference threshold, if it is not greater than the preset difference threshold, the powder sources corresponding to all environmental detection information between the first environmental detection information and the third environmental detection information, the powder sources corresponding to the first environmental detection information, and the powder sources corresponding to the third environmental detection information are directly defined as abnormal powder sources, and the powder sources corresponding to all environmental detection information between the third environmental detection information and the second environmental detection information and the powder sources corresponding to the second environmental detection information are defined as normal powder sources.
[0043] Step S106, if it is greater than the preset difference threshold, search for the fourth environment detection information in the certain environment detection information sequence according to the second target difference and the second target distance, until the difference between the fourth value corresponding to the fourth environment detection information and the preset threshold is less than the preset difference threshold, wherein the second target distance is the distance between the second powder source corresponding to the second environment detection information and the third powder source corresponding to the third environment detection information.
[0044] In this step, if it is greater than the preset difference threshold, the target difference between the third value and the second value is obtained, and the second ratio of the target difference to the second target distance is calculated; the second standard distance is determined according to the second target difference and the second ratio, and the second standard distance is the value obtained by dividing the second target difference by the second ratio; according to the second standard distance, the fourth environment detection information is searched in a certain environment detection information sequence, wherein the distance difference between the fourth powder source and the third powder source corresponding to the fourth environment detection information and the second standard distance is less than the preset distance threshold.
[0045] Step S107, define the powder sources corresponding to all environmental detection information between the first environmental detection information to the fourth environmental detection information, the powder sources corresponding to the first environmental detection information, and the powder sources corresponding to the fourth environmental detection information as abnormal powder sources, and define the powder sources corresponding to all environmental detection information between the fourth environmental detection information to the second environmental detection information and the powder sources corresponding to the second environmental detection information as normal powder sources.
[0046] In summary, the method of the present application adopts a preset sorting strategy to set up multiple environmental detection information sequences that do not affect each other horizontally, and determines whether the first numerical value corresponding to the first environmental detection information and the second numerical value corresponding to the second environmental detection information in a certain environmental detection information sequence are both greater than a preset threshold value. If the first numerical value is greater than the preset threshold value and the second numerical value is not greater than the preset threshold value, then the first target difference between the first numerical value and the second numerical value, and the first target distance between the first powder source corresponding to the first environmental detection information and the second powder source corresponding to the second environmental detection information are obtained. According to the first ratio of the first target difference to the first target distance, the third environmental detection information is searched in a certain environmental detection information sequence, so that each environmental detection information pair in a single environmental detection information sequence can be sorted. The state of the corresponding pollen source can be detected relatively quickly and accurately, which can reduce the workload of data collection, and especially in some specific cases, it can effectively improve the efficiency of detecting the environmental state of the area where each pollen source is located. For example, the first environmental detection information sequence is obtained by arranging pollen source A, pollen source B, pollen source D and pollen source F in sequence. If the change of pesticide concentration based on distance is used for simple judgment, when the pesticide values corresponding to pollen source A and pollen source F are greater than the preset threshold, then pollen source A, pollen source B, pollen source D and pollen source F should all be abnormal. However, in actual situations, when pesticides are sprayed in the area where pollen source A and pollen source F are located, the environment is in an abnormal state. Due to the propagation of wind direction, the pesticide values of pollen source B and pollen source D may exceed the standard, or may not exceed the standard. Therefore, the method of the present application can be used to identify the above situation relatively quickly.
[0047] See also Figure 2 , which shows a structural block diagram of an environmental condition detection system for a honey and powder source in the present application.
[0048] like Figure 2 As shown, the environmental condition detection system 200 includes a first acquisition module 210, a sorting module 220, a first judgment module 230, a second acquisition module 240, a second judgment module 250, a search module 260 and a definition module 270.
[0049] Among them, the first acquisition module 210 is configured to obtain environmental detection information of the area where at least one honey powder source is located; the sorting module 220 is configured to search for the location information of the at least one honey powder source on a preset electronic map, and use a preset sorting strategy to sort each environmental detection information to obtain at least one environmental detection information sequence; the first judgment module 230 is configured to judge whether the first value corresponding to the first environmental detection information and the second value corresponding to the second environmental detection information in a certain environmental detection information sequence are both greater than a preset threshold, wherein the first environmental detection information is the first environmental detection information in the environmental detection information sequence, and the second environmental detection information is the last environmental detection information in the environmental detection information sequence; the second acquisition module 240 is configured to obtain a first target difference between the first value and the second value, and a first target distance between the first honey powder source corresponding to the first environmental detection information and the second honey powder source corresponding to the second environmental detection information if the first value is greater than the preset threshold and the second value is not greater than the preset threshold; the second judgment module 250 is configured to determine whether the first target difference and the first The first ratio of the target distance searches for the third environment detection information in the certain environment detection information sequence, and determines whether the second target difference between the third numerical value corresponding to the third environment detection information and the preset threshold is greater than the preset difference threshold; the search module 260 is configured to search for the fourth environment detection information in the certain environment detection information sequence according to the second target difference and the second target distance if it is greater than the preset difference threshold, until the difference between the fourth numerical value corresponding to the fourth environment detection information and the preset threshold is less than the preset difference threshold, wherein the second target distance is the distance between the second powder source corresponding to the second environment detection information and the third powder source corresponding to the third environment detection information; the definition module 270 is configured to define the powder sources corresponding to all environment detection information between the first environment detection information to the fourth environment detection information, the powder source corresponding to the first environment detection information, and the powder source corresponding to the fourth environment detection information as abnormal powder sources, and define the powder sources corresponding to all environment detection information between the fourth environment detection information to the second environment detection information and the powder source corresponding to the second environment detection information as normal powder sources.
[0050] In some other embodiments, the embodiments of the present invention further provide a computer-readable storage medium having a computer program stored thereon, and when the program instructions are executed by a processor, the processor is caused to execute the method for detecting the environmental condition of the honey powder source in any of the above method embodiments;
[0051] As an implementation mode, the computer-readable storage medium of the present invention stores computer-executable instructions, and the computer-executable instructions are configured as follows:
[0052] Obtaining environmental detection information of an area where at least one honey powder source is located;
[0053] Searching for the location information of the at least one honey powder source on a preset electronic map, and using a preset sorting strategy to sort each piece of environmental detection information to obtain at least one environmental detection information sequence;
[0054] Determine whether a first value corresponding to first environment detection information and a second value corresponding to second environment detection information in a certain environment detection information sequence are both greater than a preset threshold, wherein the first environment detection information is the first environment detection information in the environment detection information sequence, and the second environment detection information is the last environment detection information in the environment detection information sequence;
[0055] If the first value is greater than a preset threshold and the second value is not greater than the preset threshold, a first target difference between the first value and the second value, and a first target distance between a first powder source corresponding to the first environment detection information and a second powder source corresponding to the second environment detection information are obtained;
[0056] searching for third environment detection information in the certain environment detection information sequence according to a first ratio of the first target difference value to the first target distance, and determining whether a second target difference value between a third value corresponding to the third environment detection information and the preset threshold value is greater than a preset difference threshold value;
[0057] If it is greater than the preset difference threshold, searching for the fourth environment detection information in the certain environment detection information sequence according to the second target difference and the second target distance until the difference between the fourth value corresponding to the fourth environment detection information and the preset threshold is less than the preset difference threshold, wherein the second target distance is the distance between the second powder source corresponding to the second environment detection information and the third powder source corresponding to the third environment detection information;
[0058] The powder sources corresponding to all the environmental detection information between the first environmental detection information and the fourth environmental detection information, the powder sources corresponding to the first environmental detection information, and the powder sources corresponding to the fourth environmental detection information are defined as abnormal powder sources, and the powder sources corresponding to all the environmental detection information between the fourth environmental detection information and the second environmental detection information and the powder sources corresponding to the second environmental detection information are defined as normal powder sources.
[0059] The computer-readable storage medium may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the environmental condition detection system where the honey powder source is located, etc. In addition, the computer-readable storage medium may include a high-speed random access memory, and may also include a memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the computer-readable storage medium may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the environmental condition detection system where the honey powder source is located via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0060] Figure 3 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 3 As shown, the device includes: a processor 310 and a memory 320. The electronic device may also include: an input device 330 and an output device 340. The processor 310, the memory 320, the input device 330 and the output device 340 may be connected via a bus or other means. Figure 3 In the example, the bus connection is used. The memory 320 is the computer-readable storage medium mentioned above. The processor 310 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 320, that is, the environmental condition detection method of the powder source in the above method embodiment is realized. The input device 330 can receive input digital or character information, and generate key signal input related to user settings and function control of the environmental condition detection system where the powder source is located. The output device 340 may include a display device such as a display screen.
[0061] The electronic device can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.
[0062] As an implementation mode, the electronic device is applied to an environmental condition detection system of a honey powder source, and is used for a client, and includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can:
[0063] Obtaining environmental detection information of an area where at least one honey powder source is located;
[0064] Searching for the location information of the at least one honey powder source on a preset electronic map, and using a preset sorting strategy to sort each piece of environmental detection information to obtain at least one environmental detection information sequence;
[0065] Determine whether a first value corresponding to first environment detection information and a second value corresponding to second environment detection information in a certain environment detection information sequence are both greater than a preset threshold, wherein the first environment detection information is the first environment detection information in the environment detection information sequence, and the second environment detection information is the last environment detection information in the environment detection information sequence;
[0066] If the first value is greater than a preset threshold and the second value is not greater than the preset threshold, a first target difference between the first value and the second value, and a first target distance between a first powder source corresponding to the first environment detection information and a second powder source corresponding to the second environment detection information are obtained;
[0067] searching for third environment detection information in the certain environment detection information sequence according to a first ratio of the first target difference value to the first target distance, and determining whether a second target difference value between a third value corresponding to the third environment detection information and the preset threshold value is greater than a preset difference threshold value;
[0068] If it is greater than the preset difference threshold, searching for the fourth environment detection information in the certain environment detection information sequence according to the second target difference and the second target distance until the difference between the fourth value corresponding to the fourth environment detection information and the preset threshold is less than the preset difference threshold, wherein the second target distance is the distance between the second powder source corresponding to the second environment detection information and the third powder source corresponding to the third environment detection information;
[0069] The powder sources corresponding to all the environmental detection information between the first environmental detection information and the fourth environmental detection information, the powder sources corresponding to the first environmental detection information, and the powder sources corresponding to the fourth environmental detection information are defined as abnormal powder sources, and the powder sources corresponding to all the environmental detection information between the fourth environmental detection information and the second environmental detection information and the powder sources corresponding to the second environmental detection information are defined as normal powder sources.
[0070] Through the description of the above implementation modes, those skilled in the art can clearly understand that each implementation mode can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on such an understanding, the above technical solution can essentially or in other words be embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.
[0071] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for detecting the environmental conditions of a honey powder source, characterized in that: include: Obtaining environmental detection information of an area where at least one honey powder source is located; Searching for the location information of the at least one honey powder source on a preset electronic map, and using a preset sorting strategy to sort each piece of environmental detection information to obtain at least one environmental detection information sequence, wherein using a preset sorting strategy to sort each piece of environmental detection information to obtain at least one environmental detection information sequence includes: Obtain wind direction information of the area where the at least one powder source is located, and obtain position information of a first target powder source, wherein the first target powder source is a powder source that is located at the front among all powder sources when the wind direction in the wind direction information is a positive direction; Taking the first target powder source as a starting point, using a sliding window of a preset size to perform a first movement along the positive direction, and sorting the powder sources covered by the sliding window when moving based on the position information to obtain a first environment detection information sequence; Taking the second target powder source as the starting point, a sliding window of a preset size is used to move along the positive direction for the second time, and other powder sources covered by the sliding window when moving are sorted based on the position information to obtain a second environment detection information sequence, until all powder sources are sorted, wherein the second target powder source is the powder source that is at the front among other powder sources when the wind direction in the wind direction information is the positive direction, and the other powder sources are the powder sources among all powder sources excluding the powder sources corresponding to the first environment detection information sequence; Determine whether a first value corresponding to first environment detection information and a second value corresponding to second environment detection information in a certain environment detection information sequence are both greater than a preset threshold, wherein the first environment detection information is the first environment detection information in the environment detection information sequence, and the second environment detection information is the last environment detection information in the environment detection information sequence; If the first value is greater than a preset threshold and the second value is not greater than the preset threshold, a first target difference between the first value and the second value, and a first target distance between a first powder source corresponding to the first environment detection information and a second powder source corresponding to the second environment detection information are obtained; searching for third environment detection information in the certain environment detection information sequence according to a first ratio of the first target difference value to the first target distance, and determining whether a second target difference value between a third value corresponding to the third environment detection information and the preset threshold value is greater than a preset difference threshold value; If it is greater than the preset difference threshold, searching for the fourth environment detection information in the certain environment detection information sequence according to the second target difference and the second target distance until the difference between the fourth value corresponding to the fourth environment detection information and the preset threshold is less than the preset difference threshold, wherein the second target distance is the distance between the second powder source corresponding to the second environment detection information and the third powder source corresponding to the third environment detection information; The powder sources corresponding to all the environmental detection information between the first environmental detection information and the fourth environmental detection information, the powder sources corresponding to the first environmental detection information, and the powder sources corresponding to the fourth environmental detection information are defined as abnormal powder sources, and the powder sources corresponding to all the environmental detection information between the fourth environmental detection information and the second environmental detection information and the powder sources corresponding to the second environmental detection information are defined as normal powder sources.
2. A method for detecting the environmental conditions of a honey powder source according to claim 1, characterized in that: After determining whether a first value corresponding to the first environment detection information and a second value corresponding to the second environment detection information in a certain environment detection information sequence are both greater than a preset threshold, the method further includes: If the first value is not greater than a preset threshold, and the second value is greater than a preset threshold, a first target difference between the first value and the second value, and a first target distance between a first powder source corresponding to the first environment detection information and a second powder source corresponding to the second environment detection information are obtained, and third environment detection information is searched in the certain environment detection information sequence according to a first ratio of the first target difference to the first target distance; If both the first value and the second value are not greater than the preset threshold, all powder sources are defined as normal powder sources; If both the first value and the second value are greater than a preset threshold, a first target difference between the first value and the second value, and a first target distance between a first powder source corresponding to the first environment detection information and a second powder source corresponding to the second environment detection information are obtained, and the third environment detection information is searched in the environment detection information sequence according to a first ratio of the first target difference to the first target distance.
3. A method for detecting the environmental conditions of a honey powder source according to claim 1, characterized in that: The searching for the third environment detection information in the certain environment detection information sequence according to the first ratio of the first target difference value to the first target distance comprises: Obtaining a standard deviation between the first value and the preset threshold, and determining a first standard distance according to the standard deviation and the first ratio, wherein the first standard distance is a value obtained by dividing the standard deviation by the first ratio; The third environment detection information is searched in the certain environment detection information sequence according to the first standard distance, wherein the distance difference between the third powder source corresponding to the third environment detection information and the first powder source and the first standard distance is less than a preset distance threshold.
4. A method for detecting the environmental conditions of a honey powder source according to claim 1, characterized in that: After determining whether a second target difference between a third value corresponding to the third environment detection information and the preset threshold is greater than a preset difference threshold, the method further includes: If it is not greater than the preset difference threshold, the powder sources corresponding to all environmental detection information between the first environmental detection information and the third environmental detection information, the powder sources corresponding to the first environmental detection information, and the powder sources corresponding to the third environmental detection information are directly defined as abnormal powder sources, and the powder sources corresponding to all environmental detection information between the third environmental detection information and the second environmental detection information, and the powder sources corresponding to the second environmental detection information are defined as normal powder sources.
5. The method for detecting the environmental conditions of a honey powder source according to claim 1, characterized in that: The searching for the fourth environment detection information in the certain environment detection information sequence according to the second target difference and the second target distance comprises: Obtaining a target difference between the third value and the second value, and calculating a second ratio of the target difference to the second target distance; Determine a second standard distance according to the second target difference and the second ratio, the second standard distance being a value obtained by dividing the second target difference by the second ratio; The fourth environment detection information is searched in the certain environment detection information sequence according to the second standard distance, wherein the distance difference between the fourth powder source corresponding to the fourth environment detection information and the third powder source and the second standard distance is less than a preset distance threshold.
6. A system for detecting the environmental conditions of a honey powder source, characterized in that: include: A first acquisition module is configured to acquire environmental detection information of an area where at least one honey powder source is located; The sorting module is configured to search for the location information of the at least one honey powder source on a preset electronic map, and use a preset sorting strategy to sort each piece of environmental detection information to obtain at least one environmental detection information sequence, wherein the use of the preset sorting strategy to sort each piece of environmental detection information to obtain at least one environmental detection information sequence includes: Obtain wind direction information of the area where the at least one powder source is located, and obtain position information of a first target powder source, wherein the first target powder source is a powder source that is located at the front among all powder sources when the wind direction in the wind direction information is a positive direction; Taking the first target powder source as a starting point, using a sliding window of a preset size to perform a first movement along the positive direction, and sorting the powder sources covered by the sliding window when moving based on the position information to obtain a first environment detection information sequence; Taking the second target powder source as the starting point, a sliding window of a preset size is used to move along the positive direction for the second time, and other powder sources covered by the sliding window when moving are sorted based on the position information to obtain a second environment detection information sequence, until all powder sources are sorted, wherein the second target powder source is the powder source that is at the front among other powder sources when the wind direction in the wind direction information is the positive direction, and the other powder sources are the powder sources among all powder sources excluding the powder sources corresponding to the first environment detection information sequence; A first judgment module is configured to judge whether a first value corresponding to a first environment detection information and a second value corresponding to a second environment detection information in a certain environment detection information sequence are both greater than a preset threshold, wherein the first environment detection information is the first environment detection information in the environment detection information sequence, and the second environment detection information is the last environment detection information in the environment detection information sequence; A second acquisition module is configured to acquire a first target difference between the first value and the second value, and a first target distance between a first powder source corresponding to the first environment detection information and a second powder source corresponding to the second environment detection information if the first value is greater than a preset threshold and the second value is not greater than the preset threshold; a second judgment module, configured to search for third environment detection information in the certain environment detection information sequence according to a first ratio of the first target difference value to the first target distance, and judge whether a second target difference value between a third value corresponding to the third environment detection information and the preset threshold value is greater than a preset difference threshold value; A search module is configured to search for fourth environment detection information in the certain environment detection information sequence according to the second target difference and the second target distance, if the difference is greater than a preset difference threshold, until the difference between a fourth value corresponding to the fourth environment detection information and the preset threshold is less than the preset difference threshold, wherein the second target distance is the distance between the second powder source corresponding to the second environment detection information and the third powder source corresponding to the third environment detection information; A definition module is configured to define the powder sources corresponding to all environmental detection information between the first environmental detection information and the fourth environmental detection information, the powder sources corresponding to the first environmental detection information, and the powder sources corresponding to the fourth environmental detection information as abnormal powder sources, and to define the powder sources corresponding to all environmental detection information between the fourth environmental detection information and the second environmental detection information and the powder sources corresponding to the second environmental detection information as normal powder sources.
7. An electronic device, characterized in that: include: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method described in any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Neural network-based abnormal-traffic detection method and system
CN109617888A
Prediction method and system for honey production
CN111815202A