CN112101837A - Method and device for generating express waybill, electronic equipment and storage medium - Google Patents

Method and device for generating express waybill, electronic equipment and storage medium Download PDF

Info

Publication number
CN112101837A
CN112101837A CN202010316193.7A CN202010316193A CN112101837A CN 112101837 A CN112101837 A CN 112101837A CN 202010316193 A CN202010316193 A CN 202010316193A CN 112101837 A CN112101837 A CN 112101837A
Authority
CN
China
Prior art keywords
logistics
object set
parcel
generating
objects
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.)
Pending
Application number
CN202010316193.7A
Other languages
Chinese (zh)
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.)
Shanghai Xunmeng Information Technology Co Ltd
Original Assignee
Shanghai Xunmeng 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 Shanghai Xunmeng Information Technology Co Ltd filed Critical Shanghai Xunmeng Information Technology Co Ltd
Priority to CN202010316193.7A priority Critical patent/CN112101837A/en
Publication of CN112101837A publication Critical patent/CN112101837A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method and a device for generating an express waybill, electronic equipment and a storage medium, wherein the method for generating the express waybill comprises the following steps: acquiring at least one order with the same recipient identification; generating a logistics object set according to the logistics objects included in the at least one order; based on the limited physical parameters of preset packages, splitting the logistics object set into at least one package object set at least according to the first physical parameters of the logistics objects in the logistics object set, wherein the package object set corresponds to one physical package; and generating at least one express bill according to the at least one parcel object set, wherein the number of the express bills is the same as that of the parcel object sets. The invention provides a method, a device, electronic equipment and a storage medium for generating an express waybill, so that unified and automatic flow management is realized on the express waybill, the labor cost is reduced, and the delivery flow is simplified.

Description

