Freight order processing method, system, electronic equipment and storage medium

文档序号:8992 发布日期:2021-09-17 浏览:38次 中文

1. A freight order processing method, characterized by comprising the steps of:

receiving a freight request of a shipper user side and establishing a freight order, wherein the freight order at least comprises carrier information and oil card use limit information;

receiving a refueling request of a carrier user side and acquiring refueling request data, wherein the refueling request data at least comprises carrier information and refueling amount information;

acquiring at least one freight order accepted by a corresponding carrier from a freight order system according to the carrier information;

acquiring the total oil card usage amount in the freight order;

obtaining the payment amount V of the user according to the refueling amount information and the total oil card use amount;

and deducting the oil card amount corresponding to the amount V to be paid by the user from each freight order in advance.

2. The freight order processing method according to claim 1,

acquiring n freight orders accepted by a carrier from a freight order system according to the carrier information, wherein n is greater than 1;

the step of obtaining the total oil card usage amount in the freight order comprises the following steps:

acquiring the use limit of the oil card in each freight order;

and adding the oil card use amount in each freight order to obtain the total oil card use amount.

3. The freight order processing method according to claim 2, wherein the step of obtaining the amount V to be paid by the user according to the fueling amount information and the total fuel card usage amount comprises:

obtaining a discount rule from the oil card management system;

obtaining the discount amount according to the refueling amount information, the total oil card use amount and the discount rule;

and obtaining the amount V to be paid by the user according to the oiling amount information and the discount amount.

4. The freight order processing method according to claim 2, wherein n freight orders taken by a carrier whose order-making time is within a set time period before the refueling time are acquired from the freight order system based on the carrier information.

5. The freight order processing method according to claim 4, further comprising the steps of:

acquiring the order transaction time of each freight order;

the step of deducting the oil card amount corresponding to the amount V to be paid by the user from each freight order in advance comprises the following steps: and deducting the oil card amount corresponding to the amount V to be paid by the user from the total oil card use amount in the plurality of freight orders according to the sequence of order transaction time.

6. The freight order processing method according to claim 5, wherein the step of deducting the oil card amount corresponding to the amount V to be paid by the user from the total oil card usage amount in the plurality of freight orders according to the order transaction time comprises the following steps:

sorting the freight orders according to the order transaction time;

traversing the oil card use amount in the added and sequenced freight orders to obtain the ith freight order, so that the sum Vi of the oil card use amounts in the 1 st to ith freight orders is more than or equal to the payment amount V of the user;

if i is more than or equal to 1 and less than or equal to n, setting the new oil card amount in the 1 st to i-1 st freight orders, wherein the newly set oil card amount is 0; setting a new oil card amount in the ith freight order, wherein the newly set oil card amount is Vi-V;

If the ith freight order does not exist, so that the sum Vi of the oil card use amount in the 1 st to ith freight orders is larger than or equal to the amount V to be paid by the user, setting new oil card amount in the 1 st to ith freight orders, wherein the newly set oil card amount is 0.

7. The freight order processing method according to claim 1, further comprising, after receiving a user payment amount corresponding to an amount to be paid by the user, the steps of:

acquiring an oil card corresponding to the payment amount of the user from an oil card management system;

the user payment amount is returned to the user.

8. A freight order processing system for implementing the freight order processing method according to any one of claims 1 to 7, comprising a user module, an order module, a data module, and a calculation module, wherein:

the user module is used for receiving a freight request of a shipper user side, the order module is used for establishing a freight order, and the freight order at least comprises carrier information and oil card use limit information;

the user module is also used for receiving a refueling request of a carrier user side and acquiring refueling request data, wherein the refueling request data at least comprises carrier information and refueling amount information;

the data module is used for acquiring at least one freight order accepted by the carrier according to the carrier information;

the calculation module is used for acquiring the total oil card usage amount in the freight order; calculating the payment amount of the user according to the refueling amount information and the total oil card use amount;

and the order module is also used for deducting the oil card amount corresponding to the amount V to be paid by the user from each freight order.

9. An electronic device, comprising:

a processor;

a memory having stored therein executable instructions of the processor;

wherein the processor is configured to perform the steps of the shipment order processing method of any of claims 1 to 7 via execution of the executable instructions.

