Mosquito extermination method and device, electronic device and storage medium

By determining the dwell time at preset points in the mosquito-killing device and simulating human body temperature to attract mosquitoes, combined with an electric grid click mode, the problem of traditional mosquito-killing devices being unable to move and having diminishing mosquito-killing effects has been solved, achieving efficient elimination of mosquitoes throughout the entire area.

CN116420696BActive Publication Date: 2026-03-24CHINA CONSTRUCTION BANK +1
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-18
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Traditional mosquito control devices are immobile, can only eliminate mosquitoes in a certain area, and their effectiveness decreases with distance.

Method used

By determining preset points in the space to be mosquito-killed, adjusting the dwell time, simulating human body temperature to attract mosquitoes, and combining this with the electric grid click mode to kill mosquitoes, the dwell time is adjusted according to the amount of mosquitoes killed, and a planned path is used to kill mosquitoes.

Benefits of technology

It achieved complete elimination of mosquitoes in the entire area, solved the problem of decreasing mosquito control effectiveness with distance, and improved resource utilization efficiency and mosquito control effectiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116420696B_ABST
    Figure CN116420696B_ABST
Patent Text Reader

Abstract

The present disclosure discloses a mosquito killing method and device, electronic equipment and storage medium, which relates to the technical field of communication. The method comprises: determining an initial value of a staying time length of each preset point in a space to be killed, wherein the preset point is a space point passed by a mosquito killing device when moving in the space to be killed; killing mosquitoes at each preset point for a corresponding staying time length, adjusting the corresponding staying time length at each preset point according to the amount of mosquito killing, repeating the current step until a preset stop condition is reached, and obtaining a target staying time length of each preset point; passing each preset point according to a preset path, and killing mosquitoes at each preset point for a corresponding target staying time length. The present disclosure can adjust the staying time length of the mosquito killing device at each preset point in the space to be killed according to the amount of mosquito killing, thereby improving the utilization efficiency of resources and shortening the mosquito killing time.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of communication, and particularly relates to a mosquito killing method, a mosquito killing device, an electronic device and a storage medium. BACKGROUND

[0002] Mosquitoes are one of the most important health pests of human beings. Mosquito bites not only affect human health, but also can transmit viruses. The traditional mosquito killing device used in the prior art cannot move, can only kill mosquitoes in part of the area, and the mosquito killing effect has a distance decreasing effect.

[0003] To solve the above problems, the present disclosure provides a mosquito killing method, a mosquito killing device, an electronic device and a storage medium. SUMMARY

[0004] The present disclosure provides a mosquito killing method and device, an electronic device and a storage medium, and the main purpose is to solve the problems in the related art that the mosquito killing device cannot move, can only kill mosquitoes in part of the area, and the mosquito killing effect has a distance decreasing effect.

[0005] According to an aspect of the present disclosure, a mosquito killing method is provided, comprising: determining an initial value of a stay duration of each preset point in a space to be killed, the preset point being a space point passed by a mosquito killing device when moving in the space to be killed; staying at each preset point for a corresponding stay duration to kill mosquitoes, and adjusting the corresponding stay duration at each preset point according to the amount of mosquito killing, repeating the current step until a preset stop condition is reached, and obtaining a target stay duration of each preset point; passing each preset point according to a preset path, and staying at each preset point for a corresponding target stay duration to kill mosquitoes.

[0006] In the present disclosure, the step of staying at each preset point for a corresponding stay duration to kill mosquitoes comprises: staying at each preset point for a corresponding current stay duration, simulating human body temperature to attract mosquitoes during the stay, and killing mosquitoes through an electric grid click mode.

[0007] In the present disclosure, the step of simulating human body temperature to attract mosquitoes comprises: collecting environmental parameters, the environmental parameters including temperature, humidity and altitude of the space to be killed; fitting human body temperature based on the environmental parameters, and controlling a body temperature simulation element to output a corresponding current to simulate the human body temperature to attract mosquitoes.

