A distribution method, device, terminal and storage medium
By obtaining and analyzing order information and song order information, when the robot delivers goods in entertainment venues such as KTV, it uses the matching of delivery time points and prompt time periods to screen suitable private rooms for delivery, solving the problem of low delivery efficiency and realizing the More efficient delivery and better consumption experience.
Patent Information
- Application Number
- CN202010899233.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-31
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2040-08-31
AI Technical Summary
When robots deliver goods in entertainment venues such as KTVs, they extend the waiting time to pick up due to the protection of consumer privacy, resulting in inefficient delivery.
By obtaining order information and song order information, the computer robot arrives at the delivery time point of the box, and determines the appropriate prompt time period based on the song order information, and filters out the appropriate private room from the matching delivery time point and prompt time period for delivery. , reduce the time to wait for prompts.
It improves the efficiency of robot order delivery, so that the robot can prompt consumers to pick up in time when arriving at the private room, reduces waiting time, and improves consumption experience and delivery efficiency.
Smart Images

Figure CN112116218B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology, and in particular, relates to a distribution method, device, terminal and storage medium. Background Art
[0002] With the advancement of technology, robots are designed to perform different service tasks. In entertainment venues such as KTV, robots are used to deliver goods to consumers' private rooms based on their orders, which can greatly reduce labor costs. Therefore, they have been favored by operators in recent years.
[0003] In order to protect the privacy of consumers, the robot usually does not actively open the door after arriving at the box, but waits for the right time to prompt consumers to pick up the food. This prolongs the time it takes for the robot to complete an order, resulting in a decrease in the robot's order delivery efficiency. Summary of the invention
[0004] The embodiments of the present application provide a delivery method, device, terminal and storage medium, which can solve the problem of low efficiency of robot order delivery.
[0005] A first aspect of an embodiment of the present application provides a delivery method, comprising:
[0006] Obtain at least two pieces of order information, and identify a first box associated with each piece of order information;
[0007] Calculate the delivery time of the robot arriving at each of the first boxes according to the order information;
[0008] Acquire song request information associated with each of the first boxes, and determine a prompt time period for the robot to provide a delivery prompt to each of the first boxes according to the song request information;
[0009] Filtering out a second private room from the first private room, wherein the delivery time point associated with the second private room matches the prompt time period associated with the second private room itself;
[0010] The robot performs delivery according to the order information associated with the second box.
[0011] In a possible implementation of the first aspect, the robot performs delivery according to the order information associated with the second box, including: if the number of second boxes is greater than 1, obtaining the first time required for the robot to reach each second box; screening out the box associated with the shortest first time from the second boxes, and controlling the robot to perform delivery according to the order information associated with the screened box.
[0012] In a possible implementation of the first aspect, in the operation of determining a prompt time period suitable for the robot to provide a delivery prompt to each of the first boxes based on the song request information, the operation on a single first box includes: obtaining song playback information associated with the first box; determining a corresponding broadcastable time period for the first box based on the song request information and the song playback information, and using the broadcastable time period as the prompt time period suitable for the robot to provide a delivery prompt to the first box.
[0013] In a possible implementation of the first aspect, the song request information includes a selected song, and determining the corresponding broadcastable time period of the first box based on the song request information and the song playback information includes: obtaining the song type and song length of the selected song; determining the broadcastable segment contained in the selected song, the relative position of the broadcastable segment in the selected song, the broadcastable segment and the associated time ratio based on the song type; calculating the segment duration of the broadcastable segment in the selected song based on the time ratio and the song length; determining the first time period of the broadcastable segment in the selected song based on the relative position and the segment duration; determining the corresponding broadcastable time period of the first box based on the first time period and the song playback information.
[0014] In a possible implementation of the first aspect, during the process in which the robot performs delivery according to the order information associated with the second box, it also includes: obtaining the song switching information of the second box; updating the prompt time period of the second box according to the song switching information and the song request information of the second box; and adjusting the movement speed of the robot according to the updated prompt time period.
[0015] In a possible implementation of the first aspect, the order information includes product information and the quantity of product; in the operation of calculating the delivery time point of the robot arriving at each first box based on the order information, the calculation operation of a single order information includes: detecting the inventory of the robot; if the inventory is less than the quantity of product in the order information, obtaining the source location associated with the product information in the order information; based on the order information and the source location associated with the order information, calculating the delivery time point of the robot arriving at the first box associated with the order information.
[0016] In a possible implementation of the first aspect, the delivery time point associated with the second box matches the prompt time period associated with the second box itself, which means that the delivery time point associated with the second box is within the prompt time period associated with the second box itself.
[0017] In a possible implementation manner of the first aspect, after the robot performs delivery according to the order information associated with the second box, the method includes: removing the order information associated with the second box from the at least two order information.
[0018] A second aspect of an embodiment of the present application provides a dispensing device, comprising:
[0019] An acquisition unit, used for acquiring at least two pieces of order information and identifying a first box associated with each piece of order information;
[0020] A calculation unit, used for calculating the delivery time point of the robot arriving at each of the first boxes according to the order information;
[0021] a determination unit, configured to obtain song request information associated with each of the first boxes, and determine a prompt time period suitable for the robot to provide a delivery prompt to each of the first boxes according to the song request information;
[0022] A screening unit, used for screening out a second box from the first box, wherein the delivery time point associated with the second box matches the prompt time period associated with the second box itself;
[0023] A delivery unit is used for the robot to deliver according to the order information associated with the second box.
[0024] A third aspect of an embodiment of the present application provides a terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0025] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0026] A fifth aspect of an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to implement the steps of the method.
[0027] In the embodiment of the present application, at least two order information are obtained, and the first boxes associated with each order information are identified; and based on the order information, the delivery time point of the robot arriving at each first box is calculated. Then, the song request information associated with each first box is obtained, and the prompt time period suitable for the robot to provide delivery prompts to each first box is determined based on the song request information. Next, the second box is selected from the first box, wherein the delivery time point associated with the second box matches the prompt time period associated with the second box itself. Finally, the robot delivers according to the order information associated with the second box. In the embodiment of the present application, the second box is selected from the first box for delivery by matching the delivery time point and the prompt time period, so that when the robot delivers the order of the second box, it can prompt the consumer to pick it up when it arrives at the second box, which reduces the waiting time for prompting and improves the order delivery efficiency of the robot. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0029] Figure 1 It is a schematic diagram of an implementation flow of a distribution method provided in an embodiment of the present application;
[0030] Figure 2 It is a schematic diagram of the implementation process of determining the prompt time period provided in an embodiment of the present application;
[0031] Figure 3 It is a schematic diagram of the implementation process of determining the broadcastable time period provided in the embodiment of the present application;
[0032] Figure 4 It is a schematic diagram of the implementation process of calculating the delivery time point provided in an embodiment of the present application;
[0033] Figure 5 It is a schematic diagram of the implementation process of adjusting the movement speed of the robot provided in an embodiment of the present application;
[0034] Figure 6 It is a structural schematic diagram of a distribution device provided in an embodiment of the present application;
[0035] Figure 7 It is a schematic diagram of the structure of the terminal provided in the embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.
[0037] With the advancement of technology, robots are designed to perform different service tasks. In entertainment venues such as KTV, robots are used to deliver goods to the private rooms where consumers are located in response to consumer orders, which can greatly reduce labor costs. Therefore, they have been favored by operators in recent years. In order to protect consumer privacy, robots generally do not actively open the door after arriving at the private room, but wait for the right time to prompt consumers to pick up the goods.
[0038] In order to illustrate the technical solution of the present application, a specific embodiment is provided below for illustration.
[0039] Figure 1 A schematic diagram of the implementation flow of a delivery method provided by an embodiment of the present application is shown. The method can be applied to a terminal and is suitable for situations where the efficiency of robot order delivery needs to be improved. The terminal can be a dispatching server or other terminal, which controls the robot that performs the delivery task; or the terminal can also be a robot itself with sufficient data processing capabilities, which is run by the robot's processor to execute the delivery method.
[0040] Specifically, the above distribution method may include the following steps S101 to S105.
[0041] S101, obtaining at least two pieces of order information, and identifying the first box associated with each piece of order information.
[0042] In KTV entertainment venues, consumers generally perform entertainment activities in private rooms. In addition, as the entertainment activities proceed, some additional consumption is often required. For example, daily necessities such as paper towels, or food such as drinks and snacks. At this time, consumers can place orders according to their own needs. For example, through the application in the smartphone, or the application in the ordering device in the private room, the ordering operation can be completed.
[0043] After the consumer completes the order operation, the terminal can obtain the order information associated with the order operation, and the order information is associated with the first box. The first box refers to the box where the goods corresponding to the order information need to be delivered, which is generally the box where the consumer is.
[0044] In an embodiment of the present application, the terminal needs to identify the first box associated with the order information in order to deliver to the first box.
[0045] In actual application scenarios, the terminal may be responsible for multiple boxes, that is, consumers in multiple boxes have completed the order operation, and the terminal can receive order information associated with multiple boxes. Different consumers in the same box may also complete the order operation separately, and the terminal can receive multiple order information associated with the box. Therefore, when the terminal obtains multiple order information, it is necessary to identify the first box associated with each order information.
[0046] S102, calculating the delivery time point of the robot arriving at each first box according to the order information.
[0047] Among them, the above-mentioned delivery time point refers to the theoretical time point when the robot moves from the current location of the robot to the first box associated with the order information.
[0048] In some embodiments of the present application, the terminal may perform path planning according to the current location of the robot and the location of each first box, and calculate the delivery time point of the robot to each first box according to the movement speed of the robot.
[0049] The moving speed may be the current moving speed obtained by acquiring the real-time moving state of the robot, or may be the theoretical moving speed determined by acquiring the motion parameters pre-set when the robot leaves the factory and based on the motion parameters.
[0050] Since the channels, facilities, etc. of KTV are often pre-planned, in some embodiments of the present application, the administrator or operator can provide the above-mentioned terminal with a map or structural design drawing of the KTV, and the above-mentioned terminal will perform path planning based on the map or structural design drawing.
[0051] In actual applications, the administrator or operator can also plan corresponding stop points for each box, such as using the door of each box as a stop point, or assigning a fixed position as a stop point for several adjacent boxes. In this case, the path planning can be performed based on the current position of the robot and the position of the stop point corresponding to each first box, and the delivery time point of the robot to each first box can be calculated based on the movement speed of the robot.
[0052] S103, obtaining song request information associated with each first box, and determining a prompt time period suitable for the robot to provide a delivery prompt to each first box according to the song request information.
[0053] The song request information includes information about songs selected by the consumer in the first private room. Generally, the consumer will select songs to be sung in the song request device in the first private room. At this time, the terminal can obtain the song request information of the first private room.
[0054] The above-mentioned reminder time period refers to the time period during which the delivery reminder can be issued to the consumers in the first box. Its accuracy can be set according to the actual situation. For example, the determined reminder time period can be from 8:05 to 8:06; or from 10:10:10 to 10:10:20.
[0055] When consumers are singing, the robot may affect consumers' reading of lyrics if it uses text prompts, and may affect consumers' singing if it uses voice prompts. Therefore, it is necessary to wait for the right time to provide prompts to consumers. In the implementation of the present application, the robot can determine the prompt time period for providing prompts to each first box based on the song request information associated with each first box.
[0056] S104, selecting a second private room from the first private room.
[0057] Among them, the delivery time point associated with the above-mentioned second box matches the prompt time period associated with the second box itself.
[0058] In some embodiments of the present application, the delivery time point associated with the second box matches the prompt time period associated with the second box itself, which means that the delivery time point associated with the second box is within the prompt time period associated with the second box itself.
[0059] In the implementation of the present application, for a single box in each first box, the terminal can match the delivery time point associated with the first box with the prompt time period associated with the first box. If the delivery time point associated with the first box matches the prompt time period associated with the first box, it means that when the robot arrives at the first box, it can just make a delivery prompt, that is, if the robot delivers to the first box, it can save the time of waiting for the delivery prompt. Therefore, the first box can be confirmed as the second box.
[0060] S105, the robot delivers according to the order information associated with the second box.
[0061] In an embodiment of the present application, the terminal selects a second box from the first box. If the number of the second box is 1, the robot can deliver the goods according to the order information associated with the second box.
[0062] If in some embodiments of the present application, if the number of second boxes is greater than 1, any second box among the second boxes can be selected, and the robot can be controlled to deliver to the second box.
[0063] In actual applications, the goods ordered by consumers may be hot pot, iced drinks and other goods with time limits. In order to avoid affecting consumers' use of the goods, in some embodiments of the present application, the administrator or operator can pre-set the path time threshold. If the number of second private rooms is greater than 1, the terminal can obtain the first time required for the robot to reach each second private room, and select the private rooms whose first time is less than the path time threshold from the second private rooms, and the robot will deliver according to the order information associated with the selected private rooms.
[0064] The first duration may be obtained in the process of calculating the delivery time point in the aforementioned step S102, that is, the first duration is calculated based on the path obtained by path planning and the moving speed of the robot.
[0065] As a preferred embodiment of the present application, if the number of second boxes is greater than 1, the first time required for the robot to reach each second box can be obtained; the box associated with the shortest first time is selected from the second boxes, and the robot performs delivery according to the order information associated with the selected box.
[0066] In the embodiment of the present application, at least two order information are obtained, and the first boxes associated with each order information are identified; and based on the order information, the delivery time point of the robot arriving at each first box is calculated. Then, the song request information associated with each first box is obtained, and the prompt time period suitable for the robot to provide delivery prompts to each first box is determined based on the song request information. Next, the second box is selected from the first box, wherein the delivery time point associated with the second box matches the prompt time period associated with the second box itself. Finally, the robot delivers according to the order information associated with the second box. In the embodiment of the present application, the second box is selected from the first box for delivery by matching the delivery time point and the prompt time period, so that when the robot delivers the order of the second box, it can prompt the consumer to pick it up when it arrives at the second box, which reduces the waiting time for prompting and improves the order delivery efficiency of the robot.
[0067] In some embodiments of the present application, the above-mentioned method of determining the reminder time period for the robot to provide delivery reminders to each first box based on the song request information can be selected according to actual conditions.
[0068] Specifically, Figure 2 As shown, in some implementations of the present application, the determination of the above-mentioned prompt time period may include the following steps S201 to S202.
[0069] Step S201, obtaining song playing information associated with the first box.
[0070] Among them, the above song playing information includes the playing progress of the song currently being played in the first box.
[0071] Step S202, according to the song request information and the song playing information, determine the corresponding broadcastable time period of the first box, and use the broadcastable time period as a prompt time period suitable for the robot to provide a delivery prompt to the first box.
[0072] Among them, the above-mentioned broadcastable time period refers to the time period other than the consumer's singing segment during the playing of the selected song in the first box.
[0073] In some embodiments of the present application, the song request information includes the start and end time points of the selected songs. The terminal can obtain a preset duration threshold, and determine a time period equal to the duration threshold before each selected song ends and a time period equal to the duration threshold after each selected song starts according to the start and end time points and the duration threshold, and determine the broadcastable time period according to the song playing information.
[0074] The above-mentioned time threshold can be adjusted by the administrator or operator according to actual conditions, such as 3 seconds, 5 seconds, etc.
[0075] For example, if the above duration threshold is 5 seconds, it can be determined that the 5 seconds after the start and the 5 seconds before the end of each selected song belong to the time period that can be broadcast. Then, the current playback progress and the song duration of each selected song can be obtained based on the song playback information. Taking the current playback progress as the first minute of the current song and the song length of the current song as an example, if the current time is 8:00:00, it can be determined that 8:01:55 to 8:02:00 (5 seconds before the end of the current song) is the time period that can be broadcast, and 8:02:00 to 8:02:05 (5 seconds after the start of the next song) is the time period that can be broadcast.
[0076] Furthermore, in the process of switching between the two songs before and after the selected song, there may be a gap between songs due to advertisements, song paging, etc., and the gap between songs can also be determined as the broadcastable time period.
[0077] In other embodiments of the present application, the prelude, interlude and outro segments of each song can be marked in advance, and these segments corresponding to the selected songs can be confirmed as the broadcastable time periods, and other time periods except these segments can be confirmed as the segments sung by the consumer.
[0078] In practical applications, it is a lot of work to mark each song. In order to improve efficiency, Figure 3 As shown, in some embodiments of the present application, the song request information includes selected songs. In this case, the determination of the playable time period may also include the following steps S301 to S305.
[0079] Step S301, obtaining the song type and song length of the selected song.
[0080] The song type refers to the song classification of each selected song, such as rock, folk, etc. The specific classification method can be adjusted by the administrator or operator.
[0081] The song lengths mentioned above refer to the total song duration of each selected song.
[0082] Generally, in a KTV system, the corresponding song type and song length are pre-set for each song. When a consumer orders a song using a song ordering device in the KTV, the terminal obtains the song type and song length of the selected song.
[0083] Step S302, according to the song type, determine the broadcastable segments contained in the selected song, the relative positions of the broadcastable segments in the selected song, the broadcastable segments and the associated duration ratios.
[0084] Generally speaking, songs of the same song type often have the same broadcastable segments and associated duration ratios. Therefore, in some embodiments of the present application, for each song type, the broadcastable segments of that song type, the relative positions of the broadcastable segments in songs of that song type, and the broadcastable segments and associated duration ratios in songs of that song type can be determined for each individual song type.
[0085] Specifically, the playable segments, relative positions and duration ratio data corresponding to each song type can be set based on the experience of experts in the song industry, or obtained through big data analysis of different songs of the same type.
[0086] Then, according to the song type of the selected song, the broadcastable segments contained in the selected song, the relative positions of the broadcastable segments in the selected song, the broadcastable segments and the associated duration ratios can be determined.
[0087] For example, it is pre-determined that the broadcastable judgment of a rock song includes a prelude and an outro; the start time of the prelude is the same as the start time of the rock song, and the length is 5% of the total length of the song, and the end time of the outro is the same as the end time of the rock song, and the length is 5% of the total length of the song. If the song type of the selected song is a rock song, it can be determined that the broadcastable segments contained in the selected song are the prelude and the outro, the start time of the prelude is the same as the start time of the selected song, and the length is 5% of the total length of the song, and the end time of the outro is the same as the end time of the selected song, and the length is 5% of the total length of the song.
[0088] Step S303, calculating the duration of the segments that can be played in the selected song according to the duration ratio and the song length.
[0089] The following explanation is continued by taking as an example the determination that the playable segments contained in the selected song are the prelude and outro, the length of the prelude is 5% of the total length of the song, and the length of the outro is 5% of the total length of the song. If the length of the selected song is 5 minutes, the length of the prelude in the selected song is 15 seconds, and the judgment length of the outro is also 15 seconds.
[0090] Step S304, determining the first time period of the playable segment in the selected song according to the relative position and the segment duration.
[0091] The first time period refers to the time period corresponding to the playable segment in the selected song.
[0092] The following explanation is continued by taking the example that the start time of the prelude is the same as the start time of the rock song, and the end time of the outro is the same as the end time of the rock song. If the determined segment length is: the segment length of the prelude is 15 seconds, and the determined length of the outro is also 15 seconds, then it can be determined that the first time period is 15 seconds after the start of the song (prelude segment) and 15 seconds before the end of the song (outro segment).
[0093] Step S305, determining the corresponding broadcastable time period of the first box according to the first time period and the song playing information.
[0094] Taking the current playback progress as playing to the first minute of the current song and the song length of the current song as 5 minutes as an example, if the current time is 8:00:00, and the first time period calculated by the method of steps S301 to S304 is 15 seconds after the start of the song (the prelude) and 15 seconds before the end of the song (the outro), then it can be determined that 8:01:45 to 8:02:00 (the outro) is the broadcastable time period.
[0095] In other embodiments of the present application, the singing segment of the consumer can be marked according to the lyrics of the selected song, and the time period outside the singing segment can be used as the broadcastable time period.
[0096] In the embodiment of the present application, the song playing information associated with the first box is obtained, and then the corresponding broadcastable time period of the first box is determined according to the song request information and the song playing information, and the broadcastable time period is used as the prompt time period suitable for the robot to provide a delivery prompt to the first box. This allows the time period other than the consumer's singing segment to be used as the time for the robot to provide a delivery prompt, thereby avoiding the robot's delivery prompt affecting the consumer's singing and improving the consumer's consumption experience.
[0097] In actual application scenarios, during the delivery process, the number of goods carried by the robot may not meet the quantity requirements of the order. Figure 4 As shown, in the operation of calculating the delivery time point of the robot arriving at each first box according to the order information, the calculation operation of a single order information may include the following steps S401 to S403.
[0098] Step S401, detecting the inventory level of the robot.
[0099] The above inventory refers to the number of commodities carried by the robot. It should be noted that the commodities carried by the same robot may be of different types, and the above inventory may include the number of each type of commodity carried by the robot.
[0100] Specifically, in some embodiments of the present application, the above inventory can be obtained by obtaining the internal image of the warehouse collected by the robot, and performing image recognition on the internal image of the warehouse to identify each commodity and count the quantity of each commodity; or the inventory of the robot can be manually set each time the robot picks up goods, and the inventory is updated according to the order information each time the robot completes an order. If the above robot carries only one kind of commodity, the above inventory can also be calculated based on the total weight of the commodities in the warehouse.
[0101] Step S402: If the inventory quantity is less than the quantity of goods in the order information, then obtain the source location associated with the product information in the order information.
[0102] In some embodiments of the present application, if the inventory is greater than or equal to the number of goods in the order information, it means that the robot has sufficient inventory and can directly go to the first box associated with the order information for delivery. If the inventory is less than the number of goods in the order information, it means that the robot has insufficient inventory, and it is necessary to obtain the source location associated with the product information in the order information, go to the source location to pick up the goods, and then go to the first box associated with the order information for delivery.
[0103] Step S403, calculating the delivery time point of the robot arriving at the first box associated with the order information according to the order information and the source location associated with the order information.
[0104] In some embodiments of the present application, if the inventory quantity is less than the number of goods in the order information, then when planning the path, it is necessary to first plan a pickup path based on the current location of the robot and the source location associated with the order information, and then plan a delivery path based on the source location associated with the order information and the location of the first box associated with the order information, and then calculate the delivery time point of the robot arriving at the first box associated with the order information based on the pickup path and the delivery path.
[0105] It should be noted that in actual application scenarios, consumers often place orders to purchase multiple products at a time, that is, the same order information is often associated with multiple products and associated with multiple supply locations. At this time, the terminal needs to detect the quantity of each product in the order information and the inventory of the corresponding product in the robot warehouse. For each product whose inventory is less than the quantity of the product, the supply location associated with the product information is obtained. Then, based on the order information and each supply location associated with the order information, the delivery time point when the robot arrives at the first box associated with the order information is calculated.
[0106] In an embodiment of the present application, the inventory of the robot is detected. If the inventory is less than the number of goods in the order information, the source location associated with the product information in the order information is obtained, and based on the order information and the source location associated with the order information, the delivery time point of the robot arriving at the first box associated with the order information is calculated, taking into account the time it takes for the robot to pick up the goods, so that the calculated delivery time point is more accurate.
[0107] In actual applications, consumers may also switch songs through the devices in the KTV during the singing process. Figure 5 As shown, in the process of controlling the robot to deliver according to the order information associated with the second box, the following steps S501 to S503 are also included.
[0108] Step S501, obtaining song switching information of the second box.
[0109] Generally, after the consumer performs a song switching operation in the second box, the terminal can obtain the song switching information of the second box.
[0110] Among them, if the above-mentioned song switching operation is to switch songs, the above-mentioned song switching information may include the song after switching; if the above-mentioned song switching operation is to switch the progress of the current song, the above-mentioned song switching information may include the progress of the current song after switching.
[0111] Step S502, updating the prompt time period of the second box according to the song switching information and song request information of the second box.
[0112] After the consumer changes songs in the second box, the time period for delivering reminders to the consumers in the first box will change accordingly. Therefore, in some embodiments of the present application, after obtaining the song changing information of the second box, the reminder time period of the second box can be updated according to the song changing information and song requesting information of the second box.
[0113] For more details, please refer to Figure 2 The specific implementation method will not be described in detail in this application.
[0114] Step S503: adjusting the moving speed of the robot according to the updated prompt time period.
[0115] Specifically, after updating the prompt time period of the second box, the delivery time point of the second insurance can be matched with the updated prompt time period. If the delivery time point matches the updated prompt time period, the robot's moving speed can be left unchanged; if the delivery time point does not match the updated prompt time period, the robot's moving speed needs to be adjusted according to the updated prompt time period, so that the time point when the robot arrives at the second box according to the adjusted speed matches the prompt time period. In addition, if the delivery time point does not match the updated prompt time period, the robot's next target needs to be modified according to the updated prompt time period.
[0116] In the embodiment of the present application, the song switching information of the second private room is obtained, and the prompt time period of the second private room is updated according to the song switching information and song request information of the second private room. Then, the moving speed of the robot is adjusted according to the updated prompt time period, so that the time point when the robot arrives at the second private room matches the prompt time period, and then the robot can prompt the consumer to pick up the item by himself when arriving at the second private room, which reduces the waiting time for prompting and improves the order delivery efficiency of the robot.
[0117] In an optional implementation of the present application, the song switching information of each first box can be obtained in real time, and the prompt time period of each first box can be updated in real time, so as to re-screen the second box and deliver the order information associated with the second box.
[0118] For example, the above terminal is based on Figure 1The method shown controls the robot to deliver the order information corresponding to Box A. During the delivery process, the consumer in Box B changes the song. After the terminal obtains the song change information of Box B, the prompt time period of each first box is recalculated. At this time, the first time associated with Box B matches the delivery time point associated with Box B, and the first time required to reach Box B is shorter than the first time required to reach Box A, then the robot can be controlled to deliver the order information corresponding to Box B instead.
[0119] It should be noted that after the robot is controlled to deliver the goods according to the order information associated with the second box and the delivery is completed, the robot can continue to deliver the goods according to the above order information. Figure 1 The method shown controls the robot to continue delivering the next order from the current position (i.e., the position of the second box mentioned above).
[0120] In actual application scenarios, operators often use multiple robots for delivery. Therefore, in some embodiments of the present application, after controlling the robot to deliver according to the order information associated with the second box, it may include: removing the order information associated with the second box from the at least two order information.
[0121] That is to say, after the terminal controls the robot to deliver according to the order information associated with the second box, the terminal can Figure 1 The method shown filters order information from other order information excluding order information associated with the second box, and controls another robot to deliver the filtered order information.
[0122] In the embodiment of the present application, by removing the order information associated with the second box from at least two order information, other robots can be controlled to deliver the remaining order information, thereby improving the order delivery efficiency in the entire KTV.
[0123] It should be noted that, for the sake of simplicity of description, the aforementioned method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders.
[0124] like Figure 6 The diagram is a schematic diagram of a distribution device 600 provided in an embodiment of the present application, wherein the distribution device 600 is configured on a terminal. The distribution device 600 may include: an acquisition unit 601 , a calculation unit 602 , a determination unit 603 , a screening unit 604 and a distribution unit 605 .
[0125] An acquisition unit 601 is used to acquire at least two pieces of order information and identify a first box associated with each piece of order information;
[0126] A calculation unit 602 is used to calculate the delivery time point of the robot arriving at each of the first boxes according to the order information;
[0127] The determining unit 603 is used to obtain song request information associated with each of the first boxes, and determine a prompt time period suitable for the robot to provide a delivery prompt to each of the first boxes according to the song request information;
[0128] A screening unit 604 is used to screen out a second box from the first box, wherein the delivery time point associated with the second box matches the prompt time period associated with the second box itself;
[0129] The delivery unit 605 is used for the robot to deliver according to the order information associated with the second box.
[0130] In some embodiments of the present application, the above-mentioned delivery unit 605 is also specifically used to: if the number of the second boxes is greater than 1, obtain the first time required for the robot to reach each of the second boxes; filter out the box associated with the shortest first time from the second boxes, and control the robot to perform delivery according to the order information associated with the filtered box.
[0131] In some embodiments of the present application, the above-mentioned determination unit 603 is also specifically used to: obtain song playing information associated with the first box; determine the corresponding broadcastable time period of the first box based on the song request information and the song playing information, and use the broadcastable time period as the prompt time period for the robot to provide a delivery prompt to the first box.
[0132] In some embodiments of the present application, the song request information includes a selected song, and the determination unit 603 is further specifically used to: obtain the song type and song length of the selected song; determine the broadcastable segment contained in the selected song, the relative position of the broadcastable segment in the selected song, the broadcastable segment and the associated time ratio according to the song type; calculate the segment duration of the broadcastable segment in the selected song according to the time ratio and the song length; determine the first time period of the broadcastable segment in the selected song according to the relative position and the segment duration; determine the corresponding broadcastable time period of the first box according to the first time period and the song playing information.
[0133] In some embodiments of the present application, the above-mentioned distribution device 600 also includes an adjustment unit, which is used to: obtain the song switching information of the second box; update the prompt time period of the second box according to the song switching information and the song request information of the second box; and adjust the movement speed of the robot according to the updated prompt time period.
[0134] In some embodiments of the present application, the above-mentioned order information includes product information and the quantity of goods; the above-mentioned calculation unit 602 is also specifically used to: detect the inventory of the robot; if the inventory is less than the quantity of goods in the order information, obtain the source location associated with the product information in the order information; based on the order information and the source location associated with the order information, calculate the delivery time point of the robot arriving at the first box associated with the order information.
[0135] In some embodiments of the present application, the delivery time point associated with the second box matches the prompt time period associated with the second box itself, which means that the delivery time point associated with the second box is within the prompt time period associated with the second box itself.
[0136] In some embodiments of the present application, the distribution device 600 further includes a rejection unit, which is used to: reject the order information associated with the second box from the at least two order information.
[0137] It should be noted that, for the convenience and simplicity of description, the specific working process of the above-mentioned distribution device 600 can refer to Figures 1 to 5 The corresponding process of the method will not be repeated here.
[0138] like Figure 7 The terminal 7 may include: a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and executable on the processor 70, such as a distribution device program. When the processor 70 executes the computer program 72, the steps in the above-mentioned distribution method embodiments are implemented, such as Figure 1 Alternatively, when the processor 70 executes the computer program 72, the functions of each module / unit in the above-mentioned device embodiments are realized, for example, Figure 6 The functions of units 601 to 605 are shown.
[0139] The computer program may be divided into one or more modules / units, which are stored in the memory 71 and executed by the processor 70 to complete the present application. The one or more modules / units may be a series of computer program instruction segments that can perform specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal. For example, the computer program may be divided into an acquisition unit, a calculation unit, a determination unit, a screening unit, and a distribution unit. The specific functions of each unit are as follows:
[0140] An acquisition unit, used for acquiring at least two pieces of order information and identifying a first box associated with each piece of order information;
[0141] A calculation unit, used for calculating the delivery time point of the robot arriving at each of the first boxes according to the order information;
[0142] a determination unit, configured to obtain song request information associated with each of the first boxes, and determine a prompt time period suitable for the robot to provide a delivery prompt to each of the first boxes according to the song request information;
[0143] A screening unit, used for screening out a second box from the first box, wherein the delivery time point associated with the second box matches the prompt time period associated with the second box itself;
[0144] A delivery unit is used for the robot to deliver according to the order information associated with the second box.
[0145] The terminal can be the delivery robot itself, which is run by the robot's processor to execute the delivery method; it can also be a terminal such as a scheduling server, which controls the robot performing the delivery task according to the delivery method provided in this application.
[0146] The terminal may include, but is not limited to, a processor 70 and a memory 71. Those skilled in the art will appreciate that Figure 7 It is only an example of a terminal and does not constitute a limitation on the terminal. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal may also include input and output devices, network access devices, buses, etc.
[0147] The processor 70 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. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0148] The memory 71 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. The memory 71 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal. Further, the memory 71 may also include both an internal storage unit of the terminal and an external storage device. The memory 71 is used to store the computer program and other programs and data required by the terminal. The memory 71 may also be used to temporarily store data that has been output or is to be output.
[0149] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0150] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0151] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0152] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0153] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0154] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0155] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0156] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A delivery method, It is characterized in that include: Obtain at least two pieces of order information, and identify a first box associated with each piece of order information; Calculate the delivery time of the robot arriving at each of the first boxes according to the order information; The song request information associated with each of the first boxes is obtained, and a prompt time period suitable for the robot to provide a delivery prompt to each of the first boxes is determined according to the song request information, wherein the operation on a single first box includes: obtaining song playing information associated with the first box; determining a corresponding reportable time period for the first box according to the song request information and the song playing information, and using the reportable time period as the prompt time period suitable for the robot to provide a delivery prompt to the first box, wherein the reportable time period includes a prelude segment, an interlude segment, and an outro segment pre-marked for the selected song; Filtering out a second private room from the first private room, wherein the delivery time point associated with the second private room matches the prompt time period associated with the second private room itself; The robot performs delivery according to the order information associated with the second box.
2. The delivery method according to claim 1, It is characterized in that The robot performs delivery according to the order information associated with the second box, including: If the number of the second boxes is greater than 1, obtaining a first time required for the robot to reach each of the second boxes; The box associated with the shortest first duration is selected from the second boxes, and the robot is controlled to deliver the order according to the order information associated with the selected box.
3. The delivery method according to claim 1, It is characterized in that The song request information includes a selected song, and the determining of the corresponding broadcastable time period of the first box according to the song request information and the song playing information includes: Obtaining the song type and song length of the selected song; Determine, according to the song type, the broadcastable segments contained in the selected song, the relative positions of the broadcastable segments in the selected song, the broadcastable segments and the associated duration ratios; Calculate the duration of the broadcastable segment in the selected song according to the duration ratio and the song length; Determine, according to the relative position and the duration of the segment, a first time period of the broadcastable segment in the selected song; According to the first time period and the song playing information, the corresponding broadcastable time period of the first box is determined.
4. The delivery method according to any one of claims 1 to 3, It is characterized in that The process in which the robot delivers according to the order information associated with the second box also includes: Obtain song switching information of the second box; According to the song switching information and the song requesting information of the second box, updating the prompt time period of the second box; The moving speed of the robot is adjusted according to the updated prompt time period.
5. The delivery method according to any one of claims 1 to 3, It is characterized in that The order information includes product information and product quantity; In the operation of calculating the delivery time point of the robot arriving at each of the first boxes according to the order information, the calculation operation of a single order information includes: detecting the inventory level of the robot; If the inventory quantity is less than the quantity of the goods in the order information, then obtaining the source location associated with the product information in the order information; According to the order information and the source location associated with the order information, the delivery time point when the robot arrives at the first box associated with the order information is calculated.
6. The delivery method according to any one of claims 1 to 3, It is characterized in that The delivery time point associated with the second box matches the prompt time period associated with the second box itself, which means: The delivery time point associated with the second box is within the prompt time period associated with the second box itself.
7. The delivery method according to any one of claims 1 to 3, It is characterized in that After the robot delivers the order according to the order information associated with the second box, the method includes: The order information associated with the second box is eliminated from the at least two order information.
8. A terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
9. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
