Robot calling method, robot calling device, management system and storage medium

By monitoring idle robots and forming a call list based on job priorities, efficient allocation and call of robot resources is achieved, solving the problems of system busyness and low efficiency in the existing technology, and improving system stability and efficiency.

CN113268331BActive Publication Date: 2024-09-17XIAN YOUIBOT ROBOTICS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110626939.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-04
Publication Date
2024-09-17
Estimated Expiration
2041-06-04

AI Technical Summary

Technical Problem

Existing robot scheduling methods cause the system to be too busy during task execution, which increases the system operating load and reduces work efficiency. There is an urgent need for a method to improve robot calling efficiency and system stability.

Method used

Obtain the list of jobs to be executed by monitoring idle robots, form a robot call list based on job priority and robot status, and send jobs to the corresponding robots in parallel in a multi-threaded manner to ensure that resource calls are completed after the job is completed, avoiding frequent and useless data interactions. .

Benefits of technology

This improves the efficiency of robot resource allocation, improves system stability, avoids unnecessary robot calls after completion of allocation, and reduces data interaction load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113268331B
    Figure CN113268331B
Patent Text Reader

Abstract

The present application discloses a robot calling method, the method comprising: when an idle robot is detected, obtaining a list of jobs to be executed; according to the jobs included in the list of jobs to be executed and the idle robot, obtaining a robot calling list corresponding to the list of jobs to be executed, wherein the robot calling list is obtained based on the idle robot; traversing the robot calling list, sending the corresponding jobs to the robots included in the robot calling list in parallel in a multi-threaded manner, and determining that the robot calling is completed when it is determined that the robot jobs included in the robot calling list have been sent. The present application also provides a robot calling device, a management system, and a computer-readable storage medium. It is achieved that when calling robot resources, the resource allocation efficiency is improved and frequent and useless data interactions are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of artificial intelligence control and robot calling control, and in particular to a robot calling method, a robot calling device, a management system and a computer-readable storage medium. Background Art

[0002] With the development and continuous improvement of artificial intelligence technology, intelligent robots are increasingly being used in people's lives and work. For example, in the field of firefighting, they can replace firefighters to complete dangerous tasks, and in other cases, they can replace people to complete daily work to improve daily work efficiency.

[0003] When controlling the robot to complete related work, it is necessary to reasonably control and plan the robot in order to reasonably and quickly complete the execution of the required tasks. In other words, a reasonable resource scheduling of the robot is very necessary.

[0004] In the existing robot scheduling, when there is a task that needs to be completed, the corresponding robot will be selected from the robot library according to the robot's own status to perform the task to be completed, resulting in the robot's resources being called as long as there is a job that needs to be assigned, making the system too busy, increasing the system's operating load, and at the same time low work efficiency.

[0005] Therefore, there is an urgent need for a robot calling method that can improve the efficiency of robot calling and improve the stability of system operation. Summary of the invention

[0006] The present application provides a robot calling method, a robot calling device, a management system and a computer-readable storage medium to achieve fast and accurate completion of robot resource allocation and robot calling, and improve the stability of system operation.

[0007] In a first aspect, the present application provides a robot calling method, the method comprising:

[0008] When an idle robot is detected, a list of jobs to be executed is obtained;

[0009] According to the jobs included in the list of jobs to be executed and the idle robots, a robot calling list corresponding to the list of jobs to be executed is obtained, wherein the robot calling list is obtained based on the idle robots;

[0010] The robot calling list is traversed, corresponding jobs are sent to the robots included in the robot calling list in parallel in a multi-threaded manner, and the robot calling is determined to be completed when it is determined that the sending of the robot jobs included in the robot calling list is completed.

[0011] In a second aspect, the present application also provides a robot calling device, which includes a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program and implement the robot calling method described above when executing the computer program.

[0012] In a third aspect, the present application also provides a management system, which includes a number of robots and a robot calling device as described above.

[0013] In a fourth aspect, the present application also provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, enables the one or more processors to perform the steps of the robot calling method described above.

[0014] In the robot calling method described in this application, when the robot is idle, it will feedback to the system. When the system detects the existence of a new idle robot, it will obtain the corresponding number of jobs with higher priority in the system according to the idle robot to form a list of jobs to be executed, and then cyclically screen among the idle robots to determine the robot that can be used to perform the job, and then send the corresponding job information to the corresponding robot, so that after the allocation is completed, the robot is controlled to execute and complete the corresponding job. In the process of robot resource calling, the allocation of jobs is realized through the resources of the robot, which improves the efficiency of robot resource allocation. At the same time, when a distribution is completed and there is no new idle robot, the robot call is not performed, avoiding frequent and useless data interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0016] Figure 1 A schematic block diagram of a management system provided in one embodiment of the present application;

[0017] Figure 2 A schematic diagram of a flow chart of a robot calling method provided in one embodiment of the present application;

[0018] Figure 3 A flowchart of a method for generating a job priority list provided in one embodiment of the present application;

[0019] Figure 4 A flowchart of the steps of obtaining a list of jobs to be executed provided in an embodiment of the present application;

[0020] Figure 5 A flowchart of steps for obtaining a robot call list provided in one embodiment of the present application;

[0021] Figure 6 A flowchart of steps for determining a first robot is provided for an embodiment of the present application;

[0022] Figure 7 A schematic block diagram of the structure of a robot calling device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0024] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0025] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0026] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0027] Embodiments of the present application provide a robot calling method, a robot calling device, a management system, and a storage medium to improve indoor positioning accuracy.

[0028] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0029] See also Figure 1 , Figure 1 A block diagram of a management system provided for one embodiment of the present application.

[0030] Specifically, the system includes a number of robots and a robot calling device. In actual applications, when there are jobs to be executed in the management system, it is necessary to call and allocate corresponding robots to the jobs to be executed to complete the corresponding jobs. However, there are not always idle robots to complete the execution of the jobs to be executed. Therefore, it is first determined whether there are idle robots, and then when it is determined that there are idle robots, the corresponding jobs to be executed are selected, and then the idle robots are used to complete the allocation and calling of the jobs determined at this time, and when the allocation and calling are completed, the robots are made to execute and complete the jobs.

[0031] In the management system corresponding to the present application, the management system 100 includes several robots, such as a first robot 101, a second robot 102...the Nth robot 10n, and a robot calling device 10. The management system 100 records the status information of all robots, wherein the status information includes an idle state and a non-idle state. When the robot switches between the above two states, the robot will feedback to the management system, and the management system updates the status information of the robot based on this. When the robot state is updated from a non-idle state to an idle state, the calling device 10 calls the idle robot for the job, obtains a job list with the same number of jobs as the number of idle robots, and then selects a robot from the idle robots to complete each job in the job list.

[0032] See also Figure 2 , Figure 2 A flowchart of a robot calling method provided for one embodiment of the present application, which method can be applied to the above-mentioned robot calling device.

[0033] Step S201: When an idle robot is detected, a list of jobs to be executed is obtained.

[0034] When calling and assigning tasks to robots, users can perform corresponding operations on the relevant systems to call and control the robots, so that the robots can complete the tasks and things that users want to complete. Therefore, when it is necessary to call the robots, the system will receive the job information input by the users through relevant operations to know the jobs that the users want to complete, and then determine which robot or robots are currently selected as the target robots for executing the jobs according to the jobs that need to be completed.

[0035] In actual applications, when users need to complete a job, they will upload it to the system so that the system can reasonably select and arrange the corresponding robot to complete the job, so that there will be many different jobs in the system that need to be executed by the corresponding robots. When the system detects the existence of idle robots, it will first select and determine the current job that can be executed in the system, and then assign the idle robots to different tasks.

[0036] When determining whether there is an idle robot, the system will determine it based on the information received. For example, the robot automatically uploads its own working status to the system. For example, when a new robot enters the system, the robot's working status and related information are uploaded manually, or the robot uploads it automatically.

[0037] It should be noted that when an idle robot is detected, it is also necessary to determine whether the corresponding map has been loaded in the system, that is, to determine whether there is an enabled map in the system, wherein the map exists in the system and is used to implement path planning for robots assigned with tasks. The map can be an actual spatial map or a directed weighted graph based on the spatial map. At the same time, all maps for robot path planning are stored in the system, but the system does not load and use maps all the time, and only loads maps when maps are needed for path planning and other purposes.

[0038] In actual applications, since the robot can only plan the path to complete the job information received by the robot when there is an activated map in the system, that is, the robot cannot complete the assigned job at this time, therefore, when no map information is loaded in the system, the robot will not be called.

[0039] Since there are multiple jobs recorded and included in the system, it is not necessarily possible to assign every job to a robot when calling a robot. Therefore, when it is determined that there is an idle robot, it is necessary to reasonably select the job currently being assigned. Figure 3 , Figure 3 A flowchart of a method for generating a job priority list provided in one embodiment of the present application.

[0040] Step S301: when receiving an uploaded job to be executed, identifying tag information and / or uploaded time of the job to be executed;

[0041] Step S302: Obtaining priority information of the job to be executed according to the tag information and / or the uploaded time;

[0042] Step S303: Update the pre-stored job priority list, and record the priority information of the job to be executed in the updated job priority list.

[0043] When determining that there is an idle robot and then selecting the corresponding job to be executed to call the idle robot, it is necessary to determine which jobs are currently assigned to the robot, so the jobs uploaded to the system need to be processed accordingly in advance.

[0044] Specifically, when an uploaded job to be executed is received, the label information corresponding to the job to be executed and the upload time are identified, where the label information can be an urgency of the job marked manually, and the urgency can be described in words as "urgent" and "none" (none means no urgent need), or it can be a number representing the urgency (for example, 100 is the full value, and the larger the number, the more urgent it is). There is no restriction here. When obtaining the label information of the job to be executed, the upload time when the job was uploaded will also be obtained. In actual applications, the longer the upload time of a job, the more priority the job should be given at this time. For example, if the upload time of a job is 8:30, and the current time is 17:37 on the same day, it means that the job needs to be processed first, that is, the priority of the job will become higher at this time.

[0045] After obtaining the tag information and uploaded time of the job to be executed, the current time will be obtained, and then the priority information of the job to be executed will be obtained according to the current time, tag information and uploaded time, wherein the priority information can be directly expressed in numbers or words. When obtaining the priority information of the job to be executed, it can be obtained through corresponding calculations. Specifically, since the priority information is obtained according to the current time, tag information and uploaded time, the corresponding weight and corresponding conditions can be set for each factor when constructing the corresponding calculation method.

[0046] For example, when the emergency information recorded in the tag information is higher than the set threshold, there is no need to consider the current time and the uploaded time, and the priority information of the job to be executed can be directly set to a higher priority. For example, when the emergency information recorded in the tag information is the highest level of "urgent", the priority information of the job to be executed can be directly set to the first priority.

[0047] When the emergency information recorded in the tag information is a general emergency state, the set calculation formula is used for calculation, for example, the calculation formula may be G=ax+by+cz, wherein G represents the priority information, x, y, and z represent the current time, tag information, and uploaded time, respectively, and a, b, and c are three weight values, a, b, and c may be 0, and a+b+c=1. The current time, tag information, and uploaded time are quantified into corresponding numbers, and then the priority value is obtained by calculation to determine the priority information of the job to be executed.

[0048] When setting the weight values ​​of different factors, if b is 0, and a and c are not 0, it means that the current time information and the uploaded time are combined to determine the priority information; if c is 0, and a and b are not 0, it means that the current time information and the note information are combined to determine the priority information; if a, b and c are all not 0, it means that the current time information, the tag information and the uploaded time are combined to determine the priority information.

[0049] In one embodiment, while determining the priority information of the uploaded job to be executed, since there is a new job uploaded, it is also necessary to update the pre-stored job priority list, and then record the priority information of the job to be executed uploaded at this time in the updated job priority list, wherein the job priority list may be as shown in the following Table 1;

[0050] Table 1

[0051] Job Information Priority information (maximum value is 100) Assignment 1 50 Assignment 2 36 Assignment 3 92 ...... ......

[0052] In this table, the size of numbers is used to represent the priority information of different jobs. As shown in Table 1 above, when there is an idle robot, it is prioritized to determine whether the idle robot can be called to perform job 3.

[0053] It should be noted that when the job priority list is updated, the priorities corresponding to the recorded jobs are recalculated, and then the newly received pending jobs and the corresponding priority information can be recorded in the job priority list. When there are no new pending jobs uploaded, when the job priority list is updated according to the passage of time, it will not affect the priority order of the jobs contained therein, so the job priority list can be left unchanged, and will only be recalculated and updated when new jobs are uploaded.

