Data maintenance method and device, computer storage medium and electronic equipment
By updating the expiration time of effective historical billing data in response to new billing data in the franchise express delivery scenario, the problem of time-consuming data maintenance and complex billing data management is solved, and efficient and accurate billing data maintenance is achieved. Reduces the risk of capital loss.
Patent Information
- Application Number
- CN202310328939.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-01
AI Technical Summary
In the franchise express delivery scenario, the existing technology makes the data maintenance process time-consuming and labor-intensive, and the management of the validity and expiration time of the billing data is complicated, which can easily lead to data gaps and the risk of capital loss.
By responding to the new billing data and effective time of the received logistics service item corresponding to the specified regional level, detect whether there is valid historical billing data, update its default expiration time, and update the valid historical billing data at the effective time. This enables automated billing data maintenance, avoids manual entry of expiration times, and simplifies maintenance steps.
It improves the efficiency of billing data maintenance, avoids the problem of increased data maintenance time, reduces manual operation steps, ensures the accuracy and reliability of billing data, avoids data gaps, and improves work efficiency and financial security. .
Smart Images

Figure CN118735376A_ABST
Abstract
Description
Background Art
[0002] In the franchise express delivery scenario, the express delivery company, as a platform, will recruit franchisees from the public, and the franchisees will be responsible for the collection and delivery services in the specified area. In this scenario, the express delivery company generally does not directly have financial transactions with the sender or recipient, but with the logistics service provider. Therefore, the express delivery company needs to maintain the billing data of various billing elements of the logistics service provider.
[0003] At present, specific data maintenance is generally performed for specific logistics service providers. However, the above solution will make the data maintenance process time-consuming and labor-intensive.
[0004] In view of this, there is an urgent need in the art to develop a new data maintenance method and device.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure. Summary of the invention
[0006] The purpose of the present disclosure is to provide a data maintenance method, a data maintenance device, a computer storage medium and an electronic device, thereby at least to a certain extent overcoming the technical problem that the data maintenance process is time-consuming and labor-intensive due to the limitations of related technologies.
[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0008] According to a first aspect of the present disclosure, a data maintenance method is provided, including: in response to receiving newly added billing data corresponding to a specified regional level for a logistics service item and the effective time corresponding to the newly added billing data, detecting whether there is valid historical billing data corresponding to the specified regional level for the logistics service item; different regional levels correspond to different regional ranges; if the valid historical billing data exists, using the effective time of the newly added billing data to update the default expiration time of the valid historical billing data, and when the effective time is reached, using the newly added billing data to update the valid historical billing data; wherein the default expiration time of the valid historical billing data is after the effective time of the newly added billing data.
[0009] In an exemplary embodiment of the present disclosure, after the new billing data is used to update the valid historical billing data, the method further includes: setting the expiration time of the new billing data to the default expiration time.
[0010] In an exemplary embodiment of the present disclosure, the method further includes: if the valid historical billing data does not exist, controlling the newly added billing data to take effect when the effective time is reached, and setting the expiration time of the newly added billing data to the default expiration time.
[0011] In an exemplary embodiment of the present disclosure, the logistics service item includes a collection item, and a logistics service provider is set in the regional level. The logistics service provider includes a collection service provider, and the collection service provider is used to collect parcels located in a first designated area. The method also includes: in response to receiving a parcel collection message, determining a transportation strategy for the parcel according to parcel information of the parcel; the parcel information includes a delivery requirement; determining a billing element for the parcel according to the transportation strategy and the delivery requirement; obtaining first billing data corresponding to the billing element, and determining a collection fee that the collection service provider should pay for the collection item according to the first billing data.
[0012] In an exemplary embodiment of the present disclosure, the parcel collection service provider belongs to multiple regional levels, and different regional levels correspond to different priorities; the obtaining of the first billing data corresponding to the billing element includes: obtaining the billing data for the billing element of each regional level in turn according to a preset priority order; when the billing data for the billing element of any regional level is obtained, the billing data is determined as the first billing data corresponding to the billing element.
[0013] In an exemplary embodiment of the present disclosure, the logistics service item includes a delivery item, a logistics service provider is set in the regional level, the logistics service provider includes a delivery service provider, and the delivery service provider is used to deliver parcels located in a second designated area. The method also includes: in response to receiving a parcel receipt message, obtaining second billing data corresponding to the delivery item; determining the delivery fee payable to the delivery service provider for the delivery item based on the second billing data.
[0014] In an exemplary embodiment of the present disclosure, the delivery service provider belongs to multiple regional levels, and different regional levels correspond to different priorities; the obtaining of the second billing data corresponding to the delivery item includes: obtaining the billing data for the delivery item of each of the regional levels in turn according to a preset priority order; when the billing data of any regional level is obtained, the billing data is determined as the second billing data corresponding to the delivery item.
[0015] According to a second aspect of the present disclosure, a data maintenance device is provided, including: a detection module, for detecting whether there is valid historical billing data corresponding to the specified regional level for the logistics service item in response to receiving new billing data corresponding to the specified regional level and the effective time corresponding to the new billing data; different regional levels correspond to different regional ranges; an update module, for updating the default expiration time of the valid historical billing data with the effective time of the new billing data if the valid historical billing data exists, and updating the valid historical billing data with the new billing data when the effective time is reached; wherein the default expiration time of the valid historical billing data is after the effective time of the new billing data.
[0016] According to a third aspect of the present disclosure, there is provided a computer storage medium on which a computer program is stored. When the computer program is executed by a processor, the data maintenance method described in the first aspect is implemented.
[0017] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the data maintenance method described in the first aspect above by executing the executable instructions.
[0018] It can be seen from the above technical solutions that the data maintenance method, data maintenance device, computer storage medium and electronic device in the exemplary embodiments of the present disclosure have at least the following advantages and positive effects:
[0019] In the technical solutions provided by some embodiments of the present disclosure, the present disclosure detects whether there is valid historical billing data corresponding to the specified regional level for the logistics service item in response to receiving the newly added billing data corresponding to the specified regional level and the effective time corresponding to the newly added billing data. When there is valid historical billing data, the effective time of the newly added billing data is used to update the default expiration time of the valid historical billing data, and the new billing data is used to update the valid historical billing data when the effective time is reached. Thus, on the one hand, the present disclosure can perform billing data maintenance in units of regional levels, avoiding the problem of increased maintenance time caused by billing data maintenance in units of logistics service providers in related technologies, and improving the billing data maintenance efficiency. Further, the present disclosure can automatically update the expiration time of the valid historical billing data according to the effective time of the newly added billing data, thereby eliminating the steps of manual entry and change of the expiration time in related technologies, thereby streamlining the billing data maintenance steps, shortening the billing data maintenance time, and improving the work efficiency of billing data maintenance personnel. On the other hand, traces of the valid historical billing data can be retained to avoid problems such as the inability to perform subsequent data review and the occurrence of billing data gaps caused by the direct overwriting of the above-mentioned valid historical billing data in related technologies, thereby ensuring that subsequent auditing processes have a basis to rely on.
[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0022] Figure 1 A schematic diagram showing the processing flow of franchise express delivery;
[0023] Figure 2 A schematic diagram showing a flow chart of a data maintenance method in an embodiment of the present disclosure;
[0024] Figure 3 A structural diagram showing the affiliation between the above-mentioned various regional levels in an embodiment of the present disclosure;
[0025] Figure 4 The overall flow chart of the data maintenance method in the embodiment of the present disclosure is shown;
[0026] Figure 5 A schematic diagram showing the franchise express billing process in an embodiment of the present disclosure;
[0027] Figure 6 A schematic diagram showing the overall business operation process of franchise express delivery in an embodiment of the present disclosure;
[0028] Figure 7 A schematic diagram showing the structure of a data maintenance device in an exemplary embodiment of the present disclosure is shown;
[0029] Figure 8 A schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0030] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0031] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.
[0032] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and their repeated descriptions will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities.
[0033] Franchise express delivery adopts a deep outsourcing model. From the receipt to the delivery of a single express delivery, there is no equity relationship between the three parts of the collection service provider, the headquarters trunk line, and the delivery service provider. Instead, they are organized through the offline logistics network and back-end system. Franchise express delivery is actually an open and huge socialized "offline network".
[0034] In the franchise express delivery scenario, express delivery companies generally do not directly conduct financial transactions with senders or recipients, but rather with logistics service providers. Figure 1 , Figure 1 A schematic diagram showing the processing flow of franchise express delivery:
[0035] After the sender sends the package, the courier company charges the collection service provider for related fees such as courier transit and terminal delivery; after the recipient signs for the package, the courier company pays the delivery fee to the delivery service provider.
[0036] During this process, the express delivery company needs to maintain a data record book for each fee (the data record book is used to record the billing data corresponding to each billing element). At present, specific data maintenance is generally carried out for specific logistics service providers, and the effective time and expiration time of the billing data will be added during data maintenance.
[0037] However, the above solution has the following defects:
[0038] First, the billing data is maintained for specific logistics service providers. However, generally, the billing data is the same for the same region. Therefore, this method increases the maintenance time. When some logistics service providers do not set up billing data specifically, their billing data cannot be quickly determined.
[0039] Second, billing data has an effective time and an expiration time. If new billing data is not added after the expiration time, the data will be expired. If business occurs during this period, there will be a gap in billing data, resulting in billing failure, which makes the express company bear the risk of financial loss.
[0040] In the embodiments of the present disclosure, a data maintenance method is first provided, which at least to some extent overcomes the defects of the data maintenance process in the related art that is time-consuming and labor-intensive.
[0041] Figure 2 A flow chart of a data maintenance method in an embodiment of the present disclosure is shown. The execution subject of the data maintenance method may be a server that maintains logistics billing data.
[0042] refer to Figure 2 According to an embodiment of the present disclosure, a data maintenance method comprises the following steps:
[0043] Step S210, in response to receiving the newly added billing data corresponding to the specified regional level of the logistics service item and the effective time corresponding to the newly added billing data, detecting whether there is valid historical billing data corresponding to the specified regional level for the logistics service item;
[0044] Step S220: If there is valid historical billing data, the default expiration time of the valid historical billing data is updated with the effective time of the newly added billing data, and the valid historical billing data is updated with the newly added billing data when the effective time is reached.
[0045] exist Figure 2 In the technical solution provided by the illustrated embodiment, on the one hand, the present disclosure detects whether there is valid historical billing data corresponding to the specified regional level for the logistics service item in response to receiving the newly added billing data corresponding to the specified regional level and the effective time corresponding to the newly added billing data. When there is valid historical billing data, the effective time of the newly added billing data is used to update the default expiration time of the valid historical billing data, and the new billing data is used to update the valid historical billing data when the effective time is reached. Thus, on the one hand, the present disclosure can perform billing data maintenance in units of regional levels, avoiding the problem of increased maintenance time caused by billing data maintenance in units of logistics service providers in related technologies, and improving the billing data maintenance efficiency. Further, the present disclosure can automatically update the expiration time of the valid historical billing data according to the effective time of the newly added billing data, thereby eliminating the steps of manual entry and change of the expiration time in related technologies, thereby streamlining the billing data maintenance steps, shortening the billing data maintenance time, and improving the work efficiency of billing data maintenance personnel. On the other hand, traces of the valid historical billing data can be retained to avoid problems such as the inability to perform subsequent data review and the occurrence of billing data gaps caused by the direct overwriting of the above-mentioned valid historical billing data in related technologies, thereby ensuring that subsequent auditing processes have a basis to rely on.
[0046] The following Figure 2 The specific implementation process of each step is described in detail:
[0047] In step S210, in response to receiving the new billing data corresponding to the specified regional level of the logistics service item and the effective time corresponding to the new billing data, it is detected whether there is valid historical billing data for the logistics service item corresponding to the specified regional level.
[0048] In this step, the above-mentioned logistics service items may include collection items, delivery items, etc., which may be any service items involved in the logistics distribution process and may be set according to actual conditions. This disclosure does not make any special limitations on this.
[0049] The above-mentioned designated regional level is a pre-divided regional level that includes different regional ranges. The number of logistics service providers included in different regional ranges may be the same or different. Exemplarily, the above-mentioned regional level can be divided into headquarters, regions, war zones, city clusters, cities, and logistics service providers according to the granularity from large to small. Among them, the above-mentioned regional levels are mutually inclusive. For example, each headquarters can include multiple regions, each region can include at least one war zone, each war zone can include at least one city cluster, each city cluster can include at least one city, and each city can include at least one logistics service provider.
[0050] refer to Figure 3 , Figure 3 A structural diagram showing the affiliation between the above-mentioned various regional levels in the embodiment of the present disclosure is shown as follows: Figure 3 As shown:
[0051] The headquarters may include at least one region (such as Region 1, Region 2, ..., Region n), each region may include at least one war zone (Region 1 may include War Zone 1, Region 2 may include War Zone 2, War Zone 3, War Zone 4, ..., Region n may include War Zone n), each war zone may include at least one city cluster (such as War Zone 1 may include City Cluster 1, War Zone 2 may include City Clusters 1-4, and War Zone n may include City Cluster n), each city cluster may include at least one city (such as City Cluster 1 may include City 1, City Cluster 2 may include City 2-3, ..., City Cluster n may include City n), each city may include at least one logistics service provider (such as City 1 may include Logistics Service Provider 1, City 2 may include Logistics Service Providers 2-3, ..., City n may include Logistics Service Provider n).
[0052] Exemplarily, the billing data maintenance personnel can submit the newly added billing data of the logistics service item corresponding to the specified regional level on the server that maintains the billing data, and can add an effective time for the newly added billing data. Then, after the billing data maintenance personnel clicks the submit button, the server can receive the above-mentioned newly added billing data and its effective time. The newly added billing data is the billing data newly entered by the above-mentioned billing data maintenance personnel, and the effective time is the time when the newly added billing data can be used for billing. Exemplarily, the new billing data for the specified regional level can be: 5 yuan, and its effective time can be May 1, 2023.
[0053] It should be noted that in the prior art, when maintaining billing data, the billing data maintenance personnel also need to enter a billing data expiration time, but in the present disclosure, there is no need to specifically enter the above billing data expiration time. In the present disclosure, the default expiration time of each newly entered billing data is +∞. By setting the expiration time of each newly entered billing data to, it is possible to avoid the problem in the related art that after the historical billing data expires, the fee settlement is performed during the data gap before the new billing data is entered, resulting in the failure of settlement, which causes the express company to bear the risk of financial loss.
[0054] After receiving the above-mentioned new billing data, the server can detect whether there is valid historical billing data corresponding to the above-mentioned logistics service item at the specified regional level, that is, whether there is non-expired historical billing data for the above-mentioned logistics service item at the above-mentioned specified regional level.
[0055] Specifically, a billing data book may be called, and the billing data book is used to store the billing data information of each logistics service item at each regional level and the expiration time corresponding to the billing data information. If the billing data corresponding to the specified regional level of the above-mentioned logistics service item is read from the billing data book, and the expiration time of the billing data is after the effective time of the above-mentioned newly added billing data, it can be determined that there is valid historical billing data corresponding to the specified regional level of the above-mentioned logistics service item. Otherwise (that is, the billing data corresponding to the specified regional level of the above-mentioned logistics service item is not read from the above-mentioned billing data book, or the expiration time corresponding to the read billing data is before the effective time of the above-mentioned newly added billing data), it can be determined that there is no valid historical billing data corresponding to the above-mentioned specified logistics level for the above-mentioned logistics service item.
[0056] For example, if it is detected that the above-mentioned logistics service item corresponds to the above-mentioned specified regional level and there is a historical billing data of 2 yuan, and the expiration time of the historical billing data is +∞, it can be determined that the historical billing data has not yet reached the expiration time, and thus, it can be determined that there is valid historical billing data corresponding to the specified regional level for the logistics service item.
[0057] If the historical billing data corresponding to the above-mentioned logistics service item at the above-mentioned specified area level is not detected, or if a historical billing data is detected, but the expiration time of the historical billing data is September 20, 2022, it can be determined that the expiration time of the historical billing data is before the effective time of the above-mentioned new billing data, and thus, it can be determined that the historical billing data is not the above-mentioned valid historical billing data.
[0058] If there is no valid historical billing data corresponding to the specified regional level for the above-mentioned logistics service item, the above-mentioned newly added billing data can be directly controlled to take effect when the above-mentioned effective time is reached, and then the expiration time of the newly added billing data can be set to +∞.
[0059] If the above-mentioned valid historical billing data exists, step S220 can be entered. If there is valid historical billing data, the default expiration time of the valid historical billing data is updated using the effective time of the newly added billing data, and the valid historical billing data is updated using the newly added billing data when the effective time is reached.
[0060] In this step, the effective time of the above-mentioned newly added billing data can be used to update the expiration time of the above-mentioned valid historical billing data. Therefore, on the one hand, on the basis of automatically setting the expiration time of the newly entered billing data to +∞, the present disclosure can also realize automatic updating of the expiration time of the valid historical billing data according to the effective time of the newly added billing data, thereby eliminating the steps of manual entry and change of the expiration time in the related technology, thereby streamlining the billing data maintenance steps, shortening the billing data maintenance time, and improving the work efficiency of the billing data maintenance personnel. On the other hand, the traces of the valid historical billing data can be retained to avoid the problems of subsequent inability to perform data review caused by directly covering the above-mentioned valid historical billing data in the related technology, and ensure that the subsequent audit process has a basis to rely on.
[0061] In addition, when the above-mentioned effective time is reached, the above-mentioned new billing data can be used to update the above-mentioned valid historical billing data, and the expiration time of the above-mentioned new billing data can be set to the above-mentioned default expiration time.
[0062] refer to Figure 4 , Figure 4 The overall flow chart of the data maintenance method in the embodiment of the present disclosure is shown, including steps S401 to S409:
[0063] In step S401, start;
[0064] In step S402, a logistics service item is selected;
[0065] In step S403, a regional level is selected;
[0066] In step S404, newly added billing data and its effective time are entered;
[0067] In step S405, submit;
[0068] In step S406, historical data is obtained from the data log book and data verification is performed;
[0069] In step S407, it is checked whether there is duplicate billing data;
[0070] If there is duplicate billing data, then proceed to step S408, update the valid historical billing data when the effective time is reached and set the expiration time of the valid historical billing data as the effective time of the newly added billing data;
[0071] If there is no duplicate billing data, the process proceeds to step S409, where the newly added billing data is controlled to take effect when the effective time is reached, and the expiration time of the newly added billing data is set to the default value (+∞), and stored in the data log book.
[0072] In addition, in an exemplary embodiment of the present disclosure, the above-mentioned logistics service provider may include a collection service provider and a delivery service provider. The collection service provider is used to collect parcels located in the first designated area. Taking the above-mentioned logistics service item as a collection item as an example, if the server receives a parcel collection message triggered by the collection service provider, at this time, the transportation strategy of the parcel can be determined according to the parcel information of the parcel, and the parcel information includes the delivery requirements. Then, the billing elements (i.e., billing items) for the parcel are determined according to the transportation strategy and the delivery requirements. Furthermore, the first billing data corresponding to the billing elements can be obtained, and the collection fee that the collection service provider should pay for the collection item can be determined according to the first billing data.
[0073] The package information may include the origin information, destination information, and delivery requirements of the package, which can be set according to the actual situation, and the present disclosure does not specifically limit this. Based on the origin information and destination information, the transportation strategy of the package can be determined. The transportation strategy can be a route plan about when and where the package will be transferred. Different transfer methods may involve different billing elements. The delivery requirements may be requirements on the delivery time or delivery method, such as: delivery within an hour or door-to-door delivery, etc. Through the delivery requirements, it can be determined whether value-added logistics services are involved, and thus different delivery requirements will also involve different billing elements.
[0074] It should be noted that after the charging elements are determined, the first charging data corresponding to the above charging elements can be obtained in the following manner:
[0075] In view of the fact that the above-mentioned collection service providers belong to different regional levels, the present disclosure can pre-set different priority orders for different regional levels. Specifically, the priority can be set for each regional level in order from small to large regional granularity. For example, the priority of the collection service provider can be set to 1, the priority corresponding to the city can be set to 2, the priority corresponding to the city cluster can be set to 3, the priority corresponding to the war zone can be set to 4, the priority corresponding to the region can be set to 5, and the priority corresponding to the headquarters can be set to 6. Thus, it is possible to first obtain whether there is billing data for the collection service provider with a priority of 1. If there is billing data, the billing data can be directly determined as the first billing data corresponding to the above-mentioned billing element, without the need to obtain the billing data corresponding to each subsequent regional level.
[0076] If the billing data corresponding to the collection service provider is not obtained, it is possible to determine whether there is billing data in the city (priority 2) to which the collection service provider belongs. If there is billing data, the billing data can be determined as the first billing data corresponding to the above-mentioned billing elements.
[0077] If the billing data corresponding to the city is not obtained, it is possible to determine whether there is billing data for the city group (priority 3) to which the collection service provider belongs. If there is billing data, the billing data can be determined as the first billing data corresponding to the above-mentioned billing elements.
[0078] If the billing data corresponding to the urban agglomeration is not obtained, it is possible to determine whether there is billing data for the war zone (priority 4) to which the collection service provider belongs. If there is billing data, the billing data can be determined as the first billing data corresponding to the above-mentioned billing elements.
[0079] If the billing data corresponding to the war zone is not obtained, it is possible to determine whether there is billing data in the region (priority level 5) to which the collection service provider belongs. If there is billing data, the billing data can be determined as the first billing data corresponding to the above-mentioned billing elements.
[0080] If the billing data corresponding to the region is not obtained, it is possible to determine whether there is billing data at the headquarters (priority 6) to which the collection service provider belongs. If there is billing data, the billing data can be determined as the first billing data corresponding to the above-mentioned billing elements.
[0081] If the billing data corresponding to any regional level is not obtained after traversing all regional levels, it can be determined that the billing data corresponding to the above-mentioned billing elements has failed to be obtained.
[0082] The present disclosure obtains the first billing data corresponding to the billing elements step by step based on the priority of the above-mentioned regional levels, so as to avoid the technical problem in the related technology that when the collection service provider has not set the billing data or the set billing data is expired, the fees cannot be settled, resulting in financial losses for the express delivery platform.
[0083] After obtaining the first billing data corresponding to the above-mentioned billing elements, for example, the collection fee that the collection service provider should pay for the collection item can be determined based on the first billing data and the corresponding number of collections applicable to the first billing data. The specific settlement method of the collection fee can be set according to the actual situation, and the present disclosure does not make any special limitation on this.
[0084] In addition, in an exemplary embodiment of the present disclosure, the delivery service provider is used to deliver parcels located in a second designated area. Taking the above-mentioned logistics service item as a collection item as an example, if the server receives a parcel receipt message triggered by the delivery service provider, at this time, the second billing data corresponding to the above-mentioned delivery item can be obtained, and the delivery fee payable to the delivery service provider for the delivery item can be determined based on the second billing data.
[0085] It should be noted that the second billing data corresponding to the above delivery item can be obtained in the following way:
[0086] In view of the fact that the above-mentioned delivery service providers belong to different regional levels, the present disclosure can pre-set different priority orders for different regional levels. Specifically, the priority can be set for each regional level in order from small to large regional granularity. For example, the priority of the delivery service provider can be set to 1, the priority corresponding to the city can be set to 2, the priority corresponding to the city cluster can be set to 3, the priority corresponding to the war zone can be set to 4, the priority corresponding to the region can be set to 5, and the priority corresponding to the headquarters can be set to 6. Thus, it is possible to first obtain whether there is billing data for the delivery service provider with a priority of 1. If there is billing data, the billing data can be directly determined as the second billing data corresponding to the delivery item, and there is no need to obtain the billing data corresponding to each subsequent regional level.
[0087] If the billing data corresponding to the delivery service provider is not obtained, it is possible to determine whether there is billing data in the city (priority 2) to which the delivery service provider belongs. If there is billing data, the billing data can be determined as the second billing data corresponding to the above delivery item.
[0088] If the billing data corresponding to the city is not obtained, it is possible to determine whether there is billing data for the city group (priority 3) to which the delivery service provider belongs. If there is billing data, the billing data can be determined as the second billing data corresponding to the above delivery item.
[0089] If the billing data corresponding to the city cluster is not obtained, it is possible to determine whether there is billing data for the war zone (priority level 4) to which the delivery service provider belongs. If there is billing data, the billing data can be used to determine the second billing data corresponding to the above delivery item.
[0090] If the billing data corresponding to the war zone is not obtained, it is possible to obtain whether there is billing data in the region (priority level 5) to which the delivery service provider belongs. If there is billing data, the billing data can be determined as the second billing data corresponding to the above-mentioned delivery item.
[0091] If the billing data corresponding to the region is not obtained, it is possible to determine whether there is billing data at the headquarters (priority 6) to which the delivery service provider belongs. If there is billing data, the billing data can be determined as the second billing data corresponding to the above delivery item.
[0092] If the billing data corresponding to any regional level is not obtained after traversing all regional levels, it can be determined that the second billing data corresponding to the above delivery item has failed to be obtained.
[0093] The present disclosure obtains the billing data corresponding to the delivery service provider step by step based on the priority of the above-mentioned regional levels, so as to avoid the technical problem in the related technology that when the delivery service provider has not set the billing data or the set billing data is expired, the fees cannot be settled, resulting in financial losses for the express delivery platform.
[0094] After obtaining the second billing data of the delivery item, for example, the delivery fee payable to the delivery service provider for the delivery item can be determined based on the product of the second billing data and the number of deliveries. The specific settlement method of the delivery fee can be set according to actual conditions, and the present disclosure does not make any special limitations on this.
[0095] refer to Figure 5 , Figure 5 A schematic diagram showing the franchise express billing process in the embodiment of the present disclosure includes steps S501 to S505:
[0096] In step S501, a production operation is triggered (i.e., a pickup trigger or a receipt trigger);
[0097] In step S502, the billing data is located from the billing data book. Specifically, according to the priority of each level (logistics service provider - city - city cluster - war zone - region - headquarters), it is obtained in turn whether there is corresponding billing data at each regional level. When the billing data corresponding to any regional level is read, the billing data is used as the billing data corresponding to the logistics service item;
[0098] In step S503, obtaining billing data;
[0099] In step S504, a settlement fee is generated according to the billing data;
[0100] In step S505, the account is deducted or paid.
[0101] refer to Figure 6 , Figure 6 A schematic diagram showing the overall business operation process of franchise express delivery in an embodiment of the present disclosure includes steps S601 to S615:
[0102] In step S601, the mailing customer sends the mail;
[0103] In step S602, the collection service provider collects the courier. After the collection is successful, the process proceeds to step S615 to trigger the headquarters finance department to settle the collection.
[0104] In step S603, branch line transportation is used for express delivery. Branch line transportation is a form of transportation that is complementary to trunk line transportation and plays an auxiliary role in trunk line transportation. Branch line transportation is a supplement between the trunk line and the shipping and receiving locations. It mainly undertakes the transportation tasks from suppliers in the transportation supply chain to the assembly points on the trunk line and from the assembly points on the trunk line to the distribution stations. Generally speaking, the branch line is shorter than the trunk line and has a smaller transportation volume.
[0105] In step S604, the package arrives at the transshipment center;
[0106] In step S605, the headquarters trunk line sorts the packages;
[0107] In step S606, the vehicle is started;
[0108] In step S607, trunk line transportation;
[0109] In step S608, the package arrives at the terminal transfer center;
[0110] In step S609, the packages are sorted;
[0111] In step S610, the delivery service provider transports the package on a branch line;
[0112] In step S611, sorting packages;
[0113] In step S612, the package is delivered;
[0114] In step S613, the recipient customer signs for the express delivery;
[0115] In step S614, the headquarters finance is triggered to perform delivery settlement.
[0116] Based on the above technical solutions, on the one hand, the present disclosure maintains billing data according to the regional level, establishes the association between the logistics service provider and the regional level, and bills according to the region, so that each logistics service provider under the regional level does not need to have separate billing data, thereby improving the efficiency of billing data. On the other hand, the present disclosure does not need to specifically maintain the expiration time of billing data, and increases the expiration time through automatic identification by the system to avoid data gaps.
[0117] The present disclosure also provides a data maintenance device, Figure 7 A schematic diagram showing the structure of a data maintenance device in an exemplary embodiment of the present disclosure is shown; Figure 7 As shown, the data maintenance device 700 may include a detection module 710 and an update module 720. Among them:
[0118] A detection module 710 is used to detect whether there is valid historical billing data corresponding to the specified regional level for the logistics service item in response to receiving the newly added billing data corresponding to the specified regional level and the effective time corresponding to the newly added billing data; different regional levels correspond to different regional ranges;
[0119] Update module 720 is used to update the default expiration time of the valid historical billing data using the effective time of the newly added billing data if the valid historical billing data exists, and to update the valid historical billing data using the newly added billing data when the effective time is reached; wherein the default expiration time of the valid historical billing data is after the effective time of the newly added billing data.
[0120] In an exemplary embodiment of the present disclosure, after the valid historical billing data is updated using the newly added billing data, the updating module 720 is configured to:
[0121] The expiration time of the newly added billing data is set to the default expiration time.
[0122] In an exemplary embodiment of the present disclosure, the update module 720 is configured to:
[0123] If the valid historical billing data does not exist, the newly added billing data is controlled to take effect when the effective time is reached, and the expiration time of the newly added billing data is set to the default expiration time.
[0124] In an exemplary embodiment of the present disclosure, the logistics service item includes a pick-up item, a logistics service provider is provided in the regional level, the logistics service provider includes a pick-up service provider, and the pick-up service provider is used to pick up parcels located in the first designated area. The update module 720 is configured to:
[0125] In response to receiving a parcel pickup message, determining a transportation strategy for the parcel based on parcel information of the parcel; the parcel information includes delivery requirements; determining billing elements for the parcel based on the transportation strategy and the delivery requirements; obtaining first billing data corresponding to the billing elements, and determining the pickup fee that the pickup service provider should pay for the pickup item based on the first billing data.
[0126] In an exemplary embodiment of the present disclosure, the pickup service provider belongs to multiple regional levels, and different regional levels correspond to different priorities; the update module 720 is configured to:
[0127] According to a preset priority order, the billing data for the billing elements at each of the regional levels are obtained in turn; when the billing data for the billing elements at any regional level is obtained, the billing data is determined as the first billing data corresponding to the billing element.
[0128] In an exemplary embodiment of the present disclosure, the logistics service item includes a delivery item, a logistics service provider is provided in the regional level, the logistics service provider includes a delivery service provider, and the delivery service provider is used to deliver parcels located in the second designated area. The update module 720 is configured to:
[0129] In response to receiving a package receipt message, second billing data corresponding to the delivery item is obtained; and a delivery fee payable to the delivery service provider for the delivery item is determined according to the second billing data.
[0130] In an exemplary embodiment of the present disclosure, the delivery service provider belongs to multiple regional levels, and different regional levels correspond to different priorities; the update module 720 is configured to:
[0131] According to a preset priority order, the billing data for the dispatch item at each of the regional levels is obtained in turn; when the billing data of any regional level is obtained, the billing data is determined as the second billing data corresponding to the dispatch item.
[0132] The specific details of each module in the above-mentioned data maintenance device have been described in detail in the corresponding data maintenance method, so they will not be repeated here.
[0133] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0134] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0135] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0136] The present application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device.
[0137] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. 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 thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0138] Computer-readable storage media can send, propagate or transmit programs for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0139] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiments.
[0140] In addition, an electronic device capable of implementing the above method is also provided in an embodiment of the present disclosure.
[0141] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".
[0142] Refer to the following Figure 8 The electronic device 800 according to this embodiment of the present disclosure is described. Figure 8 The electronic device 800 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0143] like Figure 8 As shown, the electronic device 800 is in the form of a general computing device. The components of the electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one storage unit 820, a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810), and a display unit 840.
[0144] The storage unit stores program codes, which can be executed by the processing unit 810, so that the processing unit 810 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 810 can perform the following steps: Figure 2 As shown in: Step S210, in response to receiving the newly added billing data of the logistics service item corresponding to the specified regional level and the effective time corresponding to the newly added billing data, detecting whether there is valid historical billing data of the logistics service item corresponding to the specified regional level; different regional levels correspond to different regional ranges; Step S220, if the valid historical billing data exists, using the effective time of the newly added billing data to update the default expiration time of the valid historical billing data, and when the effective time is reached, using the newly added billing data to update the valid historical billing data; wherein the default expiration time of the valid historical billing data is after the effective time of the newly added billing data.
[0145] The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 8201 and / or a cache memory unit 8202 , and may further include a read-only memory unit (ROM) 8203 .
[0146] The storage unit 820 may also include a program / utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0147] Bus 830 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0148] The electronic device 800 may also communicate with one or more external devices 900 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 800, and / or communicate with any device that enables the electronic device 800 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 850. Furthermore, the electronic device 800 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 860. As shown, the network adapter 860 communicates with other modules of the electronic device 800 via a bus 830. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0149] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
Claims
1. A data maintenance method, It is characterized in that include: In response to receiving the newly added billing data of the logistics service item corresponding to the specified regional level and the effective time corresponding to the newly added billing data, detecting whether there is valid historical billing data of the logistics service item corresponding to the specified regional level; different regional levels correspond to different regional ranges; If the valid historical billing data exists, the default expiration time of the valid historical billing data is updated using the effective time of the newly added billing data, and the valid historical billing data is updated using the newly added billing data when the effective time is reached; The default expiration time of the valid historical billing data is after the effectiveness time of the newly added billing data.
2. The method according to claim 1, It is characterized in that After updating the valid historical billing data with the newly added billing data, the method further includes: The expiration time of the newly added billing data is set to the default expiration time.
3. The method according to claim 1, It is characterized in that The method further comprises: If the valid historical billing data does not exist, the newly added billing data is controlled to take effect when the effective time is reached, and the expiration time of the newly added billing data is set to the default expiration time.
4. The method according to any one of claims 1 to 3, It is characterized in that The logistics service items include package collection items, A logistics service provider is provided in the regional level, and the logistics service provider includes a pickup service provider, and the pickup service provider is used to pick up parcels located in the first designated area. The method further includes: In response to receiving a parcel pickup message, determining a transportation strategy for the parcel according to parcel information of the parcel; the parcel information includes a delivery requirement; Determine the billing elements for the package according to the transportation strategy and the delivery requirements; First billing data corresponding to the billing element is obtained, and the collection fee payable by the collection service provider for the collection item is determined according to the first billing data.
5. The method according to claim 4, It is characterized in that The pickup service provider belongs to multiple regional levels, and different regional levels correspond to different priorities; The acquiring the first billing data corresponding to the billing element includes: Obtaining, in sequence, the billing data for the billing elements at each of the regional levels according to a preset priority order; When the billing data for the billing element at any regional level is obtained, the billing data is determined as the first billing data corresponding to the billing element.
6. The method according to any one of claims 1 to 3, It is characterized in that The logistics service items include delivery items, A logistics service provider is provided in the regional level, and the logistics service provider includes a delivery service provider, and the delivery service provider is used to deliver parcels located in the second designated area. The method further includes: In response to receiving the package receipt message, obtaining second billing data corresponding to the delivery item; The delivery fee payable to the delivery service provider for the delivery item is determined according to the second billing data.
7. The method according to claim 6, It is characterized in that The delivery service provider belongs to multiple regional levels, and different regional levels correspond to different priorities; The acquiring the second charging data corresponding to the dispatch item includes: Obtaining, in sequence, billing data for the delivery item at each of the regional levels according to a preset priority order; When the billing data at any regional level is obtained, the billing data is determined as the second billing data corresponding to the dispatch item.
8. A data maintenance device, It is characterized in that include: a detection module, configured to detect whether there is valid historical billing data corresponding to the specified regional level for the logistics service item in response to receiving the newly added billing data corresponding to the specified regional level and the effective time corresponding to the newly added billing data; different regional levels correspond to different regional ranges; An updating module, configured to update the default expiration time of the valid historical billing data with the effective time of the newly added billing data if the valid historical billing data exists, and to update the valid historical billing data with the newly added billing data when the effective time is reached; The default expiration time of the valid historical billing data is after the effectiveness time of the newly added billing data.
9. A computer storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the data maintenance method according to any one of claims 1 to 7 is implemented.
10. An electronic device, It is characterized in that include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the data maintenance method according to any one of claims 1 to 7 by executing the executable instructions.
