Animal-based door control method, device, equipment and storage medium
By installing cameras and speakers in the elevator, identifying dangerous areas and detecting animals and passengers, and adaptively controlling the elevator doors, the problem of pets being out of the user's supervision in the elevator is solved, and the safety of users taking pets in the elevator is improved.
Patent Information
- Application Number
- CN202211329062.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-27
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2042-10-27
AI Technical Summary
In an elevator, when a user brings a pet, the pet may easily be distracted and lose the user's supervision, causing the pet to enter and exit the elevator on its own, resulting in separation between the user and the pet, posing a safety hazard.
By installing cameras and speakers in the elevator lobby and car, dangerous areas can be identified and animals and passengers can be detected. The opening and closing of the elevator doors can be adaptively controlled to ensure the safety of pets and users.
It improves the safety of users taking pets in elevators, reduces the risk of pets being separated from users, and enhances the flexibility and safety of elevator door control.
Smart Images

Figure CN115676567B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of elevators, and in particular to an animal-based door control method, device, equipment and storage medium. Background Art
[0002] With the development of urbanization, high-rise buildings such as residential buildings, office buildings, and teaching buildings have become widely popular, and elevators have become an important means of transportation in people's lives, studies, and work.
[0003] At present, many users keep cats, dogs and other pets in their homes, so it is common for users to take elevators with their pets.
[0004] Some elevators have posted notices inside the car and lobby to remind users to take good care of their pets. However, when the elevator door is open, the pet's attention is attracted, and it is easy for the pet to escape the user's supervision and enter and exit the elevator on its own, separating the user from the pet, posing a danger to the pet and surrounding users. Summary of the Invention
[0005] The present invention provides an animal-based door control method, device, equipment and storage medium to solve the problem of how to improve the safety of users carrying animals in elevators.
[0006] According to one aspect of the present invention, there is provided an animal-based door control method, comprising:
[0007] Selecting a target elevator from a plurality of elevators, wherein the target elevator is an elevator whose car is parked at a certain floor, and the floor has an elevator lobby for the plurality of elevators;
[0008] identifying a dangerous area in the elevator lobby before the target elevator;
[0009] detecting animals in the danger zone and the cabin of the target elevator respectively to obtain a first detection result;
[0010] Detecting passengers in the elevator lobby and the elevator car of the target elevator respectively to obtain a second detection result;
[0011] The door of the car of the target elevator is controlled according to the first detection result and the second detection result.
[0012] According to another aspect of the present invention, there is provided an animal-based door control device comprising:
[0013] A target elevator selection module is used to select a target elevator from multiple elevators, wherein the target elevator is an elevator whose car is parked at a certain floor, and the floor is provided with an elevator lobby for multiple elevators;
[0014] a dangerous area identification module, configured to identify a dangerous area in front of the target elevator in the elevator lobby;
[0015] an animal detection module, configured to detect animals in the dangerous area and the car of the target elevator, respectively, and obtain a first detection result;
[0016] a passenger detection module, configured to detect passengers in the elevator lobby and the elevator car of the target elevator, respectively, to obtain a second detection result;
[0017] A door control module is used to control the door of the elevator car of the target elevator according to the first detection result and the second detection result.
[0018] According to another aspect of the present invention, an electronic device is provided, comprising:
[0019] at least one processor; and
[0020] a memory communicatively connected to the at least one processor; wherein,
[0021] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the animal-based door control method according to any embodiment of the present invention.
[0022] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and the computer program is configured to enable a processor to implement the animal-based door control method according to any embodiment of the present invention when executed.
[0023] In this embodiment, a target elevator is selected from multiple elevators. The target elevator is an elevator with a car parked at a floor, and a lobby is provided for each floor. A dangerous area is identified in the lobby before the target elevator. Animals are detected in the dangerous area and in the car of the target elevator, respectively, to obtain a first detection result. Passengers are detected in the lobby and in the car of the target elevator, respectively, to obtain a second detection result. The door of the car of the target elevator is controlled based on the first and second detection results. The dangerous area before the elevator car can identify the tendency of animals to enter the car in the dangerous area. By combining the presence of animals in the dangerous area, animals in the car, passengers in the lobby, and passengers in the car, the relationship between the target elevator and the animals when the target elevator is parked at the floor can be determined to a certain extent. Based on the different relationships, the door of the car of the target elevator is adaptively controlled, which increases the flexibility of the car door control and makes it more closely aligned with the actual situation. This reduces the separation between users and their pet animals and reduces the contact between users and non-pet animals when riding the elevator, thereby improving the safety of users and animals when riding the elevator.
[0024] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0026] Figure 1 is a flow chart of an animal-based door control method provided according to embodiment 1 of the present invention;
[0027] Figure 2 is a structural diagram of an elevator provided according to Embodiment 1 of the present invention;
[0028] Figure 3 1 is a schematic diagram of a visible area from an elevator car to an elevator lobby according to a first embodiment of the present invention;
[0029] Figure 4 This is a schematic diagram of a dangerous area provided according to the first embodiment of the present invention;
[0030] Figure 5 This is an example diagram of controlling a car door according to the first embodiment of the present invention;
[0031] Figure 6 is a structural diagram of an animal-based door control device provided according to a second embodiment of the present invention;
[0032] Figure 7 It is a structural diagram of an electronic device provided by the third embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0034] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0035] Example 1
[0036] Figure 1 This is a flowchart of an animal-based door control method provided in Example 1 of the present invention. This embodiment is applicable to the situation where the door of the elevator car is controlled based on the distribution information of passengers, animals in the elevator lobby (including the dangerous area in front of the elevator car door), and the elevator car. The method can be executed by an animal-based door control device, which can be implemented in the form of hardware and / or software. The animal-based door control device can be configured in an electronic device, especially an elevator control system and / or an elevator edge computing node. Figure 1 As shown, the method includes:
[0037] Step 101: Select a target elevator from multiple elevators.
[0038] Generally speaking, elevators have different types and functions, such as passenger elevators, freight elevators, sightseeing elevators, etc. Therefore, the components installed in the elevators are also different.
[0039] In one example, the components of a certain type of elevator include a traction machine, a control cabinet, a speed limiter, a door opener, a car frame, a car door, a counterweight guide rail, a car guide rail, a guide rail support, a traveling cable, a counterweight device, a compensating chain (cable), a landing door, a guide device for the compensating chain (cable), and a buffer.
[0040] Of course, in some types of elevators, the traction machine, control cabinet, speed limiter, and accompanying cable can be omitted, and this embodiment does not limit this.
[0041] like Figure 2 As shown, a control system 210 and multiple elevators 230 may be deployed in a building, and the control system 210 has logic for controlling the operation of each elevator 230 .
[0042] Generally, the controller is a microprocessor unit (MPU) with weak computing power. Therefore, the elevator manager or owner can choose whether to install an edge computing node on the elevator near the elevator control system in the building according to needs.
[0043] If you choose not to install an edge computing node, the elevator control system maintains the original control logic and does not affect the normal operation of the elevator.
[0044] If you choose to install an edge computing node, Figure 2 As shown, the edge computing node 220 of the elevator is connected to the control system 210 of the elevator. The control system 210 of the elevator and the edge computing node 220 of the elevator can be connected using a serial port (such as RS485) or a network, and the logic of the elevator control system 210 and the edge computing node 220 of the elevator to control the operation of the elevator is redefined.
[0045] Among them, the edge computing node is a computing device with strong computing power, which can be a computer, server or embedded device. In addition, the edge computing node can be equipped with a graphics processing unit (GPU) or an embedded neural network processor (NPU) according to needs.
[0046] like Figure 2-Figure 5 As shown, each floor in the building can be provided with an elevator lobby 300 for multiple elevators 230, i.e., a place where passengers wait for the elevator. In some design specifications, the depth of the elevator lobby should not be less than the depth of the largest elevator car among the multiple elevators, and should not be less than 1.5 meters.
[0047] In addition, if Figure 2-Figure 5 As shown, a first camera 301 and a first speaker 302 can be installed at a position such as above the elevator lobby 300. The visual range of the first camera 301 covers the elevator lobby 300, so that the first camera 301 can capture the doors of all elevator cars in the elevator lobby 300.
[0048] In the car 231 of each elevator 230, a second camera 232 and a second speaker 233 can be installed at a position such as the center above the inner wall of the car 231, and a sound wave generator 234 can be installed at a position such as the inner wall of the car 231. The visual range of the second camera 232 covers the car 231. When the door of the car 231 is open, the visual range of the second camera 232 covers the area in front of the door of the car 231 and part of the elevator lobby 300.
[0049] The first camera 301 and each second camera 232 can be connected to the elevator's edge computing node 220 via a serial port or a network, and the elevator's edge computing node 220 processes the image data collected by the first camera 301 and each second camera 232.
[0050] The first speaker 302, each second speaker 233 and the sound wave generator 234 can be connected to the elevator control system 210 via a serial port or a network, and the elevator control system 210 controls the first speaker 302, each second speaker 233 and the sound wave generator 234 to operate.
[0051] There are multiple hoistways inside or outside the building. The cars of each elevator move (i.e., slide) in the hoistways. A control panel is set on each floor or the first floor of the building. The control panel generally has buttons for calling the elevator up and down. Passengers can press these buttons to issue an elevator call request (i.e., an elevator call).
[0052] Of course, in addition to the control panel, passengers can also use the client, remote control, etc. to issue elevator call requests, and this embodiment does not limit this.
[0053] When an elevator receives a call (i.e., an external call), it controls the car to slide in the shaft to the passenger's floor, opens the door, and closes the door after the passenger enters the car. A control panel is set up in the car, which generally has buttons for each floor, door opening, door closing, alarm, etc. Passengers can press the buttons for each floor to make an elevator request (i.e., an internal call).
[0054] Of course, in addition to the control panel, passengers can also use the client, remote control, etc. to issue elevator requests, and this embodiment does not limit this.
[0055] When an elevator receives a request to board the elevator (i.e., an internal call), it controls the car to slide in the hoistway to the destination floor indicated by the passenger, opens the car door, and closes the car door after the passenger exits the car.
[0056] When multiple elevators are moving due to internal calls and / or external calls, one of the elevators can be selected as a target elevator, wherein the target elevator is an elevator with a car parked at a certain floor. At this time, the elevator is waiting at the floor for the control door to open and / or close.
[0057] Step 102: Identify a dangerous area in front of a target elevator in the elevator lobby.
[0058] When the target elevator stops at the current elevator lobby, an area in front of the target elevator can be identified in the elevator lobby. This area is close to the door of the target elevator car. Since there is a risk of animals escaping from the supervision of passengers and entering the target elevator on their own, this area can be recorded as a dangerous area.
[0059] In one embodiment of the present invention, step 102 may include the following steps:
[0060] Step 1021: Call the first camera to collect first image data facing the elevator lobby.
[0061] like Figure 2 、 Figure 4 and Figure 5 As shown, the first camera 301 is installed in the elevator lobby 300. When the target elevator stops at the current elevator lobby 300, the first camera 301 can be called to face the elevator lobby 300 to collect first image data.
[0062] Step 1022: Determine the visible range in the elevator lobby when looking from the elevator car of the target elevator toward the elevator lobby.
[0063] Step 1023: Mark the visible range in the first image data as a dangerous area.
[0064] In this embodiment, the door of the target elevator car can be dynamically controlled based on whether there are animals in the dangerous area and the target elevator car, and whether there are passengers in the elevator lobby and the target elevator car. At this time, the logic of controlling the door of the target elevator car may be different from the conventional logic of controlling the door of the target elevator car.
[0065] In order to enable the passengers in the car of the target elevator to visually understand the logic of controlling the door of the car of the target elevator at this time, the visible range in the elevator lobby when facing the elevator lobby from the car of the target elevator can be visually selected, and the visible range can be marked in the first image data as a danger zone, that is, the danger zone is the area of the elevator lobby that is visually observable by the passengers in the car of the target elevator.
[0066] In the specific implementation, Figure 2-Figure 5 As shown, the second camera 232 is installed in the car 231 of each elevator 230 , that is, one second camera 232 can be installed in the car 231 of each elevator 230 .
[0067] For the first camera, the second image data [P1, P2, ..., Pj, ..., Pn] collected by the first camera facing the elevator lobby can be obtained. If the first camera is a movable camera, in addition to the second image data, the posture of the first camera can also be recorded.
[0068] For each second camera, on the one hand, the third image data [J1P0, J2P0, ..., JiP0, ..., JnP0] (JiP0 represents the third image data of the i-th elevator facing the elevator lobby when the door of the elevator car is closed, i∈n, n is the number of elevators) collected by each second camera when the door of the elevator car is closed is obtained. On the other hand, the door of each elevator car is controlled to open in sequence, so as to obtain the third image data of the second camera when the door of each elevator car is opened and facing the elevator lobby. The fourth image data of the set [J1P1, J2P1, …, JiP1, …, JnP1], [J1P2, J2P2, …, JiP2, …, JnP2], …, [J1Pj, J2Pj, …, JiPj, …, JnPj], …, [J1Pn, J2Pn, …, JiPn, …, JnPn] (JiPj represents the fourth image data collected in the j-th elevator facing the elevator lobby when only the door of the car of the i-th elevator is open, representing i∈n, where n is the number of elevators).
[0069] The difference between the third image data and the fourth image data is calculated to obtain difference image data. The difference between the third image data and the fourth image data mainly lies in whether the car door is open. When the car door is closed, the content of the third image data includes the car door. When the car door is open, the content of the fourth image data includes the external environment seen through the car door, and the external environment is mainly the elevator lobby.
[0070] Therefore, if Figure 3-Figure 5 As shown, the content of the difference image data is mainly the area of the elevator lobby that is visually observable by the second camera 232. Since the vision of the second camera and the vision of the passengers have a high degree of overlap, the area of the elevator lobby that is visually observable by the second camera can be equated with the area of the elevator lobby that is visually observable by the passengers, that is, the content of the difference image data is mainly the area of the elevator lobby that is visually observable by the passengers.
[0071] At this time, the homography matrix used to convert the coordinate system of the second camera into the coordinate system of the first camera is calculated, and the difference image data is multiplied by the homography matrix to project the difference image data into the second image data, and the visible range in the elevator lobby when facing the elevator car from the target elevator is obtained, and it is marked as the dangerous area 310.
[0072] Generally, the shape of the dangerous area 310 is a regular trapezoid. Therefore, when marking the dangerous area 310 , it is sufficient to record its four corner points 311 .
[0073] In addition, due to the installation position of the second camera, the content of the difference image data may include the side walls of the elevator lobby and / or the side walls of the elevator in addition to the area of the elevator lobby visually observable by passengers.
[0074] Then, before projecting the difference image data into the second image data, pixel points representing the side walls of the elevator lobby and / or pixel points of the side walls of the elevator can be detected in the difference image data, and the pixel points representing the side walls of the elevator lobby and / or pixel points of the side walls of the elevator can be filtered out in the difference image data to leave pixel points representing the floor of the elevator lobby.
[0075] Furthermore, considering that the side walls of the elevator lobby, the side walls of the elevator and the car door all have a certain size relationship, the range adjacent to the car door setting in the difference image data can be determined. The confidence that the side walls of the elevator lobby and the side walls of the elevator exist within this range is relatively high, and the side walls of the elevator lobby and the side walls of the elevator are both regular graphics, so edge detection can be performed within this range to obtain pixel points representing the side walls of the elevator lobby and / or the side walls of the elevator.
[0076] Alternatively, the side walls of the elevator lobby and / or the side walls of the elevator are used as targets, and a target detection algorithm is used to detect pixel points representing the side walls of the elevator lobby and / or the side walls of the elevator in the difference image data.
[0077] Alternatively, multiple frames of difference image data are detected for the same elevator at multiple floors, and the pixel points representing the side wall of the elevator lobby and / or the pixel points of the side wall of the elevator are detected using a multi-frame difference method.
[0078] It should be noted that the first camera can learn the dangerous areas of each elevator offline, and store the mapping relationship between the first camera and the dangerous areas of the elevator (indicated by ID, etc.) in the database. When controlling the door of the car, the dangerous area is read from the database based on the first camera and the elevator (indicated by ID, etc.).
[0079] If the first camera is a movable camera, the mapping relationship between the first camera, posture and dangerous areas of the elevator (indicated by ID, etc.) can be stored in the database. When controlling the door of the car, the dangerous areas are read from the database based on the first camera, posture and elevator (indicated by ID, etc.).
[0080] Step 103: Detect animals in the dangerous area and in the car of the target elevator to obtain a first detection result.
[0081] In this embodiment, it is possible to detect whether animals exist in the dangerous area and in the car of the target elevator, respectively, to obtain a first detection result.
[0082] For the dangerous area, the dangerous area is extracted from the first image data to obtain regional image data.
[0083] Taking animals (such as cats, dogs, etc.) as targets, target detection is performed in the regional image data to obtain a first detection result of whether there are animals in the dangerous area.
[0084] For the car of the target elevator, the sixth image data collected by the second camera installed in the car of the target elevator can be obtained, and target detection is performed in the sixth image data with animals (such as cats, dogs, etc.) as the target to obtain the first detection result of whether there are animals in the car of the target elevator.
[0085] Alternatively, electromagnetic wave data collected by a radar installed in the cabin of the target elevator is obtained, and the electromagnetic wave data is used to detect in dimensions such as the normal volume of the animal and the position of the animal (as a whole at the bottom of the cabin) to obtain a first detection result of whether there is an animal in the cabin of the target elevator.
[0086] Step 104: Detect passengers in the elevator lobby and the elevator car of the target elevator to obtain a second detection result.
[0087] In this embodiment, it is possible to detect whether there are passengers in the elevator lobby and in the elevator car of the target elevator to obtain a first detection result.
[0088] For the elevator lobby, target detection is performed in the first image data with the human body as the target to obtain a second detection result of whether there are passengers in the elevator lobby.
[0089] For the car of the target elevator, the sixth image data collected by the second camera installed in the car of the target elevator can be obtained, and target detection is performed in the sixth image data with the human body as the target to obtain a second detection result of whether the car of the target elevator has passengers.
[0090] Alternatively, electromagnetic wave data collected by a radar installed in the cabin of the target elevator is obtained, and the electromagnetic wave data is used to detect in dimensions such as the normal volume of the human body and the position of the human body (feet at the bottom of the cabin) to obtain a second detection result of whether there is a human body in the cabin of the target elevator.
[0091] Step 105: Control the door of the target elevator car according to the first detection result and the second detection result.
[0092] In this embodiment, the first detection result and the second detection result are combined to identify, to a certain extent, the relationship between the passenger and the animal when the target elevator stops at the floor. The animal may be the passenger's pet, or it may be the pet of other users other than the passenger, or a stray animal. According to different relationships, the door of the target elevator car is adaptively controlled to open and / or close.
[0093] Furthermore, if Figure 2 and Figure 5 As shown, based on the first detection result, the following two situations can be divided. For these two situations, the second detection result is combined to determine the relationship between the passenger and the animal when the target elevator stops at the floor:
[0094] Situation 1: There are animals in the dangerous area
[0095] 1. If there is an animal in the danger zone and there are no passengers in the elevator lobby or the target elevator car, and there are no passengers to take care of the animal, the door of the target elevator car must not be opened to prevent the animal from walking from the elevator lobby to the target elevator car and getting lost on the current floor.
[0096] 2. If there is an animal in the danger zone, and there are passengers in the elevator lobby but no passengers in the target elevator car, then the animal is likely to be a pet of a passenger in the elevator lobby. In this case, the first prompt operation will be executed in the elevator lobby, and the door of the target elevator car will be opened according to the reference speed control. When the car door is open for more than the preset time, the door of the target elevator car will be closed according to the reference speed control.
[0097] Among them, the first reminder operation is used to remind passengers in the elevator lobby to take care of animals, so that when the animal is a pet of a passenger in the elevator lobby, the passengers in the elevator lobby will be careful to bring the animal into the elevator car of the target elevator, avoiding the situation where the passengers in the elevator lobby enter the elevator car of the target elevator while the animal is left in the elevator lobby.
[0098] For example, Figure 2 As shown, a first speaker 302 is installed in the elevator lobby 300. At this time, the first prompting operation is to call the first speaker 302 to play a first prompting message. The content of the first prompting message is to remind passengers in the elevator lobby to take care of animals.
[0099] 3. If there is an animal in the danger zone and there are passengers in the target elevator car, at this time, the animal is more likely not the pet of the passenger in the target elevator car, then the second prompt operation is performed in the target elevator car and the manual door closing mode is started.
[0100] The second prompt operation is used to prompt that the manual door closing mode is triggered due to the presence of an animal in front of the car of the target elevator.
[0101] For example, Figure 2 As shown, a second speaker 233 is installed in the car 231 of each elevator 230. At this time, the second prompt operation is to call the second speaker in the car of the target elevator to play the second prompt information. The content of the second prompt information is to prompt that the manual door closing mode is triggered due to the presence of an animal in front of the car of the target elevator.
[0102] The door of the car of the target elevator is opened according to the reference speed control, and thereafter, the door of the car of the target elevator is maintained in the open state.
[0103] In manual door closing mode, when a door closing operation is received by a passenger through a control panel, client, etc. in the car, the door of the target elevator car is closed, so that if an animal enters the target elevator car, the passengers in the target elevator car have enough time to drive the animal away, thereby preventing the animal from causing nuisance or even harming the passengers in the target elevator car, and also preventing the animal from entering the target elevator car and getting lost.
[0104] Furthermore, when closing the door of the car of the target elevator, the door of the car of the target elevator can be closed according to the reference speed control, or the speed can be reduced to control the closing of the door of the car of the target elevator to prevent animals from being pinched when driving away.
[0105] Then, when a passenger's door closing operation is received in the manual door closing mode, the reference speed for closing the door of the target elevator car in the automatic door closing mode is queried, the reference speed is subtracted from the preset step length or a specified ratio is taken from the reference speed to reduce the reference speed, the target speed is obtained, and the door of the target elevator car is closed according to the target speed.
[0106] Case 2: There is an animal in the target elevator car
[0107] 1. If there is an animal in the target elevator car, and there are no passengers in the elevator lobby but there are passengers in the target elevator car, then the animal is likely to be a pet of a passenger in the target elevator car. In this case, the third prompt operation is performed in the target elevator car, and the door of the target elevator car is opened according to the reference speed control. When the door of the car is open for more than the preset time, the door of the target elevator car is closed according to the reference speed control.
[0108] Among them, the third prompt operation is used to prompt the passengers in the car of the target elevator to take care of the animals, so that when the animal is the pet of the passengers in the car of the target elevator, the passengers in the car of the target elevator will pay attention to taking care of the animals, stay in the car of the target elevator together, or walk out of the car of the target elevator to the elevator lobby together, to avoid the situation where the passengers stay in the car of the target elevator while the animals walk out of the car of the target elevator to the elevator lobby, or the passengers walk out of the car of the target elevator to the elevator lobby while the animals stay in the car of the target elevator.
[0109] For example, Figure 2 As shown, a second speaker 233 is installed in the car 231 of each elevator 230. At this time, the third prompt operation is to call the second speaker in the car of the target elevator to play the third prompt information, and the content of the third prompt information is to remind the passengers in the car of the target elevator to take care of the animals.
[0110] 2. If there is an animal in the target elevator car and there are no passengers in the elevator lobby or the target elevator car, and there is no passenger to take care of the animal, the car door will be opened and the animal will be removed from the target elevator car to prevent the animal from staying in the target elevator car and causing nuisance or even harm to future passengers riding in the elevator.
[0111] In an example of an eviction operation, such as Figure 2 As shown, a sound wave generator 234 is installed in the car 231 of each elevator 230. At this time, the driving away operation is to call the sound wave generator in the car of the target elevator to emit high-frequency ultrasonic waves. These ultrasonic waves are irritating to animals and have the effect of driving them away.
[0112] After the removal operation is executed, if the animal stays in the elevator car for a certain period of time, a retention event is generated for the animal and pushed to an administrator, such as a building property manager, to notify the administrator to handle the event of the animal staying in the elevator car.
[0113] 3. If there is an animal in the target elevator car, and there are passengers in the elevator lobby and the target elevator car, the animal may be the pet of a passenger in the target elevator car or may not be the pet of a passenger in the target elevator car. In this case, the fourth prompt operation is executed in the target elevator car and the manual door closing mode is started.
[0114] The fourth prompt operation is used to prompt that the manual door closing mode is triggered due to the presence of an animal in the car of the target elevator.
[0115] For example, Figure 2 As shown, a second speaker 233 is installed in the car 231 of each elevator 230. At this time, the second prompt operation is to call the second speaker in the car of the target elevator to play the fourth prompt information. The content of the fourth prompt information is to prompt that the manual door closing mode is triggered due to the presence of an animal in the car of the target elevator.
[0116] The door of the car of the target elevator is opened according to the reference speed control, and thereafter, the door of the car of the target elevator is maintained in the open state.
[0117] In manual door closing mode, when a door closing operation is received by a passenger through a control panel, client, etc. in the car, the door of the target elevator car is closed, so that if an animal is stranded in the car of the target elevator, the passengers in the car of the target elevator have enough time to drive the animal away, thereby preventing the animal from causing nuisance or even harming the passengers in the car of the target elevator.
[0118] Furthermore, when closing the door of the car of the target elevator, the door of the car of the target elevator can be closed according to the reference speed control, or the speed can be reduced to control the closing of the door of the car of the target elevator to prevent animals from being pinched when driving away.
[0119] Then, when a passenger's door closing operation is received in the manual door closing mode, the reference speed for closing the door of the target elevator car in the automatic door closing mode is queried, the reference speed is subtracted from the preset step length or a specified ratio is taken from the reference speed to reduce the reference speed, the target speed is obtained, and the door of the target elevator car is closed according to the target speed.
[0120] 4. If there is an animal in the target elevator car, and there are passengers in the elevator lobby but no passengers in the target elevator car, then the animal is more likely to be a pet of a passenger in the elevator lobby and less likely to be a pet of a passenger in the elevator lobby. In this case, the fifth prompt operation is executed in the elevator lobby, and the door of the target elevator car is opened according to the reference speed control. When the door of the car is open for more than the preset time, the door of the target elevator car is closed according to the reference speed control.
[0121] The fifth prompting operation is used to prompt passengers in the elevator lobby to take care of their animals.
[0122] For example, Figure 2 As shown, a first speaker 302 is installed in the elevator lobby 300. At this time, the first prompting operation is to call the first speaker 302 to play the fifth prompting information. The content of the fifth prompting information is to remind passengers in the elevator lobby to take care of animals.
[0123] If the animal is a pet of a passenger in the elevator lobby, the passenger in the elevator lobby will take the animal away from the elevator car of the target elevator after being prompted. If the animal is not a pet of a passenger in the elevator lobby, the passenger in the elevator lobby will ignore the prompt.
[0124] If the animal still remains in the car of the target elevator after the fourth prompt operation is performed multiple times, an expulsion operation is performed on the animal in the car of the target elevator.
[0125] In an example of an eviction operation, such as Figure 2 As shown, a sound wave generator 234 is installed in the car 231 of each elevator 230. At this time, the driving away operation is to call the sound wave generator in the car of the target elevator to emit high-frequency ultrasonic waves. These ultrasonic waves are irritating to animals and have the effect of driving them away.
[0126] After the removal operation is executed, if the animal stays in the elevator car for a certain period of time, a retention event is generated for the animal and pushed to an administrator, such as a building property manager, to notify the administrator to handle the event of the animal staying in the elevator car.
[0127] In this embodiment, a target elevator is selected from multiple elevators. The target elevator is an elevator with a car parked at a floor, and a lobby is provided for each floor. A dangerous area is identified in the lobby before the target elevator. Animals are detected in the dangerous area and in the car of the target elevator, respectively, to obtain a first detection result. Passengers are detected in the lobby and in the car of the target elevator, respectively, to obtain a second detection result. The door of the car of the target elevator is controlled based on the first and second detection results. The dangerous area before the elevator car can identify the tendency of animals to enter the car in the dangerous area. By combining the presence of animals in the dangerous area, animals in the car, passengers in the lobby, and passengers in the car, the relationship between the target elevator and the animals when the target elevator is parked at the floor can be determined to a certain extent. Based on the different relationships, the door of the car of the target elevator is adaptively controlled, which increases the flexibility of the car door control and makes it more closely aligned with the actual situation. This reduces the separation between users and their pet animals and reduces the contact between users and non-pet animals when riding the elevator, thereby improving the safety of users and animals when riding the elevator.
[0128] Example 2
[0129] Figure 6 This is a schematic diagram of the structure of an animal-based door control device provided in Example 2 of the present invention. Figure 6 As shown, the device includes:
[0130] A target elevator selection module 601 is used to select a target elevator from multiple elevators, where the target elevator is an elevator whose car is parked at a certain floor, and the floor has an elevator lobby for multiple elevators;
[0131] a dangerous area identification module 602, configured to identify a dangerous area in front of the target elevator in the elevator lobby;
[0132] An animal detection module 603 is configured to detect animals in the dangerous area and the car of the target elevator, respectively, to obtain a first detection result;
[0133] A passenger detection module 604 is configured to detect passengers in the elevator lobby and the elevator car of the target elevator, respectively, to obtain a second detection result;
[0134] The door control module 605 is configured to control the door of the car of the target elevator according to the first detection result and the second detection result.
[0135] In one embodiment of the present invention, the dangerous area identification module 602 includes:
[0136] a first image data acquisition module, configured to call a first camera to face the elevator lobby and acquire first image data, wherein the first camera is installed in the elevator lobby;
[0137] A visual range determination module, configured to determine a visible range in the elevator lobby when the elevator car of the target elevator faces the elevator lobby;
[0138] The dangerous area marking module is used to mark the visible range in the first image data as a dangerous area.
[0139] In one embodiment of the present invention, the visual range determination module includes:
[0140] A second image data acquisition module is used to acquire second image data collected by the first camera facing the elevator lobby;
[0141] a third image data acquisition module, configured to acquire third image data captured by a second camera facing the elevator lobby when the door of the elevator car is closed, wherein the second camera is installed in the elevator car of each of the elevators;
[0142] a fourth image data acquisition module, configured to acquire fourth image data collected by the second camera facing the elevator lobby when the door of the elevator car is open;
[0143] a difference image data calculation module, configured to calculate a difference between the third image data and the fourth image data to obtain difference image data;
[0144] The difference image data projection module is used to project the difference image data onto the second image data to obtain a visible range in the elevator lobby when the elevator car of the target elevator faces the elevator lobby.
[0145] In another embodiment of the present invention, the visual range determination module further includes:
[0146] a side wall pixel point detection module, configured to detect pixel points representing the side wall of the elevator lobby and / or the side wall of the elevator in the difference image data;
[0147] The side wall pixel filtering module is used to filter out the pixel points representing the side wall of the elevator lobby and / or the side wall of the elevator in the difference image data, so as to leave the pixel points representing the floor of the elevator lobby.
[0148] In one embodiment of the present invention,
[0149] The animal detection module 603 includes:
[0150] a regional image data extraction module, configured to extract the dangerous area from the first image data to obtain regional image data;
[0151] a first target detection module, configured to perform target detection in the image data of the area with animals as targets, so as to obtain a first detection result of whether the dangerous area contains animals;
[0152] The passenger detection module 604 includes:
[0153] The second target detection module is configured to perform target detection in the first image data with the human body as the target, so as to obtain a second detection result of whether there are passengers in the elevator lobby.
[0154] In one embodiment of the present invention, the door control module 605 includes:
[0155] A first control module is configured to prohibit opening the door of the target elevator car if there is an animal in the dangerous area and there are no passengers in the elevator lobby and the target elevator car;
[0156] a second control module configured to, if there is an animal in the dangerous area and there are passengers in the elevator lobby but no passengers in the elevator car of the target elevator, execute a first prompting operation in the elevator lobby to control the opening and closing of the door of the elevator car of the target elevator, wherein the first prompting operation is used to prompt the passengers in the elevator lobby to look after the animal;
[0157] The third control module is used to perform a second prompt operation in the car of the target elevator and start the manual door closing mode if there are animals in the dangerous area and there are passengers in the car of the target elevator, and open the door of the car of the target elevator. When the door closing operation of the passenger is received in the manual door closing mode, the door of the car of the target elevator is closed. The second prompt operation is used to prompt that the manual door closing mode is triggered due to the presence of animals in front of the car of the target elevator.
[0158] In one embodiment of the present invention, the third control module includes:
[0159] a first reference speed query module, configured to query a reference speed for closing the door of the car of the target elevator in the automatic door closing mode upon receiving the door closing operation of the passenger in the manual door closing mode;
[0160] A first reference speed reducing module, configured to reduce the reference speed to obtain a target speed;
[0161] The first speed-down door-closing module is configured to close the door of the car of the target elevator according to the target speed.
[0162] In another embodiment of the present invention, the door control module 605 includes:
[0163] a fourth control module configured to, if there is an animal in the car of the target elevator, and there are no passengers in the elevator lobby but there are passengers in the car of the target elevator, perform a third prompting operation in the car of the target elevator to control the opening and closing of the car door, wherein the third prompting operation is used to prompt the passenger in the car of the target elevator to look after the animal;
[0164] a fifth control module, configured to, if there is an animal in the car of the target elevator and there are no passengers in the elevator lobby and the car of the target elevator, open the door of the car and perform an operation to remove the animal from the car of the target elevator; and, if the animal stays in the car of the target elevator for an extended period of time, generate a retention event for the animal and push the retention event to an administrator;
[0165] a sixth control module, configured to, if there is an animal in the car of the target elevator, and there are passengers in the elevator lobby and the car of the target elevator, perform a fourth prompting operation in the car of the target elevator and initiate a manual door closing mode, thereby opening the door of the car of the target elevator; and, upon receiving a door closing operation from the passenger in the manual door closing mode, close the door of the car of the target elevator, wherein the fourth prompting operation is configured to prompt that the manual door closing mode is triggered due to the presence of an animal in the car of the target elevator;
[0166] The seventh control module is used to perform a fifth prompt operation in the elevator lobby to control the opening and closing of the door of the target elevator car if there is an animal in the car of the target elevator, there are passengers in the elevator lobby, and there are no passengers in the car of the target elevator. If the animal is retained in the car of the target elevator after the fourth prompt operation is performed multiple times, an expulsion operation is performed on the animal in the car of the target elevator. If the animal is retained in the car of the target elevator for an extended period of time, a retention event is generated for the animal and the retention event is pushed to the administrator. The fifth prompt operation is used to remind the passengers in the elevator lobby to take care of the animals.
[0167] In one embodiment of the present invention, the sixth control module includes:
[0168] a second reference speed query module, configured to query a reference speed for closing the door of the target elevator car in the automatic door closing mode upon receiving the door closing operation of the passenger in the manual door closing mode;
[0169] A second reference speed reducing module, configured to reduce the reference speed to obtain a target speed;
[0170] The second speed-down door-closing module is configured to close the door of the car of the target elevator according to the target speed.
[0171] The animal-based door control device provided by the embodiment of the present invention can execute the animal-based door control method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the animal-based door control method.
[0172] Example 3
[0173] Figure 7 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0174] like Figure 7 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0175] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0176] The processor 11 can be various general-purpose and / or specialized processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the animal-based door control method.
[0177] In some embodiments, the animal-based door control method can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the animal-based door control method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the animal-based door control method in any other suitable manner (e.g., via firmware).
[0178] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0179] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0180] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0181] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0182] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0183] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0184] Example 4
[0185] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the computer program implements the animal-based door control method provided by any embodiment of the present invention.
[0186] The computer program product may be implemented by writing computer program code for performing the operations of the present invention in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0187] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0188] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A door control method based on animals, characterized in that, include: Selecting a target elevator from a plurality of elevators, wherein the target elevator is an elevator whose car is parked at a certain floor, and the floor has an elevator lobby for the plurality of elevators; identifying a dangerous area in the elevator lobby before the target elevator; detecting animals in the danger zone and the cabin of the target elevator, respectively, to obtain a first detection result; Detecting passengers in the elevator lobby and the elevator car of the target elevator respectively to obtain a second detection result; controlling a door of a car of the target elevator according to the first detection result and the second detection result; The step of identifying a dangerous area in front of the target elevator in the elevator lobby includes: Invoking a first camera facing the elevator lobby to collect first image data, where the first camera is installed in the elevator lobby; Acquire second image data collected by the first camera facing the elevator lobby; Obtaining third image data captured by a second camera facing the elevator lobby when a door of the elevator car is closed, wherein the second camera is installed in the elevator car of each of the elevators; Acquire fourth image data captured by the second camera facing the elevator lobby when the door of the elevator car is open; calculating a difference between the third image data and the fourth image data to obtain difference image data; Projecting the difference image data onto the second image data to obtain a visible range in the elevator lobby when the elevator car of the target elevator faces the elevator lobby; The visible range is marked in the first image data as a dangerous area.
2. The method according to claim 1, characterized in that The obtaining of the visible range in the elevator lobby when the elevator car of the target elevator faces the elevator lobby further includes: Detecting pixel points representing the side wall of the elevator lobby and / or the side wall of the elevator in the difference image data; Pixels representing the side wall of the elevator lobby and / or the side wall of the elevator are filtered out from the difference image data to leave only pixels representing the floor of the elevator lobby.
3. The method according to claim 1, characterized in that The detecting of animals in the danger zone and the target elevator car respectively to obtain a first detection result includes: Extracting the dangerous area from the first image data to obtain regional image data; Taking animals as targets, performing target detection in the area image data to obtain a first detection result of whether the dangerous area has animals; The detecting passengers in the elevator lobby and the elevator car of the target elevator respectively to obtain a second detection result includes: Target detection is performed in the first image data with the human body as the target to obtain a second detection result of whether there is a passenger in the elevator lobby.
4. The method according to any one of claims 1 to 3, characterized in that The controlling the door of the car of the target elevator according to the first detection result and the second detection result includes: If there are animals in the dangerous area, and there are no passengers in the elevator lobby and the elevator car of the target elevator, it is prohibited to open the door of the elevator car of the target elevator; If there is an animal in the dangerous area, and there are passengers in the elevator lobby but no passengers in the target elevator car, a first prompting operation is performed in the elevator lobby to control the opening and closing of the door of the target elevator car, wherein the first prompting operation is used to prompt the passengers in the elevator lobby to take care of the animal; If there are animals in the dangerous area and there are passengers in the car of the target elevator, a second prompt operation is performed in the car of the target elevator and a manual door closing mode is started to open the door of the car of the target elevator. When the door closing operation of the passenger is received in the manual door closing mode, the door of the car of the target elevator is closed. The second prompt operation is used to prompt that the manual door closing mode is triggered due to the presence of an animal in front of the car of the target elevator.
5. The method according to claim 4, characterized in that When receiving the door closing operation of the passenger in the manual door closing mode, closing the door of the car of the target elevator comprises: Upon receiving the door closing operation of the passenger in the manual door closing mode, querying a reference speed for closing the door of the car of the target elevator in the automatic door closing mode; reducing the reference speed to obtain a target speed; The door of the car of the target elevator is closed according to the target speed.
6. The method according to any one of claims 1 to 3 and 5, characterized in that The controlling the door of the car of the target elevator according to the first detection result and the second detection result includes: If there is an animal in the car of the target elevator, and there are no passengers in the elevator lobby but there are passengers in the car of the target elevator, a third prompting operation is performed in the car of the target elevator to control the opening and closing of the car door, wherein the third prompting operation is used to prompt the passengers in the car of the target elevator to take care of the animals; If there is an animal in the car of the target elevator, and there are no passengers in the elevator lobby and the car of the target elevator, the door of the car is opened and the animal is driven away from the car of the target elevator. If the animal stays in the car of the target elevator for an extended period of time, a detention event is generated for the animal and the detention event is pushed to the administrator; If there is an animal in the car of the target elevator, and there are passengers in the elevator lobby and the car of the target elevator, a fourth prompting operation is performed in the car of the target elevator and a manual door closing mode is activated to open the door of the car of the target elevator. When a door closing operation is received from the passenger in the manual door closing mode, the door of the car of the target elevator is closed. The fourth prompting operation is used to prompt that the manual door closing mode is triggered due to the presence of an animal in the car of the target elevator. If there is an animal in the car of the target elevator, and there are passengers in the elevator lobby but no passengers in the car of the target elevator, a fifth prompt operation is performed in the elevator lobby to control the opening and closing of the door of the car of the target elevator. If the animal is retained in the car of the target elevator after the fourth prompt operation is performed multiple times, an expulsion operation is performed on the animal in the car of the target elevator. If the animal is retained in the car of the target elevator for an extended period of time, a retention event is generated for the animal and pushed to the administrator. The fifth prompt operation is used to remind the passengers in the elevator lobby to take care of the animals.
7. An animal-based door control device, characterized in that include: A target elevator selection module is used to select a target elevator from multiple elevators, wherein the target elevator is an elevator whose car is parked at a certain floor, and the floor is provided with an elevator lobby for multiple elevators; a dangerous area identification module, configured to identify a dangerous area in front of the target elevator in the elevator lobby; an animal detection module, configured to detect animals in the dangerous area and the car of the target elevator, respectively, and obtain a first detection result; a passenger detection module, configured to detect passengers in the elevator lobby and the elevator car of the target elevator, respectively, to obtain a second detection result; a door control module, configured to control a door of a car of the target elevator according to the first detection result and the second detection result; Wherein, the dangerous area identification module includes: a first image data acquisition module, configured to call a first camera to face the elevator lobby and acquire first image data, wherein the first camera is installed in the elevator lobby; A second image data acquisition module is used to acquire second image data collected by the first camera facing the elevator lobby; a third image data acquisition module, configured to acquire third image data captured by a second camera facing the elevator lobby when the door of the elevator car is closed, wherein the second camera is installed in the elevator car of each of the elevators; a fourth image data acquisition module, configured to acquire fourth image data collected by the second camera facing the elevator lobby when the door of the elevator car is open; a difference image data calculation module, configured to calculate a difference between the third image data and the fourth image data to obtain difference image data; a difference image data projection module, configured to project the difference image data onto the second image data to obtain a visible range in the elevator lobby when the elevator car of the target elevator faces the elevator lobby; The dangerous area marking module is used to mark the visible range in the first image data as a dangerous area.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, wherein the computer program is executed by the at least one processor to enable the at least one processor to perform the animal-based door control method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which is used to enable a processor to implement the animal-based door control method according to any one of claims 1 to 6 when the computer program is executed.
Citation Information
Patent Citations
Pet reminding system of elevator
CN105366471A