Pet bag control method, device, storage medium and electronic device
By obtaining pet behavioral characteristics information and adjusting the light transmittance of the light-transmitting parts of the pet bag, the problem of pet stress response when changes in the external environment is solved, and the health and comfort of the pet are achieved.
Patent Information
- Application Number
- CN202211160072.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-22
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2042-09-22
AI Technical Summary
Pets are prone to stress responses when changes in the external environment, which affects their health.
By obtaining pet behavioral characteristics information, such as eye information, call information and activity level information, the image acquisition device and sound acquisition device are used to adjust the light transmittance of the light-transmitting parts in the pet bag to avoid stress reactions from the pet.
Effectively avoid stress responses in pets when external environment changes, ensuring the health and comfort of their pets.
Smart Images

Figure CN115606521B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent pet bags, and particularly to a pet bag control method, device, storage medium and electronic device. Background Art
[0002] Pet bags are used to carry or transport pets. For the health of pets, pet bags generally have a certain degree of light transmittance so that pets can observe the external environment. However, some pets have been staying indoors for a long time. When they see an external environment that is quite different from the indoor environment they are in, they will have varying degrees of stress reactions, mainly manifested as: fear and uneasiness, hiding, vomiting and diarrhea, baring teeth, screaming, biting, running around, etc. The stress reactions of pets will also seriously affect the health of pets.
[0003] Therefore, how to avoid pets having stress reactions due to changes in the external environment is an urgent problem to be solved at present. Summary of the Invention
[0004] In view of the above problems in the prior art, the present application proposes a pet bag control method, device, storage medium and electronic device, which can adjust the light transmittance of the pet bag, thereby effectively avoiding pets from having stress reactions.
[0005] To achieve the above object, the technical solution of the present invention is realized as follows:
[0006] In a first aspect, an embodiment of the present invention provides a pet bag control method. The pet bag includes: a bag body and a light-transmitting component disposed on the bag body. The method includes:
[0007] Obtain the behavioral characteristic information of the pet;
[0008] Based on the behavioral characteristic information of the pet, adjust the light transmittance of the light-transmitting component to avoid the pet from having a stress reaction.
[0009] In some embodiments, the behavioral characteristic information of the pet includes: the eye information, vocalization information and activity level information of the pet. The bag body is provided with an image acquisition device and a sound acquisition device. The obtaining of the behavioral characteristic information of the pet includes:
[0010] Use the image acquisition device to acquire the eye information and the activity level information;
[0011] Use the sound acquisition device to acquire the vocalization information;
[0012] The adjusting of the light transmittance of the light-transmitting component based on the behavioral characteristic information of the pet to avoid the pet from having a stress reaction includes:
[0013] Based on the eye contact information, the vocalization information, and the activity level information, adjust the light transmittance of the light-transmitting component to prevent the pet from having a stress response.
[0014] In some embodiments, the adjusting the light transmittance of the light-transmitting component based on the behavioral characteristic information of the pet to prevent the pet from having a stress response includes:
[0015] Convert the behavioral characteristic information of the pet into a behavioral characteristic value;
[0016] Determine whether the behavioral characteristic value is within a preset behavioral value range;
[0017] When the behavioral characteristic value is not within the preset behavioral value range, reduce the light transmittance of the light-transmitting component to prevent the pet from having a stress response.
[0018] In some embodiments, the adjusting the light transmittance of the light-transmitting component based on the behavioral characteristic information of the pet to prevent the pet from having a stress response further includes:
[0019] Obtain the anxiety level of the pet based on the behavioral characteristic information of the pet;
[0020] The when the behavioral characteristic value is not within the preset behavioral value range, reducing the light transmittance of the light-transmitting component to prevent the pet from having a stress response includes:
[0021] When the behavioral characteristic value is not within the preset behavioral value range, reduce the light transmittance of the light-transmitting component based on the anxiety level of the pet to prevent the pet from having a stress response; wherein, the greater the anxiety level of the pet, the smaller the light transmittance of the light-transmitting component.
[0022] In some embodiments, the obtaining the anxiety level of the pet based on the behavioral characteristic information of the pet includes:
[0023] Input the behavioral characteristic information of the pet into a trained anxiety prediction model so that the trained anxiety prediction model outputs the anxiety level of the pet; wherein, the anxiety prediction model is a neural network model.
[0024] In some embodiments, the light-transmitting component is a dimming glass; the when the behavioral characteristic value is not within the preset behavioral value range, reducing the light transmittance of the light-transmitting component based on the anxiety level of the pet to prevent the pet from having a stress response includes:
[0025] When the value of the behavioral characteristic is not within the preset behavioral value range, obtain a voltage value corresponding to the anxiety level of the pet based on the anxiety level of the pet;
[0026] Apply the voltage value to the dimming glass so that the dimming glass presents a light transmittance corresponding to the voltage value to avoid the pet from having a stress response.
[0027] In some embodiments, the method further includes:
[0028] Obtain the external environment information where the package is located;
[0029] The adjusting the light transmittance of the light-transmitting component based on the behavioral characteristic information of the pet to avoid the pet from having a stress response includes:
[0030] Adjust the light transmittance of the light-transmitting component based on the external environment information and the behavioral characteristic information of the pet to avoid the pet from having a stress response.
[0031] In some embodiments, the external environment information includes: image information of the external environment, and sound information of the external environment; the package is provided with an image acquisition device and a sound acquisition device; the obtaining the external environment information where the package is located includes:
[0032] Use the image acquisition device to acquire the image information of the external environment;
[0033] Use the sound acquisition device to acquire the sound information of the external environment;
[0034] The adjusting the light transmittance of the light-transmitting component based on the external environment information and the behavioral characteristic information of the pet to avoid the pet from having a stress response includes:
[0035] Adjust the light transmittance of the light-transmitting component based on the image information of the external environment, the sound information of the external environment, and the behavioral characteristic information of the pet to avoid the pet from having a stress response.
[0036] In some embodiments, the adjusting the light transmittance of the light-transmitting component based on the image information of the external environment, the sound information of the external environment, and the behavioral characteristic information of the pet to avoid the pet from having a stress response includes:
[0037] Compare the image information of the external environment with preset image information to obtain the similarity between the image information of the external environment and the preset image information;
[0038] Determine whether the similarity is greater than a first preset threshold;
[0039] Obtain the noise level of the external environment based on the sound information of the external environment;
[0040] Determine whether the noise level is greater than a second preset threshold;
[0041] Convert the behavior characteristic information of the pet into a behavior characteristic value;
[0042] Determine whether the behavior characteristic value is within a preset behavior value range;
[0043] When the similarity is not greater than the first preset threshold, or when the noise level is greater than the second preset threshold, or when the behavior characteristic value is not within the preset behavior value range, reduce the light transmittance of the light-transmitting component to prevent the pet from having a stress response.
[0044] In a second aspect, an embodiment of the present invention provides a pet bag control device. The pet bag includes: a bag body and a light-transmitting component provided on the bag body; the device includes:
[0045] A first acquisition unit for acquiring the behavior characteristic information of the pet;
[0046] An adjustment unit for adjusting the light transmittance of the light-transmitting component based on the behavior characteristic information of the pet to prevent the pet from having a stress response.
[0047] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium. Program code is stored on the computer-readable storage medium. When the program code is executed by a processor, the pet bag control method described in any one of the above embodiments is implemented.
[0048] In a fourth aspect, an embodiment of the present invention provides an electronic device. The electronic device includes a memory and a processor. Program code that can run on the processor is stored on the memory. When the program code is executed by the processor, the pet bag control method described in any one of the above embodiments is implemented.
[0049] The pet bag control method, device, storage medium, and electronic device provided by the embodiments of the present invention obtain the behavior characteristic information of the pet, and based on the behavior characteristic information of the pet, adjust the light transmittance of the light-transmitting component of the pet bag to prevent the pet from having a stress response, so that the pet bag can automatically adjust its own light transmittance according to the behavior characteristic information of the pet, thereby effectively preventing the pet from having a stress response. Description of the Drawings
[0050] The scope of the disclosure of the present invention can be better understood by reading the detailed description of the exemplary embodiments below in conjunction with the accompanying drawings. The accompanying drawings included are:
[0051] Figure 1 is the method flow of the embodiment of the present invention Figure 1 ;
[0052] Figure 2 is the method flow of the embodiment of the present invention Figure 2 ;
[0053] Figure 3 is the schematic structural diagram of the pet bag in the embodiment of the present invention;
[0054] Figure 4 is the device structure of the embodiment of the present invention Figure 1 ;
[0055] Figure 5 is the device structure of the embodiment of the present invention Figure 2 .
[0056] Description of the reference numerals
[0057] 1 - dimming glass, 2 - camera, 3 - microphone, 4 - power supply, 5 - microprocessor Detailed implementation manners
[0058] In order to make the objectives, technical solutions and advantages of the present invention clearer, the following will describe in detail the implementation method of the present invention in conjunction with the drawings and embodiments, so as to fully understand how the present invention uses technical means to solve technical problems and achieve the implementation process of technical effects and implement accordingly.
[0059] In the following description, many specific details are set forth to facilitate a thorough understanding of the present invention. However, the present invention may be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited by the specific embodiments disclosed below.
[0060] Example 1
[0061] In order to solve the problem that pets in pet bags are also prone to stress reactions, on the basis of existing pet bags, the present invention uses cameras and microphones to collect the physiological data of pets, and uses relevant pet anxiety analysis algorithms to change the light transmittance of pet bags, so that pets can better adapt to the changing external environment, prevent pets from having stress reactions, meet the needs of pet outings, and satisfy the needs of pet owners to take their pets out.
[0062] Based on the above idea, an embodiment of the present invention provides a method for controlling a pet bag. The pet bag includes: a bag body and a light-transmitting component disposed on the bag body; the light-transmitting component is used for transmitting light and enabling the pet located inside the bag to observe the external environment where the bag body is located, which is beneficial to the health of the pet. In this embodiment, the entire bag body of the pet bag can be set as the above-mentioned light-transmitting component, or a part of the bag body can be set as the light-transmitting component. That is, in this embodiment, the pet bag can be fully transparent, semi-transparent, or just have a transparent observation window. The specific structure can be set according to actual needs, and this embodiment does not make specific limitations on this.
[0063] As Figure 1 shown, the method for controlling the pet bag in this embodiment includes step S101 and step S102. The specific contents of these steps are described in detail below:
[0064] Step S101, obtaining the behavioral characteristic information of the pet;
[0065] In order to accurately and effectively obtain the behavioral characteristic information of the pet, in this embodiment, the behavioral characteristic information of the pet includes: the eye information, the sound information, and the activity level information of the pet; the bag body is provided with an image acquisition device and a sound acquisition device. Then, the obtaining of the behavioral characteristic information of the pet in this embodiment includes: using the image acquisition device to acquire the eye information and the activity level information; using the sound acquisition device to acquire the sound information. Among them, the image acquisition device can be a camera, and the sound acquisition device can be a microphone.
[0066] Specifically, a processor, such as an MCU (Microcontroller Unit), can be set on the bag body of the pet bag, and a camera and a microphone can be set inside the bag body of the pet bag. Both the camera and the microphone are electrically connected to the above-mentioned processor. After the user places the pet inside the bag body, the camera starts to capture the eye information of the pet, collect the activity level information of the pet, and the microphone starts to collect the sound information of the pet, and sends the collected eye information, activity level information, and sound information to the processor. After the processor analyzes and processes these information, it can know whether the pet's eyes are panicked, whether the pet is turning around, scratching the bag body, whether the pet is continuously making sounds, etc., and then controls the light transmittance of the light-transmitting component of the pet bag according to these information.
[0067] In a preferred implementation manner, two cameras can be set as described above. One of the cameras can use a special eye-catching camera to collect the eye information of the pet, and the other camera is specifically used to collect the activity level information of the pet.
[0068] In practical applications, in order not to add additional circuit devices and not to increase the weight of the pet bag, the above-mentioned processor may not be provided, and the information collected by the camera and the microphone may be uploaded to a preset server, and the preset server analyzes and processes this information, and the preset server issues a control instruction according to the analysis and processing result to control the light transmittance of the light-transmitting component of the pet bag.
[0069] Step S102, based on the behavioral characteristic information of the pet, adjust the light transmittance of the light-transmitting component to avoid the pet having a stress reaction.
[0070] In this embodiment, when the behavioral characteristic information of the pet includes the pet's eye information, vocalization information, and activity level information, the adjusting the light transmittance of the light-transmitting component based on the behavioral characteristic information of the pet to avoid the pet having a stress reaction includes: adjusting the light transmittance of the light-transmitting component based on the eye information, the vocalization information, and the activity level information to avoid the pet having a stress reaction.
[0071] In order to quickly and accurately adjust the light transmittance of the light-transmitting component of the pet bag, the adjusting the light transmittance of the light-transmitting component based on the behavioral characteristic information of the pet to avoid the pet having a stress reaction in this embodiment includes: converting the behavioral characteristic information of the pet into a behavioral characteristic value; determining whether the behavioral characteristic value is within a preset behavioral value range; when the behavioral characteristic value is not within the preset behavioral value range, reducing the light transmittance of the light-transmitting component to avoid the pet having a stress reaction.
[0072] Specifically, the system performs the following operations: convert the eye contact information of the pet into an eye contact characteristic value, and determine whether the eye contact characteristic value is within the preset eye contact value range. When the eye contact characteristic value is not within the preset eye contact value range, it indicates that the eye contact activity of the pet is abnormal, that is, it is not the eye contact in a normal and peaceful mood. At this time, the light transmittance of the light-transmitting component of the pet bag can be reduced to avoid stress response of the pet; convert the barking information of the pet into a barking characteristic value, and determine whether the barking characteristic value is within the preset barking value range. When the barking characteristic value is not within the preset barking value range, for example, the barking frequency increases significantly, the sound increases significantly, the pitch changes significantly, etc., it indicates that the barking of the pet is abnormal. At this time, the light transmittance of the light-transmitting component of the pet bag can be reduced to avoid stress response of the pet; convert the activity level information of the pet into an activity level characteristic value, and determine whether the activity level characteristic value is within the preset activity level value range. When the activity level characteristic value is not within the preset activity level value range, for example, the pet turns around in the bag, continuously scratches the bag body, etc., it indicates that the activity level of the pet is abnormal. At this time, the light transmittance of the light-transmitting component of the pet bag can be reduced to avoid stress response of the pet.
[0073] That is, in this embodiment, when it is detected that one of the eye contact, barking and activity level of the pet is abnormal, it is considered that the pet is greatly affected by the external environment at this time. At this time, the light transmittance of the light-transmitting component of the pet bag is automatically reduced, thereby reducing the impact of the external environment on the pet, and effectively avoiding stress response of the pet.
[0074] In order to further accurately adjust the light transmittance of the light-transmitting component of the pet bag, the method of adjusting the light transmittance of the light-transmitting component based on the behavior characteristic information of the pet to avoid stress response of the pet in this embodiment further includes: obtaining the anxiety level of the pet based on the behavior characteristic information of the pet. Then, when the behavior characteristic value is not within the preset behavior value range, reducing the light transmittance of the light-transmitting component to avoid stress response of the pet in this embodiment includes: when the behavior characteristic value is not within the preset behavior value range, reducing the light transmittance of the light-transmitting component based on the anxiety level of the pet to avoid stress response of the pet; wherein, the greater the anxiety level of the pet, the smaller the light transmittance of the light-transmitting component.
[0075] In order to quickly and accurately obtain the anxiety level of the pet, obtaining the anxiety level of the pet based on the behavior characteristic information of the pet in this embodiment includes: inputting the behavior characteristic information of the pet into a trained anxiety prediction model, so that the trained anxiety prediction model outputs the anxiety level of the pet; wherein, the anxiety prediction model is a neural network model.
[0076] In order to adjust the light transmittance of the light-transmitting component of the pet bag more conveniently and accurately, in this embodiment, the light-transmitting component is a dimming glass. When the behavior characteristic value is not within the preset behavior value range in this embodiment, reducing the light transmittance of the light-transmitting component based on the anxiety level of the pet to avoid the pet having a stress response includes: when the behavior characteristic value is not within the preset behavior value range, obtaining a voltage value corresponding to the anxiety level based on the anxiety level of the pet; applying the voltage value to the dimming glass so that the dimming glass presents a light transmittance corresponding to the voltage value to avoid the pet having a stress response.
[0077] Specifically, as Figure 3 shown, light-transmitting components made of dimming glass can be set on one or more surfaces of the pet bag body according to actual needs. Among them, the dimming glass is an electrically controlled dimming glass, and the light transmittance of the dimming glass can vary with different voltage values applied to the dimming glass. The system presets the voltage values corresponding to the anxiety levels of the pet in the form of a saved list. When the anxiety level of the pet is obtained through a trained anxiety prediction model, the voltage value corresponding to the anxiety level is queried from the above list. The system applies the voltage value to the dimming glass as Figure 3 shown, which can make the dimming glass present a light transmittance corresponding to the voltage value. For example, the light transmittance can be 100% fully transparent, 50% semi-transparent, 10% light transmittance, etc. This embodiment does not make specific restrictions on this.
[0078] In order to comprehensively consider various factors that may cause the pet to have a stress response and thus more accurately adjust the light transmittance of the light-transmitting component of the pet bag, as Figure 2 shown, the method described in this embodiment further includes: obtaining the external environment information where the bag body is located. Then, the method described in this embodiment of adjusting the light transmittance of the light-transmitting component based on the behavior characteristic information of the pet to avoid the pet having a stress response includes: adjusting the light transmittance of the light-transmitting component based on the external environment information and the behavior characteristic information of the pet to avoid the pet having a stress response.
[0079] In order to more carefully consider the external environment information and thus further accurately adjust the light transmittance of the light-transmitting component of the pet bag, in this embodiment, the external environment information includes: image information of the external environment and sound information of the external environment; the bag body is provided with an image acquisition device and a sound acquisition device. Among them, the image acquisition device is a camera, and the sound acquisition device is a microphone.
[0080] Obtaining the external environment information where the package body is located in this embodiment includes: collecting the image information of the external environment by using the image acquisition device; collecting the sound information of the external environment by using the sound acquisition device. Adjusting the light transmittance of the light-transmitting component based on the external environment information and the behavior characteristic information of the pet to avoid the pet having a stress reaction in this embodiment includes: adjusting the light transmittance of the light-transmitting component based on the image information of the external environment, the sound information of the external environment, and the behavior characteristic information of the pet to avoid the pet having a stress reaction.
[0081] It should be noted that the camera for collecting the image information of the external environment mentioned above can be the same camera as the one for collecting the eye information and activity level information of the pet described above, or it can be a different camera. When it is a different camera, cameras can be respectively arranged inside and outside the pet bag body. Among them, the camera inside the bag body is used to collect the eye information and activity level information of the pet, and the camera outside the bag body is used to collect the image information of the external environment.
[0082] Similarly, the microphone for collecting the sound information of the external environment mentioned above can be the same microphone as the one for collecting the sound information of the pet described above, or it can be a different microphone. When it is a different microphone, microphones can be respectively arranged inside and outside the pet bag body. Among them, the microphone inside the bag body is used to collect the sound information of the pet, and the microphone outside the bag body is used to collect the sound information of the external environment.
[0083] To quickly and accurately adjust the light transmittance of the light-transmitting component of the pet bag, adjusting the light transmittance of the light-transmitting component based on the image information of the external environment, the sound information of the external environment, and the behavior characteristic information of the pet to avoid the pet having a stress reaction in this embodiment includes: comparing the image information of the external environment with the preset image information to obtain the similarity between the image information of the external environment and the preset image information; judging whether the similarity is greater than the first preset threshold; obtaining the noise level of the external environment based on the sound information of the external environment; judging whether the noise level is greater than the second preset threshold; converting the behavior characteristic information of the pet into a behavior characteristic value; judging whether the behavior characteristic value is within the preset behavior value range; when the similarity is not greater than the first preset threshold, or when the noise level is greater than the second preset threshold, or when the behavior characteristic value is not within the preset behavior value range, reducing the light transmittance of the light-transmitting component to avoid the pet having a stress reaction.
[0084] Specifically, the preset image information may be a scene image familiar to the pet, a scene image with fewer people in the picture, etc. When the similarity between the image information of the external environment and the preset image information is not greater than the above-mentioned first preset threshold, it indicates that the image information of the external environment is quite different from the preset image information, that is, it indicates that the external environment is a scene unfamiliar to the pet or a scene with a large number of people. At this time, the light transmittance of the light-transmitting component is reduced to avoid the pet having a stress response. At the same time, based on the sound information of the external environment, the noise level of the external environment can be obtained, such as the sound decibel data of the external environment. When the noise level of the external environment is greater than the above-mentioned second preset threshold, it indicates that the sound of the external environment has become unbearable for the pet. At this time, reducing the light transmittance of the light-transmitting component is beneficial to alleviating the impact of the external sound on the pet and avoiding the pet having a stress response. In addition, when the numerical value of the pet's behavioral characteristics is not within the above-mentioned preset behavioral numerical range, it indicates that the pet has behaviors such as restlessness, continuous screaming, and scratching the package body in the package. At this time, the light transmittance of the light-transmitting component is reduced to avoid the pet having a stress response.
[0085] That is, in this embodiment, when it is detected that the external environment is quite different from the environment familiar to the pet, or there are a large number of people in the external environment, or the external environment is relatively noisy, or the pet has shown an abnormal behavior, the light transmittance of the light-transmitting component will be automatically reduced, thereby effectively avoiding the pet having a stress response.
[0086] Further, the method described in this embodiment further includes: when the similarity is greater than the first preset threshold, and the noise level is not greater than the second preset threshold, and the numerical value of the behavioral characteristics is within the preset behavioral numerical range, increase the light transmittance of the light-transmitting component.
[0087] That is, in this embodiment, when it is detected that the external environment is an environment familiar to the pet (or an environment with fewer people), and the external environment is relatively quiet, and the pet's behavior in the package is also normal, the light transmittance of the light-transmitting component will be automatically increased so that the pet can better observe and adapt to the external environment and ensure the pet's health.
[0088] Of course, in actual applications, when automatically increasing the light transmittance of the light-transmitting component, it is necessary to ensure that the light transmittance of the light-transmitting component has not reached its maximum value. If the light transmittance of the light-transmitting component is already the maximum value at this time, no relevant operation will be performed.
[0089] Existing pet bags or pet transport boxes only serve the purpose of storing and transporting pets. However, with the increasing number of pet owners and growing demands, this function can no longer meet the requirements of current pet owners. One reason is that the value of pets is higher, and better transportation tools are needed; the second is that simple packaging and transportation can cause pets to have stress reactions, but pets can't talk. The improved method is to add various physiological information collection sensors such as eye-catching cameras and microphones to sense the physiological information of pets and adjust the internal environment of the pet bag, especially the permeability problem with the outside world. To achieve the effect of solving the stress reaction of pets during travel and transportation.
[0090] Figure 3 FIG. is a schematic structural diagram of the pet bag in the embodiment of the present invention. As Figure 3 shown, dimming glasses 1 are respectively arranged on multiple surfaces of the pet bag body. Multiple cameras 2 for collecting image information of the external environment are also arranged outside the bag body, and a microphone 3 for collecting sound information of the external environment is also arranged outside the bag body. The cameras and microphones inside the bag body are not shown. A power supply 4 and a microprocessor 5 are also arranged at the lower part of the bag body. Among them, both the camera 2 and the microphone 3 are electrically connected to the microprocessor 5, and the power supply 4 is used to supply power to the camera 2, the microphone 3, and the microprocessor 5.
[0091] When in use, turn on the power supply 4. The cameras and microphones inside the bag body respectively collect the eye information, activity level information, and barking information of the pet. The camera 2 and the microphone 3 outside the bag body respectively collect the image information of the external environment and the sound information of the external environment. All the collected information is sent to the microprocessor 5 for processing. The microprocessor 5 applies a corresponding voltage value to the dimming glass 1 according to the processing result, so that the dimming glass 1 presents a light transmittance corresponding to this voltage value.
[0092] The pet bag control method provided by the embodiment of the present invention adjusts the light transmittance of the light-transmitting component of the pet bag by obtaining the behavioral characteristic information of the pet, based on the behavioral characteristic information of the pet, to avoid the pet having a stress reaction, so that the pet bag can automatically adjust its own light transmittance according to the behavioral characteristic information of the pet, thereby effectively avoiding the pet having a stress reaction.
[0093] Example 2
[0094] Corresponding to the above method embodiment, the present invention also provides a pet bag control device. The pet bag includes: a bag body and a light-transmitting component arranged on the bag body; as Figure 4 shown, the device in this embodiment includes:
[0095] A first acquisition unit 201 for acquiring the behavioral characteristic information of the pet;
[0096] The adjustment unit 202 is configured to adjust the light transmittance of the light-transmitting component based on the behavioral characteristic information of the pet, so as to avoid stress response of the pet.
[0097] In this embodiment, the behavioral characteristic information of the pet includes: the eye information, the sound information, and the activity level information of the pet; the package body is provided with an image acquisition device and a sound acquisition device. The first acquisition unit 201 acquires the behavioral characteristic information of the pet in the following manner:
[0098] The image acquisition device is used to acquire the eye information and the activity level information;
[0099] The sound acquisition device is used to acquire the sound information.
[0100] The adjustment unit 202 is further configured to adjust the light transmittance of the light-transmitting component based on the eye information, the sound information, and the activity level information, so as to avoid stress response of the pet.
[0101] In this embodiment, the adjustment unit 202 includes:
[0102] A conversion unit, configured to convert the behavioral characteristic information of the pet into a behavioral characteristic value;
[0103] A first judgment unit, configured to judge whether the behavioral characteristic value is within a preset behavioral value range;
[0104] An adjustment subunit, configured to reduce the light transmittance of the light-transmitting component when the behavioral characteristic value is not within the preset behavioral value range, so as to avoid stress response of the pet.
[0105] Further, the adjustment unit 202 further includes:
[0106] An anxiety level acquisition unit, configured to obtain the anxiety level of the pet based on the behavioral characteristic information of the pet;
[0107] The adjustment subunit is further configured to reduce the light transmittance of the light-transmitting component based on the anxiety level of the pet when the behavioral characteristic value is not within the preset behavioral value range, so as to avoid stress response of the pet; wherein, the greater the anxiety level of the pet, the smaller the light transmittance of the light-transmitting component.
[0108] In this embodiment, the anxiety level acquisition unit obtains the anxiety level of the pet in the following manner:
[0109] Input the behavioral characteristic information of the pet into the trained anxiety prediction model, so that the trained anxiety prediction model outputs the anxiety level of the pet; wherein, the anxiety prediction model is a neural network model.
[0110] In this embodiment, the light-transmitting component is a dimming glass. The adjustment subunit reduces the light transmittance of the light-transmitting component in the following manner to avoid stress response of the pet:
[0111] When the behavioral characteristic value is not within the preset behavioral value range, obtain a voltage value corresponding to the anxiety level based on the anxiety level of the pet;
[0112] Apply the voltage value to the dimming glass so that the dimming glass presents a light transmittance corresponding to the voltage value to avoid stress response of the pet.
[0113] Further, as Figure 5 shown, the device described in this embodiment further includes:
[0114] A second acquisition unit 203, configured to acquire the external environment information where the package body is located;
[0115] The adjustment unit 202 is further configured to adjust the light transmittance of the light-transmitting component based on the external environment information and the behavioral characteristic information of the pet to avoid stress response of the pet.
[0116] In this embodiment, the external environment information includes: the image information of the external environment and the sound information of the external environment; the package body is provided with an image acquisition device and a sound acquisition device; the second acquisition unit 203 acquires the external environment information where the package body is located in the following manner:
[0117] Acquire the image information of the external environment by using the image acquisition device;
[0118] Acquire the sound information of the external environment by using the sound acquisition device.
[0119] The adjustment unit 202 is further configured to adjust the light transmittance of the light-transmitting component based on the image information of the external environment, the sound information of the external environment and the behavioral characteristic information of the pet to avoid stress response of the pet.
[0120] In this embodiment, the adjustment unit 202 includes:
[0121] A comparison unit, configured to compare the image information of the external environment with the preset image information to obtain the similarity between the image information of the external environment and the preset image information;
[0122] A second judgment unit, configured to judge whether the similarity is greater than a first preset threshold;
[0123] A noise level acquisition unit, configured to obtain the noise level of the external environment based on the sound information of the external environment;
[0124] A third judgment unit, configured to judge whether the noise level is greater than a second preset threshold;
[0125] A conversion unit, configured to convert the behavior characteristic information of the pet into a behavior characteristic value;
[0126] A first judgment unit, configured to judge whether the behavior characteristic value is within a preset behavior value range;
[0127] An adjustment subunit, configured to reduce the light transmittance of the light-transmitting component when the similarity is not greater than the first preset threshold, or when the noise level is greater than the second preset threshold, or when the behavior characteristic value is not within the preset behavior value range, so as to avoid the pet from having a stress reaction.
[0128] For the working principle, working process and other content related to the specific implementation manner of the above device, reference may be made to the specific implementation manner of the pet bag control method provided by the present invention, and the same technical content will not be described in detail here.
[0129] The pet bag control device provided by the embodiment of the present invention adjusts the light transmittance of the light-transmitting component of the pet bag based on the behavior characteristic information of the pet by acquiring the behavior characteristic information of the pet, so as to avoid the pet from having a stress reaction, so that the pet bag can automatically adjust its own light transmittance according to the behavior characteristic information of the pet, thereby effectively avoiding the pet from having a stress reaction.
[0130] Example 3
[0131] According to an embodiment of the present invention, there is also provided a computer-readable storage medium, on which program code is stored, and when the program code is executed by a processor, the pet bag control method described in any one of the above embodiments is implemented.
[0132] Example 4
[0133] According to an embodiment of the present invention, there is also provided an electronic device, the electronic device includes a memory and a processor, and program code that can run on the processor is stored on the memory, and when the program code is executed by the processor, the pet bag control method described in any one of the above embodiments is implemented.
[0134] The pet bag control method, device, storage medium and electronic device provided by the embodiments of the present invention obtain the behavior characteristic information of the pet, and based on the behavior characteristic information of the pet, adjust the light transmittance of the light-transmitting component of the pet bag to avoid stress reactions of the pet, so that the pet bag can automatically adjust its own light transmittance according to the behavior characteristic information of the pet, thereby effectively avoiding stress reactions of the pet.
[0135] The present invention is to solve the problem that during the process of a pet going out or being transported over a long distance, it is necessary to prevent the pet from having a physiological stress reaction due to changes in the external environment. By capturing the pet's eyes when it is nervous, analyzing the pet's barks, etc., the permeability of the pet bag is changed, so that the pet is less likely to be affected by the outside world inside the bag, thereby reducing the pet's stress reaction. The present invention enables the pet to better adapt to the changing external environment and prevents the pet from having a stress reaction.
[0136] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0137] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present invention.
[0138] In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0139] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.
[0140] Although the embodiments disclosed in the present invention are as above, the content described is only an embodiment adopted for the convenience of understanding the present invention and is not used to limit the present invention. Any person skilled in the art within the technical field to which the present invention pertains, without departing from the spirit and scope disclosed by the present invention, can make any modifications and changes in the form of implementation and details, but the protection scope of the present invention shall still be subject to the scope defined by the appended claims.
Claims
1. A method for controlling a pet bag, characterized in that, The pet bag includes: a bag body and a light-transmitting component provided on the bag body; the method includes: Obtaining behavioral characteristic information of the pet; Based on the behavioral characteristic information of the pet, adjusting the light transmittance of the light-transmitting component to avoid stress response of the pet; The behavioral characteristic information of the pet includes: the eye information, vocalization information, and activity level information of the pet; the bag body is provided with an image acquisition device and a sound acquisition device; obtaining the behavioral characteristic information of the pet includes: Using the image acquisition device to acquire the eye information and the activity level information; Using the sound acquisition device to acquire the vocalization information; Based on the behavioral characteristic information of the pet, adjusting the light transmittance of the light-transmitting component to avoid stress response of the pet includes: Based on the eye information, the vocalization information, and the activity level information, adjusting the light transmittance of the light-transmitting component to avoid stress response of the pet.
2. The method for controlling a pet bag according to claim 1, characterized in that, Based on the behavioral characteristic information of the pet, adjusting the light transmittance of the light-transmitting component to avoid stress response of the pet includes: Converting the behavioral characteristic information of the pet into a behavioral characteristic value; Judging whether the behavioral characteristic value is within a preset behavioral value range; When the behavioral characteristic value is not within the preset behavioral value range, reducing the light transmittance of the light-transmitting component to avoid stress response of the pet.
3. The method for controlling a pet bag according to claim 2, characterized in that, Based on the behavioral characteristic information of the pet, adjusting the light transmittance of the light-transmitting component to avoid stress response of the pet further includes: Based on the behavioral characteristic information of the pet, obtaining the anxiety level of the pet; When the behavioral characteristic value is not within the preset behavioral value range, reducing the light transmittance of the light-transmitting component to avoid stress response of the pet includes: When the behavioral characteristic value is not within the preset behavioral value range, reducing the light transmittance of the light-transmitting component based on the anxiety level of the pet to avoid stress response of the pet; wherein, the greater the anxiety level of the pet, the smaller the light transmittance of the light-transmitting component.
4. The method for controlling a pet bag according to claim 3, characterized in that, Based on the behavioral characteristic information of the pet, obtaining the anxiety level of the pet includes: Inputting the behavioral characteristic information of the pet into a trained anxiety prediction model so that the trained anxiety prediction model outputs the anxiety level of the pet; wherein, the anxiety prediction model is a neural network model.
5. The method for controlling a pet bag according to claim 3, characterized in that, The light-transmitting component is a dimming glass; when the behavioral characteristic value is not within the preset behavioral value range, reducing the light transmittance of the light-transmitting component based on the anxiety level of the pet to avoid stress response of the pet includes: When the behavioral characteristic value is not within the preset behavioral value range, obtaining a voltage value corresponding to the anxiety level based on the anxiety level of the pet; Applying the voltage value to the dimming glass so that the dimming glass presents a light transmittance corresponding to the voltage value to avoid stress response of the pet.
6. The method for controlling a pet bag according to claim 1, characterized in that, The method further includes: Obtaining external environment information where the bag body is located; Adjusting the light transmittance of the light-transmitting component based on the behavioral characteristic information of the pet to avoid stress response of the pet, including: Adjusting the light transmittance of the light-transmitting component based on the external environment information and the behavioral characteristic information of the pet to avoid stress response of the pet.
7. The method for controlling a pet bag according to claim 6, characterized in that, The external environment information includes: image information of the external environment and sound information of the external environment; the package body is provided with an image acquisition device and a sound acquisition device; obtaining the external environment information where the package body is located includes: Collecting the image information of the external environment by using the image acquisition device; Collecting the sound information of the external environment by using the sound acquisition device; Adjusting the light transmittance of the light-transmitting component based on the external environment information and the behavioral characteristic information of the pet to avoid stress response of the pet, including: Adjusting the light transmittance of the light-transmitting component based on the image information of the external environment, the sound information of the external environment and the behavioral characteristic information of the pet to avoid stress response of the pet.
8. The method for controlling a pet bag according to claim 7, characterized in that, Adjusting the light transmittance of the light-transmitting component based on the image information of the external environment, the sound information of the external environment and the behavioral characteristic information of the pet to avoid stress response of the pet, including: Comparing the image information of the external environment with preset image information to obtain the similarity between the image information of the external environment and the preset image information; Judging whether the similarity is greater than a first preset threshold; Obtaining the noise level of the external environment based on the sound information of the external environment; Judging whether the noise level is greater than a second preset threshold; Converting the behavioral characteristic information of the pet into a behavioral characteristic value; Judging whether the behavioral characteristic value is within a preset behavioral value range; When the similarity is not greater than the first preset threshold, or when the noise level is greater than the second preset threshold, or when the behavioral characteristic value is not within the preset behavioral value range, reducing the light transmittance of the light-transmitting component to avoid stress response of the pet.
9. A pet bag control device, characterized in that, The pet bag includes: a package body and a light-transmitting component arranged on the package body; the device includes: A first acquisition unit for acquiring the behavioral characteristic information of the pet; the behavioral characteristic information of the pet includes: the eye information, the cry information and the activity level information of the pet; the package body is provided with an image acquisition device and a sound acquisition device; An adjustment unit for adjusting the light transmittance of the light-transmitting component based on the behavioral characteristic information of the pet to avoid stress response of the pet; The first acquisition unit acquires the behavioral characteristic information of the pet in the following manner: Collecting the eye information and the activity level information by using the image acquisition device; Collecting the cry information by using the sound acquisition device; The adjustment unit is further used for adjusting the light transmittance of the light-transmitting component based on the eye information, the cry information and the activity level information to avoid stress response of the pet.
10. A computer-readable storage medium, on which program code is stored, characterized in that, When the program code is executed by a processor, it implements the pet bag control method according to any one of claims 1 to 8.
11. An electronic device, characterized in that, The electronic device includes a memory and a processor. A program code that can run on the processor is stored on the memory. When the program code is executed by the processor, it implements the pet bag control method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Pet house with sterilization and deodorization functions
CN211268067U
Young panda breeding box
CN216018408U