10. A computer-readable storage medium storing a program, wherein the program when executed by a processor implements the steps of the shipment order processing method of any of claims 1 to 7.

Background

In the field of freight transportation, a shipper may include a part of a fuel card in a freight fee paid to a carrier (driver), so that the carrier can pay a refueling fee in the process of transporting goods, and generally, the shipper can enjoy certain benefits by using the fuel card to refuel. The oil card is divided into an entity oil card and an electronic oil card.

More and more carriers take freight orders on the Internet platform, and the Internet platform also depends on the scale effect, strives for larger fueling benefits for the carriers, and partially issues the shipping benefits to the carriers in the form of electronic oil cards when the shipping fees are settled. For example, a carrier accepts a cargo transportation order on an internet platform, the freight rate is 1000 yuan, 300 yuan of the cargo transportation order is paid by an electronic oil card, so that the carrier can use the 300 yuan electronic oil card to pay in the process of refueling, and can enjoy lower oil price when using the electronic oil card to pay. However, in general, the network platform will pay the freight fee after the carrier loads the goods, unloads the goods, or receives the receipt, and at this time, the oil card account of the carrier will have the recharge amount.

The inventor found that, although the electronic oil card is intended to improve the convenience of payment and make the carrier enjoy more benefits, the carrier is not convenient to use in practice. The reason is that freight carriers, especially long-distance freight carriers, do not refuel frequently, that is, refuel every time of freight, but because the fuel tank capacity of large trucks is large, the amount of single refuel is high. For example, in one case, the carrier is full at the time of order taking and does not need to be refueled during the transportation of the goods of the order, so the fuel card is practically useless, while in the opposite case, the driver is basically empty at the time of order taking and the amount of the fuel card required by the carrier to be filled is much higher than that of the order taking, so partial fuel card using and partial self-payment are required at the time, the operation is inconvenient and the enjoyable benefit is not much. In summary, the disadvantage of this type of pay-before-charge is that the oil card given to the carrier in each shipping order is not necessarily used when the order is being shipped, but is unlikely to be exactly equal to the amount of oil to be added, so the carrier's use of the oil card is limited by the timing of refueling (which must be after the order is started) and the amount of refueling (which cannot exceed the amount of oil card in the order), and if the carrier wants to enjoy sufficient refueling benefits with the oil card, frequent and small-lot refueling is necessary, which is intolerable for shipping, especially for long-distance shipping, and the carrier's operation is not changed and delays time.

It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present invention and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.

Disclosure of Invention

The invention aims to provide a freight order processing method, a system, an electronic device and a storage medium, aiming at solving the problems in the prior art, wherein the freight order processing method manages orders according to the use limit of an oil card and determines the refueling cost of a carrier, thereby improving the convenience of paying the oil card by the shipper and using the oil card by the carrier in freight.

The embodiment of the invention provides a freight order processing method, which comprises the following steps:

receiving a freight request of a shipper user side and establishing a freight order, wherein the freight order at least comprises carrier information and oil card use limit information;

receiving a refueling request of a carrier user side and acquiring refueling request data, wherein the refueling request data at least comprises carrier information and refueling amount information;

acquiring at least one freight order accepted by a corresponding carrier from a freight order system according to the carrier information;

acquiring the total oil card usage amount in the freight order;

obtaining the payment amount V of the user according to the refueling amount information and the total oil card use amount;

and deducting the oil card amount corresponding to the amount V to be paid by the user from each freight order in advance.

According to some examples of the invention, n shipment orders accepted by a carrier are obtained from a shipment order system according to the carrier information, n > 1;

the step of obtaining the total oil card usage amount in the freight order comprises the following steps:

acquiring the use limit of the oil card in each freight order;

and adding the oil card use amount in each freight order to obtain the total oil card use amount.

According to some examples of the invention, the step of obtaining the amount V to be paid by the user according to the fueling amount information and the total fuel card usage amount comprises:

obtaining a discount rule from the oil card management system;

obtaining a discount amount according to the refueling amount, the total oil card use amount and the discount rule;

and obtaining the amount V to be paid by the user according to the oiling amount information and the discount amount.

According to some examples of the invention, n shipping orders accepted by a carrier having an order time within a set time period prior to fueling are obtained from a shipping order system based on the carrier information.

According to some examples of this invention, the shipment order processing method further comprises the steps of:

acquiring the order transaction time of each freight order;

the step of deducting the oil card amount corresponding to the amount V to be paid by the user from each freight order in advance comprises the following steps: and deducting the oil card amount corresponding to the amount V to be paid by the user from the total oil card use amount in the plurality of freight orders according to the sequence of order transaction time.

According to some examples of the invention, the pre-deducting the oil card amount corresponding to the amount V to be paid by the user from the total oil card usage amount in the multiple freight orders according to the order transaction time comprises the following steps:

sorting the freight orders according to the order transaction time;

traversing the oil card use amount in the added and sequenced freight orders to obtain the ith freight order, so that the sum Vi of the oil card use amounts in the 1 st to ith freight orders is more than or equal to the payment amount V of the user;

if i is more than or equal to 1 and less than or equal to n, setting the new oil card amount in the 1 st to i-1 st freight orders, wherein the newly set oil card amount is 0; setting new ones in the ith freight orderThe oil card amount is Vi-V;

If the ith freight order does not exist, so that the sum Vi of the oil card use amount in the 1 st to ith freight orders is larger than or equal to the amount V to be paid by the user, setting new oil card amount in the 1 st to ith freight orders, wherein the newly set oil card amount is 0.

According to some examples of the present invention, after receiving a user payment amount corresponding to an amount of money to be paid by a user, the method further includes the following steps:

acquiring an oil card corresponding to the payment amount of the user from an oil card management system;

the user payment amount is returned to the user.

The embodiment of the invention also provides a freight order processing system, which is used for realizing the freight order processing method and comprises a user module, an order module, a data module and a calculation module, wherein:

the user module is used for receiving a freight request of a shipper user side, the order module is used for establishing a freight order, and the freight order at least comprises carrier information and an oil card use limit;

the user module is also used for receiving a refueling request of a carrier user side and acquiring refueling request data, wherein the refueling request data at least comprises carrier information and refueling amount;

the data module is used for acquiring at least one freight order accepted by the carrier according to the carrier information;

the calculation module is used for acquiring the total oil card usage amount in each freight order; calculating the payment amount of the user according to the refueling amount information and the total oil card use amount;

and the order module is also used for deducting the oil card amount corresponding to the amount V to be paid by the user from each freight order.

An embodiment of the present invention further provides an electronic device, including:

a processor;

a memory having stored therein executable instructions of the processor;

wherein the processor is configured to perform the steps of the shipment order processing method via execution of the executable instructions.

An embodiment of the present invention also provides a computer-readable storage medium storing a program, wherein the program, when executed, implements the steps of the shipment order processing method.

The freight order processing method manages the orders according to the oil card use limit in each freight order, and meanwhile, determines the cost of each refueling of the carrier according to the oil card use limit in the related orders of the managed carrier, so that the convenience of paying the oil card by the shipper and using the oil card by the carrier in the freight is improved.

Drawings

Other features, objects, and advantages of the invention will be apparent from the following detailed description of non-limiting embodiments, which proceeds with reference to the accompanying drawings and which is incorporated in and constitutes a part of this specification, illustrating embodiments consistent with the present application and together with the description serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.

FIG. 1 is a flow chart of a method of handling a shipping order according to an embodiment of the invention;

FIG. 2 is a block diagram of a shipping order processing system according to an embodiment of the present invention;

FIG. 3 is a schematic structural diagram of a shipping order processing apparatus according to an embodiment of the present invention;

fig. 4 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present 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 present disclosure 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.

Fig. 1 is a flowchart of a cargo order processing method according to an embodiment of the present invention, specifically, the method includes the following steps:

s100: receiving a freight request of a shipper user terminal and establishing a freight order, wherein the freight order at least comprises carrier information and oil card use amount information, the oil card use amount information can be regarded as a part of a carrier allowing the shipper to use an oil card to pay freight, and generally, the oil card use amount information represents the percentage of the freight paid by the available oil card and the like.

