Order processing method and system based on reservation mechanism, and storage medium
By introducing a processing mechanism for delayed check-in requests in the order processing system, drivers are allowed to adjust the check-in time within the capacity recruitment deadline and the latest departure time, the problem of drivers in the existing technology being unable to adjust the arrival time, and the transportation efficiency and Driver flexibility.
Patent Information
- Application Number
- CN202411532513.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-02-11
AI Technical Summary
In the prior art, drivers cannot adjust the departure time as needed after accepting the reservation order, resulting in the inability to adjust the arrival time in the event of a vehicle failure or sudden situation, which may lead to failed check-in and cancellation of orders.
A method of order processing based on the reservation mechanism is proposed, allowing the target user to submit a delayed check-in request, and by analyzing the delayed check-in time and reservation order information in the request, it is determined whether it is within the capacity recruitment deadline and the latest departure time. If it meets the requirements, it will be created. Reserve information and return to the user. If it does not meet, the verification request fails.
It provides drivers with greater freedom to adjust their appointment check-in time, reduces order cancellations and losses caused by emergencies, and improves transportation efficiency and driver flexibility.
Smart Images

Figure CN119417569A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of logistics technology, and in particular to an order processing method, system and storage medium based on an appointment mechanism. Background Art
[0002] Engaging in online freight business refers to the business activities of road freight transport in which the operator integrates and allocates transport resources based on the Internet platform, signs a transport contract with the consignor as a carrier, entrusts the actual carrier to complete the road freight transport, and assumes the carrier's responsibilities. At present, the freight platform recruits transport capacity for the reservation orders within the set time, and at the same time, the vehicles are dispatched in the order of the successful matching time before the recruitment ends. After the driver accepts the reservation order on the freight platform, he needs to sign in and load the goods within the specified time.
[0003] Currently, due to emergencies such as vehicle breakdown or personal reasons, drivers cannot adjust their arrival appointment time. If they cannot sign in and clock in on time, they can only cancel and miss the opportunity. Drivers have limited freedom to adjust their arrival time as needed. Summary of the invention
[0004] In order to solve the technical problems existing in the background technology, the present invention proposes an order processing method, system and storage medium based on a reservation mechanism, which solves the current problem that drivers cannot adjust the departure time as needed after accepting a reservation order.
[0005] The present invention proposes an order processing method based on a reservation mechanism, comprising:
[0006] In response to a delayed check-in request from a target user, parsing the delayed check-in request to obtain a delayed check-in time and reservation order information;
[0007] Obtaining the transportation capacity recruitment deadline and the latest departure time of the reservation order information, wherein the transportation capacity recruitment deadline is earlier than the latest departure time;
[0008] Determine whether the delayed sign-in time is later than the transportation capacity recruitment deadline, and obtain a first determination result;
[0009] If the first judgment result is no, verify that the delayed sign-in request is successful; if the first judgment result is yes, determine whether the delayed sign-in time is later than the latest departure time to obtain a second judgment result;
[0010] If the second judgment result is yes, verify that the delayed check-in request fails; if the second judgment structure is no, create reservation information according to the delayed check-in time and the reservation order information and return it to the target user, the reservation information including the ranking of the delayed check-in time and the number of reserved people.
[0011] As a further improvement of the present invention: if the second judgment result is yes, the method further includes:
[0012] Creating a mandatory delay request with a delayed check-in time equal to the latest departure time and returning it to the target user, and obtaining confirmation information of the target user on the mandatory delay request;
[0013] If the confirmation information of the target user is consent, the delayed check-in time of the delayed check-in request is changed to the latest departure time;
[0014] If the confirmation information of the target user is rejection, verification of the delayed sign-in request fails.
[0015] As a further improvement of the present invention: if the second judgment result is no, the method further includes:
[0016] When it is detected that the reservation progress of the reservation order reaches the set progress, the capacity recruitment status of the reservation order is monitored at set intervals;
[0017] If the capacity recruitment status is ended, obtain the reservation request information of the user whose reservation failed;
[0018] Obtaining a matching value between the reservation request information and the target reservation order information;
[0019] When it is detected that the number of users whose matching value is greater than the matching threshold and whose reservation failed is greater than 0, the delayed check-in request failure is returned to the target user;
[0020] When it is detected that the number of users whose matching value is greater than the matching threshold and whose reservation fails is not greater than 0, the delayed check-in request is kept in a reserved state.
[0021] As a further improvement of the present invention: further comprising: if the capacity recruitment status is in progress, keeping the delayed check-in request in a reserved state;
[0022] The delayed sign-in time of the newly added target user is also obtained, all the target users are sorted in chronological order, and the reserved information is updated and sent to the corresponding target user.
[0023] As a further improvement of the present invention: when the transportation capacity recruitment deadline of the reservation order is earlier than the current timestamp and the transportation capacity of the reservation order is insufficient, the delayed check-in request is kept in a reserved state.
[0024] As a further improvement of the present invention: when it is detected that the number of users whose matching value is greater than the matching threshold and whose reservation fails is greater than 0, the method further includes:
[0025] Update the reservation order of the target user, send reservation order cancellation confirmation information to the target user, and obtain response information from the target user;
[0026] If the response information is approval, the carrier of the reservation order is updated to be the newly added reservation user;
[0027] If the response information is rejection, confirm that the carrier of the reservation order is the target user.
[0028] The present invention also proposes an order processing system based on a reservation mechanism, comprising:
[0029] A first acquisition module is used to respond to a delayed check-in request from a target user, parse the delayed check-in request to obtain a delayed check-in time and reservation order information;
[0030] A second acquisition module is used to acquire the transportation capacity recruitment deadline and the latest departure time of the reservation order information, wherein the transportation capacity recruitment deadline is earlier than the latest departure time;
[0031] A first judgment module is used to judge whether the delayed check-in time is later than the transportation capacity recruitment deadline, and obtain a first judgment result;
[0032] A second judgment module, if the first judgment result is yes, judges whether the delayed check-in time is later than the latest departure time, and obtains a second judgment result;
[0033] A processing module, used to verify that the delayed check-in request is successful if the first judgment result is no; and to verify that the delayed check-in request fails if the second judgment result is yes; if the second judgment structure is no, create reservation information according to the delayed check-in time and the reservation order information and return it to the target user, the reservation information including the ranking of the delayed check-in time and the number of reserved people.
[0034] The present invention also provides a computer storage medium, wherein the storage medium includes a stored program, and a processor executes the program to implement the above-mentioned order processing method based on the reservation mechanism.
[0035] Beneficial effects:
[0036] The present invention responds to the delayed sign-in request of the target user, parses to obtain the delayed sign-in time and the reservation order information, and then obtains the capacity recruitment deadline and the latest departure time of the reservation order information. The capacity recruitment deadline is earlier than the latest departure time. It is judged whether the delayed sign-in time is later than the capacity recruitment deadline, and a first judgment result is obtained. If the first judgment result is no, the delayed sign-in request is verified to be successful. If the first judgment result is yes, it is judged whether the delayed sign-in time is later than the latest departure time, and a second judgment result is obtained. If the second judgment result is yes, the delayed sign-in request is verified to fail. If the second judgment structure is no, reservation information is created according to the delayed sign-in time and the reservation order information and returned to the target user. The reservation information includes the ranking of the delayed sign-in time and the number of reserved people. In this way, the driver can modify the arrival sign-in time after receiving the reserved order to provide free adjustment space. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A flowchart of an order processing method based on a reservation mechanism proposed by the present invention;
[0038] Figure 2 The present invention is a flowchart of an order processing method based on a reservation mechanism proposed in an embodiment of the present invention. DETAILED DESCRIPTION
[0039] like Figure 1 As shown, Figure 1 This is a flow chart of an order processing method based on a reservation mechanism according to an embodiment of the present invention;
[0040] Reference Figure 1 , an order processing matching method based on a reservation mechanism proposed in an embodiment of the present invention includes:
[0041] S10: In response to a delayed check-in request from a target user, parsing the delayed check-in request to obtain a delayed check-in time and reservation order information;
[0042] The delayed sign-in time can be a time determined by the target user himself or a time recommended by the system.
[0043] S20: Acquire the transportation capacity recruitment deadline and the latest departure time of the reservation order information, wherein the transportation capacity recruitment deadline is earlier than the latest departure time;
[0044] Usually, after a driver grabs a reservation order, he can determine the first reservation sign-in time based on the reservation arrival sign-in time given by the system. If the existing driver has something to do or other emergencies and cannot arrive at the site to punch in, load and dispatch the vehicle according to the first reservation sign-in time, he can generally only cancel the current reservation order to take advantage of the opportunity. This embodiment provides a channel for the driver to adjust the reservation time for a second or multiple times, thereby gaining greater freedom for the driver to adjust the reservation sign-in time.
[0045] S30: Determine whether the delayed sign-in time is later than the transportation capacity recruitment deadline, and obtain a first determination result;
[0046] In some implementations, when the capacity recruitment deadline of the reservation order is earlier than the current timestamp and the capacity of the reservation order is insufficient, the delayed check-in request is kept in a reserved state.
[0047] When it is detected that the reserved order has arrived at the transportation recruitment deadline, and suitable transportation capacity is still being recruited to transport the goods of the reserved order, generally, there is insufficient transportation capacity resources in this time period and region. If the target user's delayed request is cancelled, it may take time to recruit suitable new transportation capacity again, and there may be a dilemma of no vehicles to dispatch. In this regard, this embodiment retains the delayed check-in request.
[0048] S40: If the first judgment result is no, verify that the delayed check-in request is successful; if the first judgment result is yes, determine whether the delayed check-in time is later than the latest departure time, and obtain a second judgment result;
[0049] The appointment time of the reservation order before the capacity recruitment deadline can be adjusted freely, providing drivers with greater freedom to change the appointment check-in time.
[0050] like Figure 2 As shown, in some implementation modes, if the second judgment result is no, the method further includes:
[0051] S401: When it is detected that the reservation progress of the reservation order reaches the set progress, monitoring the capacity recruitment status of the reservation order at set intervals;
[0052] S402: If the transport capacity recruitment status is ended, obtaining reservation request information of the user whose reservation failed;
[0053] S403: Obtaining a matching value between the reservation request information and the target reservation order information;
[0054] S4041: when it is detected that the number of users whose matching value is greater than the matching threshold and whose reservation failed is greater than 0, the delayed check-in request failure is returned to the target user;
[0055] S4042: When it is detected that the number of users whose matching value is greater than the matching threshold and whose reservation fails is not greater than 0, the delayed check-in request is kept in a reserved state.
[0056] When the capacity recruitment status is ended, it indicates that there are sufficient capacity resources to transport the goods in the reservation order. At this time, in order to ensure the efficiency of cargo transportation, it is necessary to detect failed reservation users whose matching values are greater than the matching threshold. If the number of people is greater than 0, the delayed check-in request failure is returned to the target user, and the reservation order is assigned to the failed reservation user to perform cargo transportation. If the number of people is not greater than 0, there is no suitable failed reservation user for the current reservation order to transport the goods, so the delayed check-in request is in a reserved state.
[0057] In addition, if the delayed check-in time of the target user is earlier than the latest departure time, it can be monitored whether there is a failed reservation user whose matching value is greater than the matching threshold before the delayed check-in time. If so, the reservation order is assigned to the failed reservation user to perform cargo transportation.
[0058] In some implementations, when it is detected that the number of users whose matching value is greater than the matching threshold and whose reservation failed is greater than 0, the method further includes:
[0059] Update the reservation order of the target user, send reservation order cancellation confirmation information to the target user, and obtain response information from the target user;
[0060] If the response information is approval, the carrier of the reservation order is updated to be the newly added reservation user;
[0061] If the response information is rejection, confirm that the carrier of the reservation order is the target user.
[0062] S50: If the second judgment result is yes, verify that the delayed check-in request fails; if the second judgment result is no, create reservation information according to the delayed check-in time and the reservation order information and return it to the target user, the reservation information including the ranking of the delayed check-in time and the number of reserved persons.
[0063] Usually when the number of reserved people is greater than 1, the reservation orders are allocated according to the ranking of delayed check-in time.
[0064] In some implementation manners, if the second judgment result is yes, the method further includes:
[0065] Creating a mandatory delay request with a delayed check-in time equal to the latest departure time and returning it to the target user, and obtaining confirmation information of the target user on the mandatory delay request;
[0066] If the confirmation information of the target user is consent, the delayed check-in time of the delayed check-in request is changed to the latest departure time;
[0067] If the confirmation information of the target user is rejection, verification of the delayed sign-in request fails.
[0068] In some implementations, the further step includes: if the capacity recruitment status is in progress, keeping the delayed check-in request in a reserved status;
[0069] The delayed sign-in time of the newly added target user is also obtained, all the target users are sorted in chronological order, and the reserved information is updated and sent to the corresponding target user.
[0070] The present invention also proposes an order processing system based on a reservation mechanism, comprising:
[0071] A first acquisition module is used to respond to a delayed check-in request from a target user, parse the delayed check-in request to obtain a delayed check-in time and reservation order information;
[0072] A second acquisition module is used to acquire the transportation capacity recruitment deadline and the latest departure time of the reservation order information, wherein the transportation capacity recruitment deadline is earlier than the latest departure time;
[0073] A first judgment module is used to judge whether the delayed check-in time is later than the transportation capacity recruitment deadline, and obtain a first judgment result;
[0074] A second judgment module, if the first judgment result is yes, judges whether the delayed check-in time is later than the latest departure time, and obtains a second judgment result;
[0075] A processing module, used to verify that the delayed check-in request is successful if the first judgment result is no; and to verify that the delayed check-in request fails if the second judgment result is yes; if the second judgment structure is no, create reservation information according to the delayed check-in time and the reservation order information and return it to the target user, the reservation information including the ranking of the delayed check-in time and the number of reserved people.
[0076] The present invention also provides a computer storage medium, wherein the storage medium includes a stored program, and a processor executes the program to implement the above-mentioned order processing method based on the reservation mechanism.
[0077] It should be noted that the program in the above embodiment can be any combination of one or more programming languages to write program codes for executing the operation of the embodiment of the present application, and the programming language includes object-oriented programming languages, such as Java, C++, etc., and also includes conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed completely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on the remote computing device, or completely on the remote computing device or server.
[0078] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0079] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. An order processing method based on a reservation mechanism, characterized in that: include: In response to a delayed check-in request from a target user, parsing the delayed check-in request to obtain a delayed check-in time and reservation order information; Obtaining the transportation capacity recruitment deadline and the latest departure time of the reservation order information, wherein the transportation capacity recruitment deadline is earlier than the latest departure time; Determine whether the delayed sign-in time is later than the transportation capacity recruitment deadline, and obtain a first determination result; If the first judgment result is no, verify that the delayed sign-in request is successful; if the first judgment result is yes, determine whether the delayed sign-in time is later than the latest departure time to obtain a second judgment result; If the second judgment result is yes, verify that the delayed check-in request fails; if the second judgment structure is no, create reservation information according to the delayed check-in time and the reservation order information and return it to the target user, the reservation information including the ranking of the delayed check-in time and the number of reserved people.
2. The order processing method based on the reservation mechanism according to claim 1 is characterized in that: If the second judgment result is yes, the method further includes: Creating a mandatory delay request with a delayed check-in time equal to the latest departure time and returning it to the target user, and obtaining confirmation information of the target user on the mandatory delay request; If the confirmation information of the target user is consent, the delayed check-in time of the delayed check-in request is changed to the latest departure time; If the confirmation information of the target user is rejection, verification of the delayed sign-in request fails.
3. The order processing method based on the reservation mechanism according to claim 1 is characterized in that: If the second judgment result is no, the method further includes: When it is detected that the reservation progress of the reservation order reaches the set progress, the capacity recruitment status of the reservation order is monitored at set intervals; If the capacity recruitment status is ended, obtain the reservation request information of the user whose reservation failed; Obtaining a matching value between the reservation request information and the target reservation order information; When it is detected that the number of users whose matching value is greater than the matching threshold and whose reservation failed is greater than 0, the delayed check-in request failure is returned to the target user; When it is detected that the number of users whose matching value is greater than the matching threshold and whose reservation fails is not greater than 0, the delayed check-in request is kept in a reserved state.
4. The order processing method based on the reservation mechanism according to claim 3 is characterized in that: Also includes: If the capacity recruitment status is in progress, keep the delayed check-in request in a reserved state; The delayed sign-in time of the newly added target user is also obtained, all the target users are sorted in chronological order, and the reserved information is updated and sent to the corresponding target user.
5. An order processing method based on a reservation mechanism according to any one of claims 1 to 4, characterized in that: When the transportation capacity recruitment deadline of the reservation order is earlier than the current timestamp and the transportation capacity of the reservation order is insufficient, the delayed check-in request is kept in a reserved state.
6. The order processing method based on the reservation mechanism according to claim 3 is characterized in that: When it is detected that the number of users whose matching value is greater than the matching threshold and whose reservation failed is greater than 0, the method further includes: Update the reservation order of the target user, send reservation order cancellation confirmation information to the target user, and obtain response information from the target user; If the response information is approval, the carrier of the reservation order is updated to be the newly added reservation user; If the response information is rejection, confirm that the carrier of the reservation order is the target user.
7. An order processing system based on a reservation mechanism, characterized in that: include: A first acquisition module is used to respond to a delayed check-in request from a target user, parse the delayed check-in request to obtain a delayed check-in time and reservation order information; A second acquisition module is used to acquire the transportation capacity recruitment deadline and the latest departure time of the reservation order information, wherein the transportation capacity recruitment deadline is earlier than the latest departure time; A first judgment module is used to judge whether the delayed check-in time is later than the transportation capacity recruitment deadline, and obtain a first judgment result; A second judgment module, if the first judgment result is yes, judges whether the delayed check-in time is later than the latest departure time, and obtains a second judgment result; A processing module, used to verify that the delayed check-in request is successful if the first judgment result is no; and to verify that the delayed check-in request fails if the second judgment result is yes; if the second judgment structure is no, create reservation information according to the delayed check-in time and the reservation order information and return it to the target user, the reservation information including the ranking of the delayed check-in time and the number of reserved people.
8. A computer storage medium, the storage medium comprising a stored program, characterized in that: The processor executes the program to implement an order processing method based on a reservation mechanism as described in any one of claims 1 to 6.