Method and device for generating express waybill, electronic equipment and storage medium
Technical Field
The invention relates to the field of computer application, in particular to a method and a device for generating an express bill, electronic equipment and a storage medium.
Background
Currently, e-commerce sellers typically ship goods after receiving a buyer order as follows: firstly, a goods picking order and an express delivery order are respectively generated for each order of a seller, and manual goods picking is carried out according to the goods picking orders. Then, in the process of picking up goods, if a plurality of orders of the same addressee are found, manual package combination operation is needed, and according to the package combination result, express bills are added or deleted manually, so that express delivery is carried out. In the whole operation process, the express delivery order and the order picking order are not unified and automated, more manpower is needed, the delivery process is more complicated, and the error rate is higher. Meanwhile, waste of paper picking orders and paper express delivery orders can be caused.
Therefore, how to implement unified and automatic flow management on the express waybills (and the pick-up waybills) so as to reduce labor cost and simplify the delivery flow is a technical problem to be solved urgently by technical personnel in the field.
Disclosure of Invention
In order to overcome the defects of the related technologies, the invention provides a method, a device, electronic equipment and a storage medium for generating an express waybill, so that unified and automatic flow management is realized on the express waybill, thereby reducing the labor cost and simplifying the delivery flow.
According to one aspect of the invention, a method for generating an express waybill is provided, which comprises the following steps:
acquiring at least one order with the same recipient identification;
generating a logistics object set according to the logistics objects included in the at least one order;
based on the limited physical parameters of preset packages, splitting the logistics object set into at least one package object set at least according to the first physical parameters of the logistics objects in the logistics object set, wherein the package object set corresponds to one physical package; and
and generating at least one express bill according to the at least one parcel object set, wherein the number of the express bills is the same as that of the parcel object sets.
In some embodiments of the present invention, the splitting the logistics object set into at least one parcel object set according to at least a first physical parameter of a logistics object in the logistics object set based on a limiting physical parameter of a preset parcel comprises:
sorting the logistics objects in the logistics object set according to at least one second physical parameter of the logistics objects, and sequentially determining the packaging object set to which the logistics objects are added according to the sorting order so as to split the logistics object set into at least one packaging object set.
In some embodiments of the present invention, said sequentially determining the set of parcel objects to which the logistics object is added based on the sorting order comprises:
according to the sorting sequence, the following steps are sequentially executed for each logistics object:
adding the current logistics object into a quasi-package object set;
judging whether the first physical parameters of all physical objects in the quasi-wrapped object set exceed the preset wrapped limit physical parameters or not if the current logistics object is added into the quasi-wrapped object set;
if yes, then:
taking the set of quasi-wrapped objects as the set of wrapped objects; and
adding the current logistics object into a newly generated quasi-wrapped object set;
if not, then:
adding the current logistics object into the quasi-parcel object set;
and according to the sorting sequence, taking the next logistics object as the current logistics object.
In some embodiments of the present invention, the sorting logistics objects in the logistics object set according to at least one second physical parameter of the logistics object, and sequentially determining, according to the sorting order, a parcel object set to which the logistics object is added, so as to split the logistics object set into at least one parcel object set includes:
sorting the logistics objects in the logistics object set according to a plurality of second physical parameters of the logistics objects respectively to obtain a plurality of sorting sequences;
determining a parcel object set added by the logistics objects in sequence according to the plurality of sequencing orders respectively to obtain a plurality of splitting modes of the parcel object set;
and splitting the logistics object set into at least one parcel object set according to the splitting mode with the least number of parcel object sets in the splitting modes of the plurality of parcel object sets.
In some embodiments of the invention, the second physical parameter comprises mass and/or volume.
In some embodiments of the present invention, after the generating a logistics object set according to the logistics object included in the at least one order, and before the splitting the logistics object set into at least one parcel object set at least according to the first physical parameter of the logistics object in the logistics object set based on the limited physical parameter of the preset parcel, further includes:
judging whether the sum of the first physical parameters of the logistics objects in the logistics object set is greater than the limiting physical parameter or not;
if so, executing a step of splitting the logistics object set into at least one wrapping object set at least according to a first physical parameter of a logistics object in the logistics object set based on a limited physical parameter of a preset wrapping.
In some embodiments of the present invention, the splitting the logistics object set into at least one parcel object set according to at least a first physical parameter of a logistics object in the logistics object set based on a limiting physical parameter of a preset parcel comprises:
according to object classification, splitting the logistics object set into at least one sub-logistics object set, and for the at least one sub-logistics object set, splitting the sub-logistics object set into at least one wrapped object set at least according to a first physical parameter of a logistics object in the sub-logistics object set based on a preset wrapped limited physical parameter.
In some embodiments of the invention, the courier slip comprises a logistics object area, and the generating at least one courier slip from the at least one parcel object set comprises:
acquiring an order number of a source order of each logistics object in the package object set;
and displaying logistics object information of each logistics object in the package object set and an order number of a source order in the logistics object area.
In some embodiments of the present invention, when a logistics object of the same source order belongs to a plurality of parcel object sets, the plurality of parcel object sets have a parcel serial number associated with the source order, the courier sheet includes a logistics object area, and generating at least one courier sheet according to the at least one parcel object set further includes:
and displaying the package serial number and the source number of the associated source order together in the logistics object area.
In some embodiments of the present invention, the generating at least one parcel post from the at least one set of parcel objects further comprises:
and generating a goods picking order according to the express delivery order.
In some embodiments of the present invention, the generating at least one parcel post from the at least one set of parcel objects further comprises:
and printing the at least one express bill, and multiplexing the express bill into a pick-up order.
In some embodiments of the invention, the recipient identification is an encoded value obtained by transforming the recipient information via an encoding algorithm.
In some embodiments of the invention, the recipient information includes at least a recipient address after being processed via standardization.
In some embodiments of the invention, the recipient information further comprises a recipient name and/or a recipient phone.
In some embodiments of the invention, the first physical parameter and the limiting physical parameter comprise mass and volume.
According to another aspect of the present invention, there is also provided an apparatus for generating a courier receipt, including:
the acquisition module is configured to acquire at least one order with the same recipient identification;
the first generation module is configured to generate a logistics object set according to the logistics objects included in the at least one order;
the splitting module is configured to split the logistics object set into at least one wrapping object set at least according to a first physical parameter of a logistics object in the logistics object set based on a limiting physical parameter of a preset wrapping, and the wrapping object set corresponds to a physical wrapping; and
and the second generation module is configured to generate at least one express bill according to the at least one parcel object set, wherein the number of the express bills is the same as that of the parcel object sets.
According to still another aspect of the present invention, there is also provided an electronic apparatus, including: a processor; a storage medium having stored thereon a computer program which, when executed by the processor, performs the steps as described above.
According to yet another aspect of the present invention, there is also provided a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps as described above.
Compared with the prior art, the invention has the advantages that:
according to the method and the system, the physical parameters of the logistics objects in the order are used for automatically realizing the operation of order combination and order division of the package, and the express bill is generated according to the automatic order combination and order division result, so that unified and automatic flow management is realized on the express bill, the labor cost is reduced, and the delivery flow is simplified. Meanwhile, waste of paper express bills is reduced.
Drawings
The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
Fig. 1 shows a flowchart of a method for generating an express waybill according to an embodiment of the present invention.
Fig. 2 shows a flowchart for splitting the logistics object set into at least one parcel object set according to a specific embodiment of the present invention.
Fig. 3 shows a flow chart for determining a set of parcel objects to which the logistics object is added according to a specific embodiment of the present invention.
Fig. 4 shows a flow diagram of a splitting scheme for determining a set of logistics objects according to various sorting orders, according to an embodiment of the invention.
Fig. 5 illustrates a flowchart of generating at least one courier slip from the at least one set of parcel objects, according to an embodiment of the invention.
Fig. 6 is a block diagram illustrating an apparatus for generating a courier note according to an embodiment of the present invention.
Fig. 7 schematically illustrates a computer-readable storage medium in an exemplary embodiment of the invention.
Fig. 8 schematically illustrates an electronic device in an exemplary embodiment of the invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the steps. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
In various embodiments of the present invention, the present invention is applied in a logistics scenario. Specifically, the method for generating the express waybill and the related equipment provided by the invention can be laid out on the terminal equipment of the merchant, so that the express waybill is generated for the order delivered by the merchant. The method for generating the express waybill and the related equipment provided by the invention can also be distributed on terminal equipment of an e-commerce platform with a plurality of merchants, so that the express waybill is generated for the order delivered by the e-commerce platform. The invention is not so limited.
In various embodiments of the present invention, the "logistics object" represents any item that is sent by a mail user to a recipient user through a logistics company via a transportation process.
Fig. 1 shows a flowchart of a method for generating an express waybill according to an embodiment of the present invention. The method for generating the express waybill comprises the following steps:
step S110: at least one order with the same recipient identification is obtained.
In particular, the recipient is identified as an encoded value that the recipient information can obtain via an encoding algorithm transformation. The encoding algorithm may be, for example, a hash algorithm, whereby a hash value of the recipient information may be obtained from the recipient information as the recipient identification. Through the hash algorithm, on one hand, the data volume of the recipient information can be reduced, so that the matching rate of the same recipient identification is accelerated, and meanwhile, the data storage requirement of the recipient identification is reduced. The invention is not limited by this, and the encoding algorithm may be other encoding algorithms that can reduce the number of the addressee information, encoding algorithms that can convert the addressee information into characters that can be matched, encoding algorithms with encryption function, and the like.
Specifically, since the present invention requires merging and splitting of packages in the following steps, it is necessary to identify recipient users of the same recipient address by recipient identification. The recipient information thus includes the recipient address. Further, considering that the same recipient address may have different expressions (for example, some recipient addresses are expressed by road names and house numbers; some recipient addresses are expressed by names of buildings; some recipient addresses omit administrative districts where the addresses are located, etc.), before the coding algorithm is performed, the recipient addresses need to be standardized so that the same recipient address has the same expression. The normalization may be accomplished, for example, by a normalized address template of the system content that is populated with keywords selected from the recipient address provided by the user. In the process of standardization, different expressions with the same meaning can be unified and converted by means of a mapping table. The present invention can also implement more different standardized processing modes, which are not described herein.
Further, in order to avoid merging and splitting of orders of different addressees of the same addressee, the addressee information further comprises an addressee name and/or an addressee phone, and therefore the addressee is identified by combining the addressee name and/or the addressee phone with the addressee.
In a further implementation of the above embodiment, considering that there are multiple recipients at the same address in an office building, and the same address is usually the same recipient in a residential building (even though there are different recipients, the merged package can be received in practice), it can be further determined whether the recipient name and/or the recipient phone needs to be coded together according to the address type of the recipient address. For example, if the address of the receiver is an office building, the name and/or the telephone of the receiver are coded and identified; if the address of the receiver is a residential building, the name and/or the telephone number of the receiver do not need to be coded and identified together. Therefore, by determining different coding objects under different conditions, the system coding efficiency is further improved and the storage capacity required by recipient identification is reduced on the premise of ensuring that the recipient can accept the combination and the separation of the packages.
Further, in general, in consideration of express aging, when the time difference between the generation times of the orders identified by the same recipient is too long (for example, more than 1 week), the two orders are not usually merged and split. Therefore, in some embodiments of the present invention, when the time difference between the generation times of the multiple orders is smaller than a certain time threshold (e.g. half a day, 1 day, 2 days, etc.), the logistics objects of the multiple orders need to be split and merged, in which case the recipient identifiers for matching can be cached and automatically cleared after the aforementioned time threshold, so that no more storage capacity of the system needs to be occupied. In this embodiment, in consideration of the case of warehouse replenishment, it may be replaced with "the time difference between the generation times of the plurality of orders is smaller than the certain time threshold" that "the time difference between the shipment preparation times of the plurality of orders is smaller than the certain time threshold, and the shipment preparation time indicates that all the logistics objects related to the order are in stock". The present invention may also implement more variations, which are not described again.
Step S120: and generating a logistics object set according to the logistics objects included in the at least one order.
Specifically, when there is only one order, the order includes the physical distribution object a, the physical distribution object B, and the physical distribution object C, and the physical distribution object set { the physical distribution object a, the physical distribution object B, and the physical distribution object C } is generated according to the physical distribution object a, the physical distribution object B, and the physical distribution object C included in the order.
When there are a plurality of orders, for example, the order 1 includes a physical distribution object a, a physical distribution object B, and a physical distribution object C; and if the order 2 comprises a logistics object D, a logistics object E and a logistics object F, generating a logistics object set { logistics object A, logistics object B, logistics object C, logistics object D, logistics object E and logistics object F } according to the logistics object A, logistics object B and logistics object C included in the order 1 and the logistics object D, logistics object E and logistics object F included in the order 2.
Furthermore, as the logistics object set in the invention needs to be divided into packages, the same two articles in the same order need to be taken as different logistics objects; the same two items in different orders also need to be different logistics objects.
Step S130: based on the limited physical parameters of preset packages, splitting the logistics object set into at least one package object set according to at least the first physical parameters of the logistics objects in the logistics object set, wherein the package object set corresponds to one physical package.
Specifically, step S130 is implemented automatically by the system without manual operation.
Specifically, the logistics objects in the parcel object set determined in step S130 are to be packed together for shipment as one physical parcel.
Further, during package splitting and merging, the physical parameters that limit the splitting and merging may include mass and volume. In other words, the sum of the mass of each logistics object in the parcel object set determined as the same physical parcel needs to be less than or equal to the preset mass of the physical parcel; and the sum of the volumes of the logistics objects in the parcel object set determined as the same physical parcel is determined to be less than or equal to the preset volume physically included, so that reasonable parcel division is realized, the actual parcel of the subsequent logistics objects is facilitated, and the condition that the parcel is damaged due to the overweight of the logistics objects in the same parcel in the transportation process of the logistics objects is prevented. Further, in some embodiments of the present invention, the volume of the logistics object can be the actual volume of the logistics object. In other embodiments of the invention, the volume of the logistics object may be, for example, an equivalent volume of the logistics object, taking into account that the logistics object may be irregularly shaped. The equivalent volume may refer to the volume of the smallest cuboid containing the logistics object, and the invention is not limited thereto, and other equivalent volume calculation methods are also within the protection scope of the invention.
Step S140: and generating at least one express bill according to the at least one parcel object set, wherein the number of the express bills is the same as that of the parcel object sets.
Specifically, step S140 generates an express bill for each physical package, so that the express bill is printed and attached to the physical package.
According to the method for generating the express waybills, the operation of the order combination and the order division of the packages is automatically realized through the physical parameters of the logistics objects in the orders, and the express waybills are generated according to the automatic order combination and order division results, so that unified and automatic flow management is realized on the express waybills, the labor cost is reduced, and the delivery flow is simplified. Meanwhile, waste of paper express bills is reduced.
In some embodiments of the present invention, step S130 in fig. 1: splitting the logistics object set into at least one parcel object set according to at least the first physical parameter of the logistics object in the logistics object set based on the limited physical parameter of the preset parcel can be realized by the flowchart shown in fig. 2. Fig. 2 shows the following steps together:
step S131: and sequencing the logistics objects in the logistics object set according to at least one second physical parameter of the logistics objects.
Step S132: and sequentially determining the packaging object sets added by the logistics objects according to the sorting sequence so as to split the logistics object sets into at least one packaging object set.
Specifically, in this embodiment, the second physical parameter is used for sorting, and the first physical parameter is used for determining the set of parcel objects to which the logistics object is added. In the present embodiment, the logistics objects are sorted by the second physical parameter, thereby facilitating determination of the order of executing the logistics objects of step S132, facilitating management of the logistics objects, and improving data processing speed and processing efficiency.
Specifically, the step S132 may sequentially determine the parcel object sets to which the logistics objects are added based on the sorting order by using the flowchart shown in fig. 3. Fig. 3 shows the steps performed for each logistics object:
step S1321: adding the current logistics object into a quasi-package object set.
Step S1322: and judging whether the first physical parameters of the physical objects in the quasi-wrapped object set exceed the preset wrapped limit physical parameters or not if the current logistics object is added into the quasi-wrapped object set.
Step S1322 is configured to make the sum of the qualities of the logistics objects in the same physically wrapped object set smaller than or equal to a preset quality physically included; and the sum of the volumes of the logistics objects in the same physical parcel object set is less than or equal to the preset volume physically included.
And if the first physical parameter of each physical object in the quasi-parcel object set exceeds the limit physical parameter of the preset parcel if the current logistics object is added into the quasi-parcel object set, executing step S1323 and step S1324.
Step S1323: and taking the quasi-wrapped object set as the wrapped object set.
Step S1324: and adding the current logistics object into a newly generated quasi-wrapped object set.
And if it is determined that the first physical parameter of each physical object in the quasi-parcel object set does not exceed the limited physical parameter of the preset parcel if the current logistics object is added to the quasi-parcel object set, executing step S1325.
Step S1325: adding the current logistics object to the set of quasi-wrapped objects.
After step S1324 and after step S1325, step S1326 is executed: and according to the sorting sequence, taking the next logistics object as the current logistics object.
Therefore, all the logistics objects in the logistics object set are processed according to the steps.
In a specific implementation of the foregoing embodiment, the second physical parameter may be a volume of the logistics object, and thus, the logistics objects are sorted only by the volume of the logistics object, so as to perform the operations in steps S1321 to S1326, and the simulation algorithm for package merging and splitting is simple and has high execution efficiency. In another specific implementation of the foregoing embodiment, the second physical parameter may be the quality of the logistics objects, and thus, the logistics objects are sorted only by the quality of the logistics objects, so as to perform the operations of step S1321 to step S1326, and the simulation algorithm for package merging and splitting is simple and has high execution efficiency.
In another implementation of the above embodiment, the second physical parameter may include a mass of the logistics object and a volume of the logistics object, whereby there will be two orders of the logistics objects in step S131. In this implementation step S131 and step S132 may be implemented by a flowchart as shown in fig. 4. Fig. 4 shows the following steps in total:
step S1327: and sorting the logistics objects in the logistics object set according to a plurality of second physical parameters of the logistics objects respectively to obtain a plurality of sorting sequences.
Step S1328: and sequentially determining the parcel object sets added by the logistics objects according to the plurality of sequencing orders respectively to obtain a plurality of splitting modes of the parcel object sets.
Step S1329: and splitting the logistics object set into at least one parcel object set according to the splitting mode with the least number of parcel object sets in the splitting modes of the plurality of parcel object sets.
Therefore, different sorting sequences can be realized through multiple second physical parameters, different splitting schemes can be obtained according to the sorting sequences with different dimensions, the scheme with the minimum package number is used as the final splitting scheme, the utilization rate of packages is improved, and the waste of package packaging and paper express bills is further reduced.
In the above steps, the second physical parameter may further include other physical parameters besides the mass and the volume, and the present invention is not limited thereto. Further, in the above embodiment, in order to reduce the data processing amount, it is also possible to set only a predetermined number (e.g. 2 or 3) of second physical parameters to implement the determination of the predetermined number of split schemes in the sorting order.
In some embodiments of the present invention, in consideration of the fact that there is a splitting and merging situation that does not need to be performed, the present invention may further perform the determination of whether the splitting and merging operation needs to be performed by performing the following steps before splitting the logistics object set into at least one parcel object set at least according to the first physical parameter of the logistics object in the logistics object set based on the limiting physical parameter of the preset parcel after generating the logistics object set according to the logistics object included in the at least one order in step S120 in fig. 1: judging whether the sum of the first physical parameters of the logistics objects in the logistics object set is greater than the limiting physical parameter or not; if so, executing a step of splitting the logistics object set into at least one wrapping object set at least according to a first physical parameter of a logistics object in the logistics object set based on a limited physical parameter of a preset wrapping. In this embodiment, if the sum of the first physical parameters of the logistics objects in the logistics object set is not greater than the limitation physical parameter, the merging and splitting step of step S130 need not be performed. Therefore, by the preposed judging step, the data processing amount required to be split and combined is reduced, and the overall processing efficiency of the system is improved.
In some embodiments of the invention, different packaging is required to allow for the sorting of different logistics objects. For example, fresh-class logistics objects require freshness protection packaging; fragile logistics objects require built-in cushioning protective packaging. In this case, the logistics objects can be classified, and the packages can be separated and combined according to different classifications. Therefore, splitting the logistics object set into at least one parcel object set at step S130 shown in fig. 1 based on the limiting physical parameter of the preset parcel and at least according to the first physical parameter of the logistics object in the logistics object set may further include the following steps: according to object classification, splitting the logistics object set into at least one sub-logistics object set, and for the at least one sub-logistics object set, splitting the sub-logistics object set into at least one wrapped object set at least according to a first physical parameter of a logistics object in the sub-logistics object set based on a preset wrapped limited physical parameter. Therefore, the separation and combination of the packages of different logistics object classifications are realized.
In some embodiments of the present invention, since the order of the user is already split and merged, there is a case that the logistics objects in the same package are from different orders, and in order to facilitate the user to intuitively obtain the split and merged situation of the order, the courier bill may include a logistics object area. In step S140 shown in fig. 1, the generating of the at least one courier receipt according to the at least one parcel object set may be implemented by the flowchart shown in fig. 5. Fig. 5 shows the following steps in total:
step S141: and acquiring the order number of the source order of each logistics object in the package object set.
Step S142: and displaying logistics object information of each logistics object in the package object set and an order number of a source order in the logistics object area.
The physical distribution object area is displayed on the courier sheet in the form of a table, for example. The name of each logistics object in the package, the order number of the source order of the logistics object and other relevant information can be recorded in the table. Further, in the table display, the same logistics objects can be combined into a row/column, and the number of the same logistics objects in the package is represented by the attribute of the number.
In some implementations of the above embodiments, when a logistics object of the same source order belongs to a plurality of parcel object sets, the plurality of parcel object sets have a parcel number associated with the source order. Thus, the step S140 of fig. 1 of generating at least one express waybill according to the at least one parcel object set may further include the following steps: and displaying the package serial number and the source number of the associated source order together in the logistics object area. In this implementation, for example, in the same order 1, the logistics object a belongs to the package object set a; the logistics object B belongs to a package object set B; the logistics object C and the logistics object D belong to the parcel object set C. Thus, a package number can be set for each of 3 packages associated with order 1, for example, the package number of the package object set a is set to i; setting the package sequence number of the package object set b as ii; the package number of the package object set c is set to iii. Therefore, the parcel number and the total number of parcels divided by the same order are displayed in the table of the logistics object area together, so that a user can visually know the quantity of the parcels divided by the order and the current logistics object inputs the number of the parcels of the order.
In some implementations of the foregoing embodiment, after the step S140 shown in fig. 1 generates at least one parcel post according to the at least one parcel object set, the method may further include: and generating a goods picking order according to the express delivery order. Thus, in contrast to generating a pick order between orders, this approach may facilitate manual/automated picking and packaging by picking based on information that has been divided by the package. Further, in this embodiment, step S140 may be followed by the following steps: and printing the at least one express bill, and multiplexing the express bill into a pick-up order. From this, because the express delivery bill contains information such as the division of commodity circulation object and parcel, pick the express delivery bill that the person of goods can directly pick the goods through printing, need not extra pick the manifest to further reduce the waste of picking the manifest. Therefore, according to the embodiment, the package order combining and sorting operation is automatically realized through the physical parameters of the logistics objects in the order, and the express orders are reused as the picking orders on the basis of generating the express orders according to the automatic order combining and sorting result, so that unified and automatic flow management is realized on the express orders and the picking orders, the labor cost is reduced, and the delivery flow is simplified. Simultaneously, reduce the waste of paper express delivery bill and paper letter of pick up.
The above are merely a plurality of specific implementations of the present invention, and each implementation may be implemented independently or in combination, and the present invention is not limited thereto.
Fig. 6 is a block diagram illustrating an apparatus for generating a courier note according to an embodiment of the present invention. The apparatus 300 for generating a courier receipt includes an obtaining module 310, a first generating module 320, a splitting module 330, and a second generating module 340.
The obtaining module 310 is configured to obtain at least one order with the same recipient identification;
the first generating module 320 is configured to generate a logistics object set according to the logistics objects included in the at least one order;
the splitting module 330 is configured to split the logistics object set into at least one wrapping object set according to at least a first physical parameter of a logistics object in the logistics object set based on a limiting physical parameter of a preset package, wherein the wrapping object set corresponds to a physical package; and
the second generating module 340 is configured to generate at least one courier receipt according to the at least one parcel object set, where the number of the courier receipt is the same as the number of the parcel object sets.
In the device for generating the express waybill, the operation of order combination and order division of the package is automatically realized through the physical parameters of the logistics objects in the order, and the express waybill is generated according to the automatic order combination and order division result, so that the unified and automatic flow management is realized on the express waybill, the labor cost is reduced, and the delivery flow is simplified. Meanwhile, waste of paper express bills is reduced.
Fig. 6 is a schematic diagram illustrating an apparatus 300 for generating a courier note according to the present invention, and the splitting, merging, and adding of modules are within the scope of the present invention without departing from the spirit of the present invention. The device 300 for generating an express waybill provided by the present invention can be implemented by software, hardware, firmware, plug-in and any combination thereof, which is not limited to the present invention.
In an exemplary embodiment of the present invention, a computer-readable storage medium is further provided, on which a computer program is stored, which when executed by, for example, a processor, may implement the steps of the method for generating a courier note in any of the above-mentioned embodiments. In some possible embodiments, aspects of the present invention may also be implemented in the form of a program product including program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present invention described in the method section of generating a courier note mentioned above in this specification, when the program product is run on the terminal device.
Referring to fig. 7, a program product 700 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a 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.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A 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 (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with 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 readable storage medium may also be any readable medium that is not a 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 readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the tenant computing device, partly on the tenant device, as a stand-alone software package, partly on the tenant computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing devices may be connected to the tenant computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In an exemplary embodiment of the invention, there is also provided an electronic device that may include a processor and a memory for storing executable instructions of the processor. Wherein the processor is configured to execute the steps of the method for generating the courier note in any of the above embodiments via execution of the executable instructions.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 500 according to this embodiment of the invention is described below with reference to fig. 8. The electronic device 500 shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 8, the electronic device 500 is embodied in the form of a general purpose computing device. The components of the electronic device 500 may include, but are not limited to: at least one processing unit 510, at least one memory unit 520, a bus 530 that couples various system components including the memory unit 520 and the processing unit 510, a display unit 540, and the like.
Wherein the storage unit stores program code executable by the processing unit 510 to cause the processing unit 510 to perform steps according to various exemplary embodiments of the present invention described in the method section of generating a courier note above in this specification. For example, the processing unit 510 may perform the steps as shown in any one or more of fig. 1-4.
The memory unit 520 may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM)5201 and/or a cache memory unit 5202, and may further include a read only memory unit (ROM) 5203.
The memory unit 520 may also include a program/utility 5204 having a set (at least one) of program modules 5205, such program modules 5205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 530 may be one or more of any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 500 may also communicate with one or more external devices 600 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a tenant to interact with the electronic device 500, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 500 to communicate with one or more other computing devices. Such communication may be through input/output (I/O) interfaces 550. Also, the electronic device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via the network adapter 560. The network adapter 560 may communicate with other modules of the electronic device 500 via the bus 530. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the above method for generating a courier receipt according to the embodiment of the present invention.
Compared with the prior art, the invention has the advantages that:
according to the method and the system, the physical parameters of the logistics objects in the order are used for automatically realizing the operation of order combination and order division of the package, and the express bill is generated according to the automatic order combination and order division result, so that unified and automatic flow management is realized on the express bill, the labor cost is reduced, and the delivery flow is simplified. Meanwhile, waste of paper express bills is reduced.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