S200: receiving a refueling request of a carrier user side and acquiring refueling request data, wherein the refueling request data at least comprises carrier information and refueling amount information;

s300: acquiring at least one freight order accepted by a corresponding carrier from a freight order system according to the carrier information;

s400: acquiring the total oil card usage amount in the freight order;

s500: obtaining the payment amount V of the user according to the refueling amount information and the total oil card use amount;

s600: and deducting the oil card amount corresponding to the amount V to be paid by the user from each freight order in advance.

The freight order processing method of the invention receives a freight request of a shipper user terminal and establishes a freight order by adopting the step S100, wherein the freight order comprises carrier information and oil card use limit information, when the carrier needs to refuel, the method obtains the oil card amount which can be collected by the carrier after the freight order is delivered through the carrier information through the steps S200 to S400, and then obtains the payment amount V needed by a user according to the refuel amount and the total oil card use limit through the step S500; the steps realize that the carrier pre-supports the oil card limit of the freight order in advance, the carrier can use the oil card before the actual carrying is finished, and the cost of the carrier for refueling each time is determined according to the oil card use limit in the management carrier related order, so that the convenience of paying the oil card by the shipper and using the oil card by the carrier in the freight is improved. And finally, the system executes the step S600 to deduct the oil card amount corresponding to the amount V to be paid by the user from each freight order, and the freight order processing method realizes the order management according to the oil card use amount in each freight order. Order fulfillment, which means that the shipper, the carrier, has established a cargo transport relationship and does not necessarily represent that the actual cargo transport has been completed (e.g., unloaded, receipt of a receipt, etc.).

Further, in some embodiments, the step S300 is to obtain n shipping orders accepted by corresponding carriers from the shipping order system according to the carrier information, where n > 1;

at this time, the step S400 of obtaining the total usage amount of the oil card in the freight order includes:

s410: acquiring the use limit of the oil card in each freight order;

s420: and adding the oil card use amount in each freight order to obtain the total oil card use amount.

For example, when the carrier needs to refuel, three freight orders accepted by the carrier are obtained from the freight order system according to the carrier information, such as that the carrier allows the shipper to pay 30% of freight rate by using the oil card, the 1 st freight order accounts for 2000 yuan, wherein the oil card usage amount is 600 yuan, the 2 nd freight order accounts for 3000 yuan, wherein the oil card usage amount is 900 yuan, and the 3 rd freight order accounts for 4000 yuan, wherein the oil card usage amount is 1200 yuan, and at this time, although none of the three freight orders have been settled, it can be expected that the carrier can collect 2700 yuan (660 yuan +900 yuan +1200 yuan) of oil card when completing the carrier order. According to some examples of the present invention, the step S500 of obtaining the amount V to be paid by the user according to the fueling amount and the total credit card usage amount includes:

s510: obtaining a discount rule from the oil card management system; the discount rule can be that the preferential amount is the percentage of the amount of using the oil card, etc.;

s520: obtaining a discount amount according to the refueling amount, the total oil card use amount and the discount rule;

s530: and obtaining the amount V to be paid by the user according to the refueling amount and the discount amount.

The step S520 of obtaining a discount amount according to the fueling amount information, the total fuel card usage amount and the discount rule may include:

judging whether the refuelling amount is larger than the total oil card using amount or not;

if the refuel amount is larger than the total oil card using amount, directly calculating the discount amount according to the total oil card using amount;

if the refuelling amount is not larger than the total oil card using amount, calculating the discount amount according to the total oil card using amount equal to the refuelling amount;

also in the above example, the discount rule may be that the offer amount is 5% of the amount of using the oil card;

if the refuelling amount of the carrier is 2000 yuan, the refuelling amount is 2000 yuan less than the total oil card use amount of the carrier 2700 yuan, namely the oil card use amount is enough to pay the refuelling amount, and the discount amount is 100(2000 x 5%) yuan, executing the step S530 to obtain the payment amount V of the user 1900 yuan; at this time, the oil card amount enjoyed is 2000 yuan, and the remaining oil card amount of the carrier is 700 yuan.

If the refuelling amount of the carrier is 3000 yuan, the refuelling amount is more than 2700 yuan of the total oil card using amount of the carrier, namely the total oil card using amount is not enough to pay the refuelling amount, at this time, the discount amount is 135(2700 x 5%), then the step S530 is executed to obtain 2865 yuan of the payment amount V of the user, at this time, the enjoyed oil card using amount is 2700 yuan, and the remaining oil card using amount of the carrier is 0 yuan.

In addition, the step S300 may further include: and acquiring n freight orders carried by the carriers within a set time period before the refueling time at the order transaction time from the freight order system according to the carrier information. If the order can be an order within 7 days before the reserved loading time begins (the order is completed but the order is not completed at the moment), or an order within 7 days after the unloading is completed (the order is completed and the order is completed at the moment), the timeliness of the order is mainly considered for acquiring the freight order within a certain time period, so that the estimated oil card use limit of the carrier is more accurate, the carrier can enjoy the preferential limit of a plurality of orders during refueling, and the great-amount refueling is more convenient.

The freight order processing method further comprises the following steps:

s310: acquiring order transaction time of each freight order in the n freight orders; the system can also establish a freight order list accepted by the carrier according to the order transaction time; at this time, the process of the present invention,

s600, deducting the oil card amount corresponding to the amount V to be paid by the user from each freight order in advance specifically comprises the following steps: and deducting the oil card amount corresponding to the amount V to be paid by the user from the total oil card use amount in the plurality of freight orders according to the sequence of order transaction time.

The method for pre-deducting the oil card amount corresponding to the amount V to be paid by the user from the total oil card use amount in the multiple freight orders according to the order transaction time comprises the following steps:

s610: sorting the freight orders according to the order transaction time;

s620: traversing the oil card use amount in the added and sequenced freight orders to obtain the ith freight order, so that the sum Vi of the oil card use amounts in the 1 st to ith freight orders is more than or equal to the payment amount V of the user;

if 1. ltoreq. i.ltoreq.n, S631: setting the new oil card amount in the 1 st to the i-1 st freight orders, wherein the newly set oil card amount is 0; setting a new oil card amount in the ith freight order, wherein the newly set oil card amount is Vi-V;

If there is no ith shipping order, so that the total Vi of the usage amount of the oil cards in the 1 st to ith shipping orders is greater than or equal to the amount V to be paid by the user, S632: setting the new oil card amount in the 1 st to the ith freight orders, wherein the newly set oil card amount is 0.

Still in the above example, if the carrier needs 2000 yuan of refuelling amount, the enjoyable oil card amount is 2000 yuan, and the remaining oil card amount of the carrier is 700 yuan, the enjoyable oil card amount of 2000 yuan needs to be deducted from the n freight orders; assuming that the obtained three freight orders are sequenced according to the order bargaining time, at the moment, the sequenced freight orders are added in a traversing way, namely the sum V of the usage amount of the oil cards in the 1 st to the 2 nd freight orders is added21500 yuan, the value is not more than or equal to the sum V (1900 yuan) of the amount of money to be paid by the user and the sum V of the use amount of the oil card in the 1 st, the 2 nd and the 3 rd freight orders32700 Yuan and is larger than the amount V (1900 Yuan) to be paid by the user, S631 is executed: setting new oil card amount in the 1 st to 2 nd freight orders, wherein the newly set oil card amount is 0, the newly set oil card amount in the 3 rd freight order is 700 yuan (2700 yuan to 2000 yuan).

If the refuelling amount of a carrier is 3000 yuan, the enjoyable oil card amount is 2700 yuan, and the remaining oil card amount of the carrier is 0 yuan, the enjoyable oil card amount of 2700 yuan needs to be deducted from n freight orders, and the three obtained freight orders are supposed to be sorted according to the order bargaining time, at the moment, the sorted freight orders are traversed and added, and the sum V of the oil card use amount of the 1 st, the 2 nd and the 3 rd freight orders is added3If the number is 2700, which is smaller than the amount V to be paid by the user, and at this time, it is determined that there is no ith shipping order, so that the total Vi of the usage amounts of the oil cards in the 1 st to ith shipping orders is greater than or equal to the amount V to be paid by the user, then S632 is executed: is provided withAnd determining the new oil card amount in the 1 st to 3 rd freight orders, wherein the newly set oil card amount is 0.