[0008] In the embodiments of the present disclosure, the adjusting the staying time length corresponding to each of the preset points according to the mosquito killing amount comprises: taking the weight of the mosquitoes killed by each of the preset points at the current staying time length as the mosquito killing amount; and adjusting the weight of the staying time length of each of the preset points according to the mosquito killing amount, wherein the weight of the staying time length is positively correlated with the mosquito killing amount.

[0009] In the embodiments of the present disclosure, the method further comprises: dividing the space to be killed into a plurality of subspaces, and taking the center of each of the subspaces as the preset point.

[0010] In the embodiments of the present disclosure, the method further comprises: when the electric quantity is detected to be lower than a preset threshold, moving to a preset charging position to charge according to a charging command.

[0011] According to another aspect of the present disclosure, a mosquito killing device is provided, comprising: an initialization module configured to determine an initial value of a staying time length of each preset point in a space to be killed, the preset point being a space point passed by the mosquito killing device when moving in the space to be killed; a planning module configured to stay at each of the preset points for a corresponding staying time length to kill mosquitoes, and adjust the staying time length corresponding to each of the preset points according to a mosquito killing amount, and repeat the current step until a preset stopping condition is reached to obtain a target staying time length of each of the preset points; and a mosquito killing module configured to pass each of the preset points according to a preset path, and stay at each of the preset points for a corresponding target staying time length to kill mosquitoes.

[0012] In the embodiments of the present disclosure, the planning module adjusts the staying time length corresponding to each of the preset points according to the mosquito killing amount by: taking the weight of the mosquitoes killed by each of the preset points at the current staying time length as the mosquito killing amount; and adjusting the weight of the staying time length of each of the preset points according to the mosquito killing amount, wherein the weight of the staying time length is positively correlated with the mosquito killing amount.

[0013] In the embodiments of the present disclosure, the planning module adjusts the staying time length corresponding to each of the preset points according to the mosquito killing amount by: taking the weight of the mosquitoes killed by each of the preset points at the current staying time length as the mosquito killing amount; and adjusting the weight of the staying time length of each of the preset points according to the mosquito killing amount, wherein the weight of the staying time length is positively correlated with the mosquito killing amount.

[0014] In the embodiments of the present disclosure, the planning module adjusts the staying time length corresponding to each of the preset points according to the mosquito killing amount by: taking the weight of the mosquitoes killed by each of the preset points at the current staying time length as the mosquito killing amount; and adjusting the weight of the staying time length of each of the preset points according to the mosquito killing amount, wherein the weight of the staying time length is positively correlated with the mosquito killing amount.

[0015] In the embodiments of the present disclosure, the device is further configured to move to the preset charging position to charge according to the charging command when the power is detected to be lower than the preset threshold.

[0016] According to another aspect of the present disclosure, an electronic device is provided, comprising:

[0017] at least one processor; and

[0018] a memory connected to the at least one processor in communication; wherein

[0019] 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 perform the method of any one of the preceding aspects.

[0020] According to another aspect of the present disclosure, a non-transitory computer readable storage medium storing computer instructions is provided, wherein the computer instructions are used to make the computer perform the method of any one of the preceding aspects.

[0021] According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method of any one of the preceding aspects.

[0022] In one or more embodiments of the present disclosure, an initial value of a stay duration of each preset point in the space to be mosquito-killed is determined, and the preset point is a space point passed by the mosquito-killing device when moving in the space to be mosquito-killed; mosquito-killing is performed at each preset point for a corresponding stay duration; the corresponding stay duration at each preset point is adjusted according to the mosquito-killing amount, the current step is repeated until a preset stop condition is reached, and a target stay duration of each preset point is obtained; each preset point is passed according to a preset path, and mosquito-killing is performed at each preset point for a corresponding target stay duration. The present disclosure can adjust the stay duration of the mosquito-killing device at each preset point according to the mosquito-killing amount, so that the mosquito-killing device stays longer in places with large mosquito-killing amount, and stays shorter in places with small mosquito-killing amount, thereby improving the utilization efficiency of resources and shortening the mosquito-killing time. In addition, the mosquito-killing device moves in the space to be mosquito-killed through the planned path and stay duration, which can kill mosquitoes in the whole area of the space to be mosquito-killed, and solves the problem of decreasing mosquito-killing effect with distance.

[0023] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present disclosure, nor to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0024] The accompanying drawings are used to better understand the present scheme and do not limit the present disclosure. Among them:

[0025] Figure 1 A flowchart illustrating a method of mosquito eradication according to one embodiment of the present disclosure is shown schematically;

[0026] Figure 2 A block diagram of a mosquito eradication device according to one embodiment of the present disclosure is shown schematically;

[0027] Figure 3 A schematic diagram of an electronic device according to the present disclosure is shown schematically. DETAILED DESCRIPTION

[0028] Example implementations will now be described more fully with reference to the accompanying drawings. Example implementations may, however, be implemented in many different forms and should not be construed as limited to the implementations set forth herein; rather, these implementations are provided so that this disclosure will be thorough and complete, and will fully convey the inventive aspects to those skilled in the art. The described features, structures, or characteristics can be combined in one or more implementations. In the following description, numerous specific details are provided to give a thorough understanding of implementations of the disclosure. One skilled in the relevant art will recognize, however, that the implementations of the disclosure can be practiced without one or more of the

[0029] Furthermore, the accompanying drawings are only schematic and are non-limiting exact representations of embodiments of the present disclosure. Identical components have been given the same reference numerals in the various drawings and will not be described in detail with reference to the same. The drawings illustrate only some embodiments of the present disclosure and thereby do not limit the scope of the disclosure. Some embodiments of the present disclosure will be described using functional blocking diagrams and flowchart illustrations of methods. It will be understood that each block of the block diagrams and flowchart illustrations, and combinations of blocks in the block diagrams and flowchart illustrations, can be implemented by software, hardware, or both.

[0030] Mosquitoes are small flying insects with a piercing-sucking mouthpart. Females typically consume blood as their food source, while males consume plant nectar. Mosquitoes are found on every continent except Antarctica and the Arctic. Female blood-sucking mosquitoes can cause short-term pain and long-term itching, and can also transmit a variety of diseases, such as malaria, dengue fever, filariasis, and Japanese encephalitis.

[0031] Currently, mosquito control mainly relies on two methods: The first is chemical control, such as using mosquito coils, various insecticides, or mosquito repellents to kill flies. While this method is effective, it causes environmental pollution. The second method involves using mosquito-killing devices to trap and eliminate mosquitoes. However, traditional mosquito-killing devices are immobile, can only eliminate mosquitoes in certain areas, and exhibit a diminishing effect over distance.

[0032] To address the problems existing in the above methods, this exemplary embodiment proposes a mosquito-killing method, a mosquito-killing device, an electronic device, and a computer-readable storage medium. The technical solutions of the embodiments of this disclosure are described in detail below:

[0033] This example implementation first provides a mosquito control method. (See reference...) Figure 1 As shown, this mosquito control method specifically includes the following steps:

[0034] Step S110: Determine the initial value of the dwell time at each preset point in the space to be mosquito-killed, where the preset points are the spatial points that the mosquito-killing device passes through when it moves in the space to be mosquito-killed;

[0035] Step S120: Keep the mosquito at each preset point for the corresponding stay time to kill mosquitoes, and adjust the corresponding stay time at each preset point according to the amount of mosquitoes killed. Repeat the current step until the preset stop condition is reached to obtain the target stay time at each preset point.

[0036] Step S130: Pass through each preset point according to the preset path, and stop at each preset point for the corresponding target stay time to kill mosquitoes.

