Control method, device and storage medium for mobile device entering elevator

Obtaining the crowding degree of the elevator bridge car through image classification technology solves the problem of misjudgment in laser radar scanning in the existing technology, and achieves more accurate judgment of the status of the elevator bridge car and the elevator operation of mobile devices.

CN113283328BActive Publication Date: 2024-10-22KEENON ROBOTICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110544394.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-19
Publication Date
2024-10-22
Estimated Expiration
2041-05-19

AI Technical Summary

Technical Problem

The existing method of detecting the degree of crowding in the elevator cab based on two-dimensional map data scanned by lidar has low accuracy and often causes misjudgments, making it difficult for the robot to accurately determine whether it can enter the elevator.

Method used

By obtaining the target image of the elevator bridge car and determining the degree of congestion based on the image classification label, an image classifier is used to classify the image and determine whether the elevator bridge car is in an enterable state, thereby controlling the mobile device to enter the elevator.

Benefits of technology

It improves the accuracy of the congestion level in the elevator bridge compartment, avoids misjudgments, improves the efficiency of taking the elevator on mobile devices, and ensures more accurate judgment and operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113283328B_ABST
    Figure CN113283328B_ABST
Patent Text Reader

Abstract

The present application discloses a control method, device and storage medium for a mobile device to enter an elevator, which relates to the field of artificial intelligence technology. It can more accurately detect the degree of congestion in an elevator car, and then more accurately determine whether the elevator car is in an accessible state, thereby improving the efficiency of mobile devices in taking elevators. The method includes: when the elevator car is in an open state, obtaining a target image (i.e., an image in the elevator car); then obtaining a classification label corresponding to the target image; wherein the classification label includes at least two categories, and different categories of classification labels represent different degrees of congestion in the elevator car; then, according to the classification label, determining whether the elevator car is in an accessible state; and when it is determined that the elevator car is in an accessible state, controlling the mobile device to enter the elevator car.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of artificial intelligence technology, and in particular to a control method, device and storage medium for a mobile device to enter an elevator. Background Art

[0002] With the rapid development of artificial intelligence technology, robots are being used more and more widely. At present, robots can replace humans to deliver food or transport other items. When the origin and destination of the robot's transported items are not on the same floor, the robot can take the elevator to transport the items.

[0003] Existing robots usually detect the free area in the elevator car based on the two-dimensional map data scanned by the laser radar when taking the elevator, so as to determine whether the elevator car is crowded and whether the robot can take the elevator at this time. However, the above method of detecting the crowdedness of the elevator car based on the two-dimensional map data scanned by the laser radar often results in misjudgment and low detection accuracy. Summary of the invention

[0004] The present application provides a control method, device and storage medium for a mobile device to enter an elevator, which can more accurately detect the degree of congestion in an elevator car.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a method for controlling a mobile device to enter an elevator, comprising: when the elevator car is in an open state, obtaining a target image (i.e., an image inside the elevator car); then obtaining a classification label corresponding to the target image; wherein the classification label includes at least two categories, and classification labels of different categories represent different levels of congestion inside the elevator car; thereafter, determining whether the elevator car is in an accessible state based on the classification label; and when it is determined that the elevator car is in an accessible state, controlling the mobile device to enter the elevator car.

[0007] In the control method for a mobile device to enter an elevator provided in the present application, the degree of congestion of the elevator car in the target image can be determined based on the classification label corresponding to the target image, and whether to control the mobile device to enter the elevator can be determined based on the degree of congestion. Since different types of classification labels can represent elevator cars with different degrees of congestion, based on the classification labels, the degree of congestion in the elevator car can be determined more accurately, avoiding misjudgment, improving the accuracy of detecting the degree of congestion in the elevator car, and then more accurately determining whether the elevator car is in an accessible state, thereby improving the efficiency of mobile devices in taking the elevator.

[0008] Optionally, in a possible design, the above-mentioned “obtaining a classification label corresponding to the target image” may include:

[0009] Call the image classifier to classify the target image and obtain the classification label corresponding to the target image;

[0010] The image classifier is trained based on sample images and classification labels corresponding to the sample images.

[0011] Optionally, in another possible design, the control method for a mobile device to enter an elevator provided in the present application may further include:

[0012] Determine image features in the sample image; the image features include: the number of passengers and / or the remaining space area;

[0013] The image classifier is trained based on the image features and the classification labels corresponding to the sample images.

[0014] Optionally, in another possible design, the classification labels include four categories of labels: empty, lightly crowded, moderately crowded and heavily crowded. The above-mentioned "determining whether the elevator bridge car is in an accessible state based on the classification labels" may include: when the classification label is lightly crowded or empty, determining that the elevator bridge car is in an accessible state.

[0015] Optionally, in another possible design, the above-mentioned “determining whether the elevator bridge car is in an accessible state according to the classification label” may also include:

[0016] When the classification label is moderately crowded, a voice signal is issued; the voice signal is used to prompt passengers in the elevator bridge car to avoid;

[0017] After a first preset time period, reacquire the target image, and obtain a classification label of the reacquired target image;

[0018] When it is determined that the classification label of the re-acquired target image is slightly crowded or empty, it is determined that the elevator bridge car is in an accessible state.

[0019] Optionally, in another possible design, the above-mentioned "obtaining the target image" may include: obtaining the target image based on a preset acquisition frequency; the above-mentioned "determining whether the elevator bridge car is in an accessible state based on the classification label" may include: determining whether the elevator bridge car is in an accessible state when it is determined that the classification labels of at least two target images are of the same category; and at least two target images are continuously acquired target images.

