Elevator discharging method, device, terminal and storage medium in multi-robot elevator taking system
1. A method for going out of a multi-robot elevator taking system is applied to a robot which enters an elevator, and is characterized by comprising the following steps:
the method comprises the steps of obtaining the current floor of an elevator in real time, and judging whether the elevator reaches a target floor;
when the elevator reaches a target floor, detecting and judging whether the elevator is opened in place, and switching the elevator taking state of the robot to an 'elevator out' state;
when the fact that the elevator is opened in place is detected, the robot starts to move out of the elevator;
and detecting and judging whether the robot goes out of the elevator in real time, if so, switching the elevator taking state of the robot to 'finished' and sending a door closing signal to the elevator.
2. The escalator exit method in a multi-robot escalator ride system according to claim 1, wherein said step of starting the escalator exit movement of said robot comprises the steps of:
the robot circularly detects whether the current space meets the elevator exit condition; and if the result is negative, stopping the robot from going out of the elevator.
3. The escalator exit method in a multi-robot escalator ride system according to claim 1, wherein said step of starting the escalator exit movement of said robot comprises the steps of:
recording the elevator-taking state of the robot as the elevator-taking time length of the elevator-taking state;
and judging whether the elevator leaving time length exceeds a preset time length threshold value, if so, giving up the elevator leaving motion by the robot.
4. The escalator exit method in a multi-robot escalator ride system according to claim 1, further comprising the steps of, after said robot starts to perform escalator exit movement:
detecting and judging whether the current floor of the elevator is a target floor expected by the robot, and if not, detecting whether the robot exits the elevator;
and when the robot does not exit, canceling the exiting motion of the robot, re-registering the target floor of the elevator, and switching the elevator taking state to be in the elevator taking state.
5. A method for going out of a multi-robot elevator taking system is applied to an elevator and is characterized by comprising the following steps:
when the elevator arrives at a floor, detecting whether the elevator taking state of the robot taking the elevator is 'in the process of going out of the elevator' in real time, and if so, keeping the door opening state of the elevator;
when the elevator detects that the elevator-taking state of the riding robot is switched to 'ended', the registration of the robot out of the elevator is deleted in the robot registration list of the elevator.
6. The boarding method in the multi-robot boarding system according to claim 5, further comprising the steps of:
the elevator records the elevator-taking time length of the robot, wherein the elevator-taking state of the robot is maintained in the elevator-taking process;
and judging whether the elevator leaving time exceeds a preset threshold value, and if so, cancelling the maintenance of the door opening state of the elevator.
7. An elevator exit device in a multi-robot elevator taking system, which is applied to a robot entering an elevator, and is characterized by comprising:
the target floor judging module is used for acquiring the current floor of the elevator in real time and judging whether the elevator reaches the target floor;
the elevator taking state switching module is used for detecting and judging whether the elevator is opened in place or not and switching the elevator taking state of the robot to the 'elevator out' state when the elevator is judged to reach the target floor;
the elevator exit motion initiating module is used for starting the robot to perform elevator exit motion when detecting that the elevator door is opened in place;
and the elevator exit motion detection module is used for detecting and judging whether the robot exits the elevator in real time, and if so, switching the elevator taking state of the robot to 'finished' and sending a door closing signal to the elevator.
8. An elevator discharging device in a multi-robot elevator taking system is applied to an elevator, and is characterized by comprising:
the elevator door opening initiating module is used for detecting whether the elevator taking state of the robot is 'in the process of going out of the elevator' in real time when the elevator arrives at a floor, and if the elevator taking state is 'in the process of going out of the elevator', the door opening state of the elevator is kept;
and the registration list processing module is used for deleting the registration of the robot out of the elevator in a robot registration list of the elevator after the elevator detects that the elevator taking state of the robot in the elevator is switched to be ended.
9. A terminal, characterized in that the terminal comprises a memory, a processor and an elevator exit program stored in the memory and operable on the processor in a multi-robot elevator taking system, which elevator exit program, when executed by the processor, implements the steps of the elevator exit method in the multi-robot elevator taking system according to any of claims 1-4.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores an elevator exit program in a multi-robot elevator taking system, which, when executed by a processor, implements the steps of the elevator exit method in the multi-robot elevator taking system according to any one of claims 1 to 4.
[ background of the invention ]
With the development of robotics, robots with autonomous movement capabilities have become more and more unmanned, automated, remote, and the like. However, in the prior art, whether the robot goes out of the elevator to complete the elevator is usually identified by a sensor of the robot, and the elevator cannot identify the state of the robot in time, so that when the robot in the prior art needs to go out of the elevator, the problem that the robot needs to go out of the elevator due to the fact that the elevator cannot be well identified, or the robot goes out of the elevator but the elevator still remains in a door opening state exists, and therefore the elevator cannot be well matched with the elevator going-out motion of the robot, the robot fails to go out of the elevator, and task execution efficiency of the robot is affected.
In view of the above, it is desirable to provide an elevator exiting method, apparatus, terminal and storage medium in a multi-robot elevator riding system to overcome the above-mentioned drawbacks.
[ summary of the invention ]
The invention aims to provide a method, a device, a terminal and a storage medium for going out of a ladder in a multi-robot elevator taking system, which aim to solve the problem that when a robot in the prior art needs to go out of the ladder in an elevator, the elevator cannot well identify that the robot needs to go out of the ladder or the robot goes out of the ladder but the elevator is still in a door opening state, improve the matching degree of the elevator and the robot in the process of going out of the ladder and promote the elevator going out efficiency of the robot.
In order to achieve the above object, a first aspect of the present invention provides an elevator exit method in a multi-robot elevator taking system, applied to a robot that has entered an elevator, comprising the steps of:
the method comprises the steps of obtaining the current floor of an elevator in real time, and judging whether the elevator reaches a target floor;
when the elevator reaches a target floor, detecting and judging whether the elevator is opened in place, and switching the elevator taking state of the robot to an 'elevator out' state;
when the fact that the elevator is opened in place is detected, the robot starts to move out of the elevator;
and detecting and judging whether the robot goes out of the elevator in real time, if so, switching the elevator taking state of the robot to 'finished' and sending a door closing signal to the elevator.
In a preferred embodiment, in the step of starting the robot to perform the going-out movement, the method comprises the following steps:
the robot circularly detects whether the current space meets the elevator exit condition; and if the result is negative, stopping the robot from going out of the elevator.
In a preferred embodiment, in the step of starting the robot to perform the going-out movement, the method comprises the following steps:
recording the elevator-taking state of the robot as the elevator-taking time length of the elevator-taking state;
and judging whether the elevator leaving time length exceeds a preset time length threshold value, if so, giving up the elevator leaving motion by the robot.
In a preferred embodiment, after the robot starts to perform the exit movement, the method further comprises the following steps:
detecting and judging whether the current floor of the elevator is a target floor expected by the robot, and if not, detecting whether the robot exits the elevator;
and when the robot does not exit, canceling the exiting motion of the robot, re-registering the target floor of the elevator, and switching the elevator taking state to be in the elevator taking state.
The second aspect of the invention provides an elevator exiting method in a multi-robot elevator taking system, which is applied to an elevator and comprises the following steps:
when the elevator arrives at a floor, detecting whether the elevator taking state of the robot taking the elevator is 'in the process of going out of the elevator' in real time, and if so, keeping the door opening state of the elevator;
when the elevator detects that the elevator-taking state of the riding robot is switched to 'ended', the registration of the robot out of the elevator is deleted in the robot registration list of the elevator.
In a preferred embodiment, the method further comprises the steps of:
the elevator records the elevator-taking time length of the robot, wherein the elevator-taking state of the robot is maintained in the elevator-taking process;
and judging whether the elevator leaving time exceeds a preset threshold value, and if so, cancelling the maintenance of the door opening state of the elevator.
A third aspect of the present invention provides an elevator exit device in a multi-robot elevator boarding system, applied to a robot that has entered an elevator, comprising:
the target floor judging module is used for acquiring the current floor of the elevator in real time and judging whether the elevator reaches the target floor;
the elevator taking state switching module is used for detecting and judging whether the elevator is opened in place or not and switching the elevator taking state of the robot to the 'elevator out' state when the elevator is judged to reach the target floor;
the elevator exit motion initiating module is used for starting the robot to perform elevator exit motion when detecting that the elevator door is opened in place;
and the elevator exit motion detection module is used for detecting and judging whether the robot exits the elevator in real time, and if so, switching the elevator taking state of the robot to 'finished' and sending a door closing signal to the elevator.
A fourth aspect of the present invention provides an elevator exit device in a multi-robot elevator system, applied to an elevator, including:
the elevator door opening initiating module is used for detecting whether the elevator taking state of the robot is 'in the process of going out of the elevator' in real time when the elevator arrives at a floor, and if the elevator taking state is 'in the process of going out of the elevator', the door opening state of the elevator is kept;
and the registration list processing module is used for deleting the registration of the robot out of the elevator in a robot registration list of the elevator after the elevator detects that the elevator taking state of the robot in the elevator is switched to be ended.
A fifth aspect of the present invention provides a terminal, where the terminal includes a memory, a processor, and an elevator exit program stored in the memory and executable on the processor in a multi-robot elevator taking system, and the elevator exit program in the multi-robot elevator taking system, when executed by the processor, implements the steps of the elevator exit method in the multi-robot elevator taking system according to any one of the above embodiments.
A sixth aspect of the present invention provides a computer-readable storage medium storing an elevator exit program in a multi-robot elevator taking system, wherein the elevator exit program in the multi-robot elevator taking system, when executed by a processor, implements the steps of the elevator exit method in the multi-robot elevator taking system according to any one of the above embodiments.
According to the elevator taking method in the multi-robot elevator taking system, when the robot prepares to take the elevator out, the elevator taking state of the robot is switched to the elevator taking state, so that the elevator is identified and kept in the door opening state, and the robot can conveniently take the elevator out; when the robot finishes the motion of going out of the elevator, the state of taking the elevator is switched to be 'finished', so that the elevator is closed, the two-way contact between the robot and the elevator is enhanced, the robot can be driven out of the elevator for a long time, the problem that the elevator still keeps the state of opening the door due to the fact that the state of going out of the elevator of the robot cannot be identified in the prior art is solved, the efficiency of going out of the elevator of the robot is improved, and the task execution of the robot is prevented from being influenced.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart of an elevator exiting method applied to a multi-robot elevator taking system at a robot end according to the present invention;
fig. 2 is a flowchart of an elevator exiting method applied to a multi-robot elevator taking system at an elevator end according to the present invention;
fig. 3 is a frame diagram of an elevator exit device in the multi-robot elevator-taking system according to the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantageous effects of the present invention more clearly apparent, the present invention is further described in detail below with reference to the accompanying drawings and the detailed description. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In an embodiment of the present invention, a first aspect provides an elevator exit method in a multi-robot elevator taking system, which is applied to a robot that has entered an elevator, and is used for monitoring the operation state of the elevator, and timely and quickly exiting the elevator, and providing processing logic when the robot encounters various conditions during exiting the elevator.
As shown in fig. 1, the exit method in the multi-robot elevator-taking system at the robot end includes the following steps S11-S14.
And step S11, acquiring the current floor of the elevator in real time, and judging whether the elevator reaches the target floor.
Specifically, when the robot processing system determines that an elevator has entered into the elevator and starts to ride the elevator, it is necessary to continuously observe the change of the floor of the elevator. In this case, the robot can acquire the operation state of the elevator through a wireless connection with all elevators in advance, and can also acquire which floor the elevator arrives at by recognizing the change of the floor number on the display interface of the elevator.
And step S12, when the elevator reaches the target floor, detecting and judging whether the elevator is opened in place, and switching the elevator taking state of the robot to the 'elevator out' state.
Specifically, when the robot detects that the elevator stays at the target floor, whether the door of the elevator is completely opened is detected through the sensor of the robot, and when the door of the elevator is detected to be opened, the robot switches the elevator taking state of the robot into the elevator taking state. It should be noted that, as for the detection method of the robot for the ladder door, reference may be made to the prior art, and this embodiment is not limited herein. In addition, the elevator taking state of the robot refers to an indication of the current motion state of the robot, can be represented in the form of elevator taking state codes and is transmitted to the surroundings through wireless broadcasting, and comprises states of 'during elevator taking', 'finished' and the like, and the states of the robot can be detected by elevators within a predetermined range of the surroundings, so that the elevators can effectively monitor the current logic processing state in the robot system, and the bidirectional information communication degree is improved.
And step S13, when the elevator door is detected to be opened in place, the robot starts to move out of the elevator.
Further, when the robot sends out the ladder movement, the robot circularly detects whether the current space meets the ladder-out condition, for example, whether a front shelter (a pedestrian, other robots, and the like) exists; if the result is negative, the robot cannot go out of the ladder door, and at the moment, the robot stops going out of the ladder.
Further, after the robot sends out the elevator movement, firstly, the elevator-taking time length of the robot in the elevator-taking state of 'in the elevator-taking' is recorded; and then judging whether the elevator leaving time exceeds a preset time threshold (for example, 15s), if so, namely the robot does not leave the elevator yet, indicating that the robot meets an obstacle when leaving the elevator, and judging that the elevator leaving movement cannot be normally carried out, and giving up the elevator leaving movement by the robot.
Further, after the robot makes an elevator-exiting motion, whether the current floor of the elevator is the target floor expected by the robot or not is detected and judged, and if not, whether the robot has exited the elevator or not is detected. That is, the robot continuously detects whether the elevator has been closed or whether the current floor of the target elevator is the target floor desired by the robot when the robot is moving out of the elevator. When the robot detects that the current floor of the taken elevator is not the target floor or the door is closed, if the robot does not exit at the moment, the robot does not exit successfully, the robot is still in the target elevator, the exit motion of the robot is cancelled, the target floor of the elevator is registered again, the elevator taking state is switched to be in the elevator taking state, and the elevator taking step is repeated.
And step S14, detecting and judging whether the robot exits the elevator in real time, if so, switching the elevator taking state of the robot to 'finished', and sending a door closing signal to the elevator.
Specifically, the robot is in the motion process of going out the ladder, constantly detects whether self has successfully left the car of elevator, if the result is, then switches the state of taking advantage of ladder of self to make the elevator can in time close the door, avoid the elevator because unable in time perception to the state of going out the ladder of robot, and lead to the wasted time to maintain at the state of opening the door, thereby can provide the sufficient time of robot and go out the ladder, also can avoid maintaining in vacant wait state, promoted the operating efficiency of elevator.
The invention provides a multi-robot elevator taking system, which is applied to an elevator, is used for monitoring the elevator taking state of a robot in real time and improving the operation efficiency of the elevator.
As shown in fig. 2, the elevator exiting method in the multi-robot elevator-taking system at the elevator end includes the following steps S21-S22.
Step S21, when the elevator arrives at the floor, it is detected in real time whether the boarding state of the robot is "in the middle of boarding", and if so, the door-open state of the elevator is maintained. That is, the elevator needs to continuously observe whether the robot pointed to the elevator is in the 'out-of-elevator' state or not in the arrival process, and if the robot in the 'out-of-elevator' state exists, the door opening state of the elevator needs to be kept, so that the normal out-of-elevator flow of the robot is prevented from being obstructed.
In step S22, when the elevator detects that the boarding state of the boarding robot has switched to "completed", the registration of the robot that has left the elevator is deleted from the robot registration list of the elevator. When the elevator is closed over time and the robot has not yet gone out of the elevator successfully, the registration of the robot in the registration list of the elevator is still maintained. The registration list is a list registered when the internet of things device such as a robot needs to take a target elevator.
Further, in one embodiment, the elevator exiting method in the multi-robot elevator taking system at the elevator end further comprises the following steps:
first, the elevator records the length of time that the robot is in the "going-out" state while riding on the elevator.
Secondly, whether the elevator leaving time exceeds a preset threshold value (for example, 15s) is judged, if so, the elevator releases the door opening button, the door opening state of the elevator is cancelled, and the situation that the normal operation of the elevator is influenced because the elevator is always in the door opening state after the robot receives the obstacle and cannot leave the elevator normally is avoided.
In summary, according to the elevator exiting method in the multi-robot elevator taking system provided by the invention, when the robot prepares to exit, the elevator taking state of the robot is switched to the elevator exiting state, so that the elevator is identified and kept in the door opening state, and the robot can exit conveniently; when the robot finishes the motion of going out of the elevator, the state of taking the elevator is switched to be 'finished', so that the elevator is closed, the two-way contact between the robot and the elevator is enhanced, the robot can be driven out of the elevator for a long time, the problem that the elevator still keeps the state of opening the door due to the fact that the state of going out of the elevator of the robot cannot be identified in the prior art is solved, the efficiency of going out of the elevator of the robot is improved, and the task execution of the robot is prevented from being influenced.
The third aspect of the present invention provides an elevator exit device 100 in a multi-robot elevator taking system, which is applied to a robot that has entered an elevator, and is used for monitoring the operation state of the elevator, and timely and quickly exiting the elevator, and providing processing logic when the robot encounters various conditions during exiting the elevator. It should be noted that the implementation principle and the implementation mode of the elevator exiting device 100 applied to the robot end in the multi-robot elevator taking system are consistent with the above elevator exiting method applied to the robot end in the multi-robot elevator taking system, and therefore, the following description is omitted.
As shown in fig. 3, the elevator exit apparatus 100 in the multi-robot elevator-taking system includes:
the target floor judging module 10 is used for acquiring the current floor of the elevator in real time and judging whether the elevator reaches the target floor;
an elevator taking state switching module 20, configured to detect and determine whether the elevator is in place by opening the door when it is determined that the elevator reaches the target floor, and switch the elevator taking state of the robot to "in elevator out";
the exit motion initiating module 30 is used for starting the robot to perform exit motion when detecting that the elevator door is opened in place;
and the elevator exit motion detection module 40 is used for detecting and judging whether the robot exits the elevator in real time, and if so, switching the elevator taking state of the robot to 'finished' and sending a door closing signal to the elevator.
The fourth aspect of the invention provides an elevator exit device 100 in a multi-robot elevator taking system, which is applied to an elevator and also comprises a part applied to the elevator, and is used for monitoring the elevator exit state of a robot in real time and improving the operation efficiency of the elevator. It should be noted that the implementation principle and the implementation mode of the elevator exit device 100 applied to the elevator end in the multi-robot elevator taking system are consistent with the above-mentioned elevator exit method applied to the multi-robot elevator taking system, and therefore, the following description is omitted.
As shown in fig. 3, the elevator exit apparatus 100 in the multi-robot elevator-taking system further includes:
the elevator door opening initiating module 50 is used for detecting whether the elevator taking state of the robot is 'in the elevator taking process' or not in real time when the elevator arrives at the floor, and if the elevator taking state is 'in the elevator taking process', the elevator door opening state is maintained;
a registration list processing module 60, configured to delete the registration of the robot that has exited from the elevator in the robot registration list of the elevator after the elevator detects that the elevator-taking state of the riding robot is switched to "ended".
A fifth aspect of the present invention provides a terminal (not shown in the figures), wherein the terminal includes a memory, a processor, and an elevator exit program stored in the memory and running on the processor, and the elevator exit program in the multi-robot elevator taking system is executed by the processor to implement the steps of the elevator exit method in the multi-robot elevator taking system according to any one of the above embodiments.
A sixth aspect of the present invention provides a computer-readable storage medium (not shown in the drawings), wherein the computer-readable storage medium stores an elevator exit program in the multi-robot elevator taking system, and the elevator exit program in the multi-robot elevator taking system is executed by a processor to implement the steps of the elevator exit method in the multi-robot elevator taking system according to any one of the above-mentioned embodiments.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system or apparatus/terminal device and method can be implemented in other ways. For example, the above-described system or apparatus/terminal device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The invention is not limited solely to that described in the specification and embodiments, and additional advantages and modifications will readily occur to those skilled in the art, so that the invention is not limited to the specific details, representative apparatus, and illustrative examples shown and described herein, without departing from the spirit and scope of the general concept as defined by the appended claims and their equivalents.