[0054] In one embodiment, the job priority list is used to determine which tasks to assign to the robot when there are idle robots. Therefore, when it is determined that there are idle robots, the list of jobs to be executed will be obtained according to the recorded and stored job priority list.

[0055] Reference Figure 4 , Figure 4 A flowchart of the steps of obtaining a list of jobs to be executed provided in one embodiment of the present application.

[0056] This step includes step S401 to step S402.

[0057] Step S401: when it is detected that there are idle robots, determine a first number corresponding to the idle robots;

[0058] Step S402: read the job priority list, and select a first number of jobs in the job priority list according to the priorities from high to low, so as to form a list of jobs to be executed.

[0059] When it is detected that there are idle robots, the idle robots at this time will be controlled to complete the jobs that need to be completed in the system. Therefore, it is necessary to select the corresponding jobs in the system, and then call and allocate the robots. Specifically, when it is detected that there are idle robots, the number of idle robots is determined, that is, the first number corresponding to the idle robots is obtained, and then the job priority list recorded and stored in advance is read to select the first number of jobs in the job priority list as the jobs to be executed, thereby forming a list of jobs to be executed.

[0060] In one embodiment, the job priority list records the priority information corresponding to each job, and different priorities indicate the urgency of the job. Therefore, when selecting and determining the job to be executed in the job priority list, the job is selected from the highest priority to the lowest priority. At the same time, the number of selected jobs is the same as the number of idle robots. That is, when the number of idle robots is N, the number of selected jobs is also N, and is obtained by selecting from the highest priority to the lowest priority.

[0061] When forming a list of jobs to be executed, the list can record the priority information corresponding to each job, and can also be directly arranged according to the priority level, such as placing the first priority job at the first in the list, so that when allocating robots, the selection and allocation of robots can be completed first for jobs with higher priority.

[0062] Step S202: Determine a robot calling list corresponding to the list of jobs to be executed according to the jobs included in the list of jobs to be executed and the idle robots, wherein the robot calling list is obtained based on the idle robots.

[0063] After obtaining the list of pending jobs, the corresponding robots will be assigned to the jobs included in the list of pending jobs, and then the corresponding robots will be controlled to complete the execution of the assigned tasks. Specifically, after obtaining the list of pending jobs, according to the jobs included in the list of pending jobs and the relevant information of the idle robots monitored at this time, the corresponding robot call list is determined at this time, wherein the robot call list contains information of the robots used to perform the jobs, such as identification information.

[0064] In one embodiment, when a list of jobs to be executed is obtained, it is determined that robots will be assigned to the jobs included in the list of jobs to be executed. When assigning robots, it is implemented based on actual job information and robot information, where the job information may include job type, job duration, job path, etc., and the robot information may include robot type, robot number, robot group, robot position, etc.

[0065] For example, when allocating robots according to actual job information and robot information, the job information and robot information can be directly matched and screened, and then the robot that meets all the job information can be selected as the robot that can perform the corresponding job. In addition, several important conditions can be selected as the basis for robot selection and judgment. For example, when determining that the job type and robot type match, different weights are set for some of the parameters, and the robot used to perform the job at this time is determined by calculating the weight value.

[0066] In actual applications, the list of jobs to be executed is determined based on the job information and priority level of the job, that is, there may be a situation where the robot does not match all the jobs in the list of jobs to be executed, where the robot and the job do not match each other may be that the job type does not match the robot type, or that the weight value obtained when calculating the weight for robot selection is too low (lower than the set threshold), or that there is no robot matching the job among the idle robots when performing conditional screening. In this case, the robot will not be assigned a job, that is, only some jobs will be assigned to robots. Therefore, when assigning robots to jobs, there may be a situation where one or some jobs in the list of jobs to be executed are not assigned to suitable robots, that is, some robots will remain idle after the assignment is completed.

[0067] The specific process of obtaining the robot call list is as follows Figure 5 As shown, Figure 5 A flowchart of the steps for obtaining a robot call list provided in one embodiment of the present application.

[0068] This step includes step S501 to step S503.

[0069] Step S501: Select a first priority job in the list of jobs to be executed, select a corresponding first robot from the idle robots according to the first priority job, and delete the first robot from the idle robots;

[0070] Step S502: Select a second priority job in the list of jobs to be executed, and select a corresponding second robot from the idle robots after deleting the first robot according to the second priority job, and so on to determine the robot corresponding to the last job in the list of jobs to be executed;

[0071] Step S503: When the robot corresponding to the last job in the list of jobs to be executed is determined, the robots corresponding to each job in the list of jobs to be executed are summarized to obtain a robot calling list.

[0072] When determining the robot call list, first determine the robots corresponding to different jobs. After determining the robots corresponding to each job included in the list of jobs to be executed, the set of robots determined to perform the task is the robot call list obtained at this time.

[0073] When determining the robot corresponding to each job in the list of jobs to be executed, the priority of the job is determined. For example, the robot allocation is given priority to the job with a higher priority. Therefore, when allocating robots, the first priority job is first selected in the list of jobs to be executed, where the first priority job is the job with the highest priority in the list of jobs to be executed. Then, according to the obtained first priority job, the idle robots are selected and determined to obtain the first robot that can be used to execute the first priority job with the best performance. At the same time, after the first robot is determined in the idle robots, the first robot will not be allocated to other jobs in this robot allocation process, that is, in this robot allocation process, a robot can only be called to execute one of the jobs. Therefore, after the first robot corresponding to the first priority job is determined, the first robot will not be considered when the robot is allocated to the second priority job, that is, the first robot will be deleted from the idle robots to obtain a new idle robot set.

[0074] The method of calling robots for other jobs in the list of pending jobs is the same as the method of determining the robot corresponding to the first priority job, except that there may be different robots included in the idle robots. After determining that the robot call for the last job in the list of pending jobs is completed, the call is determined to be completed, and the robots corresponding to each job in the pending job category are summarized to obtain a robot call list.

[0075] It should be noted that, in the robot call list obtained at this time, each robot contained therein will be assigned a corresponding job, but not all jobs in the list of jobs to be executed will be assigned a corresponding robot, as shown in the following Table 2;

[0076] Table 2

[0077]

[0078] For example, if the number of idle robots is 10 and they are arranged by priority, the number of jobs included in the job list to be executed is also 10. When allocating robots, there are no robots in the idle robot list that meet the job types of jobs 2, 3, and 7, so robots cannot be allocated for these three tasks. The robot call list obtained at this time can be shown in Table 3 below;

[0079] Table 3

[0080] Robot Information Tasks to be performed Robot 1 Assignment 1 Robot 2 Assignment 8 Robot 3 Assignment 4 Robot 4 Assignment 9 Robot 5 Assignment 5 Robot 8 Homework 10 Robot 10 Assignment 6

[0081] The robot calling list is obtained to facilitate the publishing of job information to the robot that can currently be used to execute the job. When publishing job information to all robots included in the robot calling list, there is no need to consider the priority of the job, but it is sent to each robot simultaneously through multiple threads.

[0082] In the above calling process, 3 robots out of 10 idle robots are not called because they have no suitable jobs. At this time, these 3 robots are still idle robots. After the calling of 7 robots is completed, the idle robots that exist at this time will not be called again, because in the actual calling, when determining the jobs to be executed according to the job priority, the 3 jobs obtained at this time are still 3 jobs that are not suitable for these 3 robots. If the calling is continued at this time, it is obvious that the allocation of jobs and the scheduling of robots will not be completed.

[0083] Therefore, after completing a call, the robot call will be terminated, and when a new idle robot is determined in the system, the robot call will be executed again. At the same time, when there is an idle robot, after receiving a new job in the system, the robot call will be performed again.

[0084] In one embodiment, when determining the robot corresponding to each job in the list of jobs to be executed, the robot is determined based on the job information and the robot information, and a robot with a smaller cost is selected from the idle robots as the robot corresponding to the job, referring to Figure 6 , Figure 6 A flowchart of steps for determining a first robot is provided for one embodiment of the present application.

[0085] This step includes step S601 to step S603.

[0086] Step S601: identifying a job identifier corresponding to the first priority job, so as to obtain a first set of robots whose robot identifiers correspond to the job identifier from among the idle robots;

[0087] Step S602: Analyze the first priority job to determine whether the first job included in the first priority job is a mobile job;

