An elevator control method, a master control system, an electronic device, and a storage medium
By setting different lighting modes on the bottom and sides of the elevator car and using image recognition technology to automatically control the closing of the elevator doors, the problem of long waiting time for the elevator doors to close during unloading is solved, thus improving the efficiency of elevator use.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-26
- Publication Date
- 2026-03-31
AI Technical Summary
Elevators spend a long time waiting for manual or automatic door closing, resulting in low elevator efficiency, especially when forklifts or other tools are needed for unloading.
At least two different lighting modes are installed on the bottom and sides of the elevator car. By acquiring images under different lighting modes, the cargo area is identified and it is determined whether the cargo has been transported out, and the elevator door is automatically controlled to close.
By quickly identifying cargo areas and determining whether goods have been shipped out, unnecessary door opening time is reduced, elevator utilization efficiency is improved, and calls from other floors can be responded to promptly.
Smart Images

Figure CN116835400B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of elevator control technology, and in particular to an elevator control method, a main control system, electronic equipment, and a storage medium. Background Technology
[0002] For some elevators specifically designed for transporting goods, there are usually no personnel operating them inside, and the destination floor is singular. After the elevator transports the goods to the destination floor, the person waiting at the elevator door goes inside to retrieve the goods after the elevator doors open. When there are many goods or the goods are large (requiring other unloading tools, such as forklifts), the unloading time is usually longer, so the elevator door opening time will also be longer. It is necessary to press the extended opening button to prolong the elevator door opening time, and then manually close the door after the goods have been unloaded.
[0003] However, in actual operation, after the door opening time is extended, it is easy to forget to manually close the door, especially when using a forklift. In this case, the elevator will need to wait for the extended door opening time to end before it can automatically close the door and respond to calls from other floors. In this case, the time spent waiting for manual closing or automatic closing after the door opening time ends is relatively long, resulting in low elevator utilization efficiency. Summary of the Invention
[0004] This invention provides an elevator control method to solve the problems of long waiting times for manual door closing or automatic door closing after the door opening time has ended, and low elevator utilization efficiency.
[0005] In a first aspect, the present invention provides an elevator control method applied to the main control system of an elevator. Lights are installed on the bottom and sides of the elevator car, and the lights have at least two lighting modes. Under different lighting modes, the color of the lights on the bottom and sides is different at least once.
[0006] The elevator control method includes:
[0007] When the elevator receives goods at an external call floor and closes the elevator door, acquire the first image under at least two lighting modes;
[0008] Based on the first image, determine the cargo area and the current lighting mode of the car;
[0009] When the elevator reaches the delivery floor and opens the elevator door, a second image of the interior of the car is obtained;
[0010] Based on the cargo area and the second image, determine whether the cargo corresponding to the cargo area has been shipped out;
[0011] If so, control the elevator doors to close and respond to calls from other floors.
[0012] Secondly, the present invention provides a master control system, comprising:
[0013] The first image acquisition module is used to acquire first images under at least two lighting modes when the elevator receives goods and closes the elevator door at an external call floor;
[0014] The cargo area determination module is used to determine the cargo area and the current lighting mode of the car based on the first image;
[0015] The second image acquisition module is used to acquire a second image of the interior of the elevator car when the elevator arrives at the delivery floor and the elevator door opens.
[0016] The cargo dispatch determination module is used to determine whether the cargo corresponding to the cargo area has been dispatched based on the cargo area and the second image; if so, it executes the content executed by the elevator door closing control module.
[0017] The elevator door closing control module is used to control the elevator door to close and respond to external calls from other floors.
[0018] Thirdly, the present invention provides an electronic device, the electronic device 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 that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the elevator control method described in the first aspect of the present invention.
[0022] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the elevator control method described in the first aspect of the present invention.
[0023] The elevator control method of this invention is applied to the main control system of an elevator. Lights are provided on the bottom and sides of the elevator car, and the lighting modes are at least two. Under different lighting modes, the color of the lights on the bottom and sides is different at least once. When the elevator receives goods at an external call floor and closes the elevator door, a first image under at least two lighting modes is acquired. Based on the first image, the goods area is determined and the current lighting mode of the car is determined. By changing different lighting modes, the bottom and sides of the car and the goods can maintain a large color difference in the first image acquired under different lighting modes. Thus, the goods area can be determined based on the first image. The corresponding goods area obtained under different lighting modes may be different. After determining the goods area, the corresponding lighting mode of the car can also be determined.
[0024] When the elevator arrives at the delivery floor and opens the elevator door, a second image of the interior of the car is acquired. Based on the cargo area and the second image, it is determined whether the cargo corresponding to the cargo area has been transported out. If the cargo may be transported out, the presence of a cargo area in the second image can be detected to determine whether the cargo corresponding to the cargo area has been transported out. After confirming that the cargo has been transported out, the elevator door is controlled to close and responds to external calls from other floors. The time taken to close the elevator door is short, which can reduce unnecessary door opening time and improve the efficiency of elevator use.
[0025] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0026] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 This is a flowchart of an elevator control method provided in Embodiment 1 of the present invention;
[0028] Figure 2 This is a schematic diagram of a car with goods placed inside, according to Embodiment 1 of the present invention;
[0029] Figure 3 This is a flowchart of an elevator control method provided in Embodiment 2 of the present invention;
[0030] Figure 4 This is a schematic diagram of a first image boundary line provided in Embodiment 2 of the present invention;
[0031] Figure 5 A schematic diagram illustrating the connection relationship between the main control system of an elevator and other equipment, provided in Embodiment 2 of the invention;
[0032] Figure 6 This is a schematic diagram of the structure of a main control system provided in Embodiment 3 of the present invention;
[0033] Figure 7 This is a schematic diagram of the structure of the electronic device provided in Embodiment 4 of the present invention. Detailed Implementation
[0034] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0035] Example 1
[0036] Figure 1 This is a flowchart of an elevator control method provided in Embodiment 1 of the present invention. The elevator control method of this embodiment is applied to the main control system of the elevator and can be applied to the situation of controlling the process of transporting goods by the elevator. The method can be executed by the main control system of the elevator, which can be implemented in hardware and / or software and can be configured in an electronic device.
[0037] In this embodiment, the elevator car is equipped with lights on its bottom and sides. The lights have at least two modes, and in each mode, the color of the bottom and side lights differs at least once. For example, in mode A, the bottom light is blue and the side light is green; in mode B, both the bottom and side lights are blue; and in mode C, the bottom light is entirely blue with some green areas, while the side lights are green. That is, changing the light mode can change the color of the entire bottom and side, or it can change only a specific area. In one example, the interior lights are three-color lights (e.g., red, green, and blue) that can change color, and the lights are evenly distributed around the sides and bottom of the interior.
[0038] like Figure 1 As shown, the elevator control method includes:
[0039] S101. When the elevator receives goods at an external call floor and closes the elevator door, acquire the first image under at least two lighting modes.
[0040] In this embodiment, the main focus is on the situation of goods transportation. The floor to be called can be the floor where the goods are entered into the elevator, or the floor corresponding to the call instruction. The call instruction can be the elevator ride signal received by the call box.
[0041] Specifically, when the elevator is not in operation, the interior lights are off. Upon receiving an external call for the elevator, the interior lights are turned on and maintained. The elevator then proceeds to the called floor and opens its doors. Once the goods are transported into the elevator car and the user leaves, the doors close, and the lighting pattern is changed to obtain a first image under at least two lighting modes. The user can be a forklift or a worker.
[0042] It should be noted that at least one camera is installed inside the elevator car to capture the first image. When there is only one camera, the shooting angle of the first image is fixed at one point; when there are multiple cameras, there are multiple shooting angles for the first image. That is, the first image can be captured at a fixed shooting angle under different lighting modes, or it can be captured at different shooting angles under different lighting modes.
[0043] S102. Determine the cargo area and the current lighting mode of the car based on the first image.
[0044] The first image was taken under different lighting conditions. Under these conditions, the color of the bottom and side lights differs at least once, while the color of the cargo area remains fixed. Therefore, it's equivalent to changing the background color of the cargo area to create a color difference between the cargo area and the background color, thus facilitating the identification of the cargo area. For example... Figure 2 As shown, Figure 2 This is a schematic diagram of a car with goods placed inside, where D represents the bottom area, E represents the side area, and H represents the cargo area. As the lighting mode changes, the color of the light in at least one of the bottom or side areas changes, and the color difference between the cargo area and the bottom or side areas also changes. Therefore, the cargo area can be determined based on the first image. The corresponding cargo area may differ under different lighting modes, so after determining the cargo area, the corresponding lighting mode for the car can also be determined.
[0045] The color of the goods may also be the same as the color of the light in a certain lighting mode. Therefore, setting at least two lighting modes can ensure that the color difference between the goods area and the bottom and side areas can be identified, and avoid the goods area being unable to be identified due to similar colors.
[0046] When determining the cargo area based on the first image, areas with colors different from the bottom and side areas can be considered as candidate cargo areas. If the cargo area is too small, it will hinder detection and recognition. Therefore, the area of all candidate cargo areas in the first image can be calculated, and any candidate cargo area with an area larger than a preset area can be used as the final cargo area. Alternatively, the candidate cargo area with the largest area can be used as the final cargo area. The final cargo area is used to determine whether the cargo has been transported out of the elevator car in subsequent processes. Since the cargo area obtained under different lighting modes may be different, the lighting mode corresponding to the elevator car should also be determined after determining the cargo area. That is, the elevator car should maintain this lighting mode in subsequent processes to detect changes in the cargo area.
[0047] S103. When the elevator arrives at the delivery floor and opens the elevator door, obtain a second image of the interior of the car.
[0048] The delivery floor is the floor from which goods are output, and it is usually a fixed floor. When the elevator arrives at the delivery floor and opens the elevator doors, the goods should be transported out of the car. Therefore, a second image of the interior of the car can be continuously acquired to provide information for subsequent determination of whether the goods have been transported out.
[0049] S104. Determine whether the goods corresponding to the goods area have been shipped out based on the goods area and the second image.
[0050] There is a recognizable color difference between the color of the cargo area and the colors of the bottom and side areas of the car, so the cargo area can be identified. It is then determined whether the cargo area exists in the second image. If yes, the cargo corresponding to the cargo area is determined to be transported out; S105 is executed. If no, it is determined that the cargo corresponding to the cargo area has not been transported out, and the elevator door can remain open.
[0051] S105, Control the elevator doors to close and respond to external calls from other floors.
[0052] When goods are transported out of the designated cargo area, the elevator doors can be closed to reduce unnecessary elevator opening time. When there are outbound calls from other floors, the system can respond promptly to those calls.
[0053] The elevator control method of this invention, when the elevator receives goods at an external call floor and closes the elevator door, acquires a first image under at least two lighting modes. Based on the first image, the goods area and the current lighting mode of the car are determined. By changing different lighting modes, a large color difference can be maintained between the bottom and sides of the car and the goods in the first images acquired under different lighting modes, thus allowing the goods area to be determined based on the first image. The corresponding goods area may be different under different lighting modes, so after determining the goods area, the corresponding lighting mode of the car can also be determined. When the elevator arrives at the delivery floor and opens the elevator door, a second image of the interior of the car is acquired. Based on the goods area and the second image, it is determined whether the goods corresponding to the goods area have been transported out. If the goods may be transported out, by detecting whether the goods area exists in the second image, it can be determined whether the goods corresponding to the goods area have been transported out. After determining that the goods have been transported out, the elevator door is controlled to close and respond to external calls from other floors. The time occupied by closing the elevator door is short, which can reduce unnecessary door opening time and improve the efficiency of elevator use.
[0054] Example 2
[0055] Figure 3 This is a flowchart of an elevator control method provided in Embodiment 2 of the present invention. This embodiment is an optimization based on Embodiment 1 described above, such as... Figure 3 As shown, the elevator control method includes:
[0056] S301. When the elevator receives goods at an external call floor and closes the elevator door, acquire the first image under at least two lighting modes.
[0057] S301 is similar to S101; for details, please refer to S101, which will not be described here.
[0058] S302. For each first image, in the bottom region, determine the first boundary line of the region where the pixel color of the bottom region is different from that of the bottom surface region.
[0059] S303. In the side region, determine the second boundary line of the side region and the region whose pixel color is different from that of the side region.
[0060] That is, a first image is obtained under each lighting mode. For the first image under a lighting mode, the boundary line between the regions with different pixel colors in the bottom and side regions is used as the dividing line between the two regions. Generally, the bottom / side region has fewer light colors. A large number of colors is not conducive to dividing the goods area according to color. For example, the bottom light is all blue, or the bottom light is half blue and half green.
[0061] The process of determining the boundary line, specifically, taking the bottom area as an example, is to take the color difference between adjacent pixels as the boundary pixel point when the color difference between adjacent pixels exceeds the color difference threshold. In a lighting mode, if the light color of the bottom area is different from the color of the goods, then there must be a boundary line between the goods area and the bottom area, that is, multiple boundary pixels can be connected to form the first boundary line.
[0062] The process of determining the second boundary line is similar to that of determining the first boundary line, and will not be described here.
[0063] For example, such as Figure 4 As shown, Figure 4 This is a schematic diagram of a first image boundary line. Figure 4 In the first image shown, cargo H occupies part of the area of the bottom region D and the side region E. First, the first dividing line L1 of the bottom region D and the region with a different pixel color from the bottom region D (i.e., the region where cargo H is located) is determined. Then, the second dividing line L2 of the side region E and the region with a different pixel color from the side region E (i.e., the region where cargo H is located) is determined.
[0064] S304. The area enclosed by the first boundary line and the second boundary line is taken as the candidate area.
[0065] Similarly, as Figure 4 As shown, in each first image, the region enclosed by the first boundary line L1 and the second boundary line L2 is used as the candidate region.
[0066] It should be noted that the goods themselves may have different color areas, resulting in multiple first / second dividing lines. However, the different color areas of the goods themselves are within the goods area. As for the dividing lines, the area enclosed by the outermost first and second dividing lines already includes the entire goods area. Therefore, the different color areas of the goods themselves do not affect the division of the goods area.
[0067] S305, take the largest candidate area in all the first images as the cargo area, and take the corresponding lighting mode as the current lighting mode of the car.
[0068] In the first image captured under different lighting modes, the size of the candidate area may vary. The larger the candidate area, the more cargo area information it represents. Therefore, the candidate area with the largest area can be used as the cargo area, i.e., as the detection target in the subsequent process, in order to more accurately detect changes in the cargo (leaving the car or moving). After determining the cargo area, the lighting mode corresponding to the largest candidate area in all the first images can be used as the current lighting mode of the car.
[0069] That is, in this invention, different lighting modes are set in order to obtain the largest possible candidate area (goods area) for easy observation of the goods. Of course, in addition to different lighting modes, there can also be multiple shooting angles. The first image can also be obtained by shooting from different shooting angles and under different lighting modes. In this way, the shooting angle and lighting mode can be combined to obtain the goods area, thereby maximizing the goods area.
[0070] S306. Obtain the external brightness of the departure floor and the internal brightness of the car.
[0071] Brightness sensors are installed inside the elevator car and outside the elevator doors. In one example, there are at least four brightness sensors inside the elevator car, located on the four vertical sides of the car, and at least two brightness sensors outside the elevator doors, located on both sides of the doors. The brightness outside the car is equal to the average brightness value of the brightness sensors outside the car; the brightness inside the car is equal to the average brightness value of the brightness sensors inside the car.
[0072] S307. Adjust the brightness of the lights inside the car based on the brightness outside and inside the car to make the brightness inside and outside the car consistent.
[0073] When the elevator doors open, there may be strong light outside the car, such as large lights or the sun. These strong lights can cause some areas of the captured images to be overexposed and unable to show details, resulting in image distortion. Therefore, before the elevator reaches the delivery floor, the brightness inside the car is adjusted according to the brightness outside the car to avoid sudden changes in brightness that could affect the recognition effect of the cameras inside the car.
[0074] Specifically, the brightness difference between the outside brightness and the inside brightness of the car is calculated, and then the luminous power of the lights inside the car is adjusted according to the brightness difference, thereby adjusting the brightness of the lights so that the brightness inside the car is consistent with the brightness outside the car.
[0075] S308. When the elevator arrives at the delivery floor and opens the elevator door, obtain a second image of the interior of the car.
[0076] The delivery floor is the floor from which goods are output, and it is usually a fixed floor. When the elevator arrives at the delivery floor and opens the elevator doors, the goods should be transported out of the car. Therefore, a second image of the interior of the car can be continuously acquired to provide information for subsequent determination of whether the goods have been transported out.
[0077] S309. Determine whether the goods corresponding to the goods area have been shipped out based on the goods area and the second image.
[0078] There is a identifiable color difference between the color of the cargo area and the colors of the bottom and side areas of the car, so the cargo area can be identified and tracked to determine whether there is a cargo area in the second image; if so, it is determined that the cargo corresponding to the cargo area has been transported out; S310 is executed; if not, it is determined that the cargo corresponding to the cargo area has not been transported out, and the elevator door can remain open.
[0079] In an optional embodiment, after determining whether the goods corresponding to the goods area have been transported out based on the goods area and the second image, the method further includes: changing the lighting mode of the interior lights of the car, acquiring a third image under each lighting mode, and for each third image under each lighting mode, determining whether the pixel color distribution of the third image is consistent with the pixel color distribution under that lighting mode; if yes, determining that all goods have been transported out; if no, determining whether all goods have been transported out based on the third image.
[0080] To facilitate comparison of pixel color distribution, the interior lighting of the car can be changed to a single color at this time.
[0081] This mainly considers the possibility of stacked goods with potentially different colors. For example, goods include goods A and goods B. Goods B are red and larger, while goods A are green and smaller. From the shooting angle in the first image, goods B is in front of goods A relative to the camera, so only goods B is captured, confirming the goods area as the red area where goods B is located. After goods B is moved, the red area disappears, but goods A remains in the car. At this point, the goods are not completely transported out; it only indicates that the goods corresponding to the previously determined goods area (i.e., the red area where goods B are located) have been transported out. Therefore, to further determine whether goods still exist, it checks whether there are other pixel colors in the third image and judges whether the pixel color distribution in the third image is consistent with the pixel color distribution in this lighting mode. If yes, it is determined that all goods have been transported out; if not, it is determined whether all goods have been transported out based on the third image.
[0082] In one optional embodiment, determining whether all goods have been shipped out based on the third image includes: using pixels with inconsistent color distribution in the third image as marked pixels; determining whether there is a consecutive preset number of marked pixels; if so, determining that not all goods have been shipped out; if not, determining that all goods have been shipped out.
[0083] The preset quantity can be 50. This means that if the pixel color distribution in the third image is inconsistent with the pixel color distribution in the lighting mode, and the inconsistent pixels exceed the preset number, then it is determined that not all goods have been shipped out. Setting the preset number of consecutive pixels takes into account the continuity of the object and avoids inconsistencies between the pixel color distribution in the third image and the pixel color distribution in the lighting mode caused by some irrelevant debris or fragments, thus avoiding interference from other factors.
[0084] In one optional embodiment, the main control system is connected to the alarm system. After determining that the goods corresponding to the goods area have not been shipped out, the system accumulates the duration of the goods not being shipped out; it then determines whether the duration exceeds a preset duration; if so, it controls the alarm system to issue an alarm.
[0085] To illustrate the connection relationship between the elevator's main control system and other devices, such as... Figure 5 As shown, Figure 5 This is a schematic diagram illustrating the connection relationship between the main control system and other equipment of an elevator. Figure 5 In the middle, the main control system 10 is connected to the car interior lighting 20, camera 30, elevator door control system 40, brightness sensor 50 and alarm system 60 respectively.
[0086] S310, Control the elevator doors to close and respond to external calls from other floors.
[0087] When goods are transported out of the designated cargo area, the elevator doors can be closed to reduce unnecessary elevator opening time. When there are outbound calls from other floors, the system can respond promptly to those calls.
[0088] In this embodiment, when determining the cargo area and the car's lighting mode based on the first image, for each first image, in the bottom area, a first boundary line is determined between the bottom area and the area with a pixel color different from the bottom surface area; in the side area, a second boundary line is determined between the side area and the area with a pixel color different from the side surface area; the area enclosed by the first boundary line and the second boundary line is used as a candidate area; the candidate area with the largest area in all the first images is used as the cargo area, and the corresponding lighting mode is used as the current lighting mode of the car. Setting different lighting modes is to obtain the candidate area (cargo area) with the largest area, which can more accurately detect changes in the cargo (leaving the car or moving).
[0089] Example 3
[0090] Figure 6 This is a schematic diagram of the main control system provided in Embodiment 3 of the present invention. The connection relationship between the main control system and other devices is as follows: Figure 5 As shown.
[0091] like Figure 6 As shown, the main control system includes:
[0092] The first image acquisition module 601 is used to acquire a first image under at least two lighting modes when the elevator receives goods and closes the elevator door at an external call floor.
[0093] The cargo area determination module 602 is used to determine the cargo area and the current lighting mode of the car based on the first image;
[0094] The second image acquisition module 603 is used to acquire a second image of the interior of the elevator car when the elevator arrives at the delivery floor and opens the elevator door.
[0095] The cargo dispatch determination module 604 is used to determine whether the cargo corresponding to the cargo area has been dispatched based on the cargo area and the second image; if so, it executes the content executed by the elevator door closing control module.
[0096] The elevator door closing control module 605 is used to control the elevator door to close and respond to external calls from other floors.
[0097] In an optional embodiment, the cargo area determination module 602 includes:
[0098] The first boundary line determination submodule is used to determine, for each of the first images, the first boundary line of the bottom region and the region whose pixel color is different from that of the bottom surface region in the bottom region.
[0099] The second boundary line determination submodule is used to determine the second boundary line of the side region and the region with a pixel color different from that of the side region in the side region.
[0100] The candidate area determination submodule is used to select the area enclosed by the first boundary line and the second boundary line as candidate areas.
[0101] The cargo area determination submodule is used to determine the largest candidate area in all the first images as the cargo area and the corresponding lighting mode as the current lighting mode of the car.
[0102] In one optional embodiment, brightness sensors are installed inside the car and outside the elevator doors. The main control system also includes:
[0103] The car interior and exterior brightness acquisition module is used to acquire the exterior brightness of the delivery floor and the interior brightness of the car.
[0104] The brightness adjustment module is used to adjust the brightness of the lights inside the car based on the external brightness and the internal brightness, so that the brightness inside and outside the car is consistent.
[0105] In an optional embodiment, the goods shipment determination module 604 includes:
[0106] The cargo area retention determination submodule is used to determine whether the cargo area exists in the second image;
[0107] The outgoing determination submodule is used to determine that the goods corresponding to the goods area will be outgoing if the goods area does not exist in the second image.
[0108] The "Not Shipped Out" determination submodule is used to determine that if the cargo area exists in the second image, the cargo corresponding to that cargo area has not been shipped out.
[0109] In an optional embodiment, the main control system is connected to the alarm system, and the main control system further includes:
[0110] The duration detection module is used to accumulate the duration during which goods have not been shipped.
[0111] The duration determination module is used to determine whether the duration exceeds a preset duration;
[0112] An alarm module is used to control the alarm system to issue an alarm if the duration exceeds a preset duration.
[0113] In an optional embodiment, the main control system further includes:
[0114] The third image acquisition module is used to change the lighting mode of the car interior lights and acquire a third image under each lighting mode.
[0115] The image comparison module is used to determine, for each lighting mode, whether the pixel color distribution of the third image is consistent with the pixel color distribution of the lighting mode; if so, execute the corresponding content; if not, execute the content executed by the judgment module.
[0116] The "All Goods Shipped Out" module is used to confirm that all goods have been shipped out.
[0117] The next judgment module is used to determine whether all the goods have been shipped out based on the third image.
[0118] In an optional embodiment, the re-determination module includes:
[0119] The marker pixel determination submodule is used to identify pixels in the third image whose color distribution is inconsistent as marker pixels.
[0120] The marker pixel determination submodule is used to determine whether there is a consecutive preset number of marker pixels;
[0121] The "Goods Not All Shipped" determination submodule is used to determine that not all goods have been shipped if there are a consecutive preset number of the marked pixels.
[0122] The "All Goods Shipped Out" submodule is used to determine that all goods have been shipped out if there is no consecutive preset number of the marked pixels.
[0123] The main control system provided in the embodiments of the present invention can execute the elevator control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0124] Example 4
[0125] Figure 7 A schematic diagram of an electronic device 40 that can be used to implement embodiments 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 processors, cellular phones, smartphones, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0126] like Figure 7 As shown, the electronic device 40 includes at least one processor 41 and a memory, such as a read-only memory (ROM) 42 or a random access memory (RAM) 43, communicatively connected to the at least one processor 41. The memory stores computer programs executable by the at least one processor. The processor 41 can perform various appropriate actions and processes based on the computer program stored in the ROM 42 or loaded into the RAM 43 from storage unit 48. The RAM 43 may also store various programs and data required for the operation of the electronic device 40. The processor 41, ROM 42, and RAM 43 are interconnected via a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0127] Multiple components in electronic device 40 are connected to I / O interface 45, including: input unit 46, such as keyboard, mouse, etc.; output unit 47, such as various types of monitors, speakers, etc.; storage unit 48, such as disk, optical disk, etc.; and communication unit 49, such as network card, modem, wireless transceiver, etc. Communication unit 49 allows electronic device 40 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0128] Processor 41 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 41 performs the various methods and processes described above, such as elevator control methods.
[0129] In some embodiments, the elevator control method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 40 via ROM 42 and / or communication unit 49. When the computer program is loaded into RAM 43 and executed by processor 41, one or more steps of the elevator control method described above may be performed. Alternatively, in other embodiments, processor 41 may be configured to perform the elevator control method by any other suitable means (e.g., by means of firmware).
[0130] Various embodiments of the systems and techniques described above 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), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0131] Computer programs used to implement 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 executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0132] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0133] 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 provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, 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 sound input, voice input, or tactile input).
[0134] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0135] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0136] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0137] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. An elevator control method, characterized by, The application relates to a main control system applied to an elevator, wherein the bottom and the side of an elevator car are provided with light, and the light mode of the light is at least two, and in different light modes, the light color of the bottom and the side is at least different in one place, The elevator control method comprises: When the elevator receives goods at an outer calling floor and closes the door, a first image in at least two light modes is acquired; Based on the first image, a goods area is determined and the current light mode of the car is determined; Wherein, the determination of the goods area and the light mode of the car based on the first image comprises: For each first image, in the bottom area, a first boundary line between the bottom area and an area with a pixel color different from that of the bottom area is determined; In the side area, a second boundary line between the side area and an area with a pixel color different from that of the side area is determined; The area surrounded by the first boundary line and the second boundary line is regarded as a candidate area; The candidate area with the largest area in all the first images is regarded as the goods area, and the corresponding light mode is regarded as the current light mode of the car; Wherein, according to the first image taken in different light modes, the light color of the bottom and the side is at least different in one place; When the elevator arrives at a goods delivery floor and opens the door, a second image of the inside of the car is continuously acquired; Based on the goods area and the second image, it is judged whether the goods corresponding to the goods area are delivered; If yes, the elevator door is controlled to be closed and the outer call of other floors is responded; A brightness sensor is arranged in the inside of the car and outside the door, and after the determination of the goods area and the current light mode of the car based on the first image, the following steps are further included: The brightness outside the car at the goods delivery floor and the brightness inside the car are acquired; Based on the brightness outside the car and the brightness inside the car, the light brightness inside the car is adjusted so as to make the brightness inside and outside the car consistent; wherein, the brightness difference between the brightness outside the car and the brightness inside the car is calculated, the light in the car is controlled to adjust the light emitting power according to the brightness difference, so as to make the brightness inside the car consistent with the brightness outside the car.
2. The elevator control method according to claim 1, characterized by, The judgment of whether the goods corresponding to the goods area are delivered based on the goods area and the second image comprises: It is judged whether the goods area exists in the second image; If yes, it is determined that the goods corresponding to the goods area are delivered; If no, it is determined that the goods corresponding to the goods area are not delivered.
3. The elevator control method according to claim 2, characterized by, The main control system is connected with an alarm system, and after it is determined that the goods corresponding to the goods area are not delivered, The continuous duration that the goods are not delivered is accumulated and detected; It is judged whether the continuous duration exceeds a preset duration; If yes, the alarm system is controlled to send an alarm.
4. The elevator control method according to claim 2, characterized by, After it is determined that the goods corresponding to the goods area are delivered, the following steps are further included: The light mode of the light inside the car is changed, and a third image in each light mode is collected; For the third image in each light mode, it is judged whether the pixel color distribution of the third image is consistent with the pixel color distribution in the light mode; If yes, it is determined that the goods are all delivered; If no, it is determined whether the goods are all delivered based on the third image.
5. The elevator control method according to claim 4, characterized in that, The determination of whether the goods are all delivered based on the third image comprises: The pixel points with inconsistent color distribution in the third image are taken as marked pixel points; It is judged whether there are continuous preset number of marked pixel points; If yes, it is determined that the goods are not all shipped out; If no, it is determined that the goods are all shipped out.
6. A master system characterized by comprising: It comprises: A first image acquisition module is configured to acquire first images under at least two light modes when the elevator receives goods at an outer call floor and closes the door; A goods area determination module is configured to determine a goods area and a current light mode of the car based on the first images; The determination of the goods area and the light mode of the car based on the first images comprises: For each first image, a first boundary line between the bottom area and an area with different pixel color from the bottom area is determined in the bottom area; A second boundary line between the side area and an area with different pixel color from the side area is determined in the side area; An area surrounded by the first boundary line and the second boundary line is taken as a candidate area; The candidate area with the largest area in all the first images is taken as the goods area, and the corresponding light mode is taken as the current light mode of the car; The light color of the bottom and the side is different at least in one place under different light modes according to the first images taken under different light modes; A second image acquisition module is configured to continuously acquire second images inside the car when the elevator arrives at a delivery floor and opens the door; A goods shipment determination module is configured to determine whether the goods corresponding to the goods area are shipped out based on the goods area and the second images; if yes, the content executed by a door closing control module is executed; The door closing control module is configured to control the closing of the elevator door and respond to outer calls from other floors; A brightness sensor is arranged inside the car and outside the door, and the main control system further comprises: An inside-outside brightness acquisition module is configured to acquire a car outside brightness of the delivery floor and a car inside brightness inside the car; A brightness adjustment module is configured to adjust the light brightness inside the car based on the car outside brightness and the car inside brightness to make the inside and outside brightness of the car consistent; wherein the brightness difference between the car outside brightness and the car inside brightness is calculated, and the light inside the car is adjusted in light emitting power according to the brightness difference to make the car inside brightness consistent with the car outside brightness.
7. An electronic device, comprising: The electronic device comprises: At least one processor; and A memory connected in communication with the at least one processor; wherein 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 execute the elevator control method of any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for enabling the processor to execute the elevator control method of any one of claims 1-5 when executed.
Citation Information
Patent Citations
Elevator
JP2017114586A
Image Processing Device, Image Processing Method, and Recording Medium on Which the Program is Recorded
US20080247640A1