CN117100081A - Control method and system, equipment and storage medium of intelligent mattress - Google Patents
Control method and system, equipment and storage medium of intelligent mattress Download PDFInfo
- Publication number
- CN117100081A CN117100081A CN202311080081.6A CN202311080081A CN117100081A CN 117100081 A CN117100081 A CN 117100081A CN 202311080081 A CN202311080081 A CN 202311080081A CN 117100081 A CN117100081 A CN 117100081A
- Authority
- CN
- China
- Prior art keywords
- pet
- intelligent mattress
- control instruction
- mattress
- target area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 88
- 238000001514 detection method Methods 0.000 claims abstract description 40
- 238000004891 communication Methods 0.000 claims abstract description 15
- 241000282326 Felis catus Species 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 8
- 241000282472 Canis lupus familiaris Species 0.000 description 13
- 238000010586 diagram Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004140 cleaning Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 230000009194 climbing Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000035939 shock Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 241001282135 Poromitra oscitans Species 0.000 description 1
- 206010048232 Yawning Diseases 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 210000003445 biliary tract Anatomy 0.000 description 1
- 238000011109 contamination Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 239000003344 environmental pollutant Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003340 mental effect Effects 0.000 description 1
- 231100000719 pollutant Toxicity 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 241000894007 species Species 0.000 description 1
- 210000002700 urine Anatomy 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01M—CATCHING, TRAPPING OR SCARING OF ANIMALS; APPARATUS FOR THE DESTRUCTION OF NOXIOUS ANIMALS OR NOXIOUS PLANTS
- A01M29/00—Scaring or repelling devices, e.g. bird-scaring apparatus
- A01M29/16—Scaring or repelling devices, e.g. bird-scaring apparatus using sound waves
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01M—CATCHING, TRAPPING OR SCARING OF ANIMALS; APPARATUS FOR THE DESTRUCTION OF NOXIOUS ANIMALS OR NOXIOUS PLANTS
- A01M29/00—Scaring or repelling devices, e.g. bird-scaring apparatus
- A01M29/22—Scaring or repelling devices, e.g. bird-scaring apparatus using vibrations
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47C—CHAIRS; SOFAS; BEDS
- A47C21/00—Attachments for beds, e.g. sheet holders or bed-cover holders; Ventilating, cooling or heating means in connection with bedsteads or mattresses
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47C—CHAIRS; SOFAS; BEDS
- A47C23/00—Spring mattresses with rigid frame or forming part of the bedstead, e.g. box springs; Divan bases; Slatted bed bases
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47C—CHAIRS; SOFAS; BEDS
- A47C27/00—Spring, stuffed or fluid mattresses or cushions specially adapted for chairs, beds or sofas
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47C—CHAIRS; SOFAS; BEDS
- A47C31/00—Details or accessories for chairs, beds, or the like, not provided for in other groups of this subclass, e.g. upholstery fasteners, mattress protectors, stretching devices for mattress nets
Landscapes
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Birds (AREA)
- Insects & Arthropods (AREA)
- Pest Control & Pesticides (AREA)
- Wood Science & Technology (AREA)
- Zoology (AREA)
- Environmental Sciences (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Housing For Livestock And Birds (AREA)
Abstract
The embodiment of the application discloses a control method, a system, equipment and a storage medium of an intelligent mattress, which comprise the following steps: determining whether the pet enters a first target area through a detection device, wherein the first target area is an entrance area of a space where the intelligent mattress is positioned, and the detection device is arranged in the entrance area; if the pet is determined to enter the first target area, communication connection is established with a driving device outside the intelligent mattress, and a first control instruction is sent to the driving device, so that the driving device drives the pet by executing the first control instruction; after the driving device drives the pet, determining whether the pet is located on the intelligent mattress, and if the pet is located on the intelligent mattress, controlling the intelligent mattress to drive the pet. Thus, the pet can be actively driven, so that the intelligent mattress is prevented from being polluted.
Description
Technical Field
The embodiment of the application relates to an intelligent home technology, and relates to a control method, a system, equipment and a storage medium of an intelligent mattress, which are not limited to the intelligent home technology.
Background
With the gradual improvement of the living standard of people, the pursuit of users on mental life is improved, and many users can raise pets to accompany themselves. However, pets are very easy to enter the bedroom without the attention of the user and climb onto the mattress for activity, thereby soiling the mattress. In this regard, how to avoid the pet from soiling the mattress becomes a highly desirable problem.
Disclosure of Invention
In view of this, the control method, system, device and storage medium for intelligent mattresses provided by the embodiments of the application can actively drive pets to avoid pollution of intelligent mattresses. The control method, the control system, the control equipment and the control storage medium of the intelligent mattress are realized as follows:
the control method of the intelligent mattress provided by the embodiment of the application comprises the following steps:
determining whether a pet enters a first target area through a detection device, wherein the first target area is an entrance area of a space where an intelligent mattress is located, and the detection device is arranged in the entrance area;
if the pet is determined to enter the first target area, communication connection is established with a driving device outside the intelligent mattress, and a first control instruction is sent to the driving device, so that the driving device drives the pet by executing the first control instruction;
after the driving device drives the pet, determining whether the pet is located on the intelligent mattress, and if the pet is located on the intelligent mattress, controlling the intelligent mattress to drive the pet.
In some embodiments, the detection device comprises a first shooting device, and the driving device comprises a sound generating device and a vibration device; before said sending the first control instruction to the driving apparatus, the method further comprises:
If the pet is determined to enter the first target area, continuously shooting the moving track of the pet through the first shooting device to obtain a plurality of first shooting images;
determining the moving speed of the pet in the first target area according to the plurality of first shooting images;
the sending a first control instruction to the driving device comprises the following steps:
when the moving speed is smaller than a first threshold value, sending a first control instruction to the vibration device, wherein the first control instruction comprises vibration force matched with the moving speed, and the larger the moving speed is, the larger the vibration force is;
and under the condition that the moving speed is greater than or equal to the first threshold value, sending the first control instruction to the sound generating device, wherein the first control instruction comprises sound volume matched with the moving speed, and the larger the moving speed is, the larger the sound volume is.
In some embodiments, the detection device comprises a first shooting device, and the driving device comprises a sound generating device and a vibration device; before said sending the first control instruction to the driving apparatus, the method further comprises:
if the pet is determined to enter the first target area, shooting the first target area through the first shooting device to obtain a second shooting image;
Identifying the pets in the second shooting image to obtain the types of the pets;
the sending a first control instruction to the driving device comprises the following steps:
when the type of the pet is determined to be cat, sending the first control instruction to the vibration device so that the vibration device drives the cat through vibration;
and when the type of the pet is determined to be a dog, sending the first control instruction to the sounding device so that the sounding device drives the dog through sounding.
In some embodiments, prior to determining whether the pet is located on the smart mattress, the method further comprises:
determining whether the pet moves in a second target area through the detection device, wherein the second target area is an area except the intelligent mattress in the space where the intelligent mattress is located;
and if the pet moves in the second target area, sending a second control instruction to a target device in the sound generating device and the vibration device, so that the target device drives the pet by executing the second control instruction, and the target device is different from a device corresponding to the first control instruction.
In some embodiments, the smart mattress is provided with a second camera and a pressure sensor, and the determining whether the pet is located on the smart mattress includes:
detecting object pressure acting on the intelligent mattress through the pressure sensing device;
determining whether the object pressure is within a preset pressure range, and if the object pressure is within the preset pressure range, invoking the second photographing device to photograph the intelligent mattress to obtain a third photographed image;
and carrying out identification processing on the third shot image to determine whether the pet is positioned on the intelligent mattress.
In some embodiments, the method further comprises:
if the pet is determined to be located on the intelligent mattress, a third control instruction is sent to a projection device which is in communication connection with the intelligent mattress through the intelligent mattress, so that the projection device can emit projection information to a direction away from the intelligent mattress according to the third control instruction, and the pet is attracted to leave the intelligent mattress.
In some embodiments, the projection device emits projection information in a direction away from the intelligent mattress, comprising:
Controlling the projection device to emit projection information to a first position far away from the intelligent mattress;
detecting whether the pet is moving to the first location;
if the pet does not move to the first position, controlling the projection device to transmit the projection information to a second position, wherein the distance between the second position and the intelligent mattress is smaller than the distance between the first position and the intelligent mattress;
and if the pet moves to the first position, controlling the projection device to emit the projection information to a third position far away from the intelligent mattress, wherein the distance between the third position and the intelligent mattress is larger than the distance between the first position and the intelligent mattress.
The embodiment of the application provides a control system of an intelligent mattress, which comprises a detection device, a first driving device and the intelligent mattress, and comprises the following components:
the detection device is used for determining whether a pet enters a first target area, wherein the first target area is an entrance area of a space where the intelligent mattress is located, and the detection device is arranged in the entrance area;
if the pet is determined to enter the first target area, communication connection is established with a driving device outside the intelligent mattress, and a first control instruction is sent to the driving device;
The driving device is used for executing the first control instruction to drive the pet;
the intelligent mattress is used for determining whether the pet is located on the intelligent mattress after the driving device drives the pet, and if the pet is located on the intelligent mattress, the pet is driven.
The computer device provided by the embodiment of the application comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor realizes the method of the embodiment of the application when executing the program.
The computer readable storage medium provided by the embodiment of the present application stores a computer program thereon, which when executed by a processor implements the method provided by the embodiment of the present application.
The control method, the system, the computer equipment and the computer readable storage medium for the intelligent mattress provided by the embodiment of the application determine whether a pet enters a first target area through a detection device, wherein the first target area is an entrance area of a space where the intelligent mattress is positioned, and the detection device is arranged in the entrance area; if the pet is determined to enter the first target area, communication connection is established with a driving device outside the intelligent mattress, and a first control instruction is sent to the driving device, so that the driving device drives the pet by executing the first control instruction; after the driving device drives the pet, determining whether the pet is located on the intelligent mattress, and if the pet is located on the intelligent mattress, controlling the intelligent mattress to drive the pet. Like this, can all drive when the pet has the intention of climbing intelligent mattress and pet climbs intelligent mattress, can keep intelligent mattress's cleanness to solve the technical problem that proposes among the background art.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of an application scenario of a control method of an intelligent mattress according to an embodiment of the present application;
fig. 2 is a schematic implementation flow chart of a control method of an intelligent mattress according to an embodiment of the present application;
FIG. 3 is a schematic view of a region of an intelligent mattress according to an embodiment of the present application;
fig. 4 is a schematic implementation flow chart of a control method of an intelligent mattress according to an embodiment of the present application;
FIG. 5 is a schematic view of a region of an intelligent mattress according to an embodiment of the present application;
fig. 6 is a schematic implementation flow chart of a control method of an intelligent mattress according to an embodiment of the present application;
fig. 7 is a schematic diagram of an implementation flow of driving pets by the intelligent mattress according to the embodiment of the application;
fig. 8 is a schematic diagram of an implementation flow of projection performed by the projection device according to the embodiment of the present application;
fig. 9 is a schematic structural diagram of a control system for an intelligent mattress according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more apparent, the specific technical solutions of the present application will be described in further detail below with reference to the accompanying drawings in the embodiments of the present application. The following examples are illustrative of the application and are not intended to limit the scope of the application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
It should be noted that the term "first/second/third" in relation to embodiments of the present application is used to distinguish between similar or different objects, and does not represent a particular ordering of the objects, it being understood that the "first/second/third" may be interchanged with a particular order or sequencing, as permitted, to enable embodiments of the present application described herein to be implemented in an order other than that illustrated or described herein.
Fig. 1 is an application scenario schematic diagram of a control method of an intelligent mattress provided by an embodiment of the present application. As shown in fig. 1, the method may be applied to an intelligent mattress, wherein the intelligent mattress may include a photographing device and a pressure sensing device, the intelligent mattress may photograph an area including the intelligent mattress through the photographing device, and the object pressure acting on the intelligent mattress may be collected through the pressure sensing device.
Fig. 2 is a schematic implementation flow chart of a control method of an intelligent mattress according to an embodiment of the present application. As shown in fig. 2, the method may include the following steps 201 to 203:
step 201, determining whether a pet enters a first target area through a detection device, wherein the first target area is an entrance area of a space where the intelligent mattress is located, and the detection device is arranged in the entrance area.
In the embodiment of the present application, the specific type of the detection device is not limited, for example, the detection device may be a device with an identification function, such as a photographing device, an infrared sensor, an induction coil, and the like.
It should be noted that, detection device sets up in the entry regional department in intelligent mattress place space, can be outside the entry in intelligent mattress place space for setting up, also can be in the entry in intelligent mattress place space, and concrete position is not limited, and this detection device only needs to satisfy can detect whether the pet gets into the developments in intelligent mattress place space.
In a specific embodiment, as shown in fig. 3, if the intelligent mattress is located in the bedroom, the first target area is a bedroom entrance area, and the detection device may be disposed outside the bedroom entrance or inside the bedroom entrance to monitor whether the pet has an intention to enter the bedroom.
Step 202, if it is determined that the pet enters the first target area, communication connection is established with a driving device outside the intelligent mattress, and a first control instruction is sent to the driving device, so that the driving device drives the pet by executing the first control instruction.
In the embodiment of the application, if the detection device detects that the pet enters the first target area, the detection device can send the first control instruction to the driving device which establishes communication connection with the detection device, and the driving device can execute the first control instruction after receiving the first control instruction to drive the pet for the first time.
Here, the specific type of the driving means is not limited, and for example, the driving means may be a sound emitting means, a vibration means, a smell volatilizing means, a projection means, or the like. Wherein the sound generating device can be a sound, a loudspeaker, a musical instrument and the like; the vibration device can be a vibration sensor, household equipment with a vibration motor, etc.; the projection device may be a laser pen, projector, etc.
In the embodiment of the present application, the number of the driving devices is not limited, and the driving devices may be one or more. Of course, the location of the driving device is not limited, for example, the driving device may be located in the same space as the intelligent mattress (as in a bedroom), or the driving device may not be located in the same space as the intelligent mattress (as in a bedroom, in a living room, etc.).
In some embodiments, step 202 may be implemented by performing steps 402 through 404 in the following embodiments.
In other embodiments, step 202 may also be implemented by performing steps 602 through 604 in the following embodiments.
Step 203, after the driving device drives the pet, determining whether the pet is located on the intelligent mattress, and if the pet is located on the intelligent mattress, controlling the intelligent mattress to drive the pet.
In the embodiment of the application, after the driving device drives the pet for the first time, the intelligent mattress can continuously monitor whether the pet climbs up, and after the pet climbs up the intelligent mattress is determined, the intelligent mattress can also drive the pet by itself so as to avoid the pollution of the mattress by the pet.
In the embodiment of the application, whether a user enters an entrance area of a space where the intelligent mattress is located is monitored by the detection device, and if the entrance area of the pet is monitored, a first control instruction is sent to the driving device so as to drive the pet for the first time; then, can also monitor by intelligent mattress by oneself and whether have the pet to climb up, when confirming that there is the pet to climb up, then drive by oneself by intelligent mattress. Like this, can all drive when the pet has the intention of climbing intelligent mattress and pet climbs intelligent mattress, can keep intelligent mattress's cleanness.
Fig. 4 is a schematic implementation flow chart of a control method of an intelligent mattress according to an embodiment of the present application. As shown in fig. 4, the method may include the following steps 401 to 410:
step 401, determining, by a first photographing device, whether a pet enters a first target area, where the first target area is an entrance area of a space where the intelligent mattress is located, where the first photographing device is disposed.
Here, the manner of performing step 401 is the same as that of performing step 201 in the above embodiment, and will not be described here again.
Step 402, if it is determined that the pet enters the first target area, continuously shooting the moving track of the pet through the first shooting device, so as to obtain a plurality of first shooting images.
It can be understood that when the pet enters the area where the intelligent mattress is located, the moving track and the moving speed of the pet are relatively uncontrollable, and when the pet is driven, the characteristics of small biliary tree, easy frightening and the like of the pet are considered, and the single driving mode can possibly frighten the pet.
Based on this, in the embodiment of the application, when it is determined that the pet enters the first target area (for example, when it is detected that the pet is at the entrance of the bedroom and there is an intention to enter the bedroom), the moving track of the pet is continuously shot, so as to determine the moving speed of the pet in the first target area (that is, determine the speed of the pet entering the area where the intelligent mattress is located), and thus determine the driving mode according to the moving speed of the pet.
Step 403, determining the moving speed of the pet in the first target area according to the plurality of first shooting images.
Step 404, when the moving speed is smaller than the first threshold value, a first control instruction is sent to the vibration device, wherein the first control instruction comprises vibration force matched with the moving speed, and the larger the moving speed is, the larger the vibration force is; and under the condition that the moving speed is greater than or equal to a first threshold value, sending a first control instruction to the sound generating device, wherein the first control instruction comprises sound volume matched with the moving speed, and the larger the moving speed is, the larger the sound volume is.
Here, the specific value of the first threshold value is not limited, and for example, the first threshold value may be set according to the historical behavior habit of the pet.
It will be appreciated that when the pet enters the first target area at a slower movement speed (less than the first threshold value), to avoid frightening the pet, a first control command may be sent to the vibrator to cause the vibrator to dislodge the pet in a vibratory manner. And when the vibration device executes vibration driving operation, the vibration force of the vibration device is related to the moving speed of the pet, namely, the greater the moving speed of the pet is, the greater the vibration force is, so that the situation that the pet moves too fast and the shock feeling is too weak, and the pet cannot feel the shock feeling is avoided.
Correspondingly, when the pet enters the first target area at a relatively high moving speed (greater than or equal to a first threshold value), the pet can be effectively driven in a relatively obvious driving mode, and a first control instruction can be sent to the sound generating device, so that the sound generating device makes sound to attract the pet to leave or drive the pet to leave. And when the sounding device executes sounding driving operation, the volume of the sounding device is related to the moving speed of the pet, namely, the greater the moving speed of the pet is, the greater the volume is, so that the situation that the pet moves too fast and the sound is too small to feel the sound is avoided.
Alternatively, in other embodiments, the driving manner of the pet is determined based on the moving speed of the pet, and in the case that the moving speed is smaller than the first threshold, a first control instruction is sent to the sound generating device and the vibration device at the same time, where the first control instruction is used to instruct the sound generating device to generate sound with a volume smaller than the specific threshold to drive the pet, and instruct the vibration device to vibrate with a vibration force smaller than the specific threshold to drive the pet; and under the condition that the moving speed is greater than or equal to a first threshold value, simultaneously sending a first control instruction to the sound generating device and the vibration device, wherein the first control instruction is used for indicating the sound generating device to generate sound at the volume greater than or equal to a specific threshold value so as to drive the pet, and indicating the vibration device to vibrate at the vibration force greater than or equal to the specific threshold value so as to drive the pet. Like this, drive the pet through sound generating mechanism and vibrator together, can increase and drive the success rate.
Step 405, determining, by the detection device, whether the pet is moving within a second target area, the second target area being an area of the space in which the intelligent mattress is located other than the intelligent mattress.
It will be appreciated that after the first driving operation of the pet by the driving device, the pet may not be driven out of the space where the intelligent mattress is located, but may not climb up the intelligent mattress, but may instead perform activities in the space where the intelligent mattress is located, such as the pet stepping in a bedroom, etc. (as shown in fig. 5).
Therefore, in the embodiment of the application, after the first driving operation is performed on the pet by the driving device, the detection device can be further used for detecting whether the pet moves in the space where the intelligent mattress is located except for the intelligent mattress (i.e. the first driving is not successful), so that the second driving is performed before the pet climbs on the intelligent mattress.
Step 406, if it is determined that the pet moves in the second target area, sending a second control instruction to the target device in the sound generating device and the vibration device, so that the target device drives the pet by executing the second control instruction, and the target device is different from the device corresponding to the first control instruction.
Here, when it is determined that the first driving operation for the pet is unsuccessful, it is explained to some extent that the driving manner adopted at the time of the first driving is poor in effect for the pet. Thus, when it is determined that the pet is moving in the second target area (i.e., the area other than the intelligent mattress in the space where the intelligent mattress is located), a second control instruction may be transmitted to a driving device (target device) different from the driving operation performed for the first time, so that the target device drives the pet. That is, if the driving device for driving the pet in step 404 is a vibration device, the target device is a sound generating device; if the driving device for driving the pet in step 404 is a sound device, the target device is a vibration device.
Step 407, detecting the object pressure acting on the intelligent mattress through a pressure sensing device arranged on the intelligent mattress.
It will be appreciated that by performing step 404 to first drive the pet and by performing step 406 to second drive the pet, the pet may not yet be driven out of the space where the intelligent mattress is located, i.e., the pet may still climb up the intelligent mattress, and the intelligent mattress may automatically drive the pet when it is detected that the pet climbs up.
In the embodiment of the application, in order to accurately detect that the pet climbs onto the mattress, the pressure of an object acting on the intelligent mattress can be detected by the pressure sensing device arranged on the intelligent mattress, and whether the pet is on the bed or not can be judged by the processor arranged on the intelligent mattress according to the pressure of the object.
Step 408, determining whether the object pressure is within the preset pressure range, and if the object pressure is within the preset pressure range, invoking the second photographing device to photograph the intelligent mattress, so as to obtain a third photographed image.
Alternatively, when judging whether the pet is on bed according to the object pressure, it can be determined according to the comparison of the object pressure and the preset pressure range. That is, if the object pressure is within the preset pressure range, it is considered that it is possible that the pet is put on bed.
Here, the preset pressure range may be a pressure that the pet applies to the intelligent mattress when the pet is located in the intelligent mattress. For example, if a pet cat weighs between 1kg and 6kg, the pressure applied by the pet cat to the intelligent mattress will be approximately in the range of 10N to 60N; while the weight of the pet dog is generally between 5kg and 25kg, the pressure of the pet dog on the intelligent mattress can be determined to be approximately between 50N and 250N. Based on this, alternatively, the preset pressure range may be set to 10N-60N, or set to 50N-250N, etc., specifically, may be set according to the kind of pets raised in the home, which is not limited by the embodiment of the present application.
It should be noted that, because the weight of the large pet is relatively close to the weight of the child, the intelligent mattress only depends on the object pressure obtained by the pressure sensor to determine whether the pet is on bed, and the problem of misidentification may exist. Based on the above, in the embodiment of the application, when the pressure of the object is determined to be within the preset pressure range, a second shooting device arranged on the intelligent mattress is called to shoot the intelligent mattress so as to obtain a third shooting image containing the object, and whether the pet is on the bed is determined according to the third shooting image. Therefore, after the pet is initially determined to be possibly on bed, the shooting device is called to shoot the intelligent mattress, and the power consumption of the second shooting device can be effectively reduced.
In view of the fact that the volume occupied by the pet on the mattress is generally smaller than the volume occupied by the user on the mattress, in some embodiments, before the second shot image is called to shoot the intelligent mattress, the size of the object on the intelligent mattress can be determined according to the sensing device arranged on the intelligent mattress, and the size of the object is compared with the preset pet size range to preliminarily determine whether the pet is located on the intelligent mattress.
Step 409, performing recognition processing on the third shot image to determine whether the pet is located on the intelligent mattress.
In the embodiment of the present application, the manner of recognizing the object in the third captured image is not limited, and the recognition technique used in the related art may be employed.
Step 410, if it is determined that the pet is located on the intelligent mattress, controlling the intelligent mattress to drive the pet.
In the embodiment of the application, after determining that a pet enters an entrance area of a space where an intelligent mattress is located, shooting by a first shooting device placed in the entrance area to obtain the moving speed of the pet, and determining a corresponding driving mode according to the moving speed so as to drive the pet for the first time; then, when the pet moves in the area except the intelligent mattress in the space where the intelligent mattress is located, calling a driving device different from the first driving device to drive the pet for the second time; after that, still accessible intelligent mattress is last to set up pressure sensing device and second shooting device discernment jointly whether the pet climbs the mattress to when confirming that the pet climbs the mattress, drive through intelligent mattress for the third time. Therefore, the intelligent mattress can be effectively kept clean through multiple times of driving of pets.
Fig. 6 is a schematic implementation flow chart of a control method of an intelligent mattress according to an embodiment of the present application. As shown in fig. 6, the method may include the following steps 601 to 610:
in step 601, whether the pet enters a first target area is determined by a first shooting device, wherein the first target area is an entrance area of a space where the intelligent mattress is located, and the first shooting device is arranged in the entrance area.
Here, the manner of performing step 601 is the same as that of performing step 201 in the above embodiment, and will not be described here again.
Step 602, if it is determined that the pet enters the first target area, shooting the first target area by the first shooting device to obtain a second shooting image.
Step 603, identifying the pet in the second shot image to obtain the type of the pet.
It can be appreciated that different pets generally need different driving modes to obtain better driving effects. Therefore, in the embodiment of the application, if the pet is detected to enter the first target area, the area containing the pet can be shot to obtain the second shot image, and the type of the pet entering the first target area can be obtained by identifying based on the second shot image.
Step 604, when the pet is determined to be cat, sending a first control instruction to the vibration device so that the vibration device drives the cat through vibration; when the pet is determined to be of a dog, a first control instruction is sent to the sounding device, so that the sounding device drives the dog through sounding.
Generally, pet cats are more prone to be frightened than pet dogs, so a gentle approach can be used to avoid frightening the pet cats when driving them away; when the pet dogs are driven, the pet dogs can be driven in a relatively violent mode so as to avoid neglecting the driving operation.
Therefore, in the embodiment of the application, if the species of the pet is identified as the cat, the cat can be driven by the vibration device; if the type of the pet is identified as a dog, the dog can be driven by sounding through the sounding device.
Step 605, determining, by the detection device, whether the pet is moving within a second target area, the second target area being an area of the space in which the intelligent mattress is located other than the intelligent mattress.
Step 606, if it is determined that the pet moves in the second target area, a second control instruction is sent to the target device in the sound generating device and the vibration device, so that the target device drives the pet by executing the second control instruction, and the target device is different from the device corresponding to the first control instruction.
In step 607, the object pressure acting on the intelligent mattress is detected by the pressure sensing device arranged on the intelligent mattress.
Step 608, determining whether the object pressure is within the preset pressure range, and if the object pressure is within the preset pressure range, invoking a second photographing device to photograph the intelligent mattress to obtain a third photographed image.
Step 609, performing recognition processing on the third shot image to determine whether the pet is located on the intelligent mattress.
Step 610, if it is determined that the pet is located on the intelligent mattress, controlling the intelligent mattress to drive the pet.
It should be noted that, the implementation manners of step 605 to step 610 in the embodiment of the present application are the same as those of step 405 to step 410 in the above embodiment, and are not repeated here.
In the embodiment of the application, after determining that a pet enters an entrance area of a space where an intelligent mattress is located, shooting by a first shooting device placed in the entrance area to obtain the type of the pet, and determining a corresponding driving mode according to the type of the pet so as to drive the pet for the first time; then, when the pet moves in the area except the intelligent mattress in the space where the intelligent mattress is located, calling a driving device different from the first driving device to drive the pet for the second time; after that, still accessible intelligent mattress is last to set up pressure sensing device and second shooting device discernment jointly whether the pet climbs the mattress to when confirming that the pet climbs the mattress, drive through intelligent mattress for the third time. Therefore, the intelligent mattress can be effectively kept clean through multiple times of driving of pets.
Fig. 7 is a schematic implementation flow chart of a method for driving pets by using an intelligent mattress according to an embodiment of the present application. As shown in fig. 7, the pet driving method can be applied to the intelligent mattress driving the pet in the steps 203, 410 and 610.
Step 701, if it is determined that the pet is located on the intelligent mattress, sending a third control instruction to a projection device which is in communication connection with the intelligent mattress through the intelligent mattress.
In step 702, the projection device emits projection information to a direction away from the intelligent mattress according to the third control instruction so as to attract the pet to leave the intelligent mattress.
In the embodiment of the application, the type of the projection device is not limited, and if the projection device can be a laser pen, the laser pen can emit a laser spot in a direction far away from the intelligent mattress after receiving a third control instruction so as to attract the pet to leave the intelligent mattress; or, the projection device can also be a projector, and after receiving the third control instruction, the projector can throw the animation information of interest of the pet in a direction away from the intelligent mattress so as to attract the pet to leave the intelligent mattress.
In one embodiment, the projection device may execute the step 702 by executing the following steps:
At step 801, a projection device emits projection information to a first location remote from the intelligent mattress.
It will be appreciated that the pet is generally not interested in projecting information that is farther away, and therefore, the first location of the projected information should be located relatively closer to the intelligent mattress to attract the pet to the past.
Step 802, it is detected whether the pet is moving to a first location.
After the projection device transmits the projection information to the first position, a projection completion instruction can be transmitted to the detection device which establishes communication connection with the projection device, so that the detection device can respond to the projection completion instruction to detect whether the pet moves to the first position. Here, the detection device may be placed on the intelligent mattress, or may be placed in a space where the intelligent mattress is located.
803, if the pet does not move to the first position, the projection device transmits projection information to the second position, and the distance between the second position and the intelligent mattress is smaller than the distance between the first position and the intelligent mattress; if the pet moves to the first position, the projection device emits projection information to a third position far away from the intelligent mattress, and the distance between the third position and the intelligent mattress is larger than the distance between the first position and the intelligent mattress.
If the pet is detected not to move to the first position, the projection position of the projection information can be adjusted to approach the intelligent mattress, so that the distance between the projection position and the pet is closer to the intelligent mattress, and the pet is attracted to leave the intelligent mattress; if the pet is detected to move to the first position, the projection position of the projection information can be adjusted to be further away from the intelligent mattress so as to attract the pet to leave the intelligent mattress step by step and further leave the space where the intelligent mattress is located.
By implementing the method for driving the pets by the intelligent mattress, the driving of the pets can be realized on the basis of not frightening the pets.
In an embodiment of the present application, a method for driving a pet by using an intelligent mattress is further provided, and the method for driving a pet may be applicable to controlling the intelligent mattress to drive a pet in the steps 203, 410 and 610, and the method for driving a pet may include:
if it is determined that the pet is located on the intelligent mattress, the intelligent mattress controls the odor volatilizing device arranged on the intelligent mattress to volatilize the odor in a first period of time when the pet is determined to be located on the intelligent mattress, so that the pet is driven.
Here, the installation position of the odor volatilizing device is not limited, and the odor volatilized by the odor volatilizing device can be the odor which is unpleasant and not irritating to the pet, so that the space where the intelligent mattress is located is prevented from being polluted while the pet is driven.
If after the first time, the pet is determined to be still located on the intelligent mattress, the intelligent mattress controls the vibration module arranged on the intelligent mattress to vibrate the area where the pet is located so as to drive the pet.
If the odor volatilizing device volatilizes the gas for a period of time, the pet still does not leave the intelligent mattress, the current position of the pet can be obtained, and the vibration module at the corresponding position on the mattress is called to vibrate, so that the pet is further driven.
By implementing the method for driving the pets by the intelligent mattress, the pets can be driven step by step, so that the pets are prevented from being frightened in the driving process.
In an embodiment of the present application, a method for driving a pet by using an intelligent mattress is further provided, and the method for driving a pet may be applicable to controlling the intelligent mattress to drive a pet in the steps 203, 410 and 610, and the method for driving a pet may include:
if the pet is determined to be positioned on the intelligent mattress, the intelligent mattress sends first reminding information to electronic equipment carried by the target object; through the sound generating mechanism that sets up on the intelligent mattress, broadcast target object responds the dialogue of first warning information output to drive the pet and leave intelligent mattress.
Here, the electronic device may be a mobile phone, a tablet, a wearable device such as a wristwatch, a bracelet, or the like, which is carried by the target object. When the intelligent mattress determines that the pet is located on the bed, the intelligent mattress can send reminding information to the electronic equipment carried by the target object so as to remind the target object to check the current state of the pet.
Thus, after the target object finds that the pet is located on the intelligent mattress, communication connection can be established between the target object and the sounding device arranged on the intelligent mattress through the electronic equipment so as to output a dialogue through the sounding device and drive the pet to leave the intelligent mattress.
Of course, if it is determined that the pet is located on the intelligent mattress, the intelligent mattress can also control the sound generating device arranged on the intelligent mattress to play the audio content pre-stored by the target object, the target user can be the pet owner, and the audio content can be the yawning sound and the like.
It will be appreciated that after the control method of the intelligent mattress in the above embodiments has been performed, the pet may have been driven away from the intelligent mattress, but after the pet has left the intelligent mattress, the intelligent mattress may have been contaminated by the pet, and therefore, the intelligent mattress typically needs to be cleaned.
In view of this, if it is determined that the pet leaves the intelligent mattress, the embodiment of the application further provides a method for cleaning the intelligent mattress, which may include:
And obtaining the pollution degree of the intelligent mattress. Controlling one end of the intelligent mattress to incline relative to the other end of the intelligent mattress under the condition that the pollution degree is smaller than a second threshold value so as to clean the intelligent mattress; and under the condition that the pollution degree is greater than or equal to a second threshold value, controlling the intelligent mattress to send second reminding information to electronic equipment carried by the target object, so that the target object responds to the second reminding information to clean the intelligent mattress.
Here, the historical action range of the pet on the intelligent mattress can be determined first, and a shooting device on the intelligent mattress is called to shoot the area where the historical action range of the pet is located, so that a pollution image is obtained; and comparing the pollution image with a pre-stored clean image of the intelligent mattress to determine the pollution degree of the intelligent mattress.
After determining the pollution degree of the intelligent mattress, if the pollution degree is slight, if hair, dander, dust and the like are found, the intelligent mattress can be controlled to incline to one side so as to clean up pollutants; if the pollution degree is heavy, if urine stains, water stains and the like are judged, information can be sent to the target object to remind the target object to clean as soon as possible, so that the problem that the cleaning is difficult due to long shelf time is avoided.
By implementing the mattress cleaning method, the cleanness of the intelligent mattress can be effectively ensured.
It should be understood that, although the steps in the flowcharts described above are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described above may include a plurality of sub-steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of execution of the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with at least a part of the sub-steps or stages of other steps or other steps.
Based on the foregoing embodiments, the embodiments of the present application provide a control system for an intelligent mattress, where the system includes each module included, and each unit included in each module may be implemented by a processor; of course, the method can also be realized by a specific logic circuit; in an implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 9 is a schematic structural diagram of a control system for an intelligent mattress according to an embodiment of the present application, as shown in fig. 9, where the control system for an intelligent mattress includes a detection device 901, a first driving device 902, and an intelligent mattress 903, where:
the detection device 901 is configured to determine whether a pet enters a first target area, where the first target area is an entrance area of a space where the intelligent mattress is located, and the detection device is disposed in the entrance area;
if the pet is determined to enter the first target area, communication connection is established with a driving device outside the intelligent mattress, and a first control instruction is sent to the driving device;
the driving device 902 is configured to execute the first control instruction to drive the pet;
the intelligent mattress 903 is configured to determine whether the pet is located on the intelligent mattress after the driving device drives the pet, and if it is determined that the pet is located on the intelligent mattress, drive the pet.
In some embodiments, the detecting device 901 includes a first photographing device, and the driving device 902 includes a sound generating device and a vibration device; the first shooting device is used for continuously shooting the moving track of the pet if the pet is determined to enter the first target area, so as to obtain a plurality of first shooting images; determining the moving speed of the pet in the first target area according to the plurality of first shooting images; when the moving speed is smaller than a first threshold value, sending a first control instruction to the vibration device, wherein the first control instruction comprises vibration force matched with the moving speed, and the larger the moving speed is, the larger the vibration force is; and under the condition that the moving speed is greater than or equal to the first threshold value, sending the first control instruction to the sound generating device, wherein the first control instruction comprises sound volume matched with the moving speed, and the larger the moving speed is, the larger the sound volume is.
In some embodiments, the detecting device 901 includes a first photographing device, and the driving device 902 includes a sound generating device and a vibration device; the first shooting device is used for shooting the first target area through the first shooting device if the pet is determined to enter the first target area, so as to obtain a second shooting image; identifying the pets in the second shooting image to obtain the types of the pets; when the type of the pet is determined to be cat, sending the first control instruction to the vibration device so that the vibration device drives the cat through vibration; and when the type of the pet is determined to be a dog, sending the first control instruction to the sounding device so that the sounding device drives the dog through sounding.
In some embodiments, the driving device 902 includes a sound generating device and a vibration device; the detecting device 901 is further configured to determine whether the pet moves in a second target area, where the second target area is an area except the intelligent mattress in the space where the intelligent mattress is located; and if the pet moves in the second target area, sending a second control instruction to a target device in the sound generating device and the vibration device, so that the target device drives the pet by executing the second control instruction, and the target device is different from a device corresponding to the first control instruction.
In some embodiments, the intelligent mattress 903 is provided with a second photographing device, a pressure sensing device and a processor, wherein the pressure sensing device is used for detecting the pressure of an object acting on the intelligent mattress; the processor is used for determining whether the object pressure is within a preset pressure range, and if the object pressure is within the preset pressure range, the second shooting device is called to shoot the intelligent mattress, so that a third shooting image is obtained; the second photographing device is configured to perform recognition processing on the third photographed image, and determine whether the pet is located on the intelligent mattress 903.
In some embodiments, if it is determined that the pet is located on the intelligent mattress, the intelligent mattress 903 sends a third control instruction to a projection device in communication with the intelligent mattress 903, so that the projection device emits projection information in a direction away from the intelligent mattress 903 according to the third control instruction to attract the pet to leave the intelligent mattress 903.
In some embodiments, the projection device is configured to transmit projection information to a first location remote from the intelligent mattress; the detecting device 901 is configured to detect whether the pet moves to the first position; if the pet does not move to the first position, controlling the projection device to transmit the projection information to a second position, wherein the distance between the second position and the intelligent mattress is smaller than the distance between the first position and the intelligent mattress; and if the pet moves to the first position, controlling the projection device to emit the projection information to a third position far away from the intelligent mattress, wherein the distance between the third position and the intelligent mattress is larger than the distance between the first position and the intelligent mattress.
In some embodiments, the intelligent mattress 903 includes an odor volatilization device and a vibration module, and in a first period of time when the pet is determined to be on the intelligent mattress, the intelligent mattress 903 controls the odor volatilization device to volatilize the odor to expel the pet; if the pet is determined to be located on the intelligent mattress after the first period of time, the intelligent mattress 903 controls the vibration module to vibrate an area where the pet is located so as to drive the pet.
In some embodiments, if it is determined that the pet is located on the intelligent mattress, the intelligent mattress 903 sends a first alert message to an electronic device carried by the target object; the intelligent mattress 903 plays the dialogue of the target object in response to the output of the first reminding information through the sound generating device arranged on the intelligent mattress so as to drive the pet to leave the intelligent mattress.
In some embodiments, if it is determined that the pet is leaving the intelligent mattress, acquiring the pollution level of the intelligent mattress 903; controlling one end of the intelligent mattress 903 to incline relative to the other end of the intelligent mattress to clean the intelligent mattress if the contamination level is less than a second threshold; and under the condition that the pollution degree is greater than or equal to the second threshold value, controlling the intelligent mattress 903 to send second reminding information to electronic equipment carried by the target object, so that the target object responds to the second reminding information to clean the intelligent mattress.
The description of the apparatus embodiments above is similar to that of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, please refer to the description of the embodiments of the method of the present application.
It should be noted that, in the embodiment of the present application, the division of the modules by the control system of the intelligent mattress shown in fig. 9 is schematic, which is merely a logic function division, and other division manners may be adopted in actual implementation. In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. Or in a combination of software and hardware.
It should be noted that, in the embodiment of the present application, if the method is implemented in the form of a software functional module, and sold or used as a separate product, the method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partly contributing to the related art, embodied in the form of a software product stored in a storage medium, including several instructions for causing an electronic device to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the application are not limited to any specific combination of hardware and software.
The embodiment of the application provides a computer device, which can be a server, and the internal structure diagram of the computer device can be shown in fig. 10. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing data. The network interface of the computer device is used for communicating with an external terminal through a network connection. Which computer program, when being executed by a processor, carries out the above-mentioned method.
An embodiment of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method provided in the above-described embodiment.
Embodiments of the present application provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the method provided by the method embodiments described above.
It will be appreciated by those skilled in the art that the structure shown in FIG. 10 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, the control system of the intelligent mattress provided by the present application may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 10. The memory of the computer device may store the various program modules that make up the apparatus. The computer program of each program module causes a processor to carry out the steps of the method of each embodiment of the application described in the present specification.
It should be noted here that: the description of the storage medium and apparatus embodiments above is similar to that of the method embodiments described above, with similar benefits as the method embodiments. For technical details not disclosed in the storage medium, the storage medium and the device embodiments of the present application, please refer to the description of the method embodiments of the present application.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" or "some embodiments" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in some embodiments" in various places throughout this specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments. The foregoing description of various embodiments is intended to highlight differences between the various embodiments, which may be the same or similar to each other by reference, and is not repeated herein for the sake of brevity.
The term "and/or" is herein merely an association relation describing associated objects, meaning that there may be three relations, e.g. object a and/or object B, may represent: there are three cases where object a alone exists, object a and object B together, and object B alone exists.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments are merely illustrative, and the division of the modules is merely a logical function division, and other divisions may be implemented in practice, such as: multiple modules or components may be combined, or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or modules, whether electrically, mechanically, or otherwise.
The modules described above as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules; can be located in one place or distributed to a plurality of network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated in one processing unit, or each module may be separately used as one unit, or two or more modules may be integrated in one unit; the integrated modules may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present application may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partly contributing to the related art, embodied in the form of a software product stored in a storage medium, including several instructions for causing an electronic device to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The methods disclosed in the method embodiments provided by the application can be arbitrarily combined under the condition of no conflict to obtain a new method embodiment.
The features disclosed in the several product embodiments provided by the application can be combined arbitrarily under the condition of no conflict to obtain new product embodiments.
The features disclosed in the embodiments of the method or the apparatus provided by the application can be arbitrarily combined without conflict to obtain new embodiments of the method or the apparatus.
The foregoing is merely an embodiment of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A method of controlling an intelligent mattress, the method comprising:
determining whether a pet enters a first target area through a detection device, wherein the first target area is an entrance area of a space where an intelligent mattress is located, and the detection device is arranged in the entrance area;
if the pet is determined to enter the first target area, communication connection is established with a driving device outside the intelligent mattress, and a first control instruction is sent to the driving device, so that the driving device drives the pet by executing the first control instruction;
after the driving device drives the pet, determining whether the pet is located on the intelligent mattress, and if the pet is located on the intelligent mattress, controlling the intelligent mattress to drive the pet.
2. The method of claim 1, wherein the detection device comprises a first photographing device and the driving device comprises a sound generating device and a vibration device; before said sending the first control instruction to the driving apparatus, the method further comprises:
if the pet is determined to enter the first target area, continuously shooting the moving track of the pet through the first shooting device to obtain a plurality of first shooting images;
determining the moving speed of the pet in the first target area according to the plurality of first shooting images;
the sending a first control instruction to the driving device comprises the following steps:
when the moving speed is smaller than a first threshold value, sending a first control instruction to the vibration device, wherein the first control instruction comprises vibration force matched with the moving speed, and the larger the moving speed is, the larger the vibration force is;
and under the condition that the moving speed is greater than or equal to the first threshold value, sending the first control instruction to the sound generating device, wherein the first control instruction comprises sound volume matched with the moving speed, and the larger the moving speed is, the larger the sound volume is.
3. The method of claim 1, wherein the detection device comprises a first photographing device and the driving device comprises a sound generating device and a vibration device; before said sending the first control instruction to the driving apparatus, the method further comprises:
if the pet is determined to enter the first target area, shooting the first target area through the first shooting device to obtain a second shooting image;
identifying the pets in the second shooting image to obtain the types of the pets;
the sending a first control instruction to the driving device comprises the following steps:
when the type of the pet is determined to be cat, sending the first control instruction to the vibration device so that the vibration device drives the cat through vibration;
and when the type of the pet is determined to be a dog, sending the first control instruction to the sounding device so that the sounding device drives the dog through sounding.
4. A method according to any one of claims 2 or 3, wherein prior to determining whether the pet is located on the intelligent mattress, the method further comprises:
determining whether the pet moves in a second target area through the detection device, wherein the second target area is an area except the intelligent mattress in the space where the intelligent mattress is located;
And if the pet moves in the second target area, sending a second control instruction to a target device in the sound generating device and the vibration device, so that the target device drives the pet by executing the second control instruction, and the target device is different from a device corresponding to the first control instruction.
5. The method of claim 1, wherein the smart mattress has a second camera and a pressure sensing device disposed thereon, and wherein the determining whether the pet is located on the smart mattress comprises:
detecting object pressure acting on the intelligent mattress through the pressure sensing device;
determining whether the object pressure is within a preset pressure range, and if the object pressure is within the preset pressure range, invoking the second photographing device to photograph the intelligent mattress to obtain a third photographed image;
and carrying out identification processing on the third shot image, and determining whether the pet is positioned on the intelligent mattress.
6. The method of claim 5, wherein the method further comprises:
if the pet is determined to be located on the intelligent mattress, a third control instruction is sent to a projection device which is in communication connection with the intelligent mattress through the intelligent mattress, so that the projection device can emit projection information to a direction away from the intelligent mattress according to the third control instruction, and the pet is attracted to leave the intelligent mattress.
7. The method of claim 6, wherein the projecting means emits projected information in a direction away from the intelligent mattress, comprising:
controlling the projection device to emit projection information to a first position far away from the intelligent mattress;
detecting whether the pet is moving to the first location;
if the pet does not move to the first position, controlling the projection device to transmit the projection information to a second position, wherein the distance between the second position and the intelligent mattress is smaller than the distance between the first position and the intelligent mattress;
and if the pet moves to the first position, controlling the projection device to emit the projection information to a third position far away from the intelligent mattress, wherein the distance between the third position and the intelligent mattress is larger than the distance between the first position and the intelligent mattress.
8. A control system for an intelligent mattress, the system comprising a detection device, a first driving device and an intelligent mattress, wherein:
the detection device is used for determining whether a pet enters a first target area, wherein the first target area is an entrance area of a space where the intelligent mattress is located, and the detection device is arranged in the entrance area;
If the pet is determined to enter the first target area, communication connection is established with a driving device outside the intelligent mattress, and a first control instruction is sent to the driving device;
the driving device is used for executing the first control instruction to drive the pet;
the intelligent mattress is used for determining whether the pet is located on the intelligent mattress after the driving device drives the pet, and if the pet is located on the intelligent mattress, the pet is driven.
9. A computer device comprising a memory and a processor, the memory storing a computer program executable on the processor, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the program is executed.
10. A computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311080081.6A CN117100081A (en) | 2023-08-25 | 2023-08-25 | Control method and system, equipment and storage medium of intelligent mattress |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311080081.6A CN117100081A (en) | 2023-08-25 | 2023-08-25 | Control method and system, equipment and storage medium of intelligent mattress |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117100081A true CN117100081A (en) | 2023-11-24 |
Family
ID=88799601
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311080081.6A Pending CN117100081A (en) | 2023-08-25 | 2023-08-25 | Control method and system, equipment and storage medium of intelligent mattress |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117100081A (en) |
-
2023
- 2023-08-25 CN CN202311080081.6A patent/CN117100081A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109153127B (en) | Behavior autonomous robot for executing head-on behavior | |
US10122974B2 (en) | Apparatus and method for generating alarm | |
CN108540773A (en) | A kind of monitoring method, device, system and Cloud Server | |
JP6816767B2 (en) | Information processing equipment and programs | |
WO2020125266A1 (en) | Pet amusement control apparatus of robot and mobile robot | |
WO2019226666A1 (en) | Method for autonomously training an animal to respond to oral commands | |
CN111643017B (en) | Cleaning robot control method and device based on schedule information and cleaning robot | |
US20150313202A1 (en) | Methods and systems for humane management of wildlife | |
US12268187B2 (en) | Operating an automated and adaptive animal behavioral training system using machine learning | |
KR102761464B1 (en) | Air conditioner and Method for controlling the air conditioner thereof | |
CN111275911A (en) | Danger prompting method, equipment and computer readable storage medium | |
CN114508997B (en) | A smart home management system and method based on microwave radar | |
US12207624B2 (en) | Method and apparatus for selective behavior modification of a domesticated animal | |
US10743061B2 (en) | Display apparatus and control method thereof | |
JP2010134910A (en) | Pet image detection system and method of controlling operation of the same | |
CN117100081A (en) | Control method and system, equipment and storage medium of intelligent mattress | |
TW201023738A (en) | Method and system for vocal recognition and interaction with pets | |
JP7298861B2 (en) | Autonomous robot that records daily life | |
CN117814176A (en) | Feeding method of wandering animals and interaction method of target animals | |
CN115153353B (en) | Control method and device of sweeping robot, sweeping robot and storage medium | |
CN116883733A (en) | Interactive control method and electronic equipment | |
JP6905849B2 (en) | Image processing system, information processing device, program | |
CN116385965A (en) | Method, apparatus and computer readable storage medium for identifying a wandering animal | |
CN114339152A (en) | Pet security monitoring method and device, storage medium and electronic equipment | |
KR20130104076A (en) | Method for breeding a pet robot using a mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |