A robot task configuration method and apparatus, electronic device and medium
By pre-equipping the robot with task summaries and using visual algorithms to determine the robot's position and promptly changing tasks, the problem of the robot getting lost when the charging station is in the wrong location is solved, ensuring the correctness and safety of task execution.
Patent Information
- Application Number
- CN202310790082.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2043-06-30
AI Technical Summary
Robots can easily get lost when they are in the wrong location of a charging station, which can lead to safety risks.
By pre-configuring a task summary, the robot's current position is obtained, visual algorithms are used to determine the correctness of the position, and the task summary and complete task are replaced as necessary.
The problem of the robot getting lost was resolved in a timely manner, safety risks were avoided, and the correctness and safety of the mission were ensured.
Smart Images

Figure CN116749187B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of robot control, and particularly relates to a robot task configuration method and device, electronic equipment and medium. BACKGROUND
[0002] The task of a robot, i.e., an action to be performed by the robot, is issued by a server. When the power of the robot is low during the execution of the task, the robot needs to be pushed to a charging pile for charging. Since this work is completed by a human, it is inevitable that the robot will be pushed to the wrong charging pile. When the robot is pushed to the wrong charging pile, the robot will get lost when it is lowered to the pile to perform the task. At this time, the robot needs to be issued a new task, otherwise it will cause a certain degree of harm to people or objects, and there is a safety risk. SUMMARY
[0003] The present disclosure provides a robot task configuration method and device, electronic equipment and medium, comprising: pre-providing a task abstract for each robot; pushing each robot to a corresponding charging pile; obtaining the current position of each robot; determining whether the current position of each robot is correct according to the current position and a preset position of each robot; if the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured according to the current position and the task abstract; if the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task abstract and the complete task of the robot are replaced. Compared with the prior art, the present disclosure can replace the task abstract and the complete task according to the current position of the robot, and timely and effectively solve the problem that the robot will get lost when it is lowered to the pile, and avoid safety risks.
[0004] To achieve the above object, the present disclosure adopts the following technical solutions:
[0005] The first aspect of the present disclosure provides a robot task configuration method, comprising:
[0006] A task abstract is pre-provided for each robot.
[0007] Each robot is pushed to a corresponding charging pile; the robot and the charging pile correspond to each other.
[0008] The current position of each robot is obtained.
[0009] Whether the current position of each robot is correct is determined according to the current position and a preset position of each robot.
[0010] If the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured according to the current position and the task abstract.
[0011] If the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task summary and the complete task of the robot are replaced.
[0012] Further, the robot task configuration method comprises the following steps:
[0013] The scene around each robot is photographed.
[0014] A visual algorithm is used to determine the current position of each robot according to the photographed photos.
[0015] Further, the robot task configuration method comprises the following steps:
[0016] When each robot is working, the current position and the task summary of each robot are obtained through real-time communication with the robot.
[0017] The complete task is issued according to the current position and the task summary.
[0018] Further, the robot task configuration method comprises the following steps:
[0019] The robot is monitored, and the task summary and the complete task of the robot are replaced when the current position of the robot is different from the preset position.
[0020] The second aspect of the present disclosure provides a robot task configuration device, comprising:
[0021] The device comprises a robot task configuration device, comprising:
[0022] A pushing unit is configured to push each robot to a corresponding charging pile; the robot and the charging pile are one-to-one corresponding.
[0023] An obtaining unit is configured to obtain the current position of each robot.
[0024] A judging unit is configured to judge whether the current position of each robot is correct according to the current position of each robot and a preset position.
[0025] If the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured according to the current position and the task summary.
[0026] If the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task summary and the complete task of the robot are replaced.
[0027] Further, the robot task configuration apparatus, the acquisition unit comprises:
[0028] The photographing module is configured to take pictures of the scenes around each robot.
[0029] The determination module is configured to determine the current position of each robot according to the taken pictures by using a visual algorithm.
[0030] Further, the robot task configuration apparatus further comprises:
[0031] The communication unit is configured to communicate with each robot in real time during the working process of each robot, and acquire the current position and the task summary of each robot.
[0032] The delivery unit is configured to deliver the complete task according to the current position and the task summary.
[0033] Further, the robot task configuration apparatus further comprises:
[0034] The monitoring unit is configured to monitor each robot, and replace the task summary and the complete task of the robot when the current position of the robot is different from the preset position.
[0035] The third aspect of the present disclosure provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above method.
[0036] The fourth aspect of the present disclosure provides a computer readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to implement the steps of the above method.
[0037] The present disclosure provides a robot task configuration method, device, electronic equipment and medium, comprising: pre-equipping a task abstract for each robot; pushing each robot to a corresponding charging pile; obtaining the current position of each robot; determining whether the current position of each robot is correct according to the current position and the preset position of each robot; if the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured according to the current position and the task abstract; if the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task abstract and the complete task of the robot are replaced, compared with the prior art, the present disclosure can replace the task abstract and the complete task according to the current position of the robot, and timely and effectively solve the problem that the robot will get lost when it is plugged in, and avoid safety risks.
[0038] At the same time, the present disclosure communicates with the robot in real time during the working process of the robot, obtains the current position and the task abstract of each robot, and issues a complete task according to the current position and the task abstract, thereby guaranteeing the correctness of the robot in executing the task and the safety of the robot.
[0039] Finally, by monitoring each robot, when the current position of the robot is different from the preset position, the task abstract and the complete task of the robot are replaced, thereby further guaranteeing the correctness of the robot in executing the task. BRIEF DESCRIPTION OF DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative labor.
[0041] Figure 1 It is a flowchart of a robot task configuration method in an embodiment of the present disclosure;
[0042] Figure 2 It is a flowchart of another robot task configuration method in an embodiment of the present disclosure;
[0043] Figure 3 It is a structural schematic diagram of a robot task configuration device in an embodiment of the present disclosure;
[0044] Figure 4 It is a structural schematic diagram of another robot task configuration device in an embodiment of the present disclosure;
[0045] Figure 5 It is a structural schematic diagram of a robot task configuration electronic equipment in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0046] The technical solutions in the embodiments of the present disclosure will be clearly and completely described in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without creative labor fall within the protection scope of the present disclosure.
[0047] Unless otherwise defined, all technical and scientific terms used in the present disclosure have the same meanings as commonly understood by one of ordinary skill in the art to which the present disclosure belongs; the terms used in the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the specification and claims of the present disclosure and the terms "comprise" and "have" and any variations thereof in the description of the drawings are intended to cover non-exclusive inclusion.
[0048] In the description of the embodiments of the present disclosure, the technical terms "first", "second", and the like are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present disclosure, the meaning of "a plurality of" is two or more, unless otherwise explicitly specified.
[0049] In the description of the embodiments of the present disclosure, the term "and / or" is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent the three cases of A alone, A and B together, and B alone. In addition, the character " / " in this paper generally represents that the front and rear associated objects are in an "or" relationship.
[0050] In the description of the embodiments of the present disclosure, the term "a plurality of" refers to two or more (including two), and similarly, "a plurality of groups" refers to two or more groups (including two groups), and "a plurality of pieces" refers to two or more pieces (including two pieces).
[0051] In the description of the embodiments of the present disclosure, the technical terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, which is only for the convenience of describing the embodiments of the present disclosure and simplifying the description, and is not intended to indicate or imply that the indicated device or element must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the embodiments of the present disclosure.
[0052] In the description of the embodiments of the present disclosure, unless specifically defined and limited otherwise, the technical terms "mounting", "connecting", "connecting", "fixing" and the like should be broadly understood, for example, it can be fixedly connected, or it can be detachably connected, or it can be integrated; it can be mechanically connected, or it can be electrically connected; it can be directly connected, or it can be indirectly connected through an intermediate medium; it can be the internal communication of two elements or the interaction relationship between two elements. For those skilled in the art, the specific meanings of the above terms in the present disclosure can be understood according to the specific circumstances.
[0053] Embodiment 1
[0054] The embodiments of the present disclosure provide a robot task configuration method, as shown in the accompanying drawings, comprising: Figure 1
[0055] 101, for each robot, pre-configure a task abstract.
[0056] Generally, multiple robots need to be configured in a scene, and the tasks of each robot are different, so as to cooperate to complete a larger work task.
[0057] Abstract: also known as summary, content abstract, is the key points of excerpts or excerpts, and the task abstract is the key points of the tasks allocated to the robot. Specifically, the task abstract includes the tasks to be completed by each robot and the tasks to be supported by each charging pile.
[0058] 102, push each of the robots to the corresponding charging pile; the robot and the charging pile are one-to-one.
[0059] Robot: (Robot) is an intelligent machine that can work semi-autonomously or autonomously, has the basic characteristics of perception, decision-making, execution, etc., can assist or even replace humans to complete dangerous, heavy, complex work, improve work efficiency and quality, serve human life, and expand or extend the activity and ability range of humans.
[0060] Charging pile: its function is similar to that of the oil pump in the gas station, and it can be fixed to the ground or wall. The charging pile in the present embodiment is a device for charging the robot. Generally, the charging pile is fixedly installed. When the robot is in use and the power is low, the robot needs to be manually pushed to the charging pile to charge. The robot and the charging pile are one-to-one, that is, each robot corresponds to a charging pile.
[0061] 103, obtain the current position of each robot.
[0062] Specifically, the method for obtaining the current position of the robot is: taking pictures of the scene around each robot, and determining the current position of each robot according to the taken pictures by using a visual algorithm.
[0063] 104. judging whether the current position of each robot is correct according to the current position and a preset position of each robot;
[0064] The current position is a real-time position of the robot, and the preset position is stored in a memory of the robot and is a correct motion track previously stored for the robot.
[0065] 1041. If the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured according to the current position and the task abstract.
[0066] 1042. If the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task abstract and the complete task of the robot are replaced.
[0067] The embodiment of the present disclosure provides a robot task configuration method, which comprises the following steps: for each robot, a task abstract is previously equipped; each robot is pushed to a corresponding charging pile; a current position of each robot is acquired; whether the current position of each robot is correct is judged according to the current position and a preset position of each robot; if the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured according to the current position and the task abstract; if the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task abstract and the complete task of the robot are replaced. Compared with the prior art, the robot task configuration method can replace the task abstract and the complete task according to the current position of the robot, and timely and effectively solves the problem that the robot is lost when being lowered to the pile, and avoids the safety risk.
[0068] Embodiment 2
[0069] The embodiment of the present disclosure provides a robot task configuration method, which comprises the following steps: for each robot, a task abstract is previously equipped; each robot is pushed to a corresponding charging pile; a current position of each robot is acquired; whether the current position of each robot is correct is judged according to the current position and a preset position of each robot; if the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured according to the current position and the task abstract; if the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task abstract and the complete task of the robot are replaced. Compared with the prior art, the robot task configuration method can replace the task abstract and the complete task according to the current position of the robot, and timely and effectively solves the problem that the robot is lost when being lowered to the pile, and avoids the safety risk. Figure 2
[0070] 201. For each robot, a task abstract is previously equipped.
[0071] Specifically, each robot is previously equipped with a task abstract. The embodiment will be simply explained in the form of examples below, but the protection scope of the embodiment is not limited thereto, and the implementer can make changes according to the actual situation in the specific implementation.
[0072] For example, the task abstract of robot A is to deliver goods to A1 shelf, the task abstract of robot B is to deliver goods to C3 shelf, and the task abstract of robot C is to deliver goods to B4 shelf.
[0073] 202. Each robot is pushed to a corresponding charging pile; the robot and the charging pile are one-to-one corresponding.
[0074] For example, the correspondence between each robot and charging pile is shown in Table 1 as follows:
[0075] Robot name Charging pile A 1 B 2 C 3
[0076] Table 1: Correspondence table between robots and charging piles (1)
[0077] When one or more robots need to be charged due to low battery level, they are pushed to the corresponding charging piles by staff.
[0078] 203, Obtain the current position of each robot.
[0079] 2031, Take a photo of the scene around each robot.
[0080] Where "around the robot" means 360 degrees around the robot. Specifically, a shooting device such as a camera or video camera is installed on the robot chassis. It should be noted that the type, model, and number of shooting devices are not limited in this embodiment, and the implementer can determine them according to actual needs. In this embodiment, four video cameras are used to take photos around the robot.
[0081] 2032, Use a visual algorithm to determine the current position of each robot based on the photos taken.
[0082] The visual algorithm is an artificial intelligence technology based on computer vision and image processing theory, aiming to fuse data between computers and images to achieve the ability to perceive and understand images. Visual algorithms can process various types of visual data such as images, videos, and three-dimensional models, and mainly cover three aspects of applications: face recognition, image classification, target tracking, and target detection.
[0083] 204, Determine whether the current position of each robot is correct based on the current position and the preset position of each robot.
[0084] As shown in Table 1, No. 1 charging pile, No. 2 charging pile, and No. 3 charging pile are the preset positions of robots A, B, and C, respectively. The current positions of each robot obtained in a certain situation are shown in Table 2:
[0085] Robot name Charging pile A 2 B 1 C 3
[0086] Table 2: Correspondence table between robots and charging piles (2)
[0087] 2041, If the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured based on the current position and the task summary.
[0088] From Table 1 and Table 2, it can be seen that the current position of robot C is the same as the preset position, so the current position of robot C is correct, and a complete task is configured according to the current position and the task summary.
[0089] 2042, if the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task summary and the complete task of the robot are replaced.
[0090] From Table 1 and Table 2, it can be seen that the current positions of robot A and robot B are different from the preset positions, so the current positions of robot A and robot B are incorrect, and the task summaries and the complete tasks of robot A and robot B are replaced.
[0091] 205, during the work of each robot, real-time communication is performed with the robot to obtain the current position and the task summary of each robot.
[0092] In addition to the task configuration when the robot is charging, real-time communication is also performed with the robot during the work of the robot to obtain the current position and the task summary of each robot.
[0093] 206, the complete task is issued according to the current position and the task summary.
[0094] 207, each robot is monitored, and when the current position of the robot is different from the preset position, the task summary and the complete task of the robot are replaced.
[0095] In addition to the task configuration when the robot is charging and working, the robot is monitored throughout the process, and when the current position of the robot is different from the preset position, the task summary and the complete task of the robot are replaced, which further guarantees the correctness of the robot in executing the task.
[0096] The embodiment of the present disclosure provides a robot task configuration method, which comprises: for each robot, a task summary is pre-configured; each robot is pushed to a corresponding charging pile; the current position of each robot is obtained; whether the current position of each robot is correct is judged according to the current position and the preset position of each robot; if the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured according to the current position and the task summary; if the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task summary and the complete task of the robot are replaced. Compared with the prior art, the present disclosure can replace the task summary and the complete task according to the current position of the robot, and timely and effectively solve the problem that the robot will get lost when it is placed in the pile, and avoid safety risks.
[0097] Meanwhile, the present disclosure communicates with the robots in real time during the robot working process, acquires the current positions and task abstracts of the robots, and issues complete tasks according to the current positions and the task abstracts, thereby guaranteeing the correctness of the task execution of the robots and the safety of the robots.
[0098] Finally, by monitoring the robots, the task abstract and the complete task of the robot are replaced when the current position of the robot is different from the preset position, thereby further guaranteeing the correctness of the task execution of the robots.
[0099] Embodiment 3
[0100] The present disclosure provides a robot task configuration device, as shown in the accompanying drawings, comprising: Figure 3
[0101] The device is equipped with a unit 31 for pre-equipping a task abstract for each robot.
[0102] The device is provided with a pushing unit 32 for pushing each robot to a corresponding charging pile; the robot and the charging pile are one-to-one corresponding.
[0103] The device is provided with an acquisition unit 33 for acquiring the current position of each robot.
[0104] The device is provided with a judgment unit 34 for judging whether the current position of each robot is correct according to the current position and the preset position of each robot.
[0105] If the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured according to the current position and the task abstract.
[0106] If the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task abstract and the complete task of the robot are replaced.
[0107] It should be noted that the detailed description of each component structure in this embodiment can refer to the corresponding part of other embodiments, which will not be repeated here.
[0108] The embodiment of the present disclosure provides a robot task configuration device, which comprises: a preparation unit configured to prepare a task abstract for each robot in advance; a pushing unit configured to push each robot to a corresponding charging pile; an acquisition unit configured to acquire a current position of each robot; a judgment unit configured to judge whether the current position of each robot is correct according to the current position and a preset position of each robot; if the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured according to the current position and the task abstract; if the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task abstract and the complete task of the robot are replaced, compared with the prior art, the embodiment of the present disclosure can replace the task abstract and the complete task according to the current position of the robot, and timely and effectively solve the problem that the robot will get lost when it is plugged in, and avoid safety risks.
[0109] Embodiment 4
[0110] The embodiment of the present disclosure provides a robot task configuration device, which comprises: Figure 4 as shown in the figure, comprising:
[0111] The preparation unit 41 is configured to prepare a task abstract for each robot in advance.
[0112] The pushing unit 42 is configured to push each robot to a corresponding charging pile; the robot and the charging pile are one-to-one.
[0113] The acquisition unit 43 is configured to acquire a current position of each robot.
[0114] The photographing module 431 is configured to take a photo of the scene around each robot.
[0115] The determination module 432 is configured to determine the current position of each robot by using a visual algorithm according to the taken photo.
[0116] The judgment unit 44 is configured to judge whether the current position of each robot is correct according to the current position and a preset position of each robot.
[0117] If the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured according to the current position and the task abstract.
[0118] If the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task abstract and the complete task of the robot are replaced.
[0119] The communication unit 45 is configured to communicate with the robot in real time when each robot is working, acquire the current position and the task abstract of each robot.
[0120] The issuing unit 46 is configured to issue the complete task according to the current position and the task abstract.
[0121] The monitoring unit 47 is configured to monitor each robot, and replace the task abstract and the complete task of the robot when the current position of the robot is different from the preset position.
[0122] It should be noted that the detailed description of each component structure in this embodiment can refer to the corresponding part of other embodiments, which will not be described here.
[0123] The robot task configuration device provided by the embodiment of the present disclosure comprises a pre-provision unit, a pushing unit, an acquisition unit, a judgment unit and an issuing unit.
[0124] At the same time, the communication unit communicates with the robot in real time during the working process of the robot, acquires the current position and the task abstract of each robot, and the issuing unit issues the complete task according to the current position and the task abstract, thereby ensuring the correctness of the robot in executing the task and the safety of the robot.
[0125] Finally, the monitoring unit monitors each robot, and replaces the task abstract and the complete task of the robot when the current position of the robot is different from the preset position, thereby further ensuring the correctness of the robot in executing the task.
[0126] Embodiment 5
[0127] The robot task configuration electronic device provided by the embodiment of the present disclosure comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor. Figure 5 As shown in the figure, the processor implements the steps of the robot task configuration method when executing the computer program.
[0128] A processing device (e.g., a central processing unit, a graphics processing unit, etc.) 51 can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 52 or loaded from a storage device 58 into a random access memory (RAM) 53. Various programs and data required for operation of the electronic device are also stored in the RAM 53. The processing device 51, the ROM 52, and the RAM 53 are connected to each other through a bus 54. An input / output (I / O) interface 55 is also connected to the bus 54.
[0129] Generally, the following devices can be connected to the I / O interface 55: input devices 56 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 57 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 58 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 59. The communication devices 59 can allow the electronic device to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 The electronic device with various devices is shown, but it is understood that all of the shown devices are not required to be implemented or possessed. More or fewer devices can be alternatively implemented or possessed. Figure 5 Each block shown in the flowcharts can represent a device or multiple devices as needed.
[0130] In particular, processes described above with reference to the flowcharts can be implemented as a computer software program according to some embodiments of the present disclosure. For example, some embodiments of the present disclosure include a computer program product including a computer program carried on a computer readable medium, the computer program containing program codes for performing the methods shown in the flowcharts. In some such embodiments, the computer program can be downloaded and installed from a network through the communication devices 59, or installed from the storage devices 58, or installed from the ROM 52. When the computer program is executed by the processing device 51, the above-mentioned functions defined in the methods of some embodiments of the present disclosure are performed.
[0131] The electronic device for robot task configuration provided by the embodiments of the present disclosure comprises: pre-equipping a task abstract for each robot; pushing each robot to a corresponding charging pile; acquiring a current position of each robot; judging whether the current position of each robot is correct according to the current position and a preset position of each robot; if the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured according to the current position and the task abstract; if the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task abstract and the complete task of the robot are replaced. Compared with the prior art, the present disclosure can replace the task abstract and the complete task according to the current position of the robot, and timely and effectively solves the problem that the robot will get lost when it is plugged in, and avoids safety risks.
[0132] Meanwhile, the present disclosure communicates with the robots in real time during the robot working process, acquires the current positions and task abstracts of the robots, and issues complete tasks according to the current positions and task abstracts, thereby guaranteeing the correctness of the robot task execution and the safety of the robots.
[0133] Finally, by monitoring the robots, the task abstracts and complete tasks of the robots are replaced when the current positions of the robots are different from the preset positions, thereby further guaranteeing the correctness of the robot task execution.
[0134] Embodiment 6
[0135] The present disclosure provides a robot task configuration computer readable storage medium, and the computer readable storage medium stores a computer program. When the computer program is executed by one or more processors, the robot task configuration method described above is implemented.
[0136] It should be noted that the computer readable medium of some embodiments of the present disclosure described above can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples of computer readable storage media can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or component. While in some embodiments of the present disclosure, the computer readable signal medium can include a data signal propagating in a baseband or as a carrier wave in a carrier, which carries computer readable program code. Such a propagating data signal can take many forms, including but not limited to electromagnetic signals, optical signals or any suitable combination of the above. The computer readable signal medium can also be any computer readable medium other than the computer readable storage medium, which can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, device or component. The program code contained on the computer readable medium can be transmitted by any suitable medium, including but not limited to electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0137] In some embodiments, the client, server, or both can communicate using any known or future developed network protocols, such as the HyperText Transfer Protocol (HTTP), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any current or future developed network.
[0138] The computer readable medium described above can be included in the device described above; or can exist alone and not be assembled into the electronic device. The computer readable medium described above carries one or more programs, when the one or more programs are executed by the electronic device, the electronic device is caused to: pre-configure a task summary for each robot; push each robot to the corresponding charging pile; obtain the current position of each robot; determine whether the current position of each robot is correct according to the current position and the preset position of each robot; if the current position of the robot is the same as the preset position, the current position of the robot is correct, and the complete task is configured according to the current position and the task summary; if the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task summary and the complete task of the robot are replaced.
[0139] Computer program code for carrying out operations of some embodiments of the present disclosure can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network ("LAN") or a wide area network ("WAN"), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0140] The embodiment of the present disclosure provides a computer readable storage medium for robot task configuration, comprising: pre-equipping a task abstract for each robot; pushing each robot to a corresponding charging pile; obtaining a current position of each robot; judging whether the current position of each robot is correct according to the current position and a preset position of each robot; if the current position of the robot is the same as the preset position, the current position of the robot is correct, and a complete task is configured according to the current position and the task abstract; if the current position of the robot is different from the preset position, the current position of the robot is incorrect, and the task abstract and the complete task of the robot are replaced, compared with the prior art, the present disclosure can replace the task abstract and the complete task according to the current position of the robot, and timely and effectively solves the problem that the robot is lost when being charged, and avoids the safety risk.
[0141] Meanwhile, the present disclosure communicates with the robot in real time during the working process of the robot, obtains the current position and the task abstract of each robot, and issues the complete task according to the current position and the task abstract, so that the correctness of the robot in executing the task and the safety of the robot are guaranteed.
[0142] Finally, the task abstract and the complete task of the robot are replaced when the current position of the robot is different from the preset position, so that the correctness of the robot in executing the task is further guaranteed.
[0143] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architectures, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment or a part of code containing one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different order from that noted in the accompanying drawings. For example, two blocks represented in succession can actually be executed in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and the combination of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0144] The units described in some embodiments of the present disclosure can be implemented in the form of software or hardware. The described units can also be arranged in a processor, for example, a processor can be described as: a processor comprising a receiving unit, an information obtaining unit, a target determining unit and a distribution unit. In some cases, the names of these units do not constitute a limitation on the units themselves.
[0145] The functionality described herein above can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program- specific Integrated Circuits (ASICs), Application-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.
[0146] The above description is merely exemplary of the disclosure and the application made use of the principles of the technology. It is to be understood that the application scope of the embodiments of the disclosure is not limited to the specific combinations of technical features described above, and should also cover other technical solutions formed by any combination of the above technical features or equivalent features thereof without departing from the inventive concept. For example, the above technical features can be replaced with technical features having similar functions disclosed in the embodiments of the disclosure (but not limited to) to form technical solutions.
[0147] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application, and they should be covered in the scope of the claims and the specification of the present application. In particular, each technical feature mentioned in each embodiment can be combined in any way. The present application is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.
Claims
1. A robot task configuration method, characterized in that, include: For each robot, a task summary is pre-configured; Push each of the robots to its corresponding charging station; Each robot corresponds to one of the charging stations; Obtain the current position of each robot; Based on the current position and preset position of each robot, determine whether the current position of each robot is correct: If the robot's current position is the same as the preset position, then the robot's current position is correct, and a complete task is configured based on the current position and the task summary. If the robot's current position is different from the preset position, then the robot's current position is incorrect, and the robot's task summary and complete task are replaced.
2. The robot task configuration method according to claim 1, characterized in that, Obtaining the positions of each robot includes: Take photos of the scene surrounding each robot; Using visual algorithms, the current position of each robot is determined based on the captured photos.
3. The robot task configuration method according to claim 1, characterized in that, After determining whether the current position of each robot is correct based on its current position and the preset position, the method further includes: During the operation of each robot, the system communicates with each robot in real time to obtain the current position and task summary of each robot. The complete task is issued based on the current location and the task summary.
4. The robot task configuration method according to claim 3, characterized in that, After issuing the complete task based on the current location and the task summary, the process also includes: Monitor each robot, and when the current position of the robot is different from the preset position, change the task summary and the complete task of the robot.
5. A robot task configuration device, characterized in that, include: An equipment unit is used to pre-equip each robot with a task summary; A push unit is used to push each of the robots to the corresponding charging station; Each robot corresponds to one of the charging stations; The acquisition unit is used to acquire the current position of each robot; The judgment unit is used to determine whether the current position of each robot is correct based on the current position of each robot and the preset position: If the robot's current position is the same as the preset position, then the robot's current position is correct, and a complete task is configured based on the current position and the task summary. If the robot's current position is different from the preset position, then the robot's current position is incorrect, and the robot's task summary and complete task are replaced.
6. The robot task configuration device according to claim 5, characterized in that, The acquisition unit includes: The camera module is used to take pictures of the scene around each robot; The determination module is used to determine the current position of each robot based on the captured photos using a visual algorithm.
7. The robot task configuration device according to claim 5, characterized in that, Also includes: A communication unit is used to communicate with each robot in real time during operation to obtain the current position and task summary of each robot. The issuing unit is used to issue the complete task based on the current location and the task summary.
8. The robot task configuration device according to claim 7, characterized in that, Also includes: A monitoring unit is used to monitor each of the robots, and when the current position of the robot is different from the preset position, to update the task summary and the complete task of the robot.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 4.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Robot charging method and system, electronic equipment and storage medium
CN112994176A
Robot path determination method and device, electronic equipment and medium
CN113776546A