CN107589785A - Mosquito eradication method, electronic equipment and computer-readable recording medium - Google Patents
Mosquito eradication method, electronic equipment and computer-readable recording medium Download PDFInfo
- Publication number
- CN107589785A CN107589785A CN201710845029.3A CN201710845029A CN107589785A CN 107589785 A CN107589785 A CN 107589785A CN 201710845029 A CN201710845029 A CN 201710845029A CN 107589785 A CN107589785 A CN 107589785A
- Authority
- CN
- China
- Prior art keywords
- mosquito
- module
- mosquito eradication
- light emitting
- electronic equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Catching Or Destruction (AREA)
Abstract
The embodiment of the present invention, which provides mosquito eradication method, electronic equipment and computer-readable recording medium, this method, to be included:When light emitting module is in running status, target optical spectrum is launched by light emitting module, target optical spectrum flies to electronic equipment for attracting mosquitoes;Mosquito eradication instruction is sent to mosquito eradication module, so that the response mosquito eradication instruction of mosquito eradication module, is updated to running status;Mosquito killing liquid is sprayed to mosquito by mosquito eradication module.Using the embodiment of the present invention, the convenience of operation can be improved, and is easy to carry.
Description
Technical field
The present invention relates to electronic technology field, more particularly to mosquito eradication method, electronic equipment and computer-readable recording medium.
Background technology
Per when summer comes, people are often perplexed by mosquito at home or in the place such as square.Related skill
There is much mosquito eradication method, such as people can light traditional mosquito-repellent incense and come mosquito eradication or mosquito repellent in art.Go out again with the development of technology
Electric mosquito flap is showed, the principle of electric mosquito flap is:Boosted circuit produces the high-tension electricity (electricity of 1850V direct currents or so between double-deck power network
Stream is less than 10 milliamperes, to person poultry harmless), the electrostatic field between two power networks has stronger absorption affinity, when the insects such as mosquitos and flies are close to power network
When, between they being sucked into power networks, caused short circuit current is with getting killed its electricity, but above-mentioned mosquito eradication method needs user manual
Operation, the convenience of operation is relatively low, and electric mosquito flap volume is larger, is not easy to carry at any time.
The content of the invention
The embodiment of the present invention provides mosquito eradication method, electronic equipment and computer-readable recording medium, can improve operation just
Profit, and be easy to carry.
In a first aspect, the embodiment of the present invention provides a kind of mosquito eradication method, methods described is applied to electronic equipment, the electronics
Device configuration has light emitting module and mosquito eradication module, and methods described includes:
When the light emitting module is in running status, target optical spectrum, the target light are launched by the light emitting module
Compose and fly to the electronic equipment for attracting mosquitoes;
Mosquito eradication instruction is sent to the mosquito eradication module, so that the mosquito eradication module responds the mosquito eradication instruction, is updated to fortune
Row state;
Mosquito killing liquid is sprayed to the mosquito by the mosquito eradication module.
Optionally, the electronic equipment is also configured with photographing module;
Before the transmission mosquito eradication instruction to the mosquito eradication module, in addition to:
Image is gathered by the photographing module, and described image is identified;
When mosquito is recognized in described image, trigger to the mosquito eradication module and send the mosquito eradication instruction.
Optionally, it is described that mosquito killing liquid is sprayed to the mosquito by the mosquito eradication module, including:
The position of the mosquito is obtained by described image;
The injection direction of the mosquito eradication module is determined according to the position;
Control the mosquito eradication module to be based on the injection direction, spray the mosquito killing liquid to the mosquito.
Optionally, it is described that mosquito killing liquid is sprayed to the mosquito by the mosquito eradication module, including:
The region area in region residing for the mosquito is obtained by described image;
When the region area is more than predetermined threshold value, the mosquito killing liquid stored in the mosquito eradication module is heated, obtained
To mosquito eradication gas;
The mosquito eradication gas is sprayed to the mosquito by the mosquito eradication module.
Optionally, it is described by the mosquito eradication module to the mosquito spray mosquito killing liquid after, in addition to:
The mosquito eradication module is updated to resting state by running status.
Optionally, it is described when the light emitting module is in running status, target optical spectrum is launched by the light emitting module
Before, in addition to:
Obtain mosquito eradication configuration information;
When the mosquito eradication configuration information is used to indicate mosquito eradication, the light emitting module is updated to running status, triggering is logical
Cross the light emitting module transmitting target optical spectrum.
Optionally, after the transmitting target optical spectrum by the light emitting module, in addition to:
The light emitting module is updated to resting state by running status.
Optionally, it is described by the mosquito eradication module to the mosquito spray mosquito killing liquid after, in addition to:
After mosquito killing liquid described in the mosquito eradication module ejects begins to pass through preset duration, the light emitting module is controlled to be in
Running status, triggering launch the target optical spectrum by the light emitting module.
Second aspect, the embodiment of the present invention provide a kind of computer-readable storage medium, and the computer-readable storage medium is used to store up
The computer software instructions of above-mentioned electronic equipments are saved as, it includes being used to perform the program designed by first aspect.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, and the electronic equipment, which has, to be realized described in first aspect
Mosquito eradication method example in electronic equipment behavior function.The function can be realized by hardware, can also be held by hardware
The corresponding software of row is realized.The hardware or software include one or more units corresponding with above-mentioned function phase or module.
In a design, receiving unit, processing unit and transmitting element, institute are may include in the structure of electronic equipment
Processing unit is stated to be configured as supporting electronic equipment to perform corresponding function in mosquito eradication method described in first aspect.It is described to receive list
Member and transmitting element are used to support the communication between electronic equipment and other equipment.It is single that the electronic equipment can also include storage
Member, the memory cell are used to couple with processing unit, and it preserves the necessary programmed instruction of electronic equipment and data.As showing
Example, processing unit can be processor, and receiving unit can be receiver, and transmitting element can be transmitter, and memory cell can
Think memory.
Fourth aspect, the embodiments of the invention provide a kind of computer program product for including instruction, when it is in computer
During upper operation so that computer performs the mosquito eradication method described in first aspect.
5th aspect, the embodiments of the invention provide a kind of chip system, and the chip system includes processor, for electronics
Equipment realizes function involved in above-mentioned aspect, for example, data involved in generation or the processing above method and/or letter
Breath.
In a design, the chip system also includes memory, the memory, for preserving electronic equipment
Necessary programmed instruction and data.It the chip system, can be made up of chip, chip and other discrete devices can also be included.
In the embodiment of the present invention, electronic equipment launches target when light emitting module is in running status by light emitting module
Spectrum, target optical spectrum flies to electronic equipment for attracting mosquitoes, and then sends mosquito eradication instruction to mosquito eradication module, so that mosquito eradication module
Mosquito eradication instruction is responded, is updated to running status, mosquito killing liquid is sprayed to mosquito by mosquito eradication module, it is manually operated without user, can
The convenience of operation is improved, and is easy to carry.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability
For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached
Figure.
Fig. 1 is a kind of schematic flow sheet of mosquito eradication method provided in an embodiment of the present invention;
Fig. 2 is the structural representation of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 3 is the structural representation for a kind of electronic equipment that another embodiment of the present invention provides;
Fig. 4 is the structural representation for a kind of electronic equipment that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, electronic equipment described in the embodiment of the present application can include but is not limited to such as mobile phone,
Other portable sets of wearable device, laptop computer or tablet PC etc.It is to be further understood that some
In embodiment, the equipment is not portable communication device, but desktop computer or mobile unit etc..
In discussion below, the electronic equipment including display and touch sensitive surface is described.However, it should manage
Solution, one or more of the other physical User that electronic equipment can include such as physical keyboard, mouse and/or control-rod connect
Jaws equipment.
Electronic equipment supports various application programs, such as one or more of following:Mosquito eradication application program, application of drawing
Program, demonstration applications, word-processing application, website create application program, disk imprinting application program, electrical form and answered
Received with program, game application, telephony application, videoconference application, email application, instant message
Application program is sent out, takes exercise and supports application program, photo management application program, digital camera application program, digital camera application
Program, web-browsing application program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on an electronic device can use at least one of such as touch sensitive surface
Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick
Feel the corresponding information shown in the one or more functions and electronic equipment on surface.So, the public physics frame of electronic equipment
Structure (for example, touch sensitive surface) can be supported to apply journey with the various of user interface directly perceived and transparent for a user
Sequence.
The embodiment of the present application provides a kind of mosquito eradication method, electronic equipment and computer-readable recording medium, can improve behaviour
The convenience of work, and be easy to carry.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet of mosquito eradication method provided in an embodiment of the present invention, as shown in figure 1,
Comprise the following steps:
Step 101, when light emitting module is in running status, pass through light emitting module launch target optical spectrum, target optical spectrum use
Electronic equipment is flown in attracting mosquitoes.
In the application, electronic equipment can be configured with light emitting module and mosquito eradication module, wherein light emitting module or mosquito eradication mould
Block can be integrated in electronic equipment internal, can also be entered by way of wired or wireless connection is established between electronic equipment
Row communication.For example, electronic equipment and light emitting module or mosquito eradication module can by Wireless Fidelity (Wireless Fidelity,
Wi-Fi) connection, bluetooth connection, infrared connection, ultrasonic wave connection or near-field communication (Near Field Communication,
NFC) connect.And for example, electronic equipment can pass through universal serial bus (Universal Serial with light emitting module or mosquito eradication module
Bus, USB) connection.
Wherein, light emitting module can include flash lamp or flashlight etc..For example, photographing module can be integrated in mobile phone,
Photographing module can include flash lamp.
Wherein, mosquito eradication module can include cavity and injector head, and cavity can be used for storing mosquito killing liquid.
Specifically, electronic equipment can detect whether light emitting module is in running status, when detecting that light emitting module is in
During running status, electronic equipment can launch target optical spectrum by light emitting module.Wherein, target optical spectrum is flown to for attracting mosquitoes
Electronic equipment, mosquito is because phototaxis will fly to the light emitting module of electronic equipment, and exemplary, the wavelength of target optical spectrum can be
365~420um, can effectively attracting mosquitoes fly to electronic equipment.
Optionally, when detecting that light emitting module is in unactivated state or resting state, electronic equipment can be to hair
Optical module sends state more new command, so that light emitting module responds the state more new command, is updated to running status, and then pass through
Light emitting module launches target optical spectrum.
Optionally, before electronic equipment launches target optical spectrum by light emitting module, mosquito eradication configuration information can be obtained, when going out
When mosquito configuration information is used to indicate mosquito eradication, light emitting module is updated to running status, and then target light is launched by light emitting module
Spectrum.
For example, when the user of electronic equipment wishes currently to carry out mosquito repellent operation, can click on for opening mosquito eradication pattern
Button, then electronic equipment can generate mosquito eradication configuration information, the mosquito eradication configuration information be used for indicate mosquito eradication;The user of electronic equipment
When wishing currently to operate without mosquito repellent, the button for closing mosquito eradication pattern can be clicked on, then electronic equipment can be generated and gone out
Mosquito configuration information, the mosquito eradication configuration information are used to indicate pause mosquito eradication.The embodiment of the present invention can be used to refer in mosquito eradication configuration information
When showing mosquito eradication, target optical spectrum is launched by light emitting module, resource utilization can be lifted, reduces power consumption.
Optionally, can be by light emitting module by running status after electronic equipment launches target optical spectrum by light emitting module
It is updated to resting state.Light emitting module is updated to stop launching target optical spectrum after resting state in the embodiment of the present invention, can
Save electricity.
Step 102, mosquito eradication instruction is sent to mosquito eradication module, so that the response mosquito eradication instruction of mosquito eradication module, is updated to operation shape
State.
Optionally, electronic equipment can be configured with photographing module, can be with before mosquito eradication instruction is sent to mosquito eradication module
Image is gathered by photographing module, and image is identified, when recognizing mosquito in the picture, triggers and is sent to mosquito eradication module
Mosquito eradication instructs.The embodiment of the present invention drives mosquito eradication module only when recognizing mosquito, can lift resource utilization, reduces power consumption.
Step 103, by mosquito eradication module to mosquito spray mosquito killing liquid.
Electronic equipment is lured mosquito to electronic equipment by light emitting module, can be sprayed by mosquito eradication module to mosquito
Mosquito killing liquid is penetrated, to reach the purpose of mosquito eradication.
Optionally, electronic equipment can also obtain the position of mosquito by image, and the spray of mosquito eradication module is determined according to position
Direction is penetrated, control mosquito eradication module is based on injection direction, sprays mosquito killing liquid to mosquito.The embodiment of the present invention can improve the accurate of mosquito eradication
Rate, to save mosquito killing liquid.
Optionally, electronic equipment can also obtain the region area in region residing for mosquito by image, big in region area
When predetermined threshold value, the mosquito killing liquid stored in mosquito eradication module is heated, obtains mosquito eradication gas, by mosquito eradication module to mosquito
Spray mosquito eradication gas.
Optionally, can also be by mosquito eradication module by transporting after electronic equipment sprays mosquito killing liquid by mosquito eradication module to mosquito
Row state is updated to resting state.
Optionally, electronic equipment can control luminous after mosquito eradication module ejects mosquito killing liquid begins to pass through preset duration
Module is in running status, and then launches target optical spectrum by light emitting module.
In the embodiment of the present invention, electronic equipment launches target when light emitting module is in running status by light emitting module
Spectrum, target optical spectrum flies to electronic equipment for attracting mosquitoes, and then sends mosquito eradication instruction to mosquito eradication module, so that mosquito eradication module
Mosquito eradication instruction is responded, is updated to running status, mosquito killing liquid is sprayed to mosquito by mosquito eradication module, the convenience of operation can be improved,
And it is easy to carry.
Fig. 2 is referred to, Fig. 2 is the structural representation of a kind of electronic equipment provided in an embodiment of the present invention, as shown in Fig. 2
Including spectral emissions unit 201, mosquito eradication instruction sending unit 202, and mosquito killing liquid injection unit 203, wherein:
Spectral emissions unit 201, for when the light emitting module is in running status, being launched by the light emitting module
Target optical spectrum, the target optical spectrum fly to the electronic equipment for attracting mosquitoes;
Mosquito eradication instruction sending unit 202, for sending mosquito eradication instruction to the mosquito eradication module, so that the mosquito eradication module is rung
Answer the mosquito eradication to instruct, be updated to running status;
Mosquito killing liquid injection unit 203, for spraying mosquito killing liquid to the mosquito by the mosquito eradication module.
Optionally, the electronic equipment can be configured with photographing module, and the electronic equipment can also include:
Image acquisition units 204, mosquito eradication instruction is sent to the mosquito eradication module for the mosquito eradication instruction sending module 202
Before, image is gathered by the photographing module, and described image is identified, when mosquito is recognized in described image,
Trigger the mosquito eradication instruction sending module 202 and send the mosquito eradication instruction to the mosquito eradication module.
Optionally, the mosquito killing liquid injection unit 203 sprays mosquito killing liquid, bag by the mosquito eradication module to the mosquito
Include:
The position of the mosquito is obtained by described image;
The injection direction of the mosquito eradication module is determined according to the position;
Control the mosquito eradication module to be based on the injection direction, spray the mosquito killing liquid to the mosquito.
Optionally, the mosquito killing liquid injection unit 203 sprays mosquito killing liquid, bag by the mosquito eradication module to the mosquito
Include:
The region area in region residing for the mosquito is obtained by described image;
When the region area is more than predetermined threshold value, the mosquito killing liquid stored in the mosquito eradication module is heated, obtained
To mosquito eradication gas;
The mosquito eradication gas is sprayed to the mosquito by the mosquito eradication module.
Optionally, the electronic equipment also includes:
State updating unit 205, sprayed for the mosquito killing liquid injection unit 203 by the mosquito eradication module to the mosquito
Penetrate after mosquito killing liquid, the mosquito eradication module is updated to resting state by running status.
Optionally, the electronic equipment also includes:
Configuration information acquiring unit 206, target light is launched by the light emitting module for the spectral emissions unit 201
Before spectrum, mosquito eradication configuration information is obtained;
State updating unit 205, for when the mosquito eradication configuration information be used for indicate mosquito eradication when, by the light emitting module more
New is running status, triggers the spectral emissions unit 201 and launches target optical spectrum by the light emitting module.
Optionally, the electronic equipment also includes:
State updating unit 205, for the spectral emissions unit 201 by the light emitting module launch target optical spectrum it
Afterwards, the light emitting module is updated to resting state by running status.
Optionally, the electronic equipment also includes:
State updating unit 205, after beginning to pass through preset duration from mosquito killing liquid described in the mosquito eradication module ejects,
Control the light emitting module to be in running status, trigger the spectral emissions unit 201 and pass through described in light emitting module transmitting
Target optical spectrum.
In the embodiment of the present invention, spectral emissions unit 201 passes through the hair when the light emitting module is in running status
Optical module launches target optical spectrum, and the target optical spectrum flies to the electronic equipment for attracting mosquitoes;Mosquito eradication instruction sending unit
202 send mosquito eradication instruction to the mosquito eradication module, so that the mosquito eradication module responds the mosquito eradication instruction, are updated to operation shape
State;Mosquito killing liquid injection unit 203 sprays mosquito killing liquid by the mosquito eradication module to the mosquito, can improve the convenience of operation,
And it is easy to carry.
It should be noted that the division in the embodiment of the present application to unit is schematical, only a kind of logic function
Division, can there is other dividing mode when actually realizing.Each functional unit in the embodiment of the present invention can be integrated in one
In processing unit or unit is individually physically present, can also two or more units be integrated in a list
In member.Above-mentioned integrated unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
In the case of using integrated unit, as shown in figure 3, the electronic equipment may include:Processing unit 301, receive
Unit 302 and transmitting element 303.Processing unit 301 can be used for the action to electronic equipment to be controlled management, and/or be used for
Other processes of techniques described herein.Receiving unit 302 and transmitting element 303 can be used for supporting electronic equipment and other nets
Communication between the communication of network entity, such as functional unit (or module) or network entity with being shown in Fig. 1 or Fig. 2.Electronics
Equipment can also include memory cell 304, for storing the program code and data of electronic equipment.
Wherein, processing unit 301 can be processor or controller, such as can be CPU, general processor, DSP,
ASIC, FPGA either other PLDs, transistor logic, hardware component or its any combination.It can be with
Realize or perform the various exemplary logic blocks with reference to described by the disclosure of invention, module and circuit.The processing
Device can also be the combination for realizing computing function, such as be combined comprising one or more microprocessors, the group of DSP and microprocessor
Close etc..Receiving unit 302 can be receiver, and transmitting element 303 can be transmitter, or receiving unit 302 and send
Unit 303 can be integrated into transceiver.
Memory cell 304 can be memory.Memory can be volatile memory or nonvolatile memory, or can
Including both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-Only
Memory, ROM), programmable read only memory (Programmable ROM, PROM), Erasable Programmable Read Only Memory EPROM
(Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) dodge
Deposit.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high speed
Caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).
When processing unit 301 is processor, receiving unit 302 and transmitting element 303 are integrated into transceiver, memory cell
304 when being memory, and the electronic equipment involved by the embodiment of the present application can be the electronic equipment shown in Fig. 4.
As shown in fig.4, the electronic equipment may include:Processor 402, transceiver 403, memory 401, bus 404, hair
Optical module 405 and mosquito eradication module 406.Wherein, transceiver 403, processor 402, memory 401, light emitting module 405 and go out
Mosquito module 406 is connected with each other by bus 404;Bus 404 can be pci bus or eisa bus etc..The bus can divide
For address bus, data/address bus, controlling bus etc..For ease of representing, only represented in Fig. 4 with a thick line, it is not intended that only
There are a bus or a type of bus.
In embodiments of the present invention, it is used for by the program or instruction, processor 402 of calling the storage of memory 401:
When the light emitting module 405 is in running status, target optical spectrum is launched by the light emitting module 405, it is described
Target optical spectrum flies to the electronic equipment for attracting mosquitoes;
Mosquito eradication instruction is sent to the mosquito eradication module 406, so that the mosquito eradication module 406 responds the mosquito eradication instruction, more
Newly to running status;
Mosquito killing liquid is sprayed to the mosquito by the mosquito eradication module 406.
Optionally, the electronic equipment is also configured with photographing module;
Before the processor 402 sends mosquito eradication instruction to the mosquito eradication module 406, in addition to:
Image is gathered by the photographing module, and described image is identified;
When mosquito is recognized in described image, trigger to the mosquito eradication module 406 and send the mosquito eradication instruction.
Optionally, the processor 402 sprays mosquito killing liquid by the mosquito eradication module 406 to the mosquito, including:
The position of the mosquito is obtained by described image;
The injection direction of the mosquito eradication module 406 is determined according to the position;
Control the mosquito eradication module 406 to be based on the injection direction, spray the mosquito killing liquid to the mosquito.
Optionally, the processor 402 sprays mosquito killing liquid by the mosquito eradication module 406 to the mosquito, including:
The region area in region residing for the mosquito is obtained by described image;
When the region area is more than predetermined threshold value, the mosquito killing liquid stored in the mosquito eradication module 406 is heated,
Obtain mosquito eradication gas;
The mosquito eradication gas is sprayed to the mosquito by the mosquito eradication module 406.
Optionally, after the processor 402 sprays mosquito killing liquid by the mosquito eradication module 406 to the mosquito, also wrap
Include:
The mosquito eradication module 406 is updated to resting state by running status.
Optionally, the processor 402 passes through the light emitting module when the light emitting module 405 is in running status
Before 405 transmitting target optical spectrums, in addition to:
Obtain mosquito eradication configuration information;
When the mosquito eradication configuration information is used to indicate mosquito eradication, the light emitting module 405 is updated to running status, triggered
Target optical spectrum is launched by the light emitting module 405.
Optionally, after the processor 402 launches target optical spectrum by the light emitting module 405, in addition to:
The light emitting module 405 is updated to resting state by running status.
Optionally, after the processor 402 sprays mosquito killing liquid by the mosquito eradication module 406 to the mosquito, also wrap
Include:
Sprayed from the mosquito eradication module 406 after the mosquito killing liquid begins to pass through preset duration, control the light emitting module
405 are in running status, and triggering launches the target optical spectrum by the light emitting module 405.
The method that the embodiments of the present invention disclose can apply in processor 402, or be realized by processor 402.
Processor 402 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 402 or the instruction of software form.Above-mentioned processing
Device 402 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 401, processor 402 read the information in memory 401, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized herein by performing the module (such as process, function etc.) of function described herein for software
Described technology.Software code is storable in memory and passes through computing device.Memory can within a processor or
Realized outside processor.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (10)
- A kind of 1. mosquito eradication method, it is characterised in that methods described is applied to electronic equipment, and the electronic equipment has luminous mould Block and mosquito eradication module, methods described include:When the light emitting module is in running status, target optical spectrum is launched by the light emitting module, the target optical spectrum is used The electronic equipment is flown in attracting mosquitoes;Mosquito eradication instruction is sent to the mosquito eradication module, so that the mosquito eradication module responds the mosquito eradication instruction, is updated to operation shape State;Mosquito killing liquid is sprayed to the mosquito by the mosquito eradication module.
- 2. according to the method for claim 1, it is characterised in that the electronic equipment is also configured with photographing module;Before the transmission mosquito eradication instruction to the mosquito eradication module, in addition to:Image is gathered by the photographing module, and described image is identified;When mosquito is recognized in described image, trigger to the mosquito eradication module and send the mosquito eradication instruction.
- 3. according to the method for claim 2, it is characterised in that described to be gone out by the mosquito eradication module to mosquito injection Mosquito liquid, including:The position of the mosquito is obtained by described image;The injection direction of the mosquito eradication module is determined according to the position;Control the mosquito eradication module to be based on the injection direction, spray the mosquito killing liquid to the mosquito.
- 4. according to the method for claim 2, it is characterised in that described to be gone out by the mosquito eradication module to mosquito injection Mosquito liquid, including:The region area in region residing for the mosquito is obtained by described image;When the region area is more than predetermined threshold value, the mosquito killing liquid stored in the mosquito eradication module is heated, gone out Mosquito gas;The mosquito eradication gas is sprayed to the mosquito by the mosquito eradication module.
- 5. according to the method for claim 1, it is characterised in that described to be gone out by the mosquito eradication module to mosquito injection After mosquito liquid, in addition to:The mosquito eradication module is updated to resting state by running status.
- 6. according to the method for claim 1, it is characterised in that it is described when the light emitting module is in running status, lead to Cross before the light emitting module transmitting target optical spectrum, in addition to:Obtain mosquito eradication configuration information;When the mosquito eradication configuration information is used to indicate mosquito eradication, the light emitting module is updated to running status, triggering passes through institute State light emitting module transmitting target optical spectrum.
- 7. according to the method for claim 6, it is characterised in that it is described by the light emitting module launch target optical spectrum it Afterwards, in addition to:The light emitting module is updated to resting state by running status.
- 8. according to the method for claim 1, it is characterised in that described to be gone out by the mosquito eradication module to mosquito injection After mosquito liquid, in addition to:After mosquito killing liquid described in the mosquito eradication module ejects begins to pass through preset duration, the light emitting module is controlled to be in operation State, triggering launch the target optical spectrum by the light emitting module.
- 9. a kind of electronic equipment, it is characterised in that the electronic equipment includes will for performing any rights of claim 1-8 such as Seek the unit of described method.
- A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that the method described in any one of 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710845029.3A CN107589785A (en) | 2017-09-19 | 2017-09-19 | Mosquito eradication method, electronic equipment and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710845029.3A CN107589785A (en) | 2017-09-19 | 2017-09-19 | Mosquito eradication method, electronic equipment and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107589785A true CN107589785A (en) | 2018-01-16 |
Family
ID=61048592
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710845029.3A Pending CN107589785A (en) | 2017-09-19 | 2017-09-19 | Mosquito eradication method, electronic equipment and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107589785A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110122456A (en) * | 2019-05-07 | 2019-08-16 | 是达明 | Intelligent mosquito dispelling detection system and detection method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102726358A (en) * | 2012-05-31 | 2012-10-17 | 湖北天罡投资有限公司 | Laser mosquito killer |
CN103688912A (en) * | 2013-12-13 | 2014-04-02 | 陈昊书 | Clean mosquito attracting device |
CN105494286A (en) * | 2015-11-27 | 2016-04-20 | 小米科技有限责任公司 | Mosquito eradication method and device |
CN106538488A (en) * | 2017-01-05 | 2017-03-29 | 成都思农农业科技有限公司 | A kind of killing diamondback moth system based on image recognition technology |
CN106577585A (en) * | 2016-10-28 | 2017-04-26 | 努比亚技术有限公司 | Intelligent device, intelligent device control device and mosquito eradication method |
-
2017
- 2017-09-19 CN CN201710845029.3A patent/CN107589785A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102726358A (en) * | 2012-05-31 | 2012-10-17 | 湖北天罡投资有限公司 | Laser mosquito killer |
CN103688912A (en) * | 2013-12-13 | 2014-04-02 | 陈昊书 | Clean mosquito attracting device |
CN105494286A (en) * | 2015-11-27 | 2016-04-20 | 小米科技有限责任公司 | Mosquito eradication method and device |
CN106577585A (en) * | 2016-10-28 | 2017-04-26 | 努比亚技术有限公司 | Intelligent device, intelligent device control device and mosquito eradication method |
CN106538488A (en) * | 2017-01-05 | 2017-03-29 | 成都思农农业科技有限公司 | A kind of killing diamondback moth system based on image recognition technology |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110122456A (en) * | 2019-05-07 | 2019-08-16 | 是达明 | Intelligent mosquito dispelling detection system and detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107133094A (en) | Application management method, mobile terminal and computer-readable recording medium | |
CN108228053A (en) | A kind of information sharing method, intelligent terminal and storage medium | |
CN108108649A (en) | Auth method and device | |
CN110177177A (en) | Message back method, mobile terminal and computer readable storage medium | |
CN107807857A (en) | Method, equipment and the computer for clearing up running memory can storage mediums | |
CN107102878A (en) | One kind application startup method, mobile terminal and computer-readable recording medium | |
CN107592406A (en) | Message display method, mobile terminal and the storage medium of mobile terminal | |
CN109542325A (en) | Double-sided screen touch control method, double-sided screen terminal, readable storage medium storing program for executing | |
CN108076204A (en) | The method and terminal of a kind of call treatment | |
CN109219021A (en) | Operator's configuration file switching method, mobile terminal and readable storage medium storing program for executing | |
CN107580336A (en) | A kind of method for connecting network, terminal and computer-readable recording medium | |
CN109358940A (en) | Desktop synchronization, mobile terminal and computer readable storage medium | |
CN107592416A (en) | Method for sending voice message, terminal and computer-readable recording medium | |
CN107256147A (en) | Pop-up control method, terminal and the computer-readable recording medium of application widget | |
CN107832032A (en) | Screen locking display methods and mobile terminal | |
CN109274818A (en) | Method for down loading, mobile terminal and the computer storage medium of application program | |
CN109462696A (en) | Information cuing method, mobile terminal and computer readable storage medium | |
CN107925274A (en) | The method of electronic equipment and temperature for control electronics | |
CN107273738A (en) | A kind of method of controlling security, terminal and computer-readable recording medium | |
CN108958625A (en) | A kind of screen interaction regulation method, equipment and computer readable storage medium | |
CN109256151A (en) | Call voice regulates and controls method, apparatus, mobile terminal and readable storage medium storing program for executing | |
CN108012270A (en) | A kind of method of information processing, equipment and computer-readable recording medium | |
CN107656706A (en) | A kind of data processing method, terminal and computer-readable storage medium | |
CN107589785A (en) | Mosquito eradication method, electronic equipment and computer-readable recording medium | |
CN109902228A (en) | Resource request, push control method, terminal, server and readable storage medium storing program for executing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |