Order processing method, device, equipment, storage medium and program product
Through image recognition and information matching, the order preparation instructions are generated, which solves the problem that merchants cannot report the progress of meals in a timely manner, improves delivery efficiency and user experience, and achieves fair and responsible handling.
Patent Information
- Application Number
- CN202111437629.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-29
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2041-11-29
AI Technical Summary
In the prior art, merchants are unable to report the meal progress in a timely manner during the order delivery process, resulting in reduced delivery efficiency and poor user experience, and it is difficult to determine the responsibility of dealing with disputes.
By obtaining and image recognition of the pictures to be identified, the pictures including the receipt and the packaged items are determined, the collection time and receipt information of the pictures are obtained, and the information is matched to generate order prepared instructions.
Ensure the reliability of orders prepared with instructions, prevent merchants from falsely reporting meal progress, improve delivery efficiency and user experience, and be able to handle disputes fairly and responsibilities.
Smart Images

Figure CN114067346B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to an order processing method, device, equipment, storage medium and program product. Background Art
[0002] With the development of mobile Internet technology, takeaway has become a common way of dining in people's daily life. For users of takeaway services, the delivery time of takeaway services is an important parameter affecting user experience, and an important link affecting the delivery time is the order delivery link, that is, the process from the merchant receiving the takeaway order to the merchant preparing the food in the order.
[0003] In the related technology, the merchant promptly reports the progress of meal delivery during the order delivery process, that is, whether the merchant has prepared the meals in the order. This not only allows the delivery staff responsible for delivering the meals to plan their own itinerary based on the meal delivery progress to improve delivery efficiency, but also ensures that users who use the takeaway service can understand the meal delivery progress, reduce the user's anxiety while waiting, and improve the user experience. If a dispute arises between the merchant and the delivery staff in the future, the dispute can be determined and handled based on the meal delivery progress. Summary of the invention
[0004] In order to solve the problems in the related art, the embodiments of the present disclosure provide an order processing method, apparatus, device, storage medium and program product.
[0005] In a first aspect, an order processing method is provided in an embodiment of the present disclosure, and the order processing method includes:
[0006] Obtain at least one picture to be identified, and perform image recognition on at least one picture to be identified;
[0007] Determine, according to the image recognition result, a packaged image to be identified that includes a receipt and a packaged article in at least one image to be identified;
[0008] Get the collection time of the packaged image to be identified and the packaged receipt information corresponding to the receipt in the packaged image to be identified;
[0009] In response to the collection time and the packaged receipt information matching the target order to be processed information of the target order to be processed, order ready indication information including the collection time and the target order to be processed information is generated.
[0010] In combination with the first aspect, in a first implementation of the first aspect of the present disclosure, the order processing method further includes:
[0011] Sending order preparation indication information, where the order preparation indication information is used to be displayed on at least one terminal.
[0012] In combination with the first aspect, in a second implementation of the first aspect of the present disclosure, obtaining at least one picture to be identified includes:
[0013] At least one picture to be identified is received from a picture acquisition device, and the picture acquisition device is used to acquire at least one picture to be identified in response to the information carried by the scanned graphic code being successfully identified.
[0014] In combination with the first aspect, in a third implementation of the first aspect of the present disclosure, the order processing method further includes:
[0015] In response to determining, based on the image recognition result, that at least one picture to be identified does not include a packaged picture to be identified, rescanning indication information is sent, where the rescanning indication information is used to indicate that rescanning prompt information for displaying a rescanning graphic code is displayed on the picture acquisition device.
[0016] In combination with the first aspect, in a fourth implementation of the first aspect of the present disclosure, the packed receipt information and the collection time are matched with the target to-be-processed order information of the target to-be-processed order, including:
[0017] The collection time is earlier than the order preparation time limit in the target pending order information, the order number in the packaged receipt information is the same as the order number in the target pending order information, and the graphic code information in the packaged receipt information is the same as the graphic code information in the target pending order information.
[0018] In combination with the first aspect and the first to fourth implementations of the first aspect, in a fifth implementation of the first aspect of the present disclosure, the order processing method further includes:
[0019] Get the order time of the target pending order, and get the order preparation time difference between the order time and the collection time;
[0020] Determine the initial order preparation time model, take the target pending order information as input, and take the order preparation time difference as output to train the initial order preparation time model to obtain the order preparation time model.
[0021] In combination with the fifth implementation method of the first aspect, in the sixth implementation method of the first aspect of the present disclosure, the target pending order information includes at least one of the time period to which the order is placed, the order amount of the target pending order, the number of items in the target pending order, and the type of items in the target pending order.
[0022] In a second aspect, an order processing method is provided in an embodiment of the present disclosure, and the order processing method includes:
[0023] In response to the code scanning request, scanning the graphic code;
[0024] In response to the information carried by the scanned graphic code being successfully identified, collecting at least one picture to be identified;
[0025] Send at least one picture to be recognized.
[0026] In combination with the second aspect, in a first implementation of the second aspect of the present disclosure, the order processing method further includes:
[0027] Receive order preparation indication information and display the order preparation indication information, which includes the collection time of the packaged pictures to be identified and the target order information to be processed. The packaged pictures to be identified are at least one picture to be identified that includes a receipt and packaged items. The target order information to be processed matches the collection time of the packaged pictures to be identified and the packaged receipt information corresponding to the receipt in the packaged pictures to be identified.
[0028] In combination with the first implementation of the second aspect, in a second implementation of the second aspect of the present disclosure, the order processing method further includes:
[0029] In response to the order preparation indication information, continue scanning indication information is displayed, and the continue scanning indication information is used to instruct scanning other targets besides the current scanning target.
[0030] In combination with the first implementation of the second aspect, in a third implementation of the second aspect of the present disclosure, the collection time is matched with the target to-be-processed order information of the target to-be-processed order, including:
[0031] The collection time is earlier than the order preparation time limit in the target pending order information, the order number in the packaged receipt information is the same as the order number in the target pending order information, and the graphic code information in the packaged receipt information is the same as the graphic code information in the target pending order information.
[0032] In combination with the second aspect, in a fourth implementation of the second aspect of the present disclosure, the order processing method further includes:
[0033] Rescanning indication information is received, and in response to the rescanning indication information, rescanning prompting information for prompting the user to rescan the graphic code is displayed.
[0034] In a third aspect, an order processing device is provided in an embodiment of the present disclosure, the device comprising:
[0035] A picture acquisition module is configured to acquire at least one picture to be identified and perform image recognition on the at least one picture to be identified;
[0036] A picture determination module, configured to determine, according to the image recognition result, a packaged picture to be identified including a receipt and a packaged article in at least one picture to be identified;
[0037] An information acquisition module is configured to acquire the acquisition time of the packaged image to be identified and the packaged receipt information corresponding to the receipt in the packaged image to be identified;
[0038] The information generation module is configured to generate order preparation indication information including the collection time and the target order information in response to the collection time and the packed receipt information matching the target order information.
[0039] In a fourth aspect, an order processing device is provided in an embodiment of the present disclosure, the device comprising:
[0040] A code scanning module, configured to scan a graphic code in response to a code scanning request;
[0041] The picture acquisition module is configured to acquire at least one picture to be identified in response to the information carried by the scanned graphic code being successfully identified;
[0042] The picture sending module is configured to send at least one picture to be identified.
[0043] In a fifth aspect, an embodiment of the present disclosure provides an electronic device, comprising a memory and at least one processor; the memory is used to store one or more computer instructions, and the one or more computer instructions are executed by at least one processor to implement the method steps of any one of the first aspect, the first implementation method of the first aspect to the sixth implementation method, the second aspect, and the first implementation method of the second aspect to the fourth implementation method.
[0044] In the sixth aspect, a computer-readable storage medium is provided in an embodiment of the present disclosure, on which computer instructions are stored. When the computer instructions are executed by a processor, the method steps of any one of the first aspect, the first implementation method of the first aspect to the sixth implementation method, the second aspect, and the first implementation method of the second aspect to the fourth implementation method are implemented.
[0045] In the seventh aspect, a computer program product is provided in an embodiment of the present disclosure, comprising a computer program / instruction, which, when executed by a processor, implements the method steps of any one of the first aspect, the first to sixth implementations of the first aspect, the second aspect, and the first to fourth implementations of the second aspect.
[0046] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0047] In the technical solution provided by the embodiment of the present disclosure, by performing image recognition on at least one acquired picture to be identified, and determining a packaged picture to be identified that includes a receipt and a packaged item in at least one picture to be identified according to the image recognition result, it can be ensured that the packaged picture to be identified includes not only the receipt, but also the receipt and the packaged item, that is, the picture including only the receipt is filtered out, to ensure that the merchant cannot achieve the purpose of reporting false order preparation information by providing pictures including only the receipt when the item is not packaged; by obtaining the acquisition time of the packaged picture to be identified and the packaged receipt information corresponding to the receipt in the packaged picture to be identified, and responding to the acquisition time and the packaged receipt information with the target The target pending order information of the order to be processed is matched, and the order ready indication information including the collection time and the target pending order information is generated, which can ensure that the information on the receipt in the packaged to be identified image is the order information of the merchant's pending order, and avoid the merchant from providing pictures of receipts of other processed or pending orders other than the target pending order to achieve the purpose of reporting false order ready information. At the same time, it also ensures that the time of collecting the packaged to be identified image matches the time required by the merchant's pending order (such as the order placement time, the order ready time limit), and avoids the merchant from providing pictures collected long before or after the time required by the pending order to achieve the purpose of reporting false order ready information. Therefore, the scheme provided by the present disclosure can ensure that the items in the target pending order corresponding to the target pending order information in the generated order ready indication information have been packaged according to the time required by the target pending order, that is, the collection time in the order ready indication information, and has high reliability, which can improve the distribution efficiency when scheduling distribution resources based on the order ready indication information, and can also fairly determine the responsibility for disputes between merchants and distribution resources based on the order ready indication information.
[0048] In the above implementation, by sending the order preparation indication information, the order preparation indication information can be transmitted to the terminal and displayed to the corresponding operator through the terminal. When the terminal is a merchant terminal, the merchant's operator can promptly know that the processing progress of the target pending order has been reported; when the terminal is a user terminal, the user himself can promptly know that the items in the target pending order he ordered have been packed and will be delivered by the distribution resources; when the terminal is a distribution resource terminal, the distribution resource operator (such as a deliveryman) can promptly know that the items in the target pending order that needs to be delivered by the distribution resource have been packed and can be picked up from the merchant by the distribution resource at any time. Therefore, the above implementation can improve the transparency of the order processing progress and improve the user experience.
[0049] In the above embodiment, by receiving at least one picture to be identified sent by a picture acquisition device, wherein the picture acquisition device is used to acquire at least one picture to be identified in response to the information carried by the scanned graphic code being successfully identified, it can be ensured that the at least one picture to be identified obtained includes a receipt for a valid order, thereby avoiding subsequent picture recognition and information extraction for pictures including receipts for invalid orders, thereby reducing the amount of data processing in the subsequent processing process without affecting the reliability of the order preparation indication information, thereby reducing the cost of data processing.
[0050] In the above-mentioned embodiment, in response to determining according to the image recognition result that at least one picture to be identified does not include the packaged picture to be identified, a rescan indication message is sent, and a rescan prompt message prompting the rescanning of the graphic code is displayed on the picture acquisition device, so that the corresponding operator is prompted by the picture acquisition device to use the picture acquisition device to rescan the graphic code, so that the picture acquisition device can respond to the successful identification of the information carried by the scanned graphic code to collect at least one picture to be identified, thereby increasing the probability of the picture acquisition device successfully sending at least one picture to be identified.
[0051] In the above embodiment, by limiting the collection time to be earlier than the order preparation time limit in the target order information to be processed, it can be ensured that the information in the pictures collected and uploaded by the merchant after the order preparation time limit cannot be used to generate the order preparation indication information, thereby avoiding subsequent interference with the responsibility processing process caused by the preparation time of the items in the order being later than the order preparation time limit; by limiting the order number in the packaged receipt information to be the same as the order number in the target order information to be processed, and at the same time limiting the graphic code information in the packaged receipt information to be the same as the graphic code information in the target order information to be processed, it can be ensured that the order corresponding to the packaged receipt will not be other orders other than the target order to be processed, thereby improving the accuracy of the subsequently generated order preparation indication information.
[0052] In the above implementation, by obtaining the order time of the target pending order, and obtaining the order preparation time difference between the order time and the collection time, and determining the initial order preparation time model, the target pending order information is used as input, and the order preparation time difference is used as output to train the initial order preparation time model to obtain the order preparation time model. Based on the obtained order preparation time model, the order preparation time of the unprocessed order can be estimated based on the order information and order time of other unprocessed orders. According to the estimated order preparation time, it can help to plan and manage the distribution resources of the unprocessed orders, thereby improving the utilization rate of the distribution resources.
[0053] In the above embodiment, by limiting the target pending order information to include at least one of the time period to which the order is placed, the order amount of the target pending order, the number of items in the target pending order, and the type of items in the target pending order, an order ready time model can be trained based on at least one factor that has a certain impact on the order ready time, thereby improving the accuracy of the order ready time obtained based on the order ready time model.
[0054] In the above implementation, by responding to a code scanning request, scanning a graphic code, responding to the successful identification of the information carried by the scanned graphic code, collecting at least one picture to be identified, and sending at least one picture to be identified, it can be ensured that at least one picture to be identified received by the middle station server includes a receipt for a valid order, thereby avoiding the middle station server from performing subsequent image recognition and information extraction on pictures of receipts for invalid orders, and reducing the amount of data processing in the subsequent processing process without affecting the reliability of the order preparation indication information obtained by the middle station server, thereby reducing the cost of data processing.
[0055] In the above implementation, by receiving order preparation indication information and displaying the order preparation indication information, the order preparation indication information can be displayed to the merchant's operating personnel, so that the merchant's operating personnel can promptly know that the processing progress of the target pending order has been reported. Therefore, the above implementation can improve the transparency of the order processing progress and improve the user experience.
[0056] In the above-mentioned embodiment, by responding to the order preparation indication information and displaying the continue scanning indication information, the merchant's operating personnel can promptly know that based on the order corresponding to the scanning target, the merchant's end has generated the corresponding order preparation indication information for the order, and can continue to scan other targets other than the current scanning target, so that the merchant's end can generate corresponding order preparation indication information for the orders corresponding to the other targets other than the current scanning target, thereby improving the efficiency of the merchant's end in generating order preparation indication information.
[0057] In the above embodiment, by limiting the collection time to be earlier than the order preparation time limit in the target order information to be processed, it can be ensured that the information in the pictures collected and uploaded by the merchant after the order preparation time limit cannot be used to generate the order preparation indication information, thereby avoiding subsequent interference with the responsibility processing process caused by the preparation time of the items in the order being later than the order preparation time limit; by limiting the order number in the packaged receipt information to be the same as the order number in the target order information to be processed, and at the same time limiting the graphic code information in the packaged receipt information to be the same as the graphic code information in the target order information to be processed, it can be ensured that the order corresponding to the packaged receipt will not be other orders other than the target order to be processed, thereby improving the accuracy of the order preparation indication information generated by the merchant side.
[0058] In the above embodiment, by receiving rescan indication information and displaying rescan prompt information prompting to rescan the graphic code in response to the rescan indication information, the merchant's operator can be prompted to use the image acquisition device to rescan the graphic code, so that the merchant terminal can respond to the information carried by the scanned graphic code being successfully identified to capture at least one picture to be identified, thereby increasing the probability of the merchant terminal successfully sending at least one picture to be identified.
[0059] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Other features, objectives and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:
[0061] Figure 1 A flowchart showing an order processing method according to an embodiment of the present disclosure;
[0062] Figure 2 A schematic diagram showing an order processing scenario according to an embodiment of the present disclosure;
[0063] Figure 3 A schematic diagram showing an order processing scenario according to an embodiment of the present disclosure;
[0064] Figure 4 A flowchart showing an order processing method according to an embodiment of the present disclosure;
[0065] Figure 5 A flowchart showing an order processing method according to an embodiment of the present disclosure;
[0066] Figure 6 A structural block diagram of an order processing device according to an embodiment of the present disclosure is shown;
[0067] Figure 7 A structural block diagram of an order processing device according to an embodiment of the present disclosure is shown;
[0068] Figure 8 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown;
[0069] Fig. 9 It is a schematic diagram of the structure of a computer system suitable for implementing the method according to the embodiment of the present disclosure. DETAILED DESCRIPTION
[0070] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.
[0071] In the present disclosure, it should be understood that terms such as "include" or "have" are intended to indicate the presence of labels, numbers, steps, behaviors, components, parts, or combinations thereof disclosed in the present specification, and are not intended to exclude the possibility that one or more other labels, numbers, steps, behaviors, components, parts, or combinations thereof exist or are added.
[0072] It should also be noted that, in the absence of conflict, the embodiments and labels in the embodiments of the present disclosure can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0073] In order to enable the merchant to report the progress of meal delivery in a timely manner during the order delivery process, that is, whether the merchant has prepared the food in the order, the inventor of the present disclosure has considered the following solution.
[0074] After the merchant has prepared the meals for the corresponding order, he can trigger the scan code button on the terminal, so that the terminal responds to the button being triggered to enter the scan code process. The merchant scans the QR code on the receipt corresponding to the order through the terminal entering the scan code process. The terminal determines the corresponding order based on the information carried by the successfully scanned QR code, and sends a meal delivery indication information indicating that the meals in the order have been prepared, thereby achieving the purpose of reporting the meal delivery progress.
[0075] The disadvantages of this solution: Since the receipt corresponding to the order is printed out when the merchant accepts the order, even if the food in the order is not ready, the merchant can scan the receipt corresponding to the order to make the terminal send a meal instruction information indicating that the food in the order is ready, thereby reporting a false meal progress, thereby reducing the reliability of the meal progress. When the reliability of the meal progress is poor, the delivery person may arrive at the merchant's location when the food in the order is not ready based on the poor reliability of the meal progress, and the delivery person needs to stay for a long time before he can get the food to continue delivery, which reduces the delivery efficiency. In addition, if a dispute arises between the merchant and the delivery person, since the reliability of the meal progress reported by the merchant cannot be verified, it is also impossible to fairly determine the responsibility for the dispute based on the meal progress.
[0076] Taking into account the shortcomings of the above schemes, the inventors of the present disclosure have proposed a new scheme: obtaining at least one picture to be identified, and performing image recognition on at least one picture to be identified; determining a packaged picture to be identified including a receipt and packaged items in at least one picture to be identified based on the image recognition result; obtaining the acquisition time of the packaged picture to be identified and the packaged receipt information corresponding to the receipt in the packaged picture to be identified; in response to the acquisition time and the packaged receipt information matching the target order information to be processed, generating order preparation indication information including the acquisition time and the target order information to be processed. Compared with the aforementioned scheme, the scheme proposed by the inventor of the present disclosure can ensure that the packaged picture to be identified includes not only the receipt but also the packaged item by performing image recognition on at least one acquired picture to be identified, and determining the packaged picture to be identified including the receipt and the packaged item in at least one picture to be identified according to the image recognition result, that is, filtering out the pictures including only the receipt, and ensuring that the merchant cannot report false order preparation information by providing pictures including only the receipt when the item is not packaged; by obtaining the acquisition time of the packaged picture to be identified and the packaged receipt information corresponding to the receipt in the packaged picture to be identified, and responding to the acquisition time and the packaged receipt information and the target The target pending order information of the pending order is matched, and the order ready indication information including the collection time and the target pending order information is generated, which can ensure that the information on the receipt in the packaged to be identified image is the order information of the merchant's pending order, and avoid the merchant from providing images of receipts of other processed or pending orders other than the target pending order to achieve the purpose of reporting false order ready information. At the same time, it also ensures that the time of collecting the packaged to be identified image matches the time required by the merchant's pending order (such as the order time, the order ready time limit), and avoids the merchant from providing images collected long before or after the time required by the pending order to achieve the purpose of reporting false order ready information. Therefore, the scheme provided by the present disclosure can ensure that the items in the target pending order corresponding to the target pending order information in the generated order ready indication information have been packaged according to the time required by the target pending order, that is, the collection time in the order ready indication information, and has high reliability, which can improve the distribution efficiency when scheduling distribution resources based on the order ready indication information, and can also be used to fairly determine the responsibility of disputes between merchants and distribution resources based on the order ready indication information.
[0077] In order to solve the above problems, the present disclosure proposes an order processing method, device, equipment, storage medium and program product.
[0078] Figure 1 A flowchart of an order processing method according to an embodiment of the present disclosure is shown. Figure 1As shown, the order processing method includes steps S101-S104.
[0079] In step S101, at least one picture to be identified is obtained, and image recognition is performed on the at least one picture to be identified.
[0080] In step S102, a packaged image to be identified that includes a receipt and a packaged article is determined in at least one image to be identified according to the image recognition result.
[0081] In step S103, the acquisition time of the packaged image to be identified and the packaged receipt information corresponding to the receipt in the packaged image to be identified are obtained.
[0082] In step S104, in response to the collection time and the packaged receipt information matching the target order information to be processed, order ready indication information including the collection time and the target order information to be processed is generated.
[0083] In one embodiment of the present disclosure, the order processing method may be applicable to middle-office service providers such as computers, computing devices, electronic devices, servers, etc. that process orders, such as servers located at the middle-office service end.
[0084] In one embodiment of the present disclosure, the image to be identified can be understood as an image sent by a merchant through a merchant terminal. The merchant terminal can be a mobile terminal running a merchant application (Application, APP), or other terminals running a merchant application, such as a desktop computer, a tablet computer, etc. At least one image to be identified can be obtained by the merchant terminal through scanning, taking a picture, or sensing.
[0085] For example, Figure 2 A schematic diagram showing an order processing scenario according to an embodiment of the present disclosure is shown. Figure 2 As shown, the merchant mobile terminal 10 includes a display screen 11, and a merchant-side application 12 is running on the merchant mobile terminal 10. The merchant mobile terminal 10 can collect at least one picture to be identified through a barcode scanner 13 wirelessly connected thereto. The at least one picture to be identified can include a first picture to be identified 14 and a second picture to be identified 15, wherein the first picture to be identified 14 includes a packaged item 16 and a receipt 17, and the second picture to be identified 15 only includes the receipt 17. The merchant mobile terminal 10 uploads at least one picture to be identified.
[0086] In one embodiment of the present disclosure, image recognition is performed on at least one picture to be identified, and a packaged picture to be identified including a receipt and a packaged item is determined in at least one picture to be identified based on the image recognition result. This can be understood as identifying the target in each picture in at least one picture to be identified, so as to determine the target in each picture whose shape, size and pattern at least one item meets the packaged item identification standard, and the target in each picture whose shape, size and pattern at least one item meets the receipt identification standard, so as to determine the picture that includes at least one item of the shape, size and pattern that meets the packaged item identification standard and at least one item of the shape, size and pattern that meets the receipt identification standard, that is, the packaged picture to be identified including the packaged item and the receipt. Among them, the packaged item can be understood as the packaged meal, and can also be understood as other items that need to be delivered from the merchant's location to another location by delivery resources. The present disclosure does not limit the specific type of the packaged item. Exemplarily, a pre-trained image recognition model can be obtained, and at least one picture to be recognized can be used as input and input into the image recognition model in sequence. According to the output of the image recognition model, a packaged picture to be recognized that includes a receipt and packaged items can be determined in at least one picture to be recognized.
[0087] In one embodiment of the present disclosure, obtaining the collection time of the packaged picture to be identified can be understood as obtaining the collection time by reading the picture information of the packaged picture to be identified, and can also be understood as sending an upload instruction for the collection time of the packaged picture to be identified to the merchant terminal, and receiving the collection time sent by the merchant terminal in response to the upload instruction for the collection time of the packaged picture to be identified.
[0088] In one embodiment of the present disclosure, the packaged receipt information corresponding to the packaged receipt in the image to be identified can be understood as identifying at least one of the characters and graphic codes on the packaged receipt in the image to be identified to obtain the packaged receipt information, wherein the characters may include but are not limited to numbers, English letters, Chinese characters, punctuation marks, etc., the graphic codes may include but are not limited to bar codes, QR codes, etc., and the packaged receipt information may include but is not limited to order number, order item name, number of order items, order item type, order amount, order placement time, order delivery time limit, order delivery address, order delivery resource name, etc. Exemplarily, OCR (optical character recognition) technology can be used to identify the text area on the packaged receipt in the picture to be identified. OCR technology detects the shape of the character to be identified in the text area, and identifies the probability that the detected shape is a known character in the character library through a classifier model, and then determines the target character corresponding to the character to be identified based on the probability, and obtains the packaged receipt information based on the target character. It can be understood that this embodiment is not limited to the above-mentioned OCR technology. As long as it is a recognition technology that can identify the character shape in the text area on the packaged receipt in the picture to be identified, and then identify the target character based on the character shape, it can be applied to the embodiments of the present disclosure.
[0089] In one embodiment of the present disclosure, the collection time and the packaged receipt information match the target pending order information of the target pending order, which can be understood as the collection time meets the requirements of the target pending order information and the packaged receipt information belongs to the target pending order information. Exemplarily, when the target pending order information includes the order placement time, if the collection time is later than the order placement time in the target pending order information, then the collection time matches the target pending order. When the target pending order information includes the order preparation time limit (i.e., the latest delivery time allowed by the user), if the collection time is earlier than the order delivery time limit, then the collection time matches the target pending order.
[0090] In the above-mentioned embodiment, by performing image recognition on at least one acquired picture to be identified, and determining a packaged picture to be identified that includes a receipt and a packaged item in at least one picture to be identified based on the image recognition result, it can be ensured that the packaged picture to be identified includes not only the receipt, but also the receipt and the packaged item, that is, the picture including only the receipt is filtered out, to ensure that the merchant cannot report false order preparation information by providing pictures including only the receipt when the item is not packaged; by obtaining the collection time of the packaged picture to be identified and the packaged receipt information corresponding to the receipt in the packaged picture to be identified, and in response to the collection time and the packaged receipt information and the target order to be processed The target pending order information is matched, and the order ready indication information including the collection time and the target pending order information is generated, which can ensure that the information on the receipt in the packaged to be identified image is the order information of the merchant's pending order, and avoid the merchant from reporting false order ready information by providing images of receipts of other processed or pending orders other than the target pending order. At the same time, it also ensures that the time of collecting the packaged to be identified image matches the time required by the merchant's pending order (such as the order time, the order ready time limit), and avoids the merchant from reporting false order ready information by providing images collected long before or after the time required by the pending order. Therefore, the scheme provided by the present disclosure can ensure that the items in the target pending order corresponding to the target pending order information in the generated order ready indication information have been packaged according to the time required by the target pending order, that is, the collection time in the order ready indication information, and has high reliability, which can improve the distribution efficiency when scheduling distribution resources based on the order ready indication information, and can also fairly determine the responsibility for disputes between merchants and distribution resources based on the order ready indication information.
[0091] In one embodiment of the present disclosure, the order processing method further includes the following steps:
[0092] Sending order preparation indication information, where the order preparation indication information is used to be displayed on at least one terminal.
[0093] In one embodiment of the present disclosure, the order preparation indication information is used to be displayed on at least one terminal, which can be understood as being displayed on at least one of the merchant terminal, the delivery resource terminal and the user terminal, wherein the delivery resource can be a delivery person or a delivery robot, the delivery resource terminal can be a mobile terminal running a delivery resource end application, or can be other terminals running a delivery resource end application, such as a tablet computer, a vehicle-mounted computer, etc.; the user terminal can be a mobile terminal running a user end application, or can be other terminals running a user end application, such as a tablet computer, a vehicle-mounted computer, a wearable device, etc. Exemplarily, the display screen of the merchant terminal can display the display interface of the merchant end application running on the merchant terminal, and the order preparation indication information can be displayed in the display interface; the display screen of the delivery person terminal can display the display interface of the delivery person end application running on the delivery person terminal, and the order preparation indication information can be displayed in the display interface; the display screen of the user terminal can display the display interface of the user end application running on the user terminal, and the order preparation indication information can be displayed in the display interface.
[0094] In one embodiment of the present disclosure, a packaged picture to be identified can also be sent, and the packaged picture to be identified is used for display on the user terminal. Among them, by sending the packaged picture to be identified and displaying it on the user terminal, it can ensure that the user can know more detailed order processing progress information, which helps to reduce the anxiety of the user when waiting for the items in the order, and improves the user experience.
[0095] For example, Figure 3 A schematic diagram showing an order processing scenario according to an embodiment of the present disclosure is shown. Figure 3As shown, the display interface 20 of the merchant-side application may include a pending order information display column 21 corresponding to a pending order, and an order ready button 22 and order information 23 of the pending order may be displayed in the pending order information display column 21, wherein the order information 23 may include the order number of the pending order, the time difference between the current time and the order ready time limit, etc. In response to the order ready button 22 being triggered, the merchant-side application may call the image collection component on the merchant terminal to collect at least one image to be identified. In response to receiving the order ready indication information, the merchant-side application may display the order ready indication information 24 in the pending order information display column 21 of the display interface 20 of the merchant-side application, and the order ready indication information 24 displayed here may include the order number and the collection time, etc. The display interface 30 of the distribution resource end application may include a pending order information display column 31 corresponding to a pending order, in which a distribution resource arrival merchant button 33 and order information 32 of the pending order may be determined, wherein the distribution resource end application responds to receiving the order ready indication information, and the displayed order information 32 of the pending order may include the order ready indication information, and the order ready indication information displayed here may include the order number, merchant address, delivery address, collection time, delivery time limit, etc. The display interface 40 of the user end application may include a pending order information display column 41 corresponding to a pending order, in which the location of the distribution resource 42 may be displayed on the map in a graphical manner, wherein the user end application responds to receiving the order ready indication information, and may display the order ready indication information 43 near the distribution resource 42, or may display the order ready indication information 43 below the map. Alternatively, the display interface 50 of the user-side application can be used to display the interaction content between the user 51 and the service assistant 52 of the order processing service. In response to the user 51 inputting an inquiry content 53 through the display interface 50 regarding whether a certain pending order is ready, and the user-side application receiving order preparation indication information for the pending order, the user-side application can display the order preparation indication information 54 issued by the service assistant 52 of the order processing service on the display interface 50.
[0096] In the above implementation, by sending the order preparation indication information, the order preparation indication information can be transmitted to the terminal and displayed to the corresponding operator through the terminal. When the terminal is a merchant terminal, the merchant's operator can promptly know that the processing progress of the target pending order has been reported; when the terminal is a user terminal, the user himself can promptly know that the items in the target pending order he ordered have been packed and will be delivered by the distribution resources; when the terminal is a distribution resource terminal, the distribution resource operator (such as a deliveryman) can promptly know that the items in the target pending order that needs to be delivered by the distribution resource have been packed and can be picked up from the merchant by the distribution resource at any time. Therefore, the above implementation can improve the transparency of the order processing progress and improve the user experience.
[0097] In one embodiment of the present disclosure, in step S101, obtaining at least one picture to be identified can be achieved by the following steps:
[0098] At least one picture to be identified is received from a picture acquisition device, and the picture acquisition device is used to acquire at least one picture to be identified in response to the information carried by the scanned graphic code being successfully identified.
[0099] In one embodiment of the present disclosure, the image acquisition device can be understood as a merchant terminal, or can be understood as other devices with image acquisition functions connected to the merchant terminal via wired or wireless means, such as a barcode scanning box.
[0100] In one embodiment of the present disclosure, the information carried by the scanned graphic code is successfully identified, which can be understood as the information carried by the graphic code obtained based on the graphic code scanned by the image acquisition device includes information that meets the corresponding requirements in at least one of the type, format, and encoding method. Exemplarily, when the information carried by the graphic code is required to include information of the type of order number and the format of 19 digits, and the information carried by the scanned graphic code happens to include information of the specified type of order number and the format of 19 digits, it is considered that the information carried by the scanned graphic code is successfully identified, and the order corresponding to the receipt where the graphic code is located is a valid order.
[0101] In one embodiment of the present disclosure, collecting at least one picture to be identified can be understood as the picture acquisition device capturing at least one picture to be identified when scanning a graphic code in the background, and can also be understood as the picture acquisition device triggering a graphic acquisition component such as a camera to collect at least one picture to be identified.
[0102] In the above embodiment, by receiving at least one picture to be identified sent by a picture acquisition device, wherein the picture acquisition device is used to acquire at least one picture to be identified in response to the information carried by the scanned graphic code being successfully identified, it can be ensured that the at least one picture to be identified obtained includes a receipt for a valid order, thereby avoiding subsequent picture recognition and information extraction for pictures including receipts for invalid orders, thereby reducing the amount of data processing in the subsequent processing process without affecting the reliability of the order preparation indication information, thereby reducing the cost of data processing.
[0103] In one embodiment of the present disclosure, the order processing method further includes the following steps:
[0104] In response to determining, based on the image recognition result, that at least one picture to be identified does not include a packaged picture to be identified, rescanning indication information is sent, where the rescanning indication information is used to indicate that rescanning prompt information for displaying a rescanning graphic code is displayed on the picture acquisition device.
[0105] In the above-mentioned embodiment, in response to determining according to the image recognition result that at least one picture to be identified does not include the packaged picture to be identified, a rescan indication message is sent, and a rescan prompt message prompting the rescanning of the graphic code is displayed on the picture acquisition device, so that the corresponding operator is prompted by the picture acquisition device to use the picture acquisition device to rescan the graphic code, so that the picture acquisition device can respond to the successful identification of the information carried by the scanned graphic code to collect at least one picture to be identified, thereby increasing the probability of the picture acquisition device successfully sending at least one picture to be identified.
[0106] In one embodiment of the present disclosure, the packed receipt information and the collection time are matched with the target pending order information of the target pending order, including:
[0107] The collection time is earlier than the order preparation time limit in the target pending order information, the order number in the packaged receipt information is the same as the order number in the target pending order information, and the graphic code information in the packaged receipt information is the same as the graphic code information in the target pending order information.
[0108] In the above embodiment, by limiting the collection time to be earlier than the order preparation time limit in the target order information to be processed, it can be ensured that the information in the pictures collected and uploaded by the merchant after the order preparation time limit cannot be used to generate the order preparation indication information, thereby avoiding subsequent interference with the responsibility processing process caused by the preparation time of the items in the order being later than the order preparation time limit; by limiting the order number in the packaged receipt information to be the same as the order number in the target order information to be processed, and at the same time limiting the graphic code information in the packaged receipt information to be the same as the graphic code information in the target order information to be processed, it can be ensured that the order corresponding to the packaged receipt will not be other orders other than the target order to be processed, thereby improving the accuracy of the subsequently generated order preparation indication information.
[0109] In one embodiment of the present disclosure, the order processing method further includes the following steps:
[0110] Get the order time of the target pending order, and get the order preparation time difference between the order time and the collection time.
[0111] Determine the initial order preparation time model, take the target pending order information as input, and take the order preparation time difference as output to train the initial order preparation time model to obtain the order preparation time model.
[0112] In one embodiment of the present disclosure, when training the order ready time model, first obtain the order time of the target pending order, and obtain the order ready time difference between the order time and the collection time, and then determine an initial order ready time model, wherein the initial order ready time model can be selected according to the needs of the actual application; the target pending order information is used as input, and the order ready time difference is used as output to train the initial order ready time model, and when the training results converge, the order ready time model can be obtained. The training of the above-mentioned order ready time model can be implemented by using training methods such as q-learning, DQN, Policy Gradient, DDPG, etc., and the present disclosure does not specifically limit the specific learning and training implementation method of the order ready time model.
[0113] In one embodiment of the present disclosure, based on the order preparation time model, order information of other unprocessed orders can be input into the order preparation time model to obtain the order preparation time difference for the unprocessed orders output by the order preparation time model, and based on the order preparation time difference for the unprocessed orders and the order time of the unprocessed orders, the estimated order preparation time for the unprocessed orders can be obtained.
[0114] In the above implementation, by obtaining the order time of the target pending order, and obtaining the order preparation time difference between the order time and the collection time, and determining the initial order preparation time model, the target pending order information is used as input, and the order preparation time difference is used as output to train the initial order preparation time model to obtain the order preparation time model. Based on the obtained order preparation time model, the order preparation time of the unprocessed order can be estimated based on the order information and order time of other unprocessed orders. According to the estimated order preparation time, it can help to plan and manage the distribution resources of the unprocessed orders, thereby improving the utilization rate of the distribution resources.
[0115] In one embodiment of the present disclosure, the target pending order information includes at least one of the time period to which the order is placed, the order amount of the target pending order, the number of items in the target pending order, and the type of items in the target pending order.
[0116] In one embodiment of the present disclosure, there may be a large difference in the order volume in different time periods. Considering that there is no large difference in the order processing speed of the merchant in different time periods, the time period to which the order is placed has a certain impact on the order preparation time; the items in orders with different order amounts may have different processing difficulties. For example, the items in orders with higher amounts may require more human resources when making or processing, so the order amount has a certain impact on the order preparation time; since the time required to make or process each item may be relatively close, as the number of copies increases, the time required to make or process the items corresponding to the number of copies will also increase accordingly, so the number of copies of items in the order has a certain impact on the order preparation time; since the time required to make or process different types of items may vary greatly, for example, taking coffee as an example, coffee that requires latte art requires more time to make than coffee that does not require latte art, so the type of item in the order has a certain impact on the order preparation time.
[0117] In the above embodiment, by limiting the target pending order information to include at least one of the time period to which the order is placed, the order amount of the target pending order, the number of items in the target pending order, and the type of items in the target pending order, an order ready time model can be trained based on at least one factor that has a certain impact on the order ready time, thereby improving the accuracy of the order ready time obtained based on the order ready time model.
[0118] Figure 4 A flowchart of an order processing method according to an embodiment of the present disclosure is shown. Figure 4 As shown, the order processing method includes steps S201-S203:
[0119] In step S201, in response to a code scanning request, a graphic code is scanned.
[0120] In step S202, in response to the information carried by the scanned graphic code being successfully identified, at least one picture to be identified is collected.
[0121] In step S203, at least one picture to be identified is sent.
[0122] In one embodiment of the present disclosure, the order processing method may be applicable to a merchant terminal that processes an order, wherein the merchant terminal may be a mobile terminal running a merchant application (Application, APP), or may be other terminals running a merchant application, such as a desktop computer, a tablet computer, etc.
[0123] In one embodiment of the present disclosure, in response to a code scanning request, scanning a graphic code can be understood as the merchant terminal responding to the code scanning request and scanning the graphic code, or it can be understood as the merchant terminal responding to the code scanning request and other devices with image acquisition functions connected to the merchant terminal via wired or wireless means, such as a code scanning box, etc., scanning the graphic code.
[0124] In one embodiment of the present disclosure, the information carried by the scanned graphic code is successfully identified, which can be understood as the information carried by the graphic code obtained based on the graphic code scanned by the image acquisition device includes information that meets the corresponding requirements in at least one of the type, format, and encoding method. Exemplarily, when the information carried by the graphic code is required to include information of the type of order number and the format of 19 digits, and the information carried by the scanned graphic code happens to include information of the specified type of order number and the format of 19 digits, it is considered that the information carried by the scanned graphic code is successfully identified, and the order corresponding to the receipt where the graphic code is located is a valid order.
[0125] In one embodiment of the present disclosure, collecting at least one picture to be identified can be understood as at least one picture to be identified obtained by the merchant terminal when capturing and scanning a graphic code in the background, and can also be understood as the merchant terminal triggering a graphic acquisition component such as a camera to collect at least one picture to be identified and send at least one picture to be identified.
[0126] In the above implementation, by responding to a code scanning request, scanning a graphic code, responding to the successful identification of the information carried by the scanned graphic code, collecting at least one picture to be identified, and sending at least one picture to be identified, it can be ensured that at least one picture to be identified received by the middle station server includes a receipt for a valid order, thereby avoiding the middle station server from performing subsequent image recognition and information extraction on pictures of receipts for invalid orders, and reducing the amount of data processing in the subsequent processing process without affecting the reliability of the order preparation indication information obtained by the middle station server, thereby reducing the cost of data processing.
[0127] In one embodiment of the present disclosure, the order processing method further includes the following steps:
[0128] Receive order-ready instruction information and display the order-ready instruction information.
[0129] Among them, the order preparation indication information includes the collection time of the packaged pictures to be identified and the target order information to be processed. The packaged pictures to be identified are at least one picture to be identified that includes a receipt and packaged items. The target order information to be processed matches the collection time of the packaged pictures to be identified and the packaged receipt information corresponding to the receipt in the packaged pictures to be identified.
[0130] In one embodiment of the present disclosure, the packaged receipt information corresponding to the packaged receipt in the image to be identified can be understood as identifying at least one of the characters and graphic codes on the packaged receipt in the image to be identified to obtain the packaged receipt information, wherein the characters may include but are not limited to numbers, English letters, Chinese characters, punctuation marks, etc., the graphic codes may include but are not limited to bar codes, QR codes, etc., and the packaged receipt information may include but is not limited to order number, order item name, number of order items, order item type, order amount, order placement time, order delivery time limit, order delivery address, order delivery resource name, etc. Exemplarily, OCR (optical character recognition) technology can be used to identify the text area on the packaged receipt in the picture to be identified. OCR technology detects the shape of the character to be identified in the text area, and identifies the probability that the detected shape is a known character in the character library through a classifier model, and then determines the target character corresponding to the character to be identified based on the probability, and obtains the packaged receipt information based on the target character. It can be understood that this embodiment is not limited to the above-mentioned OCR technology. As long as it is a recognition technology that can identify the character shape in the text area on the packaged receipt in the picture to be identified, and then identify the target character based on the character shape, it can be applied to the embodiments of the present disclosure.
[0131] In one embodiment of the present disclosure, the collection time and the packaged receipt information match the target pending order information of the target pending order, which can be understood as the collection time meets the requirements of the target pending order information and the packaged receipt information belongs to the target pending order information. Exemplarily, when the target pending order information includes the order placement time, if the collection time is later than the order placement time in the target pending order information, then the collection time matches the target pending order. When the target pending order information includes the order preparation time limit (i.e., the latest delivery time allowed by the user), if the collection time is earlier than the order delivery time limit, then the collection time matches the target pending order.
[0132] In one embodiment of the present disclosure, displaying the order ready indication information can be understood as displaying it on the merchant terminal, or can be understood as displaying it through a human-computer interaction device connected to the merchant terminal by wire or wirelessly. Exemplarily, the display screen of the merchant terminal can display a display interface of a merchant-side application running on the merchant terminal, and the order ready indication information can be displayed in the display interface.
[0133] In the above implementation, by receiving order preparation indication information and displaying the order preparation indication information, the order preparation indication information can be displayed to the merchant's operating personnel, so that the merchant's operating personnel can promptly know that the processing progress of the target pending order has been reported. Therefore, the above implementation can improve the transparency of the order processing progress and improve the user experience.
[0134] In one embodiment of the present disclosure, the order processing method further includes the following steps:
[0135] In response to the order preparation indication information, continue scanning indication information is displayed, and the continue scanning indication information is used to instruct scanning other targets besides the current scanning target.
[0136] For example, Figure 2 As shown, the merchant mobile terminal 10 includes a display screen 11. When the merchant mobile terminal 10 is used to scan the packaged items 16 and the receipt 17 to scan the graphic code on the receipt 17, the merchant mobile terminal 10 can display the scanned packaged items 16 and the receipt 17 through the display screen 11. When the merchant mobile terminal 10 receives the order ready indication information, the merchant mobile terminal 10 can display the continue scanning indication information 18 on the display screen 11 in response to the order ready indication information to instruct the merchant operator to scan other targets other than the current scanning target, i.e., the packaged items 16 and the receipt 17, such as other packaged items and other receipts.
[0137] In the above-mentioned embodiment, by responding to the order preparation indication information and displaying the continue scanning indication information, the merchant's operating personnel can promptly know that based on the order corresponding to the scanning target, the merchant's end has generated the corresponding order preparation indication information for the order, and can continue to scan other targets other than the current scanning target, so that the merchant's end can generate corresponding order preparation indication information for the orders corresponding to the other targets other than the current scanning target, thereby improving the efficiency of the merchant's end in generating order preparation indication information.
[0138] In one embodiment of the present disclosure, the collection time is matched with the target pending order information of the target pending order, including:
[0139] The collection time is earlier than the order preparation time limit in the target pending order information, the order number in the packaged receipt information is the same as the order number in the target pending order information, and the graphic code information in the packaged receipt information is the same as the graphic code information in the target pending order information.
[0140] In the above embodiment, by limiting the collection time to be earlier than the order preparation time limit in the target order information to be processed, it can be ensured that the information in the pictures collected and uploaded by the merchant after the order preparation time limit cannot be used to generate the order preparation indication information, thereby avoiding subsequent interference with the responsibility processing process caused by the preparation time of the items in the order being later than the order preparation time limit; by limiting the order number in the packaged receipt information to be the same as the order number in the target order information to be processed, and at the same time limiting the graphic code information in the packaged receipt information to be the same as the graphic code information in the target order information to be processed, it can be ensured that the order corresponding to the packaged receipt will not be other orders other than the target order to be processed, thereby improving the accuracy of the order preparation indication information generated by the merchant side.
[0141] In one embodiment of the present disclosure, the order processing method further includes the following steps:
[0142] Rescanning indication information is received, and in response to the rescanning indication information, rescanning prompting information for prompting the user to rescan the graphic code is displayed.
[0143] In the above embodiment, by receiving rescan indication information and displaying rescan prompt information prompting to rescan the graphic code in response to the rescan indication information, the merchant's operator can be prompted to use the image acquisition device to rescan the graphic code, so that the merchant terminal can respond to the information carried by the scanned graphic code being successfully identified to capture at least one picture to be identified, thereby increasing the probability of the merchant terminal successfully sending at least one picture to be identified.
[0144] Figure 5 A flowchart of an order processing method according to an embodiment of the present disclosure is shown. Figure 5 As shown, the order processing method includes steps S301-S316:
[0145] In step S301, the merchant terminal responds to the code scanning request and scans the graphic code.
[0146] In step S302, in response to the successful recognition of information carried by the scanned graphic code, the merchant collects at least one picture to be recognized.
[0147] In step S303, the merchant sends at least one picture to be identified.
[0148] In step S304, the middle platform server receives at least one picture to be identified sent by the merchant side, and performs image recognition on the at least one picture to be identified.
[0149] In step S305, the middle station server determines a packaged image to be identified that includes a receipt and a packaged item in at least one image to be identified based on the image recognition result.
[0150] In step S306, in response to determining, based on the image recognition result, that at least one image to be identified does not include a packaged image to be identified, the middleware server sends a rescanning instruction message.
[0151] In step S307, the merchant receives the re-scanning instruction information, and displays re-scanning prompt information prompting the merchant to re-scan the graphic code in response to the re-scanning instruction information.
[0152] In step S308, the middle platform server obtains the collection time of the packaged image to be identified and the packaged receipt information corresponding to the receipt in the packaged image to be identified.
[0153] In step S309, the middle office server generates order preparation indication information including the collection time and the target order information in response to the collection time being earlier than the order preparation deadline in the target order information to be processed, the order number in the packed receipt information is the same as the order number in the target order information to be processed, and the graphic code information in the packed receipt information is the same as the graphic code information in the target order information to be processed.
[0154] In step S310, the middle platform server sends an order preparation indication message.
[0155] In step S311, the merchant receives the order preparation indication information and displays the order preparation indication information.
[0156] In step S312, the user terminal receives the order preparation indication information and displays the order preparation indication information.
[0157] In step S313, the delivery resource end receives the order preparation indication information and displays the order preparation indication information.
[0158] In step S314, the merchant responds to the order preparation indication information and displays the continue scanning instruction information.
[0159] In step S315, the middle platform server obtains the order time of the target pending order, and obtains the order preparation time difference between the order time and the collection time.
[0160] In step S316, the middle platform server determines the initial order preparation time model, and uses the target pending order information as input and the order preparation time difference as output to train the initial order preparation time model to obtain the order preparation time model.
[0161] The following reference Figure 6 An order processing device according to an embodiment of the present disclosure is described. Figure 6 A structural block diagram of an order processing device according to an embodiment of the present disclosure is shown.
[0162] like Figure 6 As shown, the order processing device 100 includes:
[0163] The picture acquisition module 101 is configured to acquire at least one picture to be identified and perform image recognition on the at least one picture to be identified;
[0164] The picture determination module 102 is configured to determine, according to the image recognition result, a packaged picture to be identified including a receipt and a packaged article in at least one picture to be identified;
[0165] The information acquisition module 103 is configured to acquire the acquisition time of the packaged image to be identified and the packaged receipt information corresponding to the receipt in the packaged image to be identified;
[0166] The information generation module 104 is configured to generate order ready indication information including the collection time and the target order information in response to the collection time and the packed receipt information matching the target order information.
[0167] According to the technical solution provided by the embodiment of the present disclosure, by performing image recognition on at least one acquired picture to be identified, and determining a packaged picture to be identified that includes a receipt and packaged items in at least one picture to be identified according to the image recognition result, it can be ensured that the packaged picture to be identified includes not only the receipt, but also the receipt and the packaged items, that is, the pictures including only the receipt are filtered out, to ensure that the merchant cannot achieve the purpose of reporting false order preparation information by providing pictures including only the receipt when the items are not packaged; by obtaining the acquisition time of the packaged picture to be identified and the packaged receipt information corresponding to the receipt in the packaged picture to be identified, and responding to the acquisition time and the packaged receipt information and the target picture to be identified The target pending order information of the processed order is matched, and the order ready indication information including the collection time and the target pending order information is generated, which can ensure that the information on the receipt in the packaged to be identified image is the order information of the merchant's pending order, and avoid the merchant from providing images of receipts of other processed or pending orders other than the target pending order to achieve the purpose of reporting false order ready information. At the same time, it also ensures that the time of collecting the packaged to be identified image matches the time required by the merchant's pending order (such as the order time, the order ready time limit), and avoids the merchant from providing images collected long before or after the time required by the pending order to achieve the purpose of reporting false order ready information. Therefore, the scheme provided by the present disclosure can ensure that the items in the target pending order corresponding to the target pending order information in the generated order ready indication information have been packaged according to the time required by the target pending order, that is, the collection time in the order ready indication information, and the reliability is high. It can improve the distribution efficiency when scheduling distribution resources based on the order ready indication information, and based on the order ready indication information, it can also be used to fairly determine the responsibility of disputes between merchants and distribution resources.
[0168] Those skilled in the art will understand that referring to Figure 6 The technical solution described can be compared with the above Figure 1 The corresponding embodiments are combined to have Figure 1 The technical effects achieved by the corresponding embodiments. For details, please refer to Figure 1 The specific contents of the description of the corresponding embodiments will not be repeated here.
[0169] The following reference Figure 7 An order processing device according to an embodiment of the present disclosure is described. Figure 7 A structural block diagram of an order processing device 200 according to an embodiment of the present disclosure is shown.
[0170] like Figure 7 As shown, the order processing device 200 includes:
[0171] The code scanning module 201 is configured to scan the graphic code in response to the code scanning request;
[0172] The picture acquisition module 202 is configured to acquire at least one picture to be identified in response to the information carried by the scanned graphic code being successfully identified;
[0173] The picture sending module 203 is configured to send at least one picture to be identified.
[0174] According to the technical solution provided by the embodiment of the present disclosure, by responding to a code scanning request, scanning a graphic code, responding to the successful identification of the information carried by the scanned graphic code, collecting at least one picture to be identified, and sending at least one picture to be identified, it can be ensured that at least one picture to be identified received by the middle station server includes a receipt for a valid order, thereby avoiding the middle station server from performing subsequent picture recognition and information extraction on pictures of receipts for invalid orders, and reducing the amount of data processing in the subsequent processing process without affecting the reliability of the order preparation indication information obtained by the middle station server, thereby reducing the cost of data processing.
[0175] Those skilled in the art will understand that referring to Figure 7 The technical solution described can be compared with the above Figure 4 The corresponding embodiments are combined to have Figure 4 The technical effects achieved by the corresponding embodiments. For details, please refer to Figure 4 The specific contents of the description of the corresponding embodiments will not be repeated here.
[0176] Figure 8 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown.
[0177] The present disclosure also provides an electronic device, such as Figure 8 As shown, the electronic device 300 includes at least one processor 301; and a memory 302 that is communicatively connected to the at least one processor 301; wherein the memory 302 stores instructions that can be executed by the at least one processor 301, and the instructions can be executed by the at least one processor 301 to implement the following steps:
[0178] Obtain at least one picture to be identified, and perform image recognition on at least one picture to be identified;
[0179] Determine, according to the image recognition result, a packaged image to be identified that includes a receipt and a packaged article in at least one image to be identified;
[0180] Get the collection time of the packaged image to be identified and the packaged receipt information corresponding to the receipt in the packaged image to be identified;
[0181] In response to the collection time and the packaged receipt information matching the target order to be processed information of the target order to be processed, order ready indication information including the collection time and the target order to be processed information is generated.
[0182] Optionally, the order processing method further includes:
[0183] Sending order preparation indication information, where the order preparation indication information is used to be displayed on at least one terminal.
[0184] Optionally, obtain at least one image to be identified, including:
[0185] At least one picture to be identified is received from a picture acquisition device, and the picture acquisition device is used to acquire at least one picture to be identified in response to the information carried by the scanned graphic code being successfully identified.
[0186] Optionally, the order processing method further includes:
[0187] In response to determining, based on the image recognition result, that at least one picture to be identified does not include a packaged picture to be identified, rescanning indication information is sent, where the rescanning indication information is used to indicate that rescanning prompt information for displaying a rescanning graphic code is displayed on the picture acquisition device.
[0188] Optionally, the packaged receipt information and collection time match the target pending order information of the target pending order, including:
[0189] The collection time is earlier than the order preparation time limit in the target pending order information, the order number in the packaged receipt information is the same as the order number in the target pending order information, and the graphic code information in the packaged receipt information is the same as the graphic code information in the target pending order information.
[0190] Optionally, the order processing method further includes:
[0191] Get the order time of the target pending order, and get the order preparation time difference between the order time and the collection time;
[0192] Determine the initial order preparation time model, take the target pending order information as input, and take the order preparation time difference as output to train the initial order preparation time model to obtain the order preparation time model.
[0193] Optionally, the target pending order information includes at least one of the time period to which the order is placed, the order amount of the target pending order, the number of items in the target pending order, and the type of items in the target pending order.
[0194] The instructions may also be executed by at least one processor 301 to implement the following steps:
[0195] In response to the code scanning request, scanning the graphic code;
[0196] In response to the information carried by the scanned graphic code being successfully identified, collecting at least one picture to be identified;
[0197] Send at least one picture to be recognized.
[0198] Optionally, the order processing method further includes:
[0199] Receive order preparation indication information and display the order preparation indication information, which includes the collection time of the packaged pictures to be identified and the target order information to be processed. The packaged pictures to be identified are at least one picture to be identified that includes a receipt and packaged items. The target order information to be processed matches the collection time of the packaged pictures to be identified and the packaged receipt information corresponding to the receipt in the packaged pictures to be identified.
[0200] Optionally, the order processing method further includes:
[0201] In response to the order preparation indication information, continue scanning indication information is displayed, and the continue scanning indication information is used to instruct scanning other targets besides the current scanning target.
[0202] Optionally, the collection time matches the target pending order information of the target pending order, including:
[0203] The collection time is earlier than the order preparation time limit in the target pending order information, the order number in the packaged receipt information is the same as the order number in the target pending order information, and the graphic code information in the packaged receipt information is the same as the graphic code information in the target pending order information.
[0204] Optionally, the order processing method further includes:
[0205] Rescanning indication information is received, and in response to the rescanning indication information, rescanning prompting information for prompting the user to rescan the graphic code is displayed.
[0206] like Fig. 9 As shown, the computer system 400 includes a processing unit 401, which can perform various processes in the embodiments shown in the above figures according to the program stored in the read-only memory (ROM) 402 or the program loaded from the storage part 408 to the random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the system 400 are also stored. The CPU 401, the ROM 402, and the RAM 403 are connected to each other through a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0207] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. The drive 410 is also connected to the I / O interface 405 as needed. Removable media 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive 410 as needed, so that the computer program read therefrom is installed into the storage section 408 as needed. Among them, the processing unit 401 can be implemented as a processing unit such as a CPU, a GPU, a TPU, an FPGA, an NPU, etc.
[0208] In particular, according to an embodiment of the present disclosure, the method described above with reference to the accompanying drawings can 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 tangibly contained on a readable medium thereof, and the computer program includes a program code for executing the method in the accompanying drawings. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 409, and / or installed from a removable medium 411. For example, an embodiment of the present disclosure includes a readable storage medium on which computer instructions are stored, and when the computer instructions are executed by a processor, the program code for executing the method in the accompanying drawings is implemented.
[0209] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the road map or block diagram can represent a part of a module, program segment or code, and the part of the module, program segment or code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a different order from the order marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0210] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The units or modules described may also be set in a processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.
[0211] As another aspect, the present disclosure further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the node described in the above embodiment; or a computer-readable storage medium that exists independently and is not installed in a device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the method described in the present disclosure.
[0212] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.
Claims
1. An order processing method, wherein: The method comprises: Obtain at least one picture to be identified, and perform image recognition on the at least one picture to be identified; Determining, according to the image recognition result, a packaged image to be identified that includes a receipt and a packaged article in the at least one image to be identified; Obtaining the acquisition time of the packaged image to be identified and the packaged receipt information corresponding to the receipt in the packaged image to be identified; In response to the collection time and the packaged receipt information matching the target order to be processed, generating order ready indication information including the collection time and the target order to be processed information; The packaged receipt information and the collection time match the target pending order information of the target pending order, including: The collection time is earlier than the order preparation deadline in the target order information to be processed, the order number in the packaged receipt information is the same as the order number in the target order information to be processed, and the graphic code information in the packaged receipt information is the same as the graphic code information in the target order information to be processed.
2. The order processing method according to claim 1, wherein: The method further comprises: The order-ready indication information is sent, and the order-ready indication information is used for display on at least one terminal.
3. The order processing method according to claim 1, wherein: The step of obtaining at least one picture to be identified includes: The at least one picture to be identified sent by the picture acquisition device is received, and the picture acquisition device is used to acquire the at least one picture to be identified in response to the information carried by the scanned graphic code being successfully identified.
4. The order processing method according to claim 1, wherein: The method further comprises: In response to determining, based on the image recognition result, that the at least one picture to be identified does not include the packaged picture to be identified, rescan indication information is sent, wherein the rescan indication information is used to indicate that rescan prompt information for prompting a rescan of the graphic code is displayed on the picture acquisition device.
5. The order processing method according to any one of claims 1 to 4, wherein: The method further comprises: Obtaining the order placement time of the target pending order, and obtaining the order preparation time difference between the order placement time and the collection time; An initial order preparation time model is determined, and the target to-be-processed order information is used as input, and the order preparation time difference is used as output to train the initial order preparation time model to obtain an order preparation time model.
6. The order processing method according to claim 5, wherein: The target pending order information includes at least one of the time period to which the order time belongs, the order amount of the target pending order, the number of items in the target pending order, and the type of items in the target pending order.
7. An order processing method, wherein: The method comprises: In response to the code scanning request, scanning the graphic code; In response to the information carried by the scanned graphic code being successfully identified, collecting at least one picture to be identified; Sending the at least one picture to be identified; Also includes: Receive order preparation indication information and display the order preparation indication information, the order preparation indication information including the acquisition time of the packaged picture to be identified and the target order information to be processed, the packaged picture to be identified is a picture including a receipt and a packaged item in the at least one picture to be identified, and the target order information to be processed matches the acquisition time of the packaged picture to be identified and the packaged receipt information corresponding to the receipt in the packaged picture to be identified; The acquisition time matches the target pending order information of the target pending order, including: The collection time is earlier than the order preparation deadline in the target order information to be processed, the order number in the packaged receipt information is the same as the order number in the target order information to be processed, and the graphic code information in the packaged receipt information is the same as the graphic code information in the target order information to be processed.
8. The order processing method according to claim 7, wherein: The method further comprises: In response to the order preparation indication information, continue scanning indication information is displayed, and the continue scanning indication information is used to instruct scanning other targets besides the current scanning target.
9. The order processing method according to claim 7, wherein: The method further comprises: Rescanning indication information is received, and in response to the rescanning indication information, rescanning prompting information for prompting the user to rescan the graphic code is displayed.
10. An order processing device, wherein: The device comprises: A picture acquisition module is configured to acquire at least one picture to be identified and perform image recognition on the at least one picture to be identified; A picture determination module is configured to determine, according to the image recognition result, a packaged picture to be identified including a receipt and a packaged article in the at least one picture to be identified; An information acquisition module is configured to acquire the acquisition time of the packaged image to be identified and the packaged receipt information corresponding to the receipt in the packaged image to be identified; An information generation module is configured to generate order ready indication information including the collection time and the target to-be-processed order information in response to the collection time and the packed receipt information matching the target to-be-processed order information; The packaged receipt information and the collection time match the target pending order information of the target pending order, including: The collection time is earlier than the order preparation deadline in the target order information to be processed, the order number in the packaged receipt information is the same as the order number in the target order information to be processed, and the graphic code information in the packaged receipt information is the same as the graphic code information in the target order information to be processed.
11. An order processing device, wherein: The device comprises: A code scanning module, configured to scan a graphic code in response to a code scanning request; The picture acquisition module is configured to acquire at least one picture to be identified in response to the information carried by the scanned graphic code being successfully identified; A picture sending module, configured to send the at least one picture to be identified; Also includes: Receive order preparation indication information and display the order preparation indication information, the order preparation indication information including the acquisition time of the packaged picture to be identified and the target order information to be processed, the packaged picture to be identified is a picture including a receipt and a packaged item in the at least one picture to be identified, and the target order information to be processed matches the acquisition time of the packaged picture to be identified and the packaged receipt information corresponding to the receipt in the packaged picture to be identified; The acquisition time matches the target pending order information of the target pending order, including: The collection time is earlier than the order preparation deadline in the target order information to be processed, the order number in the packaged receipt information is the same as the order number in the target order information to be processed, and the graphic code information in the packaged receipt information is the same as the graphic code information in the target order information to be processed.
12. An electronic device comprising a memory and at least one processor; wherein: The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the at least one processor to implement the method steps described in any one of claims 1-9.
13. A computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the method steps described in any one of claims 1 to 9.
14. A computer program product comprising a computer program / instructions, wherein: When the computer program / instructions are executed by a processor, the method steps described in any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Order processing method and apparatus, device and computer-readable storage medium
CN107767213A
Takeout delivery time prediction method and device and electronic equipment
CN108491951A
Issuing information generation method, code scanning equipment and portable packaging tool
CN111461639A