[0088] Step S603: When it is determined that the first operation is a moving operation, a robot with the smallest moving cost is selected from the first robot set according to the first operation as the first robot.

[0089] When determining the first robot corresponding to the first priority job in the jobs to be executed in the idle robots, first identify the job identifier corresponding to the first priority job, and then obtain the first robot set corresponding to the robot identifier and the job identifier in the idle robots, wherein the job identifier and the robot identifier can be set to the same identifier, for example, the job identifier can be handling, picking up or navigation, and the robot can also be divided into a handling robot, a picking up robot or a navigation robot according to its function, so the robot identifier can also be set to handling, picking up and navigation. Of course, in actual application, the corresponding identifier can be set according to the use and operation of the robot.

[0090] After determining the job identifier corresponding to the first priority job, a match will be made among the idle robots according to the job identifier. Since there may be multiple robots with the same identifier among the idle robots, a first robot set will be obtained. The number of robots included in the first robot set is arbitrary, and can be zero or any number other than zero, but will not be greater than the number of idle robots.

[0091] Exemplarily, when the number of robots included in the first robot set is zero, it indicates that there is no robot among the idle robots that is suitable for executing the first priority job; similarly, when the number is not zero, it indicates that there is a robot that is suitable for executing the first priority job.

[0092] After obtaining the first robot set and when it is determined that the number of the first robot set is not zero, the first priority job will be analyzed to determine whether the first job included in the first priority job is a mobile job. Then, when it is determined to be a mobile job, the mobile cost of each robot in the first robot set is determined according to the mobile job, and then the robot with the smallest mobile cost is selected as the first robot.

[0093] It should be noted that when controlling a robot to complete a task, there may be a situation where the robot needs to be controlled to move to a specific position before starting to execute and complete the task. In this case, after the robot is determined, the robot is first controlled to move to the set specific position, and then the task received by the robot is started. Since the robot needs to move before executing the task, the robot movement before executing the task needs to be considered when selecting the robot. For the situation where the robot needs to be controlled to move to a specific position before executing the task, it means that the first task of the task is a moving task.

[0094] In practical applications, when analyzing the first priority job, determine whether the first job it contains is a mobile job. For example, a specific starting point is set in the job task, which means that the robot needs to be controlled to reach a specific position before the job can be started.

[0095] When determining that the first operation is a moving operation, the moving cost of each robot in the first robot set completing the moving operation is calculated to determine which robot is selected as the first robot. When calculating the cost of each robot completing the moving operation, the time corresponding to each robot reaching the moving operation can be calculated to determine.

[0096] In one embodiment, when calculating the cost of each robot in the first robot combination, a dynamic job allocation algorithm (D start Lite) can be used to implement it. This calculation method can quickly determine the first robot. When determining the first robot, by calculating the cost of each robot in the candidate robots when it runs to the stop position of the first job (moving job), since the target point (stop position) is fixed, this method is used to calculate the cost of the robot.

[0097] For example, assuming that the path corresponding to the first job has several consecutive points numbered 1, 2, 3, ..., n, the cost calculation formula is:

[0098]

[0099] The angle rotation cost of the line i, i+1, i+2.

[0100] Based on the above method, the cost of each robot in the first robot set when completing the first task can be calculated, and then the first robot is determined according to the calculated cost. It should be noted that in addition to the above method, other methods can be used to calculate the cost of the robot, which is not limited here.

[0101] For each job in the list of jobs to be executed, the above-described method can be used to determine the corresponding robot, by calculating the cost value, and then selecting the robot corresponding to the minimum cost value as the current corresponding robot.

[0102] Step S203, traverse the robot calling list, send corresponding jobs to the robots included in the robot calling list in parallel in a multi-threaded manner, and determine that the robot calling is completed when it is determined that the sending of the robot jobs included in the robot calling list is completed.

[0103] After the robot call list is determined and obtained, that is, after the robot allocation for the jobs included in the list of jobs to be executed is completed, the corresponding job information will be sent to the corresponding robot, so that the robot will execute the received job. Specifically, the obtained robot call list is traversed so that each robot in the robot call list is configured with the corresponding job information, and when it is determined that the robots included in the robot call list have sent the corresponding job information, it is determined that the robot call is completed, that is, the robot resource call is ended.

