CN112445804A - Method and device for adjusting configuration parameters of waybill - Google Patents

Method and device for adjusting configuration parameters of waybill Download PDF

Info

Publication number
CN112445804A
CN112445804A CN201910803374.XA CN201910803374A CN112445804A CN 112445804 A CN112445804 A CN 112445804A CN 201910803374 A CN201910803374 A CN 201910803374A CN 112445804 A CN112445804 A CN 112445804A
Authority
CN
China
Prior art keywords
adjustment
waybill
strategy
adjustment strategy
adjusting
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.)
Granted
Application number
CN201910803374.XA
Other languages
Chinese (zh)
Other versions
CN112445804B (en
Inventor
邹培俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN201910803374.XA priority Critical patent/CN112445804B/en
Publication of CN112445804A publication Critical patent/CN112445804A/en
Application granted granted Critical
Publication of CN112445804B publication Critical patent/CN112445804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping

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 configuration parameters of a waybill, 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 strategies. Through the steps, the configuration parameters of the waybill can be automatically and finely adjusted, and the efficiency and the accuracy of adjusting the configuration parameters of the waybill are improved.

Description

Method and device for adjusting configuration parameters of waybill
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for adjusting configuration parameters of a waybill.
Background
Long-term health development of logistics relies on a rational and efficient logistics plan. The logistics routing planning is a core link in the logistics planning, and a key parameter in the logistics routing planning is the time efficiency. In short, aging is understood to be the time for which the goods are expected to reach the user. Generally, the time efficiency can be calculated based on the logistics routing planning algorithm, and then the operator configures the parameters.
In some cases, an operator is required to adjust configured configuration parameters of the waybill such as the time-effect. For example, due to promotions, weather, and policy meetings, it may be desirable to adjust the age of the affected waybill. Also for example, there may be a need to adjust transit vehicle times in transit for some reasons, adjust the daily sorting throughput of some sorting centers, and so forth. In the prior art, the waybill configuration parameters are mainly adjusted manually by operators.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: as logistics routing planning involves configuration parameters in many aspects, operators are required to adjust a large number of configuration parameters, which has high requirements on the expertise of the operators; in addition, a large number of waybill configuration parameters are manually adjusted, and the problems of low processing efficiency, easy adjustment error, insufficient fine adjustment and the like exist.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for adjusting 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, a method for adjusting waybill configuration parameters is provided.
The method for adjusting configuration parameters of the waybill 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 strategies.
Optionally, the waybill configuration parameters include waybill distribution aging; the adjustment strategy comprises the following steps: one or more filter conditions, and parameter adjustment execution rules; the step of querying an adjustment policy pool in a memory according to the waybill information to obtain a corresponding adjustment policy includes: respectively inquiring a first adjustment strategy set and a second adjustment strategy set in the adjustment strategy pool according to the waybill information; under the condition that a plurality of matched adjusting strategies are inquired from the first adjusting strategy set and the second adjusting strategy set, taking the adjusting strategy with the highest priority in the plurality of matched adjusting strategies as the corresponding adjusting strategy; the first adjustment strategy set is composed of a plurality of adjustment strategies taking the delivery time of the waybill as a filtering condition; the second adjustment strategy set is composed of a plurality of adjustment strategies taking the emission time of the waybill as a filtering condition.
Optionally, the waybill configuration parameters include waybill distribution aging; the adjustment strategy comprises the following steps: one or more filter conditions, and parameter adjustment execution rules; the step of querying an adjustment policy pool in a memory according to the waybill information to obtain a corresponding adjustment policy includes: respectively inquiring a third adjustment strategy set and a fourth adjustment strategy set in the adjustment strategy pool according to the waybill information; under the condition that a plurality of matched adjustment strategies are inquired 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 waybill delivery time; the fourth adjustment strategy set is composed of adjustment strategies with the same waybill issuing time.
Optionally, the method further comprises: setting a timer, adding an adjusting strategy in a database to an adjusting strategy pool according to the timer, and clearing an invalid adjusting strategy in the adjusting strategy pool at regular time; and/or after monitoring the operation of changing the adjustment strategy in the database by the user, 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 waybill configuration parameters.
The device for adjusting configuration parameters of the waybill comprises: the determining module is used for determining waybill information according to the waybill configuration parameter adjusting request after receiving the waybill configuration parameter adjusting request; the query module is used for querying the adjustment strategy pool in the memory according to the waybill information so as to obtain 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 aging; the adjustment strategy comprises the following steps: one or more filter conditions, and parameter adjustment execution rules; the query module queries an adjustment strategy pool in a memory according to the waybill information to obtain a corresponding adjustment strategy, and the query module comprises: 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; when a plurality of matching adjustment strategies are inquired from the first adjustment strategy set and the second adjustment strategy set, the inquiry module takes the adjustment strategy with the highest priority in the plurality of matching adjustment strategies as the corresponding adjustment strategy; the first adjustment strategy set is composed of a plurality of adjustment strategies taking the delivery time of the waybill as a filtering condition; the second adjustment strategy set is composed of a plurality of adjustment strategies taking the emission time of the waybill as a filtering condition.
Optionally, the waybill configuration parameters include waybill distribution aging; the adjustment strategy comprises the following steps: one or more filter conditions, and parameter adjustment execution rules; the query module queries an adjustment strategy pool in a memory according to the waybill information to obtain a corresponding adjustment strategy, and the query module comprises: 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; when a plurality of matching adjustment strategies are inquired from the third adjustment strategy set and the fourth adjustment strategy set, the inquiry module takes the adjustment strategy with the highest priority in the plurality of matching adjustment strategies as the corresponding adjustment strategy; the third adjustment strategy set consists of adjustment strategies with the same waybill delivery time; the fourth adjustment strategy set is composed of adjustment strategies with the same waybill issuing time.
Optionally, the apparatus further comprises: the timing scheduling module is used for setting a timer, adding the adjustment strategies in the database to an adjustment strategy pool according to the timer at regular time and clearing the failed adjustment strategies 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 storage means for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement the method of adjusting waybill configuration parameters of the present invention.
To achieve the above object, according to still another aspect of the present invention, there is provided a computer-readable medium.
The computer-readable medium of the present invention has stored thereon a computer program which, when executed by a processor, implements the method of adjusting waybill configuration parameters of the present invention.
One embodiment of the above invention has the following advantages or benefits: after receiving the 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, so that the configuration parameters related to the waybill can be automatically and finely adjusted, and the efficiency and accuracy of adjusting the waybill configuration parameters are improved.
Further effects of the above-mentioned non-conventional alternatives will be 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 waybill configuration parameters according to an embodiment of the present invention;
FIG. 2 is a schematic main flow chart of a method for adjusting waybill configuration parameters according to another embodiment of the present invention;
FIG. 3 is an exemplary composition diagram of a first set of adjustment policies in an embodiment of the invention;
FIG. 4 is an exemplary composition diagram of a third adjustment policy set in an embodiment of the present invention;
FIG. 5 is a schematic diagram of the main modules of an apparatus for adjusting waybill configuration parameters according to one embodiment of the present invention;
FIG. 6 is a schematic diagram of the main modules of an apparatus for adjusting waybill configuration parameters according to another embodiment of the present invention;
FIG. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
FIG. 8 is a schematic block diagram of a computer system suitable for use with the electronic device to implement an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as 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 should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
Fig. 1 is a schematic main flow chart of a method for adjusting waybill configuration parameters according to an embodiment of the present invention. As shown in fig. 1, the method for adjusting waybill configuration parameters according to the embodiment of the present invention includes:
step S101, after receiving the waybill configuration parameter adjustment request, determining waybill information according to the waybill configuration parameter adjustment request.
Illustratively, after receiving a waybill configuration parameter adjustment request sent by a client, waybill information carried by the waybill configuration parameter adjustment request can be obtained by analyzing the waybill configuration parameter adjustment request. The waybill information can include parameter information such as a waybill number, a current website, waybill sending time, and waybill sending time. For example, a certain waybill configuration parameter adjustment request carries the following waybill information: the waybill number is 'VA 01011011 XX', the current website 'Beijing Tongzhou sorting center', the waybill issue time '2019-03-30', and the waybill delivery time '2019-04-02'.
In addition, during the specific implementation, the database may be queried according to the parameter of the waybill number carried by the waybill configuration parameter adjustment request, so as to query 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 S102, inquiring an adjustment strategy pool in a memory according to the waybill information to obtain a corresponding adjustment strategy.
In this step, an adjustment policy pool in a memory can be queried according to the waybill information, and an adjustment policy corresponding to the waybill information is obtained, so that flexible adjustment of configuration parameters of different waybills in subsequent steps is facilitated.
The adjustment policy pool may be understood as a data structure in the memory for storing the waybill configuration parameter adjustment policy (may be simply referred to as "adjustment policy"). In specific implementation, the adjustment policy pool can be implemented by using a data structure such as a hash (hash) table. Further, the adjusting policy may include: one or more filter conditions, and a parameter adjustment enforcement rule. Wherein the filtering condition can be set according to one or more of the emission time of the freight note, the delivery time of the freight note, the city where the freight note originates, the city where the freight note is destined, the area where the freight note originates, or the city where the freight note is delivered. The parameter adjustment execution rule is an execution rule for adjusting freight note configuration parameters (such as freight note distribution time limit, sorting centers where freight notes pass through and the like) needing to be adjusted.
For example, assuming that the waybill configuration parameters that need to be adjusted are waybill distribution aging, a certain adjustment strategy may include the following two filtering conditions: the delivery time range of the waybill is 2019-04-01 to 2019-04-05, and the origin area of the waybill is North China; and the adjustment policy may include the following parameter adjustment enforcement rules: and the schedule distribution time effect is prolonged by two days.
And S103, adjusting the configuration parameters related to the waybill according to the corresponding adjustment strategies.
For example, if the waybill configuration parameter that needs to be adjusted is the waybill distribution timeliness, and the parameter adjustment execution rule included in the queried adjustment policy corresponding to the waybill information is "extend the waybill distribution timeliness by two days", the configuration parameter of the delivery time of the waybill is extended by two days, for example, the delivery time of the waybill is adjusted from "2019-04-02" to "2019-04-04".
In the embodiment of the invention, after receiving the waybill configuration parameter adjustment request, waybill information is determined according to the waybill configuration parameter adjustment request, an adjustment strategy pool in a memory is inquired according to the waybill information to obtain a 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 waybill configuration parameters are improved.
Fig. 2 is a schematic main flow chart of a method for adjusting waybill configuration parameters according to another embodiment of the present invention. The method of the embodiment of the invention can be executed by a regulation engine (or a device for regulating waybill configuration parameters). As shown in fig. 2, the method for adjusting waybill configuration parameters according to the embodiment of the present invention includes:
step S201, receiving a waybill configuration parameter adjustment request.
In this step, the tuning engine may receive a waybill configuration parameter tuning request sent by the client. After receiving the waybill configuration parameter adjustment request sent by the client, the adjustment engine can obtain waybill information carried by the waybill configuration parameter adjustment request by analyzing the waybill configuration parameter adjustment request. The waybill information can include parameter information such as a waybill number, a current website, waybill sending time, and waybill sending time. For example, a certain waybill configuration parameter adjustment request carries the following waybill information: the waybill number is 'VA 01011011 XX', the current website 'Beijing Tongzhou sorting center', the waybill issue time '2019-03-30', and the waybill delivery time '2019-04-02'.
In addition, in specific implementation, the adjustment engine may also query the database according to the parameter of the waybill number carried by the waybill configuration parameter adjustment request, so as to query 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 step S202, inquiring an 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 the waybill configuration parameter adjustment policy (may be simply referred to as "adjustment policy"). In specific implementation, the adjustment policy pool can be implemented by using a data structure such as a hash (hash) table.
Further, the adjusting policy may include: one or more filter conditions, and a parameter adjustment enforcement rule. Wherein the filtering condition can be set according to one or more of the emission time of the freight note, the delivery time of the freight note, the city where the freight note originates, the city where the freight note is destined, the area where the freight note originates, or the city where the freight note is delivered. The parameter adjustment execution rule is an execution rule for adjusting freight note configuration parameters (such as freight note distribution time limit, sorting centers where freight notes pass through and the like) needing 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, and the first adjustment policy set is composed of a plurality of adjustment policies having waybill arrival time as a filtering condition, and the second adjustment policy set is composed of a plurality of adjustment policies having waybill departure time as a filtering condition. In this optional embodiment, the querying, by the adjustment engine, the adjustment policy pool according to the determined waybill information to obtain an adjustment policy corresponding to the waybill information includes: respectively inquiring a first adjustment strategy set and a second adjustment strategy set in the adjustment strategy pool according to the waybill information; and under the condition that a plurality of matched adjustment strategies are inquired 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 configuration parameters of the waybill to be adjusted are the distribution timeliness of the waybill, the priority of the adjustment strategy with longer delay time can be higher, and the priority with less filtering conditions can be higher if the delay time of the two adjustment strategies is the same.
In another alternative embodiment, the pool of tuning policies includes a third set of tuning policies (as shown in FIG. 4) and a fourth set of tuning policies. The third adjustment strategy set is composed of adjustment strategies with the same waybill delivery time, and the fourth adjustment strategy set is composed of adjustment strategies with the same waybill delivery time. In this optional embodiment, the querying, by the adjustment engine, the adjustment policy pool according to the determined waybill information to obtain an adjustment policy corresponding to the waybill information includes: respectively inquiring a third adjustment strategy set and a fourth adjustment strategy set in the adjustment strategy pool according to the waybill information; and under the condition that a plurality of matched adjustment strategies are inquired 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 filtering condition matching times during the inquiry of the adjustment strategy pool are reduced, and the efficiency of inquiring the adjustment strategy pool is improved.
And step S203, executing an adjusting strategy.
In this step, the adjustment engine may adjust the configuration parameters related to the waybill according to the corresponding adjustment policy. For example, if the waybill configuration parameter that needs to be adjusted is the waybill distribution timeliness, and the parameter adjustment execution rule included in the queried adjustment policy corresponding to the waybill information is "extend the waybill distribution timeliness by two days", the configuration parameter of the delivery time of the waybill is extended by two days, for example, the delivery time of the waybill is adjusted from "2019-04-02" to "2019-04-04".
And step S204, returning an adjusting result.
In this step, the adjustment engine may return the waybill configuration parameter adjustment result to the client.
And step S205, synchronously updating the adjustment strategy pool according to the adjustment strategy changed in the database.
In this step, after monitoring the operation of the user to change the adjustment policy in the database, the adjustment engine may query the changed adjustment policy from the database, and synchronously update the adjustment policy pool according to the changed adjustment policy.
In an alternative embodiment, the reconciliation engine may implement a synchronized update of the reconciliation policy pool via a message publish-subscribe pattern of the message queue. In particular, 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 adjusting engine; when monitoring that the user changes the adjustment strategy in the database, sending an adjustment strategy change message to a message queue, and then broadcasting the adjustment strategy change message to an adjustment engine; then, the adjusting engine inquires the changed adjusting strategy from the database according to the strategy ID (identification) carried by the adjusting strategy changing message, and synchronously updates the adjusting strategy pool according to the changed adjusting strategy.
In another alternative embodiment, the tuning engine may implement a synchronous update of the tuning policy pool via Zookeeper. Specifically, the adjustment engine may monitor a data node of the Zookeeper, where the data node of the Zookeeper may include the following information: an adjustment policy ID (identification), and a last change time of the adjustment policy. And when the user triggers the operation of changing the adjustment strategy in the database, synchronously updating the information in the Zookeeper data node. When monitoring that the information in the data node of the Zookeeper changes, the database can be queried according to the adjustment strategy ID in the changed data node, and the adjustment strategy pool is 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, so that timeliness of management of the adjustment policies in the adjustment policy pool is improved.
And step S206, adding the adjustment strategies in the database to an adjustment strategy pool at regular time, and clearing the failed adjustment strategies at regular time.
In this step, the adjustment strategies in the database can be added to the adjustment strategy pool at regular time by setting a timer, and the adjustment strategies which have failed in the adjustment strategy pool can be cleared at regular time. By adding the adjustment strategy to the adjustment strategy pool at regular time and clearing the failed adjustment strategy at regular time, the problems of excessive data, excessively 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 an exemplary composition diagram of a first adjustment policy set in the embodiment of the present invention. In this example, the waybill configuration parameters that need to be adjusted are waybill dispatch aging. As shown in fig. 3, the first adjustment policy set includes three adjustment policies for degrading waybill distribution timeliness, which are respectively: 1) a spring festival downgrading strategy comprising two filtering conditions (delivery time between 2019-04-01 and 2019-04-04, originating region equal to North China); 2) a 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 aggressive demotion strategy, containing 2 filtering conditions (delivery time between 2019-06-18 and 2019-06-28, destination city equal to Beijing).
Suppose that a certain waybill configuration parameter adjustment request carries the following waybill information: the waybill number "VA 01011011 XX", the current website "beijing china sorting center", the waybill issue time "2019-03-30", and the waybill delivery time "2019-04-02", then the process of querying the first adjustment policy set shown in fig. 3 according to the waybill information may include:
step a, judging whether the waybill information meets all filtering conditions of a first adjustment strategy (spring festival degradation strategy).
In this step, the arrival time of the waybill is compared with the arrival time in the spring festival downgrading strategy to find that the waybill meets the first filtering condition, and the origin area to which the waybill belongs can be inquired as the Chinese 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 this step, the waybill is found to satisfy the first filtering condition by comparing the delivery time of the waybill with the delivery time in the weather reason degradation strategy, 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 satisfies the second filtering condition. It can be seen that the second adjustment strategy (weather cause degradation strategy) is an adjustment strategy matched with the waybill information. And after finding out the adjustment strategy matched with the waybill information, finishing matching, namely not inquiring other adjustment strategies in the first adjustment strategy set.
Fig. 4 is an exemplary composition diagram of a third adjustment policy set in the embodiment of the present invention. In this example, the waybill configuration parameters that need to be adjusted are waybill dispatch aging. As shown in fig. 4, the third adjustment policy set is composed of adjustment policies whose delivery times are all 2019-04-02, and the adjustment policies are respectively: 1) spring festival downgrading strategy, comprising a filtering condition (the originating region is equal to North China); 2) weather cause degradation strategy, comprising a filtering condition (destination area equal to south China).
Suppose that a certain waybill configuration parameter adjustment request carries the following waybill information: the waybill number "VA 01011011 XX", the current website "beijing china sorting center", the waybill issue time "2019-03-30", and the waybill delivery time "2019-04-02", where 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 adjustment strategy (spring festival degradation strategy).
In this step, the origin area to which the waybill belongs can be inquired as the Chinese according to the waybill number of the waybill, and obviously, the waybill does not meet the filtering condition of the spring festival degradation policy. 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 this step, according to the waybill number of the waybill, it can be queried that the destination area to which the waybill belongs is south China, and it is obvious that the waybill meets the filtering condition of the weather reason degradation policy. It can be seen that the second adjustment strategy (weather cause degradation strategy) is an adjustment strategy matched with the waybill information. And after finding the adjustment strategy matched with the waybill information, finishing matching, namely not inquiring other adjustment strategies in the third adjustment strategy set.
Fig. 5 is a schematic diagram of the main modules of the apparatus for adjusting waybill configuration parameters according to an embodiment of the present invention. As shown in fig. 5, the apparatus 500 for adjusting waybill configuration parameters according to the embodiment of the present invention includes: a determination module 501, a query module 502, and an adjustment module 503.
The determining module 501 is configured to determine waybill information according to the waybill configuration parameter adjustment request after receiving the waybill configuration parameter adjustment request.
For example, after receiving an waybill configuration parameter adjustment request sent by a client, the determining module 501 may obtain waybill information carried by the waybill configuration parameter adjustment request by analyzing the waybill configuration parameter adjustment request. The waybill information can include parameter information such as a waybill number, a current website, waybill sending time, and waybill sending time. For example, a certain waybill configuration parameter adjustment request carries the following waybill information: the waybill number is 'VA 01011011 XX', the current website 'Beijing Tongzhou sorting center', the waybill issue time '2019-03-30', and the waybill delivery time '2019-04-02'.
In addition, in specific implementation, the determining module 501 may further query the database according to the parameter of the waybill number carried by the waybill configuration parameter adjustment request, so as to query 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.
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 the adjustment policy corresponding to the waybill information, so as to facilitate flexible adjustment of configuration parameters of different waybills in subsequent processing flows.
The adjustment policy pool may be understood as a data structure in the memory for storing the waybill configuration parameter adjustment policy (may be simply referred to as "adjustment policy"). In specific implementation, the adjustment policy pool can be implemented by using a data structure such as a hash (hash) table. Further, the adjusting policy may include: one or more filter conditions, and a parameter adjustment enforcement rule. Wherein the filtering condition can be set according to one or more of the emission time of the freight note, the delivery time of the freight note, the city where the freight note originates, the city where the freight note is destined, the area where the freight note originates, or the city where the freight note is delivered. The parameter adjustment execution rule is an execution rule for adjusting freight note configuration parameters (such as freight note distribution time limit, sorting centers where freight notes pass through and the like) needing to be adjusted.
For example, assuming that the waybill configuration parameters that need to be adjusted are waybill distribution aging, a certain adjustment strategy may include the following two filtering conditions: the delivery time range of the waybill is 2019-04-01 to 2019-04-05, and the origin area of the waybill is North China; and the adjustment policy may include the following parameter adjustment enforcement rules: and the schedule distribution time effect is prolonged by two days.
An adjusting module 503, configured to adjust the configuration parameters related to the waybill according to the corresponding adjusting policy.
For example, if the waybill configuration parameter that needs to be adjusted is the waybill distribution timeliness, and the parameter adjustment execution rule included in the queried adjustment policy corresponding to the waybill information is "extend the waybill distribution timeliness by two days", the adjustment module 503 extends the configuration parameter of the delivery time of the waybill by two days, for example, the delivery time of the waybill is adjusted from "2019-04-02" to "2019-04-04".
In the device provided by the embodiment of the invention, after receiving the waybill configuration parameter adjustment request, the determination module determines waybill information 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 a 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 accuracy of adjusting the waybill configuration parameters are improved.
Fig. 6 is a schematic diagram of main modules of an apparatus for adjusting waybill configuration parameters according to another embodiment of the present invention. As shown in fig. 6, the apparatus 600 for adjusting waybill configuration parameters according to the embodiment of the present invention includes: a determination module 601, a query module 602, an adjustment module 603, a timing scheduling module 604, and a synchronization update module 605.
The determining module 601 is configured to determine waybill information according to the waybill configuration parameter adjustment request after receiving the waybill configuration parameter adjustment request.
For example, after receiving an waybill configuration parameter adjustment request sent by a client, the determining module 601 may obtain waybill information carried by the waybill configuration parameter adjustment request by analyzing the waybill configuration parameter adjustment request. The waybill information can include parameter information such as a waybill number, a current website, waybill sending time, and waybill sending time. For example, a certain waybill configuration parameter adjustment request carries the following waybill information: the waybill number is 'VA 01011011 XX', the current website 'Beijing Tongzhou sorting center', the waybill issue time '2019-03-30', and the waybill delivery time '2019-04-02'. In addition, in specific implementation, the determining module 601 may further query the database according to the parameter of the waybill number carried by the waybill configuration parameter adjustment request, so as to query 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.
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 the waybill configuration parameter adjustment policy (may be simply referred to as "adjustment policy"). In specific implementation, the adjustment policy pool can be implemented by using a data structure such as a hash (hash) table.
Further, the adjusting policy may include: one or more filter conditions, and a parameter adjustment enforcement rule. Wherein the filtering condition can be set according to one or more of the emission time of the freight note, the delivery time of the freight note, the city where the freight note originates, the city where the freight note is destined, the area where the freight note originates, or the city where the freight note is delivered. The parameter adjustment execution rule is an execution rule for adjusting freight note configuration parameters (such as freight note distribution time limit, sorting centers where freight notes pass through and the like) needing 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, and the first adjustment policy set is composed of a plurality of adjustment policies having waybill arrival time as a filtering condition, and the second adjustment policy set is composed of a plurality of adjustment policies having waybill departure time as a filtering condition. In this optional embodiment, the querying module 602 queries the adjustment policy pool according to the determined waybill information, so as to obtain an adjustment policy corresponding to the waybill information includes: respectively inquiring a first adjustment strategy set and a second adjustment strategy set in the adjustment strategy pool according to the waybill information; and under the condition that a plurality of matched adjustment strategies are inquired 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 configuration parameters of the waybill to be adjusted are the distribution timeliness of the waybill, the priority of the adjustment strategy with longer delay time can be higher, and the priority with less filtering conditions can be higher if the delay time of the two adjustment strategies is the same.
In another alternative embodiment, the pool of tuning policies includes a third set of tuning policies (as shown in FIG. 4) and a fourth set of tuning policies. The third adjustment strategy set is composed of adjustment strategies with the same waybill delivery time, and the fourth adjustment strategy set is composed of adjustment strategies with the same waybill delivery time. In this optional embodiment, the querying module 602 queries the adjustment policy pool according to the determined waybill information, so as to obtain an adjustment policy corresponding to the waybill information includes: respectively inquiring a third adjustment strategy set and a fourth adjustment strategy set in the adjustment strategy pool according to the waybill information; and under the condition that a plurality of matched adjustment strategies are inquired 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 filtering condition matching times during the inquiry of the adjustment strategy pool are reduced, and the efficiency of inquiring the adjustment strategy pool is improved.
An adjusting module 603, configured to adjust the configuration parameters related to the waybill according to the corresponding adjusting policy.
Specifically, the adjusting module 603 may adjust the configuration parameters related to the waybill according to the corresponding adjusting policy. For example, assuming that the waybill configuration parameter to be adjusted is the waybill distribution timeliness, and the parameter adjustment execution rule included in the queried adjustment policy corresponding to the waybill information is "extend the waybill distribution timeliness by two days", the adjustment module 603 extends the configuration parameter of the delivery time of the waybill by two days, for example, the delivery time of the waybill is adjusted from "2019-04-02" to "2019-04-04".
The timing scheduling module 604 is configured to set a timer, add an adjustment policy in the database to the adjustment policy pool according to the timer, and clear an adjustment policy that has failed in the adjustment policy pool at a regular time. By adding the adjustment strategy to the adjustment strategy pool at regular time and clearing the failed adjustment strategy at regular time, the problems of excessive data, excessively slow query speed and the like of the adjustment strategy pool can be effectively avoided.
A synchronous update module 605, configured to, after monitoring that a user changes an adjustment policy in a database, query the changed adjustment policy from the database, and update the adjustment policy pool synchronously according to the changed adjustment policy.
In an alternative embodiment, the synchronization update module 605 may implement a synchronization update of the reconciliation policy pool via a message publish-subscribe pattern of the message queue. In particular, the subscription to the message in the message queue can be realized by adding the relevant configuration information of the message queue in the configuration file; when monitoring that the user changes the adjustment strategy in the database, sending an adjustment strategy change message to a message queue, and then broadcasting the adjustment strategy change message to an adjustment engine; then, the adjusting engine inquires the changed adjusting strategy from the database according to the strategy ID (identification) carried by the adjusting strategy changing message, and synchronously updates the adjusting strategy pool according to the changed adjusting strategy.
In another alternative embodiment, the synchronization update module 605 may implement the synchronization update of the adjustment policy pool through Zookeeper. Specifically, the data node of the Zookeeper may be monitored, where the data node of the Zookeeper may include the following information: an adjustment policy ID (identification), and a 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 monitoring that the information in the data node of the Zookeeper changes, the database can be queried according to the adjustment strategy ID in the changed data node, and the adjustment strategy pool is synchronously updated according to the queried changed adjustment strategy.
By arranging the synchronous updating module, the adjustment strategy pool can be updated synchronously, and the timeliness of the 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 to which the method for adjusting waybill configuration parameters or the apparatus for adjusting waybill configuration parameters of the embodiments of the present invention may be applied.
As shown in fig. 7, the system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 serves to provide a medium for communication links between the terminal devices 701, 702, 703 and the server 705. Network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 701, 702, 703 to interact with a server 705 over a network 704, to receive or send messages or the like. Various client applications, such as a warehouse management application, a shopping application, a web browser application, a search 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 smart phones, tablet computers, laptop portable computers, 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 users using the terminal devices 701, 702, 703. The background management server may analyze and perform other processing on the received data such as the request for adjusting the waybill configuration parameters, and feed back a processing result (e.g., a waybill configuration parameter adjustment result) to the terminal device.
It should be noted that the method for adjusting waybill configuration parameters provided in the embodiment of the present invention is generally executed by the server 705, and accordingly, the apparatus for adjusting 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, shown is a block diagram of a computer system 800 suitable for use in implementing an electronic device of an embodiment of the present invention. The computer system illustrated in FIG. 8 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the 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 in accordance with 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 necessary for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and 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. A drive 810 is also connected to the I/O interface 805 as necessary. 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 necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the 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 illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program executes the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 present invention, 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, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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 flowchart 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 described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a determination module, a query module, and an adjustment module. The names of these modules do not in some cases constitute a limitation on the module itself, for example, the determination module may also be described as a "module for determining waybill information".
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 separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, 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 strategies.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for adjusting waybill configuration parameters, 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;
and adjusting the configuration parameters related to the waybill according to the corresponding adjustment strategies.
2. The method of claim 1, wherein the waybill configuration parameters include waybill dispatch aging; the adjustment strategy comprises the following steps: one or more filter conditions, and parameter adjustment execution rules;
the step of querying an adjustment policy pool in a memory according to the waybill information to obtain a corresponding adjustment policy includes: respectively inquiring a first adjustment strategy set and a second adjustment strategy set in the adjustment strategy pool according to the waybill information; under the condition that a plurality of matched adjusting strategies are inquired from the first adjusting strategy set and the second adjusting strategy set, taking the adjusting strategy with the highest priority in the plurality of matched adjusting strategies as the corresponding adjusting strategy; the first adjustment strategy set is composed of a plurality of adjustment strategies taking the delivery time of the waybill as a filtering condition; the second adjustment strategy set is composed of a plurality of adjustment strategies taking the emission time of the waybill as a filtering condition.
3. The method of claim 1, wherein the waybill configuration parameters include waybill dispatch aging; the adjustment strategy comprises the following steps: one or more filter conditions, and parameter adjustment execution rules;
the step of querying an adjustment policy pool in a memory according to the waybill information to obtain a corresponding adjustment policy includes: respectively inquiring a third adjustment strategy set and a fourth adjustment strategy set in the adjustment strategy pool according to the waybill information; under the condition that a plurality of matched adjustment strategies are inquired 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 waybill delivery time; the fourth adjustment strategy set is composed of adjustment strategies with the same waybill issuing time.
4. The method of claim 1, further comprising:
setting a timer, adding an adjusting strategy in a database to an adjusting strategy pool according to the timer, and clearing an invalid adjusting strategy in the adjusting strategy pool at regular time; and/or the presence of a gas in the gas,
after monitoring the operation of changing the adjustment strategy in the database by a user, 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 waybill configuration parameters, the apparatus comprising:
the determining module is used for determining waybill information according to the waybill configuration parameter adjusting request after receiving the waybill configuration parameter adjusting request;
the query module is used for querying the adjustment strategy pool in the memory according to the waybill information so as to obtain 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.
6. The apparatus of claim 5, wherein the waybill configuration parameters include waybill dispatch aging; the adjustment strategy comprises the following steps: one or more filter conditions, and parameter adjustment execution rules;
the query module queries an adjustment strategy pool in a memory according to the waybill information to obtain a corresponding adjustment strategy, and the query module comprises: 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; when a plurality of matching adjustment strategies are inquired from the first adjustment strategy set and the second adjustment strategy set, the inquiry module takes the adjustment strategy with the highest priority in the plurality of matching adjustment strategies as the corresponding adjustment strategy; the first adjustment strategy set is composed of a plurality of adjustment strategies taking the delivery time of the waybill as a filtering condition; the second adjustment strategy set is composed of a plurality of adjustment strategies taking the emission time of the waybill as a filtering condition.
7. The apparatus of claim 5, wherein the waybill configuration parameters include waybill dispatch aging; the adjustment strategy comprises the following steps: one or more filter conditions, and parameter adjustment execution rules;
the query module queries an adjustment strategy pool in a memory according to the waybill information to obtain a corresponding adjustment strategy, and the query module comprises: 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; when a plurality of matching adjustment strategies are inquired from the third adjustment strategy set and the fourth adjustment strategy set, the inquiry module takes the adjustment strategy with the highest priority in the plurality of matching adjustment strategies as the corresponding adjustment strategy; the third adjustment strategy set consists of adjustment strategies with the same waybill delivery time; the fourth adjustment strategy set is composed of adjustment strategies with the same waybill issuing time.
8. The apparatus of claim 5, further comprising:
the timing scheduling module is used for setting a timer, adding the adjustment strategies in the database to an adjustment strategy pool according to the timer at regular time and clearing the failed adjustment strategies in the adjustment strategy pool at regular time; and/or the presence of a gas in the gas,
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;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
10. A computer-readable medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of any one of claims 1 to 4.
CN201910803374.XA 2019-08-28 2019-08-28 Method and device for adjusting waybill configuration parameters Active CN112445804B (en)

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 true CN112445804A (en) 2021-03-05
CN112445804B 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 (6)