[0020] Optionally, in another possible design, the above-mentioned “controlling the mobile device to enter the elevator bridge car” may include:

[0021] Plan navigation paths for mobile devices based on the scene map of the elevator bridge and the target image;

[0022] The mobile device is controlled to travel to an empty position in the elevator bridge car according to the navigation path.

[0023] Optionally, in another possible design, after the above “when it is determined that the elevator car is in an accessible state”, the control method for a mobile device to enter an elevator provided by the present application may further include:

[0024] Send an entry signal to the elevator bridge; the entry signal is used to indicate that the elevator bridge remains open.

[0025] In a second aspect, the present application provides a control device for moving a mobile device into an elevator, comprising an acquisition module, a determination module and a control module;

[0026] Specifically, the acquisition module is used to acquire a target image when the elevator bridge is in an open state; the target image is an image inside the elevator bridge;

[0027] The acquisition module is further used to acquire the classification label corresponding to the target image; the classification label includes at least two categories, and the classification labels of different categories represent different levels of congestion in the elevator bridge car;

[0028] A determination module, used to determine whether the elevator bridge car is in an accessible state according to the classification label obtained by the acquisition module;

[0029] The control module is used to control the mobile device to enter the elevator bridge car when the determination module determines that the elevator bridge car is in an accessible state.

[0030] Optionally, in a possible design, the acquisition module is specifically used for:

[0031] Call the image classifier to classify the target image and obtain the classification label corresponding to the target image;

[0032] The image classifier is trained based on sample images and classification labels corresponding to the sample images.

[0033] Alternatively, in another possible design,

[0034] The determination module is further used to: determine image features in the sample image; the image features include: the number of passengers and / or the remaining space area;

[0035] The control device for a mobile device entering an elevator provided in the present application further includes a training module, which is used to train an image classifier according to image features and classification labels corresponding to sample images.

[0036] Optionally, in another possible design, the classification labels include four types of labels: no load, light congestion, moderate congestion, and heavy congestion, and the determination module is specifically used to:

[0037] When the classification label is slightly crowded or empty, the elevator bridge is determined to be accessible.

[0038] Optionally, in another possible design, the determination module is specifically used for:

[0039] When the classification label is moderately crowded, a voice signal is issued; the voice signal is used to prompt passengers in the elevator bridge car to avoid;

[0040] After a first preset time period, reacquire the target image, and obtain a classification label of the reacquired target image;

[0041] When it is determined that the classification label of the re-acquired target image is slightly crowded or empty, it is determined that the elevator bridge car is in an accessible state.

[0042] Alternatively, in another possible design,

[0043] The acquisition module is specifically used to: acquire a target image based on a preset acquisition frequency;

[0044] The determination module is specifically used to: determine whether the elevator bridge car is in an accessible state when it is determined that the categories of the classification labels of at least two target images are the same; and the at least two target images are continuously captured target images.

[0045] Optionally, in another possible design, the control module is specifically used for:

[0046] Plan navigation paths for mobile devices based on the scene map of the elevator bridge and the target image;

[0047] The mobile device is controlled to travel to an empty position in the elevator bridge car according to the navigation path.

[0048] Optionally, in another possible design, the control device for a mobile device entering an elevator provided in the present application further includes a sending module for sending an entry signal to the elevator car; the entry signal is used to indicate that the elevator car remains in an open state.

[0049] In a third aspect, the present application provides a control device for a mobile device entering an elevator, comprising a memory, a processor, a bus and a communication interface; the memory is used to store computer execution instructions, and the processor is connected to the memory through a bus; when the control device for the mobile device entering the elevator is running, the processor executes the computer execution instructions stored in the memory, so that the control device for the mobile device entering the elevator executes the control method for the mobile device entering the elevator provided in the first aspect above.

[0050] Optionally, the control device for the mobile device entering the elevator may further include a transceiver, which is used to execute the steps of sending and receiving data, signaling or information, for example, obtaining a target image, under the control of a processor of the control device for the mobile device entering the elevator.

[0051] Further optionally, the control device for the mobile device to enter the elevator may be a physical machine for realizing the control of the mobile device to enter the elevator, or may be a part of the device in the physical machine, for example, it may be a chip system in the physical machine. The chip system is used to support the control device for the mobile device to enter the elevator to realize the functions involved in the first aspect, for example, receiving, sending or processing the data and / or information involved in the control method for the mobile device to enter the elevator. The chip system includes a chip, and may also include other discrete devices or circuit structures.

[0052] Further optionally, the control device for the mobile device to enter the elevator may be the mobile device itself, or a part of the mobile device.

[0053] In a fourth aspect, the present application provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes the control method for a mobile device to enter an elevator as provided in the first aspect.

[0054] In a fifth aspect, the present application provides a computer program product, which includes computer instructions. When the computer instructions are executed on a computer, the computer executes the control method for a mobile device to enter an elevator as provided in the first aspect.

[0055] It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged together with the processor of the control device for the mobile device to enter the elevator, or may be packaged separately from the processor of the control device for the mobile device to enter the elevator, and this application does not limit this.

[0056] The description of the second, third, fourth and fifth aspects in this application can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third, fourth and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.

[0057] In this application, the name of the control device for moving equipment into an elevator does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalent technologies.

[0058] These and other aspects of the present application will become more apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 A schematic diagram of the architecture of a control system for a mobile device entering an elevator provided in an embodiment of the present application;

[0060] Figure 2 A flow chart of a method for controlling a mobile device entering an elevator provided in an embodiment of the present application;

[0061] Figure 3 A flow chart of another method for controlling a mobile device entering an elevator provided in an embodiment of the present application;

[0062] Figure 4 A flowchart of another method for controlling a mobile device entering an elevator provided in an embodiment of the present application;

[0063] Figure 5 A flowchart of another method for controlling a mobile device entering an elevator provided in an embodiment of the present application;

[0064] Figure 6 A flowchart of another method for controlling a mobile device entering an elevator provided in an embodiment of the present application;

[0065] Figure 7 A flowchart of another method for controlling a mobile device entering an elevator provided in an embodiment of the present application;

[0066] Figure 8 A schematic diagram of the structure of a control device for moving a mobile device into an elevator provided in an embodiment of the present application;

[0067] Fig. 9 A schematic diagram of the structure of another control device for moving a mobile device into an elevator provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] The following is a detailed description of the control method, device and storage medium for a mobile device to enter an elevator provided in an embodiment of the present application in conjunction with the accompanying drawings.

[0069] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0070] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0071] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application 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 limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0072] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0073] In the description of the present application, unless otherwise specified, “plurality” means two or more.

[0074] With the rapid development of artificial intelligence technology, robots are being used more and more widely. At present, robots can replace humans to deliver food or transport other items. When the origin and destination of the robot's transported items are not on the same floor, the robot can take the elevator to transport the items.

[0075] Existing robots usually detect the free area in the elevator car based on the two-dimensional map data scanned by the laser radar when taking the elevator, so as to determine whether the elevator car is crowded and whether the robot can take the elevator at this time. However, the above method of detecting the crowdedness of the elevator car based on the two-dimensional map data scanned by the laser radar often results in misjudgment and low detection accuracy.

[0076] In response to the problems existing in the above-mentioned prior art, the embodiments of the present application provide a control method, device and storage medium for a mobile device to enter an elevator. The scheme determines the degree of congestion in the elevator bridge car in the target image based on the classification label corresponding to the target image, and determines whether to control the mobile device to enter the elevator according to the degree of congestion. The scheme can more accurately determine the degree of congestion in the elevator bridge car, avoid misjudgment, and improve the accuracy of detecting the degree of congestion in the elevator bridge car.

[0077] The control method for a mobile device entering an elevator provided in the embodiment of the present application can be applied to a control device for a mobile device entering an elevator. In a possible implementation, the control device for a mobile device entering an elevator can be a mobile device body or a chip system in the mobile device.

[0078] Exemplarily, in a possible implementation, a collection device is provided on the mobile device, and the collection device obtains the target image when the elevator bridge is in an open state, and then obtains the classification label corresponding to the target image, and determines whether the elevator bridge is in an accessible state according to the classification label; then, when it is determined that the elevator bridge is in an accessible state, the mobile device enters the elevator bridge. It is understandable that after the elevator reaches the target floor, there may be a flow of people, and collecting the target image when the elevator bridge is in an open state can be more accurate than collecting it before it is opened.

[0079] In another possible implementation, the acquisition device may also be a device for acquiring images, such as a camera installed inside the elevator bridge. Of course, in actual applications, the acquisition device may also be an acquisition device deployed at other locations, such as an acquisition device in a corridor. The present application embodiment does not limit this, and it only needs to be able to acquire images inside the elevator bridge.

[0080] Preferably, the acquisition device is arranged on the mobile device, and the control device for the mobile device to enter the elevator is a chip system in the mobile device. The acquisition device is connected to the control device for the mobile device to enter the elevator by wired communication, and the collected target image is transmitted to the chip system for processing. The acquisition device is arranged on the mobile device, and the image in the elevator bridge car collected by the acquisition device at the target floor is the target image. The amount of data collected is small, and the wired communication connection can make the data transmission more stable, avoiding the signal instability caused by too many smart terminal devices nearby, and improving the reliability.

[0081] In another possible implementation, the control device for the mobile device to enter the elevator may also be a server that is in communication with the mobile device. Figure 1 , provides a control system for moving equipment into an elevator. Figure 1 As shown, the control system for a mobile device to enter an elevator includes a server 01 and at least one mobile device 02. The server 01 is connected to each mobile device 02.

[0082] The server 01 is used to obtain the target image captured by the mobile device 02, and obtain the classification label corresponding to the target image, and then determine whether the elevator bridge car is in an accessible state according to the classification label; then, when it is determined that the elevator bridge car is in an accessible state, the mobile device 02 is controlled to enter the elevator bridge car.

[0083] It is understandable that in Figure 1 In the control system for mobile devices entering the elevator shown, the server 01 may perform the same processing on each mobile device 02. In the following description of the embodiment of the present application, the processing of a mobile device 02 by the server 01 is described as an example.

[0084] The mobile device may be a robot. Of course, in practical applications, the mobile device may also be other mobile artificial intelligence devices. Preferably, the mobile device is a robot, and the robot often needs to take an elevator when delivering food or transporting other items across floors. Therefore, the control method for a mobile device entering an elevator disclosed in the present application is particularly suitable for a robot taking an elevator, and can greatly improve the robot's elevator efficiency.

[0085] The following is an explanation of the control method for a mobile device entering an elevator provided in the present application.

[0086] Reference Figure 2 The control method for a mobile device to enter an elevator provided in an embodiment of the present application includes S201-S204:

