Task processing method and device, electronic equipment and storage medium
By sending wait time prompts and receiving feedback information to users to determine the stranded tasks, combined with the robot location processing method, the problem that users cannot take away the tasks to be delivered in time is solved, and efficient task processing and user experience improvement is achieved.
Patent Information
- Application Number
- CN202410122586.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-29
- Publication Date
- 2025-07-29
AI Technical Summary
When the number of users is large, in the robot delivery task, users cannot arrive at the delivery site in time to obtain the delivery task to be delivered, resulting in the problem of long wait time and low delivery efficiency.
Send prompt information including waiting time to the user, receive feedback information to determine the trapped task, and when receiving the task processing request, determine the processing method according to the current position of the robot, and dynamically adjust the task processing order and position.
Improve the efficiency and user experience of task processing. Through timely reminders and dynamic adjustment of processing methods, users' waiting time is reduced and delivery efficiency is improved.
Smart Images

Figure CN120387747A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the technical field of data processing, and in particular, to a task processing method, apparatus, electronic device, and storage medium. Background Art
[0002] With the popularization of intelligence, more and more tasks can be performed by robots. For example, robots are used in buildings to perform delivery tasks such as data, express delivery, and takeout.
[0003] Generally, in order to improve the delivery efficiency of robots, robots can carry as many tasks to be delivered as possible. In the case of a large number of tasks to be delivered, each delivery may correspond to multiple users.
[0004] When the number of users is large, it is easy to occur that users are busy or delayed by other things and cannot obtain the corresponding tasks to be delivered at the delivery station in time. Based on this, robots generally continue with subsequent delivery tasks. After all tasks to be delivered are processed, the tasks that have not been picked up in time are delivered again. At this time, there are problems of long user waiting time and low delivery efficiency. Summary of the Invention
[0005] The present disclosure provides a task processing method, apparatus, electronic device, and storage medium to achieve the effect of high efficiency in task processing and improve the user experience.
[0006] In a first aspect, an embodiment of the present disclosure provides a task processing method, which is applied to a robot. The method includes:
[0007] Sending a first prompt message to the clients of at least one task to be delivered associated with the current preset position, where the first prompt message includes a waiting time;
[0008] Receiving first feedback messages from the at least one client, and determining the stranded tasks to be processed with a delay based on the first feedback messages;
[0009] When receiving a task processing request sent by a target client corresponding to a target stranded task, determining a target processing method corresponding to the target stranded task based on the current position, so as to process the target stranded task based on the target processing method;
[0010] Wherein, the at least one client includes the target client, and the stranded tasks include the target stranded task.
[0011] In a second aspect, an embodiment of the present disclosure further provides a task processing apparatus, which is configured in a robot. The apparatus includes:
[0012] An information sending module, configured to send a first prompt message to a client of at least one to-be-delivered task associated with the current preset position, where the first prompt message includes a waiting duration;
[0013] A retention task determination module, configured to receive first feedback information from the at least one client, and determine a retention task to be processed with a delay based on the first feedback information;
[0014] A processing method determination module, configured to, when receiving a task processing request sent by a target client corresponding to a target retention task, determine a target processing method corresponding to the target retention task based on the current location, so as to process the target retention task based on the target processing method;
[0015] Wherein, the at least one client includes the target client, and the retention tasks include the target retention task.
[0016] In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
[0017] One or more processors;
[0018] A storage device, configured to store one or more programs,
[0019] When the one or more programs are executed by the one or more processors, the one or more processors implement the task processing method according to any one of the embodiments of the present invention.
[0020] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are used to execute the task processing method according to any one of the embodiments of the present invention when executed by a computer processor.
[0021] The technical solution provided by the embodiment of the present disclosure can send a first prompt message to a client corresponding to at least one to-be-delivered task associated with the current preset when the robot moves to the current preset position, so that the user corresponding to the client can timely know that the to-be-delivered task has reached the station and needs to be picked up in time. Further, if the user cannot pick up the corresponding to-be-delivered task in time, information feedback can be made, so that the robot can determine whether to deliver other to-be-delivered tasks first based on the feedback information, and regard the to-be-delivered task that cannot be picked up in time as a retention task. On the premise of continuing to deliver other to-be-delivered tasks, if a request to continue delivering the retention task is initiated by the target client, how to process the retention task can be determined based on the current position of the robot and the position of the retention task, realizing dynamic reminder for the user to obtain the corresponding to-be-delivered task and effective processing of the retention task, achieving the effects of improving the delivery efficiency and the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In combination with the accompanying drawings and with reference to the following specific embodiments, the above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent. Throughout the accompanying drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and that the original components and elements are not necessarily drawn to scale.
[0023] Figure 1 is a schematic flowchart of a task processing method provided by an embodiment of the present disclosure;
[0024] Figure 2 is a schematic flowchart of a task processing method provided by an embodiment of the present disclosure;
[0025] Figure 3 is a schematic flowchart of a task processing method provided by an embodiment of the present disclosure;
[0026] Figure 4 is a schematic structural diagram of a task processing device provided by an embodiment of the present disclosure;
[0027] Figure 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0028] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.
[0029] It should be understood that the various steps recited in the method embodiments of the present disclosure can be executed in a different order and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this regard.
[0030] As used herein, the term "comprising" and its variants are open-ended, i.e., "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0031] It should be noted that the concepts such as "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0032] It should be noted that the modifications of "one" and "multiple" mentioned in this disclosure are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly specified in the context, it should be understood as "one or more".
[0033] The names of the messages or information exchanged between multiple devices in the embodiments of this disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.
[0034] It can be understood that before using the technical solutions disclosed in the embodiments of this disclosure, the types, usage scopes, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0035] For example, when responding to receiving an active request from the user, a prompt message is sent to the user to clearly prompt the user that the operation requested by the user will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, an application program, a server or a storage medium that performs the operations of the technical solutions of this disclosure according to the prompt message.
[0036] As an optional but non-limiting implementation manner, when responding to receiving an active request from the user, the manner of sending a prompt message to the user can be, for example, in the form of a pop-up window, and the prompt message can be presented in text in the pop-up window. In addition, the pop-up window can also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0037] It can be understood that the above process of notifying and obtaining the user's authorization is only illustrative and does not limit the implementation manners of this disclosure. Other manners that meet relevant laws and regulations can also be applied to the implementation manners of this disclosure.
[0038] Before introducing the technical solution provided by the embodiments of the present invention, an exemplary description of the application scenario can be given first. The method provided by the embodiments of the present disclosure can be integrated into a robot so that the robot processes tasks based on the integrated method. The robot may include multiple compartments, and each compartment can hold corresponding items so that the robot transports the items in the compartments to the corresponding users. For the robot, each item to be transported to the user is a task to be processed. In this embodiment, multiple items located in one compartment can be regarded as one delivery task, or each item can be regarded as one delivery task. The specific distinction of the tasks to be processed is not limited in this embodiment, as long as it is processed according to the content disclosed in this embodiment.
[0039] Furthermore, in order to improve the delivery efficiency, usually a robot may include multiple delivery tasks, and there may be multiple delivery stations during the delivery process for waiting for users to pick up the delivered items in the compartments. If the application scenario is in a building, there may be multiple delivery stations for each floor. The robot can travel to the corresponding delivery station to deliver the items.
[0040] Figure 1 It is a schematic flowchart of a task processing method provided by the embodiments of the present disclosure. The embodiments of the present disclosure are applicable to the situation of processing tasks based on a robot. This method can be executed by a task processing device, and the device can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, and the electronic device can be a mobile terminal, a PC, or a server, etc.
[0041] As Figure 1 shown, the method includes:
[0042] S110. Send a first prompt message to the client of at least one delivery task associated with the current preset position, where the first prompt message includes the waiting duration.
[0043] It should be noted that based on the above, the number of delivery stations includes at least one, and each delivery station can be regarded as a preset position that the robot needs to move to. The operations performed by the robot after moving to each preset position are the same. Here, the operations to be performed by the robot after moving to one of the preset positions are taken as an example to explain the solution provided by the embodiments of the present disclosure, where the above-mentioned preset position is used as the current preset position.
[0044] It should also be noted that the robot carries at least one delivery task to be performed. The at least one delivery task corresponds to at least one user, and the at least one user may be at different office locations in the building. When the office locations are different, the distances to the preset locations are also different. Based on this, the users associated with each preset location can be determined based on the distance information from the users' office locations to the preset locations. Correspondingly, the clients registered by the users are bound to the preset locations.
[0045] Among them, the number of delivery tasks to be performed associated with the current preset location can be multiple. A prompt message can be sent to the clients used by the users of each delivery task, and this prompt message is used as the first prompt message. That is to say, the client mentioned here is the client used by the user corresponding to the delivery task. The first prompt message can include that the robot has arrived at the station and how long it has been waiting at this station. Optionally, the waiting time in the first prompt message is 5 minutes, and this waiting time can be displayed in a countdown on the client. That is, after the client receives the first prompt message, 5 minutes can be displayed on the client and the countdown starts. That is to say, the waiting time is the total time the robot will wait at the current preset location.
[0046] Specifically, after the robot moves to one of the preset locations, the preset location it moves to can be used as the current preset location. The number of users who need to pick up the delivery tasks at the current preset location can be multiple. It can be determined whether each user has a delivery task to be performed. If so, the first prompt message is sent to the client of the corresponding user. After the client receives the first prompt message, the user corresponding to the client can confirm that the robot has moved to the preset location and needs to go to the preset location to pick up the delivery task. At the same time, in order to facilitate the users to pick up the delivery tasks in a timely manner, the waiting time in the first prompt message is displayed on the client and a countdown is performed.
[0047] Exemplarily, after the robot moves to the user pick-up point (the current preset location), a first prompt message can be sent to the clients corresponding to at least one delivery task associated with this pick-up point. That is, the first prompt message includes a 5-minute waiting time. At the same time, countdown information can be displayed both on the robot and on the client.
[0048] Based on the above technical solution, after sending the first prompt message to the client, countdown information can be displayed on the client and the robot. When the countdown reaches the preset countdown threshold, a prompt message can be generated again and sent to the client to achieve the effect of reminding the user again.
[0049] Among them, the cumulative waiting duration can be understood as the waiting duration of the robot at the current preset position. The preset waiting duration threshold is preset and used to determine whether to send a prompt message again. The regenerated prompt message can be understood as an update to the first prompt message.
[0050] Exemplarily, when it is detected that the cumulative waiting duration of the robot at the current preset position reaches the preset waiting duration threshold of 4 minutes, a prompt for the first prompt message can be sent to the client. At this time, the first prompt message may include a prompt message that the robot will leave in 1 minute.
[0051] The advantage of the above method is that a prompt message can be sent to the client again during the waiting process, so as to facilitate the user to go to the current preset position in time to process the task to be delivered, improving the user experience, task processing convenience and efficiency.
[0052] In this embodiment, the method further includes: if the first feedback message includes an extended waiting message, updating the waiting duration of the robot at the current preset position based on the extended waiting message; where the extended waiting message includes an extended waiting duration and / or an extended waiting number of times.
[0053] In practical applications, if the user cannot pick up in time currently and needs to wait for one or two minutes to pick up, the control corresponding to "wait for me for one minute" can be triggered. That is, the first feedback message may include the content of the extended waiting message. Usually, in order to complete the task efficiently, the extended waiting duration in the extended waiting message can be one minute or two minutes, and the extended waiting number of times is usually only once. That is to say, if the user triggers an extended waiting, then
[0054] S120. Receive the first feedback messages of at least one client and determine the delayed processing of the detained tasks based on the first feedback messages.
[0055] In practical applications, there may be a situation where the user cannot pick up the task to be delivered in time. At this time, the user can trigger the display control on the client to edit the corresponding feedback message. After clicking the feedback confirmation, the feedback message can be sent to the robot and used as the first feedback message. The detained task can be understood as a task that is not processed temporarily.
[0056] Specifically, after at least one client receives the first prompt message, the user can determine whether to go to the current preset location to pick up the pending delivery task based on actual needs. If not, the user can trigger a display control on the client to edit the corresponding feedback information or trigger a control for delayed processing. After clicking confirm, a first feedback message can be generated and sent to the robot, so that the robot can determine whether the pending delivery task is a stranded task based on the received first feedback message. If the first feedback message includes information that the pending delivery task is a stranded task, the pending delivery task can be considered a stranded task.
[0057] S130. When receiving a task processing request sent by a target client corresponding to a target stranded task, determine a target processing method corresponding to the target stranded task based on a current location, and process the target stranded task based on the target processing method.
[0058] It should be noted that for each preset location, there may be stranded tasks.
[0059] While the robot continues to deliver pending tasks and there are pending tasks, it may receive a task processing request from the client corresponding to the pending task. This task processing request primarily corresponds to a request to process the pending task. The client initiating the task processing request can be considered the target client, and the pending task corresponding to the target client can be considered the target pending task. The target processing method is the final determination of how to process the target pending task, which is primarily determined based on the robot's current location and the target location corresponding to the target pending task.
[0060] Specifically, when the robot is processing a task to be delivered, if it receives a task processing request initiated by the client to which the target stranded task belongs, it determines the target processing method for processing the target stranded task based on the current position of the robot and the target position corresponding to the target stranded task, and then processes the target stranded task according to the target processing method.
[0061] When the robot moves to the current preset position, the technical solution provided by the embodiments of the present disclosure can send a first prompt message to at least one client corresponding to the to-be-delivered task associated with the current preset, so that the user corresponding to the client can timely learn that the to-be-delivered task has reached the station and needs to be picked up in time. Further, if the user cannot pick up the corresponding to-be-delivered task in time, information feedback can be made, so that the robot can determine whether to deliver other to-be-delivered tasks first based on the feedback information, and regard the to-be-delivered task that cannot be picked up in time as a stranded task. On the premise of continuing to deliver other to-be-delivered tasks, if a request to continue delivering the stranded task is initiated by the target client, it is possible to determine how to process the stranded task based on the current position of the robot and the position of the stranded task, realizing dynamic reminder to the user to obtain the corresponding to-be-delivered task and effective processing of the stranded task, achieving the effect of improving the delivery efficiency and the user experience.
[0062] Figure 2 It is a schematic flowchart of a task processing method provided by an embodiment of the present invention. On the basis of the foregoing embodiments, in order to further improve the processing efficiency of the to-be-delivered task and the user experience, before the robot moves to each preset position, a task start processing prompt message can be sent to the client corresponding to all to-be-processed tasks, so as to determine the to-be-delivered task based on the feedback information corresponding to the task start processing prompt message. The same or corresponding technical terms as those in the above embodiments will not be elaborated herein.
[0063] As Figure 2 shown, the method includes:
[0064] S210. Send a task start processing prompt message to the client corresponding to at least one to-be-processed task.
[0065] Among them, the items that the robot needs to transport in the current batch can be placed in the corresponding compartments at the target position. All the placed items are collectively referred to as to-be-processed tasks. When the robot is ready to depart, a task start processing prompt message can be sent to the client corresponding to all to-be-processed tasks.
[0066] Exemplarily, when the robot departs, a prompt message can be sent to the client corresponding to the to-be-processed task, and this prompt message can be a prompt message for the robot to depart. This prompt message can be used as the task start processing prompt message.
[0067] S220. Receive a second feedback message corresponding to the task start processing prompt message, and determine the stranded tasks, fallback tasks, and at least one to-be-delivered task among the at least one to-be-processed tasks based on the second feedback message.
[0068] Among them, the feedback information corresponding to the start processing prompt information can be used as the second feedback information. The second feedback information may include feedback information on whether to perform the delivery task and the delayed delivery task. If the second feedback information includes that the task will be delivered later, the task to be processed can be used as a detained task. If the second feedback information includes that the task will no longer be processed, the task to be processed can be a fallback task. If the second feedback information is not received or the second feedback information is normal processing, the task to be processed is a task to be delivered. That is to say, the detained task is a task with delayed processing, the fallback task is a task that will no longer be processed on the same day, and the task to be delivered is a task that can be delivered immediately.
[0069] Specifically, the task start processing prompt information can be sent to the client. The client can determine whether the robot needs to immediately process the task to be processed based on the prompt information and its own situation. If so, the display control on the display interface may not be triggered, or the immediate delivery control on the client may be triggered, or the delayed delivery control may be triggered. The delayed delivery at this time mainly corresponds to delivery later. Of course, if the user cannot pick up the task to be processed in time, the control of not delivering can be triggered, that is, no delivery on the same day, and the task to be processed corresponding to this type can be used as a fallback task.
[0070] It should be noted that, in order to improve the processing efficiency of the task to be processed, after determining the fallback task, the fallback task can be placed at the target location. The target location can be the initial location where the task to be processed is placed. The advantage of this setting is that in the case where it has been determined that the user cannot pick up the task to be processed, such tasks can be temporarily stored at the target location, and if there is a need, new tasks to be processed can be pulled for transportation, improving the effect of task processing efficiency.
[0071] The technical solution provided by the embodiments of the present disclosure can send task start processing prompt information to the client before processing the task to be processed, so as to achieve the effect of reminding the corresponding user. Further, the task to be delivered and the detained task in the task to be processed can be determined according to the feedback information of the client, and then the task to be delivered can be effectively processed, which can not only pre-remind the user but also effectively perform the task delivery.
[0072] Based on the above technical solution, determining the detained task can be: if the first feedback information includes delayed processing information, the task to be delivered corresponding to the first feedback information is used as the detained task; or, if the second feedback information includes delayed processing information, the task to be processed corresponding to the second feedback information is used as the detained task.
[0073] It can be understood that when the client corresponding to the task to be delivered receives the first prompt message and / or the second prompt message, display controls including pick up immediately, delay pick up, and wait a moment can pop up on the display interface. If the user is unable to pick up the item at the current preset location in time and needs to delay the process, the delay pick up control can be triggered. At this time, the first feedback message or the second feedback message can be generated based on the triggered control. That is, the delay processing information and the information generated after triggering the delay pick up control. The retention task is the task that needs to be delayed for processing.
[0074] When processing the task to be delivered according to the above method, the task to be delivered can be effectively delivered, avoiding the problem of poor user experience caused by the long waiting time of the user or the long waiting time of the robot.
[0075] Figure 3 It is a schematic flowchart of a task processing method provided by an embodiment of the present invention. On the basis of the foregoing embodiment, when receiving a task processing request sent by the target client to which the target retention task belongs, the target processing method for the target retention task can be determined based on the current position of the robot and the position of the target retention task, and then the task can be processed according to the target processing method. The specific implementation manner can refer to the detailed description of this technical solution. Among them, the same or corresponding technical terms as those in the above embodiment will not be elaborated here.
[0076] As Figure 3 shown, the method includes:
[0077] S310. Send a first prompt message to the clients of at least one task to be delivered associated with the current preset location, where the first prompt message includes the waiting duration.
[0078] S320. Receive the first feedback message from at least one client, and determine the retention task for delay processing based on the first feedback message.
[0079] S330. When receiving a task processing request sent by the target client corresponding to the target retention task, determine whether the current position of the robot is the same as the target floor of the target retention task. If so, execute S340; if not, execute S350.
[0080] In practical applications, if the user has time to process the retention task, the preset control on the client can be triggered. Optionally, it can be the control for delivering the retention task. A task processing request is generated based on the user's triggering operation on the preset control and sent to the robot. After receiving the task processing request, the robot can determine the target processing method for the target retention task based on the current position of the robot and the target position of the target retention task.
[0081] The technical solution provided by the embodiments of the present disclosure can be applied in a building. If it is applied in a building, the current location of the robot can be the current floor.
[0082] Specifically, it can be determined whether the current floor of the robot is the same as the target floor of the target retention task. If they are the same, S340 can be executed. If they are not on the same floor,
[0083] S340. After executing the delivery task corresponding to the current floor information, execute the target retention task.
[0084] It can be understood that the robot is on the current floor. At this time, in order to improve the delivery efficiency, after completing the delivery task of the current floor, the robot can continue to deliver the target retention task. The advantage of this setting is that it can not only efficiently deliver the delivery task, but also reduce the user's waiting time for delivery, achieving the technical effect of improving the user experience.
[0085] S350. After executing at least one delivery task, execute the target retention task.
[0086] It can be understood that if the robot and the target retention task are not on the same floor, in order to improve the delivery efficiency, after the delivery task is processed, the robot can go to the target floor to deliver the target retention task.
[0087] It should also be noted that in order to further improve the task processing efficiency, it is possible to determine how to process the target retention task based on the current location of the robot and the target location corresponding to the target retention task, greatly improving the processing efficiency of the target retention task and the delivery task.
[0088] In the technical solution provided by the embodiments of the present invention, during the process of delivering the delivery task, if a task processing request corresponding to the retention task is received, the processing method can be comprehensively determined based on the location information corresponding to the retention task and the location information of the robot, achieving the effect of improving the task delivery efficiency while reducing the user's waiting time.
[0089] Based on the above technical solution, if a temporary storage information corresponding to the retention task is received, the retention task is marked, and the retention task is temporarily stored at the target location based on the mark.
[0090] Among them, the temporarily stored information can be understood as temporarily retaining the task and storing it at the target position information. The target position can be a pre-set position for placing the retained task. Usually, the number of tasks to be processed is large, while the number of retained tasks is limited. It is relatively difficult to find the retained tasks from the tasks to be processed. Therefore, the retained tasks can be specifically placed in an area so that the user can quickly find the retained tasks from the target position, improving the convenience of finding the retained tasks.
[0091] Specifically, the user can trigger a control for selecting task temporary storage on the client, and generate temporarily stored information based on the triggering operation of the control and send it to the robot. After receiving the temporarily stored information, the robot can mark the corresponding retained task. Based on the marking, the retained task can be temporarily placed at the target position.
[0092] Based on the above technical solution, the method further includes: receiving task fallback information sent by the target management terminal, where the task fallback information includes at least one retained task that has not been processed within a preset duration; placing the at least one retained task at the target position.
[0093] In practical applications, the robot can not only receive feedback information and task processing requests sent by the user side (client), but also receive messages sent by the management side. The management side corresponds to the side that manages all tasks to be delivered. Optionally, the management side can be the terminal device used by the management user corresponding to the robot.
[0094] Specifically, when one or more retained tasks have not been processed for a long time, it may be that they cannot be processed for a long time, or the working duration of the robot reaches the preset duration threshold, or the current time has exceeded the task processing time range. In such a situation, the management side can send task fallback information to the robot. The task fallback information can include the task information of at least one retained task that has not been processed within a preset duration. After receiving the task fallback information, the robot can transport the at least one retained task to the target position. The target position can be the position for temporarily storing tasks to be delivered, or the position for placing all tasks to be processed, or the preset position for placing retained tasks. That is to say, the target position can be a pre-set position for placing retained tasks. The advantage of this setting is that the number of retained tasks is usually limited, and the user can quickly find their retained tasks from the target position, improving the efficiency of task processing.
[0095] Figure 4 A schematic structural diagram of a task processing device provided by an embodiment of the present disclosure is as Figure 4 shown. The device includes: an information sending module 410, a retained task determination module 420, and a processing method determination module 430.
[0096] Among them, an information sending module 410 is configured to send a first prompt message to at least one client of a to-be-delivered task associated with a current preset location, where the first prompt message includes a waiting duration; a stranded task determining module 420 is configured to receive first feedback information from the at least one client and determine a stranded task to be processed with a delay based on the first feedback information; a processing method determining module 430 is configured to, when receiving a task processing request sent by a target client corresponding to a target stranded task, determine a target processing method corresponding to the target stranded task based on the current location, so as to process the target stranded task based on the target processing method; where the at least one client includes the target client, and the stranded task includes the target stranded task.
[0097] Based on the above technical solution, the device further includes:
[0098] A prompt message sending module is configured to send a task start processing prompt message to a client corresponding to at least one to-be-processed task, where the at least one to-be-processed task is a task in the tasks currently executed by the robot, the at least one to-be-processed task includes the at least one to-be-delivered task, and the to-be-processed tasks correspond to different preset locations; a to-be-delivered task determining module is configured to receive second feedback information corresponding to the task start processing prompt message and determine a stranded task in the at least one to-be-processed task and the at least one to-be-delivered task based on the second feedback information.
[0099] Based on the above technical solution, the device further includes:
[0100] A prompt message updating module is configured to detect an accumulated waiting duration at the current preset location and update the first prompt message when the accumulated waiting duration reaches a preset waiting duration threshold.
[0101] Based on the above technical solutions, the stranded task determining module is further configured to:
[0102] If the first feedback information includes delay processing information, use the to-be-delivered task corresponding to the first feedback information as the stranded task; or,
[0103] If the second feedback information includes delay processing information, use the to-be-processed task corresponding to the second feedback information as the stranded task.
[0104] Based on the above technical solution, the device further includes:
[0105] A waiting duration determination module, configured to, if the first feedback information includes an extended waiting message, update the waiting duration of the robot at the current preset position based on the extended waiting message;
[0106] Wherein, the extended waiting message includes an extended waiting duration and / or an extended waiting count.
[0107] Based on the above technical solutions, the current location includes current floor information, and the processing method determination module includes:
[0108] A first processing unit, configured to, if the current floor information is consistent with the target floor information of the target stay task, the target processing method is to execute the to-be-delivered task corresponding to the current floor information and then execute the target stay task;
[0109] A second processing unit, configured to, if the current floor information is inconsistent with the target floor information of the target stay task, the target processing method is to execute the target stay task after completing the at least one to-be-delivered task.
[0110] Based on the above technical solutions, the device further includes: a temporary storage module, configured to, if receiving temporary storage information corresponding to the stay task, mark the stay task, so as to temporarily store the stay task at a target position based on the mark.
[0111] Based on the above technical solutions, the device further includes:
[0112] A fallback information receiving module, configured to receive task fallback information sent by a target management terminal, wherein the task fallback information includes at least one stay task that has not been processed within a preset duration;
[0113] A placement module, configured to place the at least one stay task at a target position.
[0114] When the robot moves to the current preset position, the technical solution provided by the embodiments of the present disclosure can send a first prompt message to at least one client corresponding to the to-be-delivered tasks associated with the current preset, so that the user corresponding to the client can timely learn that the to-be-delivered tasks have reached the station and need to be picked up in time. Further, if the user cannot pick up the corresponding to-be-delivered tasks in time, information feedback can be made, so that the robot can determine whether to deliver other to-be-delivered tasks first based on the feedback information, and regard the to-be-delivered tasks that cannot be picked up in time as stranded tasks. On the premise of continuing to deliver other to-be-delivered tasks, if a request to continue delivering the stranded tasks is initiated by the target client, it is possible to determine how to process the stranded tasks based on the current position of the robot and the position of the stranded tasks, realizing the dynamic reminder for the user to obtain the corresponding to-be-delivered tasks and the effective processing of the stranded tasks, achieving the effect of improving the delivery efficiency and the user experience.
[0115] The task processing device provided by the embodiments of the present disclosure can execute the task processing method provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects for executing the method.
[0116] It should be noted that the various units and modules included in the above device are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the embodiments of the present disclosure.
[0117] Figure 5 It is a schematic structural diagram of an electronic device provided by the embodiments of the present disclosure. Next, refer to Figure 5 , which shows a schematic structural diagram of an electronic device 500 suitable for implementing the embodiments of the present disclosure (such as Figure 5 the terminal device or server in). The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and usage scope of the embodiments of the present disclosure.
[0118] As Figure 5As shown, the electronic device 500 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 501, which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An editing / output (I / O) interface 505 is also connected to the bus 504.
[0119] Generally, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 5 an electronic device 500 with various devices is shown, it should be understood that it is not required to implement or include all the shown devices. More or fewer devices may be implemented or included alternatively.
[0120] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program codes for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above functions defined in the method of the embodiment of the present disclosure are executed.
[0121] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.
[0122] The electronic device provided by the embodiment of the present disclosure and the task processing method provided by the above embodiment belong to the same inventive concept. Technical details not described in detail in this embodiment may be referred to in the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0123] The embodiment of the present disclosure provides a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, the task processing method provided by the above embodiment is implemented.
[0124] It should be noted that the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable signal medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0125] In some embodiments, the client and the server can communicate using any currently known or future-developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.
[0126] The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist separately and not be assembled into the electronic device.
[0127] The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is caused to:
[0128] The above computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to:
[0129] Send a first prompt message to the client of at least one delivery task associated with the current preset location, where the first prompt message includes a waiting duration;
[0130] Receive the first feedback message from the at least one client and determine the stranded tasks to be processed with a delay based on the first feedback message;
[0131] When receiving a task processing request sent by the target client corresponding to the target stranded task, determine a target processing method corresponding to the target stranded task based on the current location, so as to process the target stranded task based on the target processing method;
[0132] Wherein, the at least one client includes the target client, and the stranded tasks include the target stranded task.
[0133] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof. The above programming languages include, but are not limited to, object-oriented programming languages - such as Java, Smalltalk, C++; and also include conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may 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 may be connected to an external computer (e.g., by using an Internet service provider to connect through the Internet).
[0134] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks may occur in a different order than noted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or by a combination of dedicated hardware and computer instructions.
[0135] The units involved in the embodiments described in the present disclosure can be implemented in software or in hardware. Among them, the name of the unit does not, in some cases, constitute a limitation on the unit itself. For example, the first acquisition unit can also be described as "the unit for acquiring at least two Internet protocol addresses".
[0136] The functions described above herein can be performed, at least in part, by one or more hardware logic components. By way of example and not limitation, the types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0137] In the context of the present disclosure, a machine-readable medium may be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0138] According to one or more embodiments of the present disclosure, [Example 1] provides a task processing method, which is applied to a robot. The method includes:
[0139] Sending a first prompt message to the client of at least one task to be delivered associated with the current preset position, where the first prompt message includes a waiting duration;
[0140] Receiving the first feedback information of the at least one client, and determining the stranded tasks to be processed with a delay based on the first feedback information;
[0141] When receiving a task processing request sent by the target client corresponding to the target stranded task, determining a target processing method corresponding to the target stranded task based on the current location, so as to process the target stranded task based on the target processing method;
[0142] Wherein, the at least one client includes the target client, and the stranded tasks include the target stranded task.
[0143] According to one or more embodiments of the present disclosure, [Example 2] provides a task processing method, and the method further includes:
[0144] Optionally, sending a task start processing prompt message to the client corresponding to at least one task to be processed, where the at least one task to be processed is a task in the tasks currently executed by the robot, the at least one task to be processed includes the at least one task to be delivered, and the tasks to be processed correspond to different preset positions;
[0145] Receiving the second feedback information corresponding to the task start processing prompt message, and determining the stranded tasks and the at least one task to be delivered in the at least one task to be processed based on the second feedback information.
[0146] According to one or more embodiments of the present disclosure, [Example 3] provides a task processing method, and the method further includes:
[0147] Optionally, detecting the cumulative waiting duration at the current preset position, and updating the first prompt message when the cumulative waiting duration reaches a preset waiting duration threshold.
[0148] According to one or more embodiments of the present disclosure, [Example 4] provides a task processing method, and the method further includes:
[0149] Optionally, determining the stranded tasks includes:
[0150] If the first feedback information includes information on processing with a delay, then taking the task to be delivered corresponding to the first feedback information as the stranded task; or,
[0151] If the second feedback information includes delay processing information, the to-be-processed task corresponding to the second feedback information is used as the stranded task.
[0152] According to one or more embodiments of the present disclosure, [Example Five] provides a task processing method, and the method further includes:
[0153] Optionally, if the first feedback information includes extended waiting information, update the waiting duration of the robot at the current preset position based on the extended waiting information;
[0154] Wherein, the extended waiting information includes an extended waiting duration and / or an extended waiting number of times.
[0155] According to one or more embodiments of the present disclosure, [Example Six] provides a task processing method, and the method further includes:
[0156] Optionally, the current location includes current floor information, and determining a target processing method corresponding to the target stranded task based on the current location includes:
[0157] If the current floor information is consistent with the target floor information of the target stranded task, the target processing method is to execute the to-be-delivered task corresponding to the current floor information and then execute the target stranded task;
[0158] If the current floor information is inconsistent with the target floor information of the target stranded task, the target processing method is to execute the at least one to-be-delivered task and then execute the target stranded task.
[0159] According to one or more embodiments of the present disclosure, [Example Seven] provides a task processing method, and the method further includes:
[0160] Optionally, if temporary storage information corresponding to the stranded task is received, mark the stranded task to temporarily store the stranded task at a target location based on the mark.
[0161] According to one or more embodiments of the present disclosure, [Example Eight] provides a task processing method, and the method further includes:
[0162] Optionally, receive task fallback information sent by a target management terminal, wherein the task fallback information includes at least one stranded task that has not been processed within a preset duration;
[0163] Place the at least one stranded task at a target location.
[0164] According to one or more embodiments of the present disclosure, [Example Nine] provides a task processing device configured in a robot. The device includes:
[0165] An information sending module, configured to send a first prompt message to a client of at least one delivery task associated with a current preset position, where the first prompt message includes a waiting duration;
[0166] A stranded task determination module, configured to receive first feedback information from the at least one client and determine a stranded task to be processed with a delay based on the first feedback information;
[0167] A processing method determination module, configured to, when receiving a task processing request sent by a target client corresponding to a target stranded task, determine a target processing method corresponding to the target stranded task based on a current location, so as to process the target stranded task based on the target processing method;
[0168] Wherein, the at least one client includes the target client, and the stranded tasks include the target stranded task.
[0169] The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, the technical solutions formed by mutually replacing the above features with the technical features (but not limited to) having similar functions disclosed in the present disclosure.
[0170] In addition, although the operations are depicted in a specific order, this should not be construed as requiring that the operations be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although a number of specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, the various features described in the context of a single embodiment may also be implemented separately or in any suitable sub-combination in multiple embodiments.
[0171] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms for implementing the claims.
Claims
1. A task processing method, characterized in that, Applied to a robot, the method includes: Sending a first prompt message to at least one client of a to-be-delivered task associated with a current preset position, where the first prompt message includes a waiting duration; Receiving first feedback information from the at least one client, and determining a stranded task for delayed processing based on the first feedback information; When receiving a task processing request sent by a target client corresponding to a target stranded task, determining a target processing method corresponding to the target stranded task based on the current location, so as to process the target stranded task based on the target processing method; Wherein, the at least one client includes the target client, and the stranded tasks include the target stranded task.
2. The method according to claim 1, characterized in that The method further includes: Sending a task start processing prompt message to the client corresponding to at least one to-be-processed task, where the at least one to-be-processed task is a task in the current task executed by the robot, the at least one to-be-processed task includes the at least one to-be-delivered task, and the at least one to-be-processed task corresponds to different preset positions; Receiving second feedback information corresponding to the task start processing prompt message, and determining stranded tasks, fallback tasks, and the at least one to-be-delivered task in the at least one to-be-processed task based on the second feedback information; Wherein, the fallback task is a task placed at a target position.
3. The method according to claim 1, wherein It further includes: Detecting the cumulative waiting duration at the current preset position, and updating the first prompt message when the cumulative waiting duration reaches a preset waiting duration threshold.
4. The method according to claim 1, wherein Determining the stranded task includes: If the first feedback information includes delayed processing information, taking the to-be-delivered task corresponding to the first feedback information as the stranded task; or, If the second feedback information includes delayed processing information, taking the to-be-processed task corresponding to the second feedback information as the stranded task.
5. The method according to claim 1, characterized in that It further includes: If the first feedback information includes extended waiting information, updating the waiting duration of the robot at the current preset position based on the extended waiting information; Wherein, the extended waiting information includes an extended waiting duration and / or an extended waiting times.
6. The method according to claim 1, wherein The current location includes current floor information. Determining the target processing method corresponding to the target stranded task based on the current location includes: If the current floor information is consistent with the target floor information of the target stranded task, the target processing method is to execute the to-be-delivered task corresponding to the current floor information and then execute the target stranded task; If the current floor information is inconsistent with the target floor information of the target stranded task, the target processing method is to execute the at least one to-be-delivered task and then execute the target stranded task.
7. The method according to claim 1, wherein It further includes: If receiving staging information corresponding to the stranded task, marking the stranded task to stage the stranded task to a target position based on the mark.
8. The method according to claim 1, wherein It further includes: Receiving task fallback information sent by a target management terminal, where the task fallback information includes task information of at least one stranded task; Place the at least one stranded task at the target location.
9. A task processing device, characterized in that: Configured in a robot, the device includes: An information sending module, configured to send a first prompt message to a client of at least one delivery task associated with a current preset location, wherein the first prompt message includes a waiting duration; A stranded task determining module, configured to receive first feedback information from the at least one client, and determine a stranded task to be processed with a delay based on the first feedback information; A processing method determining module, configured to, when receiving a task processing request sent by a target client corresponding to a target stranded task, determine a target processing method corresponding to the target stranded task based on a current location, so as to process the target stranded task based on the target processing method; Wherein, the at least one client includes the target client, and the stranded tasks include the target stranded task.
10. An electronic device, characterized in that: The electronic device includes: One or more processors; A storage device, configured to store one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the task processing method according to any one of claims 1-8.
11. A storage medium containing computer-executable instructions, the computer-executable instructions being used to execute the task processing method according to any one of claims 1-8 when executed by a computer processor.