CN112445804B - Method and device for adjusting waybill configuration parameters - Google Patents
Method and device for adjusting waybill configuration parameters Download PDFInfo
- Publication number
- CN112445804B CN112445804B CN201910803374.XA CN201910803374A CN112445804B CN 112445804 B CN112445804 B CN 112445804B CN 201910803374 A CN201910803374 A CN 201910803374A CN 112445804 B CN112445804 B CN 112445804B
- Authority
- CN
- China
- Prior art keywords
- adjustment
- waybill
- adjustment strategy
- strategy
- pool
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000001914 filtration Methods 0.000 claims description 44
- 238000012384 transportation and delivery Methods 0.000 claims description 44
- 238000004590 computer program Methods 0.000 claims description 9
- 230000001360 synchronised effect Effects 0.000 claims description 5
- 238000004140 cleaning Methods 0.000 claims description 4
- 238000012544 monitoring process Methods 0.000 claims description 3
- 230000015556 catabolic process Effects 0.000 description 15
- 238000006731 degradation reaction Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 15
- 230000008859 change Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 6
- 238000007726 management method Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000013439 planning Methods 0.000 description 3
- 230000032683 aging Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000000593 degrading effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computational Linguistics (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Remote Sensing (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method and a device for adjusting waybill configuration parameters, and relates to the technical field of computers. Wherein the method comprises the following steps: after receiving a waybill configuration parameter adjustment request, determining waybill information according to the waybill configuration parameter adjustment request; inquiring an adjustment strategy pool in a memory according to the waybill information to obtain a corresponding adjustment strategy; and adjusting the configuration parameters related to the waybill according to the corresponding adjustment strategy. Through the steps, the waybill configuration parameters can be automatically and finely adjusted, and the efficiency and the accuracy of adjusting the waybill configuration parameters are improved.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for adjusting a waybill configuration parameter.
Background
Long term healthy development of logistics depends on reasonable and effective logistics planning. Logistics routing is a core link in logistics planning, and one key parameter in logistics routing is aging. In short, aging is understood to be the time that the goods are intended to reach the user. Typically, the age may be calculated based on a logistic routing algorithm and then the parameters configured by the operator.
In some cases, the operator is required to adjust the already configured waybill configuration parameters such as timeliness. For example, due to promotions, weather, and policy meetings, the age of the affected waybill needs to be adjusted. For another example, adjustments to transit times of transportation vehicles, adjustments to daily sort throughput of certain sorting centers, etc. are required for some reasons. In the prior art, the waybill configuration parameters are manually adjusted mainly by operators.
In the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art: as the logistics routing planning involves various configuration parameters, operators are required to adjust a large number of configuration parameters, and the requirements on the professionals of the operators are very high; in addition, by manually adjusting a large number of waybill configuration parameters, the problems of low processing efficiency, easy adjustment errors, insufficient fine adjustment and the like exist.
Disclosure of Invention
In view of this, the invention provides a method and a device for adjusting the waybill configuration parameters, which can automatically and finely adjust the waybill configuration parameters and improve the efficiency and accuracy of adjusting the waybill configuration parameters.
To achieve the above object, according to one aspect of the present invention, there is provided a method of adjusting a waybill configuration parameter.
The method for adjusting the waybill configuration parameters comprises the following steps: after receiving a waybill configuration parameter adjustment request, determining waybill information according to the waybill configuration parameter adjustment request; inquiring an adjustment strategy pool in a memory according to the waybill information to obtain a corresponding adjustment strategy; and adjusting the configuration parameters related to the waybill according to the corresponding adjustment strategy.
Optionally, the waybill configuration parameters include waybill distribution timeliness; the adjustment strategy comprises the following steps: one or more filtering conditions, and parameter adjustment execution rules; the step of inquiring the adjustment strategy pool in the memory according to the waybill information to obtain the corresponding adjustment strategy comprises the following steps: inquiring a first adjustment strategy set and a second adjustment strategy set in the adjustment strategy pool according to the waybill information respectively; under the condition that a plurality of matched adjustment strategies are inquired out from the first adjustment strategy set and the second adjustment strategy set, taking the adjustment strategy with the highest priority in the plurality of matched adjustment strategies as the corresponding adjustment strategy; the first regulation strategy set consists of a plurality of regulation strategies taking the delivery time of the delivery bill as a filtering condition; the second set of adjustment policies consists of a plurality of adjustment policies that have the waybill issue time as a filter condition.
Optionally, the waybill configuration parameters include waybill distribution timeliness; the adjustment strategy comprises the following steps: one or more filtering conditions, and parameter adjustment execution rules; the step of inquiring the adjustment strategy pool in the memory according to the waybill information to obtain the corresponding adjustment strategy comprises the following steps: inquiring a third adjustment strategy set and a fourth adjustment strategy set in the adjustment strategy pool according to the waybill information respectively; under the condition that a plurality of matched adjustment strategies are inquired out from the third adjustment strategy set and the fourth adjustment strategy set, taking the adjustment strategy with the highest priority in the plurality of matched adjustment strategies as the corresponding adjustment strategy; the third adjustment strategy set consists of adjustment strategies with the same delivery time of the delivery bill; the fourth set of adjustment policies consists of adjustment policies having the same waybill issue time.
Optionally, the method further comprises: setting a timer, adding an adjustment strategy in a database to an adjustment strategy pool according to the timer at regular time, and cleaning the invalid adjustment strategy in the adjustment strategy pool at regular time; and/or after the operation of changing the adjustment strategy in the database by the user is monitored, inquiring the changed adjustment strategy from the database, and synchronously updating the adjustment strategy pool according to the changed adjustment strategy.
To achieve the above object, according to another aspect of the present invention, there is provided an apparatus for adjusting a waybill configuration parameter.
The device for adjusting the waybill configuration parameters comprises: the determining module is used for determining the waybill information according to the waybill configuration parameter adjustment request after receiving the waybill configuration parameter adjustment request; the query module is used for querying an adjustment strategy pool in the memory according to the waybill information so as to acquire a corresponding adjustment strategy; and the adjusting module is used for adjusting the configuration parameters related to the waybill according to the corresponding adjusting strategy.
Optionally, the waybill configuration parameters include waybill distribution timeliness; the adjustment strategy comprises the following steps: one or more filtering conditions, and parameter adjustment execution rules; the inquiring module inquires an adjusting strategy pool in the memory according to the waybill information to obtain a corresponding adjusting strategy, wherein the acquiring comprises the following steps: the query module queries a first adjustment strategy set and a second adjustment strategy set in the adjustment strategy pool according to the waybill information respectively; under the condition that a plurality of matched adjustment strategies are inquired out from the first adjustment strategy set and the second adjustment strategy set, the inquiring module takes the adjustment strategy with the highest priority in the plurality of matched adjustment strategies as the corresponding adjustment strategy; the first regulation strategy set consists of a plurality of regulation strategies taking the delivery time of the delivery bill as a filtering condition; the second set of adjustment policies consists of a plurality of adjustment policies that have the waybill issue time as a filter condition.
Optionally, the waybill configuration parameters include waybill distribution timeliness; the adjustment strategy comprises the following steps: one or more filtering conditions, and parameter adjustment execution rules; the inquiring module inquires an adjusting strategy pool in the memory according to the waybill information to obtain a corresponding adjusting strategy, wherein the acquiring comprises the following steps: the query module queries a third adjustment strategy set and a fourth adjustment strategy set in the adjustment strategy pool according to the waybill information respectively; in the case that a plurality of matched adjustment strategies are queried from the third adjustment strategy set and the fourth adjustment strategy set, the query module takes the adjustment strategy with the highest priority in the plurality of matched adjustment strategies as the corresponding adjustment strategy; the third adjustment strategy set consists of adjustment strategies with the same delivery time of the delivery bill; the fourth set of adjustment policies consists of adjustment policies having the same waybill issue time.
Optionally, the apparatus further comprises: the timing scheduling module is used for setting a timer, adding the adjustment strategy in the database to an adjustment strategy pool according to the timing of the timer, and cleaning the invalid adjustment strategy in the adjustment strategy pool at regular time; and/or the synchronous updating module is used for inquiring the changed adjustment strategy from the database after monitoring the operation of changing the adjustment strategy in the database by the user, and synchronously updating the adjustment strategy pool according to the changed adjustment strategy.
To achieve the above object, according to still another aspect of the present invention, there is provided an electronic apparatus.
The electronic device of the present invention includes: one or more processors; and a storage means for storing one or more programs; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of adjusting a manifest configuration parameter of the present invention.
To achieve the above object, according to still another aspect of the present invention, a computer-readable medium is provided.
The computer readable medium of the present invention has stored thereon a computer program which, when executed by a processor, implements the method of the present invention for adjusting a manifest configuration parameter.
One embodiment of the above invention has the following advantages or benefits: after a waybill configuration parameter adjustment request is received, waybill information is determined according to the waybill configuration parameter adjustment request, an adjustment strategy pool in a memory is queried according to the waybill information to obtain a corresponding adjustment strategy, and configuration parameters related to the waybill are adjusted according to the corresponding adjustment strategy, so that the configuration parameters related to the waybill can be automatically and finely adjusted, and the efficiency and the accuracy of adjusting the configuration parameters of the waybill are improved.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic flow chart of a method for adjusting a waybill configuration parameter according to one embodiment of the invention;
FIG. 2 is a schematic flow chart of a method for adjusting a waybill configuration parameter according to another embodiment of the invention;
FIG. 3 is a schematic diagram of exemplary composition of a first set of adjustment policies in an embodiment of the invention;
FIG. 4 is a schematic diagram of an exemplary composition of a third set of adjustment policies in an embodiment of the invention;
FIG. 5 is a schematic diagram of the main modules of an apparatus for adjusting a waybill configuration parameter according to one embodiment of the invention;
FIG. 6 is a schematic diagram of the main modules of an apparatus for adjusting a waybill configuration parameter according to another embodiment of the invention;
FIG. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
Fig. 8 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It is noted that embodiments of the invention and features of the embodiments may be combined with each other without conflict.
Fig. 1 is a schematic flow chart of a method for adjusting a waybill configuration parameter according to one embodiment of the invention. As shown in fig. 1, the method for adjusting the waybill configuration parameters according to the embodiment of the invention includes:
Step S101, after receiving a waybill configuration parameter adjustment request, determining waybill information according to the waybill configuration parameter adjustment request.
For example, after receiving a waybill configuration parameter adjustment request sent by a client, the waybill information carried by the waybill configuration parameter adjustment request may be obtained by analyzing the waybill configuration parameter adjustment request. The waybill information can comprise parameter information such as a waybill number, a current website, a waybill sending time and the like. For example, a certain waybill configuration parameter adjustment request carries the following waybill information: the bill number "VA01011011XX", the current website "Beijing Tongzhou sorting center", the bill issuing time "2019-03-30", and the bill delivery time "2019-04-02".
In addition, in the implementation, the database can be queried according to the parameter of the waybill number carried by the waybill configuration parameter adjustment request, so as to query out other waybill information corresponding to the waybill number, such as a waybill originating city, a waybill destination city, a waybill originating region, a waybill destination region and the like.
Step S102, inquiring an adjustment strategy pool in a memory according to the waybill information to acquire a corresponding adjustment strategy.
In the step, an adjustment strategy pool in a memory can be queried according to the waybill information, and an adjustment strategy corresponding to the waybill information is acquired, so that the configuration parameters of different waybills can be flexibly adjusted in the subsequent step.
The adjustment policy pool may be understood as a data structure in the memory for storing a policy configuration parameter adjustment policy (may be simply referred to as an "adjustment policy"). In specific implementation, the adjustment policy pool can be implemented by adopting a hash (hash) table and other data structures. Further, the adjustment policy may include: one or more filtering conditions, and parameter adjustment execution rules. Wherein the filtering condition may be set according to one or more of a waybill issue time, a waybill delivery time, a waybill origination city, a waybill destination city, a waybill origination area, or a waybill delivery city, etc. The parameter adjustment execution rule is an execution rule for adjusting the waybill configuration parameters (such as waybill distribution timeliness, a sorting center through which the waybill passes and the like) to be adjusted.
For example, assuming that the waybill configuration parameters that need to be adjusted are waybill delivery timeliness, a certain adjustment policy may include the following two filtering conditions: the arrival time range of the waybill is 2019-04-01 to 2019-04-05, and the waybill originating area is North China; and the adjustment policy may include the following parameter adjustment execution rules: and prolonging the timeliness of the waybill distribution for two days.
Step S103, adjusting the configuration parameters related to the waybill according to the corresponding adjustment strategy.
For example, assuming that the waybill configuration parameter to be adjusted is waybill distribution timeliness, the parameter adjustment execution rule included in the queried adjustment policy corresponding to the waybill information is "prolonging the waybill distribution timeliness by two days", the configuration parameter of the arrival time of the waybill is prolonged by two days, for example, the waybill arrival time is adjusted from "2019-04-02" to "2019-04-04".
In the embodiment of the invention, after the waybill configuration parameter adjustment request is received, the waybill information is determined according to the waybill configuration parameter adjustment request, the adjustment strategy pool in the memory is queried according to the waybill information to obtain the corresponding adjustment strategy, and the configuration parameters related to the waybill are adjusted according to the corresponding adjustment strategy, so that the configuration parameters related to the waybill can be automatically and finely adjusted, and the efficiency and the accuracy of adjusting the configuration parameters of the waybill are improved.
Fig. 2 is a schematic flow chart of a method for adjusting a waybill configuration parameter according to another embodiment of the invention. The method of embodiments of the present invention may be performed by an adjustment engine (or "means for adjusting waybill configuration parameters"). As shown in fig. 2, the method for adjusting the waybill configuration parameters according to the embodiment of the invention includes:
step S201, a waybill configuration parameter adjustment request is received.
In this step, the adjustment engine may receive a waybill configuration parameter adjustment request sent by the client. After receiving the waybill configuration parameter adjustment request sent by the client, the adjustment engine can obtain the waybill information carried by the waybill configuration parameter adjustment request by analyzing the waybill configuration parameter adjustment request. The waybill information can comprise parameter information such as a waybill number, a current website, a waybill sending time and the like. For example, a certain waybill configuration parameter adjustment request carries the following waybill information: the bill number "VA01011011XX", the current website "Beijing Tongzhou sorting center", the bill issuing time "2019-03-30", and the bill delivery time "2019-04-02".
In addition, in the implementation, the adjustment engine may also query the database according to the parameter, such as the waybill number carried by the waybill configuration parameter adjustment request, so as to query out other waybill information corresponding to the waybill number, such as a waybill originating city, a waybill destination city, a waybill originating region, a waybill destination region, and the like.
Step S202, inquiring the adjustment strategy pool.
In this step, the adjustment engine may query the adjustment policy pool according to the determined waybill information to obtain an adjustment policy corresponding to the waybill information.
The adjustment policy pool may be understood as a data structure in the memory for storing a policy configuration parameter adjustment policy (may be simply referred to as an "adjustment policy"). In specific implementation, the adjustment policy pool can be implemented by adopting a hash (hash) table and other data structures.
Further, the adjustment policy may include: one or more filtering conditions, and parameter adjustment execution rules. Wherein the filtering condition may be set according to one or more of a waybill issue time, a waybill delivery time, a waybill origination city, a waybill destination city, a waybill origination area, or a waybill delivery city, etc. The parameter adjustment execution rule is an execution rule for adjusting the waybill configuration parameters (such as waybill distribution timeliness, a sorting center through which the waybill passes and the like) to be adjusted.
In an alternative embodiment, the adjustment policy pool includes a first adjustment policy set (as shown in fig. 3) and a second adjustment policy set, where the first adjustment policy set is composed of a plurality of adjustment policies that have the time of arrival of a waybill as a filtering condition, and the second adjustment policy set is composed of a plurality of adjustment policies that have the time of departure of a waybill as a filtering condition. In this alternative embodiment, the adjustment engine querying the adjustment policy pool according to the determined waybill information to obtain an adjustment policy corresponding to the waybill information includes: inquiring a first adjustment strategy set and a second adjustment strategy set in the adjustment strategy pool according to the waybill information respectively; and under the condition that a plurality of matched adjustment strategies are inquired out from the first adjustment strategy set and the second adjustment strategy set, taking the adjustment strategy with the highest priority in the plurality of matched adjustment strategies as the corresponding adjustment strategy. In specific implementation, the priority of the adjustment policy may be set as follows: when the waybill configuration parameters to be adjusted are waybill distribution timeliness, the priority of the adjustment strategies with longer delay time can be higher, and if the delay time of the two adjustment strategies is the same, the priority with less filtering conditions can be higher.
In another alternative embodiment, the adjustment policy pool includes a third set of adjustment policies (as shown in FIG. 4) and a fourth set of adjustment policies. The third adjustment strategy set is composed of adjustment strategies with the same delivery time of the freight bill, and the fourth adjustment strategy set is composed of adjustment strategies with the same delivery time of the freight bill. In this alternative embodiment, the adjustment engine querying the adjustment policy pool according to the determined waybill information to obtain an adjustment policy corresponding to the waybill information includes: inquiring a third adjustment strategy set and a fourth adjustment strategy set in the adjustment strategy pool according to the waybill information respectively; and under the condition that a plurality of matched adjustment strategies are inquired out from the third adjustment strategy set and the fourth adjustment strategy set, taking the adjustment strategy with the highest priority in the plurality of matched adjustment strategies as the corresponding adjustment strategy.
In the embodiment of the invention, the third adjustment strategy set and the fourth adjustment strategy set are set, and the corresponding adjustment strategies are obtained by respectively inquiring the third adjustment strategy set and the fourth adjustment strategy set, so that the filter condition matching times when inquiring the adjustment strategy pool are reduced, and the efficiency of inquiring the adjustment strategy pool is improved.
Step S203, executing the adjustment strategy.
In this step, the adjustment engine may adjust the configuration parameters related to the manifest according to the corresponding adjustment policy. For example, assuming that the waybill configuration parameter to be adjusted is waybill distribution timeliness, the parameter adjustment execution rule included in the queried adjustment policy corresponding to the waybill information is "prolonging the waybill distribution timeliness by two days", the configuration parameter of the arrival time of the waybill is prolonged by two days, for example, the waybill arrival time is adjusted from "2019-04-02" to "2019-04-04".
Step S204, returning an adjustment result.
In this step, the adjustment engine may return the waybill configuration parameter adjustment results to the client.
Step S205, synchronously updating the adjustment strategy pool according to the changed adjustment strategy in the database.
In this step, after the adjustment engine monitors the operation of the user to change the adjustment policy in the database, the adjustment policy after the change can be queried from the database, and the adjustment policy pool can be synchronously updated according to the adjustment policy after the change.
In an alternative embodiment, the tuning engine may implement a synchronization update of the tuning policy pool via a message publish-subscribe mode of the message queue. Specifically, the subscription of the messages in the message queue can be realized by adding the relevant configuration information of the message queue in the configuration file of the adjustment engine; when the user is monitored to change the adjustment strategy in the database, an adjustment strategy changing message can be sent to a message queue, and then the adjustment strategy changing message is broadcasted to an adjustment engine; and then, the adjustment engine queries the changed adjustment strategy from the database according to the strategy ID (identification) carried by the adjustment strategy change message, and synchronously updates the adjustment strategy pool according to the changed adjustment strategy.
In another alternative embodiment, the tuning engine may implement a synchronization update of the tuning policy pool through the Zookeeper. In particular, the adaptation engine may snoop on a data node of the Zookeeper, where the data node of the Zookeeper may include the following information: the adjustment policy ID (identification), and the last change time of the adjustment policy. When a user triggers the operation of changing the adjustment strategy in the database, the information in the Zookeeper data node is synchronously updated. When the information in the data node of the Zookeeper is monitored to change, the database can be queried according to the adjustment strategy ID in the changed data node, and the adjustment strategy pool can be synchronously updated according to the queried changed adjustment strategy.
In the embodiment of the present invention, through step S205, the adjustment policy pool can be updated synchronously, thereby improving the timeliness of adjustment policy management in the adjustment policy pool.
Step S206, adding the adjustment strategies in the database to the adjustment strategy pool at regular time, and determining the invalid adjustment strategy at regular time.
In this step, the adjustment policies in the database may be added to the adjustment policy pool at regular time and the adjustment policies that have failed in the adjustment policy pool may be purged at regular time by setting a timer. By adding the adjustment strategy to the adjustment strategy pool at regular time and removing the invalid adjustment strategy at regular time, the problems of excessive data, too slow query speed and the like of the adjustment strategy pool can be effectively avoided.
In the embodiment of the invention, the configuration parameters related to the waybill can be automatically and finely adjusted through the steps, the efficiency and the accuracy of adjusting the configuration parameters of the waybill are improved, and the professional requirements on operators are reduced.
FIG. 3 is a schematic diagram of exemplary composition of a first set of adjustment policies in an embodiment of the invention. In this example, the waybill configuration parameter that needs to be adjusted is the waybill delivery timeliness. As shown in fig. 3, the first adjustment policy set includes three adjustment policies for degrading the waybill distribution timeliness, which are respectively: 1) The spring festival degradation strategy comprises two filtering conditions (the delivery time is between 2019-04-01 and 2019-04-04), and the originating area is equal to North China); 2) Weather cause degradation strategy, comprising two filtering conditions (delivery time is 2019-04-01 to 2019-04-05, destination area is equal to south China); 3) 618 promote degradation strategies, comprising 2 filtering conditions (delivery time at 2019-06-18 to 2019-06-28, destination city equal to beijing).
Assume that a certain waybill configuration parameter adjustment request carries the following waybill information: the process of querying the first adjustment policy set shown in fig. 3 according to the waybill information may include:
and a step a, judging whether the waybill information meets all filtering conditions of a first regulation strategy (spring festival degradation strategy).
In the step, the arrival time of the waybill is compared with the arrival time in the spring festival degradation strategy to find that the waybill meets the first filtering condition, and the originating area to which the waybill belongs can be inquired as Huazhong according to the waybill number of the waybill, and the waybill does not meet the second filtering condition. Thus, step b is continued.
And b, judging whether the waybill information meets all filtering conditions of a second adjustment strategy (weather reason degradation strategy).
In the step, the arrival time of the waybill is compared with the arrival time in the weather cause degradation strategy to find that the waybill meets the first filtering condition, and the destination area to which the waybill belongs can be inquired as south China according to the waybill number of the waybill, and the waybill also meets the second filtering condition. It follows that the second regulation strategy (weather cause degradation strategy) is the regulation strategy matching with the waybill information. After finding the adjustment strategy matched with the waybill information, finishing the matching, namely, not querying other adjustment strategies in the first adjustment strategy set.
FIG. 4 is a schematic diagram of an exemplary composition of a third set of adjustment policies in an embodiment of the invention. In this example, the waybill configuration parameter that needs to be adjusted is the waybill delivery timeliness. As shown in fig. 4, the third adjustment policy set is composed of adjustment policies with delivery times of 2019-04-02, respectively: 1) The spring festival degradation strategy comprises a filtering condition (the originating area is equal to North China); 2) Weather cause degradation policy includes a filter term (destination area is equal to south China).
Assume that a certain waybill configuration parameter adjustment request carries the following waybill information: the process of querying the third adjustment policy set shown in fig. 4 according to the waybill information may include:
And step A, judging whether the waybill information meets all filtering conditions of a first regulation strategy (spring festival degradation strategy).
In the step, the originating area to which the waybill belongs can be inquired as Huazhong according to the waybill number of the waybill, and obviously the waybill does not meet the filtering condition of the spring festival degradation strategy. Thus, step B is continued.
And B, judging whether the waybill information meets all filtering conditions of a second adjustment strategy (weather reason degradation strategy).
In the step, the destination area to which the waybill belongs can be inquired as south China according to the waybill number of the waybill, and obviously, the waybill meets the filtering condition of the weather reason degradation strategy. It follows that the second regulation strategy (weather cause degradation strategy) is the regulation strategy matching with the waybill information. After finding the adjustment strategy matched with the waybill information, finishing the matching, namely, not querying other adjustment strategies in the third adjustment strategy set.
Fig. 5 is a schematic diagram of main modules of an apparatus for adjusting a waybill configuration parameter according to an embodiment of the invention. As shown in fig. 5, an apparatus 500 for adjusting a waybill configuration parameter according to an embodiment of the present invention includes: a determining module 501, a querying module 502 and an adjusting module 503.
The determining module 501 is configured to determine the waybill information according to the waybill configuration parameter adjustment request after receiving the waybill configuration parameter adjustment request.
Illustratively, after receiving the waybill configuration parameter adjustment request sent by the client, the determining module 501 may obtain the waybill information carried by the waybill configuration parameter adjustment request by parsing the waybill configuration parameter adjustment request. The waybill information can comprise parameter information such as a waybill number, a current website, a waybill sending time and the like. For example, a certain waybill configuration parameter adjustment request carries the following waybill information: the bill number "VA01011011XX", the current website "Beijing Tongzhou sorting center", the bill issuing time "2019-03-30", and the bill delivery time "2019-04-02".
In addition, in the implementation, the determining module 501 may also query the database according to the parameter, such as the waybill number, carried by the waybill configuration parameter adjustment request, so as to query out other waybill information corresponding to the waybill number, such as a waybill originating city, a waybill destination city, a waybill originating area, a waybill destination area, and the like.
And the query module 502 is configured to query the adjustment policy pool in the memory according to the waybill information to obtain a corresponding adjustment policy.
Specifically, the query module 502 may query the adjustment policy pool in the memory according to the waybill information to obtain an adjustment policy corresponding to the waybill information, so as to facilitate flexible adjustment of configuration parameters of different waybills in a subsequent processing flow.
The adjustment policy pool may be understood as a data structure in the memory for storing a policy configuration parameter adjustment policy (may be simply referred to as an "adjustment policy"). In specific implementation, the adjustment policy pool can be implemented by adopting a hash (hash) table and other data structures. Further, the adjustment policy may include: one or more filtering conditions, and parameter adjustment execution rules. Wherein the filtering condition may be set according to one or more of a waybill issue time, a waybill delivery time, a waybill origination city, a waybill destination city, a waybill origination area, or a waybill delivery city, etc. The parameter adjustment execution rule is an execution rule for adjusting the waybill configuration parameters (such as waybill distribution timeliness, a sorting center through which the waybill passes and the like) to be adjusted.
For example, assuming that the waybill configuration parameters that need to be adjusted are waybill delivery timeliness, a certain adjustment policy may include the following two filtering conditions: the arrival time range of the waybill is 2019-04-01 to 2019-04-05, and the waybill originating area is North China; and the adjustment policy may include the following parameter adjustment execution rules: and prolonging the timeliness of the waybill distribution for two days.
And the adjusting module 503 is configured to adjust the configuration parameters related to the waybill according to the corresponding adjustment policy.
For example, assuming that the waybill configuration parameter to be adjusted is waybill delivery timeliness, the parameter adjustment execution rule included in the queried adjustment policy corresponding to the waybill information is "extend the waybill delivery timeliness by two days", the adjustment module 503 extends the configuration parameter of the arrival time of the waybill by two days, for example, adjusts the waybill arrival time from "2019-04-02" to "2019-04-04".
In the device provided by the embodiment of the invention, after the determining module receives the waybill configuration parameter adjustment request, the waybill information is determined according to the waybill configuration parameter adjustment request, the query module queries the adjustment strategy pool in the memory according to the waybill information to obtain the corresponding adjustment strategy, and the adjustment module adjusts the configuration parameters related to the waybill according to the corresponding adjustment strategy, so that the configuration parameters related to the waybill can be automatically and finely adjusted, and the efficiency and the accuracy of adjusting the waybill configuration parameters are improved.
Fig. 6 is a schematic diagram of main modules of an apparatus for adjusting a waybill configuration parameter according to another embodiment of the invention. As shown in fig. 6, an apparatus 600 for adjusting a waybill configuration parameter according to an embodiment of the present invention includes: a determining module 601, a querying module 602, an adjusting module 603, a timing scheduling module 604 and a synchronous updating module 605.
The determining module 601 is configured to determine the waybill information according to the waybill configuration parameter adjustment request after receiving the waybill configuration parameter adjustment request.
For example, after receiving the waybill configuration parameter adjustment request sent by the client, the determining module 601 may obtain the waybill information carried by the waybill configuration parameter adjustment request by parsing the waybill configuration parameter adjustment request. The waybill information can comprise parameter information such as a waybill number, a current website, a waybill sending time and the like. For example, a certain waybill configuration parameter adjustment request carries the following waybill information: the bill number "VA01011011XX", the current website "Beijing Tongzhou sorting center", the bill issuing time "2019-03-30", and the bill delivery time "2019-04-02". In addition, in the implementation, the determining module 601 may further query the database according to the parameter, such as the waybill number, carried by the waybill configuration parameter adjustment request, so as to query out other waybill information corresponding to the waybill number, such as a waybill originating city, a waybill destination city, a waybill originating area, a waybill destination area, and the like.
And the query module 602 is configured to query the adjustment policy pool in the memory according to the waybill information to obtain a corresponding adjustment policy.
The adjustment policy pool may be understood as a data structure in the memory for storing a policy configuration parameter adjustment policy (may be simply referred to as an "adjustment policy"). In specific implementation, the adjustment policy pool can be implemented by adopting a hash (hash) table and other data structures.
Further, the adjustment policy may include: one or more filtering conditions, and parameter adjustment execution rules. Wherein the filtering condition may be set according to one or more of a waybill issue time, a waybill delivery time, a waybill origination city, a waybill destination city, a waybill origination area, or a waybill delivery city, etc. The parameter adjustment execution rule is an execution rule for adjusting the waybill configuration parameters (such as waybill distribution timeliness, a sorting center through which the waybill passes and the like) to be adjusted.
In an alternative embodiment, the adjustment policy pool includes a first adjustment policy set (as shown in fig. 3) and a second adjustment policy set, where the first adjustment policy set is composed of a plurality of adjustment policies that have the time of arrival of a waybill as a filtering condition, and the second adjustment policy set is composed of a plurality of adjustment policies that have the time of departure of a waybill as a filtering condition. In this alternative embodiment, the querying module 602 queries the adjustment policy pool according to the determined waybill information to obtain an adjustment policy corresponding to the waybill information includes: inquiring a first adjustment strategy set and a second adjustment strategy set in the adjustment strategy pool according to the waybill information respectively; and under the condition that a plurality of matched adjustment strategies are inquired out from the first adjustment strategy set and the second adjustment strategy set, taking the adjustment strategy with the highest priority in the plurality of matched adjustment strategies as the corresponding adjustment strategy. In specific implementation, the priority of the adjustment policy may be set as follows: when the waybill configuration parameters to be adjusted are waybill distribution timeliness, the priority of the adjustment strategies with longer delay time can be higher, and if the delay time of the two adjustment strategies is the same, the priority with less filtering conditions can be higher.
In another alternative embodiment, the adjustment policy pool includes a third set of adjustment policies (as shown in FIG. 4) and a fourth set of adjustment policies. The third adjustment strategy set is composed of adjustment strategies with the same delivery time of the freight bill, and the fourth adjustment strategy set is composed of adjustment strategies with the same delivery time of the freight bill. In this alternative embodiment, the querying module 602 queries the adjustment policy pool according to the determined waybill information to obtain an adjustment policy corresponding to the waybill information includes: inquiring a third adjustment strategy set and a fourth adjustment strategy set in the adjustment strategy pool according to the waybill information respectively; and under the condition that a plurality of matched adjustment strategies are inquired out from the third adjustment strategy set and the fourth adjustment strategy set, taking the adjustment strategy with the highest priority in the plurality of matched adjustment strategies as the corresponding adjustment strategy.
In the embodiment of the invention, the third adjustment strategy set and the fourth adjustment strategy set are set, and the corresponding adjustment strategies are obtained by respectively inquiring the third adjustment strategy set and the fourth adjustment strategy set, so that the filter condition matching times when inquiring the adjustment strategy pool are reduced, and the efficiency of inquiring the adjustment strategy pool is improved.
And the adjusting module 603 is configured to adjust the configuration parameters related to the waybill according to the corresponding adjustment policy.
Specifically, the adjustment module 603 may adjust the configuration parameters related to the waybill according to the corresponding adjustment policy. For example, assuming that the waybill configuration parameter to be adjusted is waybill delivery timeliness, the parameter adjustment execution rule included in the queried adjustment policy corresponding to the waybill information is "extend the waybill delivery timeliness by two days", the adjustment module 603 extends the configuration parameter of the arrival time of the waybill by two days, for example, adjusts the waybill arrival time from "2019-04-02" to "2019-04-04".
The timing scheduling module 604 is configured to set a timer, add the adjustment policy in the database to the adjustment policy pool according to the timer timing, and clear the adjustment policy that has failed in the adjustment policy pool at the timing. By adding the adjustment strategy to the adjustment strategy pool at regular time and removing the invalid adjustment strategy at regular time, the problems of excessive data, too slow query speed and the like of the adjustment strategy pool can be effectively avoided.
And the synchronous updating module 605 is configured to query the changed adjustment policy from the database after monitoring the operation of the user to change the adjustment policy in the database, and synchronously update the adjustment policy pool according to the changed adjustment policy.
In an alternative embodiment, the synchronization update module 605 may implement the synchronization update of the adjustment policy pool via a message publish-subscribe mode of the message queue. Specifically, the subscription of the messages in the message queue can be realized by adding the relevant configuration information of the message queue in the configuration file; when the user is monitored to change the adjustment strategy in the database, an adjustment strategy changing message can be sent to a message queue, and then the adjustment strategy changing message is broadcasted to an adjustment engine; and then, the adjustment engine queries the changed adjustment strategy from the database according to the strategy ID (identification) carried by the adjustment strategy change message, and synchronously updates the adjustment strategy pool according to the changed adjustment strategy.
In another alternative embodiment, the synchronization update module 605 may implement a synchronization update of the adjustment policy pool through a Zookeeper. In particular, a data node of a Zookeeper may be listened to, wherein the data node of the Zookeeper may comprise the following information: the adjustment policy ID (identification), and the last change time of the adjustment policy. When a user triggers an operation of changing the adjustment strategy in the database, information in the Zookeeper data node is synchronously updated. When the information in the data node of the Zookeeper is monitored to change, the database can be queried according to the adjustment strategy ID in the changed data node, and the adjustment strategy pool can be synchronously updated according to the queried changed adjustment strategy.
By setting the synchronous updating module, the adjustment strategy pool can be synchronously updated, and the timeliness of adjustment strategy management in the adjustment strategy pool is improved.
In the embodiment of the invention, the configuration parameters related to the waybill can be automatically and finely adjusted through the device, the efficiency and the accuracy of adjusting the configuration parameters of the waybill are improved, and the professional requirements on operators are reduced.
Fig. 7 illustrates an exemplary system architecture 700 of a method of adjusting a manifest configuration parameter or an apparatus for adjusting manifest configuration parameters to which embodiments of the present invention may be applied.
As shown in fig. 7, a system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 is the medium used to provide communication links between the terminal devices 701, 702, 703 and the server 705. The network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 705 via the network 704 using the terminal devices 701, 702, 703 to receive or send messages or the like. Various client applications, such as a warehouse logistics management type application, a shopping type application, a web browser application, a search type application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 701, 702, 703.
The terminal devices 701, 702, 703 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 705 may be a server providing various services, such as a background management server providing support for warehouse management class applications browsed by the user using the terminal devices 701, 702, 703. The background management server may analyze and process the received data such as the request for adjusting the waybill configuration parameters, and feed back the processing result (for example, the waybill configuration parameter adjustment result) to the terminal device.
It should be noted that, the method for adjusting the waybill configuration parameters provided in the embodiment of the present invention is generally executed by the server 705, and accordingly, the device for adjusting the waybill configuration parameters is generally disposed in the server 705.
It should be understood that the number of terminal devices, networks and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 8, there is illustrated a schematic diagram of a computer system 800 suitable for use in implementing an electronic device of an embodiment of the present invention. The computer system shown in fig. 8 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU) 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, mouse, etc.; an output portion 807 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 808 including a hard disk or the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. The drive 810 is also connected to the I/O interface 805 as needed. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as needed so that a computer program read out therefrom is mounted into the storage section 808 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section 809, and/or installed from the removable media 811. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 801.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, as: a processor includes a determination module, a query module, and an adjustment module. The names of these modules do not constitute a limitation on the module itself in some cases, and the determination module may also be described as "a module that determines waybill information", for example.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer-readable medium carries one or more programs which, when executed by one of the devices, cause the device to perform the following: after receiving a waybill configuration parameter adjustment request, determining waybill information according to the waybill configuration parameter adjustment request; inquiring an adjustment strategy pool in a memory according to the waybill information to obtain a corresponding adjustment strategy; and adjusting the configuration parameters related to the waybill according to the corresponding adjustment strategy.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.
Claims (10)
1. A method of adjusting a waybill configuration parameter, the method comprising:
after receiving a waybill configuration parameter adjustment request, determining waybill information according to the waybill configuration parameter adjustment request;
Inquiring an adjustment strategy pool in a memory according to the waybill information to obtain a corresponding adjustment strategy; the adjustment strategy comprises the following steps: one or more filtering conditions;
Adjusting configuration parameters related to the waybill according to the corresponding adjustment strategy;
The step of inquiring the adjustment strategy pool in the memory according to the waybill information to obtain the corresponding adjustment strategy comprises the following steps: inquiring the adjustment strategies in the adjustment strategy pool according to the waybill information, determining whether the waybill information meets all the filtering conditions corresponding to one adjustment strategy, and if so, taking the adjustment strategy meeting all the filtering conditions as the adjustment strategy corresponding to the waybill information.
2. The method of claim 1, wherein the waybill configuration parameters comprise waybill distribution timeliness; the adjustment strategy further comprises: parameter adjustment execution rules;
the step of inquiring the adjustment strategy pool in the memory according to the waybill information to obtain the corresponding adjustment strategy comprises the following steps: inquiring a first adjustment strategy set and a second adjustment strategy set in the adjustment strategy pool according to the waybill information respectively; under the condition that a plurality of matched adjustment strategies are inquired out from the first adjustment strategy set and the second adjustment strategy set, taking the adjustment strategy with the highest priority in the plurality of matched adjustment strategies as the corresponding adjustment strategy; the first regulation strategy set consists of a plurality of regulation strategies taking the delivery time of the delivery bill as a filtering condition; the second set of adjustment policies consists of a plurality of adjustment policies that have the waybill issue time as a filter condition.
3. The method of claim 1, wherein the waybill configuration parameters comprise waybill distribution timeliness; the adjustment strategy further comprises: parameter adjustment execution rules;
the step of inquiring the adjustment strategy pool in the memory according to the waybill information to obtain the corresponding adjustment strategy comprises the following steps: inquiring a third adjustment strategy set and a fourth adjustment strategy set in the adjustment strategy pool according to the waybill information respectively; under the condition that a plurality of matched adjustment strategies are inquired out from the third adjustment strategy set and the fourth adjustment strategy set, taking the adjustment strategy with the highest priority in the plurality of matched adjustment strategies as the corresponding adjustment strategy; the third adjustment strategy set consists of adjustment strategies with the same delivery time of the delivery bill; the fourth set of adjustment policies consists of adjustment policies having the same waybill issue time.
4. The method according to claim 1, wherein the method further comprises:
Setting a timer, adding an adjustment strategy in a database to an adjustment strategy pool according to the timer at regular time, and cleaning the invalid adjustment strategy in the adjustment strategy pool at regular time; and/or the number of the groups of groups,
After the operation of changing the adjustment strategy in the database by the user is monitored, inquiring the changed adjustment strategy from the database, and synchronously updating the adjustment strategy pool according to the changed adjustment strategy.
5. An apparatus for adjusting a waybill configuration parameter, the apparatus comprising:
the determining module is used for determining the waybill information according to the waybill configuration parameter adjustment request after receiving the waybill configuration parameter adjustment request;
the query module is used for querying an adjustment strategy pool in the memory according to the waybill information so as to acquire a corresponding adjustment strategy; the adjustment strategy comprises the following steps: one or more filtering conditions; the method specifically is used for inquiring the adjustment strategies in the adjustment strategy pool according to the waybill information, determining whether the waybill information meets all the filtering conditions corresponding to one adjustment strategy, and if so, taking the adjustment strategy meeting all the filtering conditions as the adjustment strategy corresponding to the waybill information;
and the adjusting module is used for adjusting the configuration parameters related to the waybill according to the corresponding adjusting strategy.
6. The apparatus of claim 5, wherein the waybill configuration parameters comprise waybill distribution timeliness; the adjustment strategy further comprises: parameter adjustment execution rules;
The inquiring module inquires an adjusting strategy pool in the memory according to the waybill information to obtain a corresponding adjusting strategy, wherein the acquiring comprises the following steps: the query module queries a first adjustment strategy set and a second adjustment strategy set in the adjustment strategy pool according to the waybill information respectively; under the condition that a plurality of matched adjustment strategies are inquired out from the first adjustment strategy set and the second adjustment strategy set, the inquiring module takes the adjustment strategy with the highest priority in the plurality of matched adjustment strategies as the corresponding adjustment strategy; the first regulation strategy set consists of a plurality of regulation strategies taking the delivery time of the delivery bill as a filtering condition; the second set of adjustment policies consists of a plurality of adjustment policies that have the waybill issue time as a filter condition.
7. The apparatus of claim 5, wherein the waybill configuration parameters comprise waybill distribution timeliness; the adjustment strategy further comprises: parameter adjustment execution rules;
the inquiring module inquires an adjusting strategy pool in the memory according to the waybill information to obtain a corresponding adjusting strategy, wherein the acquiring comprises the following steps: the query module queries a third adjustment strategy set and a fourth adjustment strategy set in the adjustment strategy pool according to the waybill information respectively; in the case that a plurality of matched adjustment strategies are queried from the third adjustment strategy set and the fourth adjustment strategy set, the query module takes the adjustment strategy with the highest priority in the plurality of matched adjustment strategies as the corresponding adjustment strategy; the third adjustment strategy set consists of adjustment strategies with the same delivery time of the delivery bill; the fourth set of adjustment policies consists of adjustment policies having the same waybill issue time.
8. The apparatus of claim 5, wherein the apparatus further comprises:
The timing scheduling module is used for setting a timer, adding the adjustment strategy in the database to an adjustment strategy pool according to the timing of the timer, and cleaning the invalid adjustment strategy in the adjustment strategy pool at regular time; and/or the number of the groups of groups,
And the synchronous updating module is used for inquiring the changed adjustment strategy from the database after monitoring the operation of changing the adjustment strategy in the database by the user, and synchronously updating the adjustment strategy pool according to the changed adjustment strategy.
9. An electronic device, comprising:
one or more processors;
Storage means for storing one or more programs,
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1 to 4.
10. A computer readable medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements the method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910803374.XA CN112445804B (en) | 2019-08-28 | 2019-08-28 | Method and device for adjusting waybill configuration parameters |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910803374.XA CN112445804B (en) | 2019-08-28 | 2019-08-28 | Method and device for adjusting waybill configuration parameters |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112445804A CN112445804A (en) | 2021-03-05 |
CN112445804B true CN112445804B (en) | 2024-05-17 |
Family
ID=74741067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910803374.XA Active CN112445804B (en) | 2019-08-28 | 2019-08-28 | Method and device for adjusting waybill configuration parameters |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112445804B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103377044A (en) * | 2012-04-24 | 2013-10-30 | 中兴通讯股份有限公司 | Rule generation system, intelligent platform management controller (IPMC) network device and rule generation method |
CN107590186A (en) * | 2017-08-07 | 2018-01-16 | 北京京东尚科信息技术有限公司 | Management and the method and policy engine system for performing data processing policy |
CN109165883A (en) * | 2018-07-03 | 2019-01-08 | 四川驹马科技有限公司 | Based on the vehicle waybill intelligent distribution method and its system that elasticity is integrated |
CN109508842A (en) * | 2017-09-14 | 2019-03-22 | 北京小度信息科技有限公司 | It dispenses transport power and regulates and controls method and apparatus |
CN109697524A (en) * | 2017-10-23 | 2019-04-30 | 顺丰科技有限公司 | Optimization receives and sends part task and resource matched method, system and equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107133752B (en) * | 2016-02-29 | 2022-01-28 | 菜鸟智能物流控股有限公司 | Data processing for logistics distribution, and method and device for logistics distribution based on mobile terminal of distribution party |
-
2019
- 2019-08-28 CN CN201910803374.XA patent/CN112445804B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103377044A (en) * | 2012-04-24 | 2013-10-30 | 中兴通讯股份有限公司 | Rule generation system, intelligent platform management controller (IPMC) network device and rule generation method |
CN107590186A (en) * | 2017-08-07 | 2018-01-16 | 北京京东尚科信息技术有限公司 | Management and the method and policy engine system for performing data processing policy |
CN109508842A (en) * | 2017-09-14 | 2019-03-22 | 北京小度信息科技有限公司 | It dispenses transport power and regulates and controls method and apparatus |
CN109697524A (en) * | 2017-10-23 | 2019-04-30 | 顺丰科技有限公司 | Optimization receives and sends part task and resource matched method, system and equipment |
CN109165883A (en) * | 2018-07-03 | 2019-01-08 | 四川驹马科技有限公司 | Based on the vehicle waybill intelligent distribution method and its system that elasticity is integrated |
Non-Patent Citations (2)
Title |
---|
Design and implementation of the frequency synthesizer in an infrared image processing chip;Gao, Lei;《Harbin Institute of Technology》;20091231;全文 * |
联网中物流配送车辆调度目标定位设计与仿真;冯亮;梁工谦;;计算机仿真;20170415(04);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112445804A (en) | 2021-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107545338B (en) | Service data processing method and service data processing system | |
CN112148711A (en) | Processing method and device for batch processing tasks | |
CN112686418B (en) | Method and device for predicting performance aging | |
CN110321252B (en) | Skill service resource scheduling method and device | |
CN111461383A (en) | Method and device for planning distribution path | |
CN110858197A (en) | Method and device for synchronizing data | |
CN112835904A (en) | Data processing method and data processing device | |
CN112579898A (en) | Enterprise information management method and device and server | |
CN113485806A (en) | Method, device, equipment and computer readable medium for processing task | |
CN113312553B (en) | User tag determining method and device | |
CN110620722B (en) | Order processing method and device | |
CN112445804B (en) | Method and device for adjusting waybill configuration parameters | |
CN108810130B (en) | Method and device for planning distribution request | |
CN113159659A (en) | Method, device, equipment and computer readable medium for updating manifest aging | |
CN112667368A (en) | Task data processing method and device | |
CN113779412B (en) | Message touch method, node and system based on blockchain network | |
CN110555642A (en) | Method and device for determining route starting point | |
CN116861397A (en) | Request processing method, device, electronic equipment and computer readable medium | |
US20130304885A1 (en) | Managing a Subscription Hierarchy in Presence Systems | |
CN112783914B (en) | Method and device for optimizing sentences | |
CN114612212A (en) | Business processing method, device and system based on risk control | |
CN113556370A (en) | Service calling method and device | |
CN110019671B (en) | Method and system for processing real-time message | |
CN112015565A (en) | Method and device for determining task downloading queue | |
CN112788075A (en) | Business service monitoring method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |