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 a person skilled in the art that the embodiments described herein can be combined with other embodiments.
Electronic devices may include a variety of 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 speaker, 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 also used for acquiring the running state, the window opening state and the reserved using state of the target vehicle if the target vehicle is in the running 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 the ultrasonic mosquito repelling operation if the target command 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 location request to a vehicle center console of a target vehicle, wherein the location request is used for indicating the vehicle center console to feed back a real-time location 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 between 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 take shelter from rain by selecting places, and at the moment, 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
The preset mosquito activity level may be pre-configured by a driver of the vehicle, and the preset mosquito activity level may be 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 smaller 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 this time, when the target vehicle is parked at a certain place and the window 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 control operation aiming at the opening option is detected, the ultrasonic mosquito repelling device determines whether a target command of starting the mosquito repelling mode of the target vehicle is to start 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 to not start the mosquito repelling mode.
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 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.
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 the male mosquito of ultrasonic wave mosquito repellent device broadcast shake wing constitutes has realized effectively repelling the female mosquito of a week not just behind the mating like this, helps improving passenger's experience by bus, makes vehicle driver avoid the mosquito to disturb simultaneously, can be absorbed in the driving more.
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 which comprises ultrasonic waves of natural enemies of mosquitoes and audio formed by sound waves of wings shaken by 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 a pre-stored target ultrasonic audio frequency, wherein the target ultrasonic audio frequency comprises an ultrasonic wave of a natural enemy of mosquitoes and/or an audio frequency formed by a sound wave of a winged shaky male mosquito;
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 mosquitos, further improve the efficiency of effectively driveing the mosquito like this, and then improve passenger's experience by bus, make vehicle driver avoid the mosquito to disturb simultaneously, can be absorbed in the driving more.
In accordance with the embodiment shown in fig. 2A, please refer to fig. 3, 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-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 a mosquito repelling mode or not.
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, for the specific implementation of each step of the method shown in fig. 3, reference may be made to the specific implementation of the method described above, and no description is given 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: if the target mosquito activity degree is larger than or equal to the preset mosquito activity degree, the ultrasonic mosquito repelling device determines that the mosquitoes move frequently.
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 use after a preset time period, 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 whether the mosquito repelling mode is started or not by the vehicle driver feedback of the target vehicle.
406: and the ultrasonic mosquito repelling device receives the target content sent by the terminal according to 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 prestored 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, for the specific implementation of each step of the method shown in fig. 4, reference may be made to the specific implementation of the method described above, and no description is given here.
The foregoing embodiments mainly introduce the solutions 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 will 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 than two 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 provided in the 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 determining unit 502, configured to determine 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 of whether the target vehicle starts a mosquito repelling 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 peripheral mosquito of vehicle like this, helped improving passenger's experience by bus, makeed vehicle driver avoid the mosquito to disturb simultaneously, can be absorbed in more and drive.
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 repellent mode is to open the mosquito repellent mode;
when touch operation aiming at the option not to be started is detected, whether the target vehicle starts the mosquito repellent mode or not is determined.
In some possible embodiments, the preset conditions include: 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.
In some possible embodiments, in terms of obtaining the target instruction of whether the target vehicle starts the mosquito repelling 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 a first content set, determining whether a target command of starting a mosquito repellent mode of the target vehicle is to start the mosquito repellent mode;
and if the target content belongs to a second content set, determining whether a target command of starting the mosquito repellent mode of the target vehicle is to not start the mosquito repellent 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 which 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, a current location of a target vehicle and current time;
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 a mosquito repelling mode, executing ultrasonic mosquito repelling operation.
It can be seen that, compared with the situation that mosquitoes fly into the interior of the vehicle and that passengers and drivers of the vehicle do not carry mosquito repelling products, in the embodiment of the present application, under the condition that the mosquito repelling mode is opened for the target vehicle, the ultrasonic mosquito repelling operation is performed. Realized effectively driving the inside or peripheral mosquito of vehicle like this, helped improving passenger's experience by bus, makeed vehicle driver avoid the mosquito to disturb simultaneously, can be absorbed in more and drive.
In some possible embodiments, in terms of 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 that the mosquitoes have frequent 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 comprises instructions for performing the following steps:
popping up prompt information, a starting option and a non-starting option on a mosquito repellent 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 repellent 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 repellent mode is to open the mosquito repellent 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 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.
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 the vehicle driver of the target vehicle to feed back whether to start a mosquito repelling mode or not;
receiving target content sent by the terminal according to the mosquito repellent 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 performing the ultrasonic mosquito repellent operation, the program comprises instructions for performing the following steps:
calling a prestored target ultrasonic audio which is an audio formed by ultrasonic waves of natural enemies of mosquitoes;
and playing the target ultrasonic audio.
Embodiments of the present application further provide a computer-readable storage medium for storing a computer program, where the computer program causes 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 includes 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 will recognize that the embodiments described in this specification are preferred embodiments and that acts or modules referred to are not necessarily required for 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 apparatus embodiments are merely illustrative, and for example, the division of the above-described units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple 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 may be implemented in the form of hardware, or may also be implemented in the 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 solutions of the present application, which are essential or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above methods 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 of the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, the memory including: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing embodiments have been described in detail, and specific examples are used herein to explain the principles and implementations of the present application, where the above description of the embodiments is only intended to help understand the method and its core ideas 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.