[0087] S201. A control device for moving a mobile device into an elevator acquires a target image when the elevator bridge is in an open state.

[0088] Among them, the target image is the image inside the elevator bridge car.

[0089] S202: The control device for moving the equipment into the elevator obtains a classification label corresponding to the target image.

[0090] The classification labels include at least two categories, and classification labels of different categories represent different levels of congestion in the elevator car.

[0091] Optionally, in a possible implementation, the control device for moving the mobile device into the elevator can call an image classifier to classify the target image and obtain a classification label corresponding to the target image. The image classifier can be trained based on sample images and classification labels corresponding to the sample images.

[0092] Optionally, in a possible implementation, the control device for moving the mobile device into the elevator can determine image features in the sample image; and then train an image classifier based on the image features and classification labels corresponding to the sample image.

[0093] The image features include: the number of passengers and / or the remaining space area. The number of passengers and / or the remaining space area can be obtained according to the feature extraction method in the existing image processing, and the embodiments of the present application will not be described in detail here.

[0094] Exemplarily, an embodiment of the present application provides a method for training an image classifier based on sample images and classification labels corresponding to the sample images. First, a control device for a mobile device entering an elevator can obtain 1,000 sample images collected by the mobile device at the elevator entrances of different types of elevators. The actual sizes of different types of elevators may be different. Afterwards, the 1,000 collected sample images can be manually annotated. During the annotation process, a classification label can be attached to each sample image based on the number of passengers in the sample image and the actual size of the elevator. When using manual annotation, annotation can be performed based on prior data, and the model has a strong generalization ability, which further improves the accuracy, thereby improving the working efficiency of the mobile device in this scenario, and more efficiently solving the task of entering and exiting the elevator.

[0095] Of course, in practical applications, other methods can be used to label the sample images, which is not limited in the present application. For example, a labeling device can be used to label the sample images with electronic classification labels.

[0096] It is understandable that in practical applications, other numbers of sample images may be obtained, and the present application embodiment does not limit this. For example, the control device for moving a mobile device into an elevator may also obtain 500 sample images collected by the mobile device at the elevator entrances of different types of elevators.

[0097] In a possible implementation, the 1000 sample images collected can be labeled with two categories, namely, crowded bridge or uncrowded bridge. Exemplarily, taking an elevator bridge with a width, length, and height of 1.5 meters, 2.7 meters, and 2.3 meters as an example, when the number of passengers in the sample image is greater than or equal to the preset number, the sample image can be labeled with a crowded bridge, and when the number of passengers in the sample image is less than the preset number, the sample image can be labeled with an uncrowded bridge. The preset number can be a number determined in advance, for example, the preset number can be 6 people. When the size of the elevator bridge is smaller than the elevator bridge with a width, length, and height of 1.5 meters, 2.7 meters, and 2.3 meters, the preset number can be less than 6 people, and when the size of the elevator bridge is larger than the elevator bridge with a width, length, and height of 1.5 meters, 2.7 meters, and 2.3 meters, the preset number can be greater than 6 people. For example, taking an elevator bridge with a width, length, and height of 1.4m, 2.4m, and 2.3m as an example, when the number of passengers in the sample image is greater than or equal to 5, the sample image can be labeled as a crowded bridge, and when the number of passengers in the sample image is less than 5, the sample image can be labeled as an uncrowded bridge. For another example, taking an elevator bridge with a width, length, and height of 1.8m, 2.7m, and 2.3m as an example, when the number of passengers in the sample image is greater than or equal to 7, the sample image can be labeled as a crowded bridge, and when the number of passengers in the sample image is less than 7, the sample image can be labeled as an uncrowded bridge.

[0098] It can be understood that the sizes of the elevator bridge car in the above examples are the sizes of several commonly used elevator bridge cars. In actual applications, the sizes of the elevator bridge car can also be other sizes, and the preset number can be determined based on the sizes of the elevator bridge car in the actual application scenario.

[0099] In another possible implementation, the 1000 sample images collected can be labeled with four categories: empty, lightly crowded, moderately crowded, or heavily crowded. For example, taking an elevator bridge with a width, length, and height of 1.5 meters, 2.7 meters, and 2.3 meters as an example, when the number of passengers in the sample image is less than or equal to the first threshold, the sample image can be labeled with an empty classification label; when the number of passengers in the sample image is greater than the first threshold and less than the second threshold, the sample image can be labeled with a lightly crowded classification label; when the number of passengers in the sample image is greater than or equal to the second threshold and less than the third threshold, the sample image can be labeled with a moderately crowded classification label; when the number of passengers in the sample image is greater than or equal to the third threshold, the sample image can be labeled with a heavily crowded classification label.

[0100] Among them, the first threshold, the second threshold and the third threshold may be predetermined thresholds, for example, the first threshold may be 0 people, the second threshold may be 5 people, and the third threshold may be 10 people. It is understandable that in actual applications, the size of the elevator bridge car may also be other sizes, and the first threshold, the second threshold and the third threshold may be determined according to the size of the elevator bridge car in the actual application scenario, and the embodiments of the present application are not limited to this.

[0101] Of course, in practical applications, the sample images may be classified into other categories, which are not limited in the present application. For example, the 1000 sample images collected may be labeled with three categories: lightly crowded, moderately crowded, or heavily crowded.

[0102] It is understandable that, in practical applications, the sample images may be labeled with classification labels based on other methods, which are not limited in the embodiments of the present application. For example, the sample images may be labeled with classification labels based on the remaining space area in the elevator bridge. Alternatively, the sample images may be labeled with classification labels based on the maximum continuous remaining space area in the elevator bridge.