[0037] This disclosure allows for adjusting the dwell time of the mosquito-killing device at each preset point based on the amount of mosquitoes eliminated. This means the device can remain longer in areas with high mosquito elimination rates and shorter in areas with low rates, thereby improving resource utilization efficiency and reducing mosquito-killing time. Furthermore, by moving the mosquito-killing device along a planned path and with a predetermined dwell time within the space to be treated, this disclosure can eliminate mosquitoes throughout the entire space and solves the problem of decreasing effectiveness with distance.

[0038] The above steps will now be described in more detail in another embodiment.

[0039] In step S110, the initial value of the dwell time at each preset point in the space to be mosquito-killed is determined. The preset points are the spatial points that the mosquito-killing device passes through when it moves in the space to be mosquito-killed.

[0040] The mosquito killing method provided by the embodiments of the present disclosure can control the mosquito killing device using the mosquito killing method to move in the above-mentioned mosquito killing space and implement mosquito killing at the corresponding preset points within the staying time of the mosquito killing device at each preset point in the mosquito killing space. The above-mentioned mosquito killing space can be any space in which mosquito killing needs to be implemented, for example, it can be a room in which mosquito killing needs to be implemented.

[0041] The above-mentioned preset points are space points passed through by the mosquito killing device when moving in the mosquito killing space. For example, the preset points can be determined by dividing the mosquito killing space into a plurality of subspaces and taking the center of each subspace as a preset point. In this way, the mosquito killing device will pass through the center of each subspace during movement and stay at each center point for a certain period of time to implement mosquito killing.

[0042] In the above-mentioned mosquito killing space, the amount of mosquitoes killed in different subspaces can be different. For example, the amount of mosquitoes in a subspace in which a lamp is installed or a subspace such as a kitchen or a bathroom that is suitable for the survival of mosquitoes can be more than that in other subspaces. Therefore, in order to improve resource utilization efficiency and improve mosquito killing effect, the embodiments of the present disclosure can determine the staying time of the mosquito killing device at each preset point according to the mosquito killing amount of each subspace, so that the mosquito killing device stays for a longer time in the subspace with a larger amount of mosquitoes and stays for a shorter time in the subspace with a smaller amount of mosquitoes.

[0043] For example, the embodiments of the present disclosure can adjust the staying time of the mosquito killing device at each preset point through a reinforcement learning algorithm to achieve optimal mosquito killing effect. For example, the staying time can be adjusted through a Q-learing algorithm. The main idea is to construct a Q-table (Q is an action utility function) by combining State (state) and Action (behavior) to store Q values, which are used to evaluate the pros and cons of taking a certain action in a certain state. According to the Q value, the behavior that can obtain the maximum benefit can be selected. Specifically, different combinations of staying times of the above-mentioned preset points can be used as different states of the Q-learing algorithm, and the mosquito killing effect in different states is the above-mentioned Q value. The staying time distribution that can obtain the optimal mosquito killing effect can be learned by adjusting the staying time of each preset point. Taking the Q-learing algorithm as an example, the initial value at each preset point is the initial state of the Q-learing algorithm. The initial value can be the state learned in the previous time or a random state initialized. It should be noted that the above-mentioned scenario is only an example of illustrative description, and the protection scope of the embodiments of the present disclosure is not limited thereto.

[0044] In step S120, mosquito killing is performed at each preset point for a corresponding staying time, and the corresponding staying time at each preset point is adjusted according to the mosquito killing amount. The current step is repeated until a preset stopping condition is reached, and the target staying time of each preset point is obtained.

[0045] In this step, the embodiment of the present disclosure adjusts the staying time of the mosquito killing device at each preset point based on the reinforcement learning algorithm to obtain the optimal mosquito killing effect that can be obtained. The target staying time is the staying time at each preset point corresponding to the optimal mosquito killing effect that can be obtained when the preset stopping condition is reached. Exemplarily, the preset stopping condition can be the number of iterations of the reinforcement algorithm.

[0046] Specifically, after determining the initial value of the staying time of each preset point in step S110, the mosquito killing device is controlled to pass through each preset point in the space to be killed in turn, stays for the time specified by the initial value at each preset point, and performs mosquito killing at the preset point during the staying time to determine the mosquito killing amount at each preset point. The mosquito killing amount is used as feedback to adjust the staying time of the mosquito killing device at each preset point based on the mosquito killing amount, to obtain the current value of the staying time and repeat the process until the preset stopping condition is reached to obtain the target staying time. Exemplarily, the adjustment of the staying time at each preset point based on the mosquito killing amount can be implemented based on the Q-learning algorithm.

[0047] The mosquito killing device, such as a mosquito killing lamp, that adopts the mosquito killing method provided by the embodiment of the present disclosure can include a power driving module, a power supply module, a mosquito killing module, a simulated mosquito attracting module, and a sensor module. The mosquito killing method provided by the embodiment of the present disclosure drives the movement and staying control of the entire mosquito killing device through the power driving module to support the movement and staying of the mosquito killing device in the room. For example, the module can be used to control the movement of the mosquito killing device in the space to be killed to pass through the plurality of preset points planned in advance in turn. The power supply module supplies power to the entire device to maintain the normal operation of the device, and the control chip maintains the normal threshold of the power supply module. The mosquito killing module performs mosquito killing, for example, by using the electric shock mode of the power grid to physically eliminate mosquitoes. The simulated mosquito attracting module attracts mosquitoes to approach the mosquito killing device, for example, the characteristics of phototaxis and thermotaxis of mosquitoes can be used to simulate the characteristics of attracting mosquitoes in human life to achieve the purpose of attracting mosquitoes. The sensor module obtains external environmental parameters to provide parameter support for the strategy of the control chip, wherein the sensors include but are not limited to a gyroscope, a weighing instrument, a temperature sensor, and an infrared sensor.

[0048] Specifically, the mosquito killing at each preset point for a corresponding stay duration can be implemented based on the mosquito killing module as follows: staying at each preset point for a current stay duration corresponding to the preset point, simulating human body temperature to achieve mosquito attraction during the stay, and killing mosquitoes through the grid click mode. Wherein, the simulation of human body temperature to achieve mosquito attraction can be implemented based on the simulation mosquito attraction module as follows: collecting environmental parameters, which can include the temperature, humidity and altitude of the space to be mosquito-killed; fitting the human body temperature based on the environmental parameters, and controlling the body temperature simulation element to output the corresponding current to simulate the human body temperature to achieve mosquito attraction. Specifically, when the mosquito killing device starts the stay state, the environmental parameters can be received by the sensor module, the simulated body temperature can be calculated based on the environmental parameters, and the corresponding current can be output by the simulation mosquito attraction module for body temperature simulation. Preferably, the embodiments of the present disclosure can also increase the main mosquito species as part of the mosquito attraction strategy to cope with the characteristics of different habits of mosquitoes.

[0049] The adjustment of the stay duration at each preset point according to the mosquito killing amount can be implemented based on the sensor module as follows: the weight of the mosquitoes killed at each preset point for the current stay duration is taken as the mosquito killing amount by the weighing device; and the weight of the stay duration at each preset point is adjusted according to the mosquito killing amount, wherein the weight of the stay duration is positively correlated with the mosquito killing amount. Specifically, the mosquito killing result can be collected and the mosquito killing amount can be calculated by the weighing instrument in the sensor module, and the stay duration at each preset point can be determined according to the mosquito killing amount based on the Q-learing algorithm.

[0050] Preferably, the method provided by the embodiments of the present disclosure can also move to a preset charging position for charging when it is detected that the power is lower than the preset threshold. Specifically, the method of the embodiments of the present disclosure can output a charging command through the control chip, and move the mosquito killing device to a preset charging position for charging according to the charging command. Wherein, the charging position can be a charging position pre-placed in the space to be mosquito-killed, and the charging position can be set at the starting and ending positions of the mosquito killing device, for example.

[0051] In step S130, the mosquitoes are killed according to the preset path through each preset point, and the mosquitoes are killed by staying at each preset point for a corresponding target stay duration.

[0052] After the target stay duration of each preset point is determined through the above steps S110 and S120, the mosquitoes can be killed according to the preset path through each preset point, and the mosquitoes are killed by staying at each preset point for a corresponding target stay duration. Wherein, the preset path is the order through the preset points, and the number and position of the preset points can be determined based on experiments. The process of killing mosquitoes by staying at each preset point for a corresponding target stay duration has been described in the foregoing implementation details of mosquito killing, and will not be repeated here.

[0053] It should be noted that although the various steps of the methods of the present disclosure are described in a particular order in the accompanying drawings, this is not required or implied that the steps must be performed in that particular order, or that all of the steps shown must be performed to achieve the desired result. Additionally or alternatively, certain steps can be omitted, multiple steps can be combined into a single step, a single step can be broken into multiple steps, and / or the like.

[0054] The following is an apparatus embodiment of the present disclosure, which can be used to perform the method embodiments of the present disclosure. For details not disclosed in the apparatus embodiments of the present disclosure, please refer to the method embodiments of the present disclosure.

[0055] Please refer to Figure 2 which shows a mosquito-killing device for implementing the embodiments of the present disclosure. The mosquito-killing device can be implemented by software, hardware, or a combination of both to become all or part of the device. The mosquito-killing device 200 includes an initialization module 210, a planning module 220, and a mosquito-killing module 230, wherein:

[0056] The initialization module 210 is configured to perform determining an initial value of a staying duration at each preset point in a space to be killed mosquitoes, the preset point being a space point passed through by the mosquito-killing device when moving in the space to be killed mosquitoes;

[0057] The planning module 220 is configured to perform killing mosquitoes by staying at each preset point for a corresponding staying duration, and adjusting the corresponding staying duration at each preset point according to the amount of killing mosquitoes, repeating the current step until a preset stopping condition is reached, and obtaining a target staying duration of each preset point;

[0058] The mosquito-killing module 230 is configured to perform killing mosquitoes by passing through each preset point according to a preset path and staying at each preset point for a corresponding target staying duration.

[0059] In the embodiments of the present disclosure, the planning module realizes killing mosquitoes by staying at each preset point for a corresponding staying duration by the following method: staying at each preset point for a current staying duration corresponding to the preset point, simulating human body temperature to achieve mosquito attraction during the staying period, and killing mosquitoes by grid click mode.

[0060] In the embodiments of the present disclosure, the planning module specifically realizes simulating human body temperature to achieve mosquito attraction by the following method: collecting environmental parameters, the environmental parameters including temperature, humidity, and altitude of the space to be killed mosquitoes; fitting human body temperature based on the environmental parameters, and controlling a body temperature simulation element to output a corresponding current to simulate human body temperature to achieve mosquito attraction.

[0061] In this embodiment of the disclosure, the planning module is further configured to adjust the dwell time at each preset point according to the amount of mosquitoes killed by the following method: the weight of mosquitoes killed at each preset point under the current dwell time is taken as the amount of mosquitoes killed by the weighing device; the weight of the dwell time at each preset point is adjusted according to the amount of mosquitoes killed, wherein the weight of the dwell time is positively correlated with the amount of mosquitoes killed.

[0062] In this embodiment of the present disclosure, the device further includes a charging module, which is used to: when the power level is detected to be lower than a preset threshold, move to a preset charging position to charge according to a charging command.

[0063] The specific details of each module or unit in the above-mentioned mosquito-killing device have been described in detail in the corresponding mosquito-killing methods, so they will not be repeated here.

