Logistics service adjustment strategy processing method and device, equipment and storage medium

By calculating the proportional information of the objects in the logistics dimension and determining the verification order, the problem of low conflict verification efficiency in the logistics service adjustment strategy is solved, and more efficient strategy conflict screening is achieved.

CN119494591APending Publication Date: 2025-02-21SF TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311037777.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-16
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

The combination of dimension filtering conditions of multiple logistics dimensions in the logistics service adjustment strategy produces a huge amount of data, resulting in too low conflict verification efficiency.

Method used

By calculating the dimension filtering conditions of each logistics dimension, the filtered objects occupy the proportion of all logistics objects covering all logistics objects, the order of verification between multiple logistics dimensions is determined, and the policy conflict verification is carried out in this order.

Benefits of technology

It improves the conflict verification efficiency of logistics service adjustment strategies and can screen out possible conflicts with greater efforts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119494591A_ABST
    Figure CN119494591A_ABST
Patent Text Reader

Abstract

The invention provides a logistics service adjustment strategy processing method and device, equipment and a storage medium. The method comprises the steps of obtaining a first logistics service adjustment strategy including dimension screening conditions of multiple logistics dimensions; determining the proportion information of the objects screened by the dimension screening condition of the logistics dimension in all logistics objects covered by the logistics dimension; and based on the proportion information, determining a verification sequence of the plurality of logistics dimensions, so as to perform strategy conflict verification on the first logistics service adjustment strategy in the plurality of logistics dimensions in sequence. According to the embodiment of the invention, the verification sequence among the plurality of logistics dimensions is determined according to the proportion information of the objects screened according to the dimension screening conditions of the logistics dimensions in all the logistics objects covered by the logistics dimensions; according to the invention, strategy conflict verification is carried out on the first logistics service adjustment strategy in multiple logistics dimensions in sequence, so that strategies which may have conflicts can be screened out with greater effort, and the conflict verification efficiency of the logistics service adjustment strategies is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of logistics strategies, and in particular to a method, device, equipment and storage medium for processing a logistics service adjustment strategy. Background Art

[0002] In order to provide better logistics services, logistics companies often configure corresponding logistics service adjustment strategies to determine whether logistics services need to be adjusted. For example, in order to control logistics costs, logistics companies often configure logistics price adjustment strategies to charge peak resource adjustment fees for logistics services during peak periods, that is, to adjust the price of logistics services.

[0003] When configuring logistics service adjustment strategies, it is necessary to perform conflict checks on logistics service adjustment strategies to avoid conflicts between different strategies. However, since logistics service adjustment strategies generally include dimension screening conditions of multiple different logistics dimensions, each dimension screening condition of a logistics dimension may include a large number of logistics objects. After combining these dimension screening conditions of multiple different logistics dimensions, a larger amount of data will be generated, resulting in low conflict check efficiency for logistics service adjustment strategies. Summary of the invention

[0004] The present application provides a method, device, equipment and storage medium for processing a logistics service adjustment strategy, aiming to improve the conflict verification efficiency of the logistics service adjustment strategy.

[0005] On the one hand, the present application provides a method for processing a logistics service adjustment strategy, the method comprising:

[0006] Acquire a first logistics service adjustment strategy to be verified, wherein the first logistics service adjustment strategy includes dimension screening conditions of multiple logistics dimensions, and objects screened by the dimension screening conditions of each logistics dimension include multiple logistics objects of the logistics dimension;

[0007] Based on the number of multiple logistics objects in each of the logistics dimensions, determine the proportion information of the objects filtered by the dimension filtering condition of the logistics dimension to all the logistics objects covered by the logistics dimension;

[0008] Based on the ratio information of each of the logistics dimensions, determining a verification order among the multiple logistics dimensions;

[0009] According to the verification sequence, the first logistics service adjustment strategy is sequentially verified for policy conflicts in multiple logistics dimensions.

[0010] On the other hand, the present application provides a device for processing a logistics service adjustment strategy, the device comprising:

[0011] an acquisition unit, configured to acquire a first logistics service adjustment strategy to be verified, wherein the first logistics service adjustment strategy includes dimension screening conditions of multiple logistics dimensions, and objects screened by the dimension screening conditions of each logistics dimension include multiple logistics objects of the logistics dimension;

[0012] A first determining unit is used to determine, based on the number of multiple logistics objects in each of the logistics dimensions, the proportion information of the objects screened by the dimension screening condition of the logistics dimension to all the logistics objects covered by the logistics dimension;

[0013] A second determining unit, configured to determine a verification sequence among the plurality of logistics dimensions based on the ratio information of each logistics dimension;

[0014] The verification unit is used to perform policy conflict verification on the first logistics service adjustment strategy in multiple logistics dimensions in sequence according to the verification order.

[0015] On the other hand, the present application also provides a computer device, the computer device comprising:

[0016] one or more processors;

[0017] Memory; and

[0018] One or more applications, wherein the one or more applications are stored in the memory and are configured to be executed by the processor to implement the steps in the above-mentioned processing method of logistics service adjustment strategy.

[0019] On the other hand, the present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the above-mentioned method for processing the logistics service adjustment strategy.

