Calendar determination method, device, server and storage medium
By obtaining item business information and determining the prohibited time period to adjust the reservationable calendar, the problem of items to be obtained cannot be delivered according to the reservation calendar during the simulation task drill was solved, improving the user experience and controlling the production rhythm.
Patent Information
- Application Number
- CN202111443869.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2041-11-30
AI Technical Summary
During the simulation task volume drill, the items to be obtained for the item acquisition task may not be delivered according to the reservationable calendar selected by the user, resulting in a poor user acquisition experience.
By obtaining the item business information of the item to be obtained, a prohibited download time period matching the information is determined, and a prohibited reservation calendar is determined based on the prohibited download time period and the item acquisition information, and then the reservation calendar can be adjusted to ensure that the adjusted calendar can fulfill the contract.
It realizes that the reservationable calendar that can be accurately determined during the simulation task volume drill, improves the user's acquisition experience, and effectively controls the production rhythm of the items to be obtained, and meets the needs of the production system and personnel from all parties.
Smart Images

Figure CN114139752B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of computer technology, and in particular to a calendar determination method, device, server, and storage medium. Background Art
[0002] As the domestic e-commerce industry gradually matures, the amount of tasks required to obtain item is increasing, especially during the period of item push activities.
[0003] In order to ensure the stability of the downstream production system during the event, each task generation system can conduct a simulated task volume drill on the eve of the event. That is, the item acquisition tasks generated within the preset time period will not be transmitted to the production system for production first, but will wait until the preset time point and then the item acquisition tasks generated within the preset time period will be transmitted to the production system in a flood-like manner, thereby testing the stability of the production system.
[0004] In the process of implementing the present invention, the inventors found that the following technical problems exist in the prior art: for the item acquisition tasks generated during the simulation task volume drill, the items to be acquired may not be delivered to the user according to the reservable calendar selected by the user (i.e., the target reservation calendar), and the user's acquisition experience needs to be improved. Summary of the invention
[0005] Embodiments of the present invention provide a calendar determination method, device, server and storage medium to achieve the effect of accurately determining a reservable calendar that can be fulfilled.
[0006] In a first aspect, an embodiment of the present invention provides a calendar determination method, which may include:
[0007] Obtaining a calendar that can be reserved. The calendar that can be reserved is determined when receiving an item acquisition request sent by a client, according to item acquisition information of an item to be acquired corresponding to the item acquisition request;
[0008] Acquire item business information of the item to be acquired, and determine a prohibited downloading time period matching the item business information, where the item business information includes warehouse business information and / or store business information;
[0009] The prohibited reservation calendar is determined based on the prohibited downloading time period and item acquisition information, and the available reservation calendar is adjusted based on the prohibited reservation calendar.
[0010] In a second aspect, an embodiment of the present invention further provides a calendar determination device, which may include:
[0011] A reservation calendar acquisition module is used to acquire a reservation calendar, wherein the reservation calendar is determined according to the item acquisition information of the item to be acquired corresponding to the item acquisition request when receiving the item acquisition request sent by the client;
[0012] A module for determining a prohibited downloading period, used to obtain item business information of the item to be obtained, and determine a prohibited downloading period matching the item business information, wherein the item business information includes warehouse business information and / or store business information;
[0013] The reservation calendar adjustment module is used to determine the prohibited reservation calendar according to the prohibited downloading time period and the item acquisition information, and adjust the reservation calendar according to the prohibited reservation calendar.
[0014] In a third aspect, an embodiment of the present invention further provides a server, which may include:
[0015] one or more processors;
[0016] A memory for storing one or more programs;
[0017] When one or more programs are executed by one or more processors, the one or more processors implement the calendar determination method provided by any embodiment of the present invention.
[0018] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the calendar determination method provided by any embodiment of the present invention.
[0019] The technical solution of the embodiment of the present invention, when receiving the item acquisition request sent by the client, can determine the reservable calendar according to the item acquisition information of the item to be acquired corresponding to the item acquisition request; obtain the item business information of the item to be acquired including the warehouse business information and / or the store business information, thereby determining the prohibited download period matching the item business information, which can be understood as the time period that makes the item to be acquired with the item business information unable to be produced; determine the prohibited appointment calendar that cannot be fulfilled, that is, cannot be selected, according to the prohibited download period and the item acquisition information, and then adjust the reservable calendar according to the prohibited appointment calendar, thereby ensuring that the adjusted reservable calendar is a calendar that can be fulfilled. The above technical solution, using the item business information as the medium, determines the prohibited appointment calendar that cannot be fulfilled for the item to be acquired with the item business information, thereby adjusting the reservable calendar according to the prohibited appointment calendar, achieving the effect of accurately determining the reservable calendar that can be fulfilled, thereby improving the user's acquisition experience, which is still effective during the simulation task volume exercise; in addition, it can also effectively control the production rhythm of the item to be acquired, and can simultaneously meet the actual needs of the production system and personnel of all parties. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a flow chart of a calendar determination method in an embodiment of the present invention;
[0021] Figure 2 is a flow chart of another calendar determination method in an embodiment of the present invention;
[0022] Figure 3 is a flow chart of another calendar determination method in an embodiment of the present invention;
[0023] Figure 4a is a first application schematic diagram of yet another calendar determination method in an embodiment of the present invention;
[0024] Figure 4b is a second application schematic diagram of yet another calendar determination method in an embodiment of the present invention;
[0025] Figure 5 is a third application schematic diagram of yet another calendar determination method in an embodiment of the present invention;
[0026] Figure 6 is a fourth application schematic diagram of yet another calendar determination method in an embodiment of the present invention;
[0027] Figure 7 is an architecture diagram of a fulfillment system in yet another calendar determination method in an embodiment of the present invention;
[0028] Figure 8 is a structural block diagram of a calendar determination device in an embodiment of the present invention;
[0029] Fig. 9 It is a structural diagram of a server in an embodiment of the present invention. DETAILED DESCRIPTION
[0030] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It is also necessary to explain that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0031] Before introducing the embodiment of the present invention, the application scenario of the embodiment of the present invention is first exemplified: In order to ensure that the items to be acquired under the item acquisition task generated during the simulation task volume exercise can be delivered to the user according to the target appointment calendar, for stores and / or warehouses open all day, an optional solution is to manually adjust their business hours to avoid operating during the simulation task volume exercise. Since the calendar during non-business hours is definitely not a reservable calendar, the situation where the reservable calendar selected by the user cannot be fulfilled can be avoided. However, there are many stores and / or warehouses open all day, and the above manual adjustment solution has the problem of extremely high cost and high probability of error.
[0032] Figure 1 This is a flow chart of a calendar determination method provided in an embodiment of the present invention. This embodiment can be applied to accurately determine the calendar of available appointments for items to be acquired, and is particularly applicable to accurately determine the calendar of available appointments for items to be acquired under the item acquisition task generated during the simulation task volume exercise. This method can be executed by the calendar determination device provided in an embodiment of the present invention, which can be implemented by software and / or hardware, and can be integrated on a server.
[0033] See also Figure 1 The method of the embodiment of the present invention specifically includes the following steps:
[0034] S110: Obtain a calendar that can be reserved, wherein the calendar that can be reserved is determined according to item acquisition information of an item to be acquired corresponding to the item acquisition request when an item acquisition request sent by a client is received.
[0035] When receiving the item acquisition request sent by the client, the server can obtain the item acquisition information of the item to be acquired corresponding to the item acquisition request, wherein the item acquisition request can be a request from the item acquirer of the item to be acquired to acquire the item to be acquired, and the item acquirer can be the future owner of the item to be acquired, and the item acquisition information can be information related to the acquisition process of the item to be acquired, such as item production information, item distribution information, etc. Therefore, the server can determine a reservation calendar based on the item acquisition information, that is, the reservation calendar can be the calendar determined by the server based on the item acquisition information when the item acquirer can acquire the item to be acquired, that is, the item acquirer can make an appointment to determine the calendar when to acquire the item to be acquired, such as 15:00-21:00 on the current day, 9:00-15:00 on the next day, and 15:00-21:00 on the next day.
[0036] On this basis, optionally, in combination with the application scenarios that may be involved in the embodiments of the present invention, the above-mentioned item acquisition request may be a request sent by the client after detecting that a certain user (i.e., the item acquirer) has purchased a certain product (i.e., the item to be acquired), the above-mentioned item acquisition information may be understood as order information, the above-mentioned item production information may be production information on the order dimension, and the above-mentioned item delivery information may be delivery information on the package dimension that depends on the order dimension. In addition, the above-mentioned order information may also include product attribute information, which is information related to the attributes of the product itself, such as price, model, etc.
[0037] S120: Acquire item business information of the item to be acquired, and determine a prohibited downloading time period matching the item business information, wherein the item business information includes warehouse business information and / or store business information.
[0038] Among them, the item business information can be information related to the business of the item to be acquired, such as warehouse business information, store business information, etc., wherein the warehouse business information can be the business information of the warehouse where the item to be acquired is located, such as large appliance warehouse business, small and medium-sized item warehouse business, etc. In actual applications, optionally, these warehouses can all be self-operated warehouses of an object to which a server configured with the above-mentioned server belongs. This is because the object can mostly only control the production process of the items to be acquired in the warehouse operated by itself, but cannot control the production process of the items to be acquired in the warehouses operated by other objects; the store business information can be the business information of the store where the item to be acquired is located, such as pharmaceutical store business, flower store business, cosmetics store business, fresh food store business, etc.
[0039] It should be noted that the reason why the items to be acquired under the item acquisition tasks generated during the simulation task volume drill explained above may not be delivered to the user according to the reservable calendar selected by the user is that it only controls the prohibition of uploading of item acquisition tasks according to the rehearsal period of the simulation task volume drill (this can be understood as order control in the e-commerce platform), and does not divert according to the item business information, that is, as long as all the item acquisition tasks generated during the rehearsal period are prohibited from being uploaded, the actual production of the items to be acquired under certain item acquisition tasks is affected, and then the effective fulfillment of the target reservation time limit of these items to be acquired is affected.
[0040] On this basis, in order to ensure both the effective execution of the simulation task volume exercise and the effective fulfillment of the target appointment time limit, after obtaining the item business information of a certain item to be obtained, the prohibited download period that matches the item business information can be determined first. The prohibited download period can be the time period during which the item acquisition task of the item to be obtained is prohibited from being downloaded to the production system, which can be understood as the time period during the simulation task volume exercise. When the prohibited download period can be determined, it means that the request reception time is exactly during this simulation task volume exercise, and the item to be obtained cannot be produced at this time; otherwise, it means that the item to be obtained can be produced at this time.
[0041] S130: Determine a prohibited reservation calendar according to the prohibited downloading time period and the item acquisition information, and adjust the available reservation calendar according to the prohibited reservation calendar.
[0042] Among them, after obtaining the prohibited downloading time period that matches the item business information, the time period in which the corresponding items to be acquired cannot be produced can be determined based on the prohibited downloading time period, and then combined with the item acquisition information above, the prohibited reservation calendar can be determined. The prohibited reservation calendar can be a calendar that cannot be fulfilled and prohibits users from making reservations.
[0043] In this way, the available calendar determined in the above steps can be adjusted according to the prohibited appointment calendar, such as removing the parts that overlap with the prohibited appointment calendar from each available calendar. Therefore, even if the items to be acquired appear during the simulation task volume exercise, the possibility that the corresponding adjusted available calendar can be fulfilled can be significantly improved, thereby improving the acquisition experience of the item acquirer. On this basis, optionally, the adjusted available calendar can also be sent to the client so that the client displays it on the display interface, so that the item acquirer can know from the display interface the calendar that he can choose to acquire the item to be acquired.
[0044] Continuing with the application scenario of the e-commerce platform mentioned above as an example, the above technical solution takes into account the business information of the items to be obtained when controlling the order, and it can control the order for one or more specified businesses within different time periods; further, it can be combined with the business of controlling the order, and the reservable calendar corresponding to the order control period is not displayed to the user, thereby avoiding the situation where the user selects a reservable calendar that cannot be fulfilled; moreover, the implementation process of the above technical solution does not require manual maintenance, and it automatically adjusts the reservable calendar that cannot be fulfilled, thereby solving the problem of extremely high cost and high probability of error.
[0045] The technical solution of the embodiment of the present invention, when receiving the item acquisition request sent by the client, can determine the reservable calendar according to the item acquisition information of the item to be acquired corresponding to the item acquisition request; obtain the item business information of the item to be acquired including the warehouse business information and / or the store business information, thereby determining the prohibited download period matching the item business information, which can be understood as the time period that makes the item to be acquired with the item business information unable to be produced; determine the prohibited appointment calendar that cannot be fulfilled, that is, cannot be selected, according to the prohibited download period and the item acquisition information, and then adjust the reservable calendar according to the prohibited appointment calendar, thereby ensuring that the adjusted reservable calendar is a calendar that can be fulfilled. The above technical solution, using the item business information as the medium, determines the prohibited appointment calendar that cannot be fulfilled for the item to be acquired with the item business information, thereby adjusting the reservable calendar according to the prohibited appointment calendar, achieving the effect of accurately determining the reservable calendar that can be fulfilled, thereby improving the user's acquisition experience, which is still effective during the simulation task volume exercise; in addition, it can also effectively control the production rhythm of the item to be acquired, and can simultaneously meet the actual needs of the production system and personnel of all parties.
[0046] An optional technical solution, in which the item acquisition information may include item production information and / or item delivery information, and determining a prohibited reservation calendar based on the prohibited downloading period and the item acquisition information may include: determining the item production time of the item to be acquired based on the item production information, and determining the item delivery time of the item to be acquired based on the item delivery information, and determining the item acquisition time of the item to be acquired based on the item production time and / or the item delivery time; determining the prohibited reservation calendar based on the prohibited downloading period and the item acquisition time.
[0047] Among them, the item production information may be information related to the production process of the item to be acquired, such as the item owner, item type, etc. of the item to be acquired. The item owner may be the current owner of the item to be acquired, and thus the item production time of the item to be acquired may be determined according to the item production information, such as determining the item production time of the item owner producing the item to be acquired belonging to the item type. Of course, the item production information may also be directly the item production time, which is not specifically limited here. The item delivery information may be information related to the delivery process of the item to be acquired, such as the delivery address, the optional delivery time period, the delivery carrier, etc., wherein the delivery address may be the first address of the item acquirer, the second address of the item owner, etc., the delivery time period may be presented by the delivery start time point and / or the delivery end time point, and the delivery carrier may be a delivery company responsible for the delivery task, and thus the item delivery time of the item to be acquired may be determined according to the item delivery information. Of course, the item delivery information may also be directly the item delivery time, which is not specifically limited here. Furthermore, the item acquisition time of the item to be acquired can be determined according to the item production time and / or the item delivery time. At this time, the reservable calendar of the item to be acquired can be determined in combination with the request reception time of the item acquisition request. For example, if the request reception time is 15:15 on the same day and the item acquisition time is 30 minutes, then the reservable calendar can be 15:30-16:00, 16:00-16:30, 16:30-17:00, etc. on the same day; the prohibited appointment calendar of the item to be acquired can also be determined in combination with the prohibited downloading period. For example, if the prohibited downloading period is 2021-5-8 0:00:00~2021-5-804:00:00, and the item acquisition time is 3 hours, then the prohibited appointment calendar can be 2021-5-8 03:00:00~2021-5-807:00:00, thereby achieving the effect of accurately determining the prohibited appointment calendar.
[0048] Figure 2It is a flowchart of another calendar determination method provided in an embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, optionally, determining the prohibited downloading time period that matches the item business information may include: obtaining the request receiving time of the item acquisition request, determining the appointment calendar adjustment strategy that matches the item business information and the request receiving time; and determining the prohibited downloading time period that matches the item business information from the appointment calendar adjustment strategy. Among them, the explanations of the terms that are the same as or corresponding to the above-mentioned embodiments are not repeated here.
[0049] See also Figure 2 The method of this embodiment may specifically include the following steps:
[0050] S210: Obtain a calendar that can be reserved, wherein the calendar that can be reserved is determined according to item acquisition information of an item to be acquired corresponding to the item acquisition request when an item acquisition request sent by the client is received.
[0051] S220: Acquire item business information of the item to be acquired, where the item business information includes warehouse business information and / or store business information.
[0052] S230: Obtain the request receiving time of the item acquisition request, and determine the appointment calendar adjustment strategy that matches the item service information and the request receiving time.
[0053] The request receiving time may be the time when the item acquisition request is received, and the reservation calendar adjustment policy may be a pre-set policy that defines the effective time period and is used to adjust the reservable calendar of the item to be acquired with which item service information, and the specific adjustment method may be determined by setting the prohibited download period in the reservation calendar adjustment policy. Thus, after obtaining the request receiving time and the item service information, a reservation calendar adjustment policy that matches the two can be determined, that is, a reservation calendar adjustment policy whose effective time period includes the request receiving time and can be used to adjust the reservable calendar of the item to be acquired under the item service information.
[0054] S240: Determine a prohibited downloading time period that matches the item service information from the reservation calendar adjustment strategy.
[0055] Among them, since the prohibited downloading time period is set in the reservation calendar adjustment policy, the prohibited downloading time period matching the item business information can be determined from the reservation calendar adjustment policy.
[0056] S250: Determine a prohibited reservation calendar according to the prohibited downloading time period and the item acquisition information, and adjust the available reservation calendar according to the prohibited reservation calendar.
[0057] On this basis, optionally, the appointment calendar adjustment strategy can also be set with a priority, which is used to determine one when there are at least two appointment calendar adjustment strategies. That is to say, if the number of appointment calendar adjustment strategies is at least two, the prohibited appointment calendar can be determined according to the prohibited download period in the appointment calendar adjustment strategy with the highest priority in each appointment calendar adjustment strategy and the acquired item acquisition information. The advantage of such a setting is that when the prohibited download period in at least two appointment calendar adjustment strategies is different, it can effectively determine which prohibited download period is used to determine the prohibited appointment calendar, thereby achieving the effect of accurately determining the prohibited appointment calendar. Exemplarily, the priority of an appointment calendar adjustment strategy is 1 and the prohibited download period is empty, that is, it can be downloaded immediately, and the priority of an appointment calendar adjustment strategy is 2 and the prohibited download period is 2021-5-8 0:00:00~2021-5-8 04:00:00, then the final prohibited download period is empty, which can also be understood as prohibiting download when all matching appointment calendar adjustment strategies prohibit downloading.
[0058] In order to better understand the setting process of the above-mentioned appointment calendar adjustment policy, it is exemplified below with reference to specific examples. For example, referring to Table 1 below, an appointment calendar adjustment rule based on item business information is set, and the exclusivity, priority, effective time and expiration time of the appointment calendar adjustment rule are set; an appointment calendar adjustment policy corresponding to the appointment calendar adjustment rule setting is set. Table 1 illustrates that different appointment calendar adjustment rules may be affected by non-exclusivity, priority, effective time and expiration time, and one, two or more appointment calendar adjustment rules may be set.
[0059] Table 1 Relationship between appointment calendar adjustment rules and appointment calendar adjustment rule strategies
[0060] Appointment calendar adjustment rules Appointment calendar adjustment strategy Rule 1 Non-exclusive, priority 1, effective time, expiration time Rule 2 Non-exclusive, priority 1, effective time, expiration time Rule 3 Non-exclusive, priority 1, effective time, expiration time
[0061] The technical solution of the embodiment of the present invention uses the item business information as a dimension and combines it with the request reception time of the item acquisition request to match the corresponding appointment calendar adjustment strategy, and then can obtain the prohibited download time period from the appointment calendar adjustment strategy, thereby achieving the effect of quickly and accurately determining the prohibited download time period.
[0062] On the basis of any of the above technical solutions, optionally, if the item business information includes both warehouse business information and store business information, then the prohibited download period determined thereby may be a prohibited download period that matches both item business information. Therefore, determining the prohibited download period that matches the item business information may also include: determining a first download period that is prohibited from downloading that matches the warehouse business information, and a second download period that is prohibited from downloading that matches the store business information; determining the prohibited download period that matches the item business information based on the overlapping download period between the first download period and the second download period. In other words, if there is a first download period that matches the warehouse business information (i.e., a period during which the items to be acquired with the warehouse business information are prohibited from downloading) and a second download period that matches the store business information (i.e., a period during which the items to be acquired with the store business information are prohibited from downloading), then there is a prohibited download period that matches the item business information; otherwise, there is no prohibited download period that matches the item business information. The above-mentioned prohibited download period can be determined based on the overlapping download period (i.e., the overlapping part) between the first download period and the second download period, thereby achieving the effect of accurately determining the prohibited download period that matches the business information of each item. To understand from another perspective, still taking the application scenario of the e-commerce platform as an example, when the business information of items under various dimensions all believe that a certain item to be acquired needs to control the order download, the item to be acquired needs to control the order; otherwise, the item to be acquired does not need to control the order.
[0063] Figure 3 It is a flowchart of another calendar determination method provided in an embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, optionally, the above-mentioned calendar determination method may also include: determining the task download start time according to the prohibited download end time in the prohibited download period, and when it is detected that the current time is the task download start time, the item production task of the item to be acquired is uploaded to the production system; and / or, if not, the item production task is uploaded to the production system. Among them, the explanations of the terms that are the same or corresponding to the above-mentioned embodiments are not repeated here.
[0064] See also Figure 3 The method of this embodiment may specifically include the following steps:
[0065] S310: Obtain a calendar that can be reserved, wherein the calendar that can be reserved is determined according to item acquisition information of an item to be acquired corresponding to the item acquisition request when an item acquisition request sent by a client is received.
[0066] S320: Acquire item business information of the item to be acquired, and determine a prohibited downloading time period matching the item business information, where the item business information includes warehouse business information and / or store business information.
[0067] S330: Determine a prohibited reservation calendar according to the prohibited downloading time period and the item acquisition information, and adjust the available reservation calendar according to the prohibited reservation calendar.
[0068] S340, determining the task download start time according to the download prohibition end time in the download prohibition period, and when detecting that the current time is the task download start time, downloading the item production task of the item to be acquired to the production system.
[0069] Among them, the prohibited download period may include a prohibited download start time and a prohibited download end time. The prohibited download start time may be the time when the prohibited item production task download starts, and the prohibited download end time may be the time when the prohibited item production task download ends. Therefore, the task download start time can be determined according to the prohibited download end time. The task download start time may be the time when the corresponding item production task can be downloaded to the production system. It may be the same time as the prohibited download end time, or the next second of the prohibited download end time, etc., which is not specifically limited here. The above-mentioned item production task may be a link in the item acquisition task, and the item acquisition task may also include an item distribution task, etc., which is not specifically limited here. On this basis, when it is detected that the current time is the task download start time, the item production task of the item to be acquired can be downloaded to the production system, so that the production system produces the item to be acquired according to the item production task.
[0070] S350: If not, the item production task is transmitted to the production system.
[0071] If there is no period during which downloading is prohibited, then upon receiving an item acquisition request sent by the client, the corresponding item production task can be immediately downloaded to the production system for production.
[0072] It should be noted that S340 is the specific implementation process of uploading item production tasks when there is a prohibited download period, and S350 is the specific implementation process of uploading item production tasks when there is no prohibited download period. In one embodiment, the two can exist either one or both, and so on, which is not specifically limited here.
[0073] According to the technical solution of the embodiment of the present invention, if there is a prohibited download period, the task download start time can be determined by the prohibited download end time in the prohibited download period, and then when it is detected that the current time is the task download start time, the item production task of the item to be acquired is uploaded to the production system; otherwise, the item production task can be immediately uploaded to the production system, thereby achieving the effect of timely downloading of item production tasks in various situations, and achieving the effect of flood-like downloading of item production tasks during simulation task volume drills.
[0074] An optional technical solution, the calendar determination method mentioned above may also include: updating the reservable calendar according to the adjustment result, and sending the reservable calendar to the client, so that the client displays the received reservable calendar on the display interface; determining the item acquisition time of the item to be acquired according to the item acquisition information, and determining the item production start time according to the item acquisition time and the target appointment calendar sent by the client, wherein the target appointment calendar includes a reservable calendar with selected information; sending the item production start time to the production system, so that the production system produces the item to be acquired based on the received item production task at the item production start time. After the client displays the received reservable calendar on the display interface, the user can select these reservable calendars and select the target appointment calendar from them, so the target appointment calendar can be a reservable calendar with selected information. The process of determining the item acquisition time has been described above and will not be repeated here. Therefore, the item production start time of the item to be acquired can be reversely deduced based on the item acquisition time and the target appointment calendar, that is, the time when the production of the item to be acquired begins. For example, if the target appointment calendar is 2021-5-8 15:00-15:30 and the item acquisition time is 1 hour, then the item production start time can be any time between 2021-5-8 14:00-14:30. Furthermore, the item production start time can be sent to the production system so that the production system can produce the item to be acquired based on the received item production task at the item production start time. Its timely production can not only ensure the effective fulfillment of the target appointment time limit, but also avoid the situation where the items to be acquired that have been produced but have not yet reached the item delivery time are piled up in the distribution station.
[0075] In order to better understand the specific implementation process of the above steps, the following will continue to use the application scenario of the e-commerce platform as an example to illustrate it. For example, the appointment calendar adjustment rule defines the prohibited download time period corresponding to each item business information, and the appointment calendar adjustment strategy can be composed of at least one appointment calendar adjustment rule. Figure 4a , where the numbers are execution steps, steps 1-2, 4-5, and 9 are the interaction steps of each system in the server, steps 3, 6-8 are the execution steps of the calendar middle platform, the calendar middle platform and the appointment calendar adjustment device can both be part of the fulfillment system, the appointment calendar adjustment device can be a configuration front end that can be exposed to merchants, and the calendar middle platform can be a general module without business domain division obtained by abstracting the underlying logic. For example, the production time of book store business and cake store business is different and is configured in the appointment calendar adjustment device, and the delivery time is the same and is configured in the calendar middle platform.
[0076] Specifically, the appointment calendar adjustment rules and strategies are set in the appointment calendar adjustment device, and then the appointment calendar adjustment rules and strategies are synchronized to the relevant system and calendar middle station, and the relevant system may be a freight system, a distribution system, etc. The calendar middle station may update the received appointment calendar adjustment rules and strategies to the current cache data. Thus, when the order middle station detects the trigger event of the user placing an order, the order information associated with the trigger event may be synchronized to the calendar middle station, and the order information may be the information that has not actually been placed before the order is placed. The calendar middle station may obtain the appointment calendar adjustment strategy that matches it according to the order information (at this time, it may also be obtained in combination with the corresponding item business information), and then match the appointment calendar adjustment configuration (i.e., appointment calendar) under the appointment calendar adjustment strategy. Thus, it may be determined whether to adjust the appointment calendar adjustment configuration based on the appointment calendar adjustment strategy, and the final appointment calendar adjustment configuration may be notified to the production system, or the item production start time determined according to the final appointment calendar adjustment configuration may be sent to the production system, so that the production system may produce according to it.
[0077] In order to better understand the above content, the following is explained with reference to specific examples. Figure 4a ,The specific process of adjusting the appointment calendar for different item business information is as follows. ,In order to simplify the description, the item business information can be referred to as business below.
[0078] 1) Business A needs to centrally control orders and not produce them. Set the A rule for business A. In actual applications, the A business can be the A warehouse business, the A store business, etc.;
[0079] 2) Set the order control strategy for rule A, with the validity period being (2021-4-20 0:00:00 to 2021-4-20 2:00:00), the priority being 1 (highest priority), and the exclusivity being (non-exclusive, i.e., as long as orders containing business A are included, the order control strategy corresponding to rule A will be executed);
[0080] 3) The current time of the fulfillment system is 2021-4-20 01:00:23. The user purchases the product under business A. The user enters the checkout page and makes an appointment for the fastest delivery wave.
[0081] 4) The order control strategy corresponding to rule A can be matched according to business A, validity period, priority, and exclusivity. Therefore, after the user places an order, the order will be controlled and will not be immediately sent to the production system and distribution system;
[0082] 5) At 2:00:00 on 2021-4-20, the fulfillment system will send the order (or the production task of the ordered items) to the production system and distribution system, and notify the production system to start production.
[0083] See also Figure 4b , the appointment calendar adjustment strategy considering both warehouse business information and store business information, the specific process is as follows:
[0084] 1) Except for the A store business, which does not require centralized control of order production, all other orders need to be controlled in production, and set the A rule for the A store business;
[0085] 2) Set the non-control order policy for rule A, with the validity period as (long-term), priority as 1, and exclusivity as (non-exclusive, that is, as long as the order contains the business of store A, the non-control order policy corresponding to rule A will be executed);
[0086] 3) Set up general B rules, which are suitable for general store business, warehouse business, etc.;
[0087] 4) Set the order control strategy for rule B, with the validity period being (2021-4-20 0:00:00 to 2021-4-20 2:00:00), the priority being 2, and the exclusivity being (exclusive);
[0088] 5) The current time of the fulfillment system is 2021-4-20 01:00:23. The user purchases a product under store A. The user enters the checkout page and makes an appointment for the fastest delivery wave.
[0089] 6) According to the business, validity period, priority, and exclusivity of store A, the non-control order strategy of rule A can be matched. Therefore, after the user places an order, the order will not be controlled and will be immediately sent to the production system and distribution system;
[0090] 7) Notify the production system to start production.
[0091] It should be noted that in some cases, the order control strategy (or non-order control strategy) that matches the warehouse business information and the order control strategy (or non-order control strategy) that matches the store business information may be different. This is because, taking the pharmaceutical store business as an example, all the products under the pharmaceutical store business may need to be controlled, but these products may be shipped from the forward warehouse (such as a pharmacy) or from the back warehouse (such as a warehouse), that is, the warehouse business information of these products is different, and the products shipped from the forward warehouse do not need to be controlled, that is, order control is required when the product hits the pharmaceutical store business, and no order control is required when it hits the pharmacy. At this time, the final order control result is that no order control is required.
[0092] For example, Figure 5As shown, after the user places an order, the order system (i.e., the task generation system described above) sends the order information to the appointment calendar adjustment device, so that the appointment calendar adjustment device matches the appointment calendar adjustment strategy according to the order information, and sends the appointment calendar adjustment strategy to the execution system, which can be a production system. The execution system can feed back production information to the order system, and the production information can be the start time of item production, etc., so that the order system can feed back the production information to the user, thereby effectively controlling the production rhythm, which can not only meet the production needs of the production system, but also meet the corresponding needs of users, merchants, procurement and sales and other related personnel at the same time.
[0093] For example, Figure 6 As shown, the fulfillment system is combined with the order system, production system, distribution system, etc. Specifically, when a user purchases a product, the fulfillment system can determine the time required to obtain the product based on the relevant information obtained from the production system and the distribution system, and thereby estimate the available reservation calendar. The fulfillment system can determine whether there is a matching reservation calendar adjustment strategy based on the product business information of the product. If so, it means that this order needs to be controlled, and the order is controlled not to be transmitted to production, and the production is transmitted when the current time is the task transmission start time set in the matching reservation calendar adjustment strategy; otherwise, it can directly enter the normal production process.
[0094] For example, Figure 7 As shown, the appointment calendar adjustment configuration management can be a pre-configured appointment calendar adjustment strategy, and these appointment calendar adjustment strategies can be stored in the appointment calendar adjustment rule cache. Correspondingly, the basic database can store basic item business information, so that the appointment calendar adjustment configuration management can be configured based on the basic database. Then the process engine can calculate the reservable calendar by calling the data from the appointment calendar adjustment rule cache and the basic database. The application system can be a freight system, a production system, a distribution system, etc., which can receive the reservable calendar calculated by the fulfillment system.
[0095] Figure 8 This is a structural block diagram of a calendar determination device provided in an embodiment of the present invention, and the device is used to execute the calendar determination method provided in any of the above embodiments. The device and the calendar determination method of the above embodiments belong to the same inventive concept, and the details not described in detail in the embodiments of the calendar determination device can refer to the embodiments of the above calendar determination method. Figure 8 The device may specifically include: a reservable calendar acquisition module 410, a prohibited downloading time period determination module 420 and a reservable calendar adjustment module 430.
[0096] The available calendar acquisition module 410 is used to acquire the available calendar. The available calendar is determined according to the item acquisition information of the item to be acquired corresponding to the item acquisition request when the item acquisition request sent by the client is received.
[0097] The download-forbidden time period determination module 420 is used to obtain the item business information of the item to be obtained, and determine the download-forbidden time period matching the item business information, wherein the item business information includes warehouse business information and / or store business information;
[0098] The reservable calendar adjustment module 430 is used to determine the prohibited reservation calendar according to the prohibited downloading time period and the item acquisition information, and adjust the reservable calendar according to the prohibited reservation calendar.
[0099] Optionally, the download-forbidden period determination module 420 may include:
[0100] An appointment calendar adjustment strategy determination unit, used to obtain a request receiving time of an item acquisition request, and determine an appointment calendar adjustment strategy that matches the item service information and the request receiving time;
[0101] The first download-forbidden time period determination unit is used to determine the download-forbidden time period matching the item service information from the reservation calendar adjustment strategy.
[0102] On this basis, optionally, the calendar adjustment module 430 may include:
[0103] The first prohibited reservation calendar determining unit is used for determining the prohibited reservation calendar according to the prohibited downloading time period and item acquisition information in the reservation calendar adjustment strategy with the highest priority among the reservation calendar adjustment strategies when the number of the reservation calendar adjustment strategies is at least two.
[0104] Optionally, the download-forbidden period determination module 420 may include:
[0105] A second download period determination unit, used to determine a first download period that is prohibited from downloading and matches the warehouse business information, and a second download period that is prohibited from downloading and matches the store business information;
[0106] The second determination unit for the prohibited downloading period is used to determine the prohibited downloading period matching the item service information according to the overlapping downloading period between the first downloading period and the second downloading period.
[0107] Optionally, the item acquisition information includes item production information and / or item delivery information, and the appointment calendar adjustment module 430 may include:
[0108] an item acquisition time determination unit, configured to determine the item production time of the item to be acquired according to the item production information and determine the item delivery time of the item to be acquired according to the item delivery information, and determine the item acquisition time of the item to be acquired according to the item production time and / or the item delivery time;
[0109] The second determination unit of the prohibited reservation calendar is used to determine the prohibited reservation calendar according to the prohibited downloading period and the item acquisition time.
[0110] Optionally, the calendar determination device may further include:
[0111] The first task download module is used to determine the task download start time according to the download prohibition end time in the download prohibition period, and when it is detected that the current time is the task download start time, the item production task of the item to be obtained is uploaded to the production system; and / or,
[0112] The second task transmission module is used to transmit the item production task to the production system if no.
[0113] On this basis, optionally, the calendar determination device may further include:
[0114] A reservable calendar sending module is used to update the reservable calendar according to the adjustment result, and send the reservable calendar to the client, so that the client displays the received reservable calendar on the display interface;
[0115] An item production start time determination module is used to determine the item acquisition time of the item to be acquired according to the item acquisition information, and determine the item production start time according to the item acquisition time and the target appointment calendar sent by the client, wherein the target appointment calendar includes a reservable calendar with the selected information;
[0116] The item production start time sending module is used to send the item production start time to the production system, so that the production system produces the item to be obtained based on the received item production task at the item production start time.
[0117] The calendar determination device provided in the embodiment of the present invention can determine a reservable calendar according to the item acquisition information of the item to be acquired corresponding to the item acquisition request when the reservable calendar acquisition module receives the item acquisition request sent by the client; the prohibited download time period determination module obtains the item business information of the item to be acquired, which may include warehouse business information and / or store business information, thereby determining the prohibited download time period matching the item business information, which can be understood as a time period in which the item to be acquired with the item business information cannot be produced; the reservable calendar adjustment module determines a prohibited reservation calendar that cannot be fulfilled, i.e., cannot be selected, based on the prohibited download time period and the item acquisition information, and then adjusts the reservable calendar according to the prohibited reservation calendar, thereby ensuring that the adjusted reservable calendars are all fulfillable calendars. The above-mentioned device uses the item business information as a medium to determine whether the item to be acquired with the item business information has a prohibited reservation calendar that cannot be fulfilled, thereby adjusting the reservable calendar according to the prohibited reservation calendar, thereby achieving the effect of accurately determining the reservable calendar that can be fulfilled, thereby improving the user's acquisition experience, which is still effective during the simulation task volume drill; in addition, it can also effectively control the production rhythm of the items to be acquired, and can simultaneously meet the actual needs of the production system and personnel from all parties.
[0118] The calendar determination device provided in the embodiment of the present invention can execute the calendar determination method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0119] It is worth noting that in the embodiment of the above-mentioned calendar determination device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0120] Fig. 9 A schematic diagram of the structure of a server provided by an embodiment of the present invention, such as Fig. 9 As shown, the server includes a memory 510, a processor 520, an input device 530, and an output device 540. The number of processors 520 in the server can be one or more. Fig. 9 A processor 520 is taken as an example; the memory 510, the processor 520, the input device 530 and the output device 540 in the server can be connected via a bus or other means. Fig. 9 The connection via bus 550 is taken as an example.
[0121] The memory 510, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the calendar determination method in the embodiment of the present invention (for example, the reservable calendar acquisition module 410, the prohibited download period determination module 420 and the reservable calendar adjustment module 430 in the calendar determination device). The processor 520 executes various functional applications and data processing of the server by running the software programs, instructions and modules stored in the memory 510, that is, implements the above-mentioned calendar determination method.
[0122] The memory 510 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the server, etc. In addition, the memory 510 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 510 may further include a memory remotely arranged relative to the processor 520, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0123] The input device 530 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 540 may include a display device such as a display screen.
[0124] An embodiment of the present invention provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to perform a calendar determination method when executed by a computer processor, the method comprising:
[0125] Obtaining a calendar that can be reserved. The calendar that can be reserved is determined when receiving an item acquisition request sent by a client, according to item acquisition information of an item to be acquired corresponding to the item acquisition request;
[0126] Acquire item business information of the item to be acquired, and determine a prohibited downloading time period matching the item business information, where the item business information includes warehouse business information and / or store business information;
[0127] The prohibited reservation calendar is determined based on the prohibited downloading time period and item acquisition information, and the available reservation calendar is adjusted based on the prohibited reservation calendar.
[0128] Of course, the computer executable instructions of a storage medium including computer executable instructions provided by an embodiment of the present invention are not limited to the operations of the method described above, and can also execute related operations in the calendar determination method provided by any embodiment of the present invention.
[0129] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0130] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A calendar determination method, characterized in that: include: Acquire a calendar that can be reserved, wherein the calendar that can be reserved is determined according to item acquisition information of an item to be acquired corresponding to the item acquisition request when an item acquisition request sent by a client is received; Acquire item business information of the item to be acquired, and determine a prohibited downloading time period matching the item business information, wherein the item business information includes warehouse business information and / or store business information; Determine a prohibited reservation calendar according to the prohibited downloading time period and the item acquisition information, and adjust the available reservation calendar according to the prohibited reservation calendar; The determining of the prohibited downloading time period matching the item service information includes: Obtaining a request receiving time of the item acquisition request, and determining an appointment calendar adjustment strategy that matches the item service information and the request receiving time, wherein the request receiving time is the time when the item acquisition request is received; A prohibited downloading time period matching the item service information is determined from the reservation calendar adjustment strategy.
2. The method according to claim 1, characterized in that The step of determining a prohibited reservation calendar according to the prohibited downloading time period and the item acquisition information includes: The number of the reservation calendar adjustment strategies is at least two, and the prohibited reservation calendar is determined according to the prohibited downloading time period and the item acquisition information in the reservation calendar adjustment strategy with the highest priority among the reservation calendar adjustment strategies.
3. The method according to claim 1, characterized in that The determining of the prohibited downloading time period matching the item service information includes: Determine a first downloading time period during which downloading is prohibited and matches the warehouse business information, and a second downloading time period during which downloading is prohibited and matches the store business information; A prohibited downloading time period matching the item service information is determined according to the overlapping downloading time period between the first downloading time period and the second downloading time period.
4. The method according to claim 1, characterized in that The item acquisition information includes item production information and / or item delivery information, and the step of determining a prohibited reservation calendar according to the prohibited downloading period and the item acquisition information includes: Determine the item production time of the item to be acquired according to the item production information, determine the item delivery time of the item to be acquired according to the item delivery information, and determine the item acquisition time of the item to be acquired according to the item production time and / or the item delivery time; The prohibited reservation calendar is determined according to the prohibited downloading time period and the item acquisition time length.
5. The method according to claim 1, characterized in that: Also includes: Determining the task download start time according to the download prohibition end time in the download prohibition period, and when detecting that the current time is the task download start time, downloading the item production task of the item to be acquired to the production system; and / or, If not, the item production task is transmitted to the production system.
6. The method according to claim 5, characterized in that Also includes: updating the reservable calendar according to the adjustment result, and sending the reservable calendar to the client, so that the client displays the received reservable calendar on a display interface; Determining the item acquisition time of the item to be acquired according to the item acquisition information, and determining the item production start time according to the item acquisition time and the target appointment calendar sent by the client, wherein the target appointment calendar includes the reservable calendar with the selected information; The item production start time is sent to the production system, so that the production system produces the item to be acquired based on the received item production task at the item production start time.
7. A calendar determination device, characterized in that: include: A reservation calendar acquisition module, used to acquire a reservation calendar, wherein the reservation calendar is determined according to the item acquisition information of the item to be acquired corresponding to the item acquisition request when receiving the item acquisition request sent by the client; A module for determining a prohibited downloading period, used to obtain the item business information of the item to be obtained, and determine a prohibited downloading period matching the item business information, wherein the item business information includes warehouse business information and / or store business information; A reservation calendar adjustment module, used for determining a prohibited reservation calendar according to the prohibited downloading time period and the item acquisition information, and adjusting the reservation calendar according to the prohibited reservation calendar; The module for determining the prohibited downloading period includes: an appointment calendar adjustment strategy determination unit, configured to obtain a request receiving time of the item acquisition request, and determine an appointment calendar adjustment strategy that matches the item service information and the request receiving time, wherein the request receiving time is a time when the item acquisition request is received; The first download-forbidden time period determination unit is configured to determine a download-forbidden time period matching the item service information from the reservation calendar adjustment strategy.
8. A server, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the calendar determination method as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the calendar determination method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Order production method and device
CN110858332A
Order distribution method and device and electronic equipment
CN111967945A