Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1 shows a scene diagram of a service processing method to which the present invention is applied; in the scenario of the service processing method shown in fig. 1, the method includes: the system comprises a user 11, an electronic device 12, a shopping website 121 displayed on the electronic device 12 of the user, a server 13, and an logistics end 14, wherein the logistics end 14 may be an electronic device, and may receive notification messages of the shopping website 121 and interact with the server 13, and the server 13 may implement the functions of the panning platform described in the present application. The scenario takes a service as an example, specifically an order service, as shown in fig. 1, and includes the following steps:
in step 101, the user 11 orders goods and places an order at the shopping website 121, and the shopping website 121 generates an order according to the order placing operation of the user.
In step 102, the shopping website 121 sends the related information of the order to the server 13, wherein the related information of the order may include an order identifier, the goods purchased by the user at the shopping website 121, and the weight of the goods.
In step 103, the server 13 calculates an order amount according to the price and the weight of the commodity, where the order amount includes the commodity amount and the commodity freight on the order.
At step 104, the server 13 presents the amount of the order on the electronic device 12 for viewing by the user 11.
The user 11 pays 105 the server 13 the amount of the order through a bank account associated with the server 13.
Step 106, the shopping website 121 determines whether the orders need to be subpackaged according to the commodity conditions, and if the commodities in the same order are subpackaged, the subpackage information is sent to the logistics terminal 14.
Step 107, the logistics end 14 requests the server 13 to pay the transportation fee of each sub-package according to the sub-package information.
In step 108, the server 13 pays the shipping charge corresponding to each sub-packet to the logistics end 14.
In the above process, the user may apply for a return of the returned goods to the ordered goods via the electronic device 12 on the shopping site 121, and at this time, the server 13 needs to determine the freight rate of the returned goods (the object to be processed in the present application), so as to return the freight rate corresponding to the returned goods to the user.
For further explanation of the present application, the following examples are provided:
FIG. 2 shows a flow diagram of a business process method in accordance with an exemplary embodiment of the invention; the present embodiment is exemplarily described with reference to fig. 1, and the server 13 shown in fig. 1 may execute the method flow of the present embodiment, as shown in fig. 2, including the following steps:
step 201, receiving a service processing request, where the service processing request carries a service identifier and an identifier of an object to be processed.
Step 202, determining the state information of each object contained in the service identifier.
Step 203, according to the state information of each object, determining a first service amount corresponding to the identifier of the object to be processed.
Step 204, paying a first service quota to the account number associated with the service identification.
In step 201, in an embodiment, the service processing request may be a request for setting a service type provided by the server, and the server may parse the service identifier and the identifier of the object to be processed from the service processing request, and determine what kind of processing needs to be performed on the object to be processed by the server according to the service identifier.
In step 202, in an embodiment, after the server 13 processes each object included in the service identifier, the server 13 may update and store the status information of each object, and when the server 13 receives the service processing request through step 201, the server 13 may obtain the latest status information of each object included in the service identifier in time.
In step 203, in an embodiment, for a situation that the same service identifier includes multiple objects, different objects may correspond to different status information, and different status information corresponds to different service quota determining manners, which may be, for example, a quota calculating manner provided by a forwarder, or a quota calculating manner provided by the present application, and which will not be described in detail herein.
In step 204, the account number associated with the business identifier may be associated with a login identifier registered by the user on the shopping website 121, for example, the user M registers a login identifier M123 on the shopping website 121, and associates M123 with a bank account number, so that the server 13 may pay the first business amount to the bank account number.
As can be seen from the above description, in the embodiment of the present invention, by determining the status information of each object included in the service identifier, and determining the first service amount corresponding to the identifier of the object to be processed according to the status information of each object, and considering different status information of a plurality of objects related to the service identifier, when the server receives the service processing request and needs to pay the first service amount corresponding to the object to be processed, the server can control the first service amount within a reasonable range, thereby avoiding that the server cannot normally process the service due to the fact that the first service amount exceeds the normal range, and improving the efficiency of the server in processing the service.
FIG. 3 shows a flow diagram of a traffic handling method according to another exemplary embodiment of the invention; the present embodiment takes how to determine the status information of each object and how to determine the first service quota according to the status information as an example and is exemplarily described with reference to fig. 1, as shown in fig. 3, including the following steps:
step 301, receiving a service processing request, where the service processing request carries a service identifier and an identifier of an object to be processed.
Step 302, determining whether the service identifier is in a preset state, and executing step 303 when the service identifier is in the preset state.
Step 303, when the service identifier is in the preset state, determining a plurality of service sub-identifiers corresponding to the service identifier in the preset state.
Step 304, determining the state information of each object contained in each business sub-identifier in the plurality of business sub-identifiers.
Step 305, determining the service quota corresponding to each of the plurality of service sub-identifiers according to the state information of each object included in the plurality of service sub-identifiers.
Step 306, according to the service total amount corresponding to the service identifier and the service amounts corresponding to the plurality of service sub-identifiers, determining a first service amount corresponding to the identifier of the object to be processed.
Step 307, pay the first service amount to the account number associated with the service identification.
The description of step 301 and step 307 may refer to the description of the embodiment shown in fig. 2, and will not be described in detail here.
In step 302, in an embodiment, the preset state may indicate whether the service identifier is divided into a plurality of service sub-identifiers, and as shown in fig. 1, the server 13 may determine whether the service identifier needs to be set to the preset state according to the shipment of the goods purchased by the user 11 at the shopping website 121.
In step 303 and step 304, for example, the plurality of service sub-identifiers corresponding to the service identifier "DD 123" in the preset state include: DD123-1, DD123-2, DD123-3 and DD 123-4. The DD123-1, DD123-2, DD123-3, DD123-4 may each contain at least one object, and state information corresponding to each object, such as: a shipped state, a returned state, an undelivered and unrereturned state, an undelivered and applying for a returned state. In one embodiment, the status message may be represented by a predetermined string, for example, "00" represents a shipped status, "01" returned status, "10" not shipped and not returned status, "11" not shipped and applying for a returned status.
In step 305, in an embodiment, the server 13 may determine the service amount corresponding to each service sub-identifier according to the status information of the object included in the plurality of service sub-identifiers, and in another embodiment, the server 13 may also determine the service amount corresponding to each service sub-identifier according to the weight information of the object included in the plurality of service sub-identifiers, the status information of the object, and the time sequence of changing the status information corresponding to each service sub-identifier.
In step 306, in an embodiment, the server 13 may first calculate the total service amount of all objects included in the service identifier, and deduct the service amount corresponding to each service sub-identifier from the total service amount, so as to obtain a first service amount corresponding to the identifier of the object to be processed.
On the basis of the advantageous technical effects of the embodiment shown in fig. 2, when a service needs to perform service processing on different objects included in the same service identifier, the embodiment can calculate the service quota corresponding to each object according to the state information of the different objects, thereby achieving the effect of performing refined classification on the state information of the objects, and further ensuring that the calculation of the service quota of the processed object is more targeted.
FIG. 4 shows a flow diagram of a traffic handling method according to a further exemplary embodiment of the invention; the present embodiment is exemplarily described with reference to fig. 1, and as shown in fig. 4, the method includes the following steps:
step 401, determining the weight of the object to be processed.
Step 402, determining a second business amount of the object to be processed according to the weight of the object to be processed, the first weight price and the second weight price.
Step 403, determine whether the first service amount is greater than the second service amount, execute step 404 when the first service amount is greater than the second service amount, and execute step 405 when the first service amount is less than the second service amount.
Step 404, paying the account number associated with the service identifier for the second service amount, and ending the process.
Step 405, determining whether the first service amount is less than zero, executing step 406 when the first service amount is less than zero, and executing step 407 when the first service amount is greater than zero.
Step 406, sending a prompt message for prompting that the first service quota is zero to the user associated with the service identifier, and ending the process.
Step 407, pay the first service amount to the account number associated with the service identifier, and the process is ended.
In an exemplary scenario, the server 13 determines, through the method flow shown in fig. 3, that the first service amount of the object to be processed is M, determines, through step 402, that the second service amount of the object to be processed is N, and if M is smaller than 0, sends a prompt message for prompting that the first service amount is zero to the user associated with the service identifier; and if M is larger than N, paying N to the account number associated with the service identification.
For example, if the first service amount of the object to be processed is 30 yuan and the second service amount is 20 yuan, 20 yuan is paid to the account number associated with the service identifier because 0<20< 30.
For another example, for the object to be processed, the first service amount of the object to be processed is determined to be 30 yuan according to the method flow shown in fig. 3, and if the second service amount of the object to be processed is determined to be 40 yuan through the step 402, 30 yuan is paid to the account number associated with the service identifier because 30< 40.
On the basis of the beneficial technical effects of the embodiment of fig. 2, the embodiment can perform upper limit control on the credit actually returned to the user through the second service credit, so that the server 13 can be prevented from calculating the excess service credit, and the server 13 is ensured to have fairness and rationality when paying the service credit to the logistics end and the user end.
FIG. 5 illustrates a flow diagram of an order processing method according to an exemplary embodiment of the invention; the present embodiment is exemplarily described with reference to fig. 1, and the server 13 shown in fig. 1 may execute the method flow of the present embodiment, as shown in fig. 5, including the following steps:
step 501, receiving an order processing request, where the order processing request carries an order identifier and a product identifier of a product to be processed.
Step 502, determining the status information of each commodity corresponding to the order identifier.
Step 503, determining the amount of the return freight corresponding to the product identifier of the product to be processed according to the state information of each product.
At step 504, a refund shipping charge amount is paid to the account associated with the order identification.
In an exemplary scenario, the shopping website 121 generates an order according to the goods selected by the user 11, where the order is identified as "DD 123", and the order contains 4 goods, namely, goods a, B, C, and D. After the shopping website 121 generates an order, the information related to the order is sent to the server 13, the server 13 displays the amount of the order on the electronic device 12 through the method flow shown in fig. 1, the user 11 pays through the method flow shown in fig. 1 based on the electronic device 12, the paid amount includes the price of the commodity itself and the total pre-paid freight sum of freight fees required for all commodities in the order, when the user 11 applies for return of a commodity a (commodity identification is ABC) from the shopping website 121 through the electronic device 12, the server 13 needs to calculate the amount of the return freight to be paid for the commodity a, wherein the commodity a can be regarded as a to-be-processed object or a to-be-processed commodity described in the application.
In step 501, the server 13 receives an order processing request of the user 11, where the order processing request may be triggered and generated by the user 11 on the shopping website 121 according to the purchase condition of the user, which is exemplified by the above-mentioned exemplary article a, and the order identifier is, for example, DD123 and the article identifier is ABC.
In step 502, in the case that the order identifier DD123 includes four items and the shopping website 121 performs subcontracting shipment on each item on the order, the order identifier DD123 is divided into four order sub-identifiers: the status information of each of the DD123-1, DD123-2, DD123-3, and DD123-4 may be different, and in an embodiment, the status information may include: the shipped state, the returned state, and the undelivered and unreported state, for example, the sub-orders corresponding to article a and article D are in the undelivered and unreported state, the sub-order corresponding to article B is in the shipped state, and the sub-order corresponding to article C is in the returned state.
In step 503, the server 13 may pay the shipping charge corresponding to the product B to the logistics end 14 through the payment step shown in fig. 1 because the status information of the sub-order corresponding to the product B is in the shipped status, and the server 13 may return the prepaid shipping charge corresponding to the product C to the account associated with the order identifier because the status information of the sub-order corresponding to the product C is in the returned status, and the server 13 still needs to pay the shipping charge corresponding to the product D to the logistics end because the status information of the sub-order corresponding to the product D is in the undelivered and unreported status.
In step 504, the account number associated with the order identifier may also be associated with a login identifier registered by the user on the shopping website 121, for example, the user M registers a login identifier M123 on the shopping website 121, and associates M123 with a bank account number, so that the user can pay for each order of his or her shopping through the bank account number.
As can be seen from the above description, in the embodiment of the present invention, by determining the state information of each commodity corresponding to the order identifier, and determining the refund amount corresponding to the commodity identifier of the to-be-processed commodity according to the state information of each commodity, and considering different state information of a plurality of commodities related to the order, when the server receives the order processing request to refund the pre-collected freight of the to-be-processed commodity, the proportion of the pre-collected freight amount of the to-be-processed commodity to the total pre-collected freight amount of the order is controlled within a reasonable range, so that the problem that the server cannot normally process the order service due to the fact that the amount of the to-be-refund freight exceeds the normal range is avoided, and the efficiency of the server in processing the order service is improved.
FIG. 6 shows a flow diagram of an order processing method according to another exemplary embodiment of the invention; the present embodiment takes the status information including the shipped status, returned status, and un-shipped and un-returned status as an example and is exemplarily described with reference to fig. 1, as shown in fig. 6, the method includes the following steps:
step 601, receiving an order processing request, where the order processing request carries an order identifier and a commodity identifier of a commodity to be processed.
Step 602, determining whether all the commodities corresponding to the order identifications are in a subpackage delivery state, executing step 603 when all the commodities are in the subpackage delivery state, and prompting the shopping website that the commodities are in the delivery state and cannot be returned when all the commodities are not in the subpackage delivery state.
Step 603, determining the freight state of each subcontract when all the commodities are in the subcontract delivery state, wherein the freight state comprises a delivered state, an undelivered state and an undelivered state, and each subcontract contains at least one commodity.
Step 604, for the sub-package in the shipped state, determining a first total freight amount corresponding to the sub-package in the shipped state.
Step 605, for the sub-package in the returned state, determining a second total amount of the freight fee corresponding to the sub-package in the returned state.
Step 606, for the sub-packages in the non-shipping and non-return state, determining a third freight total amount corresponding to the sub-packages in the non-shipping and non-return state.
And step 607, determining the amount of the return freight corresponding to the goods to be processed according to the total amount of the pre-collection freight, the total amount of the first freight, the total amount of the second freight and the total amount of the third freight corresponding to the order identification.
At step 608, the refund shipping charge amount is paid to the account associated with the order identification.
The description of step 601 and step 609 can refer to the related description of the embodiment shown in fig. 2, and will not be detailed here.
In the step 602, the server 13 may receive the subpackage shipping status from the shopping website 121, and the server 13 may know the subpackage status of the goods on the order according to the subpackage shipping status, for example, the shopping website 121 divides 4 goods included in the order into 4 sub-orders, each of the goods corresponds to one sub-order, that is, each of the goods a, the goods B, the goods C, and the goods D corresponds to one sub-order, or the shopping website 121 divides 4 goods included in the order into 3 sub-orders, and there are two goods corresponding to one sub-order, for example, the goods a and the goods B correspond to one sub-order, and each of the goods C and the goods D corresponds to one sub-order, wherein, for the logistics end 14, each sub-order may correspond to one package.
In step 603, in an embodiment, the freight status of each sub-order can be monitored by the logistics end 14, and when the freight status of the sub-order changes, the logistics end 14 can return a message for updating the freight status to the server 13 and the shopping website 121.
When the
shopping website 121 detects that the
user 11 clicks and triggers a confirmation message of purchasing the commodity A, the commodity B, the commodity C and the commodity D, an order DD123 is generated and sent to the
server 13, the
server 13 calculates the prepaid commodity freight according to the total weight of the commodities in the order DD123, and if the total weight of the commodities is less than or equal to the first weight, the prepaid commodity freight is equal to the first weight; if the total weight of the article is greater than the first weight,
wherein,
and
indicating that the items A, B, C, D, each weigh 1 pound and 4 pounds in total, the freight calculation formula above has a first weight of 1 pound, a first price of 30 yuan, a subsequent weight of 1 pound, and a subsequent price of 20 yuan, and the freight rate for the order DD123 is 20 yuan, depending on the calculation method of the freight of the item
That is, all the products (product A, product B, product) of the order DD123C. Product D) has a total pre-paid shipping charge of 90 dollars.
When the user 11 needs to apply for returning of the article a from the shopping website 121, the shopping website 121 generates an order processing request according to the operation of the user 11, sends the order processing request to the server 13, and when the server 13 receives the order processing request of the shopping website 121 about the order DD123, the amount of the return fee of the article to be processed is calculated according to the following equation:
the sum of the freight charges to be returned of the commodities to be processed is the total sum of the pre-collected freight charges, the total sum of the first freight charges, the total sum of the second freight charges and the total sum of the third freight charges.
In a first exemplary scenario, when all the commodities are in a subpackage delivery state, and the commodities a, B, C and D are determined to be in an undelivered and unrereturned state, then:
there is no child order in the shipped state, so the first total freight amount is 0 dollars;
the sub-order in the returned state does not exist, so that the total amount of the second freight fee is 0 yuan;
for a sub-order in the undelivered and unrereturned state, i.e., item B, item C, and item D, having a total weight of 3 pounds, the freight calculation formula corresponds to
The total pre-collection freight amount is 90, and the return freight amount of the commodity A is 90-0-0-70-20 yuan.
In a second exemplary scenario, item A is in a returned state, item B is in a shipped state, and items C, D are both in an undelivered and unreported state, if the user needs to request that item C be returned:
for the sub-order in the delivered state (the sub-order corresponds to the commodity B), the corresponding sub-order corresponds to the commodity B according to the freight calculation formula
For the sub-order in the returned state (the sub-order corresponds to the article a), according to the calculation method in the first exemplary scenario, the total amount of the second freight fee is 20 yuan;
for a sub-order in the undelivered and unrereturned state (the sub-order corresponds to item D), i.e., the total weight of item D is 1 pound, the corresponding freight calculation formula is followed
The total pre-collection freight amount is 90, and the return freight amount of the commodity C is 90-30-20-30-10 yuan.
In a third exemplary scenario, item a is first returned by the user, after item a is returned, item B is shipped, and then item C is returned, whereby both item a and item C are in a returned state, item B is in a shipped state, and item D is in an undelivered and unrereturned state, if the user needs to request shipment of item D:
for the subcontract in the shipped state (the subcontract corresponds to the goods B), the corresponding subcontract corresponds to the goods B according to the freight calculation formula
For the sub-package in the returned state (the sub-package corresponds to the article a), according to the calculation method in the first exemplary scenario, the total amount of the second freight is 20 yuan;
for the sub-package in the returned state (the sub-package corresponds to the commodity C), according to the calculation method in the second exemplary scenario, the total amount of the second freight is 10 yuan;
total pre-paid shipping charge of 90, for item D
Therefore, in the whole process of shopping by the user 11 through the shopping website 121, the server 13 receives the total pre-paid shipping charge amount paid by the user 11 of 90 yuan, and pays the shipping charge of 90 yuan, wherein 60 yuan is paid to the logistics end 14, and 30 yuan is returned to the user 11.
On the basis of the beneficial technical effects of the embodiment, when a user needs to apply for goods return for different commodities in the same order, the freight amount of each commodity needing goods return can be calculated according to the freight states of the different commodities, so that the effect of finely classifying the freight states of the commodities is achieved, and the calculation of the freight amount of the commodity needing goods return is more targeted.
Fig. 7 shows a flowchart of an order processing method according to another exemplary embodiment of the present invention, and this embodiment is exemplarily described in conjunction with fig. 1, and as shown in fig. 7, includes the following steps:
step 701, determining the weight of the commodity to be processed.
Step 702, determining the prepaid freight amount of the goods to be processed according to the weight of the goods to be processed, the first weight price and the second weight price.
Step 703 determines whether the amount of the return shipping charge is greater than the prepaid shipping charge amount, if the amount of the return shipping charge is greater than the prepaid shipping charge amount, step 704 is executed, and if the amount of the return shipping charge is less than the prepaid shipping charge amount, step 705 is executed.
At step 704, the prepaid shipping amount is paid to the account associated with the order identification.
Step 705, determining whether the amount of the freight to be returned is less than zero, executing step 706 when the amount of the freight to be returned is less than zero, and executing step 707 when the amount of the freight to be returned is greater than zero.
Step 706, sending a prompt message for prompting that the amount of the return fare is zero to the user associated with the order identification.
Step 707, pay the refund shipping charge amount to the account associated with the order identification.
In an exemplary scenario, when the server 13 calculates the refund shipping charge amount of the to-be-processed commodity as M by the calculation method of the above-mentioned embodiment shown in fig. 3, the shipping charge amount of the commodity a is calculated as N by the shipping charge calculation method, and when M is smaller than 0, the value of M is set to 0; when M is greater than N, the value of M is set to N.
For example, for the product a, according to the freight calculation method provided in the above-described embodiment shown in fig. 3, the freight amount of the product a is 30 yuan, the refund freight amount of the product a is 20 yuan, and since 0<20<30, the refund freight amount of the product a is 20 yuan.
For example, in the freight calculation method provided in the embodiment shown in fig. 6, the freight amount of the article a is 30 yuan, and if the refund freight amount of the article a is 40 yuan, the refund freight amount of the article a is 30 yuan, because 30< 40.
On the basis of the beneficial technical effects of the above embodiments, the embodiment performs upper limit control on the freight amount actually returned to the user by the prepaid freight amount, so that the server 13 can avoid calculating the excess amount of the return freight to be used, and the server 13 can be ensured to be more balanced when the freight is paid to the logistics terminal and the user terminal.
FIG. 8 shows a block diagram of a traffic processing device according to an exemplary embodiment of the invention; as shown in fig. 8, the service processing apparatus may include: a first request receiving unit 81, a first state determining unit 82, a first quota determining unit 83, and a first payment unit 84. Wherein:
a first request receiving unit 81, configured to receive a service processing request, where the service processing request carries a service identifier and an identifier of an object to be processed;
a first status determining unit 82, configured to determine status information of each object included in the service identifier received by the first request receiving unit 81;
the first quota determining unit 83 is configured to determine, according to the state information of each object determined by the first state determining unit 82, a first service quota corresponding to the identifier of the object to be processed;
a first payment unit 84, configured to pay the first service amount determined by the first amount determination unit 83 to the account number associated with the service identifier.
Fig. 9 shows a block diagram of a traffic processing device according to another exemplary embodiment of the present invention; as shown in fig. 9, on the basis of the embodiment shown in fig. 8 described above, the first state determining unit 82 includes:
a preset state determining subunit 821, configured to determine whether the service identifier is in a preset state;
a sub-identifier determining sub-unit 822, configured to determine, when the preset state determining sub-unit 821 determines that the service identifier is in the preset state, a plurality of service sub-identifiers corresponding to the service identifier in the preset state;
a status information determining subunit 823 is configured to determine status information of each object included in each service sub-identifier in the plurality of service sub-identifiers determined by the sub-identifier determining subunit 822.
In one embodiment, the first quota determining unit 83 includes:
a service amount determining subunit 831, configured to determine, according to the state information of each object included in the plurality of service sub-identifiers, service amounts corresponding to the plurality of service sub-identifiers;
the first quota determining subunit 832 is configured to determine a first service quota corresponding to the identifier of the object to be processed according to the service total quota corresponding to the service identifier and the service quota corresponding to each of the plurality of service sub-identifiers determined by the service quota determining subunit 831.
In an embodiment, the apparatus further comprises:
a first weight determining unit 85 for determining the weight of the object to be processed;
a second amount determining unit 86, configured to determine a second service amount of the object to be processed according to the weight, the first weight price, and the second weight price of the object to be processed determined by the first weight determining unit 84;
the first payment unit 84 is further configured to pay the second service amount to the account associated with the service identifier when the first service amount determined by the first amount determination unit 83 is greater than the second service amount determined by the second amount determination unit 86.
In an embodiment, the apparatus further comprises:
a first sending unit 87, configured to send a prompt message for prompting that the first service quota is zero to a user associated with the service identifier when the first service quota determined by the first quota determining unit 83 is less than zero.
FIG. 10 shows a block diagram of an order processing apparatus according to an exemplary embodiment of the present invention; as shown in fig. 10, the order processing apparatus may include: a second request receiving unit 91, a second status determining unit 92, an amount determining unit 93, and a second payment unit 94. Wherein:
a second request receiving unit 91, configured to receive an order processing request, where the order processing request carries an order identifier and a commodity identifier of a to-be-processed commodity;
a second state determining unit 92, configured to determine state information of each commodity corresponding to the order identifier carried in the order processing request received by the second request receiving unit 91;
the amount determining unit 93 is configured to determine, according to the state information of each commodity determined by the second state determining unit 92, an amount of the return fee corresponding to the commodity identifier of the commodity to be processed;
and a second payment unit 94, configured to pay the amount of the refund fee determined by the amount determination unit 53 to the account number associated with the order identifier.
Fig. 11 shows a block diagram of an order processing apparatus according to another exemplary embodiment of the present invention, and as shown in fig. 11, on the basis of the above-described embodiment shown in fig. 10, the status information includes a shipped status, a returned status, and an undelivered and unrereturned status, and the second status determination unit 92 includes:
a sub-packaging delivery state determining subunit 921, configured to determine whether all the commodities corresponding to the order identifier are in a sub-packaging delivery state;
the shipment status determining subunit 922 is configured to determine the shipment status of each sub-package when the sub-package shipment status determining subunit 921 determines that all the items are in the sub-package shipment status, where the shipment status includes a shipped status, an unfired status, and each sub-package contains at least one item.
In one embodiment, the amount determining unit 93 includes:
a first determining sub-unit 931 configured to determine a first total freight amount corresponding to the sub-package in the shipped state;
a second determining subunit 932, configured to determine a second total amount of the freight fee corresponding to the sub-package in the returned state;
a third determining subunit 933, configured to determine a third total freight amount corresponding to the sub-package in the non-shipped and non-returned state;
the fourth determining subunit 934 is configured to determine, according to the total pre-collected shipping charge amount corresponding to the order identifier, the first shipping charge amount determined by the first determining subunit 931, the second shipping charge amount determined by the second determining subunit 932, and the third shipping charge amount determined by the third determining subunit 933, the amount of the return shipping charge corresponding to the to-be-processed commodity.
In an embodiment, the apparatus further comprises:
a second article weight determining unit 95 for determining the weight of the article to be processed;
a prepaid freight amount determination unit 96 for determining a prepaid freight amount for the item to be processed, based on the weight, first weight price, and second weight price of the item to be processed determined by the second item weight determination unit 95;
and a second payment unit 94 for paying the prepaid shipping charge amount to the account associated with the order identifier when the refund shipping charge amount determined by the amount determination unit 93 is larger than the prepaid shipping charge amount determined by the prepaid shipping charge amount determination unit 96.
In an embodiment, the apparatus further comprises:
and a second sending unit 97, configured to send a prompt message for prompting that the amount of the transportation fee to be refunded is zero to the user associated with the order identifier when the amount of the transportation fee to be refunded determined by the amount determining unit 93 is less than zero.
Corresponding to the above-mentioned service processing method, the present application also proposes a schematic structure diagram of a server according to an exemplary embodiment of the present invention shown in fig. 12. Referring to fig. 12, at the hardware level, the server includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, but may also include hardware required for other services. The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the service processing device on the logic level. Of course, besides the software implementation, the present application does not exclude other implementations, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
The processor is used for receiving a service processing request, wherein the service processing request carries a service identifier and an identifier of an object to be processed;
determining the state information of each object contained in the service identification;
determining a first service limit corresponding to the identifier of the object to be processed according to the state information of each object;
and paying the first service amount to the account number associated with the service identification.
Corresponding to the order processing method described above, the present application also proposes a schematic structural diagram of a server according to an exemplary embodiment of the present invention shown in fig. 13. Referring to fig. 13, at the hardware level, the server includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, but may also include hardware required for other services. The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the order processing device on the logic level. Of course, besides the software implementation, the present application does not exclude other implementations, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
The processor is used for receiving an order processing request, wherein the order processing request carries an order identifier and a commodity identifier of a commodity to be processed;
determining the state information of each commodity corresponding to the order identification;
determining the amount of the return freight corresponding to the commodity identification of the commodity to be processed according to the state information of each commodity;
the account associated with the order identification is paid a refund shipping fee amount.
Other embodiments of the present application 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 application 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 application being indicated by the following claims.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.