Control method and control device of air purification device, computer equipment and storage medium
The integration of a laser light component with a stepper motor in air purifiers addresses the lack of pet interaction by providing dynamic and entertaining light patterns, enhancing pet engagement.
Patent Information
- Application Number
- CN202510789439.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-13
- Publication Date
- 2025-07-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing air purifiers lack interactivity with pets and cannot meet their entertainment needs.
The laser lamp assembly is arranged in the air purification device, including a laser lamp and a driving structure. The laser lamp is moved through the driving structure, and the rotation direction, speed and brightness of the laser lamp are controlled in combination with the randomly selected parameter values to form an irregular light trajectory, which enhances the interaction and entertainment with the pet.
The dynamic light trajectory of the laser light enhances the interactive entertainment with the pet, increases the fun of the air purification device, and avoids pet fatigue caused by long-term operation.
Smart Images

Figure CN120313205A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air purification, and particularly relates to a control method, a control device, a computer device, and a storage medium for an air purification device. Background Art
[0002] Indoor air pollution poses a threat to people's health. Therefore, air purifiers are widely used in household environments.
[0003] With the increasing status of pets in families, pet health and the cleanliness of the home environment have become the focus of pet owners' attention. The air purifiers in related technologies are mainly designed for the human living environment, lacking consideration for pets and having poor interactivity with pets. Summary of the Invention
[0004] In view of this, the present invention provides a control method, a control device, a computer device, and a storage medium for an air purification device to solve the problem of poor interactivity between the air purifier in related technologies and pets.
[0005] In a first aspect, the present invention provides an air purification device, comprising: A body; A laser lamp assembly provided on the body, the laser lamp assembly including a laser lamp and a driving structure capable of driving the laser lamp to move.
[0006] Beneficial effects: The body has an air purification function. By providing a laser lamp assembly on the body, the laser lamp assembly includes a laser lamp and a driving structure capable of driving the laser lamp to move. The laser emitted by the laser lamp can attract the attention of pets. By driving the laser lamp to move through the driving structure, the light emitted by the laser lamp moves, which can enhance the interaction with pets and increase the fun and entertainment.
[0007] In an optional embodiment, the laser lamp assembly includes a motor bracket fixed to the body, and the driving structure includes a stepper motor.
[0008] Beneficial effects: The motor bracket is fixed to the body, so the motor bracket remains stationary. The driving structure includes a stepper motor, which directly drives the laser lamp to rotate. The number of components is less, and the stepper motor can rotate forward, reverse, and rotate at various speeds, so that the laser lamp can have various motion states, enhancing the interaction with pets and increasing the fun and entertainment.
[0009] In an optional embodiment, the laser lamp assembly further includes a laser lamp bracket, the laser lamp is fixed to the laser lamp bracket, and the driving structure is connected to the laser lamp bracket.
[0010] Beneficial effects: By providing a laser lamp bracket, it is convenient to install the laser lamp. The driving structure is connected to the laser lamp bracket, and the laser lamp is fixed to the laser lamp bracket. Therefore, the driving structure can drive the laser lamp to rotate by driving the rotation of the laser lamp bracket.
[0011] In an alternative embodiment, the laser lamp assembly further includes a transparent window disposed at the front end of the laser lamp.
[0012] Beneficial effects: By providing a transparent window at the front end of the laser lamp, the transparent window can protect the laser lamp, and the light emitted by the laser lamp can pass through the transparent window to interact with the pet.
[0013] In a second aspect, the present invention further provides a control method for an air purification device. The air purification device includes a body and a laser lamp assembly disposed on the body. The laser lamp assembly includes a laser lamp and a driving structure capable of driving the movement of the laser lamp. The driving structure includes a stepper motor. The control method includes: Setting parameters, the parameters including at least one of A, B, and C, where A represents the rotation direction of the stepper motor, B represents the rotation speed of the stepper motor, and C represents the lighting state of the laser lamp; If the cat teasing function is enabled, every interval of time t, randomly select parameter values, and control the stepper motor and the laser lamp to work according to the randomly selected parameter values.
[0014] Beneficial effects: By setting parameters, the parameters including at least one of A, B, and C, every interval of time t, randomly select parameter values, and control the stepper motor and the laser lamp to work according to the randomly selected parameter values. Therefore, every interval of time t, the laser lamp will rotate in different directions or at different speeds or light for different times. Therefore, the laser lamp rotates or lights irregularly, so that the laser trajectory projected by the laser lamp changes irregularly, which can enhance the interactive entertainment and interest with the pet.
[0015] In an alternative embodiment, the value of A is 0 or 1. A being 0 represents clockwise rotation, and A being 1 represents counterclockwise rotation; And / or, the value of B is an integer value from 0 to 5. B being 0 represents the stepper motor stops rotating, B being 1 represents the set rotation speed, and B being 5 represents 5 times the set rotation speed; And / or, the value of C is 0 or 1. C being 0 represents the laser lamp is constantly on, and C being 1 represents the laser lamp lights for 0.5 seconds and then turns off for 0.5 seconds.
[0016] Beneficial effects: Every interval of time t, randomly select values of A, B, and C, which can ensure that the laser lamp rotates in different directions, at different speeds, and lights for different times. Therefore, the laser lamp rotates or lights irregularly, so that the laser trajectory projected by the laser lamp changes irregularly, which can enhance the interactive entertainment and interest with the pet.
[0017] In an optional implementation, if B=0, t=10 seconds; if B≠0, t takes a random number between 20 seconds and 1 minute.
[0018] Beneficial effect: If the parameter B is randomly selected as 0, since B is 0, which means the motor stops rotating, the laser light will be on for a short time, 10 seconds. After 10 seconds, the parameter value will be randomly selected again to avoid the laser light being stationary for too long, which will reduce the fun of the pet. If B≠0, it means the motor is rotating, and the light from the laser light is moving, and the light spot projected on the ground is constantly moving. Therefore, taking a random number between 20 seconds and 1 minute can make the laser light move for a relatively long time.
[0019] In an optional implementation, the control method further includes: Calculate the total duration T after the cat-fun function is turned on; Determine whether the total duration T is equal to the preset duration; If the total duration T is equal to the preset duration, the cat-playing function will be turned off.
[0020] Beneficial effect: By calculating the total duration T after the cat-amusing function is turned on, if the total duration is equal to the preset duration, the cat-amusing function is turned off to avoid the cat-amusing function being turned on for too long, causing pet fatigue and loss of fun.
[0021] In a third aspect, the present invention further provides a control device for an air purification device, the air purification device comprising a body and a laser lamp assembly arranged on the body, the laser lamp assembly comprising a laser lamp and a driving structure capable of driving the laser lamp to move, the driving structure comprising a stepping motor, and the control device comprising: A setting module, used to set parameters, wherein the parameters include at least one of A, B, and C, wherein A represents the rotation direction of the stepper motor, B represents the speed of the stepper motor, and C represents the lighting state of the laser light; The first control module is used to randomly select parameter values at every interval t when the cat-amusing function is turned on, and control the stepper motor and the laser light to work according to the randomly selected parameter values.
[0022] Beneficial effect: The setting module sets parameters, and the parameters include at least one of A, B, and C. At each interval t, the first control module randomly selects a parameter value, and controls the stepper motor and the laser light to work according to the randomly selected parameter value. Therefore, at each interval t, the laser light will rotate in different directions or rotate at different speeds or light up for different times. Therefore, the laser light rotates or lights up irregularly, so that the laser trajectory projected by the laser light changes irregularly, which can enhance the entertainment and fun of the interaction with the pet.
[0023] Fourthly, the present invention further provides a computer device, comprising: a memory and a processor, which are communicatively connected to each other. Computer instructions are stored in the memory, and the processor executes the control method of the air purification device by executing the computer instructions.
[0024] Fifthly, the present invention further provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to cause a computer to execute the control method of the air purification device. Description of the Drawings
[0025] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0026] Figure 1 It is a schematic diagram of an air purification device according to an embodiment of the present invention; Figure 2 For Figure 1 the explosion diagram of the laser lamp assembly in Figure 3 It is an explosion diagram of an air purification device according to an embodiment of the present invention; Figure 4 It is a schematic flowchart of a control method of an air purification device according to an embodiment of the present invention.
[0027] Description of the Reference Numerals: 1, body; 101, chassis assembly; 102, housing; 1021, air inlet; 1022, hair suction port; 1023, air outlet; 103, odor removal module; 104, high-efficiency filter; 105, air duct component; 106, display board assembly; 2, laser lamp assembly; 201, laser lamp; 202, stepper motor; 203, motor bracket; 204, laser lamp bracket; 205, transparent window. Detailed Embodiments
[0028] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the scope of protection of the present invention.
[0029] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to the present invention. In addition, the terms "first", "second", "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance.
[0030] In the description of the present invention, it should be noted that unless otherwise clearly specified and defined, the terms "installed", "connected", "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0031] In addition, the technical features involved in different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0032] With the acceleration of the industrialization process and the deepening of the urbanization process, the problem of air pollution has become increasingly prominent, especially indoor air pollution, which poses a serious threat to people's health. Therefore, air purifiers are widely used in household environments.
[0033] As the status of pets in families has been increasing day by day, pet health and the cleanliness of the household environment have become the focus of attention of pet owners. The air purifiers in the related technologies are mainly designed for the human living environment, lacking consideration for pets and having poor interactivity with pets.
[0034] The following Figures 1 to 4 is combined to describe the embodiments of the present invention.
[0035] According to an embodiment of the present invention, in a first aspect, there is provided an air purification device, including: a body 1 and a laser lamp assembly 2.
[0036] Among them, the laser lamp assembly 2 is provided on the body 1, and the laser lamp assembly 2 includes a laser lamp 201 and a driving structure capable of driving the laser lamp 201 to move.
[0037] In this embodiment, the body 1 has an air purification function. By arranging a laser lamp assembly 2 on the body 1, the laser lamp assembly 2 includes a laser lamp 201 and a driving structure capable of driving the movement of the laser lamp 201. The laser emitted by the laser lamp 201 can attract the attention of pets. By driving the laser lamp 201 to move through the driving structure, the light emitted by the laser lamp 201 moves, which can enhance the interaction with pets and increase the fun and entertainment.
[0038] Specifically, in one embodiment, the body 1 includes a chassis assembly 101, a housing 102, a smell purification module 103, a high-efficiency filter 104, an air duct component 105, and a display board assembly 106. The smell purification module 103 is arranged on the chassis assembly 101 and can remove the odor in the air and the odor of the high-efficiency filter 104. The bottom of the housing 102 is fixedly connected to the chassis assembly 101. The housing 102 is provided with an air inlet 1021, an air outlet 1023, and a hair suction port 1022. The high-efficiency filter 104 is arranged inside the housing 102. By arranging the hair suction port 1022 on the housing 102, the hair dropped by pets can be sucked into the inside of the housing 102 through the hair suction port 1022 and adhered to the outside of the high-efficiency filter 104. The air duct component 105 is arranged inside the housing 102 and near the top, and the display board assembly 106 is connected to the top of the air duct component 105.
[0039] Specifically, in one embodiment, as Figure 1 shown, the laser lamp 201 is inclined downward, so the light emitted by the laser lamp 201 can shine on the ground. When the laser lamp 201 moves under the drive of the drive mechanism, the light emitted by the laser lamp 201 can form a moving track on the ground to attract pets to chase.
[0040] It should be noted that Figures 1 to 3 the dotted line represents the light emitted by the laser lamp 201.
[0041] In one embodiment, the laser lamp assembly 2 includes a motor bracket 203 fixed to the body 1, and the driving structure includes a stepper motor 202.
[0042] In this embodiment, the motor bracket 203 is fixed to the body 1, so the motor bracket 203 remains stationary. The driving structure includes a stepper motor 202, and the stepper motor 202 directly drives the rotation of the laser lamp 201, with fewer components. Moreover, the stepper motor 202 can rotate forward, rotate backward, and rotate at various speeds, so that the laser lamp 201 can have various motion states, enhancing the interaction with pets and increasing the fun and entertainment.
[0043] In an embodiment not shown in the figure, in addition to including the stepper motor 202, the driving structure further includes a transmission structure, and the transmission structure can include a gear set. The transmission structure is arranged between the stepper motor 202 and the laser lamp 201 in a transmission manner.
[0044] Specifically, in one embodiment, the motor bracket 203 is connected to the body 1 by screws.
[0045] Specifically, in one embodiment, the stepper motor 202 is fixed to the motor bracket 203 by screws.
[0046] In one embodiment, the laser lamp assembly 2 further includes a laser lamp bracket 204. The laser lamp 201 is fixed to the laser lamp bracket 204, and the driving structure is connected to the laser lamp bracket 204.
[0047] In this embodiment, by providing the laser lamp bracket 204, it is convenient to install the laser lamp 201. The driving structure is connected to the laser lamp bracket 204, and the laser lamp 201 is fixed to the laser lamp bracket 204. Therefore, the driving structure can drive the laser lamp 201 to rotate by driving the rotation of the laser lamp bracket 204.
[0048] Specifically, in one embodiment, the laser lamp bracket 204 is provided with a connection groove. The shape of the output shaft of the stepper motor 202 is the same as the shape of the connection groove and is non-circular. Therefore, the output shaft of the stepper motor 202 can be inserted into the connection groove to drive the rotation of the laser lamp bracket 204.
[0049] Specifically, in one embodiment, the connection groove is a square groove.
[0050] In an embodiment not shown in the figure, the connection groove can be a pentagonal groove or a hexagonal groove.
[0051] In one embodiment, the laser lamp assembly 2 further includes a transparent window 205 provided at the front end of the laser lamp 201.
[0052] In this embodiment, by providing the transparent window 205 at the front end of the laser lamp 201, the transparent window 205 can protect the laser lamp 201, and the light emitted by the laser lamp 201 can pass through the transparent window 205 to interact with the pet.
[0053] It should be noted that the front end of the laser lamp 201 refers to the end of the laser lamp 201 away from the stepper motor 202.
[0054] Specifically, in one embodiment, the transparent window 205 can be fixed to the body 1.
[0055] According to an embodiment of the present invention, in a second aspect, a control method for an air purification device is provided. The air purification device includes a body 1 and a laser lamp assembly 2 provided on the body 1. The laser lamp assembly 2 includes a laser lamp 201 and a driving structure capable of driving the movement of the laser lamp 201. The driving structure includes a stepper motor 202, as Figure 4 shown, the control method includes: Setting parameters, the parameters include at least one of A, B, and C, where A represents the rotation direction of the stepper motor 202, B represents the speed of the stepper motor 202, and C represents the lighting state of the laser light 201; If the cat-playing function is turned on, a parameter value is randomly selected at every interval t, and the stepper motor 202 and the laser light 201 are controlled to work according to the randomly selected parameter value.
[0056] In this embodiment, by setting parameters, the parameters include at least one of A, B, and C, and at each time interval t, the parameter value is randomly selected, and the stepper motor 202 and the laser light 201 are controlled to work according to the randomly selected parameter value. Therefore, at each time interval t, the laser light 201 will rotate in different directions or rotate at different speeds or light up for different times. Therefore, the laser light 201 rotates or lights up irregularly, so that the laser trajectory projected by the laser light 201 changes irregularly, which can enhance the entertainment and fun of the interaction with the pet.
[0057] Specifically in one embodiment, the parameters include A, and other parameters such as motor speed remain unchanged, the laser light 201 is always on, and the parameter value A is randomly selected. At each interval t, the laser will rotate in different directions, which can enhance the entertainment and fun of the interaction with the pet.
[0058] Specifically in one embodiment, the parameter includes B, and other parameters such as the motor rotation direction remain unchanged, the laser light 201 remains always on, and if the cat-amusing function is turned on, the laser light 201 rotates at different speeds at each interval, which can enhance the entertainment and fun of the interaction with the pet.
[0059] Specifically in one embodiment, the parameters include C, and other parameters such as the motor speed and the motor rotation direction remain unchanged. If the cat-amusing function is turned on, the laser light 201 will be on for a different time at each interval, which can enhance the entertainment and fun of the interaction with the pet.
[0060] Specifically in one embodiment, the parameters include A and B, A represents the rotation direction of the stepper motor 202, and B represents the speed of the stepper motor 202. If the cat-amusing function is turned on, parameter values A and B are randomly selected, and the stepper motor 202 and the laser light 201 are controlled to work according to the randomly selected parameter values. Therefore, at each interval t, the laser light 201 will rotate in different directions or at different speeds, so that the laser trajectory projected by the laser light 201 changes irregularly, which can enhance the entertainment and fun with pets.
[0061] Specifically in one embodiment, the parameters include B and C, B represents the rotation speed of the stepper motor 202, C represents the lighting state of the laser light 201, and the motor rotation direction remains unchanged. If the cat-amusing function is turned on, the laser light 201 rotates in one direction. At each interval t, the laser light 201 rotates at different speeds or lights up for different periods of time. Therefore, the laser light 201 rotates or lights up irregularly, so that the laser trajectory projected by the laser light 201 changes irregularly, which can enhance the entertainment and fun of the interaction with pets.
[0062] Specifically in one embodiment, the parameters include A and C, and the motor speed remains unchanged. If the cat-amusing function is turned on, the laser light 201 rotates in different directions or lights up for different periods of time at every interval t. Therefore, the laser light 201 rotates or lights up irregularly, so that the laser trajectory projected by the laser light 201 changes irregularly, which can enhance the entertainment and fun of the interaction with pets.
[0063] In a preferred embodiment, the parameters include A, B, and C at the same time. At each time interval t, the parameters A, B, and C are randomly selected, and the laser light 201 will rotate in different directions, rotate at different speeds, and light up for different times. Therefore, the laser light 201 rotates or lights up irregularly, so that the laser trajectory projected by the laser light 201 changes irregularly, which can enhance the entertainment and fun of the interaction with the pet.
[0064] It should be noted that the user can manually turn on the cat-amusing function, or the body 1 can be provided with a detection component, and when the detection component detects that a pet is approaching the body 1, the cat-amusing function is automatically turned on.
[0065] In one embodiment, the value of A is 0 or 1, A = 0 represents clockwise rotation, A = 1 represents counterclockwise rotation; and / or, the value of B is an integer from 0 to 5, B = 0 represents that the stepper motor 202 stops rotating, B = 1 represents the set speed, and B = 5 represents 5 times the set speed; and / or, the value of C is 0 or 1, C = 0 represents that the laser light 201 is always on, and C = 1 represents that the laser light 201 is on for 0.5 seconds and off for 0.5 seconds.
[0066] In this embodiment, at every time interval t, A, B, and C are randomly selected values, which can ensure that the laser light 201 will rotate in different directions, rotate at different speeds, and light up for different times. Therefore, the laser light 201 rotates or lights up irregularly, so that the laser trajectory projected by the laser light 201 changes irregularly, which can enhance the entertainment and fun of the interaction with the pet.
[0067] Specifically in one embodiment, when the cat-amusing function is just turned on, parameter values are randomly selected, for example, A is selected as 0, B is selected as 1, and C is selected as 0, then the motor rotates clockwise at a set speed, and the laser light 201 is always on. After an interval time t, parameter values are randomly selected again, for example, A is selected as 1, B is selected as 2, and C is selected as 0, then the motor rotates counterclockwise at twice the set speed, and the laser light 201 is always on. After an interval time t, parameter values are randomly selected again, and so on.
[0068] In one embodiment, if B=0, t=10 seconds; if B≠0, t is a random number between 20 seconds and 1 minute.
[0069] In this embodiment, if the parameter B is randomly selected to be 0, since B is 0, which means that the motor stops rotating, the laser light 201 will be on for a short time, 10 seconds. After 10 seconds, the parameter value is randomly selected again to avoid the light emitted by the laser light 201 being stationary for too long, which will reduce the fun of the pet. If B≠0, it means that the motor is rotating, and then the light emitted by the laser light 201 is moving, and the light spot projected on the ground is constantly moving. Therefore, t is randomly selected between 20 seconds and 1 minute, which can make the laser light 201 move for a relatively long time.
[0070] It should be noted that when the cat-playing function is just turned on, the randomly selected parameter B cannot be 0.
[0071] Specifically in one embodiment, when the cat-amusing function is just turned on, parameter values are randomly selected, for example, A is selected as 0, B is selected as 1, and C is selected as 0, then the motor rotates clockwise at a set speed, and the laser light 201 is always on. After an interval of 30 seconds, parameter values are randomly selected again, for example, A is selected as 1, B is selected as 2, and C is selected as 0, then the motor rotates counterclockwise at twice the set speed, and the laser light 201 is always on. After an interval of 40 seconds, parameter values are randomly selected again, and so on.
[0072] In one embodiment, the control method further includes: Calculate the total duration T after the cat-fun function is turned on; Determine whether the total duration T is equal to the preset duration; If the total duration T is equal to the preset duration, the cat-playing function will be turned off.
[0073] In this embodiment, the total duration T after the cat-amusing function is turned on is calculated. If the total duration is equal to the preset duration, the cat-amusing function is turned off to avoid the cat-amusing function being turned on for too long, causing fatigue to the pet and losing interest.
[0074] Specifically in one embodiment, the total duration is 10 minutes. If the total duration = 10 minutes, the cat-amusing function is turned off to avoid the cat-amusing function being turned on for too long, causing the pet to become tired and lose interest.
[0075] It should be noted that turning off the cat-playing function specifically means turning off the stepping motor 202 and the laser lamp 201.
[0076] According to an embodiment of the present invention, in a third aspect, there is provided a control device for an air purification device. The air purification device includes a body 1 and a laser lamp assembly 2 provided on the body 1. The laser lamp assembly 2 includes a laser lamp 201 and a driving structure capable of driving the movement of the laser lamp 201. The driving structure includes a stepping motor 202. The control device includes: A setting module for setting parameters, where the parameters include at least two of A, B, and C. Here, A represents the rotation direction of the stepping motor 202, B represents the rotation speed of the stepping motor 202, and C represents the lighting state of the laser lamp 201; A first control module for randomly selecting parameter values at intervals of time t when the cat-playing function is turned on, and controlling the stepping motor 202 and the laser lamp 201 to work according to the randomly selected parameter values.
[0077] In this embodiment, the setting module sets parameters, where the parameters include at least one of A, B, and C. At intervals of time t, the first control module randomly selects parameter values and controls the stepping motor 202 and the laser lamp 201 to work according to the randomly selected parameter values. Therefore, at intervals of time t, the laser lamp 201 will rotate in different directions or rotate at different speeds or light for different times. Therefore, the laser lamp 201 rotates or lights irregularly, so that the laser trajectory projected by the laser lamp 201 changes irregularly, which can enhance the interactive entertainment and interest with pets.
[0078] Specifically, in an embodiment, the parameter includes A, and the other parameters such as the motor speed remain unchanged, and the laser lamp 201 is always on. By randomly selecting the parameter value A, at intervals of time t, the laser will rotate in different directions, which can enhance the interactive entertainment and interest with pets.
[0079] Specifically, in an embodiment, the parameter includes B, and the other parameters such as the motor rotation direction remain unchanged, and the laser lamp 201 remains always on. If the cat-playing function is turned on, at intervals of time, the laser lamp 201 rotates at different speeds, which can enhance the interactive entertainment and interest with pets.
[0080] Specifically, in an embodiment, the parameter includes C, and the other parameters such as the motor speed remain unchanged and the motor rotation direction remains unchanged. If the cat-playing function is turned on, at intervals of time, the laser lamp 201 lights for different times, which can enhance the interactive entertainment and interest with pets.
[0081] Specifically in one embodiment, the parameters include A and B, A represents the rotation direction of the stepper motor 202, and B represents the speed of the stepper motor 202. If the cat-amusing function is turned on, the first control module randomly selects parameter value A and parameter value B, and controls the stepper motor 202 and the laser light 201 to work according to the randomly selected parameter values. Therefore, at each interval t, the laser light 201 will rotate in different directions or at different speeds, so that the laser trajectory projected by the laser light 201 changes irregularly, which can enhance the entertainment and fun with pets.
[0082] Specifically in one embodiment, the parameters include B and C, B represents the rotation speed of the stepper motor 202, C represents the lighting state of the laser light 201, and the motor rotation direction remains unchanged. If the cat-amusing function is turned on, the first control module controls the laser light 201 to rotate in one direction. At each interval t, the laser light 201 rotates at different speeds or lights up for different periods of time. Therefore, the laser light 201 rotates or lights up irregularly, so that the laser trajectory projected by the laser light 201 changes irregularly, which can enhance the interactive entertainment and fun with pets.
[0083] Specifically in one embodiment, the parameters include A and C, and the motor speed remains unchanged. If the cat-amusing function is turned on, at every interval t, the first control module controls the laser light 201 to rotate in different directions or to light up for different periods of time. Therefore, the laser light 201 rotates or lights up irregularly, so that the laser trajectory projected by the laser light 201 changes irregularly, which can enhance the entertainment and fun of the interaction with the pet.
[0084] In a preferred embodiment, the parameters include A, B, and C at the same time. The first control module randomly selects parameters A, B, and C at every interval t, and controls the stepper motor 202 and the laser light 201 to work according to the randomly selected parameter values. The laser light 201 will rotate in different directions, rotate at different speeds, and light up for different times. Therefore, the laser light 201 rotates or lights up irregularly, so that the laser trajectory projected by the laser light 201 changes irregularly, which can enhance the entertainment and fun of the interaction with the pet.
[0085] It should be noted that the user can manually turn on the cat-amusing function, or the body 1 can be provided with a detection component, and when the detection component detects that a pet is approaching the body 1, the cat-amusing function is automatically turned on.
[0086] In one embodiment, the value of A is 0 or 1, A = 0 represents clockwise rotation, A = 1 represents counterclockwise rotation; and / or, the value of B is an integer from 0 to 5, B = 0 represents that the stepper motor 202 stops rotating, B = 1 represents the set speed, and B = 5 represents 5 times the set speed; and / or, the value of C is 0 or 1, C = 0 represents that the laser light 201 is always on, and C = 1 represents that the laser light 201 is on for 0.5 seconds and off for 0.5 seconds.
[0087] In this embodiment, at every time interval t, A, B, and C are randomly selected values, which can ensure that the laser light 201 will rotate in different directions, rotate at different speeds, and light up for different times. Therefore, the laser light 201 rotates or lights up irregularly, so that the laser trajectory projected by the laser light 201 changes irregularly, which can enhance the entertainment and fun of the interaction with the pet.
[0088] Specifically in one embodiment, when the cat-amusing function is just turned on, parameter values are randomly selected, for example, A is selected as 0, B is selected as 1, and C is selected as 0, then the motor rotates clockwise at a set speed, and the laser light 201 is always on. After an interval time t, the first control module randomly selects parameter values again, for example, A is selected as 1, B is selected as 2, and C is selected as 0, then the motor rotates counterclockwise at twice the set speed, and the laser light 201 is always on. After an interval time t, parameter values are randomly selected again, and so on.
[0089] In one embodiment, if B=0, t=10 seconds; if B≠0, t is a random number between 20 seconds and 1 minute.
[0090] In this embodiment, if the parameter B is randomly selected to be 0, since B is 0, which means that the motor stops rotating, the laser light 201 will be on for a short time, 10 seconds. After 10 seconds, the parameter value is randomly selected again to avoid the light emitted by the laser light 201 being stationary for too long, which will reduce the fun of the pet. If B≠0, it means that the motor is rotating, and then the light emitted by the laser light 201 is moving, and the light spot projected on the ground is constantly moving. Therefore, t is randomly selected between 20 seconds and 1 minute, which can make the laser light 201 move for a relatively long time.
[0091] It should be noted that when the cat-playing function is just turned on, the randomly selected parameter B cannot be 0.
[0092] Specifically in one embodiment, when the cat-amusing function is just turned on, parameter values are randomly selected, for example, A is selected as 0, B is selected as 1, and C is selected as 0, then the motor rotates clockwise at a set speed, and the laser light 201 is always on. After an interval of 30 seconds, the first control module randomly selects parameter values again, for example, A is selected as 1, B is selected as 2, and C is selected as 0, then the motor rotates counterclockwise at twice the set speed, and the laser light 201 is always on. After an interval of 40 seconds, parameter values are randomly selected again, and so on.
[0093] In one embodiment, the control device further comprises: A calculation module, used to calculate the total time T after the cat-fun function is turned on; A judgment module, used to judge whether the total duration T is equal to a preset duration; The second control module is used to turn off the cat-playing function when the total time T is equal to the preset time.
[0094] In this embodiment, the calculation module calculates the total duration T after the cat teasing function is turned on. If the total duration is equal to the preset duration, the second control module turns off the cat teasing function to prevent the pet from getting fatigued due to the long - time activation of the cat teasing function and losing its fun.
[0095] Specifically, in one embodiment, the total duration is 10 minutes. If the total duration = 10 minutes, the second control module turns off the cat teasing function to prevent the pet from getting fatigued due to the long - time activation of the cat teasing function and losing its fun.
[0096] The control device in this embodiment is presented in the form of functional units. Here, the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and a memory that execute one or more software or fixed programs, and / or other devices that can provide the above - mentioned functions.
[0097] The embodiment of the present invention also provides a computer device, which includes: one or more processors, a memory, and interfaces for connecting various components, including high - speed interfaces and low - speed interfaces. Each component communicates with each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed within the computer device, including instructions stored in the memory or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (such as a server array, a set of blade servers, or a multi - processor system).
[0098] The processor can be a central processing unit, a network processor, or a combination thereof. Among them, the processor can further include a hardware chip. The above - mentioned hardware chip can be an application - specific integrated circuit, a programmable logic device, or a combination thereof. The above - mentioned programmable logic device can be a complex programmable logic device, a field - programmable gate array, a generic array logic, or any combination thereof.
[0099] Among them, the memory stores instructions executable by at least one processor, so that at least one processor executes the method shown in the above - mentioned embodiment.
[0100] The memory may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the computer device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some alternative embodiments, the memory may optionally include a memory remotely provided with respect to the processor, and these remote memories can be connected to the computer device through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0101] The memory may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk, or a solid-state drive; the memory may further include a combination of the above types of memories.
[0102] The computer device further includes a communication interface for the computer device to communicate with other devices or a communication network.
[0103] Embodiments of the present invention also provide a computer-readable storage medium. The methods according to the embodiments of the present invention can be implemented in hardware, firmware, or be implemented as computer code that can be recorded on a storage medium, or be implemented as computer code originally stored in a remote storage medium or a non-transitory machine-readable storage medium and downloaded through a network and to be stored in a local storage medium, so that the methods described herein can be stored in such software processes on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, etc.; further, the storage medium may further include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the methods shown in the above embodiments are implemented.
[0104] Although the embodiments of the present invention are described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by this application.
Claims
1. A control method for an air purification device, characterized in that, The air purification device comprises a body (1) and a laser light assembly (2) arranged on the body (1), the laser light assembly (2) comprising a laser light (201) and a driving structure capable of driving the laser light (201) to move, the driving structure comprising a stepping motor (202), and the control method comprising: Setting parameters, the parameters comprising at least one of A, B, and C, wherein A represents the rotation direction of the stepper motor (202), B represents the rotation speed of the stepper motor (202), and C represents the lighting state of the laser light (201); If the cat-amusing function is turned on, a parameter value is randomly selected at every time interval t, and the stepper motor (202) and the laser light (201) are controlled to work according to the randomly selected parameter value.
2. The control method of the air purification device according to claim 1, characterized in that, The value of A is 0 or 1. A 0 represents clockwise rotation, and A 1 represents counterclockwise rotation. and / or, the value of B is an integer from 0 to 5, B being 0 represents that the stepping motor (202) stops rotating, B being 1 represents a set speed, and B being 5 represents 5 times the set speed; And / or, the value of C is 0 or 1, C being 0 represents that the laser light (201) is always on, and C being 1 represents that the laser light (201) is on for 0.5 seconds and off for 0.5 seconds.
3. The control method of the air purification device according to claim 1, characterized in that: If B=0, t=10 seconds; if B≠0, a random number is taken between 20 seconds and 1 minute.
4. The control method of the air purification device according to claim 1, characterized in that, The control method further comprises: Calculate the total duration T after the cat-fun function is turned on; Determine whether the total duration T is equal to the preset duration; If the total duration T is equal to the preset duration, the cat-playing function will be turned off.
5. A control device for an air purification device, characterized in that, The air purification device comprises a body (1) and a laser light assembly (2) arranged on the body (1), the laser light assembly (2) comprising a laser light (201) and a driving structure capable of driving the laser light (201) to move, the driving structure comprising a stepping motor (202), and the control device comprising: A setting module, used for setting parameters, the parameters comprising at least one of A, B, and C, wherein A represents the rotation direction of the stepper motor (202), B represents the rotation speed of the stepper motor (202), and C represents the lighting state of the laser light (201); The first control module is used to randomly select a parameter value at each interval t when the cat-amusing function is turned on, and to control the stepping motor (202) and the laser light (201) to operate according to the randomly selected parameter value.
6. A computer device, characterized in that, include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the control method of the air purification device according to any one of claims 1 to 4 by executing the computer instructions.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the control method of the air purification device according to any one of claims 1 to 4.
Citation Information
Patent Citations
Pet caring system
CN107494321A
Cat teasing device
CN113040061A
Laser cat teasing device worn on cat body
CN209135106U
Method and Apparatus for Producing of Customized Cosmetic Based on Customizing Base Material
KR1020210088121A
Laser Pet Toy and Feeder
US20180077897A1
Cited By
Pet purifier control method and device, pet purifier, medium and product
CN120858895A
Air purification device, method, equipment, storage medium and product
CN120926537A