[0020] The processing method, device, equipment and storage medium of the logistics service adjustment strategy provided by the embodiment of the present application, the processing method of the logistics service adjustment strategy includes: obtaining the first logistics service adjustment strategy to be verified, the first logistics service adjustment strategy includes dimension screening conditions of multiple logistics dimensions, and the objects screened by the dimension screening conditions of each logistics dimension include multiple logistics objects of the logistics dimension; based on the number of multiple logistics objects of each logistics dimension, determining the proportion information of the objects screened by the dimension screening conditions of the logistics dimension to all logistics objects covered by the logistics dimension; based on the proportion information of each logistics dimension, determining the verification order between multiple logistics dimensions; according to the verification order, sequentially performing strategy conflict verification on the first logistics service adjustment strategy in multiple logistics dimensions. The embodiment of the present application determines the verification order between multiple logistics dimensions through the proportion information of the objects screened by the dimension screening conditions of each logistics dimension to all logistics objects covered by the logistics dimension, and according to the verification order, sequentially performing strategy conflict verification on the first logistics service adjustment strategy in multiple logistics dimensions, thereby more vigorously screening out strategies that may have conflicts and improving the conflict verification efficiency of the logistics service adjustment strategy. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 It is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0023] Figure 2 It is a flowchart of an embodiment of a method for processing a logistics service adjustment strategy provided in an embodiment of the present application;

[0024] Figure 3 It is a flowchart of another embodiment of the method for processing the logistics service adjustment strategy provided in the embodiments of the present application;

[0025] Figure 4 It is a flowchart of another embodiment of the method for processing the logistics service adjustment strategy provided in the embodiments of the present application;

[0026] Figure 5 It is a schematic diagram of the structure of an embodiment of a processing device for a logistics service adjustment strategy provided in an embodiment of the present application;

[0027] Figure 6 It is a schematic diagram of the structure of an embodiment of a computer device provided in the embodiments of the present application. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0029] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, "plurality" means two or more, unless otherwise clearly and specifically defined.

[0030] In this application, the word "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any technician in the field to implement and use the present application. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other instances, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.

[0031] The embodiments of the present application provide a method, device, equipment and storage medium for processing a logistics service adjustment strategy, which are described in detail below.

[0032] like Figure 1 As shown, Figure 1 is a schematic diagram of an application scenario provided by an embodiment of the present application, and the application scenario may include a computer device 100, in which a processing device for adjusting a logistics service strategy is integrated, such as Figure 1 A computer device 100 in.

[0033] In the embodiment of the present application, the computer device 100 may be a terminal. When the computer device 100 is a terminal, the terminal used may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. Such a device may include: a cellular or other communication device having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. The specific computer device 100 may be a desktop terminal or a mobile terminal, and the computer device 100 may also be one of a mobile phone, a tablet computer, a laptop computer, a medical auxiliary instrument, and the like.

[0034] Those skilled in the art will understand that Figure 1 The application environment shown in the figure is only an example of the application scenario of the present application and does not constitute a limitation on the application scenario of the present application. Other application environments may also include Figure 1 More or less computer equipment as shown in Figure 1 Only one computer device is shown in the figure. It can be understood that the application scenario may also include one or more other computer devices, which are not specifically limited here.

[0035] In addition, if Figure 1 As shown, the application scenario may also include a user terminal 200 for performing data interaction with the computer device 100 to send the first logistics service adjustment strategy to be verified to the computer device 100 for policy conflict verification.

[0036] It should be noted that Figure 1 The application scenario diagram shown is merely an example and does not constitute a limitation on the technical solution provided in the embodiments of the present application. A person skilled in the art may appreciate that, with the evolution of application scenarios and the emergence of new business scenarios, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.

[0037] Next, a method for processing the logistics service adjustment strategy provided in an embodiment of the present application is introduced.

[0038] In the embodiment of the method for processing the logistics service adjustment strategy of the embodiment of the present application, the processing device for the logistics service adjustment strategy is used as the execution subject. For the sake of simplicity and ease of description, the execution subject will be omitted in the subsequent method embodiments. The processing device for the logistics service adjustment strategy is applied to a computer device.

[0039] See also Figures 2 to 4 , Figure 2 The following is a flow chart of an embodiment of a method for processing a logistics service adjustment strategy provided in an embodiment of the present application. The method for processing a logistics service adjustment strategy includes:

[0040] 201. Obtain a first logistics service adjustment strategy to be verified, wherein the first logistics service adjustment strategy includes dimension screening conditions of multiple logistics dimensions, and objects screened by the dimension screening conditions of each logistics dimension include multiple logistics objects of the logistics dimension;

[0041] In the embodiment of the present application, the first logistics service adjustment strategy to be verified may be a new logistics service adjustment strategy manually configured by a configuration personnel, or a historical logistics service adjustment strategy specified by a configuration personnel.

[0042] Logistics service adjustment may be, for example, adjustment of the price of logistics services, or adjustment of other aspects of logistics services (such as the timeliness of logistics services, etc.), which is not limited here.

[0043] Multiple logistics dimensions refer to: different dimensions used to reflect logistics service configuration. For example, multiple logistics dimensions can be customer groups, logistics flow directions, logistics product types, logistics product weights, etc.

[0044] The dimension screening condition of each logistics dimension refers to: among all the logistics objects covered by the logistics dimension, a set of at least a part of the logistics objects specified (screened). The logistics object refers to: a specific individual used to reflect the logistics service configuration under the logistics dimension. Taking the logistics dimension as the customer group as an example, the logistics object covered by the logistics dimension can be an individual customer in the customer group, and the dimension screening condition of the logistics dimension can be a specified customer type (such as customer types such as monthly settlement customers and individual order customers), or a specified customer level (such as customer levels such as black diamond, diamond, platinum, gold, silver, bronze, etc.), or a specific number of individual customers, which are not limited here. Taking the logistics dimension as the logistics flow direction as an example, the logistics object covered by the logistics dimension can be a specific target logistics flow direction, and the dimension screening condition of the logistics dimension can be a specified target logistics flow direction (for example, from logistics business area A to logistics business area B, and for example, from city C to city D. The logistics business area refers to an area divided based on logistics properties, and logistics business areas A and B can include multiple cities). Taking the logistics dimension as the logistics product type as an example, the logistics object covered by the logistics dimension can be a specific target logistics product type (such as standard express products, land transport packages, etc.), and the dimension screening condition of the logistics dimension can be a specified target product type. Taking the logistics dimension as the logistics product weight as an example, the logistics object covered by the logistics dimension can be a specific logistics product weight value, and the dimension screening condition of the logistics dimension can be a specified weight range of the logistics product. It can be seen that the objects screened by the dimension screening condition of each logistics dimension can include multiple logistics objects of the logistics dimension.

[0045] An example is given to illustrate the actual application of the first logistics service adjustment strategy in a certain logistics business (such as express delivery and other businesses that require logistics transportation): Take the dimension screening condition of the logistics dimension as monthly settlement customers as an example. If the customer of the logistics business is also a monthly settlement customer, then the logistics business meets the dimension screening condition of the logistics dimension. When the logistics business simultaneously meets the dimension screening conditions of multiple logistics dimensions in the first logistics service adjustment strategy, it is determined that the logistics business meets the first logistics service adjustment strategy, and therefore, it is necessary to perform logistics service adjustments on the logistics business. If the logistics business only meets the dimension screening conditions of some dimensions in the first logistics service adjustment strategy, it is determined that the logistics business does not meet the first logistics service adjustment strategy, and it is not necessary to perform logistics service adjustments on the logistics business.

[0046] 202. Based on the number of multiple logistics objects in each logistics dimension, determine the proportion of the objects filtered by the dimension filtering condition of the logistics dimension to all logistics objects covered by the logistics dimension;

[0047] In an embodiment of the present application, since the dimensional filtering conditions of the logistics dimension represent the objects filtered in the logistics dimension, the proportion information of the objects filtered by the dimensional filtering conditions of the logistics dimension to all logistics objects covered by the logistics dimension can be calculated based on the number of multiple logistics objects in each logistics dimension. For example, the percentage between the number of multiple logistics objects in the logistics dimension and the number of all logistics objects covered by the logistics dimension can be used as the proportion information of the logistics dimension.

[0048] 203. Determine the verification sequence among multiple logistics dimensions based on the proportion information of each logistics dimension;

[0049] In the embodiment of the present application, the multiple logistics dimensions are specifically sorted from small to large according to the proportion information of each logistics dimension to obtain the verification order among the multiple logistics dimensions.

[0050] 204. According to the verification order, the dimension screening conditions of the multiple logistics dimensions in the first logistics service adjustment strategy are sequentially checked for policy conflicts.

[0051] In the embodiment of the present application, since the smaller the proportion information in the logistics dimension, the smaller the number of multiple logistics objects in the logistics dimension, the fewer the logistics service adjustment strategies that have policy conflicts with the first logistics service adjustment strategy in the logistics dimension. Therefore, according to the proportion information of each logistics dimension, the multiple logistics dimensions are sorted from small to large, and the verification order is obtained. According to the verification order, the first logistics service adjustment strategy is sequentially checked for policy conflicts in multiple logistics dimensions, so that more logistics service adjustment strategies without policy conflicts can be filtered out more quickly, and strategies that may conflict can be screened out with greater efforts.

[0052] Among them, strategy conflict means: two logistics service adjustment strategies have at least one same logistics object in each logistics dimension. When a strategy conflict occurs, the logistics service adjustment will be wrong. For example, according to the first logistics service adjustment strategy, a certain logistics business needs to make a logistics service adjustment, while according to a preset logistics service adjustment strategy in the preset logistics service adjustment strategy set, the logistics business does not need to make a logistics service adjustment.

[0053] The processing method of the logistics service adjustment strategy provided in the embodiment of the present application determines the verification order between multiple logistics dimensions through the proportion information of the objects screened by the dimensional screening conditions of each logistics dimension to all logistics objects covered by the logistics dimension, and performs policy conflict verification on the first logistics service adjustment strategy in multiple logistics dimensions in turn according to the verification order, thereby screening out strategies that may have conflicts with greater efforts and improving the conflict verification efficiency of the logistics service adjustment strategy.

[0054] In some embodiments of the present application, Figure 3 As shown, according to the verification order, the first logistics service adjustment strategy is sequentially verified in multiple logistics dimensions for strategy conflicts, which may include:

[0055] 301. Obtain a preset logistics service adjustment strategy set, where the logistics service adjustment strategy set includes a plurality of second logistics service adjustment strategies;

[0056] In an embodiment of the present application, the second logistics service adjustment strategy in the preset logistics service adjustment strategy set may be a historical logistics service adjustment strategy set, and the preset logistics service adjustment strategy set does not include the above-mentioned first logistics service adjustment strategy. The second logistics service adjustment strategy is similar to the first logistics service adjustment strategy, and also includes dimension screening conditions of multiple logistics dimensions, and the objects screened by the dimension screening conditions of each logistics dimension include multiple logistics objects of the logistics dimension.

[0057] 302. Using the logistics service adjustment strategy set as the to-be-verified set of the first logistics service adjustment strategy;

[0058] In the embodiment of the present application, the set to be verified refers to: a set of second logistics service adjustment strategies that need to be verified for policy conflicts with the first logistics service adjustment strategy.

[0059] 303. According to the verification order, each logistics dimension is used as the target logistics dimension in turn;

[0060] 304. Determine, in the set to be verified, a second logistics service adjustment strategy including at least one logistics object of the target logistics dimension in the first logistics service adjustment strategy, and obtain a conflict strategy set of the target logistics dimension;