[0103] The maximum continuous residual space area may be a continuous region with the largest area in the residual space area of ​​the sample image.

[0104] In a possible implementation, sample images may be labeled with two categories, namely, crowded bridge or uncrowded bridge, based on the maximum continuous remaining space area in the elevator bridge. By labeling sample images based on the maximum continuous remaining space area, the degree of crowding in the elevator bridge can be evaluated more accurately. Furthermore, it can be more accurately determined whether the elevator bridge is in an accessible state, thereby further improving the efficiency of mobile devices in taking elevators. Exemplarily, when the maximum continuous remaining space area in the elevator bridge in the sample image is greater than or equal to the first preset area, the sample image may be labeled with a crowded bridge, and when the maximum continuous remaining space area in the elevator bridge in the sample image is less than the first preset area, the sample image may be labeled with a uncrowded bridge. The first preset area may be determined in advance based on the size of the mobile device, for example, the first preset area may be the size of the base of the mobile device.

[0105] In another possible implementation, the sample image may be labeled with four categories of no-load, lightly crowded, moderately crowded, or heavily crowded based on the maximum continuous remaining space area in the elevator car. Exemplarily, when the maximum continuous remaining space area in the elevator car in the sample image is greater than or equal to the second preset area, the sample image may be labeled with no-load; when the maximum continuous remaining space area in the elevator car in the sample image is greater than or equal to the third preset area and less than the second preset area, the sample image may be labeled with lightly crowded; when the maximum continuous remaining space area in the elevator car in the sample image is greater than or equal to the fourth preset area and less than the third preset area, the sample image may be labeled with moderately crowded; when the maximum continuous remaining space area in the elevator car in the sample image is less than the fourth preset area, the sample image may be labeled with heavily crowded.

[0106] The second preset area, the third preset area, and the fourth preset area may be determined in advance according to the size of the mobile device and the size of the elevator bridge. For example, the second preset area may be determined according to the length*width of the elevator bridge, and the third preset area may be the size of the base of the mobile device. The second preset area is larger than the third preset area, and the third preset area is larger than the fourth preset area.

[0107] Of course, in practical applications, a variety of image features can also be combined to label the sample images. For example, the sample images can be labeled with four categories: empty, slightly crowded, moderately crowded, or heavily crowded, based on the maximum continuous remaining space area in the elevator car and the number of passengers in the sample image.

[0108] Specifically, when the maximum continuous remaining space area in the elevator car in the sample image is greater than or equal to the second preset area, and the number of passengers in the sample image is less than or equal to the first threshold, the sample image can be labeled as empty. When the sample image meets any one of conditions 1, 2 or 3, the sample image is labeled as slightly crowded. Condition 1 is: the number of passengers in the sample image is greater than the first threshold and less than the second threshold, and the maximum continuous remaining space area in the elevator car in the sample image is greater than or equal to the second preset area. Condition 2 is: the number of passengers in the sample image is less than or equal to the first threshold, and the maximum continuous remaining space area in the elevator car in the sample image is greater than or equal to the third preset area and less than the second preset area. Condition 3 is: the maximum continuous remaining space area in the elevator car in the sample image is greater than or equal to the third preset area and less than the second preset area; the number of passengers in the sample image is greater than the first threshold and less than the second threshold. When the maximum continuous remaining space area in the elevator car in the sample image is less than the fourth preset area and the number of passengers in the sample image is greater than or equal to the third threshold, the sample image can be labeled as heavily crowded. In other cases, the sample image is labeled as moderately crowded. When labeling the sample image based on the maximum continuous remaining space area in the elevator bridge and the number of passengers in the sample image, the impact of the number of people and space can be fully considered, further improving the accuracy of the classification label, thereby improving the accuracy of subsequent crowding judgment and the efficiency of taking the elevator.

[0109] After the sample image is labeled with a classification label, the sample image and the classification label of the sample image can be input into a preset deep learning model to obtain an image classifier in an embodiment of the present application.

[0110] Among them, the preset deep learning model can be a predetermined training model. Since the residual network ResNet-18 is easier to optimize when applied to deep learning model training, the accuracy of the deep learning model can be improved by increasing the depth, and the degradation problem caused by the increase of network depth in other networks can be avoided. At the same time, in the application scenario of elevator bridge congestion detection, for mobile devices, the degree of congestion and whether it can enter may not only depend on the number of passengers, and ResNet-18 can learn deeper information in the picture because of its deep enough depth, while reducing information loss, so it can better distinguish the degree of congestion in the elevator bridge. And ResNet-18 can simplify the learning objectives and difficulty, reduce the computing load during training, and is therefore suitable for processing a large number of images in the elevator bridge. Therefore, optionally, in the embodiment of the present application, a deep learning model based on the residual network ResNet-18 can be selected to train the sample image and the classification label corresponding to the sample image to obtain an image classifier with a higher classification accuracy. Of course, in practical applications, other types of deep learning models can also be selected, and the embodiment of the present application is not limited to this.

[0111] In order to further improve the detection accuracy of the crowdedness in the elevator bridge, the image classifier can be optimized regularly. For example, when the number of target images input to the image classifier increases by 1,000, the 1,000 target images and the classification labels obtained by the image classifier from classifying the 1,000 target images can be used as new samples, and re-input into the preset deep learning model for training together with the initial 1,000 sample images and the classification labels corresponding to the sample images to obtain an optimized image classifier.