[0064] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0065] Figure 3 This is a schematic diagram of the structure of an electronic device according to an embodiment of this disclosure. See below for details. Figure 3 It shows a schematic diagram of a structure suitable for implementing the electronic device 300 in the embodiments of this disclosure. Figure 3 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0066] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303 to implement the voice control method as described in the embodiments of this disclosure. The RAM 303 also stores various programs and data required for the operation of the electronic device 300. The processing device 301, ROM 302, and RAM 303 are interconnected via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0067] In general, the following devices can be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, and the like; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, a magnetic tape, a hard disk, and the like; and communication devices 309. The communication devices 309 can allow the electronic device 300 to communicate wirelessly or wired with other devices to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it is understood that all of the shown devices are not required to be implemented or present. More or less devices can alternatively be implemented or present.

[0068] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for executing the methods illustrated by the flowcharts, thereby implementing the voice control method as described above. In such embodiments, the computer program can be downloaded and installed from a network through the communication devices 309, or installed from the storage devices 308, or installed from the ROM 302. When the computer program is executed by the processing devices 301, the above-described functions defined in the methods of the embodiments of the present disclosure are performed.

[0069] It should be noted that the computer-readable medium described above can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium, for example, can be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination of the foregoing. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program used by or in connection with an instruction execution system, apparatus or device. In the disclosure, the computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, in which the computer-readable program code is contained. Such a propagated data signal can take any of a variety of forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. The computer-readable signal medium can also be any computer-readable medium that is not a storage medium and that can communicate, propagate or transport a program for use by or in connection with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including, but not limited to, wire, cable, RF (radio frequency), etc., or any suitable combination of the foregoing.

[0070] In some embodiments, the client, server, or both can communicate using any current known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any current known or future developed networks.

[0071] The computer-readable medium described above can be included in the electronic device described above; or can exist separately from the electronic device described above, and can be accessed via the electronic device described above.

[0072] The computer-readable medium described above carries one or more programs, which, when executed by the electronic device described above, cause the electronic device to:

[0073] determine an initial value of a staying duration of each preset point in the space to be treated, the preset point being a space point passed by the mosquito killing device when moving in the space to be treated;

[0074] kill mosquitoes at each preset point for a corresponding staying duration, and adjust the corresponding staying duration at each preset point according to the mosquito killing amount, repeat the current step until a preset stop condition is reached, and obtain a target staying duration of each preset point;

[0075] kill mosquitoes at each preset point for a corresponding staying duration, and adjust the corresponding staying duration at each preset point according to the mosquito killing amount, repeat the current step until a preset stop condition is reached, and obtain a target staying duration of each preset point;

[0076] Optionally, when the one or more programs are executed by the electronic device, the electronic device can further execute other steps described in the above embodiments.

[0077] Computer program code for carrying out operations of the present disclosure can be written in one or more programming languages or combinations of languages including object oriented programming languages such as Java, Smalltalk, C++ or conventional procedural programming languages such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0078] The flow diagrams and the block diagrams in the drawings are illustrations of possible architectures, functions, and operations for systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flow diagrams or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may

[0079] The units described in the embodiments of the present disclosure can be implemented by means of software, or by hardware. In some cases, the name of the unit does not constitute a limitation on the unit itself.

[0080] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, non-limiting examples of exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system on a chip (SOCs), complex programmable logic devices (CPLDs), etc.

[0081] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of a program of a processor, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0082] The above description is merely exemplary of the present disclosure and the application of the principles thereof. It is not intended to limit the disclosure to the precise forms disclosed. Rather, it is intended to cover such alternatives, modifications, and equivalents as can be suggested by the principles of the disclosure and other printed publications that are prior art to the present disclosure.

[0083] Further, although operations are depicted in a particular, chronological sequence, this should not be understood as requiring such order unless specifically specified that an operation be performed after another operation in text. In some cases, multitasking and parallel processing can be advantageous. Likewise, the specific sequence of operations in the above discussion can be different, unless specifically described otherwise. Also, certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in subcombination or as separate embodiments. Accordingly, the scope and spirit of the disclosure are to be broad construed and interpreted, and are intended to be as broad as is allowed by the prior art.