Claims (18)

1. A method for generating an express waybill is characterized by comprising the following steps:
acquiring at least one order with the same recipient identification;
generating a logistics object set according to the logistics objects included in the at least one order;
based on the limited physical parameters of preset packages, splitting the logistics object set into at least one package object set at least according to the first physical parameters of the logistics objects in the logistics object set, wherein the package object set corresponds to one physical package; and
and generating at least one express bill according to the at least one parcel object set, wherein the number of the express bills is the same as that of the parcel object sets.
2. The method for generating the courier receipt of claim 1, wherein the splitting the logistics object set into at least one parcel object set at least according to a first physical parameter of a logistics object in the logistics object set based on a constraint physical parameter of a preset parcel comprises:
sorting the logistics objects in the logistics object set according to at least one second physical parameter of the logistics objects, and sequentially determining the packaging object set to which the logistics objects are added according to the sorting order so as to split the logistics object set into at least one packaging object set.
3. The method of generating a courier receipt of claim 2, wherein the sequentially determining the set of parcel objects to which the logistics object is added based on the ordering order comprises:
according to the sorting sequence, the following steps are sequentially executed for each logistics object:
adding the current logistics object into a quasi-package object set;
judging whether the first physical parameters of all physical objects in the quasi-wrapped object set exceed the preset wrapped limit physical parameters or not if the current logistics object is added into the quasi-wrapped object set;
if yes, then:
taking the set of quasi-wrapped objects as the set of wrapped objects; and
adding the current logistics object into a newly generated quasi-wrapped object set;
if not, then:
adding the current logistics object into the quasi-parcel object set;
and according to the sorting sequence, taking the next logistics object as the current logistics object.
4. The method for generating a courier receipt according to claim 2, wherein the sorting the logistics objects in the logistics object set according to at least one second physical parameter of the logistics objects, and sequentially determining the parcel object sets to which the logistics objects are added according to the sorting order, so as to split the logistics object set into at least one parcel object set comprises:
sorting the logistics objects in the logistics object set according to a plurality of second physical parameters of the logistics objects respectively to obtain a plurality of sorting sequences;
determining a parcel object set added by the logistics objects in sequence according to the plurality of sequencing orders respectively to obtain a plurality of splitting modes of the parcel object set;
and splitting the logistics object set into at least one parcel object set according to the splitting mode with the least number of parcel object sets in the splitting modes of the plurality of parcel object sets.
5. The method of generating a courier sheet according to any of claims 2 to 4, wherein the second physical parameter comprises mass and/or volume.
6. The method for generating a courier receipt according to claim 1, wherein after generating a set of logistics objects according to the logistics objects included in the at least one order, and before splitting the set of logistics objects into at least one set of parcel objects at least according to the first physical parameter of the logistics objects in the set of logistics objects based on the limited physical parameter of the preset parcel, the method further comprises:
judging whether the sum of the first physical parameters of the logistics objects in the logistics object set is greater than the limiting physical parameter or not;
if so, executing a step of splitting the logistics object set into at least one wrapping object set at least according to a first physical parameter of a logistics object in the logistics object set based on a limited physical parameter of a preset wrapping.
7. The method for generating the courier receipt of claim 1, wherein the splitting the logistics object set into at least one parcel object set at least according to a first physical parameter of a logistics object in the logistics object set based on a constraint physical parameter of a preset parcel comprises:
according to object classification, splitting the logistics object set into at least one sub-logistics object set, and for the at least one sub-logistics object set, splitting the sub-logistics object set into at least one wrapped object set at least according to a first physical parameter of a logistics object in the sub-logistics object set based on a preset wrapped limited physical parameter.
8. The method of generating a courier note of claim 1, wherein the courier note includes a logistics object area, and generating at least one courier note from the at least one parcel object set comprises:
acquiring an order number of a source order of each logistics object in the package object set;
and displaying logistics object information of each logistics object in the package object set and an order number of a source order in the logistics object area.
9. The method of claim 8, wherein when the logistics objects of the same source order belong to a plurality of parcel object sets, the plurality of parcel object sets having parcel sequence numbers associated with the source order, the generating at least one courier slip according to the at least one parcel object set further comprises:
and displaying the package serial number and the source number of the associated source order together in the logistics object area.
10. The method of generating a courier sheet of claim 8, wherein generating at least one courier sheet from the at least one set of parcel objects further comprises:
and generating a goods picking order according to the express delivery order.
11. The method of generating a courier sheet of claim 8, wherein generating at least one courier sheet from the at least one set of parcel objects further comprises:
and printing the at least one express bill, and multiplexing the express bill into a pick-up order.
12. The method for generating the express waybill according to any one of claims 1 to 4 and 6 to 11, wherein the recipient identification is a coded value obtained by transforming recipient information through a coding algorithm.
13. The method of generating a courier statement of claim 12, wherein the recipient information includes at least a recipient address after a normalization process.
14. The method of generating a courier statement of claim 12 wherein the recipient information further includes a recipient name and/or a recipient phone.
15. The method of generating a courier sheet of any of claims 1 to 4, 6 to 11, wherein the first physical parameter and the limiting physical parameter include mass and volume.
16. An apparatus for generating a courier note, comprising:
the acquisition module is configured to acquire at least one order with the same recipient identification;
the first generation module is configured to generate a logistics object set according to the logistics objects included in the at least one order;
the splitting module is configured to split the logistics object set into at least one wrapping object set at least according to a first physical parameter of a logistics object in the logistics object set based on a limiting physical parameter of a preset wrapping, and the wrapping object set corresponds to a physical wrapping; and
and the second generation module is configured to generate at least one express bill according to the at least one parcel object set, wherein the number of the express bills is the same as that of the parcel object sets.
17. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory having stored thereon a computer program that, when executed by the processor, performs:
the method of generating a courier note according to any of claims 1 to 15.
18. A storage medium having a computer program stored thereon, the computer program when executed by a processor performing:
the method of generating a courier note according to any of claims 1 to 15.
CN202010316193.7A 2020-04-21 2020-04-21 Method and device for generating express waybill, electronic equipment and storage medium Pending CN112101837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010316193.7A CN112101837A (en) 2020-04-21 2020-04-21 Method and device for generating express waybill, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010316193.7A CN112101837A (en) 2020-04-21 2020-04-21 Method and device for generating express waybill, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112101837A true CN112101837A (en) 2020-12-18