* Cited by examiner, † Cited by third party
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
US20180365638A1 (en) * 2016-02-29 2018-12-20 Cainiao Smart Logistics Holding Limited Method and device for processing data in logistics and distribution, and courier mobile terminal-based logistics and distribution method and device
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
US20180365638A1 (en) * 2016-02-29 2018-12-20 Cainiao Smart Logistics Holding Limited Method and device for processing data in logistics and distribution, and courier mobile terminal-based logistics and distribution method and device
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)

* Cited by examiner, † Cited by third party
Title
GAO, LEI: "Design and implementation of the frequency synthesizer in an infrared image processing chip", 《HARBIN INSTITUTE OF TECHNOLOGY》, 31 December 2009 (2009-12-31) *
冯亮;梁工谦;: "联网中物流配送车辆调度目标定位设计与仿真", 计算机仿真, no. 04, 15 April 2017 (2017-04-15) *

Also Published As

Publication number Publication date
CN112445804B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
CN109684358B (en) Data query method and device
CN110019211A (en) The methods, devices and systems of association index
CN110321252B (en) Skill service resource scheduling method and device
CN110858197A (en) Method and device for synchronizing data
CN112686418A (en) Method and device for predicting performance timeliness
CN107819745B (en) Method and device for defending against abnormal traffic
CN111044062B (en) Path planning and recommending method and device
CN105335313A (en) Basic data transmission method and apparatus
CN108985805B (en) Method and device for selectively executing push task
CN113190558A (en) Data processing method and system
CN110858332A (en) Order production method and device
CN113077106A (en) Time window-based article transportation method and device
CN108810130B (en) Method and device for planning distribution request
CN112667368A (en) Task data processing method and device
CN112445804B (en) Method and device for adjusting waybill configuration parameters
CN116185578A (en) Scheduling method of computing task and executing method of computing task
CN116861397A (en) Request processing method, device, electronic equipment and computer readable medium
CN113806047A (en) Data operation optimization processing method and device
CN113762835A (en) Method and device for processing order data
CN113537676A (en) Method and device for determining completion time of transportation task
CN112862554A (en) Order data processing method and device
CN113159659A (en) Method, device, equipment and computer readable medium for updating manifest aging
CN112015565A (en) Method and device for determining task downloading queue
CN113111119B (en) Method and device for operating data
CN112307060B (en) Method and device for processing picking task

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