In some embodiments, the freight order processing method of the present invention further includes, after receiving a user payment amount corresponding to an amount to be paid by a user, the steps of:

s700: acquiring an oil card corresponding to the payment amount of the user from an oil card management system;

s800: the payment amount of the user is returned to the user, namely in the freight order processing method of the invention, when the carrier pays the oil charge, the oil charging system can deduct the payment amount part required by the user in advance, after the carrier finishes the freight order and obtains the oil card actually paid by the shipper, the oil card is used for actually paying the oil charge, and simultaneously, the oil charging system returns the corresponding oil charge amount pre-paid by the carrier.

The freight order processing method can combine a plurality of freight orders, so that a carrier can enjoy the advantage of the oil card by refueling before the transportation starts, and the oil card is convenient for a shipper to pay the transportation fee and the carrier to pay the oil fee in the transportation industry.

Fig. 2 is a schematic structural diagram of a freight order processing system according to an embodiment of the present invention, where the system includes a user module M100, an order module M200, a data module M300, and a calculation module M400, where:

the user module M100 is configured to receive a shipping request from a shipper user, and the order module M200 is configured to establish a shipping order, where the shipping order at least includes carrier information and a usage amount of an oil card;

the user module M100 is further configured to receive a fueling request from a carrier user terminal and obtain fueling request data, where the fueling request data at least includes carrier information and a fueling amount; it should be noted that the system may further include different user interactive interface systems, which are respectively suitable for the user side of the shipper or the user side of the carrier, so that the shipper or the carrier can set the freight request or the refueling request through the related user interface, and at the same time, can pay the fuel card or the refueling fee through the related user interface.

The data module M300 is used for acquiring at least one freight order accepted by the carrier according to the carrier information;

the calculation module M400 is configured to obtain a total usage amount of the oil card in each of the freight orders; calculating the payment amount of the user according to the refuelling amount and the total oil card using amount;

the order module M200 is further configured to deduct the oil card amount corresponding to the amount V to be paid by the user from each freight order.

The function implementation manner of each functional module in the freight order processing system of the embodiment can be implemented by adopting the specific implementation manner of each step in the freight order processing method. For example, the user module M100, the order module M200, the data module M300, and the calculation module M400 may respectively adopt the specific implementation manners of the steps S100 to S600 to implement the functions thereof, which are not described herein again.

An electronic device 600 according to this embodiment of the invention is described below with reference to fig. 3. The electronic device 600 shown in fig. 3 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. 3, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one memory unit 620, a bus 630 connecting the different platform components (including the memory unit 620 and the processing unit 610), a display unit 640, etc.

Wherein the storage unit stores program code which can be executed by the processing unit 610 such that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention as described in the above-mentioned method section of the present specification. For example, processing unit 610 may perform the steps as shown in fig. 1.

The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203.

The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 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 630 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 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 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. 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 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, to name a few.

An embodiment of the present invention further provides a computer-readable storage medium for storing a program, where the program is executed to implement the steps of the freight order processing method. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention described in the method part above of this description when said program product is run on the terminal device.

Referring to fig. 4, a program product 800 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.

A 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 user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user 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 summary, the present invention provides a method, a system, an electronic device and a storage medium for processing a shipping order, wherein the method for processing the shipping order includes the following steps: receiving a freight request of a shipper user side and establishing a freight order, wherein the freight order at least comprises carrier information and an oil card use limit; receiving a refueling request of a carrier user side and acquiring refueling request data, wherein the refueling request data at least comprises carrier information and a refueling amount; acquiring at least one freight order accepted by a corresponding carrier from a freight order system according to the carrier information; acquiring the total oil card usage amount in the freight order; obtaining the amount V to be paid by the user according to the refuelling amount and the total oil card using amount; and deducting the oil card amount corresponding to the amount V to be paid by the user from each freight order in advance. The freight order processing method manages the orders according to the oil card use limit in each freight order, and meanwhile, determines the cost of each refueling of the carrier according to the oil card use limit in the related orders of the managed carrier, so that the convenience of paying the oil card by the shipper and using the oil card by the carrier in the freight is improved.

The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:一种钢材产成品自动定位与跟踪的装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!