Family

ID=73749454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010316193.7A Pending CN112101837A (en) 2020-04-21 2020-04-21 Method and device for generating express waybill, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112101837A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112651549A (en) * 2020-12-21 2021-04-13 深圳市五谷网络科技有限公司 Distribution method, distribution system, terminal equipment and storage medium
CN112735051A (en) * 2021-02-07 2021-04-30 圆通速递有限公司 Express cabinet sharing method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886873A (en) * 2017-01-24 2017-06-23 武汉奇米网络科技有限公司 The conjunction folk prescription method and conjunction single system of a kind of e-commerce order
CN106934748A (en) * 2015-12-29 2017-07-07 天士力制药集团股份有限公司 A kind of automatic medicine-dispensing allocator
CN108197851A (en) * 2017-11-29 2018-06-22 商派软件有限公司 A kind of e-commerce mostly single flow distribution method with address
CN108764774A (en) * 2018-04-17 2018-11-06 顺丰科技有限公司 A kind of consolidating the load conveyer method, system, equipment, computer readable storage medium
US20180374031A1 (en) * 2014-03-11 2018-12-27 Amazon Technologies, Inc. Transportation adjustments based on recommended shipping packages
CN109858995A (en) * 2018-12-21 2019-06-07 顺丰科技有限公司 Search method, system and the storage medium of primary and secondary part
CN110634038A (en) * 2018-06-21 2019-12-31 菜鸟智能物流控股有限公司 Order interface display method, order generation method and order processing system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180374031A1 (en) * 2014-03-11 2018-12-27 Amazon Technologies, Inc. Transportation adjustments based on recommended shipping packages
CN106934748A (en) * 2015-12-29 2017-07-07 天士力制药集团股份有限公司 A kind of automatic medicine-dispensing allocator
CN106886873A (en) * 2017-01-24 2017-06-23 武汉奇米网络科技有限公司 The conjunction folk prescription method and conjunction single system of a kind of e-commerce order
CN108197851A (en) * 2017-11-29 2018-06-22 商派软件有限公司 A kind of e-commerce mostly single flow distribution method with address
CN108764774A (en) * 2018-04-17 2018-11-06 顺丰科技有限公司 A kind of consolidating the load conveyer method, system, equipment, computer readable storage medium
CN110634038A (en) * 2018-06-21 2019-12-31 菜鸟智能物流控股有限公司 Order interface display method, order generation method and order processing system
CN109858995A (en) * 2018-12-21 2019-06-07 顺丰科技有限公司 Search method, system and the storage medium of primary and secondary part

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112651549A (en) * 2020-12-21 2021-04-13 深圳市五谷网络科技有限公司 Distribution method, distribution system, terminal equipment and storage medium
CN112735051A (en) * 2021-02-07 2021-04-30 圆通速递有限公司 Express cabinet sharing method and system