[0112] Of course, in practical applications, other methods may be used to optimize the image classifier, and the embodiments of the present application do not limit this.

[0113] S203. The control device for moving the equipment into the elevator determines whether the elevator bridge car is in an accessible state according to the classification label.

[0114] Optionally, in a possible implementation, when the classification label includes two types of labels: crowded bridge car and uncrowded bridge car, the control device for moving equipment into the elevator can determine that the elevator bridge car is in an accessible state when the classification label is determined to be uncrowded bridge car. Correspondingly, when the control device for moving equipment into the elevator determines that the classification label is crowded bridge car, it can determine that the elevator bridge car is in an inaccessible state.

[0115] Optionally, in a possible implementation, when the classification labels include four categories of labels: empty, lightly crowded, moderately crowded and heavily crowded, the control device for moving the mobile device into the elevator determines that the elevator bridge car is in an accessible state when it determines that the classification label is lightly crowded or empty.

[0116] When the sample images are labeled with classification labels by using the influencing factor including the maximum continuous remaining space area in the elevator car, the passengers in the elevator car may be too dispersed, resulting in the maximum continuous remaining space area in the target image being too small. At this time, if the passengers in the elevator car move to a relatively concentrated state, the maximum continuous remaining space area in the elevator car will increase. Therefore, optionally, when the classification label is moderately crowded, the control device for the mobile device to enter the elevator can send a voice signal, which is used to prompt the passengers in the elevator car to avoid; after the first preset time, the control device for the mobile device to enter the elevator can re-acquire the target image and obtain the classification label of the re-acquired target image; then, when it is determined that the classification label corresponding to the re-acquired image in the elevator car is slightly crowded or unloaded, the elevator car is determined to be in an accessible state. By setting the prompt of the voice signal and the first preset time, it is possible to more accurately judge whether the elevator car can accommodate the mobile device and improve the utilization rate of the space in the elevator car.

[0117] The first preset duration is a predetermined duration, which is not limited in the present embodiment. For example, the first preset duration may be 2 seconds.

[0118] S204. The control device for moving equipment into the elevator controls the moving equipment to enter the elevator bridge compartment when determining that the elevator bridge compartment is in an accessible state.

[0119] Since other passengers may enter and exit the elevator when the elevator car is open, the target images collected by the control device for the mobile device entering the elevator at different times during this period may be different. Therefore, optionally, in order to avoid the unstable result that the accessible state of the elevator car is determined when passengers enter and exit the elevator, and to further improve the accuracy of the control device for the mobile device entering the elevator in detecting the degree of crowding in the elevator, the control device for the mobile device entering the elevator can obtain the target image based on a preset acquisition frequency, and determine whether the elevator car is in an accessible state when it is determined that the classification labels of at least two target images are of the same category. In this way, when the classification labels of at least two target images are of the same category, it indicates that the number of passengers in the elevator car is in a stable state, and the degree of crowding in the elevator car can be accurately determined.

[0120] Among them, at least two target images are continuously captured target images. The preset capture frequency may be a pre-determined capture frequency. Exemplarily, the preset capture frequency may be 3 captures per second. In addition, in order to further improve the stability of the control device for the mobile device entering the elevator in detecting the degree of crowding in the elevator, the control device for the mobile device entering the elevator may control the mobile device to enter the elevator bridge when it is determined that the classification labels of many consecutive target images are of the same category. For example, the control device for the mobile device entering the elevator may control the mobile device to enter the elevator bridge when it is determined that the classification labels of 5 consecutive target images are of the same category.

[0121] Optionally, in another possible implementation, when the control device for the mobile device to enter the elevator determines that the elevator car is in an accessible state, the control device can plan a navigation path for the mobile device according to the scene map and target image of the elevator car, and then control the mobile device to travel to an empty position in the elevator car according to the navigation path. In this way, the remaining space in the elevator car can be fully utilized, and the mobile device can quickly reach the stop point.

[0122] The idle position may be determined according to the remaining area in the target image, and the position corresponding to the area where the maximum continuous remaining space area in the target image is located may be determined as the idle position.

[0123] It takes a certain amount of time for a mobile device to enter the elevator. In order to ensure that the mobile device can stably enter the elevator when the elevator bridge is in an open state, the control device for the mobile device to enter the elevator can send an entry signal to the elevator bridge to instruct the elevator bridge to remain open when it determines that the elevator bridge is in an enterable state, and then control the mobile device to enter the elevator bridge.

[0124] It can be understood that the control device for the mobile device entering the elevator sends an entry signal to the elevator car to instruct the elevator car to remain open, which does not conflict with the original control protocol of the elevator. When the elevator receives the entry signal, it opens or keeps the elevator car door open, and after the mobile device enters the elevator car, the elevator car door closes.

[0125] In the control method for a mobile device to enter an elevator provided in an embodiment of the present application, the degree of congestion of the elevator bridge in the target image can be determined based on the classification label corresponding to the target image, and whether to control the mobile device to enter the elevator can be determined based on the degree of congestion. Since different types of classification labels can represent elevator bridges with different degrees of congestion, the degree of congestion in the elevator bridge can be determined more accurately based on the classification labels, which can avoid misjudgment and improve the accuracy of detecting the degree of congestion in the elevator bridge.

[0126] Based on the above description, Figure 3 As shown, Figure 2Step S202 in can be replaced by S2021:

[0127] S2021. The control device for moving the mobile device into the elevator calls an image classifier to classify the target image and obtain a classification label corresponding to the target image.

[0128] Optional, such as Figure 4 As shown, Figure 2 Step S203 in can be replaced by S2031:

[0129] S2031. The control device for moving the equipment into the elevator determines that the elevator bridge car is in an accessible state when the classification label is that the bridge car is not crowded.

[0130] Optional, such as Figure 5 As shown, Figure 2 Step S203 in can be replaced by S2032:

[0131] S2032. The control device for moving the equipment into the elevator determines that the elevator bridge car is in an accessible state when the classification label is slightly crowded or unloaded.

[0132] Optional, such as Figure 6 As shown, Figure 2 Step S203 in can be replaced by S2033-S2035:

[0133] S2033. The control device for moving the equipment into the elevator sends a voice signal when the classification label is medium congestion.

[0134] S2034: The control device for moving the mobile device into the elevator reacquires the target image after the first preset time period, and obtains a classification label of the reacquired target image.

[0135] S2035. The control device for moving the mobile device into the elevator determines that the elevator bridge car is in an accessible state when it determines that the classification label corresponding to the re-acquired image inside the elevator car is slightly crowded or unloaded.

[0136] Optional, such as Figure 7 As shown, Figure 2 Step S204 in can be replaced by S2041-S2044:

[0137] S2041. The control device for moving the mobile device into the elevator determines that the classification labels of at least two target images are of the same category when determining that the elevator car is in an accessible state.

[0138] S2042. The control device for the mobile device to enter the elevator plans a navigation path for the mobile device according to the scene map of the elevator bridge and the target image.

[0139] S2043. The control device for moving the equipment into the elevator sends an entry signal to the elevator bridge car.

[0140] S2044. The control device for the mobile device to enter the elevator controls the mobile device to move to an empty position in the elevator bridge compartment according to the navigation path.

[0141] It is understandable that the embodiment of the present application does not limit the sequence of steps S2041 - S2043.

[0142] like Figure 8 As shown, the embodiment of the present application also provides a control device for moving a mobile device into an elevator. The control device for moving a mobile device into an elevator can be the control device of the above embodiment. Figure 1 The server 01 in the control system of the mobile device entering the elevator involved may also be the mobile device body. The control device for the mobile device entering the elevator comprises: an acquisition module 11, a determination module 12 and a control module 13;

[0143] The acquisition module 11 executes S201 and S202 in the above method embodiment, the determination module 12 executes S203 in the above method embodiment, and the control module 13 executes S204 in the above method embodiment.

[0144] Specifically, the acquisition module 11 is used to acquire a target image when the elevator bridge is in an open state; the target image is an image inside the elevator bridge;

[0145] The acquisition module 11 is also used to acquire the classification label corresponding to the target image; the classification label includes at least two categories, and the classification labels of different categories represent different levels of congestion in the elevator bridge car;

[0146] A determination module 12 is used to determine whether the elevator bridge car is in an accessible state according to the classification label obtained by the acquisition module 11;

[0147] The control module 13 is used to control the mobile device to enter the elevator bridge car when the determination module 12 determines that the elevator bridge car is in an accessible state.

[0148] Optionally, in a possible implementation, the acquisition module 11 is specifically used for:

[0149] Call the image classifier to classify the target image and obtain the classification label corresponding to the target image;

[0150] The image classifier is trained based on sample images and classification labels corresponding to the sample images.

[0151] Optionally, in another possible implementation, the classification labels include two types of labels: a crowded bridge compartment and an uncrowded bridge compartment, and the determination module 12 is specifically configured to:

[0152] When the classification label is that the elevator car is not crowded, it is determined that the elevator car is accessible.

[0153] Optionally, in another possible implementation, the determination module 12 is further used to: determine image features in the sample image; the image features include: the number of passengers and / or the remaining space area;

[0154] The control device for a mobile device entering an elevator provided in an embodiment of the present application further includes a training module, which is used to train an image classifier according to image features and classification labels corresponding to sample images.

[0155] Optionally, in another possible implementation, the determining module 12 is specifically configured to:

[0156] When the classification label is moderately crowded, a voice signal is issued; the voice signal is used to prompt passengers in the elevator bridge car to avoid;

[0157] After a first preset time period, reacquire the target image, and obtain a classification label of the reacquired target image;

[0158] When it is determined that the classification label of the re-acquired target image is slightly crowded or empty, it is determined that the elevator bridge car is in an accessible state.

[0159] Optionally, in another possible implementation,

[0160] The acquisition module 11 is specifically used to: acquire a target image based on a preset acquisition frequency;

[0161] The determination module 12 is specifically used to: determine whether the elevator bridge car is in an accessible state when it is determined that the classification labels of at least two target images are of the same category; and the at least two target images are continuously captured target images.

[0162] Optionally, in another possible implementation, the control module 13 is specifically configured to:

[0163] Plan navigation paths for mobile devices based on the scene map and target image of the elevator bridge;

[0164] The mobile device is controlled to travel to an empty position in the elevator bridge car according to the navigation path.

[0165] Optionally, in another possible implementation, the control device for a mobile device entering an elevator provided in an embodiment of the present application further includes a sending module for sending an entry signal to the elevator car; the entry signal is used to indicate that the elevator car remains in an open state.

[0166] Optionally, the control device for moving a mobile device into an elevator may further include a storage module, and the storage module is used to store program codes and the like of the control device for moving a mobile device into an elevator.

