Ultrasonic mosquito repelling method and related device

文档序号:1436724 发布日期:2020-03-24 浏览:31次 中文

阅读说明:本技术 超声波驱蚊方法及相关装置 (Ultrasonic mosquito repelling method and related device ) 是由 吴俊� 于 2019-11-21 设计创作,主要内容包括:本申请公开了一种超声波驱蚊方法及相关装置,方法包括:获得当前天气、目标车辆当前所处地点和当前时间;根据当前天气、目标车辆当前所处地点和当前时间判断蚊虫是否活动频繁;若是,则获得目标车辆的行驶状态、车窗开启状态和预约使用状态;若行驶状态、车窗开启状态和预约使用状态满足预设条件,则获得目标车辆是否开启驱蚊模式的目标指令;若目标指令是开启驱蚊模式,则执行超声波驱蚊操作。采用本申请实施例实现了对车辆内部或车辆周边的蚊虫进行有效驱赶,有助于提高乘客的乘车体验,同时使得车辆驾驶员避免蚊虫干扰,能够更加专注驾驶。(The application discloses an ultrasonic mosquito repelling method and a related device, wherein the method comprises the following steps: obtaining current weather, current location and current time of a target vehicle; judging whether the mosquitoes move frequently or not according to the current weather, the current place of the target vehicle and the current time; if so, acquiring the running state, the window opening state and the reserved use state of the target vehicle; if the driving state, the window opening state and the reserved using state meet preset conditions, acquiring a target instruction of whether a target vehicle opens a mosquito repelling mode; and if the target instruction is to start the mosquito repelling mode, executing ultrasonic mosquito repelling operation. Adopt this application embodiment to realize effectively driving the inside or the peripheral mosquito of vehicle, help improving passenger's experience by bus, make vehicle driver avoid mosquito to disturb simultaneously, can concentrate on more driving.)

1. An ultrasonic mosquito repelling method is characterized by comprising the following steps:

obtaining current weather, current location and current time of a target vehicle;

judging whether mosquitoes move frequently or not according to the current weather, the current place of the target vehicle and the current time;

if so, acquiring the running state, the window opening state and the reserved use state of the target vehicle;

if the driving state, the window opening state and the reserved using state meet preset conditions, acquiring a target instruction of whether the target vehicle opens a mosquito repelling mode;

and if the target instruction is to start the mosquito repelling mode, executing ultrasonic mosquito repelling operation.

2. The method of claim 1, wherein the determining whether mosquitoes are active frequently according to the current weather, the current location of the target vehicle, and the current time comprises:

judging whether the current weather is rainy or not;

if not, determining the current location of the target vehicle and the target mosquito activity degree corresponding to the current time according to the prestored mapping relation among the location, the time and the mosquito activity degree;

if the target mosquito activity degree is greater than or equal to a preset mosquito activity degree, determining the frequent mosquito activity;

and if the target mosquito activity degree is smaller than the preset mosquito activity degree, determining that the mosquito activity is not frequent.

3. The method according to claim 2, wherein the preset conditions include: the driving state is not driving, the window opening state is at least one window opening, and the reserved using state is not reserved for use.

4. The method of claim 3, wherein the obtaining of the target instruction of whether the target vehicle starts a mosquito repelling mode comprises:

popping up prompt information, starting options and non-starting options on a mosquito repelling mode interface of the target vehicle, wherein the prompt information is used for indicating whether a vehicle driver of the target vehicle starts a mosquito repelling mode or not;

when touch operation aiming at the opening option is detected, determining whether a target command of the target vehicle for opening the mosquito repelling mode is to open the mosquito repelling mode;

when touch operation aiming at the option not to be started is detected, whether the target command of starting the mosquito repelling mode of the target vehicle is the target command of not starting the mosquito repelling mode is determined.

5. The method according to claim 2, wherein the preset conditions include: the running state is not driven, the window opening state is not window opening, and the reserved using state is reserved for use after a preset time length.

6. The method of claim 5, wherein the obtaining of the target instruction of whether the target vehicle starts a mosquito repelling mode comprises:

sending a mosquito repelling mode request to a terminal of a vehicle driver of the target vehicle, wherein the mosquito repelling mode request is used for indicating whether the vehicle driver of the target vehicle starts a mosquito repelling mode or not;

receiving target content sent by the terminal aiming at the mosquito repelling mode request;

if the target content belongs to the first content set, determining whether a target instruction of starting a mosquito repelling mode of the target vehicle is to start the mosquito repelling mode;

and if the target content belongs to a second content set, determining whether a target command of starting the mosquito repelling mode of the target vehicle is not to start the mosquito repelling mode.

7. The method of claim 4 or 6, wherein said performing an ultrasonic mosquito repellent operation comprises:

calling a prestored target ultrasonic audio, wherein the target ultrasonic audio is an audio formed by ultrasonic waves of natural enemies of mosquitoes;

and playing the target ultrasonic audio.

8. An ultrasonic mosquito repellent device, its characterized in that includes:

the first obtaining unit is used for obtaining the current weather, the current position of the target vehicle and the current time;

the first judgment unit is used for judging whether the mosquitoes move frequently or not according to the current weather, the current place of the target vehicle and the current time;

the second obtaining unit is used for obtaining the running state, the window opening state and the reserved using state of the target vehicle if the first judging unit judges that the mosquito activities are frequent;

a third obtaining unit, configured to obtain a target instruction whether the target vehicle starts a mosquito repellent mode if the driving state, the window opening state, and the reserved use state meet preset conditions;

and the execution unit is used for executing the ultrasonic mosquito repelling operation if the target instruction is to start the mosquito repelling mode.

9. An electronic device comprising a processor, memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing some or all of the steps of the method of any of claims 1-7.

10. A computer-readable storage medium, characterized in that the computer-readable storage medium is used to store a computer program, which is executed by a processor to implement the method according to any of claims 1-7.

Technical Field

The application relates to the technical field of electronics, in particular to an ultrasonic mosquito repelling method and a related device.

Background

At present, when a vehicle is parked at a certain place and a window of the vehicle is opened, mosquitoes fly into the vehicle; or when the vehicle driver is about to drive the vehicle to a certain place, mosquitoes around the vehicle at the moment of opening the vehicle door can fly into the vehicle interior while the mosquitoes are still in the vehicle. At this moment, if the passengers and the vehicle drivers do not carry mosquito repellent products such as floral water and mosquito repellent liquid, the riding experience of the passengers is poor, and meanwhile, the vehicle drivers are easily interfered by mosquitoes to influence the driving of the drivers to the vehicles.

Disclosure of Invention

The embodiment of the application provides an ultrasonic mosquito repelling method and a related device, which are used for effectively repelling mosquitoes inside or around a vehicle, are beneficial to improving riding experience of passengers, and meanwhile, a vehicle driver can avoid mosquito interference and can concentrate on driving more.

In a first aspect, an embodiment of the present application provides an ultrasonic mosquito repelling method, including:

obtaining current weather, current location and current time of a target vehicle;

judging whether mosquitoes move frequently or not according to the current weather, the current place of the target vehicle and the current time;

if so, acquiring the running state, the window opening state and the reserved use state of the target vehicle;

if the driving state, the window opening state and the reserved using state meet preset conditions, acquiring a target instruction of whether the target vehicle opens a mosquito repelling mode;

and if the target instruction is to start the mosquito repelling mode, executing ultrasonic mosquito repelling operation.

In a second aspect, an embodiment of the present application provides an ultrasonic mosquito repellent device, including:

the first obtaining unit is used for obtaining the current weather, the current position of the target vehicle and the current time;

the first judgment unit is used for judging whether the mosquitoes move frequently or not according to the current weather, the current place of the target vehicle and the current time;

the second obtaining unit is used for obtaining the running state, the window opening state and the reserved using state of the target vehicle if the first judging unit judges that the mosquito activities are frequent;

a third obtaining unit, configured to obtain a target instruction whether the target vehicle starts a mosquito repellent mode if the driving state, the window opening state, and the reserved use state meet preset conditions;

and the execution unit is used for executing the ultrasonic mosquito repelling operation if the target instruction is to start the mosquito repelling mode.

In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and where the program includes instructions for performing some or all of the steps in the method according to the first aspect of the embodiment of the present application.

In a fourth aspect, embodiments of the present application provide a computer-readable storage medium for storing a computer program, where the computer program is executed by a processor to implement some or all of the steps described in the method of the first aspect of the embodiments of the present application.

In a fifth aspect, embodiments of the present application provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the method of the first aspect of embodiments of the present application. The computer program product may be a software installation package.

It can be seen that, compare in the mosquito flies into vehicle inside and passenger and vehicle driver all do not carry the mosquito repellent product, in this application embodiment, open the mosquito repellent mode at the target vehicle under, carry out ultrasonic wave mosquito repellent operation. Realized effectively driving the inside or the peripheral mosquito of vehicle like this, helped improving passenger's experience by bus, makeed vehicle driver to avoid the mosquito interference simultaneously, can be absorbed in more driving.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.

Fig. 1 is a schematic structural diagram of an ultrasonic mosquito repelling system according to an embodiment of the present application;

fig. 2A is a schematic flow chart of an ultrasonic mosquito repelling method according to an embodiment of the present application;

fig. 2B is a schematic view of a mosquito repelling mode interface provided in the embodiment of the present application;

fig. 3 is a schematic flow chart of another ultrasonic mosquito repelling method provided in the embodiment of the present application;

fig. 4 is a schematic flow chart of another ultrasonic mosquito repelling method provided in the embodiment of the present application;

fig. 5 is a block diagram of functional units of an ultrasonic mosquito repelling device provided in the embodiment of the present application;

fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.

Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.

Electronic devices may include various handheld devices, vehicle mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication capabilities, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal equipment (TD), and so forth.

The following describes embodiments of the present application in detail.

Referring to fig. 1, fig. 1 is a schematic structural diagram of an ultrasonic mosquito repelling system provided in an embodiment of the present application, where the ultrasonic mosquito repelling system includes a processor and a vehicle horn, where:

the processor is used for obtaining the current weather, the current position of the target vehicle and the current time;

the processor is further used for judging whether mosquitoes are frequently active or not according to the current weather, the current place of the target vehicle and the current time;

the processor is further used for obtaining the running state, the window opening state and the reserved using state of the target vehicle if the target vehicle is in the reserved using state;

the processor is further used for obtaining a target instruction of whether the target vehicle starts a mosquito repelling mode or not if the running state, the window opening state and the reserved using state meet preset conditions;

and the vehicle horn is used for executing ultrasonic mosquito repelling operation if the target instruction is to start the mosquito repelling mode.

Referring to fig. 2A, fig. 2A is a schematic flow chart of an ultrasonic mosquito repelling method provided in an embodiment of the present application, where the ultrasonic mosquito repelling method includes steps 201 and 205, and specifically includes the following steps:

201: the ultrasonic mosquito repelling device obtains the current weather, the current place of the target vehicle and the current time.

The ultrasonic mosquito repelling device can periodically obtain the current weather, the current location and the current time of the target vehicle.

The ultrasonic mosquito repelling device can send a weather request carrying the current location of the target vehicle to the weather platform, and the weather request is used for indicating the weather platform to feed back the real-time weather of the current location of the target vehicle; the ultrasonic mosquito repelling device receives the current weather sent by the weather platform according to the weather request.

The ultrasonic mosquito repelling device can obtain the current location of the target vehicle through a GPS positioning technology.

The ultrasonic mosquito repelling device can send a place request to a vehicle center console of a target vehicle, wherein the place request is used for indicating the vehicle center console to feed back a real-time place of the target vehicle; the ultrasonic mosquito repelling device receives the current location of the target vehicle sent by the vehicle center console according to the location request.

If the mobile phone of the vehicle driver of the target vehicle is connected with the vehicle center console of the target vehicle, the ultrasonic mosquito repelling device sends a location request to the mobile phone of the vehicle driver, and the location request is used for indicating the mobile phone of the vehicle driver to feed back the real-time location of the mobile phone; the ultrasonic mosquito repelling device receives a target place sent by a mobile phone of a vehicle driver according to a place request; the ultrasonic mosquito repelling device determines the target location as the current location of the target vehicle.

The above is only an exemplary description of the ultrasonic mosquito repelling device obtaining the current location of the target vehicle, and should not be construed as limiting the ultrasonic mosquito repelling device obtaining the current location of the target vehicle.

The ultrasonic mosquito repelling device can send a time request to the time platform, and the time request is used for indicating the time platform to feed back real-time; the ultrasonic mosquito repelling device receives the current time sent by the time platform according to the time request.

The current time may further include a month and a day.

202: and the ultrasonic mosquito repelling device judges whether the mosquitoes move frequently or not according to the current weather, the current place of the target vehicle and the current time.

In some possible embodiments, the determining, by the ultrasonic mosquito repelling device, whether mosquitoes are frequently active according to the current weather, the current location of the target vehicle, and the current time includes:

the ultrasonic mosquito repelling device judges whether the current weather is rainy or not;

if not, the ultrasonic mosquito repelling device determines the current location of the target vehicle and the target mosquito activity degree corresponding to the current time according to the prestored mapping relation among the location, the time and the mosquito activity degree;

if the target mosquito activity degree is greater than or equal to the preset mosquito activity degree, the ultrasonic mosquito repelling device determines that the mosquito activity is frequent;

and if the target mosquito activity degree is smaller than the preset mosquito activity degree, the ultrasonic mosquito repelling device determines that the mosquito activity is not frequent.

Rainy weather includes light rain, medium rain, heavy rain, etc.

If the current weather is rainy, mosquitoes can select places to keep away from rain, and the mosquitoes do not have frequent activities.

The mapping relation of the place, the time and the mosquito activity degree is obtained based on the research on the mosquito activity, the mapping relation of the place, the time and the mosquito activity degree is stored in the ultrasonic mosquito repelling device in advance, and the mapping relation of the place, the time and the mosquito activity degree is shown in the following table 1:

TABLE 1

Figure BDA0002283200650000051

The preset mosquito activity degree can be preset by a vehicle driver, and the preset mosquito activity degree can be set as middle.

203: and if so, the ultrasonic mosquito repelling device obtains the running state, the window opening state and the reserved using state of the target vehicle.

The ultrasonic mosquito repelling device sends a speed request to an Inertial Measurement Unit (IMU), wherein the speed request is used for indicating the inertial measurement unit to feed back the real-time speed of a target vehicle; the ultrasonic mosquito repelling device receives the current speed of the target vehicle sent by the inertial measurement unit according to the speed request; if the current speed of the target vehicle is less than the preset speed, the ultrasonic mosquito repelling device determines that the driving state of the target vehicle is not driving; and if the current speed of the target vehicle is greater than or equal to the preset speed, the ultrasonic mosquito repelling device determines that the running state of the target vehicle is running. Where the preset rate may be configured by the vehicle driver, the preset rate may be 1 m/s.

The ultrasonic mosquito repelling device sends a car window parameter request to the car window sensor, and the car window parameter request is used for indicating the car window sensor to feed back real-time car window parameters; the ultrasonic mosquito repelling device receives current car window parameters sent by the car window sensor according to the car window parameter request; if the current window parameters meet the window opening conditions, the ultrasonic mosquito repelling device determines that the window is opened; and if the current window parameters do not meet the window opening condition, the ultrasonic mosquito repelling device determines that the window is not opened. Wherein, the windowing condition is stored in the ultrasonic mosquito repelling device in advance.

The ultrasonic mosquito repelling device sends a reserved use request to the vehicle center console, wherein the reserved use request is used for indicating the vehicle center console to feed back a reserved use state of a target vehicle; the ultrasonic mosquito repelling device receives the reserved use state sent by the vehicle center console according to the reserved use request.

204: and if the running state, the window opening state and the reserved using state meet preset conditions, the ultrasonic mosquito repelling device obtains a target instruction of whether the target vehicle opens a mosquito repelling mode.

In some possible embodiments, the preset conditions include: the driving state is not driving, the window opening state is at least one window opening, and the reserved using state is not reserved for use.

At the moment, when the target vehicle is parked at a certain place and the window of the vehicle is opened, mosquitoes fly into the vehicle.

In some possible embodiments, the obtaining, by the ultrasonic mosquito repelling device, a target instruction of whether the target vehicle starts a mosquito repelling mode includes:

the ultrasonic mosquito repelling device pops prompt information, a starting option and a non-starting option on a mosquito repelling mode interface of the target vehicle, and the prompt information is used for indicating whether a vehicle driver of the target vehicle starts a mosquito repelling mode or not;

when touch operation aiming at the opening option is detected, the ultrasonic mosquito repelling device determines whether a target command of the target vehicle for opening the mosquito repelling mode is to open the mosquito repelling mode;

when touch operation aiming at the option not to be started is detected, the ultrasonic mosquito repelling device determines whether a target command of starting the mosquito repelling mode of the target vehicle is the mosquito repelling mode not to be started.

For example, as shown in fig. 2B, fig. 2B is a schematic view of a mosquito repelling mode interface provided in the embodiment of the present application, where the mosquito repelling mode interface includes a prompt message (please select to turn on or not turn on the mosquito repelling mode), an option to turn on, and an option to not turn on.

In some possible embodiments, the preset conditions include: the running state is not driven, the window opening state is not window opening, and the reserved using state is reserved for use after a preset time length.

At this time, the driver of the vehicle is about to drive the target vehicle to a certain place, and there is a case that mosquitoes around the target vehicle fly into the vehicle while the vehicle is still airborne at the moment of opening the door of the vehicle.

In some possible embodiments, the obtaining, by the ultrasonic mosquito repelling device, a target instruction of whether the target vehicle starts a mosquito repelling mode includes:

the ultrasonic mosquito repelling device sends a mosquito repelling mode request to a terminal of a vehicle driver of the target vehicle, wherein the mosquito repelling mode request is used for indicating the vehicle driver of the target vehicle to feed back whether to start a mosquito repelling mode;

the ultrasonic mosquito repelling device receives target content sent by the terminal according to the mosquito repelling mode request;

if the target content belongs to the first content set, the ultrasonic mosquito repelling device determines whether a target instruction of starting a mosquito repelling mode of the target vehicle is to start the mosquito repelling mode;

and if the target content belongs to a second content set, the ultrasonic mosquito repelling device determines whether the target vehicle starts the target instruction of the mosquito repelling mode or not to start the mosquito repelling mode.

The first set of content may include open, determined, confirmed, determined open, confirmed open, etc., and the second set of content may include not open, closed, not determined open, not confirmed open, etc.

205: and if the target instruction is to start the mosquito repelling mode, the ultrasonic mosquito repelling device executes ultrasonic mosquito repelling operation.

It can be seen that, compare in the mosquito flies into vehicle inside and passenger and vehicle driver all do not carry the mosquito repellent product, in this application embodiment, open the mosquito repellent mode at the target vehicle under, carry out ultrasonic wave mosquito repellent operation. Realized effectively driving the inside or the peripheral mosquito of vehicle like this, helped improving passenger's experience by bus, makeed vehicle driver to avoid the mosquito interference simultaneously, can be absorbed in more driving.

In some possible embodiments, the ultrasonic mosquito repelling device performs an ultrasonic mosquito repelling operation comprising:

the ultrasonic mosquito repelling device calls a prestored target ultrasonic audio which is an audio formed by ultrasonic waves of natural enemies of mosquitoes;

and the ultrasonic mosquito repelling device plays the target ultrasonic audio.

The ultrasonic mosquito repelling device comprises a vehicle horn, and the ultrasonic mosquito repelling device plays the target ultrasonic audio through the vehicle horn.

In some possible embodiments, the ultrasonic mosquito repelling device performs an ultrasonic mosquito repelling operation comprising:

the ultrasonic mosquito repelling device calls a pre-stored target ultrasonic audio which is an audio formed by sound waves generated by shaking wings of male mosquitoes;

and the ultrasonic mosquito repelling device plays the target ultrasonic audio.

It is thus clear that in this example, the audio frequency that the sound wave of male mosquito shake wing constitutes is played to ultrasonic wave mosquito repellent device, has realized effectively driving just mating female mosquito of a week less like this, helps improving passenger's experience by bus, makes vehicle driver avoid mosquito to disturb simultaneously, can concentrate on more driving.

In some possible embodiments, the ultrasonic mosquito repelling device performs an ultrasonic mosquito repelling operation comprising:

the ultrasonic mosquito repelling device calls pre-stored target ultrasonic audio, wherein the target ultrasonic audio comprises audio formed by ultrasonic waves of natural enemies of mosquitoes and sound waves of shaking wings of male mosquitoes;

and the ultrasonic mosquito repelling device plays the target ultrasonic audio.

It is thus clear that, in this example, the ultrasonic wave of the natural enemy of the mosquito of ultrasonic wave mosquito repellent device broadcast and the audio frequency that the sound wave of male mosquito shake wing constitutes help improving the efficiency that effectively drives the mosquito like this, and then improves passenger's experience by bus, makes vehicle driver avoid the mosquito interference simultaneously, can concentrate on more driving.

In some possible embodiments, the ultrasonic mosquito repelling device comprises a vehicle lamp, and the ultrasonic mosquito repelling device performs an ultrasonic mosquito repelling operation, including:

if the current time is at night, the ultrasonic mosquito repelling device calls pre-stored target ultrasonic audio which comprises ultrasonic waves of natural enemies of mosquitoes and/or audio formed by sound waves of shaky wings of male mosquitoes;

and in the process of playing the target ultrasonic audio, the ultrasonic mosquito repelling device controls the lamps of the target vehicle to be turned on.

As can be seen, in this example, the ultrasonic mosquito repelling device controls the lights of the target vehicle to turn on while playing the audio consisting of the ultrasonic waves of the natural enemies of the mosquitoes and/or the sound waves of the wings shaken by the male mosquitoes. Because the car light at night often gathers a large amount of mosquitoes, further improve the efficiency of effectively driving the mosquito like this, and then improve passenger's experience by bus, make vehicle driver avoid the mosquito interference simultaneously, can be absorbed in more and drive.

In accordance with the embodiment shown in fig. 2A, please refer to fig. 3, and fig. 3 is a schematic flow chart of another ultrasonic mosquito repelling method provided in the embodiment of the present application, in which the ultrasonic mosquito repelling method includes steps 301 and 308, which are as follows:

301: the ultrasonic mosquito repelling device obtains the current weather, the current place of the target vehicle and the current time.

302: and if the current weather is not rainy, determining the current place of the target vehicle and the target mosquito activity degree corresponding to the current time by the ultrasonic mosquito repelling device according to a prestored mapping relation among the place, the time and the mosquito activity degree.

303: and if the target mosquito activity degree is greater than or equal to the preset mosquito activity degree, the ultrasonic mosquito repelling device determines that the mosquito activities are frequent.

304: the ultrasonic mosquito repelling device obtains the running state, the window opening state and the reserved using state of the target vehicle.

305: if the driving state is not driving, the window opening state is at least one window opening state, and the reserved using state is not reserved for use, the ultrasonic mosquito repelling device pops prompt information, opening options and non-opening options on a mosquito repelling mode interface of the target vehicle, and the prompt information is used for indicating whether a driver of the target vehicle opens the mosquito repelling mode.

306: when touch operation aiming at the opening option is detected, the ultrasonic mosquito repelling device determines whether a target command of the target vehicle for opening the mosquito repelling mode is to open the mosquito repelling mode.

307: the ultrasonic mosquito repelling device calls pre-stored target ultrasonic audio which is audio formed by ultrasonic waves of natural enemies of mosquitoes.

308: and the ultrasonic mosquito repelling device plays the target ultrasonic audio.

It should be noted that, the specific implementation of the steps of the method shown in fig. 3 can refer to the specific implementation described in the above method, and will not be described here.

In accordance with the embodiments shown in fig. 2A and fig. 3, please refer to fig. 4, and fig. 4 is a schematic flow chart of another ultrasonic mosquito repelling method provided in the embodiments of the present application, in which the ultrasonic mosquito repelling method includes steps 401 and 410, which are as follows:

401: the ultrasonic mosquito repelling device obtains the current weather, the current place of the target vehicle and the current time.

402: and if the current weather is not rainy, determining the current place of the target vehicle and the target mosquito activity degree corresponding to the current time by the ultrasonic mosquito repelling device according to a prestored mapping relation among the place, the time and the mosquito activity degree.

403: and if the target mosquito activity degree is greater than or equal to the preset mosquito activity degree, the ultrasonic mosquito repelling device determines that the mosquito activities are frequent.

404: the ultrasonic mosquito repelling device obtains the running state, the window opening state and the reserved using state of the target vehicle.

405: if the driving state is not driving, the window opening state is not window opening, and the reserved using state is reserved for a preset time length, the ultrasonic mosquito repelling device sends a mosquito repelling mode request to a terminal of a vehicle driver of the target vehicle, and the mosquito repelling mode request is used for indicating whether the vehicle driver of the target vehicle feeds back to start a mosquito repelling mode.

406: and the ultrasonic mosquito repelling device receives the target content sent by the terminal aiming at the mosquito repelling mode request.

407: if the target content belongs to the first content set, the ultrasonic mosquito repelling device determines whether a target command of starting a mosquito repelling mode of the target vehicle is to start the mosquito repelling mode.

408: the ultrasonic mosquito repelling device calls pre-stored target ultrasonic audio which is audio formed by ultrasonic waves of natural enemies of mosquitoes.

409: and the ultrasonic mosquito repelling device plays the target ultrasonic audio.

410: if the current weather is light rain or medium rain, the ultrasonic mosquito repelling device sends a window opening request carrying a target length to a vehicle central console, and the window opening request is used for indicating the vehicle central console to control the window of the target vehicle to open the target length.

In some possible embodiments, the target length may be 2 cm.

It should be noted that, the specific implementation of the steps of the method shown in fig. 4 can refer to the specific implementation described in the above method, and will not be described here.

The above embodiments mainly introduce the scheme of the embodiments of the present application from the perspective of the method-side implementation process. It can be understood that, in order to realize the above functions, the ultrasonic mosquito repelling device comprises a hardware structure and/or a software module which are used for executing the corresponding functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.

According to the embodiment of the application, the ultrasonic mosquito repelling device can be divided into the functional units according to the method example, for example, each functional unit can be divided corresponding to each function, and two or more functions can be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.

The following is an embodiment of the apparatus of the present application, which is used to execute the method implemented by the embodiment of the method of the present application. Referring to fig. 5, fig. 5 is a block diagram of functional units of an ultrasonic mosquito repelling device according to an embodiment of the present application, where the ultrasonic mosquito repelling device 500 includes:

a first obtaining unit 501, configured to obtain current weather, a current location of a target vehicle, and current time;

a first judging unit 502, configured to judge whether mosquitoes are active frequently according to the current weather, the current location of the target vehicle, and the current time;

a second obtaining unit 503, configured to obtain a driving state, a window opening state, and a reserved use state of the target vehicle if the first determining unit determines that the mosquito activity is frequent;

a third obtaining unit 504, configured to obtain a target instruction whether the target vehicle starts a mosquito repellent mode if the driving state, the window opening state, and the reserved use state meet preset conditions;

and the execution unit 505 is configured to execute an ultrasonic mosquito repelling operation if the target instruction is to start the mosquito repelling mode.

It can be seen that, compare in the mosquito flies into vehicle inside and passenger and vehicle driver all do not carry the mosquito repellent product, in this application embodiment, open the mosquito repellent mode at the target vehicle under, carry out ultrasonic wave mosquito repellent operation. Realized effectively driving the inside or the peripheral mosquito of vehicle like this, helped improving passenger's experience by bus, makeed vehicle driver to avoid the mosquito interference simultaneously, can be absorbed in more driving.

In some possible embodiments, in terms of determining whether activities of mosquitoes are frequent according to the current weather, the current location of the target vehicle, and the current time, the first determining unit 502 is specifically configured to:

judging whether the current weather is rainy or not;

if not, determining the current location of the target vehicle and the target mosquito activity degree corresponding to the current time according to the prestored mapping relation among the location, the time and the mosquito activity degree;

if the target mosquito activity degree is greater than or equal to a preset mosquito activity degree, determining the frequent mosquito activity;

and if the target mosquito activity degree is smaller than the preset mosquito activity degree, determining that the mosquito activity is not frequent.

In some possible embodiments, the preset conditions include: the driving state is not driving, the window opening state is at least one window opening, and the reserved using state is not reserved for use.

In some possible embodiments, in terms of obtaining the target instruction whether the target vehicle starts the mosquito repellent mode, the third obtaining unit 504 is specifically configured to:

popping up prompt information, starting options and non-starting options on a mosquito repelling mode interface of the target vehicle, wherein the prompt information is used for indicating whether a vehicle driver of the target vehicle starts a mosquito repelling mode or not;

when touch operation aiming at the opening option is detected, determining whether a target command of the target vehicle for opening the mosquito repelling mode is to open the mosquito repelling mode;

when touch operation aiming at the option not to be started is detected, whether the target command of starting the mosquito repelling mode of the target vehicle is the target command of not starting the mosquito repelling mode is determined.

In some possible embodiments, the preset conditions include: the running state is not driven, the window opening state is not window opening, and the reserved using state is reserved for use after a preset time length.

In some possible embodiments, in terms of obtaining the target instruction whether the target vehicle starts the mosquito repellent mode, the third obtaining unit 504 is specifically configured to:

sending a mosquito repelling mode request to a terminal of a vehicle driver of the target vehicle, wherein the mosquito repelling mode request is used for indicating whether the vehicle driver of the target vehicle starts a mosquito repelling mode or not;

receiving target content sent by the terminal aiming at the mosquito repelling mode request;

if the target content belongs to the first content set, determining whether a target instruction of starting a mosquito repelling mode of the target vehicle is to start the mosquito repelling mode;

and if the target content belongs to a second content set, determining whether a target command of starting the mosquito repelling mode of the target vehicle is not to start the mosquito repelling mode.

In some possible embodiments, in terms of performing the ultrasonic mosquito repelling operation, the execution unit 505 is specifically configured to:

calling a prestored target ultrasonic audio, wherein the target ultrasonic audio is an audio formed by ultrasonic waves of natural enemies of mosquitoes;

and playing the target ultrasonic audio.

Consistent with the embodiments shown in fig. 2A, fig. 3 and fig. 4, please refer to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device 600 includes a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps:

obtaining current weather, current location and current time of a target vehicle;

judging whether mosquitoes move frequently or not according to the current weather, the current place of the target vehicle and the current time;

if so, acquiring the running state, the window opening state and the reserved use state of the target vehicle;

if the driving state, the window opening state and the reserved using state meet preset conditions, acquiring a target instruction of whether the target vehicle opens a mosquito repelling mode;

and if the target instruction is to start the mosquito repelling mode, executing ultrasonic mosquito repelling operation.

It can be seen that, compare in the mosquito flies into vehicle inside and passenger and vehicle driver all do not carry the mosquito repellent product, in this application embodiment, open the mosquito repellent mode at the target vehicle under, carry out ultrasonic wave mosquito repellent operation. Realized effectively driving the inside or the peripheral mosquito of vehicle like this, helped improving passenger's experience by bus, makeed vehicle driver to avoid the mosquito interference simultaneously, can be absorbed in more driving.

In some possible embodiments, in determining whether mosquitoes are active frequently according to the current weather, the current location of the target vehicle, and the current time, the program includes instructions specifically configured to:

judging whether the current weather is rainy or not;

if not, determining the current location of the target vehicle and the target mosquito activity degree corresponding to the current time according to the prestored mapping relation among the location, the time and the mosquito activity degree;

if the target mosquito activity degree is greater than or equal to a preset mosquito activity degree, determining the frequent mosquito activity;

and if the target mosquito activity degree is smaller than the preset mosquito activity degree, determining that the mosquito activity is not frequent.

In some possible embodiments, the preset conditions include: the driving state is not driving, the window opening state is at least one window opening, and the reserved using state is not reserved for use.

In some possible embodiments, in obtaining the target command of whether the target vehicle is in the mosquito repellent mode, the program includes instructions specifically for performing the following steps:

popping up prompt information, starting options and non-starting options on a mosquito repelling mode interface of the target vehicle, wherein the prompt information is used for indicating whether a vehicle driver of the target vehicle starts a mosquito repelling mode or not;

when touch operation aiming at the opening option is detected, determining whether a target command of the target vehicle for opening the mosquito repelling mode is to open the mosquito repelling mode;

when touch operation aiming at the option not to be started is detected, whether the target command of starting the mosquito repelling mode of the target vehicle is the target command of not starting the mosquito repelling mode is determined.

In some possible embodiments, the preset conditions include: the running state is not driven, the window opening state is not window opening, and the reserved using state is reserved for use after a preset time length.

In some possible embodiments, in obtaining the target command of whether the target vehicle is in the mosquito repellent mode, the program includes instructions specifically for performing the following steps:

sending a mosquito repelling mode request to a terminal of a vehicle driver of the target vehicle, wherein the mosquito repelling mode request is used for indicating whether the vehicle driver of the target vehicle starts a mosquito repelling mode or not;

receiving target content sent by the terminal aiming at the mosquito repelling mode request;

if the target content belongs to the first content set, determining whether a target instruction of starting a mosquito repelling mode of the target vehicle is to start the mosquito repelling mode;

and if the target content belongs to a second content set, determining whether a target command of starting the mosquito repelling mode of the target vehicle is not to start the mosquito repelling mode.

In some possible embodiments, in terms of performing the ultrasonic mosquito repellent operation, the above program comprises instructions specifically for performing the following steps:

calling a prestored target ultrasonic audio, wherein the target ultrasonic audio is an audio formed by ultrasonic waves of natural enemies of mosquitoes;

and playing the target ultrasonic audio.

Embodiments of the present application also provide a computer-readable storage medium for storing a computer program, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer including an electronic device.

Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.

It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.

In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.

Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.

The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific implementation and application scope, and in view of the above, the content of the present specification should not be construed as a limitation to the present application.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种胸外科用病变组织收取装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!