Similar Documents

Publication Publication Date Title
CN109978470B (en) Logistics information determination method, device, equipment and medium
CN107516176B (en) Logistics information processing method and device
CN111967632B (en) Method and device for determining packaging grade of logistics object, electronic equipment and storage medium
US7938325B2 (en) Inbound receiving system
CN112101837A (en) Method and device for generating express waybill, electronic equipment and storage medium
CN113031886A (en) Express bill printing method, system, equipment and storage medium
CN112487120A (en) Method, device and equipment for classifying recipient addresses and storage medium
CN111967808B (en) Method, device, electronic equipment and storage medium for determining commodity circulation object receiving mode
CN107909326B (en) Chain journey transportation method and system for international logistics
CN112488199A (en) Logistics distribution mode prediction method, system, equipment and storage medium
CN111967793A (en) Logistics timeliness evaluation method and device, electronic equipment and storage medium
CN111915256A (en) Method for constructing dispatch fence, method for recognizing remote sign-off and related equipment
CN112288362A (en) Parcel re-delivery method, parcel delivery method and related equipment
CN113724049A (en) Information processing method, device, equipment and storage medium
CN112818684B (en) Address element ordering method and device, electronic equipment and storage medium
CN112258117B (en) Sending method and device, electronic equipment and storage medium
CN115705506A (en) Method, device, equipment and computer storage medium for predicting package transportation risk
CN114282862A (en) Repeated freight order processing method and device, electronic equipment and storage medium
CN112465149A (en) Same-city part identification method and device, electronic equipment and storage medium
US20200004728A1 (en) Compression of Data Attributes
CN106445898B (en) Method and system for processing postal envelope data
CN116051233A (en) Self-order splitting method, device, equipment and storage medium
JP7432790B1 (en) Bonded cargo management system, bonded cargo management device, bonded cargo management method, and program
CN116011903B (en) Intelligent logistics system, method, computer equipment, storage medium and terminal
CN109753253B (en) Method, apparatus, system, and medium for document matching printing

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