CN110942369B - Order processing method and device, electronic equipment and computer readable storage medium - Google Patents

Order processing method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN110942369B
CN110942369B CN201911108627.8A CN201911108627A CN110942369B CN 110942369 B CN110942369 B CN 110942369B CN 201911108627 A CN201911108627 A CN 201911108627A CN 110942369 B CN110942369 B CN 110942369B
Authority
CN
China
Prior art keywords
order
cancellation
user
orders
historical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911108627.8A
Other languages
Chinese (zh)
Other versions
CN110942369A (en
Inventor
黄长禄
周同胜
张彤鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Leading Technology Co Ltd
Original Assignee
Nanjing Leading 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 Nanjing Leading Technology Co Ltd filed Critical Nanjing Leading Technology Co Ltd
Priority to CN201911108627.8A priority Critical patent/CN110942369B/en
Publication of CN110942369A publication Critical patent/CN110942369A/en
Application granted granted Critical
Publication of CN110942369B publication Critical patent/CN110942369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present disclosure provides an order processing method, an order processing apparatus, an electronic device and a computer-readable storage medium, where the method is applied to a server and includes: receiving a first cancellation order sent by a user at the current moment; the method comprises the steps of obtaining a plurality of sent first historical cancellation orders which are cancelled continuously in a first preset time period before the current moment; determining a first cancellation order limit used by a user at the current moment according to a plurality of first historical cancellation orders and first cancellation orders which are cancelled continuously; and when the first order canceling amount reaches a first preset amount, canceling the permission of ordering within a second preset time period after the current time of the user. The invention can reduce the number of the users who are cancelled to leave the single authority, thereby avoiding the waste of storage resources when the users register a new account number due to the cancellation of the authority.

Description

Order processing method and device, electronic equipment and computer readable storage medium
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to an order processing method and apparatus, an electronic device, and a computer-readable storage medium.
Background
At present, with the development of e-commerce, more and more users are used to select goods or services desired by the users on an e-commerce platform in the aspects of shopping, traveling, hotel reservation and the like, so as to achieve the purposes of convenience and quickness. However, when the user purchases goods or services through the e-commerce platform, the issued order is often cancelled for some reasons, which brings a very adverse effect to the merchant. At present, when the times of order cancellation after a user places an order reach a certain number, a common e-commerce platform directly seals the account of the user, and the user can not meet the self requirement through the e-commerce platform.
Taking an e-commerce platform as a network contract taxi taking platform as an example, when the platform detects that the order is cancelled for a certain number of times after the user places the taxi, the platform cancels the authority of the user to use the platform, the user can not use the network contract taxi taking platform to place the taxi, and in order to continue using the taxi taking platform, some users can select to register the account again and continue to place the taxi with the newly registered account. This results in poor user experience and loss of some user groups on the one hand. On the other hand, the new registered account causes waste of registered number resources, so that storage resources of the platform are also wasted.
Therefore, the authority processing mechanism for the user account needs to be optimized to improve the technical problems that the storage resources of the platform are occupied greatly and the load is heavy.
Disclosure of Invention
Based on the technical problems, embodiments of the present invention provide an order processing method, an order processing apparatus, an electronic device, and a computer-readable storage medium, so as to optimize authority processing on a user account to optimize user experience, and avoid waste of platform storage resources and registration number resources caused by a new account registration of a user.
In a first aspect, an embodiment of the present invention provides an order processing method, where the method is applied to a server, and the method includes:
receiving a first cancellation order sent by a user at the current moment;
acquiring a plurality of continuously cancelled first historical cancellation orders sent by the user within a first preset time period before the current moment, wherein if a completed order does not exist between two adjacent first historical cancellation orders, the two adjacent first historical cancellation orders are continuously cancelled first historical cancellation orders;
determining a first cancellation order amount used by the user at the current moment according to the plurality of first historical cancellation orders cancelled continuously and the first cancellation orders;
and when the first order canceling amount reaches a first preset amount, canceling the permission of ordering within a second preset time period after the current time of the user.
Optionally, after receiving the first cancel order sent by the user at the current time, the method further includes:
determining an order type of the first cancel order;
acquiring a plurality of continuously cancelled first historical cancellation orders sent by the user within a first preset time period before the current time, wherein the method comprises the following steps:
acquiring a plurality of first historical cancellation orders which are continuously cancelled and have the same type as the orders and are sent by the user within a first preset time period before the current moment;
canceling the permission of ordering within a second preset time period after the current time of the user, wherein the permission comprises:
and canceling the permission of the user for placing the order with the same type as the order in a second preset time period after the current time.
Optionally, acquiring a plurality of continuously cancelled first historical cancelled orders which are sent by the user within a first preset time period before the current time and have the same type as the orders, where the method includes:
acquiring a plurality of second historical cancellation orders in a first preset time period before the current moment; wherein each of the plurality of second historical cancellation orders is a cancellation order sent by the user for an order that has been picked;
determining a first historical cancellation order of a plurality of consecutive cancellations from the second plurality of historical cancellation orders.
Optionally, the method further comprises:
when the first order canceling amount does not reach the first preset amount, adding an order change mark for the user;
and when an order application sent by the user is received again, the order application is dispatched according to the first cancel order and the dispatch change mark.
Optionally, the order application is dispatched according to the first cancelled order and the dispatch change mark, and the method includes:
determining an actual order dispatching distance corresponding to the first cancellation order; the actual order dispatching distance is the distance from the starting position of the order aimed by the first cancelled order to the position of a receiving party receiving the order;
and sending the order application to an order receiving user with a distance difference from the starting position of the order application smaller than the actual order sending distance according to the order change mark.
Optionally, the order application is dispatched according to the first cancelled order and the dispatch change mark, and the method includes:
determining a dispatching mode of the first cancel order and other dispatching modes different from the dispatching mode;
and according to the order change mark, sending the order application to order receiving users corresponding to the other order modes.
Optionally, the ordering the order application according to the first cancelled order and the order change mark includes:
determining the score of the order receiving user corresponding to the first cancel order;
and according to the order change mark, sending the order application to a corresponding order receiving user with a grade higher than that of the order receiving user.
Optionally, determining a first cancellation order amount used by the user at the current time according to the plurality of first historical cancellation orders and the first cancellation order, including:
and determining the plurality of first historical cancellation orders which are cancelled continuously and the total number of the first cancellation orders as the first cancellation order amount.
Optionally, the first cancellation order includes a current reason tag; each first historical cancellation order comprises a corresponding historical reason label; determining a first order cancellation amount currently used by the user according to the plurality of first historical order cancellation orders and the first order cancellation order, including:
determining the quota weight of the first order cancel according to the current reason label; determining respective quota weights of the plurality of first historical cancellation orders according to the historical reason labels;
determining the score of the first cancellation order according to a preset basic score and the quota weight of the first cancellation order; determining scores of the continuously cancelled first historical cancellation orders according to the preset basic score and the respective quota weights of the continuously cancelled first historical cancellation orders;
and determining the sum of the scores of the first cancelled orders and the scores of the first historical cancelled orders which are cancelled continuously as a first cancelled order amount which is used by the user at the current moment.
Optionally, the method further comprises:
and at the end time of the second preset time period, restoring the authority of the user for ordering.
Optionally, after the authority of the user to place an order is restored at the end time of the second preset time period, the method further includes:
when a second cancel order sent by the user is received again, multiple third history cancel orders sent by the user within a third preset time period before the time when the second cancel order is sent are obtained; wherein the third preset time period is greater than the first preset time period;
determining a second order cancellation amount used by the user according to the third history order cancellation orders and the second order cancellation orders;
and when the second order canceling amount reaches a second preset amount, canceling the right of the user for ordering within a fourth preset time period, wherein the fourth preset time period is greater than the second preset time period.
In a second aspect of the embodiments of the present invention, an order processing apparatus is provided to ensure the implementation and application of the order processing method described above, where the apparatus is applied to a server, and the apparatus includes:
the order receiving module is used for receiving a first cancel order sent by a user at the current moment;
a first historical cancellation order obtaining module, configured to obtain a plurality of continuously cancelled first historical cancellation orders that are sent by the user within a first preset time period before the current time, where if a completed order does not exist between two adjacent first historical cancellation orders, the two adjacent first historical cancellation orders are continuously cancelled first historical cancellation orders;
a first order amount determining module, configured to determine, according to the multiple first historical cancellation orders cancelled continuously and the first cancellation order, a first cancellation order amount that the user has used at the current time;
and the first permission canceling module is used for canceling the permission of ordering within a second preset time period after the current moment of the user when the first order canceling amount reaches a first preset amount.
Optionally, the apparatus further comprises:
the order type determining module is used for determining the order type of the first cancel order;
the first historical cancellation order obtaining module is specifically configured to obtain a plurality of first historical cancellation orders which are continuously cancelled and have the same type as the orders, and are sent by the user within a first preset time period before the current time;
the first permission canceling module is specifically configured to cancel a permission for the user to place an order of the same type as the order in a second preset time period after the current time.
Optionally, the first historical cancellation order obtaining module includes:
the second historical cancellation order unit is used for acquiring a plurality of second historical cancellation orders in a first preset time period before the current time; wherein each of the plurality of second historic cancellation orders is sent by the user within a preset time after the order has been taken;
and the first historical cancellation order unit is used for determining a plurality of continuously cancelled first historical cancellation orders from the plurality of second historical cancellation orders.
Optionally, the first order amount determining module is specifically configured to determine the plurality of first historical cancellation orders cancelled consecutively and the total number of the first cancellation orders as the first cancellation order amount.
Optionally, the first cancellation order includes a current reason tag; each first historical cancellation order comprises a corresponding historical reason label; the first order amount determining module comprises:
the quota weight determining unit is used for determining quota weight of the first cancellation order according to the current reason label; determining respective quota weights of the plurality of first historical cancellation orders according to the historical reason labels;
the score determining unit is used for determining the score of the first cancellation order according to a preset basic score and the quota weight of the first cancellation order; determining scores of the continuously cancelled first historical cancellation orders according to the preset basic score and the respective quota weights of the continuously cancelled first historical cancellation orders;
and the total score determining unit is used for determining the total score of the scores of the first cancelled orders and the scores of the first historical cancelled orders which are cancelled continuously as the first cancelled order amount used by the user at the current moment.
Optionally, the apparatus further comprises:
and the permission recovery module is used for recovering the permission of the user for ordering at the end time of the second preset time period.
Optionally, the apparatus further comprises:
the second historical cancellation order obtaining module is used for obtaining a plurality of third historical cancellation orders which are sent by the user within a third preset time period before the moment when the second cancellation order sent by the user is sent when the second cancellation order sent by the user is received again; wherein the third preset time period is greater than the first preset time period;
a second order amount determining module, configured to determine a second order amount to be cancelled used by the user according to the third history cancellation orders and the second cancellation order;
and the second permission canceling module is used for canceling the permission of ordering by the user in a fourth preset time period when the second order canceling amount reaches a second preset amount, wherein the fourth preset time period is greater than the second preset time period.
Optionally, the apparatus further comprises:
the order change mark adding module is used for adding an order change mark for the user when the first order canceling amount does not reach the first preset amount;
and the order sending module is used for sending the order application according to the first canceling order and the order change mark when the order application sent by the user is received again.
Optionally, the order module includes:
an actual delivery distance determining unit, configured to determine an actual delivery distance corresponding to the first cancelled order; the actual order dispatching distance is the distance from the starting position of the order aimed by the first cancelled order to the position of a receiving party receiving the order;
and the first order sending unit is used for sending the order application to an order receiving user with a distance difference from the starting position of the order application smaller than the actual order sending distance according to the order changing mark.
Optionally, the order module includes:
a list mode determining unit, configured to determine a list mode of the first cancel order and another list mode different from the list mode;
and the second order sending unit is used for sending the order application to the order receiving users corresponding to the other order sending modes according to the order changing marks.
Optionally, the order module includes:
the order receiving user score determining unit is used for determining the order receiving user score corresponding to the first cancel order;
and the third order sending unit is used for sending the order application to the corresponding order receiving user with the grade higher than that of the order receiving user according to the order change mark.
In a third aspect of the embodiments of the present invention, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when executed, the processor implements the order processing method according to the first aspect of the present invention.
In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, which stores a computer program for causing a processor to execute the order processing method according to the first aspect of the present invention.
Compared with the prior art, the embodiment of the invention has the following advantages:
when a first cancellation order sent by a user is received, a plurality of first historical cancellation orders which are continuously cancelled are obtained in a first preset time period before the current time, a first cancellation order amount used by the user at the current time is determined according to the first cancellation order and the plurality of first historical cancellation orders, and when the first cancellation order amount reaches the first preset amount, the permission of ordering of the user in a second preset time after the current time is cancelled. Since the plurality of first historically cancelled orders are orders that are cancelled consecutively, and there is no completed order between every two adjacent first historically cancelled orders. Therefore, the conditions for canceling the user permission are stricter, the number of users who cancel the ordering permission can be reduced, the registration number of new accounts can be further reduced, and accordingly registered account resources and platform storage resources are saved.
Drawings
FIG. 1 is a flow chart of the steps of an embodiment of an order processing method of the present invention;
FIG. 2 is a flowchart of the steps for determining the first order line to cancel that the user has used at the current time in an alternative order processing method of the present invention;
FIG. 3 is a schematic diagram of an embodiment of an order processing method according to the present invention;
FIG. 4 is a flowchart of steps included in an alternative order processing method of the present invention after the user's authority to place an order is restored;
FIG. 5 is a schematic diagram of an alternative embodiment of an order processing method of the present invention;
FIG. 6 is a block diagram of an order processing apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of an electronic device according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
One of the core ideas of the embodiment of the invention is that when a user sends a current cancellation order, a plurality of historical orders continuously cancelled by the user in a first preset time period before the current time are obtained, the used amount of the user at the current time is determined according to the plurality of historical orders and the current cancellation order, and when the amount reaches a preset amount, the order placing authority of the user is cancelled.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of an order processing method according to the present invention is shown, where the order processing method may be applied to a server, where the server may be a server of any kind of e-commerce platform, and specifically may include the following steps:
step S10, receiving the first cancel order sent by the user at the current time.
The first cancel order may refer to an order for which the user cancels the order after placing the order. Taking a taxi taking platform as an example, after a user selects a destination and a departure place, the user places an order to the platform, a server of the platform takes the order and then dispatches the order to the user, and after the order is dispatched, if the user selects to cancel the order, the cancelled order can be called as a first cancellation order. Of course, in practice, after the user places an order, the order is cancelled if the user does not wait for the server of the platform to pick up the order, and the cancelled order in this case may also be referred to as the first cancelled order.
In this embodiment, the server may write all information of each order applied by each user into the database, so as to later query the information of each order of each user. All the information comprises time information of order placing of the user, order type information, user information, information of whether the order is cancelled or cancelled, cancellation time, completion time or not, completion time and the like.
Step S20, obtaining a plurality of first historical cancellation orders that have been sent by the user within a first preset time period before the current time and cancelled continuously, where if there is no completed order between two adjacent first historical cancellation orders, the two adjacent first historical cancellation orders are first historical cancellation orders that have been cancelled continuously.
The first preset time period can be preset according to actual conditions, and the first historical cancellation order refers to a cancellation order which is continuously cancelled by the user within the first preset time period before the user sends the first cancellation order. Since the server stores all information of each order of the user in the database, the cancel orders that are continuously cancelled by the user within a first preset time period before the first cancel order is sent can be read from the database. The continuous cancellation referred to in the present invention means that no completed order exists between every two adjacent first historical cancellation orders, that is, every two adjacent first historical cancellation orders are both two orders for continuous ordering.
In practice, the first historical cancellation order may refer to an order cancellation application sent by the user for any type of order issued by the user. For example, taking the network appointment taxi taking platform as an example, the first historical cancellation order may be made by the user for a real-time order issued by the user, or may be made by the user for a reservation order issued by the user.
Illustratively, taking the first preset time period as 2 hours as an example, the user has issued 4 orders, namely order a, order B, order C, and order D, in sequence within 2 hours before the current time, where the user has cancelled order a, order B, and order D, and order C has not been cancelled. Order a and order B are orders that are continuously cancelled and between order B and order D, there is an order C that is completed and no continuously cancelled order is formed. Therefore, when the server acquires the historical cancel orders that the user continuously cancels within the 2 hours, the server acquires the order a and the order B.
In practice, if multiple groups of the multiple consecutively cancelled first historic cancellation orders are determined within the first preset time period, optionally, in order to further strictly limit the condition for canceling the user right and reduce the number of times of canceling the user right, the multiple consecutively cancelled first historic cancellation orders and the first cancelled orders also form consecutively cancelled cancellation orders. That is, the first cancellation order and the last historical cancellation order of the plurality of successively cancelled first historical cancellation orders are cancelled adjacently.
Illustratively, the user has issued 5 orders, namely, order a, order B, order C, order D, and order D1, in sequence within 2 hours before the current time, the user has completed order C, and all the other orders are cancelled, then order a and order B are consecutively cancelled orders, and order D1 are also consecutively cancelled orders. Order a, order B forms a first set of historical cancel order sets, order D1 forms another set of first historical cancel order sets, and order D1 is adjacent to the first cancel order, the server may identify order D, order D1 as a plurality of first historical cancel orders.
Step S30, determining a first cancellation order amount used by the user at the current time according to the plurality of first historical cancellation orders cancelled continuously and the first cancellation orders.
In an alternative example, determining the first cancel order amount that the user has used at the current time may be in the manner described in the following steps:
step S30', determining the plurality of first historical cancellation orders cancelled consecutively and the total number of the first cancellation orders as the first cancellation order amount.
In practice, the total number of the first historical cancellation orders and the first cancellation orders can be directly used as the first cancellation order amount, and if the number of the first historical cancellation orders of the user is 2, the first cancellation order amount is 3.
In another alternative example, referring to FIG. 2, a flowchart illustrating steps for determining a first cancel order amount that a user has used at the current time is shown. In this optional example, the first cancellation order may include a current reason tag; each of the first historical cancellation orders may include a respective corresponding historical reason label. As shown in fig. 2, the method may specifically include the following steps:
step S31, determining the weight of the amount of the first cancellation order according to the current reason label; and determining respective quota weights of the plurality of first historical cancellation orders according to the historical reason labels.
The reason label and the historical reason label represent the identification of the reason category of the order cancel selected by the user when the order cancel. For example, taking the network contract taxi taking platform as an example, the reason for canceling the order is as follows: variations in travel, dissatisfaction with the driver, late arrival of the driver, temporary presence, others, etc. In practice, an amount weight may be set for each reason category, and the amount weight may be a value between 0 and 1, and the higher the amount weight is, the lower the reasonability of the cancellation reason represented by the reason category may be represented. For example, if the journey is changed, the credit weight can be set to 0.6, the credit weight can be set to 0.8 when the driver is dissatisfied, and the credit weight can be set to 0.5 when the driver is late.
Step S32, determining the score of the first cancellation order according to the preset basic score and the quota weight of the first cancellation order; and determining the scores of the continuously cancelled first historical cancellation orders according to the preset basic score and the respective quota weights of the continuously cancelled first historical cancellation orders.
After the weight of the amount of the first cancellation order is determined, the product of the weight of the amount of the first cancellation order and the preset basic score can be used as the score of the first cancellation order, and similarly, the score of each first historical cancellation order can be obtained.
Illustratively, if the reason category characterized by the reason label of the first cancellation order is the dissatisfaction intention for the driver with the preset base score of 1, the credit of the first cancellation order is 0.8, and the score of the first cancellation order is 0.8.
Step S33, determining the sum of the scores of the first cancelled orders and the scores of the respective first historical cancelled orders cancelled consecutively as the first cancelled order amount used by the user at the current time.
After the score of the first cancellation order and the score of each first historical cancellation order are obtained, the sum of the scores can be used as the first cancellation order amount of the user at the current moment.
Illustratively, in connection with the above example, if the score of the first cancelled order is 0.8, the plurality of first historical cancelled orders are order a and order B, if the score of order a is 0.6 and the score of order B is 0.8, then the total score of the three cancelled orders is 2.2, and then the first cancelled order amount is 2.2.
When the technical scheme is adopted, the weight can be set for each order cancellation by combining the actual reason that the user cancels the order, so that the order placing permission of the user can be avoided being cancelled under the condition that the user reasonably cancels the order, and the mechanism for processing the user permission can be further optimized.
And step S40, when the first order canceling amount reaches a first preset amount, canceling the right of the user to place the order within a second preset time period after the current time.
In the embodiment of the invention, the preset limit can be set according to actual conditions, specifically, the preset limit can be set to simultaneously adapt to two conditions of taking the number of the cancelled orders as the first order cancelling limit and calculating the score of each order cancelling according to the weight of the limit.
When the first order canceling amount reaches the first preset amount, the user is indicated that the order is cancelled for multiple times at the current moment and the limit exceeds the upper limit of the amount given by the server, and at the moment, the authority of the user for placing the order in a second preset time period after the current moment can be cancelled, so that the user can not place a new order application in the second preset time period after the current moment.
If the first order canceling amount does not reach the first preset amount, the user's authority for placing orders is not cancelled.
For example, in combination with the example given above, taking the preset amount as 3 and the second preset time period as 4 hours as an example, if the number of cancelled orders is taken as the first cancelled order amount, the first cancelled order amount is 3, and the first preset amount is reached, the authority of the user to place an order within 4 hours after the current time is cancelled, and the user cannot place an order within the following 4 hours. If the scores of the first cancellation order and the multiple historical first cancellation orders are used as a first cancellation order amount, the first cancellation order amount is 2.2, and the first cancellation order amount does not reach a first preset amount, the permission of the user for placing the order can not be cancelled.
Referring to fig. 3, a schematic diagram of a specific example of the order processing method is shown, where the specific example takes a network contract taxi taking platform as an example, and a user can issue an order in the network contract taxi taking platform to meet a travel requirement of the user. The order processing method will be briefly described with reference to fig. 3.
In fig. 3, t2 is the current time when the user sends the first cancel order, the time period from t1 to t2 is a first preset time period before the current time, and the time period from t2 to t3 is a second preset time period after the current time.
Specifically, when a first cancel order sent by a user is received, a plurality of continuously cancelled first historical cancel orders in a time period from t1 to t2 can be obtained, a first cancel order amount used by the user at the time of t2 is determined according to the first cancel order and the plurality of continuously cancelled first historical cancel orders, and when the first cancel order amount reaches a first preset amount, the right of placing an order of the user in the time period from t2 to t3 is cancelled, so that the user cannot place an order before the time of t 3.
According to the method and the device for canceling the order, when a first cancellation order sent by a user is received, a plurality of first historical cancellation orders which are cancelled continuously in a first preset time period before the current time are obtained, a first cancellation order amount used by the user at the current time is determined according to the first cancellation order and the plurality of first historical cancellation orders, and when the first cancellation order amount reaches the first preset amount, the permission of placing the order of the user in a second preset time after the current time is cancelled. The plurality of first historical cancellation orders are continuously cancelled orders, and finished orders do not exist between every two adjacent first historical cancellation orders, so that the conditions for cancelling the authority of the user are stricter, the times of cancelling the order placing authority of the user can be reduced, the user is prevented from registering a new account due to the cancellation of the authority, the number of users with cancelled authority can be reduced on the whole, the registration number of the new account is reduced, and the account registration resources and the platform storage resources are saved.
In combination with the above embodiment, in an optional example, after receiving the first cancel order sent by the user at the current time, the method may further include the following steps:
step S11, determining an order type of the first cancel order.
In practice, each order may include an order type, and taking the network contract taxi taking platform as an example, the order type may include a real-time order and a reservation order, the real-time order refers to an order which needs to be executed by the service party immediately after the order is placed by the user, and the reservation order refers to an order which needs to be executed by the service party at a designated reservation time point after the order is placed by the user. Also taking a travel platform as an example, the order types may include a group order and a personal order, the group order refers to an order issued by a plurality of persons as a unit, and the personal order refers to an order issued on a personal name.
Accordingly, the step of obtaining a plurality of first historical cancellation orders in step S20 may specifically be the following steps:
step S20', obtaining a plurality of first historical cancellation orders that have been sent by the user within a first preset time period before the current time and are cancelled consecutively and have the same type as the orders.
In the implementation of the invention, the cancellation orders of different order types can be processed differently, and when a plurality of first historical cancellation orders are obtained, the first historical cancellation orders which are continuously cancelled and have the same order type as the first cancellation orders can be obtained.
For example, taking the order type of the first cancellation order as a real-time order as an example, the plurality of first historical cancellation orders that are continuously cancelled and obtained by the server are all real-time orders.
Further, the method of step S30 may be used to determine the first cancel order amount that the user has used at the current time.
Accordingly, step S40 may specifically be the following steps:
and step S40', canceling the authority of the user to place an order of the same type as the order in a second preset time period after the current time.
In practice, when the determined first order cancellation amount reaches the preset amount, the user's right to place an order belonging to the same order type as the first order cancellation order may be cancelled within a second preset time period after the current time. In this way, the user's authority to place orders for other types of order types may be retained.
For example, taking the order type of the first cancellation order as a real-time order as an example, when it is determined that the first cancellation order amount reaches the preset amount, the right of the user to place the real-time order in a second subsequent preset time period is cancelled. In this way, the authority of ordering the reservation sheet by the user can be reserved, namely, the user is cancelled, but the user can still order the reservation sheet.
By adopting the technical scheme, after the authority of the user for placing orders of a certain order type is cancelled, the authority of the user for placing orders of other order types can still be reserved, and the user experience is further optimized.
In another optional embodiment, since the reservation sheet is an order that is executed after a certain time after the order is placed, the number of orders is small, and in order to limit the number of times of cancellation of the reservation sheet by the user, in this optional example, when the order type of the first cancelled order is the reservation sheet, the server may acquire a plurality of first historical cancellation orders that are sent by the user cumulatively as the type of the reservation sheet within a first preset time period before the current time. That is, when the order type of a cancel order is a reservation order, the acquired first historical cancel order of the reservation order types may also be discontinuous.
With reference to the foregoing embodiment, in an optional example, the obtaining, in step S20, a plurality of first historical cancellation orders that have been continuously cancelled by the user within a first preset time period before the current time and have the same type as the order may specifically include the following steps:
step S21, acquiring a plurality of second historical cancellation orders within a first preset time period before the current time.
Wherein each of the plurality of second historical cancellation orders is a cancellation order sent by the user for an order that has been picked.
In order to avoid taking orders which are cancelled when a server receives orders after the order is placed by a user as cancellation orders for calculating the first order cancellation amount, the embodiment of the invention can firstly obtain cancellation orders sent by the user for the orders after the order has been received within a first preset time period when obtaining a plurality of first historical cancellation orders which are cancelled continuously, and the cancellation orders sent by the user for the orders after the order has been received are second historical cancellation orders.
For example, taking a network contract taxi taking platform as an example, the first preset time period is 2 hours, and within 2 hours before the current time, the orders issued by the user are an order E, an order F, an order G, an order H and an order J, respectively, wherein the server may determine the order E, the order F, the order H and the order J as the second historical cancellation order only if the order G is not cancelled until the driver takes the order and the remaining orders are cancelled after the driver takes the order.
Step S22, determining a plurality of consecutively cancelled first historic cancellation orders from the plurality of second historic cancellation orders.
The process of this step S22 corresponds to the process of step S20 described above, i.e., a plurality of consecutively cancelled first historic cancellation orders are determined among the determined plurality of second historic cancellation orders.
Illustratively, in connection with the above example, order E, order F, order H, and order J, order E and order F are orders that cancel in succession, and order H and order J are orders that cancel in succession. In practice, the orders H and J adjacent to the current first cancel order may be taken as the first historical cancel order.
When the technical scheme is adopted, the order cancelled after the order is placed and accepted by the service provider is used as the basis for determining the first order limit cancellation, so that the condition for canceling the user authority is more strict, the frequency for canceling the user authority is reduced, and the user experience is optimized.
With reference to the foregoing embodiment, in an optional example, after canceling the right of the user to place the order within a second preset time period after the current time, the method may further include:
and step S50, restoring the authority of the user for ordering at the end time of the second preset time period.
In practice, when the second preset time period ends, the authority of placing the order cancelled by the user can be recovered, so that the user can continue to place the order. If the second preset time period is 4 hours and the current time is 12:05, the ending time of the second preset time period is 16:05 minutes, and the permission of ordering by the user can be recovered at 16:05 minutes.
Correspondingly, as shown in fig. 4, a flowchart of steps that may be further included after the right of the user to place an order is restored is shown, and as shown in fig. 4, the following steps may be further specifically included:
step S60, when the second cancel order sent by the user is received again, acquiring a plurality of third history cancel orders that have been sent by the user within a third preset time period before the time when the second cancel order was sent.
Wherein the third preset time period is greater than the first preset time period.
In practice, after the authority of the user for placing the order is recovered, if a second cancellation order newly sent by the user is received again, a plurality of third history cancellation orders which are sent by the user in an accumulated manner within a third preset time period before the second cancellation order is sent are obtained. If the user issues 7 orders within a third preset time period before the second cancelled order is sent, wherein 5 orders are cancelled, and the 5 orders are taken as the third history cancelled orders no matter whether the 5 orders are cancelled continuously or not.
Step S70, determining a second cancellation order amount used by the user according to the plurality of third history cancellation orders and the second cancellation order.
The process of step S70 is similar to the process of step S30, and reference is made to step S30 for relevant points, which are not described herein again.
And step S80, when the second order canceling amount reaches a second preset amount, canceling the right of the user to place the order within a fourth preset time period, wherein the fourth preset time period is longer than the second preset time period.
The second preset limit can be larger than the first preset limit, the setting can be carried out according to the actual situation, and the fourth preset time period is larger than the second preset time period, so that when the second order canceling limit reaches the second preset limit and the authority of the user for ordering within the fourth preset time period is cancelled, the user can not order within a longer time period, and the time for canceling the authority of the user is prolonged when the user frequently cancels orders.
Referring to fig. 5, a schematic diagram of a specific example of the order processing method is shown, and with reference to the example shown in fig. 3, in fig. 5, t5 is a time when the second cancel order is sent, a time period from t4 to t5 is a third preset time period, and a time period from t5 to t6 is a fourth preset time period, where a time period from t5 to t6 is greater than a time period from t2 to t3, and the time period from t4 to t5 may include a time period from t1 to t 3.
Specifically, the ordering right of the user is recovered at the time t3, when a second cancellation order is received again at the time t5, a third history cancellation order which is cumulatively cancelled by the user in the time period from t4 to t5 is obtained, a second cancellation order amount which is used by the user at the time t5 is determined according to the second cancellation order and the third history cancellation orders, and when the second cancellation order amount reaches a second preset amount, the ordering right of the user in the time period from t5 to t6 is cancelled, so that the time length for prohibiting the user from ordering is prolonged.
With reference to the foregoing embodiment, in an optional example, when the first order cancellation amount does not reach the first preset amount, the next order dispatch policy of the user may be changed, specifically, the user order processing method may further include the following steps:
step S50', when the first cancelled order amount does not reach the first preset amount, add a dispatch change mark to the user.
In practice, when the first cancel order limit does not reach the first preset limit, it may indicate that the user does not cancel the order frequently, and the user may cancel the order due to unreasonable platform order dispatching. The menu change mark may be an icon or a character string.
And step S60', when receiving the order application sent by the user again, dispatching the order application according to the first cancellation order and the dispatching change mark.
After the user sends the first order cancel, the server receives the order application sent by the user again, the server needs to dispatch a new order application sent by the user, the mark can be changed according to the dispatch of the user during dispatching to optimize the dispatching of the user, and the dispatching of the new order application can be combined with the first order cancel of the user during optimizing the dispatching of the new order application.
Specifically, in an optional example, the purpose of dispatching the order application according to the first cancelled order and the dispatching change flag may be achieved by the method described in the following steps, specifically, the method may include the following steps:
step S601', determine an actual dispatch distance corresponding to the first cancelled order.
The actual order dispatching distance is the distance from the starting position of the order aimed by the first cancelled order to the position of the receiving party receiving the order.
The order targeted by the first cancellation order is the order cancelled by the user at the current moment. For example, taking the network contract taxi taking platform as an example, the user sends the order a, then cancels the order a to form a first cancelled order a ', and then the order a is the order for the order a'.
The receiving party receiving the order refers to the order receiving user of the order determined by the server. In practice, the starting position and the position of the receiving party may be included in the first cancellation order, and the server determines a distance between the starting position and the position of the receiving party, where the distance may be an actual traffic route distance obtained according to a traffic network. For example, if the starting point is H building and the receiving party is B bus station, the actual dispatch distance is the route distance from H building to B bus station.
Step S602', according to the order change mark, sending the order application to an order receiving user whose distance difference from the starting position of the order application is smaller than the actual order sending distance.
The starting point position of the order application is the position where the user sends the order application, and the order receiving user refers to a user which is registered in the server and used for receiving the order to provide order service. After the actual order dispatching distance is determined, the user needs to optimize the order dispatching mode of the order application of the user because the user has an order dispatching change mark.
In specific implementation, the server can send the order application to the order receiving user whose distance from the starting point of the user is smaller than the actual order sending distance, so as to reduce the order sending distance. Taking the network contract taxi taking platform as an example, the shorter the dispatch distance is, the shorter the time spent by the order receiving user to reach the starting point position is, because the dispatch distance is related to the time spent by the order receiving user to reach the starting point position. Therefore, the dispatching distance is reduced, namely the time spent on reaching the starting point position is shortened, the waiting time of waiting for the vehicle of the user is reduced, and the user experience is optimized.
In practice, there may be a plurality of order taking users whose distance from the starting point position where the user is located is less than the actual order dispatching distance, and optionally, among the plurality of order taking users whose distance from the starting point position where the user is located is less than the actual order dispatching distance, the order taking user whose distance from the starting point position where the user is located is determined as the receiver of the order application.
In another optional example, the purpose of placing orders according to the first cancellation order and the placement change flag may also be achieved by the method described in the following steps, and specifically, the method may include the following steps:
step S603', determining a dispatching mode of the first cancelled order and other dispatching modes different from the dispatching mode.
The order mode may refer to a service type of an order targeted by the first cancelled order, and in practice, each order mode may have its own rank. When determining other dispatching modes different from the dispatching mode, the other dispatching modes may be dispatching modes with a higher level than the dispatching mode.
For example, taking the network appointment taxi taking platform as an example, the service type for each network appointment order may be a special taxi, a fast taxi, a tailgating car, etc., and in practice, each service type has a service level, for example, the service level of the special taxi is higher than that of the fast taxi, and the service level of the fast taxi is higher than that of the taxi. If the order dispatching mode of the first order cancellation is express, the special vehicle with higher grade can be determined as other modes.
And step S604', according to the order change mark, sending the order application to the order receiving user corresponding to the other order mode.
After determining the other order sending modes, the user needs to optimize the order sending mode of the order application of the user because the user has an order sending change mark. In specific implementation, the server may send the order application to the order receiving user providing the other order sending modes, so as to improve the service level for the user, implement service upgrade for the user, and enable the user to know that the service level provided by the order receiving user receiving the new order application is higher when the user sends a new order application after canceling the order, so as to optimize user experience.
In another optional example, the purpose of placing orders according to the first cancellation order and the placement change flag may also be achieved by the method described in the following steps, and specifically, the method may include the following steps:
and step S605', determining the score of the order receiving user corresponding to the first canceling order.
Wherein, the order receiving user score refers to: the order targeted by the first cancelled order is scored by the user of the order receiving user, and in practice, the user who sent the order may also score the service of the order receiving user. Therefore, when the order targeted by the first cancel order is sent to the corresponding order receiving user, the order receiving user score of the order receiving user can be included in the order, and further, the order receiving user score can be included in the first cancel order generated by canceling the order.
And step S606', according to the order change mark, the order application is sent to the order receiving user with the corresponding user score higher than the order receiving user score.
After the order receiving user score is determined, the order sending mode of the order application of the user needs to be optimized because the user has an order sending change mark. Specifically, when the order application is dispatched, the order application may be sent to the order receiving user whose score is higher than the score of the order receiving user, that is, the score of the order receiving user who finally receives the order application is higher than the user score of the order receiving user who receives the order for which the first cancelled order is directed.
If the order receiving user receiving the order targeted by the first cancelled order is the user SH, and the score of the order receiving user of the user SH is 4.2, when the server sends a new order application, the order application may be sent to an order receiving user with a score higher than 4.2, for example, the order receiving user WH.
In practice, there may be a plurality of order receiving users with higher user scores than the order receiving user score, and optionally, the order application may be sent to the order receiving user with the highest user score.
Optionally, in practice, when the order application is dispatched according to the first cancel order and the dispatch change flag, the method described in the above steps S601 'to S606' may be integrated to dispatch the new order application.
Specifically, the order application may be sent to the determined target order receiving user according to the determined order sending mode of the first cancelled order, the actual order sending distance, and the score of the order receiving user. The order receiving user score of the target order receiving user is higher than the order receiving user score of the first order canceling user, the distance between the target order receiving user and the starting point position of the order application is smaller than the actual order dispatching distance, and the order dispatching mode of the target order receiving user is other order dispatching modes.
Therefore, comprehensive dispatching optimization can be carried out on the new order application sent by the user canceling the order from the actual dispatching distance, the dispatching mode and the order receiving user score, so as to optimize the user experience.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 6, a block diagram of an embodiment of an order processing apparatus according to the present invention is shown, where the apparatus is applied to a server, and specifically includes the following modules:
the order receiving module 61 is configured to receive a first cancel order sent by a user at a current time;
a first historical cancellation order obtaining module 62, configured to obtain a plurality of first historical cancellation orders that have been sent by the user and cancelled continuously within a first preset time period before the current time, where if there is no completed order between two adjacent first historical cancellation orders, the two adjacent first historical cancellation orders are first historical cancellation orders that have been cancelled continuously;
a first order amount determining module 63, configured to determine, according to the multiple first historical cancellation orders cancelled consecutively and the first cancellation orders, a first cancellation order amount that the user has used at the current time;
and a first permission canceling module 64, configured to cancel, when the first order canceling amount reaches a first preset amount, a permission of the user to place an order within a second preset time period after the current time.
Optionally, the apparatus may further include the following modules:
the order type determining module is used for determining the order type of the first cancel order;
the first historical cancellation order obtaining module is specifically configured to obtain a plurality of first historical cancellation orders which are continuously cancelled and have the same type as the orders, and are sent by the user within a first preset time period before the current time;
the first permission canceling module is specifically configured to cancel a permission of the user to place an order of the same type as the order within a second preset time period after the current time.
Optionally, the first historical cancellation order obtaining module may specifically include the following units:
the second historical cancellation order unit is used for acquiring a plurality of second historical cancellation orders in a first preset time period before the current time; wherein each of the plurality of second historic cancellation orders is sent by the user within a preset time after the order has been taken;
and the first historical cancellation order unit is used for determining a plurality of continuously cancelled first historical cancellation orders from the plurality of second historical cancellation orders.
Optionally, the first order amount determining module may be specifically configured to determine the plurality of first historical cancellation orders that are cancelled consecutively and the total number of the first cancellation orders as the first cancellation order amount.
Optionally, the first cancellation order may include a current reason tag; each first historical cancellation order comprises a corresponding historical reason label; the first order amount determining module comprises:
an amount weight determining unit, configured to determine an amount weight of the first cancellation order according to the current reason label; determining respective quota weights of the plurality of first historical cancellation orders according to the historical reason labels;
the score determining unit can be used for determining the score of the first cancellation order according to a preset basic score and the quota weight of the first cancellation order; determining scores of the continuously cancelled first historical cancellation orders according to the preset basic score and the respective quota weights of the continuously cancelled first historical cancellation orders;
the total score determining unit may be configured to determine a total score of the scores of the first cancelled orders and the scores of the respective first historical cancelled orders cancelled consecutively as a first cancelled order amount used by the user at the current time.
Optionally, the apparatus may further include the following modules:
and the permission recovery module can be used for recovering the permission of ordering by the user at the end time of the second preset time period.
Accordingly, the apparatus may further include the following modules:
the second history cancellation order obtaining module may be configured to, after the right of the user to place an order is restored at the end time of the second preset time period, obtain, when a second cancellation order sent by the user is received again, a plurality of third history cancellation orders that have been sent by the user in a third preset time period before the time of sending the second cancellation order; wherein the third preset time period is greater than the first preset time period;
a second order amount determining module, configured to determine a second order amount to be cancelled used by the user according to the third history cancellation orders and the second cancellation order;
the second permission canceling module may be configured to cancel a permission of the user to place an order within a fourth preset time period when the second cancellation order amount reaches a second preset amount, where the fourth preset time period is greater than the second preset time period.
Optionally, the apparatus may further include the following modules:
the order change mark adding module is used for adding an order change mark for the user when the first order canceling amount does not reach the first preset amount;
and the order sending module is used for sending the order application according to the first canceling order and the order change mark when the order application sent by the user is received again.
Optionally, the order module may specifically include the following units:
an actual delivery distance determining unit, configured to determine an actual delivery distance corresponding to the first cancelled order; the actual order dispatching distance is the distance from the starting position of the order aimed by the first cancelled order to the position of a receiving party receiving the order;
and the first order sending unit is used for sending the order application to an order receiving user with a distance difference from the starting point of the order application smaller than the actual order sending distance according to the order changing mark.
Optionally, the order module may specifically include the following units:
a list mode determining unit, configured to determine a list mode of the first cancel order and another list mode different from the list mode;
and the second order sending unit is used for sending the order application to the order receiving users corresponding to the other order sending modes according to the order changing marks.
Optionally, the order module may specifically include the following units:
the order receiving user score determining unit is used for determining the order receiving user score corresponding to the first cancel order;
and the third order sending unit is used for sending the order application to the corresponding order receiving user with the grade higher than that of the order receiving user according to the order change mark.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Referring to fig. 7, a schematic structural diagram of an electronic device 700 according to an embodiment of the present application is shown, where the electronic device 700 may be used for performing authority processing, and may include a memory 71, a processor 72, and a computer program stored in the memory 71 and executable on the processor, where the processor 72 is configured to execute the order processing method.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, so that a processor executes the order processing method.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. 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 terminal that comprises the element.
The order processing method, the order processing device, the electronic device and the computer-readable storage medium provided by the invention are described in detail, and a specific example is applied in the description to explain the principle and the implementation of the invention, and the description of the embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (20)

1. An order processing method is applied to a server and comprises the following steps:
receiving a first cancellation order sent by a user at the current moment;
acquiring a plurality of continuously cancelled first historical cancellation orders sent by the user within a first preset time period before the current moment, wherein if a completed order does not exist between two adjacent first historical cancellation orders, the two adjacent first historical cancellation orders are continuously cancelled first historical cancellation orders;
determining a first cancellation order amount used by the user at the current moment according to the plurality of first historical cancellation orders cancelled continuously and the first cancellation orders;
and when the first order canceling amount reaches a first preset amount, canceling the permission of ordering within a second preset time period after the current time of the user.
2. The method of claim 1, wherein after receiving a first cancellation order sent by a user at a current time, the method further comprises:
determining an order type of the first cancel order;
acquiring a plurality of continuously cancelled first historical cancellation orders sent by the user within a first preset time period before the current time, wherein the method comprises the following steps:
acquiring a plurality of first historical cancellation orders which are continuously cancelled and have the same type as the orders and are sent by the user within a first preset time period before the current moment;
canceling the permission of ordering within a second preset time period after the current time of the user, wherein the permission comprises:
and canceling the permission of the user for placing the order with the same type as the order in a second preset time period after the current time.
3. The method of claim 1, further comprising:
when the first order canceling amount does not reach the first preset amount, adding an order change mark for the user;
and when an order application sent by the user is received again, the order application is dispatched according to the first canceling order and the dispatching change mark.
4. The method of claim 3, wherein the ordering the order application according to the first cancelled order and the order change flag comprises:
determining an actual order dispatching distance corresponding to the first cancellation order; the actual order dispatching distance is the distance from the starting position of the order aimed by the first cancelled order to the position of a receiving party receiving the order;
and sending the order application to an order receiving user with a distance difference from the starting position of the order application smaller than the actual order sending distance according to the order change mark.
5. The method of claim 3 or 4, wherein the ordering the order application according to the first cancelled order and the order change flag comprises:
determining a dispatching mode of the first cancel order and other dispatching modes different from the dispatching mode;
and according to the order change mark, sending the order application to the order receiving user corresponding to the other order modes.
6. The method of claim 3 or 4, wherein dispatching the order application according to the first cancellation order and the dispatch change flag comprises:
determining the score of the order receiving user corresponding to the first cancel order;
and according to the order change mark, sending the order application to a corresponding order receiving user with a grade higher than that of the order receiving user.
7. The method of claim 1, wherein obtaining a plurality of first historical cancelled orders that have been sent by the user within a first preset time period before the current time and are cancelled consecutively and of the same type as the orders comprises:
acquiring a plurality of second historical cancellation orders in a first preset time period before the current moment; wherein each of the plurality of second historical cancel orders is a cancel order sent by the user for an order that has been picked;
determining a first historical cancellation order of a plurality of consecutive cancellations from the second plurality of historical cancellation orders.
8. The method of claim 1, wherein determining a first cancel order amount used by the user at the current time based on the plurality of first historical cancel orders and the first cancel order comprises:
and determining the plurality of first historical cancellation orders which are cancelled continuously and the total number of the first cancellation orders as the first cancellation order amount.
9. The method of claim 1, wherein the first cancellation order comprises a current reason tag; each first historical cancellation order comprises a corresponding historical reason label; determining a first order cancellation amount currently used by the user according to the plurality of first historical order cancellation orders and the first order cancellation order, including:
determining the quota weight of the first order cancel according to the current reason label; determining respective quota weights of the plurality of first historical cancellation orders according to the historical reason labels;
determining the score of the first cancellation order according to a preset basic score and the quota weight of the first cancellation order; determining scores of the continuously cancelled first historical cancellation orders according to the preset basic score and the respective quota weights of the continuously cancelled first historical cancellation orders;
and determining the sum of the scores of the first cancelled orders and the scores of the successively cancelled first historical cancelled orders as a first cancelled order quota used by the user at the current moment.
10. The method of any one of claims 1, 2, 7 to 9, further comprising:
and at the end time of the second preset time period, restoring the authority of the user for ordering.
11. The method according to claim 10, wherein after resuming the user's right to place an order at the end of the second preset time period, the method further comprises:
when a second cancel order sent by the user is received again, a plurality of third history cancel orders sent by the user in a third preset time period before the moment when the second cancel order is sent are obtained; wherein the third preset time period is greater than the first preset time period;
determining a second order cancellation amount used by the user according to the third history order cancellation orders and the second order cancellation orders;
and when the second order canceling amount reaches a second preset amount, canceling the right of the user for ordering within a fourth preset time period, wherein the fourth preset time period is greater than the second preset time period.
12. An order processing apparatus, wherein the apparatus is applied to a server, the apparatus comprising:
the order receiving module is used for receiving a first cancel order sent by a user at the current moment;
a first historical cancellation order obtaining module, configured to obtain multiple continuously cancelled first historical cancellation orders that have been sent by the user within a first preset time period before the current time, where if a completed order does not exist between two adjacent first historical cancellation orders, the two adjacent first historical cancellation orders are continuously cancelled first historical cancellation orders;
a first order amount determining module, configured to determine, according to the multiple first historical cancellation orders cancelled continuously and the first cancellation order, a first cancellation order amount that the user has used at the current time;
and the first permission canceling module is used for canceling the permission of ordering within a second preset time period after the current moment of the user when the first order canceling amount reaches a first preset amount.
13. The apparatus of claim 12, further comprising:
the order type determining module is used for determining the order type of the first cancel order;
the first historical cancellation order obtaining module is specifically configured to obtain a plurality of first historical cancellation orders which are continuously cancelled and have the same type as the orders, and are sent by the user within a first preset time period before the current time;
the first permission canceling module is specifically configured to cancel a permission of the user to place an order of the same type as the order within a second preset time period after the current time.
14. The apparatus of claim 12, wherein the first historical cancellation order taking module comprises:
the second historical cancellation order unit is used for acquiring a plurality of second historical cancellation orders in a first preset time period before the current time; wherein each of the plurality of second historic cancellation orders is sent by the user within a preset time after the order has been taken;
and the first historical cancellation order unit is used for determining a plurality of continuously cancelled first historical cancellation orders from the plurality of second historical cancellation orders.
15. The apparatus of claim 12, wherein the first order amount determining module is specifically configured to determine the first historical cancellation orders of the consecutive cancellations and the total number of the first cancellation orders as the first cancellation order amount.
16. The apparatus of claim 12, wherein the first cancellation order comprises a current reason tag; each first historical cancellation order comprises a corresponding historical reason label; the first order amount determining module comprises:
the quota weight determining unit is used for determining quota weight of the first cancellation order according to the current reason label; determining respective quota weights of the plurality of first historical cancellation orders according to the historical reason labels;
the score determining unit is used for determining the score of the first cancellation order according to a preset basic score and the quota weight of the first cancellation order; determining scores of the continuously cancelled first historical cancellation orders according to the preset basic score and the respective quota weights of the continuously cancelled first historical cancellation orders;
and a total score determining unit, configured to determine a total score of the scores of the first cancelled orders and the scores of the successively cancelled first historical cancelled orders as a first cancelled order amount used by the user at the current time.
17. The apparatus of any one of claims 12 to 16, further comprising:
and the permission recovery module is used for recovering the permission of the user for ordering at the end time of the second preset time period.
18. The apparatus of claim 17, further comprising:
the second historical cancellation order obtaining module is used for obtaining a plurality of third historical cancellation orders which are sent by the user within a third preset time period before the moment when the second cancellation order sent by the user is sent when the second cancellation order sent by the user is received again; wherein the third preset time period is greater than the first preset time period;
a second order amount determining module, configured to determine a second order amount to be cancelled used by the user according to the third history cancellation orders and the second cancellation order;
and the second permission canceling module is used for canceling the permission of ordering by the user in a fourth preset time period when the second order canceling amount reaches a second preset amount, wherein the fourth preset time period is greater than the second preset time period.
19. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing implementing the order processing method according to any of claims 1-11.
20. A computer-readable storage medium storing a computer program for causing a processor to execute the order processing method according to any one of claims 1 to 11.
CN201911108627.8A 2019-11-13 2019-11-13 Order processing method and device, electronic equipment and computer readable storage medium Active CN110942369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911108627.8A CN110942369B (en) 2019-11-13 2019-11-13 Order processing method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911108627.8A CN110942369B (en) 2019-11-13 2019-11-13 Order processing method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110942369A CN110942369A (en) 2020-03-31
CN110942369B true CN110942369B (en) 2022-05-17

Family

ID=69906511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911108627.8A Active CN110942369B (en) 2019-11-13 2019-11-13 Order processing method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110942369B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113705845A (en) * 2021-09-18 2021-11-26 中国银行股份有限公司 Commemorative coin reservation processing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105046331A (en) * 2015-06-30 2015-11-11 百度在线网络技术(北京)有限公司 Order matching method and device
CN105225109A (en) * 2015-09-07 2016-01-06 腾讯科技(深圳)有限公司 A kind of method and apparatus carrying out order processing
CN107122866B (en) * 2017-05-03 2020-12-11 百度在线网络技术(北京)有限公司 Method, equipment and storage medium for predicting order cancelling behavior of passenger
CN109711942A (en) * 2018-12-28 2019-05-03 湖北汇盾传媒有限公司 The method for avoiding net from constantly cancelling an order when about going on a journey

Also Published As

Publication number Publication date
CN110942369A (en) 2020-03-31

Similar Documents

Publication Publication Date Title
US10466059B2 (en) Providing alternative routing options to a rider of a transportation management system
US11386359B2 (en) Systems and methods for managing a vehicle sharing facility
US11392861B2 (en) Systems and methods for managing a vehicle sharing facility
US10021243B2 (en) Telephone call placement
CN113095531A (en) Order dispatching method and device
GB2535718A (en) Resource management
US20120078672A1 (en) Efficient Automated Ride Sharing System
US11132626B2 (en) Systems and methods for vehicle resource management
CN105631630A (en) Passenger order data processing method and device
JP2004310316A (en) Vehicle allocation processor, its system, its method, its program and recording medium with its program recorded thereon
JP6258952B2 (en) Passenger guidance system and passenger guidance method
US20180075566A1 (en) System and method of calculating a price for a vehicle journey
CN107507025A (en) Airport trade company reward voucher supplying system and method based on wechat platform
CN112906980B (en) Order processing method, device and system and readable storage medium
CN110782052A (en) Vehicle reservation system, vehicle reservation method, and storage medium storing program
CN110942369B (en) Order processing method and device, electronic equipment and computer readable storage medium
CN115526687A (en) Data processing method for event query, electronic device and storage medium
JP2012203532A (en) Personnel loan support device and personnel loan support program
JP2002024659A (en) Taxi dispatch reserving system
CN110570002A (en) Reservation list mixed interlinked dispatching method and device based on non-idle travel vehicle
CN110363611A (en) Net about vehicle user matching method, device, server and storage medium
JP6229354B2 (en) Demand forecasting device, demand forecasting method, and demand forecasting program
JP2016177629A (en) Itinerary estimation device, program and information classification method
CN110853333A (en) Reservation order dispatching method and device based on real-time single-stroke vehicle
CN110570100A (en) Real-time order dispatching method and device based on real-time single-stroke vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant