本发明的实施方式Embodiments of the invention
。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention.
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,在本发明的描述中,除非另有明确的规定和限定,术语“存储介质”可以是ROM、RAM、磁碟或者光盘等各种可以存储计算机程序的介质。术语“处理器”可以是CPLD(Complex Programmable Logic Device:复杂可编程逻辑器件)、FPGA(Field-Programmable Gate Array:现场可编程门阵列)、MCU(Microcontroller Unit:微控制单元)、PLC(Programmable Logic Controller:可编程逻辑控制器)以及CPU(CentralProcessing
Unit:中央处理器)等具备数据处理功能的芯片或电路。术语“电子设备”可以是具有数据处理功能和存储功能的任何设备,通常可以包括固定终端和移动终端。固定终端如台式机等。移动终端如手机、PAD以及移动机器人等。此外,后续所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that, in the description of the present invention, unless otherwise clearly defined and limited, the term "storage medium" can be any medium that can store computer programs such as ROM, RAM, magnetic disk, or optical disk. The term "processor" can be CPLD (Complex Programmable Logic Device), FPGA (Field-Programmable Gate Array), MCU (Microcontroller Unit), PLC (Programmable Logic) Controller: programmable logic controller) and CPU (CentralProcessing
Unit: Central Processing Unit) and other chips or circuits with data processing functions. The term "electronic device" can be any device with data processing functions and storage functions, and can generally include fixed terminals and mobile terminals. Fixed terminals such as desktop computers. Mobile terminals such as mobile phones, PADs and mobile robots. In addition, the technical features involved in the different embodiments of the present invention described later can be combined with each other as long as they do not conflict with each other.
下面,本发明提出部分优选实施例以教导本领域技术人员实现。Below, the present invention proposes some preferred embodiments to teach those skilled in the art to implement.
目前的仓储机器人可以方便地部署到现有的仓库当中,将仓库的储位信息同步到机器人系统中之后,机器人就可以根据任务信息直接到储位附近,机器人的PAD上展示任务信息,提示用户进行相应操作。拣货员工在库区内巡视,寻找需要执行任务的机器人。找寻到机器人后走到机器人前面,根据平板上面的提示信息进行操作。拣货员不再需要拉着拣货小车在仓库中走动,大大减少了走动距离,提升了员工拣货效率。Current storage robots can be easily deployed to existing warehouses. After synchronizing the storage location information of the warehouse to the robot system, the robot can directly go to the vicinity of the storage location based on the task information. The robot’s PAD displays the task information and prompts the user Proceed accordingly. Picking employees patrol the warehouse area, looking for robots that need to perform tasks. After finding the robot, walk to the front of the robot and operate according to the prompt information on the tablet. Pickers no longer need to pull the picking trolley to move around in the warehouse, which greatly reduces the walking distance and improves staff picking efficiency.
但是目前的机器人调度方法中,当其中一台机器人运行过程中遇到障碍物或者目标点无法到达的场景下,机器人会通知中央调度系统自己的前进路径被阻挡。中央调度系统会根据机器人的反馈重新给机器人规划一条路径。但是机器人在等待中央调度系统反馈新路径时,无法继续移动或是工作,需要花一段时间进行等待,导致机器人运行的效率会降低。However, in the current robot scheduling method, when one of the robots encounters an obstacle or the target point cannot be reached during the operation, the robot will notify the central scheduling system that its path is blocked. The central dispatch system will re-plan a path for the robot based on the robot's feedback. However, when the robot is waiting for the central dispatching system to feedback a new path, it cannot continue to move or work, and it takes a while to wait, which will reduce the efficiency of robot operation.
图1是本申请提供的一机器人路径更新方法的实施例的流程图。该更新方法可以应用于任一一个机器人,需要说明的是,在一个仓储环境中,可以存在多个机器人,多个机器人彼此之间为无中心化关系,也就是说,当更新方法中涉及到与另一个机器人的信息传输关系时,另一个机器人也同样适用。其中,各个步骤在运行的时候可以是按照如流程图中的顺序先后进行,也可以是根据实际情况多个步骤同时进行,在此并不做限定。本申请提供的机器人路径更新方法包括如下步骤:Fig. 1 is a flowchart of an embodiment of a method for updating a robot path provided by the present application. The update method can be applied to any robot. It should be noted that in a warehouse environment, there can be multiple robots, and multiple robots have a non-centralized relationship with each other, that is, when the update method involves When it comes to the information transmission relationship with another robot, the other robot also applies. Wherein, each step may be performed sequentially in the sequence as in the flowchart during operation, or multiple steps may be performed simultaneously according to actual conditions, which is not limited here. The robot path update method provided in this application includes the following steps:
步骤S110,根据初始场地信息确定初始路径控制所述第一机器人工作;Step S110, determining an initial path according to the initial site information to control the work of the first robot;
步骤S130,获取场地更新信息,根据场地更新信息优化所述初始路径得到优化路径,其中,所述场地更新信息第二机器人的共享信息,其中,所述第二机器人配置为根据相应的移动路径进行移动并可获取当前场景信息;Step S130: Obtain venue update information, optimize the initial path according to the venue update information to obtain an optimized path, wherein the venue updates information shared information of the second robot, wherein the second robot is configured to perform according to the corresponding movement path Move and get current scene information;
步骤S150,根据所述优化路径控制所述第一机器人工作。Step S150, controlling the work of the first robot according to the optimized path.
通过上述实施方式,通过此种方式,使得第一机器人可以获得其他机器人上传的共享信息,如第二机器人在行进过程中检测到的场景信息,提前获知初始路径中可能存在的异常信息,并确定出可以规避该异常信息的优化路径,以节省现有技术中,只有当遇到异常信息后才将该异常信息进行上报并等待上报后的处理结果所浪费的时间,进而提高了工作效率。Through the above implementation, in this way, the first robot can obtain the shared information uploaded by other robots, such as the scene information detected by the second robot in the process of traveling, learn in advance possible abnormal information in the initial path, and determine An optimized path that can circumvent the abnormal information is proposed, so as to save the time wasted in the prior art to report the abnormal information only after encountering the abnormal information and wait for the reported processing result, thereby improving work efficiency.
下面将结合具体实施例对上述步骤进行具体的描述。The above steps will be specifically described below in conjunction with specific embodiments.
在步骤S110中,根据初始场地信息确定初始路径控制所述第一机器人工作。其中,第一机器人是指当前运行该方法的机器人。第一机器人与服务器进行通信连接。服务器可以为云端服务器也可以为本地服务器,具体不做限定。服务器用于接收机器人个体信息、机器人集群信息、环境信息、工人信息、任务信息等信息。服务器可以是中心化的,如,布局在云端的服务器、也可以是在本地机房架设的;服务器也可以是无中心分布式的,在云端、本地、机器人上分布架设的。In step S110, an initial path is determined according to the initial site information to control the work of the first robot. Among them, the first robot refers to the robot currently running the method. The first robot communicates with the server. The server can be a cloud server or a local server, which is not specifically limited. The server is used to receive information such as individual robot information, robot cluster information, environment information, worker information, task information and so on. The server can be centralized, such as a server deployed in the cloud, or set up in a local computer room; the server can also be distributed without a center, and set up in the cloud, local, or robots.
无中心分布式的服务器,指每个分布式节点(可以是服务器、也可以是机器人)对信息进行同步。从而包含了只有机器人节点,没有服务器节点的无中心服务器。机器人间的通信方式包括但不限于wifi,蓝牙,激光等。A centrally distributed server means that each distributed node (which can be a server or a robot) synchronizes information. This includes a central server with only robot nodes and no server nodes. Communication methods between robots include but are not limited to wifi, Bluetooth, laser, etc.
服务器中存储有机器人运行的场地内的配置信息。其中,场地可以包括一个场地,也可以为多个不同的场地信息。配置信息可以为包括场地内的商品位置信息、可移动通道信息或是其他相关信息。初始场地信息为当前机器人获取的与其相关的场地信息,举例而言,第一机器人需要在场地A进行工作,那么,第一机器人在工作前从服务器中获取的与场地A相关的信息即为初始场地信息。The server stores configuration information in the field where the robot runs. Among them, the venue may include one venue or multiple different venue information. The configuration information may include product location information, movable channel information or other related information in the venue. The initial site information is the site information related to it acquired by the current robot. For example, if the first robot needs to work in site A, then the site A-related information acquired by the first robot from the server before working is the initial Venue information.
在一可选的实施方式中,步骤S110之前,还包括:In an optional implementation manner, before step S110, the method further includes:
步骤S101,确定所述第一机器人所对应的任务信息;Step S101, determining task information corresponding to the first robot;
步骤S103,根据所述任务信息从服务器中获取与所述任务信息对应的所述初始场地信息。Step S103: Acquire the initial venue information corresponding to the task information from the server according to the task information.
通过上述实施方式,使得每个机器人都可以从服务器中获取与当前该机器人相对应的初始场地信息。Through the foregoing implementation manners, each robot can obtain the initial site information corresponding to the current robot from the server.
其中,在步骤S101中,任务信息可以通过工作人员在机器人的交互面板上进行设定而确定。在本实施方式中,任务信息至少包括目标位置信息、仓库标识信息等。在其他实施方式中,任务信息也可以为其他根据工作人员自定义的方式确定的信息。第一机器人的处理器获取任务信息后,将任务信息通过通信线路发送至服务器,其中,通信线路包括但不限于wifi、蓝牙和激光。在步骤S103中,服务器接收到任务信息数据后,根据任务信息数据从存储器中确定与该任务信息对应的场地信息,并将该场地信息发送给第一机器人,其中,该场地信息即为第一机器人的初始场地信息。Wherein, in step S101, the task information can be determined by the staff setting on the interactive panel of the robot. In this embodiment, the task information includes at least target location information, warehouse identification information, and the like. In other embodiments, the task information may also be other information determined in a manner customized by the staff. After acquiring the task information, the processor of the first robot sends the task information to the server through the communication line, where the communication line includes but is not limited to wifi, Bluetooth, and laser. In step S103, after the server receives the task information data, it determines the venue information corresponding to the task information from the memory according to the task information data, and sends the venue information to the first robot, where the venue information is the first robot. The initial site information of the robot.
初始路径是指用于指引第一机器人进行前行的信息。在本实施方式中,初始路径是第一机器人接收到初始场所信息后,通过第一机器人的处理器根据初始场所信息计算得到的路径。在其他实施方式中,初始路径是服务器根据初始场所信息确定后得到的路径,然后将该路径发送至第一机器人,以供第一机器人的处理器根据该路径控制第一机器人前行。其中,初始路径可以是重新计算得到的路径,也可以是根据历史保存记录中得到的路径。The initial path refers to information used to guide the first robot to move forward. In this embodiment, the initial path is a path calculated by the processor of the first robot based on the initial location information after the first robot receives the initial location information. In other embodiments, the initial path is a path determined by the server according to the initial location information, and then the path is sent to the first robot for the processor of the first robot to control the first robot to move forward according to the path. Among them, the initial path may be a path obtained by recalculation, or may be a path obtained according to historical records.
在步骤S130中,获取场地更新信息,根据场地更新信息优化所述初始路径得到优化路径。其中,所述场地更新信息为第二机器人的共享信息,其中,所述第二机器人配置为根据相应的移动路径进行移动并可获取当前场景信息。服务器中保存的场地配置信息为人工输入或是其他方式进行预存的信息,在实际的管理过程中,场地中的实际情况会发生变化,例如,在通道上出现了之前没有出现过的障碍物,该种情况可能会导致机器人的按照初始路径进行前行时被阻断。当遇到这种情况时,机器人会将该障碍物信息发送到服务器,供服务器计算出新的路径以指示移动终端进行前行,这也即是前文提到的现有技术,这会导致机器人浪费一定的时间进行等待。本实施方式中,第一机器人在根据初始路径进行前行的过程中,以实时的方式或是定期获取的方式或是被动接收的方式获取场地更新信息,根据场地更新信息优化所述初始路径得到优化路径。In step S130, the site update information is obtained, and the initial path is optimized according to the site update information to obtain an optimized path. Wherein, the site update information is shared information of the second robot, wherein the second robot is configured to move according to a corresponding movement path and can obtain current scene information. The site configuration information saved in the server is manually entered or pre-stored in other ways. In the actual management process, the actual situation in the site will change. For example, there is an obstacle on the channel that has not appeared before. This situation may cause the robot to be blocked when proceeding along the initial path. When encountering this situation, the robot will send the obstacle information to the server for the server to calculate a new path to instruct the mobile terminal to move forward. This is the prior art mentioned above, which will cause the robot Waste a certain amount of time waiting. In this embodiment, in the process of moving forward according to the initial path, the first robot obtains the site update information in real time or periodically or passively, and optimizes the initial path according to the site update information. Optimize the path.
其中,场地更新信息同样保存于服务器中。如前文所述,服务器可以为云端或是本地服务器,也可以将其他的机器人作为服务器。其中,服务器可以以中心式进行布局,也可以以无中心化进行布局,具体根据实际情况进行确定即可。Among them, the venue update information is also stored in the server. As mentioned earlier, the server can be a cloud or a local server, or other robots can be used as a server. Among them, the server can be arranged in a centralized manner, or in a non-centralized manner, and it can be determined according to the actual situation.
在一可选的实施方式中,共享信息通过第二机器人上传到服务器的初始场地信息中不包括的异常信息。具体地,在一个场地环境中,运行的机器人存在多个,每个机器人执行的任务、行进路线等可能存在不同,使得每个机器人可能遇到的情况也不同。本实施方式中,第二机器人在遇到障碍物等异常信息后,将该异常信息发送到服务器中。为了避免上传不必要的数据信息,第二机器人检测到异常信息后,会将该异常信息与已经获取到的初始场地信息进行比对,确定该异常信息不包括在初始场地信息,控制将该异常信息上传到服务器以形成场地更新信息。使得其他运行中的机器人可以从服务器中更新最新的场地信息,进一步使得其他机器人可以获得某个坐标点上有障碍物的信息,控制其他机器人规划路径的时候会考虑到此异常情况提前做规划,而不是按照初始场地信息确定路径或是按照初始路径进行前行。In an optional embodiment, the shared information is uploaded to the server by the second robot through abnormal information that is not included in the initial site information. Specifically, in a field environment, there are multiple robots running, and the tasks and travel routes performed by each robot may be different, so that each robot may encounter different situations. In this embodiment, after encountering abnormal information such as an obstacle, the second robot sends the abnormal information to the server. In order to avoid uploading unnecessary data information, after the second robot detects abnormal information, it will compare the abnormal information with the acquired initial site information, determine that the abnormal information is not included in the initial site information, and control the abnormal information. The information is uploaded to the server to form venue update information. Allows other robots in operation to update the latest site information from the server, and further enables other robots to obtain information about obstacles at a certain coordinate point. When controlling other robots to plan their paths, they will take this abnormal situation into consideration and plan ahead. Instead of determining the path according to the initial site information or proceeding according to the initial path.
在本实施方式中,所述第二机器人配置为根据相应的移动路径进行移动并可获取当前场景信息。举例而言,机器人在运行过程中遇到异常信息后,机器人将异常信息上传给服务器,将此信息分享,后续所有机器人都可以通过接收器从该服务器上获取到这个异常信息。本所述异常信息包括如下至少一种:移动路径上的障碍物;目标点处出现的障碍物;某个储位的商品缺货;某条通道拥堵;机器人电量、里程状态变化。In this embodiment, the second robot is configured to move according to a corresponding movement path and can obtain current scene information. For example, after the robot encounters abnormal information during its operation, the robot uploads the abnormal information to the server and shares this information. All subsequent robots can obtain the abnormal information from the server through the receiver. The abnormal information includes at least one of the following: obstacles on the moving path; obstacles appearing at the target point; a certain storage space is out of stock; a certain channel is congested; the robot's power and mileage status changes.
通过本实施方式,机器人上报共享信息给服务器的形式,除了上述直接向服务器服务发送以外,还可以直接存储到机器人上的分布式服务器节点上,然后等待分布式服务器节点,将信息同步给其他分布式服务器节点。从而达到将共享信息,同步到其他机器人的效果。当前机器人在行进的过程中,通过获取其他机器人检测到并上传的场地更新信息,以优化当前机器人的初始路径,以提取计算出规避该异常信息的优化路径,这样可以提高机器人的运行效率。Through this embodiment, the robot reports the shared information to the server. In addition to the above-mentioned direct sending to the server service, it can also be directly stored on the distributed server node on the robot, and then wait for the distributed server node to synchronize the information to other distributions. Server node. So as to achieve the effect of synchronizing shared information with other robots. When the current robot is traveling, it optimizes the initial path of the current robot by obtaining updated information about the site detected and uploaded by other robots, so as to extract and calculate an optimized path to avoid the abnormal information, which can improve the operating efficiency of the robot.
在一可选的实施方式中,所述第一机器人配置接收器,所述获取场地更新信息的步骤为通过所述接收器接收所述服务器通过广播发送的场地更新信息。其中,服务器可以通过http、WebSocket等形式将场地更新信息广播至第一机器人,第一机器人通过wifi、蓝牙和激光等通信方式获取该场地更新信息。In an optional implementation manner, the first robot is configured with a receiver, and the step of obtaining venue update information is to receive, through the receiver, the venue update information sent by the server through broadcast. Among them, the server can broadcast the venue update information to the first robot through http, WebSocket, etc., and the first robot obtains the venue update information through communication methods such as WiFi, Bluetooth, and laser.
在步骤S150中,根据所述优化路径控制所述第一机器人工作。In step S150, the first robot is controlled to work according to the optimized path.
具体地,第一机器人根据获取到的场地更新信息确定优化路径。使得机器人在自主规划路径的时候,根据当前接收到的最新信息重新考虑规划路径。机器人执行规划出的最优路径,同时在执行过程中机器人会不断同步最新的信息,不断依据当前最新信息来判断路径是否需要优化、更新,保证机器人行驶的线路、执行的任务一直是最优的。Specifically, the first robot determines the optimized path according to the obtained site update information. This allows the robot to reconsider the planning path according to the latest information currently received when planning the path autonomously. The robot executes the planned optimal path. At the same time, during the execution process, the robot will continuously synchronize the latest information, and constantly judge whether the path needs to be optimized and updated based on the current latest information, so as to ensure that the route of the robot travels and the tasks performed are always optimal .
通过上述实施方式,不但提供了第一机器人的工作效率,同时,避免了现有技术中,每一台机器人和服务器都是单独沟通,一条机器人汇报的异常情况不能被其他机器人共享,其他机器人会在不知晓这个异常情况的前提下去规划路由,然后再次遇到第一台的问题,这样的反复会造成效率的降低下。Through the above implementation, not only the work efficiency of the first robot is provided, but at the same time, it is avoided that in the prior art, each robot communicates with the server separately, and the abnormal situation reported by one robot cannot be shared by other robots. Plan the route without knowing the abnormal situation, and then encounter the problem of the first station again. Such repetition will result in a decrease in efficiency.
进一步地,为了减少机器人频繁地根据不同的场地更新信息重新计算路径而带来的数据处理压力,本申请提供的方法在根据所述场地更新信息优化所述初始路径得到优化路径的步骤之前,还包括:Further, in order to reduce the data processing pressure caused by the robot frequently recalculating the path according to the updated information of different venues, the method provided in this application optimizes the initial path according to the updated information of the venue before the step of obtaining the optimized path. include:
步骤S120,确定所述场地更新信息与所述初始路径相关联。Step S120, determining that the venue update information is associated with the initial path.
其中,与初始路径相关联是指会导致初始路径无法通行。其他机器人在行进时遇到的异常信息可能与第一机器人当前的初始路径不相关,也就是说,其他机器人遇到的异常信息并不会导致第一机器人无法前行或是无法完成任务,此时,第一机器人在接收到场地更新信息时,不做处理。只有当接收到的场地更新信息与初始路径相关联时,才执行根据场地更新信息优化所述初始路径得到优化路径。在本实施方式中,场地更新信息与所述初始路径相关联为所述场地更新信息位于所述初始路径所对应的初始路径信息中,举例而言,初始路径信息包括至少包括:构成初始路径的位置信息、商品信息、拥堵信息等。通过将场地更新信息与初始路径所对应的初始路径信息进行比对,如果该场地更新信息影响初始路径信息,则确定场景更新信息与初始路径相关联。Among them, being associated with the initial route means that the initial route will be impassable. The abnormal information encountered by other robots while traveling may not be related to the current initial path of the first robot. In other words, the abnormal information encountered by other robots will not cause the first robot to fail to move forward or complete the task. When the first robot receives the venue update information, it will not process it. Only when the received site update information is associated with the initial path, optimizing the initial path according to the site update information to obtain the optimized path is performed. In this embodiment, the venue update information is associated with the initial path, and the venue update information is located in the initial path information corresponding to the initial path. For example, the initial path information includes at least: Location information, product information, congestion information, etc. By comparing the site update information with the initial path information corresponding to the initial path, if the site update information affects the initial path information, it is determined that the scene update information is associated with the initial path.
图2为本申请实施例提供的一种机器人路径更新装置200,所述装置包括:FIG. 2 is a robot path updating device 200 provided by an embodiment of the application, and the device includes:
控制模块210,用于根据初始场地信息确定初始路径控制所述第一机器人工作;The control module 210 is configured to determine an initial path according to the initial site information to control the work of the first robot;
更新模块230,用于获取场地更新信息,根据场地更新信息优化所述初始路径得到优化路径,其中,所述场地更新信息为第二机器人的共享信息,其中,所述第二机器人配置为根据相应的移动路径进行移动并可获取当前场景信息;The update module 230 is configured to obtain site update information, and optimize the initial path according to the site update information to obtain an optimized path, where the site update information is shared information of a second robot, and the second robot is configured according to the corresponding Move through the moving path and obtain current scene information;
控制模块210,还用于根据所述优化路径控制所述第一机器人工作。The control module 210 is further configured to control the work of the first robot according to the optimized path.
可选地,根据初始场地信息确定初始路径控制所述第一机器人工作;获取场地更新信息,根据场地更新信息优化所述初始路径得到优化路径,其中,所述场地更新信息为所述初始场地信息不包括的信息;根据所述优化路径控制所述第一机器人工作。Optionally, determine an initial path according to initial site information to control the work of the first robot; obtain site update information, optimize the initial path according to the site update information to obtain an optimized path, wherein the site update information is the initial site information Information not included; controlling the work of the first robot according to the optimized path.
可选地,在所述根据所述场地更新信息优化所述初始路径得到优化路径的步骤之前,更新模块230,还用于确定所述场地更新信息与所述初始路径相关联。Optionally, before the step of optimizing the initial path according to the venue update information to obtain an optimized path, the update module 230 is further configured to determine that the venue update information is associated with the initial path.
可选地,所述确定所述场地更新信息与所述初始路径相关联为所述场地更新信息位于所述初始路径所对应的初始路径信息中。Optionally, the determining that the venue update information is associated with the initial path is that the venue update information is located in the initial path information corresponding to the initial path.
可选地,所述装置还包括获取模块,用于在所述根据初始场地信息确定初始路径控制所述第一机器人工作的步骤之前,确定所述第一机器人所对应的任务信息;根据所述任务信息从服务器中获取与所述任务信息对应的所述初始场地信息。Optionally, the device further includes an acquisition module, configured to determine the task information corresponding to the first robot before the step of determining the initial path according to the initial site information to control the work of the first robot; The task information obtains the initial venue information corresponding to the task information from the server.
可选地,所述共享信息为所述初始场地信息不包括的异常信息。Optionally, the shared information is abnormal information not included in the initial venue information.
可选地,所述异常信息包括如下至少一种:移动路径上的障碍物;目标点处出现的障碍物;某个储位的商品缺货;某条通道拥堵;机器人电量、里程状态变化。Optionally, the abnormal information includes at least one of the following: obstacles on the movement path; obstacles appearing at the target point; goods in a certain storage space are out of stock; a certain channel is congested; and changes in the power and mileage of the robot.
可选地,所述第一机器人配置接收器,所述获取场地更新信息的步骤为通过所述接收器接收所述服务器通过广播发送的场地更新信息。Optionally, the first robot is configured with a receiver, and the step of obtaining venue update information is to receive, through the receiver, the venue update information sent by the server by broadcasting.
通过上述机器人路径更新装置200,第一机器人通过获取初始场地信息,并确定初始路径后,根据该初始路径进行行进,在行进的过程中,获取场地更新信息,并根据场地更新信息对初始路径进行优化以得到优化路径,并根据该优化路径进行行进。通过此种方式,使得第一机器人可以获得其他机器人上传的共享信息,如第二机器人在行进过程中检测到的场景信息,提前获知初始路径中可能存在的异常信息,并确定出可以规避该异常信息的优化路径,以节省现有技术中,只有当遇到异常信息后才将该异常信息进行上报并等待上报后的处理结果所浪费的时间,进而提高了工作效率。Through the above robot path updating device 200, the first robot obtains the initial site information and determines the initial path, and then proceeds according to the initial path. In the process of traveling, the site update information is obtained, and the initial path is performed according to the site update information. Optimize to obtain an optimized path, and proceed according to the optimized path. In this way, the first robot can obtain the shared information uploaded by other robots, such as the scene information detected by the second robot during its travel, and know the possible abnormal information in the initial path in advance, and determine that the abnormality can be avoided The optimized path of the information saves the time wasted in the prior art that reports the abnormal information only after encountering the abnormal information and waits for the reported processing result, thereby improving work efficiency.
图3为本申请实施例提供的电子设备300的结构组成示意图,电子设备300包括:处理器310;存储器330,与所述处理器310连接,所述存储器330包含控制指令,当所述处理器310读取所述控制指令时,控制所述电子设备300实现如下步骤:3 is a schematic diagram of the structural composition of an electronic device 300 provided by an embodiment of the application. The electronic device 300 includes: a processor 310; a memory 330 connected to the processor 310. The memory 330 contains control instructions. When 310 reads the control instruction, the electronic device 300 is controlled to implement the following steps:
根据初始场地信息确定初始路径控制所述第一机器人工作;获取场地更新信息,根据场地更新信息优化所述初始路径得到优化路径,其中,所述场地更新信息为第二机器人的共享信息,其中,所述第二机器人配置为根据相应的移动路径进行移动并可获取当前场景信息。Determine an initial path according to the initial site information to control the work of the first robot; obtain site update information, optimize the initial path according to the site update information to obtain an optimized path, wherein the site update information is shared information of the second robot, wherein, The second robot is configured to move according to a corresponding movement path and can obtain current scene information.
可选地,所述根据所述场地更新信息优化所述初始路径得到优化路径的步骤之前,还包括:确定所述场地更新信息与所述初始路径相关联。Optionally, before the step of optimizing the initial path according to the venue update information to obtain the optimized path, the method further includes: determining that the venue update information is associated with the initial path.
可选地,所述确定所述场地更新信息与所述初始路径相关联为所述场地更新信息位于所述初始路径所对应的初始路径信息中。Optionally, the determining that the venue update information is associated with the initial path is that the venue update information is located in the initial path information corresponding to the initial path.
可选地,所述根据初始场地信息确定初始路径控制所述第一机器人工作的步骤之前,还包括:确定所述第一机器人所对应的任务信息;根据所述任务信息从服务器中获取与所述任务信息对应的所述初始场地信息。Optionally, before the step of determining an initial path to control the work of the first robot according to the initial site information, the method further includes: determining task information corresponding to the first robot; and obtaining information from the server according to the task information. The initial site information corresponding to the task information.
可选地,所述共享信息为所述初始场地信息不包括的异常信息。Optionally, the shared information is abnormal information not included in the initial venue information.
可选地,所述异常信息包括如下至少一种:移动路径上的障碍物;目标点处出现的障碍物;某个储位的商品缺货;某条通道拥堵;机器人电量、里程状态变化。Optionally, the abnormal information includes at least one of the following: obstacles on the movement path; obstacles appearing at the target point; goods in a certain storage space are out of stock; a certain channel is congested; and changes in the power and mileage of the robot.
可选地,所述第一机器人配置接收器,所述获取场地更新信息的步骤为通过所述接收器接收所述服务器通过广播发送的场地更新信息。Optionally, the first robot is configured with a receiver, and the step of obtaining venue update information is to receive, through the receiver, the venue update information sent by the server by broadcasting.
通过上述电子设备300,第一机器人通过获取初始场地信息,并确定初始路径后,根据该初始路径进行行进,在行进的过程中,获取场地更新信息,并根据场地更新信息对初始路径进行优化以得到优化路径,并根据该优化路径进行行进。通过此种方式,使得第一机器人可以获得其他机器人上传的共享信息,如第二机器人在行进过程中检测到的场景信息,提前获知初始路径中可能存在的异常信息,并确定出可以规避该异常信息的优化路径,以节省现有技术中,只有当遇到异常信息后才将该异常信息进行上报并等待上报后的处理结果所浪费的时间,进而提高了工作效率。Through the above electronic device 300, the first robot obtains the initial site information and determines the initial path, and then travels according to the initial path. During the travel, the site update information is obtained, and the initial path is optimized according to the site update information. Obtain the optimized path, and proceed according to the optimized path. In this way, the first robot can obtain the shared information uploaded by other robots, such as the scene information detected by the second robot during its travel, and know the possible abnormal information in the initial path in advance, and determine that the abnormality can be avoided The optimized path of the information saves the time wasted in the prior art that reports the abnormal information only after encountering the abnormal information and waits for the reported processing result, thereby improving work efficiency.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质有一个或多个程序,一个或多个程序被一个或多个处理器执行,以实现如下步骤:The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium has one or more programs, and the one or more programs are executed by one or more processors to implement the following steps:
根据初始场地信息确定初始路径控制所述第一机器人工作;获取场地更新信息,根据场地更新信息优化所述初始路径得到优化路径,其中,所述场地更新信息为第二机器人的共享信息,其中,所述第二机器人配置为根据相应的移动路径进行移动并可获取当前场景信息;根据所述优化路径控制所述第一机器人工作。Determine an initial path according to the initial site information to control the work of the first robot; obtain site update information, optimize the initial path according to the site update information to obtain an optimized path, wherein the site update information is shared information of the second robot, wherein, The second robot is configured to move according to a corresponding movement path and can obtain current scene information; and control the work of the first robot according to the optimized path.
可选地,所述根据所述场地更新信息优化所述初始路径得到优化路径的步骤之前,还包括:确定所述场地更新信息与所述初始路径相关联。Optionally, before the step of optimizing the initial path according to the venue update information to obtain the optimized path, the method further includes: determining that the venue update information is associated with the initial path.
可选地,所述确定所述场地更新信息与所述初始路径相关联为所述场地更新信息位于所述初始路径所对应的初始路径信息中。Optionally, the determining that the venue update information is associated with the initial path is that the venue update information is located in the initial path information corresponding to the initial path.
可选地,所述根据初始场地信息确定初始路径控制所述第一机器人工作的步骤之前,还包括:确定所述第一机器人所对应的任务信息;根据所述任务信息从服务器中获取与所述任务信息对应的所述初始场地信息。Optionally, before the step of determining an initial path to control the work of the first robot according to the initial site information, the method further includes: determining task information corresponding to the first robot; and obtaining information from the server according to the task information. The initial site information corresponding to the task information.
可选地,所述共享信息为所述初始场地信息不包括的异常信息。Optionally, the shared information is abnormal information not included in the initial venue information.
可选地,所述异常信息包括如下至少一种:移动路径上的障碍物;目标点处出现的障碍物;某个储位的商品缺货;某条通道拥堵;机器人电量、里程状态变化。Optionally, the abnormal information includes at least one of the following: obstacles on the movement path; obstacles appearing at the target point; goods in a certain storage space are out of stock; a certain channel is congested; and changes in the power and mileage of the robot.
可选地,所述第一机器人配置接收器,所述获取场地更新信息的步骤为通过所述接收器接收所述服务器通过广播发送的场地更新信息。Optionally, the first robot is configured with a receiver, and the step of obtaining venue update information is to receive, through the receiver, the venue update information sent by the server by broadcasting.
通过上述计算机可读存储介质,第一机器人通过获取初始场地信息,并确定初始路径后,根据该初始路径进行行进,在行进的过程中,获取场地更新信息,并根据场地更新信息对初始路径进行优化以得到优化路径,并根据该优化路径进行行进。通过此种方式,使得第一机器人可以获得其他机器人上传的共享信息,如第二机器人在行进过程中检测到的场景信息,提前获知初始路径中可能存在的异常信息,并确定出可以规避该异常信息的优化路径,以节省现有技术中,只有当遇到异常信息后才将该异常信息进行上报并等待上报后的处理结果所浪费的时间,进而提高了工作效率。Through the above-mentioned computer-readable storage medium, the first robot obtains the initial site information and determines the initial path, and then proceeds according to the initial path. In the process of traveling, it obtains the site update information and performs the initial path according to the site update information. Optimize to obtain an optimized path, and proceed according to the optimized path. In this way, the first robot can obtain the shared information uploaded by other robots, such as the scene information detected by the second robot during its travel, and know the possible abnormal information in the initial path in advance, and determine that the abnormality can be avoided The optimized path of the information saves the time wasted in the prior art that reports the abnormal information only after encountering the abnormal information and waits for the reported processing result, thereby improving work efficiency.
本申请实施例还提供了一种计算机可读存储介质。这里的计算机可读存储介质存储有一个或者多个程序。其中,计算机可读存储介质可以包括易失性存储器,例如随机存取存储器;存储器也可以包括非易失性存储器,例如只读存储器、快闪存储器、硬盘或固态硬盘;存储器还可以包括上述种类的存储器的组合。The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium here stores one or more programs. The computer-readable storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state hard disk; and the memory may also include the above types. The combination of memory.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本申请的保护之内。The embodiments of the present application are described above with reference to the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, and these are all within the protection of this application.