[0167] like Fig. 9 As shown, an embodiment of the present application also provides a control device for a mobile device entering an elevator, including a memory 41, a processor 42, a bus 43 and a communication interface 44; the memory 41 is used to store computer execution instructions, and the processor 42 is connected to the memory 41 through the bus 43; when the control device for the mobile device entering the elevator is running, the processor 42 executes the computer execution instructions stored in the memory 41, so that the control device for the mobile device entering the elevator executes the control method for the mobile device entering the elevator provided in the above embodiment.

[0168] In a specific implementation, as an embodiment, the processor 42 (42-1 and 42-2) may include one or more central processing units (CPUs), such as Fig. 9 As an embodiment, the control device for moving the mobile device into the elevator may include multiple processors 42, such as Fig. 9 42-1 and processor 42-2 are shown in FIG. Each CPU in these processors 42 may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor 42 here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0169] The memory 41 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 41 may exist independently and be connected to the processor 42 via a bus 43. The memory 41 may also be integrated with the processor 42.

[0170] In a specific implementation, the memory 41 is used to store the data in the present application and the computer execution instructions corresponding to the software program for executing the present application. The processor 42 can move the various functions of the control device of the elevator by running or executing the software program stored in the memory 41 and calling the data stored in the memory 41.

[0171] The communication interface 44 uses any transceiver or other device for communicating with other devices or communication networks, such as a control system, a radio access network (RAN), a wireless local area network (WLAN), etc. The communication interface 44 may include a receiving unit to implement a receiving function, and a sending unit to implement a sending function.

[0172] The bus 43 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus 43 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0173] As an example, combining Figure 8 , the functions implemented by the acquisition module in the control device for moving the mobile device into the elevator are similar to Fig. 9 The receiving unit in the elevator has the same function as the control unit in the elevator, and the determining module in the elevator has the same function as the control unit in the elevator. Fig. 9 The functions implemented by the processor in the elevator are the same as those implemented by the storage module in the control device for moving the device into the elevator. Fig. 9 The memory in implements the same function.

[0174] The explanation of the relevant contents in this embodiment can refer to the above method embodiment, which will not be repeated here.

[0175] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0176] The embodiment of the present application further provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes the control method for a mobile device to enter an elevator provided in the above embodiment.

[0177] Among them, the computer-readable storage medium, for example, can be but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, RAM, ROM, an erasable programmable read only memory (EPROM), a register, a hard disk, an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the above, or any other form of computer-readable storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In an embodiment of the present application, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, device or device.

[0178] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A control method for moving a mobile device into an elevator, characterized in that: include: When the elevator bridge is in an open state, acquiring a target image; The target image is an image inside the elevator bridge; Calling an image classifier to classify the target image and obtain a classification label corresponding to the target image; the classification label includes at least two categories, and the classification labels of different categories represent different degrees of congestion in the elevator car; wherein the image classifier is obtained in the following manner: determining image features in a sample image, and training the image classifier according to the image features and the classification labels corresponding to the sample image; the image features include at least a maximum continuous residual space area, and the maximum continuous residual space area is a continuous area with the largest area in the residual space area of ​​the sample image; the image classifier is trained using a deep learning model based on a residual network ResNet-18, and the image classifier is optimized based on the number of input target images; Determining whether the elevator car is in an accessible state according to the classification label corresponding to the target image; When it is determined that the elevator bridge car is in the accessible state, controlling the mobile device to enter the elevator bridge car; The classification labels include four categories of labels: no load, lightly crowded, moderately crowded, and heavily crowded; and determining whether the elevator bridge car is in an accessible state according to the classification label corresponding to the target image includes: When the classification label corresponding to the target image is slightly crowded or empty, determining that the elevator bridge car is in an accessible state; When the classification label corresponding to the target image is moderately crowded, a voice signal is issued; the voice signal is used to prompt passengers in the elevator car to give way; after a first preset time period, the target image is reacquired, and the classification label of the reacquired target image is acquired; when it is determined that the classification label of the reacquired target image is slightly crowded or unloaded, the elevator car is determined to be accessible.

2. The method according to claim 1, characterized in that The image features also include: the number of passengers and / or the remaining space area.

3. The method according to claim 1, characterized in that The acquiring the target image comprises: acquiring the target image based on a preset acquisition frequency; Determining whether the elevator car is in an accessible state based on the classification label corresponding to the target image includes: determining whether the elevator car is in an accessible state when it is determined that the classification labels of at least two of the target images are of the same category; and the at least two target images are continuously captured target images.

4. The method according to claim 1, characterized in that: The controlling the mobile device to enter the elevator bridge car comprises: Planning a navigation path for the mobile device according to the scene map of the elevator bridge and the target image; The mobile device is controlled to travel to an idle position in the elevator bridge car according to the navigation path.

5. The method according to any one of claims 1 to 4, characterized in that: After determining that the elevator bridge car is in the accessible state, the method comprises: A car entry signal is sent to the elevator car; the car entry signal is used to instruct the elevator car to maintain the open state.

6. A control device for moving a mobile device into an elevator, characterized in that: It includes a memory, a processor, a bus and a communication interface; the memory is used to store computer-executable instructions, and the processor is connected to the memory via the bus; When the control device for the mobile device to enter the elevator is running, the processor executes the computer-executable instructions stored in the memory, so that the control device for the mobile device to enter the elevator executes the control method for the mobile device to enter the elevator according to any one of claims 1-5.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when a computer executes the instructions, the computer executes the method for controlling a mobile device to enter an elevator as described in any one of claims 1 to 5.