Data processing method and device, electronic equipment and computer readable medium
By receiving data processing requests in the logistics distribution system, obtaining node identifiers and generating time fences, it solves the problems of low distribution efficiency and poor user experience caused by differences in four-level address ranges, achieves refined management of logistics distribution timeliness, and improves Improve delivery efficiency and user experience.
Patent Information
- Application Number
- CN202310266784.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-15
- Publication Date
- 2024-09-20
AI Technical Summary
In the time-sensitive configuration of the existing logistics and distribution system, differences in the four-level address ranges cause some areas to only support next-day delivery, resulting in low distribution efficiency and poor user experience.
By receiving data processing requests, the node identifier is obtained, the node fence is determined, and the timing calculation program is called to generate the timing fence. Based on the user's delivery demand information, the delivery timing is configured in a refined manner, covering a wide range of addresses for differentiated timing management.
The delivery efficiency is improved and the user experience is improved. By drawing the time fence based on the node fence, the refined time management of the fourth-level address is realized, and differentiated timeliness is configured to improve the delivery efficiency and user satisfaction.
Smart Images

Figure CN118674338A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a data processing method, device, electronic device and computer-readable medium. Background Art
[0002] The time efficiency configuration of the logistics distribution system is basically managed according to administrative regions such as provinces, cities, counties and towns. However, the current four-level address range is large. When some areas of some four-level addresses can support same-day delivery, while some addresses cannot support same-day delivery and can only support next-day delivery, according to the current logic, the delivery time efficiency can only be set according to the longest time efficiency supported by the region, that is, the entire region only supports next-day delivery, resulting in low delivery efficiency and poor user experience. Summary of the invention
[0003] In view of this, the embodiments of the present application provide a data processing method, device, electronic device and computer-readable medium, which can solve the problem that the existing delivery time can only be set according to the longest time supported by the region, resulting in low delivery efficiency and poor user experience.
[0004] To achieve the above objective, according to one aspect of an embodiment of the present application, a data processing method is provided, including:
[0005] Receive a data processing request, obtain a corresponding node identifier, and determine a corresponding node fence according to the node identifier;
[0006] Calling a time calculation program to generate a time fence based on the node fence;
[0007] Obtain user delivery demand information, determine the corresponding delivery time according to the time fence, and output it.
[0008] Optionally, generate a time fence, including:
[0009] Get the third-level address and fourth-level address corresponding to the node fence;
[0010] Determine the level 4 address delivery time and level 4 address range corresponding to the level 4 address;
[0011] Generate a time limit fence based on the delivery time limit of the third-level address, fourth-level address and the fourth-level address range.
[0012] Optionally, a time limit fence is generated based on the delivery time limits of the third-level address and the fourth-level address and the fourth-level address range, including:
[0013] Determine the third-level address range corresponding to the third-level address;
[0014] Generate a time fence based on the third-level address range, fourth-level address delivery time and fourth-level address range.
[0015] Optionally, a time limit fence is generated according to the third-level address range, the fourth-level address delivery time limit and the fourth-level address range, including:
[0016] Determine the time limit of the time fence according to the delivery time limit of the four-level address;
[0017] Determine the scope of the time-limit fence based on the third-level address scope and the fourth-level address scope;
[0018] Generate a time fence according to the time fence validity period and time fence range.
[0019] Optionally, the time limit fence time limit is determined based on the delivery time limit of the four-level address, including:
[0020] The time limit that is faster than the delivery time limit to the fourth-level address will be determined as the time fence time limit.
[0021] Optionally, according to the third-level address range and the fourth-level address range, a time-limit fence range is determined, including:
[0022] A range that covers the fourth-level address range and is larger than the third-level address range is determined as a time-effect fence range.
[0023] Optionally, generate a time fence, including:
[0024] Determine the level of the time fence to be generated, and in response to the level being a five-level time fence, generate a five-level time fence and obtain a historical time fence;
[0025] In response to the overlap between the fifth-level time-limit fence and the historical time-limit fence, determining the overlapped portion;
[0026] The overlapping parts are trimmed to generate a time fence based on the historical time fence and the five-level time fence.
[0027] Optionally, the corresponding delivery time limit is determined according to the time limit fence, including:
[0028] Obtain the fence identifier and node identifier corresponding to the time-limit fence, and determine the type of the node identifier;
[0029] According to the fence identification and type, the time efficiency calculation process type is determined, and based on the time efficiency calculation process type, the corresponding process is called to perform time efficiency calculation to obtain the corresponding delivery time efficiency.
[0030] In addition, the present application also provides a data processing device, including:
[0031] A receiving unit is configured to receive a data processing request, obtain a corresponding node identifier, and determine a corresponding node fence according to the node identifier;
[0032] A time-effect fence generation unit is configured to call a time-effect calculation program to generate a time-effect fence based on a node fence;
[0033] The delivery time determination unit is configured to obtain user delivery demand information, determine the corresponding delivery time according to the time fence, and output it.
[0034] Optionally, the time fence generation unit is further configured to:
[0035] Get the third-level address and fourth-level address corresponding to the node fence;
[0036] Determine the level 4 address delivery time and level 4 address range corresponding to the level 4 address;
[0037] Generate a time limit fence based on the delivery time limit of the third-level address, fourth-level address and the fourth-level address range.
[0038] Optionally, the time fence generation unit is further configured to:
[0039] Determine the third-level address range corresponding to the third-level address;
[0040] Generate a time fence based on the third-level address range, fourth-level address delivery time and fourth-level address range.
[0041] Optionally, the time fence generation unit is further configured to:
[0042] Determine the time limit of the time fence according to the delivery time limit of the four-level address;
[0043] Determine the scope of the time-limit fence based on the third-level address scope and the fourth-level address scope;
[0044] Generate a time fence according to the time fence validity period and time fence range.
[0045] Optionally, the time fence generation unit is further configured to:
[0046] The time limit that is faster than the delivery time limit to the fourth-level address will be determined as the time fence time limit.
[0047] Optionally, the time fence generation unit is further configured to:
[0048] A range that covers the fourth-level address range and is larger than the third-level address range is determined as a time-effect fence range.
[0049] Optionally, the time fence generation unit is further configured to:
[0050] Determine the level of the time fence to be generated, and in response to the level being a five-level time fence, generate a five-level time fence and obtain a historical time fence;
[0051] In response to the overlap between the fifth-level time-limit fence and the historical time-limit fence, determining the overlapped portion;
[0052] The overlapping parts are trimmed to generate a time fence based on the historical time fence and the five-level time fence.
[0053] Optionally, the delivery time determination unit is further configured to:
[0054] Obtain the fence identifier and node identifier corresponding to the time-limit fence, and determine the type of the node identifier;
[0055] According to the fence identification and type, the time efficiency calculation process type is determined, and based on the time efficiency calculation process type, the corresponding process is called to perform time efficiency calculation to obtain the corresponding delivery time efficiency.
[0056] In addition, the present application also provides a data processing electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the one or more processors implement the data processing method as described above.
[0057] In addition, the present application also provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the data processing method as described above is implemented.
[0058] One embodiment of the above invention has the following advantages or beneficial effects: the application receives a data processing request, obtains the corresponding node identifier, and determines the corresponding node fence according to the node identifier; calls the time calculation program to generate a time fence based on the node fence; obtains user delivery demand information, determines the corresponding delivery time according to the time fence and outputs it. On the basis of the node fence, a time fence is drawn, and the node fence and the time fence are combined to perform refined time management on addresses covering a large range, and by configuring differentiated time, the delivery efficiency is improved and the user experience is enhanced.
[0059] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The accompanying drawings are used to better understand the present application and do not constitute an improper limitation on the present application.
[0061] Figure 1 It is a schematic diagram of the main process of a data processing method provided according to an embodiment of the present application;
[0062] Figure 2 It is a schematic diagram of the main process of a data processing method provided according to an embodiment of the present application;
[0063] Figure 3 It is a schematic diagram of the system principle of a data processing method provided according to an embodiment of the present application;
[0064] Figure 4 It is a schematic diagram of time efficiency calculation of a data processing method provided according to an embodiment of the present application;
[0065] Figure 5 is a schematic diagram of main units of a data processing device according to an embodiment of the present application;
[0066] Figure 6 is an exemplary system architecture diagram to which the embodiments of the present application can be applied;
[0067] Figure 7 It is a structural diagram of a computer system of a terminal device or server suitable for implementing an embodiment of the present application. DETAILED DESCRIPTION
[0068] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description. The acquisition, storage, use, and processing of data in the technical solution of the present application are in compliance with the relevant provisions of national laws and regulations.
[0069] Figure 1 is a schematic diagram of the main flow of a data processing method provided according to an embodiment of the present application, such as Figure 1 As shown, the data processing method includes:
[0070] Step S101, receiving a data processing request, obtaining a corresponding node identifier, and determining a corresponding node fence according to the node identifier.
[0071] In this embodiment, the execution subject of the data processing method (for example, it can be a server) can receive the data processing request by wired connection or wireless connection. The node, for example, can be a logistics distribution center in the distribution scenario, or it can be a commodity wholesale supply place in the sales scenario. The embodiment of the present application does not specifically limit the node. Taking the distribution scenario as an example, the data processing request can, for example, be a request to calculate the delivery time from the distribution place (i.e., the distribution origin node) to the delivery destination (i.e., the distribution destination node). After receiving the data processing request, the execution subject can obtain the node identifier carried in the request. The node identifier can be used to indicate which node starts the distribution (i.e., determine the distribution origin node), and can also be used to indicate which node terminates the distribution (i.e., determine the distribution destination node). The execution subject can determine the node fence corresponding to the node identifier according to the node identifier. When the node corresponding to the node identifier is used to distribute the items within the node fence, the time limit can be guaranteed to be within the preset time limit range. Among them, the preset time limit range can be, for example, the next day or the same day, and the embodiment of the present application does not specifically limit the preset time limit range.
[0072] Step S102, calling a time calculation program to generate a time fence based on the node fence.
[0073] The execution entity can call the time calculation program to draw a time fence based on the node fence. Each node fence can correspond to one or more time fences. The embodiment of the present application does not specifically limit the number of time fences corresponding to each node fence.
[0074] Specifically, the generation of a time fence includes:
[0075] Determine the level of the time fence to be generated. In response to the level being a level five time fence, generate a level five time fence and obtain a historical time fence. The historical time fence may be, for example, a time fence that already exists in the system. In response to the overlap between the level five time fence and the historical time fence, determine the overlapping portion. Cut the overlapping portion to generate a time fence based on the historical time fence and the level five time fence.
[0076] Specifically, the five-level time-limit fences correspond to the five-level time-limit fences of provinces, cities, counties, towns and villages, and the five-level time-limit fences cannot be repeated. Since node fences may be repeated, the five-level address time limits may be repeated. In order to avoid a delivery destination coordinate from hitting multiple time-limit fences, a priority can be set when establishing a five-level time-limit fence. When the previously drawn five-level time-limit fence overlaps with the existing effective five-level time-limit fence range, when submitting and saving, the overlapping part with the existing five-level time-limit fence will be directly cut off, and then saved by the system.
[0077] Step S103, obtaining user delivery demand information, determining the corresponding delivery time limit according to the time limit fence, and outputting it.
[0078] User delivery demand information may include, for example, delivery address information, designated delivery time information, etc. The embodiment of the present application does not specifically limit the user delivery demand information.
[0079] Specifically, the corresponding delivery time is determined according to the time fence, including:
[0080] Obtain the fence identifier and node identifier corresponding to the time fence, and determine the type of the node identifier; specifically, the node identifier may be, for example, the number or name of each node in the time fence, and the embodiment of the present application does not specifically limit the content of the node identifier. Specifically, the execution subject may determine, based on the node identifier, whether the type of the corresponding node identifier is the logistics node where the warehouse is located or the default logistics node where the delivery address is located.
[0081] According to the fence identification and type, the time efficiency calculation process type is determined, and based on the time efficiency calculation process type, the corresponding process is called to perform time efficiency calculation to obtain the corresponding delivery time efficiency.
[0082] If the type of node identification corresponds to the logistics node where the warehouse is located, the time efficiency calculation program stored locally can be called according to the fence identification corresponding to the time efficiency fence to calculate the corresponding delivery time efficiency. If the type of node identification corresponds to the default logistics node where the delivery address is located, the time efficiency calculation program for the trunk and branch lines corresponding to the delivery address can be called according to the fence identification corresponding to the time efficiency fence to calculate the corresponding delivery time efficiency. The embodiments of the present application do not make specific limitations on the time efficiency calculation program stored locally, and do not make specific limitations on the time efficiency calculation program for the trunk and branch lines corresponding to the delivery address.
[0083] This embodiment receives a data processing request, obtains the corresponding node identifier, determines the corresponding node fence according to the node identifier; calls the time calculation program to generate a time fence based on the node fence; obtains the user's delivery demand information, determines the corresponding delivery time according to the time fence and outputs it. On the basis of the node fence, the time fence is drawn, and the node fence and the time fence are combined to perform refined time management on addresses covering a large range. By configuring differentiated time, the delivery efficiency is improved and the user experience is enhanced.
[0084] Figure 2 is a schematic diagram of the main flow of a data processing method provided according to an embodiment of the present application, such as Figure 2 As shown, the data processing method includes:
[0085] Step S201, receiving a data processing request, obtaining a corresponding node identifier, and determining a corresponding node fence according to the node identifier.
[0086] Step S202, calling the time calculation program to obtain the third-level address and the fourth-level address corresponding to the node fence.
[0087] The third-level address may be, for example, an address corresponding to a province, city, or county. The fourth-level address may be, for example, an address corresponding to a province, city, county, or town. The execution subject may obtain the third-level address and the fourth-level address corresponding to the node fence.
[0088] Step S203, determining the level 4 address delivery time limit and level 4 address range corresponding to the level 4 address.
[0089] After obtaining the fourth-level address, the executing entity can determine the fourth-level address range involved in the fourth-level address, as well as the fourth-level address delivery time corresponding to each location in the fourth-level address range, for example, whether each location in the fourth-level address range corresponds to next-day delivery or same-day delivery.
[0090] Step S204, generating a time limit fence according to the delivery time limits of the third-level address and the fourth-level address and the fourth-level address range.
[0091] The execution subject calls the generation program of the time-effect fence to draw the time-effect fence. First, it determines whether the drawn time-effect fence crosses the third-level address. If so, the drawn time-effect fence is not allowed to be submitted, and a prompt is displayed. Otherwise, it continues to determine whether the drawn time-effect fence exceeds the node distribution range. If it exceeds the node distribution range, the drawn time-effect fence is not allowed to be submitted, and a prompt is displayed. If it does not exceed the node distribution range, it continues to determine whether it covers multiple fourth-level addresses. If the time-effect fence covers multiple fourth-level addresses, it continues to disassemble and determine the fence and the corresponding fourth-level address time and range. Specifically, it is determined that: when the time is the same, it cannot be less than or equal to the fourth-level address range; the fence time cannot be slower than the fourth-level address time. If the above judgment conditions are met, the drawn time-effect fence is submitted and a submission success message is returned. If the time-effect fence does not cover multiple fourth-level addresses, it continues to determine whether the time type is faster than the fourth-level address time. If it is faster than the fourth-level address time, it is successfully submitted and a submission success message is returned. If the time type is not faster than the fourth-level address time, the drawn time fence is not allowed to be submitted, and a prompt is displayed. For example, the prompt words may be "The time fence you drew does not meet the preset conditions, please adjust it." The embodiment of the present application does not limit the specific content of the prompt words.
[0092] Specifically, according to the third-level address, the fourth-level address delivery time and the fourth-level address range, the time fence is generated, including: determining the third-level address range corresponding to the third-level address; generating the time fence according to the third-level address range, the fourth-level address delivery time and the fourth-level address range. The time fence needs to be larger than the third-level address range, covering the fourth-level address range, and the time fence must be faster than the fourth-level address delivery time, so as to determine the time fence.
[0093] Specifically, a time fence is generated according to the third-level address range, the fourth-level address delivery time limit and the fourth-level address range, including: determining the time fence time limit according to the fourth-level address delivery time limit; the time fence time limit must be faster than the fourth-level address delivery time limit. Determine the time fence range according to the third-level address range and the fourth-level address range; the time fence range must be larger than the third-level address range and cover the fourth-level address range. Generate a time fence according to the time fence time limit and the time fence range. A fence that is larger than the third-level address range, covers the fourth-level address range and has a time limit faster than the fourth-level address delivery time limit is determined as the time fence.
[0094] Specifically, the time limit fence time limit is determined according to the delivery time limit of the fourth-level address, including: determining the time limit that is faster than the delivery time limit of the fourth-level address as the time limit fence time limit.
[0095] Specifically, determining the time-limit fence range according to the third-level address range and the fourth-level address range includes: determining a range that covers the fourth-level address range and is larger than the third-level address range as the time-limit fence range.
[0096] The range that not only spans the third-level address range but also covers the fourth-level address range is determined as the time-limit fence range.
[0097] Step S205, obtaining the user's delivery demand information, determining the corresponding delivery time limit according to the time limit fence, and outputting it.
[0098] Based on the node fence, the embodiment of the present application draws a time fence by combining the third-level address, the fourth-level address and the fourth-level address delivery time. The node fence and the drawn time fence are combined to perform refined time management on addresses covering a large range. By configuring differentiated time limits, the delivery efficiency is improved and the user experience is enhanced.
[0099] Figure 3 Schematic diagram of the system principle of the data processing method provided by an embodiment of the present application. The data processing method of the embodiment of the present application can be applied to the scene of determining the delivery timeliness. Figure 3As shown, the execution subject of the data processing method of the embodiment of the present application can set a time fence based on a block platform, determine whether the time fence meets the preset basic rules, if not, return to the step of starting to set the time fence, if so, generate basic information of the time fence, and call the time scheme configuration system to complete the time configuration. When determining the delivery time, first call the product details page (i.e., the business details page) to obtain the corresponding time information, call the settlement page to obtain the time information based on the settlement, and can also track the acquisition of time information throughout the process, and determine whether the time fence is hit by combining the acquired time information with the detailed address coordinate information brought in, if not, calculate the time according to the four-level address, if so, obtain the time fence information, determine whether the fence ID (i.e., fence identifier) is obtained, if not, calculate the time according to the four-level address, if so, calculate the fence time based on the acquired fence ID, and return the calculated time, display the time information corresponding to the calculated time on the product details page, display the time information corresponding to the calculated time on the settlement page, track and display the time information throughout the process, and finally end the data processing process.
[0100] When drawing a time-limit fence: the time-limit scheme configuration system needs to synchronize the fourth-level address ID and the fourth-level address' fastest time-limit information to GIS, and GIS needs to display the fourth-level address time-limit on the map; it can be used to improve the fourth-level address time-limit, but cannot be used to downgrade the address time-limit.
[0101] Specific rule scenario description: The timeliness attribute type of the fence cannot be slower than the fastest timeliness attribute of the current fourth-level address.
[0102] The validity period of the fence is the same as that of the fourth-level address, but the fence range is larger than the coverage of the original fourth-level address. The part that exceeds the range and covers other addresses needs to be determined whether it complies with the demarcation rules. If it does, submission is allowed to succeed; if it does not, submission is not allowed. The specific prompt words depend on whether it does not comply with the scenario rules.
[0103] If the time limit of the time-limit fence is the same as that of the fourth-level address B (for example, both are delivered the next day), but the range of the time-limit fence within address B is smaller than the coverage of the fourth-level address B, submission of the designated time-limit fence is not allowed.
[0104] If the scope of the designated time-limit fence is within address B or the same as that of address B, but the time limit of the designated time-limit fence (i.e., the time limit is the same day) is faster than that of address B (i.e., the time limit is the next day). Submission of the designated time-limit fence is allowed. For example, if the time limit of the designated fence is one level higher than that of the fourth-level address, and the scope of the time-limit fence is the same as or smaller than the fourth-level address, submission is allowed.
[0105] When drawing a time-limit fence, the coverage of the time-limit fence cannot exceed the coverage of the node delivery address. If the coverage of the time-limit fence exceeds the coverage of the node delivery address, the set time-limit fence is not allowed to be submitted. The time limit of the fence is one level or more higher than the time limit of the fourth-level address. When the range is larger than the coverage of the fourth-level address, it is necessary to verify the range covering other fourth-level addresses.
[0106] The five-level time-limit fences cannot be repeated: Node fences may be repeated, resulting in the five-level address time limit being repeated. In order to avoid a coordinate from hitting multiple time-limit fences, a five-level time-limit fence setting priority is established. When the previously drawn fence overlaps with the existing effective fence range, when submitting and saving, the overlapping part with the existing fence needs to be directly cut off, and then the system is saved. When drawing a time-limit fence, the time-limit fence cannot cross the address range of level three or above. This makes the determination of the time-limit fence more accurate.
[0107] When the address and node change occurs, the execution subject shall perform the following time adjustment method for the time fence:
[0108] When an administrative level change is detected, if the administrative division of the third or fourth level address has changed, the timeliness scheme configuration system and the route need to be reconfigured. The timeliness scheme configuration system synchronizes the timeliness information to the GIS side, which is compared and confirmed by the GIS side. If there is no change in the comparison (the timeliness and coverage range meet the above rules), the fence continues to be effective; if there is a change (the timeliness or coverage range does not meet the above rules), the fence will be invalid, and the timeliness scheme configuration system will notify the regional planner or maintainer to readjust the submission confirmation to take effect; when a node adjustment is detected, for example, when building or dismantling a station, if the node fence range adjustment does not cause the timeliness fence to change, the system does not need to adjust. If it causes the fence timeliness change, the fence will be invalid, and the timeliness scheme configuration system will notify the regional planner or maintainer to readjust the submission confirmation to take effect. By updating the timeliness fence, the delivery timeliness can be determined more accurately, improving the user experience.
[0109] like Figure 4As shown, it is a schematic diagram of the time calculation of the data processing method provided according to an embodiment of the present application. The time scheme configuration system in the embodiment of the present application is used to solve the problems caused by the callback region, and express the asynchronous operation with synchronous operation programming, avoiding nested callback functions. The time scheme configuration system is actually an asynchronous programming solution. For example, the execution subject can call the Geographic Information System (Geographic Information System or Geo-Information system, GIS) to draw a time fence, and call the time scheme establishment system to complete the time configuration. When determining the delivery time limit, first call the product details page (i.e., the business details page) to obtain the corresponding time limit information, call the settlement page to obtain the time limit information based on the settlement, and you can also call the Order Fulfillment Center (OFC) to track and obtain the time limit information throughout the process. By combining the obtained time limit information with the detailed address coordinate information brought in, determine whether the time limit fence is hit. If not, calculate the time limit according to the four-level address. If so, obtain the time limit fence information, determine whether the fence ID is obtained, if not, calculate the time limit according to the four-level address, if so, calculate the fence time limit based on the obtained fence ID, and return the calculated time limit. Display the time limit information corresponding to the calculated time limit on the product details page, display the time limit information corresponding to the calculated time limit on the settlement page, track and display the time limit information throughout the process, and finally end the data processing process.
[0110] Specifically, the time limit configuration method is as follows: in the support area of the time limit scheme configuration system, a local time limit scheme synchronization mechanism is established through provinces, cities, counties, towns, and time limit fences. The time limit scheme configuration system and the geographic information system (Geographic Information System or Geo-Information system, GIS) establish a time limit mechanism for synchronous fence time limit adjustment; give priority to judging the virtual logistics node mode, if the storage warehouse + fourth-level address hits the virtual logistics node, it is directly calculated according to the single warehouse logic, if it does not hit, the time limit is calculated according to the fourth-level address. When the business details, settlement, and OFC call the time limit scheme configuration system for time limit calculation, the time limit scheme configuration system obtains the fence information from the geographic information system GIS according to the input coordinates; if the time limit fence is not returned, it is directly downgraded to the fourth-level address calculation. After obtaining the time fence: you can search the local network cache according to the logistics node + fence ID where the storage warehouse is located. If the corresponding data exists, calculate it according to the local time limit; you can also search the local network cache according to the default logistics node + fence ID where the delivery address is located. If the corresponding data is found, calculate it according to the trunk and branch line time limit. If the corresponding data is not found, downgrade to the fourth-level address rule for time limit calculation. By configuring differentiated time limits, the distribution efficiency is improved and the user experience is enhanced. Among them, both local time limits and trunk and branch line time limits can be customized by the user, and the embodiments of this application will not be elaborated in detail.
[0111] Figure 5 Schematic diagram of the main units of the data processing device according to the embodiment of the present application. Figure 5 As shown, the data processing device 500 includes a receiving unit 501, a time fence generating unit 502 and a delivery time determination unit 503.
[0112] The receiving unit 501 is configured to receive a data processing request, obtain a corresponding node identifier, and determine a corresponding node fence according to the node identifier.
[0113] The time-effect fence generating unit 502 is configured to call a time-effect calculation program to generate a time-effect fence based on the node fence.
[0114] The delivery time determination unit 503 is configured to obtain user delivery demand information, determine the corresponding delivery time according to the time fence, and output it.
[0115] In some embodiments, the time fence generation unit 502 is further configured to: obtain the third-level address and the fourth-level address corresponding to the node fence; determine the fourth-level address delivery time and the fourth-level address range corresponding to the fourth-level address; generate a time fence based on the third-level address, the fourth-level address delivery time and the fourth-level address range.
[0116] In some embodiments, the time fence generation unit 502 is further configured to: determine the third-level address range corresponding to the third-level address; and generate a time fence according to the third-level address range, the fourth-level address delivery time limit and the fourth-level address range.
[0117] In some embodiments, the time fence generation unit 502 is further configured to: determine the time fence validity period based on the fourth-level address delivery time period; determine the time fence range based on the third-level address range and the fourth-level address range; generate the time fence based on the time fence validity period and the time fence range.
[0118] In some embodiments, the time fence generation unit 502 is further configured to determine a time limit that is faster than the fourth-level address delivery time limit as the time fence time limit.
[0119] In some embodiments, the time-limit fence generation unit 502 is further configured to: determine a range that covers the fourth-level address range and is larger than the third-level address range as the time-limit fence range.
[0120] In some embodiments, the time fence generation unit 502 is further configured to: determine the level of the time fence to be generated, and in response to the level being a level five time fence, generate a level five time fence and obtain a historical time fence; in response to the overlap between the level five time fence and the historical time fence, determine the overlapping part; and cut the overlapping part to generate a time fence based on the historical time fence and the level five time fence.
[0121] In some embodiments, the delivery time determination unit 503 is further configured to: obtain the fence identifier and node identifier corresponding to the time fence, and determine the type of the node identifier; determine the time calculation process type based on the fence identifier and type, and call the corresponding process to perform time calculation based on the time calculation process type to obtain the corresponding delivery time.
[0122] It should be noted that the data processing method and the data processing device of the present application have a corresponding relationship in terms of specific implementation contents, so the repeated contents will not be described again.
[0123] Figure 6 An exemplary system architecture 600 to which the data processing method or data processing device according to the embodiment of the present application can be applied is shown.
[0124] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0125] Users can use terminal devices 601, 602, and 603 to interact with server 605 through network 604 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 601, 602, and 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).
[0126] The terminal devices 601 , 602 , and 603 may be various electronic devices having a data processing screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0127] Server 605 can be a server that provides various services, such as a background management server that provides support for data processing requests submitted by users using terminal devices 601, 602, and 603 (only as an example). The background management server can receive data processing requests, obtain corresponding node identifiers, and determine corresponding node fences based on node identifiers; call a time calculation program to generate a time fence based on the node fence; obtain user delivery demand information, determine the corresponding delivery time based on the time fence, and output it. On the basis of the node fence, a time fence is drawn, and the node fence and the time fence are combined to perform refined time management for addresses covering a large range. By configuring differentiated time, the delivery efficiency is improved and the user experience is enhanced.
[0128] It should be noted that the data processing method provided in the embodiment of the present application is generally executed by the server 605 , and accordingly, the data processing device is generally set in the server 605 .
[0129] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0130] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of a terminal device suitable for implementing an embodiment of the present application. Figure 7 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0131] like Figure 7As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the computer system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0132] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.
[0133] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present application are executed.
[0134] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. Computer-readable storage media may include, for example, but are not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0135] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0136] The units involved in the embodiments described in the present application may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a receiving unit, a time fence generation unit, and a delivery time determination unit. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0137] As another aspect, the present application also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device receives a data processing request, obtains a corresponding node identifier, and determines a corresponding node fence according to the node identifier; calls a time efficiency calculation program to generate a time efficiency fence based on the node fence; obtains user delivery demand information, determines the corresponding delivery time efficiency according to the time efficiency fence, and outputs it.
[0138] According to the technical solution of the embodiment of the present application, by drawing a time fence based on the node fence, combining the node fence and the time fence to perform refined time management on addresses covering a large range, and by configuring differentiated time limits, the delivery efficiency is improved and the user experience is enhanced.
[0139] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A data processing method, characterized in that: include: receiving a data processing request, obtaining a corresponding node identifier, and determining a corresponding node fence according to the node identifier; Calling a time calculation program to generate a time fence based on the node fence; The user's delivery demand information is obtained, and the corresponding delivery time limit is determined according to the time limit fence and outputted.
2. The method according to claim 1, characterized in that The generation time fence includes: Obtain the third-level address and the fourth-level address corresponding to the node fence; Determine the level 4 address delivery time and level 4 address range corresponding to the level 4 address; A time limit fence is generated according to the third-level address, the fourth-level address delivery time limit and the fourth-level address range.
3. The method according to claim 2, characterized in that The generating of the time limit fence according to the third-level address, the fourth-level address delivery time limit and the fourth-level address range includes: Determine a third-level address range corresponding to the third-level address; A time limit fence is generated according to the third-level address range, the fourth-level address delivery time limit and the fourth-level address range.
4. The method according to claim 3, characterized in that: The generating of a time limit fence according to the third-level address range, the fourth-level address delivery time limit and the fourth-level address range includes: According to the delivery time limit of the four-level address, the time limit fence time limit is determined; Determine a time-limit fence range according to the third-level address range and the fourth-level address range; A time limit fence is generated according to the time limit fence validity period and the time limit fence range.
5. The method according to claim 4, characterized in that Determining the time limit of the time limit fence according to the delivery time limit of the four-level address includes: The time limit that is faster than the delivery time limit to the four-level address will be determined as the time fence time limit.
6. The method according to claim 4, characterized in that The determining of the time-limit fence range according to the third-level address range and the fourth-level address range includes: A range covering the fourth-level address range and larger than the third-level address range is determined as a time-limit fence range.
7. The method according to claim 1, characterized in that The generation time fence includes: Determine the level of the time fence to be generated, and in response to the level being a level five time fence, generate a level five time fence and obtain a historical time fence; In response to the fifth-level time-limit fence and the historical time-limit fence overlapping, determining the overlapping portion; The overlapping portion is trimmed to generate a time limit fence based on the historical time limit fence and the five-level time limit fence.
8. The method according to claim 1, characterized in that The determining of the corresponding delivery time limit according to the time limit fence includes: Obtain the fence identifier and node identifier corresponding to the time-limit fence, and determine the type of the node identifier; According to the fence identifier and the type, the time efficiency calculation process type is determined, and based on the time efficiency calculation process type, a corresponding process is called to perform time efficiency calculation to obtain a corresponding delivery time efficiency.
9. A data processing device, characterized in that: include: A receiving unit is configured to receive a data processing request, obtain a corresponding node identifier, and determine a corresponding node fence according to the node identifier; A time-limit fence generation unit is configured to call a time-limit calculation program to generate a time-limit fence based on the node fence; The delivery time determination unit is configured to obtain user delivery demand information, determine the corresponding delivery time according to the time fence, and output it.
10. The device according to claim 9, characterized in that The time fence generation unit is further configured to: Obtain the third-level address and the fourth-level address corresponding to the node fence; Determine the level 4 address delivery time and level 4 address range corresponding to the level 4 address; A time limit fence is generated according to the third-level address, the fourth-level address delivery time limit and the fourth-level address range.
11. A data processing electronic device, characterized in that: include: one or more processors; a storage device 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 method according to any one of claims 1 to 8.
12. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