[0061] In an embodiment of the present application, the conflict strategy set of the target logistics dimension includes: a determined second logistics service adjustment strategy including at least one logistics object of the target logistics dimension in the first logistics service adjustment strategy. The conflict strategy set of the target logistics dimension may be an empty set, or may not be an empty set. When the conflict strategy set of the first logistics dimension is an empty set, it indicates that in the set to be verified, there is no second logistics service adjustment strategy including at least one logistics object of the target logistics dimension in the first logistics service adjustment strategy. When the conflict strategy set of the first logistics dimension is not an empty set, it indicates that in the set to be verified, there is a second logistics service adjustment strategy including at least one logistics object of the target logistics dimension in the first logistics service adjustment strategy.

[0062] In some embodiments of the present application, in the set to be verified, determining a second logistics service adjustment strategy including at least one logistics object of the target logistics dimension in the first logistics service adjustment strategy may include: taking multiple logistics objects of the target logistics dimension in the first logistics service adjustment strategy as a first logistics object set; taking each second logistics service adjustment strategy in the set to be verified as the target logistics service adjustment strategy in turn; taking multiple logistics objects of the target logistics dimension in the target logistics service adjustment strategy as a second logistics object set; determining whether the second logistics object set and the first logistics object set at least partially overlap; if the second logistics object set and the first logistics object set at least partially overlap, taking the target logistics service adjustment strategy as the second logistics service adjustment strategy including at least one logistics object of the target logistics dimension in the first logistics service adjustment strategy. If the second logistics object set and the first logistics object set do not at least partially overlap, then the target logistics service adjustment strategy is not taken as the second logistics service adjustment strategy including at least one logistics object of the target logistics dimension in the first logistics service adjustment strategy.

[0063] Taking different logistics dimensions as an example, the logistics objects at least partially overlapped with the first logistics object set are different. For example, when the target logistics dimension is customer group, the at least partially overlapped second logistics object set and the first logistics object set include at least one same customer individual; for another example, when the target logistics dimension is logistics flow direction, the at least partially overlapped second logistics object set and the first logistics object set include at least one same target logistics flow direction; for another example, when the target logistics dimension is logistics product type, the at least partially overlapped second logistics object set and the first logistics object set include at least one same target logistics product type; for another example, when the target logistics dimension is logistics product weight, the at least partially overlapped second logistics object set and the first logistics object set include at least one same logistics product weight value.

[0064] For different target logistics dimensions, the specific manner of determining whether the second logistics object set and the first logistics object set at least partially overlap may be different, and an example is as follows:

[0065] Taking the target logistics dimension as customer group, logistics product type or logistics product weight as an example, determining whether the second logistics object set and the first logistics object set at least partially overlap can include: detecting whether the second logistics object set and the first logistics object set have completely identical logistics objects; if the second logistics object set and the first logistics object set have completely identical logistics objects, determining that the second logistics object set and the first logistics object set at least partially overlap; if the second logistics object set and the first logistics object set do not have completely identical logistics objects, determining that the second logistics object set and the first logistics object set do not at least partially overlap.

[0066] Taking the target logistics dimension as logistics flow direction as an example, the first logistics object set and the second logistics object set both include multiple target logistics flows, and each target logistics flow direction includes an associated logistics origin and logistics destination (taking from logistics business area A to logistics business area B as an example, the logistics origin is logistics business area A, and the logistics destination associated with the logistics origin is logistics business area B). Determining whether the second logistics object set and the first logistics object set at least partially overlap can include: taking each target logistics flow direction in the first logistics object set as the first logistics flow direction in turn, and taking each target logistics flow direction in the second logistics object set as the second logistics flow direction in turn; detecting whether the logistics origin in the first logistics flow direction overlaps with the logistics origin in the second logistics flow direction, and obtaining an origin overlap judgment result, which may be overlap or non-overlap; detecting whether the logistics destination in the first logistics flow direction overlaps with the logistics destination in the second logistics flow direction, and obtaining a destination overlap judgment result, which may be overlap or non-overlap; when the origin overlap judgment result and the destination overlap judgment result are both overlapped, it is determined that the first logistics flow direction and the second logistics flow direction are the same target logistics flow direction, and the second logistics object set and the first logistics object set at least partially overlap.

[0067] Among them, since the address levels of the addresses of the logistics origin and the logistics destination may be different (the address level may include regions, cities, outlets, etc., for example, the address level of logistics business region A and logistics business region B is the region, while the address level of city C and city D is the city), it is more complicated to determine whether different logistics origins or different logistics destinations overlap. Therefore, detecting whether the logistics origin in the first logistics flow direction overlaps with the logistics origin in the second logistics flow direction may include: determining the first address level of the logistics origin in the first logistics flow direction, and determining the second address level of the logistics origin in the second logistics flow direction (taking the logistics origin in the first logistics service adjustment strategy as logistics business region A and the logistics origin in the second logistics service adjustment strategy as city C as an example, the first address level is the region, and the second address level is the city); if the first address level is different from the second address level, then determine the lower address level and the higher address level in the first address level and the second address level, and put the levels The logistics origin of the lower address level is adjusted to the higher address level to obtain the adjusted logistics origin. For example, when the first address level is the region and the second address level is the city, the lower address level is the second address level and the higher address level is the first address level. Therefore, the logistics origin of the second address level is adjusted to the higher address level (for example, the logistics origin of the second address level is adjusted from city C to the region where city C is located). After adjusting the logistics origin, the adjusted logistics The origin is at the same address level as the logistics origin of the original higher address level; based on whether the adjusted logistics origin is the same as the logistics origin of the original higher address level, determine whether the logistics origin in the first logistics flow direction overlaps with the logistics origin in the second logistics flow direction. For example, based on whether the region where city C is located is the same as logistics business region A, determine whether the logistics origin in the first logistics flow direction overlaps with the logistics origin in the second logistics flow direction, thereby achieving rapid detection of whether the flow origins overlap.

[0068] The specific method for detecting whether the logistics destination in the first logistics flow direction coincides with the logistics destination in the second logistics flow direction is the same as the method for detecting whether the logistics origin coincides, and will not be elaborated here.

[0069] In some embodiments of the present application, after the first logistics service adjustment strategy is subjected to policy conflict verification in multiple logistics dimensions in sequence according to the verification order, it may also include: if the policy conflict verification of the first logistics service adjustment strategy passes, obtaining multiple sub-addresses of the logistics origin in the first logistics flow direction, the address level of the sub-address is lower than the first address level, and taking the logistics origin in the first logistics flow direction as the logistics business region A as an example, the multiple sub-addresses of the logistics origin in the first logistics flow direction are all cities located in the logistics business region A (for example, city B, city C, city D); the logistics origin in the first logistics flow direction is replaced with multiple sub-addresses for storage. In this way, when it is necessary to determine whether a certain logistics business needs to make logistics service adjustments, the logistics origin city B in the logistics business information of the logistics business can be directly compared with the cities located in the logistics business area A, without having to determine whether the logistics origin city B is in the logistics business area A, thereby quickly determining whether the logistics origin city B exists in the dimension screening conditions of the logistics dimension of the logistics flow direction in the first logistics service adjustment strategy, thereby improving the efficiency of determining whether logistics service adjustments are needed.

[0070] Similarly, after the first logistics service adjustment strategy is checked for policy conflicts in multiple logistics dimensions in sequence according to the order of verification, it may also include: if the policy conflict check of the first logistics service adjustment strategy passes, multiple sub-addresses of the logistics destination in the first logistics flow direction are obtained, the address level of the sub-address is lower than the first address level, and taking the logistics destination in the first logistics flow direction as the logistics business region A as an example, the multiple sub-addresses of the logistics destination in the first logistics flow direction are all cities in the logistics business region A (for example, city B, city C, city D); the logistics destination in the first logistics flow direction is replaced with multiple sub-addresses for storage. In this way, when it is necessary to determine whether a certain logistics business needs to be adjusted for logistics services, the logistics destination city B in the logistics business information of the logistics business can be directly compared with the various cities in the logistics business region A, without determining whether the logistics destination city B is in the logistics business region A, thereby quickly determining whether the logistics destination city B exists in the dimension screening condition of the logistics dimension of the logistics flow direction in the first logistics service adjustment strategy, thereby improving the efficiency of determining whether the logistics service adjustment is needed.

[0071] 305. If the conflict strategy set of the target logistics dimension is an empty set, it is determined that the strategy conflict check of the first logistics service adjustment strategy has passed.

[0072] In an embodiment of the present application, if the conflict strategy set of the target logistics dimension is an empty set, it indicates that the first logistics service adjustment strategy and any second logistics service adjustment strategy in the set to be verified cannot have at least one identical logistics object in each logistics dimension, that is, there is no second logistics service adjustment strategy in the set to be verified that has a policy conflict with the first logistics service adjustment strategy, and therefore it is determined that the policy conflict check of the first logistics service adjustment strategy has passed.

[0073] In some embodiments of the present application, if the conflict strategy set of the target logistics dimension is not an empty set, the conflict strategy set of the target logistics dimension is set as a set to be verified, so as to return to the step of taking each logistics dimension as the target logistics dimension in turn according to the verification order, until the conflict strategy sets of all logistics dimensions in the first logistics service adjustment strategy are not empty sets, and then it is determined that the policy conflict verification of the first logistics service adjustment strategy has failed. It can be understood that if the conflict strategy sets of all logistics dimensions in the first logistics service adjustment strategy are not empty sets, it indicates that the first logistics service adjustment strategy and at least one second logistics service adjustment strategy in the set to be verified have at least one identical logistics object in each logistics dimension, that is, there is a second logistics service adjustment strategy in the set to be verified that has a policy conflict with the first logistics service adjustment strategy, and therefore it is determined that the policy conflict verification of the first logistics service adjustment strategy has failed.

[0074] In some embodiments of the present application, Figure 4 As shown, the actual application of the first logistics service adjustment strategy in a certain logistics business is described. Specifically, after the first logistics service adjustment strategy is checked for policy conflicts in multiple logistics dimensions in sequence according to the order of verification, it may also include:

[0075] 401. If the policy conflict check of the first logistics service adjustment policy passes, obtain logistics business information to be determined whether logistics service adjustment is required, where the logistics business information includes target logistics objects in multiple logistics dimensions;

[0076] In an embodiment of the present application, the logistics business information for determining whether logistics service adjustment is required may be logistics business information of a logistics business newly generated based on customer demand, and therefore it is necessary to determine whether logistics service adjustment is required.

[0077] The logistics business information includes target logistics objects of multiple logistics dimensions. The target logistics object of the logistics dimension refers to: the logistics object included in the logistics business information in the logistics dimension, for example, the target logistics object of the logistics dimension of customer group can be a specific customer individual in the logistics business information, the target logistics object of the logistics dimension of logistics flow direction can be a specific logistics origin to a specific logistics destination in the logistics business information, the target logistics object of the logistics dimension of logistics product type can be a specific target logistics product type in the logistics business information, and the target logistics object of the logistics dimension of logistics product weight can be a specific target logistics product weight value in the logistics business information.

[0078] 402. In accordance with the verification order, it is sequentially detected whether the dimension screening conditions of each logistics dimension in the first logistics service adjustment strategy contain a target logistics object of the logistics dimension;

[0079] In the embodiment of the present application, since the verification order is obtained by sorting from small to large according to the above-mentioned proportion information of multiple logistics dimensions, the dimension screening conditions of each logistics dimension in the first logistics service adjustment strategy are checked in turn according to the verification order to see whether there is a target logistics object of the logistics dimension, so that when the logistics business information does not need to make a logistics service adjustment, it can be quickly detected through this verification order, thereby improving the efficiency of determining whether to make a logistics service adjustment.

[0080] In some embodiments of the present application, after the policy conflict check of the first logistics service adjustment strategy is passed, the first logistics service adjustment strategy needs to be stored first, so as to execute step 402 based on the first logistics service adjustment strategy. The storage of the first logistics service adjustment strategy can be realized by a two-level cache storage method. Specifically, the two-level cache includes a first-level cache and a second-level cache. The first-level cache is generally a storage structure based on Redis, and the second-level cache is generally a storage structure based on JVM (Java Virtual Machine, Java Virtual Machine). The first-level cache is used to store all data in the first logistics service adjustment strategy, and the second-level cache is used to store hot data in the first logistics service adjustment strategy, so that in step 402, the logistics service adjustment strategy data to be used (such as the dimension screening conditions of each logistics dimension in the first logistics service adjustment strategy) can be quickly located, thereby improving the efficiency of determining whether to adjust the logistics service. Among them, the hot data in the first logistics service adjustment strategy refers to data with a large number of accesses, which can be screened from the first logistics service adjustment strategy based on the number of accesses of different data in the first logistics service adjustment strategy.

[0081] 403. If the target logistics object of the logistics dimension exists in the dimension screening conditions of each logistics dimension in the first logistics service adjustment strategy, it is determined that the logistics business information needs to be adjusted for logistics services.

[0082] In an embodiment of the present application, if the target logistics object of the logistics dimension exists in the dimension screening conditions of each logistics dimension in the first logistics service adjustment strategy, it indicates that the logistics business information complies with the first logistics service adjustment strategy, and therefore it is determined that the logistics business information needs to be adjusted for logistics services. If the target logistics object of the logistics dimension does not exist in the dimension screening conditions of at least one logistics dimension in the first logistics service adjustment strategy, it indicates that the logistics business information does not comply with the first logistics service adjustment strategy, and therefore it is determined that the logistics business information does not need to be adjusted for logistics services.

[0083] The following is an example of the processing flow of the logistics service adjustment strategy in the embodiment of the present application, which is as follows:

[0084] In this example, after the configuration personnel configure the logistics service adjustment policy through the user end, it is submitted as the first logistics service adjustment policy to be verified for policy conflict verification. After the policy conflict verification passes, it is sent to the preset adjustment service (service), which is used to execute Figure 4 The steps in the illustrated embodiment are used to improve the configuration and use efficiency of the logistics service adjustment strategy, accelerate the response time of the preset adjustment service, and enhance the user experience.

[0085] 1. Configuration of logistics service adjustment strategy: mainly includes configuration of strategy basic information, configuration of logistics product types, configuration of logistics flow direction, configuration of customer groups and configuration of logistics product weight. Strategy basic information may include strategy name, strategy effective time, specific processing of logistics service adjustment (for example, increasing the price of logistics service by a preset value), etc.

[0086] After the configuration personnel completes configuration of the logistics service adjustment strategy and submits it, it is verified whether the policy conflict check of the first logistics service adjustment strategy passes.

[0087] After the policy conflict check is passed, the logistics origin and / or logistics destination in the first logistics service adjustment strategy are split into multiple sub-addresses, and then sent to the preset adjustment service for storage through Kafka to improve the query performance of the preset adjustment service.

[0088] 2. Preset adjustment service: After the preset adjustment service receives the issued first logistics service adjustment strategy, it stores the first logistics service adjustment strategy in accordance with the above-mentioned two-level cache storage method. In this way, the system can quickly locate the logistics service adjustment strategy data that needs to be used, thereby improving the response speed of the preset adjustment service. When a customer places an order or a courier picks up the item, the preset adjustment service can be based on the first logistics service adjustment strategy, and determine whether the logistics business information at the time of the order needs to be adjusted according to the above-mentioned verification sequence, thereby quickly filtering out logistics service adjustment strategies that do not meet the conditions, improving the efficiency of the preset adjustment service, and achieving high concurrency, high performance, and high availability of the preset adjustment service.

[0089] In order to better implement the processing method of the logistics service adjustment strategy in the embodiment of the present application, based on the processing method of the logistics service adjustment strategy, the embodiment of the present application also provides a processing device for the logistics service adjustment strategy, such as Figure 5 As shown, the processing device 500 for adjusting the logistics service strategy includes:

[0090] An acquisition unit 501 is used to acquire a first logistics service adjustment strategy to be verified, wherein the first logistics service adjustment strategy includes dimension screening conditions of multiple logistics dimensions, and the objects screened by the dimension screening conditions of each logistics dimension include multiple logistics objects of the logistics dimension;

[0091] The first determining unit 502 is used to determine, based on the number of multiple logistics objects in each logistics dimension, the proportion information of the objects filtered by the dimension filtering condition of the logistics dimension to all logistics objects covered by the logistics dimension;

[0092] The second determining unit 503 is used to determine the verification sequence between multiple logistics dimensions based on the ratio information of each logistics dimension;

[0093] The verification unit 504 is used to perform policy conflict verification on the first logistics service adjustment strategy in multiple logistics dimensions in sequence according to the verification order.

[0094] The processing device for the logistics service adjustment strategy provided in the embodiment of the present application determines the verification order between multiple logistics dimensions through the proportion information of the objects screened by the dimensional screening conditions of each logistics dimension to all logistics objects covered by the logistics dimension, and performs strategy conflict verification on the first logistics service adjustment strategy in multiple logistics dimensions in turn according to the verification order, thereby screening out strategies that may have conflicts with greater efforts and improving the conflict verification efficiency of the logistics service adjustment strategy.

[0095] In addition to the above-described processing method and device for logistics service adjustment strategy, the embodiment of the present application further provides a computer device, which integrates any one of the processing devices for logistics service adjustment strategy provided in the embodiment of the present application, and the computer device includes:

[0096] one or more processors;

[0097] Memory; and

[0098] One or more applications, wherein the one or more applications are stored in a memory and configured to execute, by a processor, the steps of any one of the above-mentioned steps of the method for processing the logistics service adjustment strategy.

[0099] The present application also provides a computer device that integrates any one of the logistics service adjustment strategy processing devices provided in the present application. Figure 6 As shown, it shows a schematic diagram of the structure of the computer device involved in the embodiment of the present application, specifically:

[0100] The computer device may include one or more processing core processors 601, one or more computer readable storage medium storage units 602, a power supply 603, an input unit 604 and other components. Those skilled in the art will understand that Figure 6 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:

[0101] The processor 601 is the control center of the computer device. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the storage unit 602 and calling data stored in the storage unit 602, it executes various functions of the computer device and processes data, thereby monitoring the computer device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.

[0102] The storage unit 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the storage unit 602. The storage unit 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the storage unit 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the storage unit 602 may also include a memory controller to provide the processor 601 with access to the storage unit 602.

[0103] The computer device also includes a power supply 603 for supplying power to various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 603 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0104] The computer device may further include an input unit 604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0105] Although not shown, the computer device may also include a display unit, etc., which will not be described in detail here. Specifically, in the embodiment of the present application, the processor 601 in the computer device will load the executable file corresponding to the process of one or more application programs into the storage unit 602 according to the following instructions, and the processor 601 will run the application program stored in the storage unit 602, thereby realizing various functions, as follows:

[0106] A first logistics service adjustment strategy to be verified is obtained, wherein the first logistics service adjustment strategy includes dimension filtering conditions of multiple logistics dimensions, and the objects filtered by the dimension filtering conditions of each logistics dimension include multiple logistics objects of the logistics dimension; based on the number of multiple logistics objects of each logistics dimension, the proportion information of the objects filtered by the dimension filtering conditions of the logistics dimension to all logistics objects covered by the logistics dimension is determined; based on the proportion information of each logistics dimension, a verification order among the multiple logistics dimensions is determined; and according to the verification order, the first logistics service adjustment strategy is sequentially verified for policy conflicts in the multiple logistics dimensions.

[0107] The processing method of the logistics service adjustment strategy provided in the embodiment of the present application determines the verification order between multiple logistics dimensions through the proportion information of the objects screened by the dimensional screening conditions of each logistics dimension to all logistics objects covered by the logistics dimension, and performs policy conflict verification on the first logistics service adjustment strategy in multiple logistics dimensions in turn according to the verification order, thereby screening out strategies that may have conflicts with greater efforts and improving the conflict verification efficiency of the logistics service adjustment strategy.

[0108] To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. The computer-readable storage medium stores a plurality of instructions, which can be loaded by a processor to execute the steps in any one of the processing methods for adjusting logistics service strategies provided in the embodiment of the present application. For example, the instruction may execute the following steps:

[0109] A first logistics service adjustment strategy to be verified is obtained, wherein the first logistics service adjustment strategy includes dimension filtering conditions of multiple logistics dimensions, and the objects filtered by the dimension filtering conditions of each logistics dimension include multiple logistics objects of the logistics dimension; based on the number of multiple logistics objects of each logistics dimension, the proportion information of the objects filtered by the dimension filtering conditions of the logistics dimension to all logistics objects covered by the logistics dimension is determined; based on the proportion information of each logistics dimension, a verification order among the multiple logistics dimensions is determined; and according to the verification order, the first logistics service adjustment strategy is sequentially verified for policy conflicts in the multiple logistics dimensions.

[0110] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0111] The above is a detailed introduction to the processing method, device, equipment and storage medium of a logistics service adjustment strategy provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope, and the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for processing a logistics service adjustment strategy, characterized in that: The method comprises: Acquire a first logistics service adjustment strategy to be verified, wherein the first logistics service adjustment strategy includes dimension screening conditions of multiple logistics dimensions, and objects screened by the dimension screening conditions of each logistics dimension include multiple logistics objects of the logistics dimension; Based on the number of multiple logistics objects in each of the logistics dimensions, determine the proportion information of the objects filtered by the dimension filtering condition of the logistics dimension to all the logistics objects covered by the logistics dimension; Based on the ratio information of each of the logistics dimensions, determining a verification order among the multiple logistics dimensions; According to the verification sequence, the first logistics service adjustment strategy is sequentially verified for policy conflicts in multiple logistics dimensions.

2. The method for processing logistics service adjustment strategy according to claim 1, characterized in that: The step of sequentially performing strategy conflict checks on the first logistics service adjustment strategy in multiple logistics dimensions according to the verification sequence includes: Obtaining a preset logistics service adjustment strategy set, wherein the logistics service adjustment strategy set includes a plurality of second logistics service adjustment strategies; Using the logistics service adjustment strategy set as the to-be-verified set of the first logistics service adjustment strategy; According to the verification sequence, each of the logistics dimensions is used as the target logistics dimension in turn; In the set to be verified, a second logistics service adjustment strategy including at least one logistics object of the target logistics dimension in the first logistics service adjustment strategy is determined to obtain a conflict strategy set of the target logistics dimension; If the conflict strategy set of the target logistics dimension is an empty set, it is determined that the strategy conflict check of the first logistics service adjustment strategy has passed; If the conflict strategy set of the target logistics dimension is not an empty set, the conflict strategy set of the target logistics dimension is set as the set to be verified, so as to return to the step of taking each logistics dimension as the target logistics dimension in turn according to the verification order, until the conflict strategy sets of all logistics dimensions in the first logistics service adjustment strategy are not empty sets, it is determined that the policy conflict verification of the first logistics service adjustment strategy has failed.

3. The method for processing logistics service adjustment strategy according to claim 2, characterized in that: Determining, in the set to be verified, a second logistics service adjustment strategy including at least one logistics object of the target logistics dimension in the first logistics service adjustment strategy, comprises: taking the multiple logistics objects of the target logistics dimension in the first logistics service adjustment strategy as a first logistics object set; Sequentially taking each of the second logistics service adjustment strategies in the to-be-verified set as a target logistics service adjustment strategy; Taking the multiple logistics objects of the target logistics dimension in the target logistics service adjustment strategy as a second logistics object set; determining whether the second set of logistics objects at least partially overlaps with the first set of logistics objects; If the second logistics object set at least partially overlaps with the first logistics object set, the target logistics service adjustment strategy is used as the second logistics service adjustment strategy including at least one logistics object of the target logistics dimension in the first logistics service adjustment strategy.

4. The method for processing logistics service adjustment strategy according to claim 3, characterized in that: The multiple logistics dimensions include at least two of customer groups, logistics flow directions, logistics product types, and logistics product weights; When the target logistics dimension is a customer group, the at least partially overlapping second logistics object set and the first logistics object set include at least one same customer individual; When the target logistics dimension is logistics flow direction, the at least partially overlapping second logistics object set and the first logistics object set include at least one same target logistics flow direction; When the target logistics dimension is a logistics product type, the at least partially overlapping second logistics object set and the first logistics object set include at least one same target logistics product type; When the target logistics dimension is the weight of logistics products, the second logistics object set and the first logistics object set that at least partially overlap include at least one same logistics product weight value.

5. The method for processing logistics service adjustment strategy according to claim 3, characterized in that: When the target logistics dimension is a logistics flow direction, the first logistics object set and the second logistics object set both include a plurality of target logistics flow directions, and determining whether the second logistics object set at least partially overlaps with the first logistics object set includes: Sequentially taking each of the target logistics flow directions in the first logistics object set as a first logistics flow direction, and sequentially taking each of the target logistics flow directions in the second logistics object set as a second logistics flow direction; Detecting whether the logistics origin in the first logistics flow direction coincides with the logistics origin in the second logistics flow direction, and obtaining a coincidence judgment result of the origins; Detecting whether a logistics destination in the first logistics flow direction coincides with a logistics destination in the second logistics flow direction, and obtaining a destination coincidence determination result; When the origin overlap judgment result and the destination overlap judgment result are both overlapped, it is determined that the first logistics flow direction and the second logistics flow direction are the same target logistics flow direction, and the second logistics object set and the first logistics object set at least partially overlap.

6. The method for processing logistics service adjustment strategy according to claim 5, characterized in that: The detecting whether the logistics origin in the first logistics flow direction coincides with the logistics origin in the second logistics flow direction includes: Determine a first address level of a logistics origin in the first logistics flow direction, and determine a second address level of a logistics origin in the second logistics flow direction; If the first address level is different from the second address level, a lower address level and a higher address level are determined in the first address level and the second address level, and the logistics origin of the lower address level is adjusted to the higher address level to obtain an adjusted logistics origin; Based on whether the adjusted logistics origin is the same as the logistics origin of the higher-level address level, it is determined whether the logistics origin in the first logistics flow direction overlaps with the logistics origin in the second logistics flow direction.

7. The method for processing logistics service adjustment strategy according to claim 6, characterized in that: After the first logistics service adjustment strategy is sequentially checked for policy conflicts in multiple logistics dimensions according to the check sequence, the method further includes: If the policy conflict check of the first logistics service adjustment policy passes, obtaining multiple sub-addresses of the logistics origin in the first logistics flow direction, where the address level of the sub-addresses is lower than the first address level; The logistics origin in the first logistics flow direction is replaced by the multiple sub-addresses for storage.

8. The method for processing logistics service adjustment strategy according to claim 1, characterized in that: After the first logistics service adjustment strategy is sequentially checked for policy conflicts in multiple logistics dimensions according to the check sequence, the method further includes: If the policy conflict check of the first logistics service adjustment policy passes, obtaining logistics business information to be determined whether logistics service adjustment is required, wherein the logistics business information includes a plurality of target logistics objects in the logistics dimension; According to the verification sequence, sequentially checking whether there is a target logistics object of the logistics dimension in the dimension screening conditions of each logistics dimension in the first logistics service adjustment strategy; If the target logistics object of the logistics dimension exists in the dimension screening conditions of each logistics dimension in the first logistics service adjustment strategy, it is determined that the logistics business information needs to undergo logistics service adjustment.

9. A processing device for adjusting logistics service strategy, characterized in that: The device comprises: an acquisition unit, configured to acquire a first logistics service adjustment strategy to be verified, wherein the first logistics service adjustment strategy includes dimension screening conditions of multiple logistics dimensions, and objects screened by the dimension screening conditions of each logistics dimension include multiple logistics objects of the logistics dimension; A first determining unit is used to determine, based on the number of multiple logistics objects in each of the logistics dimensions, the proportion information of the objects screened by the dimension screening condition of the logistics dimension to all the logistics objects covered by the logistics dimension; A second determining unit, configured to determine a verification sequence among the plurality of logistics dimensions based on the ratio information of each logistics dimension; The verification unit is used to perform policy conflict verification on the first logistics service adjustment strategy in multiple logistics dimensions in sequence according to the verification order.

10. A computer device, characterized in that: The computer device comprises: one or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps in the processing method of the logistics service adjustment strategy described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the method for processing a logistics service adjustment strategy as described in any one of claims 1 to 8.