[0084] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims

1. A mosquito-killing method, characterized in that, include: Determine the initial value of the dwell time at each preset point in the space to be mosquito-killed, where the preset point is the spatial point that the mosquito-killing device passes through when it moves in the space to be mosquito-killed; Mosquitoes are killed by staying at each of the preset points for the corresponding duration, and the duration of staying at each of the preset points is adjusted according to the amount of mosquitoes killed. The current step is repeated until the preset stopping condition is reached, and the target duration of staying at each of the preset points is obtained. The process of adjusting the duration of staying at each of the preset points according to the amount of mosquitoes killed is implemented based on a reinforcement learning algorithm. The mosquitoes are killed by passing through each preset point according to a preset path and staying at each preset point for the corresponding target dwell time. The method further includes: The space to be exterminated is divided into multiple subspaces, and the center point of each subspace is taken as the preset point.

2. The mosquito-killing method according to claim 1, characterized in that, The method of killing mosquitoes by stopping at each of the preset points for the corresponding duration includes: The mosquito stays at each of the preset points for the current duration corresponding to the preset point, and simulates human body temperature during the stay to attract mosquitoes, and then kills mosquitoes through the electric grid click mode.

3. The mosquito-killing method according to claim 2, characterized in that, The method of simulating human body temperature to attract mosquitoes includes: Collect environmental parameters, including the temperature, humidity, and altitude of the space to be mosquito-killed. The human body temperature is obtained by fitting the environmental parameters, and the corresponding current is output by the body temperature simulation element to simulate the human body temperature and attract mosquitoes.

4. The mosquito-killing method according to claim 1, characterized in that, The adjustment of the dwell time at each preset point based on the amount of mosquitoes killed includes: The amount of mosquitoes killed is determined by weighing the number of mosquitoes eliminated at each of the preset points during the current dwell time using a weighing device. The weight of the dwell time at each preset point is adjusted according to the amount of mosquitoes killed, wherein the weight of the dwell time is positively correlated with the amount of mosquitoes killed.

5. The mosquito-killing method according to claim 1, characterized in that, The method further includes: When the battery level is detected to be below a preset threshold, the device moves to a preset charging location to charge according to the charging command.

6. A mosquito-killing device, characterized in that, include: An initialization module is used to determine the initial value of the dwell time at each preset point in the space to be mosquito-killed, wherein the preset point is the spatial point that the mosquito-killing device passes through when it moves in the space to be mosquito-killed; The planning module is used to kill mosquitoes by staying at each of the preset points for the corresponding stay duration, and to adjust the stay duration at each of the preset points according to the amount of mosquitoes killed. The current step is repeated until the preset stopping condition is reached, and the target stay duration at each of the preset points is obtained. The adjustment process of the stay duration at each of the preset points according to the amount of mosquitoes killed is implemented based on the reinforcement learning algorithm. The mosquito-killing module is used to kill mosquitoes by passing through each preset point according to a preset path and staying at each preset point for a corresponding target dwell time. The device further includes: The space to be exterminated is divided into multiple subspaces, and the center point of each subspace is taken as the preset point.

7. The mosquito-killing device according to claim 6, characterized in that, The planning module is specifically used for: The amount of mosquitoes killed is determined by weighing the number of mosquitoes eliminated at each of the preset points during the current dwell time using a weighing device. The weight of the dwell time at each preset point is adjusted according to the amount of mosquitoes killed, wherein the weight of the dwell time is positively correlated with the amount of mosquitoes killed.

8. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; characterized in that, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Mosquito eradication method and device based on sweeper and computer equipment

    CN113995346A

  • Image acquisition and wireless transmission's solar energy insecticidal lamp control system

    CN205018120U

  • Environment-friendly mosquito killing and sterilizing lamp

    CN215380938U