[0104] When the sending of job information to all robots in the robot calling list is completed, it includes: traversing the robot calling list to select a robot in the robot calling list, and reading the job identifier associated with the selected robot; reading the job information corresponding to the associated job identifier to send the job information to the selected robot, and deleting the selected robot from the robot calling list when it is determined that the job sending is completed, and so on until the robot calling list is empty; when it is determined that the robot calling list is empty, it is determined that the robot calling is completed.

[0105] When traversing the robot call list, select any robot, then read the job tag associated with the selected robot, read the job information corresponding to the job tag, and then send the read job information to the selected robot. At the same time, when the job information is sent, the robot is deleted from the robot call list, that is, it is guaranteed that the robot in the robot call list is a robot that can be used to perform the job but has not received the job information. By publishing the robot's job information, each robot receives the corresponding job information and then completes the corresponding job.

[0106] In the robot calling method, device, system and storage medium described above, when a new idle robot is detected in the system, a corresponding number of jobs with higher priority are obtained in the system according to the idle robot to form a list of jobs to be executed, and then the idle robots are cyclically screened to determine the robot that can be used to perform the job, and then the corresponding job information is sent to the corresponding robot, so that after the allocation is completed, the robot is controlled to execute and complete the corresponding job. In the process of robot resource calling, the allocation of jobs is realized through the resources of the robot, and the efficiency of robot resource allocation is improved. At the same time, when an allocation is completed and there is no new idle robot, the robot call is not performed, avoiding frequent and useless data interaction.

[0107] like Figure 7 As shown, Figure 7 A schematic block diagram of the structure of a robot calling device provided in one embodiment of the present application. The robot calling device 10 includes a memory 11 and a processor 12, the processor 11 and the memory 12 are connected via a system bus 13, wherein the memory 11 may include a non-volatile storage medium and an internal memory.

[0108] The non-volatile storage medium can store a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor 11 can execute any robot calling method.

[0109] The processor 12 is used to provide computing and control capabilities to support the operation of the entire cloud server.

[0110] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any robot calling method.

[0111] Those skilled in the art will understand that Figure 7The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the terminal to which the scheme of the present application is applied. The specific terminal may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0112] It should be understood that the processor 12 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor 12 may be a microprocessor or any conventional processor, etc.

[0113] In one embodiment, the memory stores a computer program, and when the computer program is executed by the processor 12, the processor implements the following steps when executing the computer program:

[0114] When an idle robot is detected, a list of jobs to be executed is obtained;

[0115] According to the jobs included in the list of jobs to be executed and the idle robots, a robot calling list corresponding to the list of jobs to be executed is obtained, wherein the robot calling list is obtained based on the idle robots;

[0116] The robot calling list is traversed, corresponding jobs are sent to the robots included in the robot calling list in parallel in a multi-threaded manner, and the robot calling is determined to be completed when it is determined that the sending of the robot jobs included in the robot calling list is completed.

[0117] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0118] When receiving an uploaded job to be executed, identifying tag information and / or an uploaded time of the job to be executed;

[0119] Determine the priority information of the job to be executed according to the tag information and / or the uploaded time;

[0120] The pre-stored job priority list is updated, and the priority information of the job to be executed is recorded in the updated job priority list.

[0121] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0122] When the existence of idle robots is detected, determining a first number corresponding to the idle robots;

[0123] The job priority list is read, and a first number of jobs are selected from the job priority list according to the priorities from high to low, so as to form a list of jobs to be executed.

[0124] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0125] Selecting a first priority job from the list of jobs to be executed, selecting a corresponding first robot from the idle robots according to the first priority job, and deleting the first robot from the idle robots;

[0126] Selecting a second priority job in the list of jobs to be executed, and selecting a corresponding second robot from the idle robots after deleting the first robot according to the second priority job, and so on to determine the robot corresponding to the last job in the list of jobs to be executed;

[0127] When the robot corresponding to the last job in the list of jobs to be executed is determined, the robots corresponding to each job in the list of jobs to be executed are summarized to obtain a robot calling list.

[0128] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0129] Identify a job identifier corresponding to the first priority job, so as to obtain a first set of robots whose robot identifiers correspond to the job identifier from among the idle robots;

[0130] Analyze the first priority job to determine whether the first job included in the first priority job is a mobile job;

[0131] When it is determined that the first operation is a moving operation, a robot with the smallest moving cost value is selected from among the first robots according to the first operation as the first robot.

[0132] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0133] When an idle robot is detected, it is determined whether there is a started map, and when it is determined that there is a started map, a list of jobs to be executed is obtained.

[0134] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0135] Traversing the robot calling list to select a robot in the robot calling list, and reading a job identifier associated with the selected robot;

[0136] Reading the job information corresponding to the associated job identifier to send the job information to the selected robot, and deleting the selected robot from the robot call list when it is determined that the job sending is completed, and so on until the robot call list is empty;

[0137] When it is determined that the robot calling list is empty, it is determined that the robot calling is completed.

[0138] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the cloud server described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0139] A computer-readable storage medium is also provided in an embodiment of the present application, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and the processor executes the program instructions to implement any robot calling method provided in the embodiment of the present application.

[0140] The computer-readable storage medium may be an internal storage unit of the management system described in the foregoing embodiments, such as a hard disk or memory of the management system. The computer-readable storage medium may also be an external storage device of the management system, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the management system.

[0141] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A robot calling method, characterized in that: The method comprises: When receiving an uploaded job to be executed, identifying tag information and / or an uploaded time of the job to be executed; If the urgency information in the tag information is urgent, the priority information of the job to be executed is determined to be the first priority; if the urgency information in the tag information is general, the priority information of the job to be executed is determined according to the tag information, the uploaded time and the current time; Updating a pre-stored job priority list, and recording the priority information of the job to be executed in the updated job priority list; When the existence of idle robots is detected, determining a first number corresponding to the idle robots; Reading a job priority list, and selecting a first number of jobs in the job priority list according to the priorities from high to low, so as to form a list of jobs to be executed; Selecting a first priority job from the list of jobs to be executed, selecting a corresponding first robot from the idle robots according to the first priority job, and deleting the first robot from the idle robots; Selecting a second priority job in the list of jobs to be executed, and selecting a corresponding second robot from the idle robots after deleting the first robot according to the second priority job, and so on to determine the robot corresponding to the last job in the list of jobs to be executed; When the robot corresponding to the last job in the list of jobs to be executed is determined, the robots corresponding to each job in the list of jobs to be executed are summarized to obtain a robot calling list; The robot calling list is traversed, corresponding jobs are sent to the robots included in the robot calling list in parallel in a multi-threaded manner, and the robot calling is determined to be completed when it is determined that the sending of the robot jobs included in the robot calling list is completed.

2. The method according to claim 1, characterized in that: The selecting a corresponding first robot from among the idle robots according to the first priority job comprises: Identify a job identifier corresponding to the first priority job, so as to obtain a first set of robots whose robot identifiers correspond to the job identifier from among the idle robots; Analyze the first priority job to determine whether the first job included in the first priority job is a mobile job; When it is determined that the first operation is a moving operation, a robot with the smallest moving cost is selected from the first robot set according to the first operation as the first robot.

3. The method according to claim 1 or 2, characterized in that: When an idle robot is detected, a list of jobs to be executed is obtained, including: When an idle robot is detected, it is determined whether there is a started map, and when it is determined that there is a started map, a list of jobs to be executed is obtained.

4. The method according to claim 3, characterized in that The traversing the robot calling list to send corresponding jobs to the robots included in the robot calling list, and determining that the robot calling is completed when it is determined that the sending of the robot jobs included in the robot calling list is completed, includes: Traversing the robot calling list to select a robot in the robot calling list, and reading a job identifier associated with the selected robot; Reading the job information corresponding to the associated job identifier to send the job information to the selected robot, and deleting the selected robot from the robot call list when it is determined that the job sending is completed, and so on until the robot call list is empty; When it is determined that the robot calling list is empty, it is determined that the robot calling is completed.

5. A robot calling device, characterized in that: The robot calling device includes a processor and a memory; The memory is used to store computer programs; The processor is used to execute the computer program and implement the robot calling method according to any one of claims 1 to 4 when executing the computer program.

6. A management system, characterized in that: The management system includes a plurality of robots and the robot calling device as described in claim 5.

7. A computer-readable storage medium, characterized in that: When the computer-readable storage medium is executed by one or more processors, the one or more processors execute the steps of the robot calling method according to any one of claims 1 to 4.