CN116797314A - Order generation method, order generation device, computer equipment and readable storage medium - Google Patents

Order generation method, order generation device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN116797314A
CN116797314A CN202310552285.9A CN202310552285A CN116797314A CN 116797314 A CN116797314 A CN 116797314A CN 202310552285 A CN202310552285 A CN 202310552285A CN 116797314 A CN116797314 A CN 116797314A
Authority
CN
China
Prior art keywords
resource
user
candidate
amount
resource quantity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310552285.9A
Other languages
Chinese (zh)
Inventor
耿晓东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rajax Network Technology Co Ltd
Original Assignee
Rajax Network 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 Rajax Network Technology Co Ltd filed Critical Rajax Network Technology Co Ltd
Priority to CN202310552285.9A priority Critical patent/CN116797314A/en
Publication of CN116797314A publication Critical patent/CN116797314A/en
Pending legal-status Critical Current

Links

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
    • 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/0607Regulated
    • 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/0639Item locations
    • 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/0641Shopping interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses an order generation method, an order generation device, computer equipment and a readable storage medium, which relate to the technical field of Internet, and can automatically recalculate the actual resource amount according to the distribution position while estimating the resource amount consumed by purchasing candidate commodities, and realize quick generation of orders by utilizing the processing capacity of a computer, thereby improving the generation efficiency and having better flexibility. The method comprises the following steps: determining the position information of a user, and displaying candidate commodities and display resource amounts corresponding to the candidate commodities to the user according to the position information; responding to clicking operation of the candidate commodity, acquiring a delivery address provided by a user, and generating actual resource quantity of the candidate commodity based on the delivery address; when a numerical difference exists between the display resource quantity and the actual resource quantity, determining the resource quantity to be transferred according to the display resource quantity and the actual resource quantity, and displaying the resource quantity to be transferred; and responding to the confirmation operation of the resource quantity to be transferred, and generating a first commodity order comprising the resource quantity to be transferred.

Description

Order generation method, order generation device, computer equipment and readable storage medium
The application is a divisional application of an application patent application with the application date of 2021, 3 months and 15 days, the application number of 2021102760729 and the name of 'order generation method, device, computer equipment and readable storage medium'.
Technical Field
The present application relates to the field of internet technologies, and in particular, to an order generating method, an order generating device, a computer device, and a readable storage medium.
Background
With the continuous development of internet technology, in most of service industries, the requirements of users on experience are higher and higher, so that more and more services can be provided for users by the terminals, for example, the takeaway industry becomes an important component of people's daily life, and people can enjoy consumption and services without going out. In the present platform for providing takeaway service, a subsidy means is generally adopted to attract users, so that delivery fees, packaging fees and the like are reduced for the users, the reduced price is generated as the amount of resources required to be paid by the users for ordering and is displayed to the users, so that the users can clearly pay for the amount of money, and orders are generated for the users.
In the related art, the platform usually displays the original resource amount (i.e. original price) of the commodity to the user, and when the user confirms that a certain commodity is placed, the package fee, the delivery fee and the like related to the commodity are summarized to obtain the actual amount to be paid for the user to purchase the commodity, and an order is generated for the user according to the actual amount.
In carrying out the present application, the applicant has found that the related art has at least the following problems:
the price seen by the user is inconsistent with the price in the generated order due to the fact that the value difference exists between the original price of the commodity and the actual amount of the finally generated order, the price needs to be calculated again when the order is generated, a large amount of extra workload is involved, the order generation efficiency is low, and the flexibility is poor.
Disclosure of Invention
In view of this, the present application provides a method, apparatus, computer device and readable storage medium for generating orders, which mainly aims to solve the problems of large amount of extra workload, low order generation efficiency and poor flexibility caused by the need of re-price calculation when generating orders at present.
According to a first aspect of the present application, there is provided a method of order generation, the method comprising:
determining position information of a user, and displaying a candidate commodity and a display resource amount corresponding to the candidate commodity to the user according to the position information, wherein the display resource amount is generated by reducing the subsidy resource amount held by the user on the rated resource amount of the candidate commodity, and the rated resource amount is the sum of the original resource amount, the estimated distribution consumption resource amount and the packaging consumption resource amount of the candidate commodity;
responding to clicking operation of the candidate commodity, acquiring a delivery address provided by the user, and generating the actual resource quantity of the candidate commodity based on the delivery address;
when a numerical difference exists between the display resource quantity and the actual resource quantity, determining a resource quantity to be transferred according to the display resource quantity and the actual resource quantity, and displaying the resource quantity to be transferred;
and responding to the confirmation operation of the resource quantity to be transferred, and generating a first commodity order comprising the resource quantity to be transferred.
In another embodiment, the displaying the candidate commodity and the display resource amount corresponding to the candidate commodity to the user according to the location information includes:
determining the candidate commodity, and calculating the rated resource amount of the candidate commodity based on the position information and the store position of a target store to which the candidate commodity belongs, wherein the distance between the store position and the position information is smaller than or equal to a distance threshold;
obtaining patch resource quantity provided for the user, wherein the value of the patch resource quantity is any random value or a preset value of the target store;
calculating a difference value between the rated resource quantity and the subsidy resource quantity, and taking the difference value as the display resource quantity;
and marking the candidate commodity by adopting the display resource quantity, and displaying the marked candidate commodity to the user.
In another embodiment, the calculating the rated resource amount of the candidate commodity based on the location information and a store location of a target store to which the candidate commodity belongs includes:
calculating a first position distance between the position information and the store position, and determining the estimated distribution consumption resource amount corresponding to the first position distance;
inquiring the original resource quantity corresponding to the candidate commodity in the target store and the package consumption resource quantity;
and counting the sum of the original resource quantity, the estimated distribution consumed resource quantity and the package consumed resource quantity as the rated resource quantity.
In another embodiment, the obtaining the delivery address provided by the user, generating the actual resource amount of the candidate commodity based on the delivery address, includes:
calculating a second location distance between the delivery address and a store location of a target store providing the candidate commodity, and determining an actual delivery consumption resource amount corresponding to the second location distance;
and calculating the sum of the original resource quantity, the actual distribution consumption resource quantity and the packaging consumption resource quantity, and reducing the patch resource quantity on the sum to obtain the actual resource quantity.
In another embodiment, the determining the amount of resources to be transferred according to the amount of the display resources and the actual amount of resources includes:
when the actual resource amount is larger than the display resource amount, inquiring the expansion resource amount of a target store to which the candidate commodity belongs, and determining the resource amount to be transferred according to the expansion resource amount and the numerical value difference;
and when the actual resource amount is smaller than the display resource amount, taking the actual resource amount as the resource amount to be transferred.
In another embodiment, the determining the amount of resources to be transferred according to the amount of expansion resources and the numerical difference includes:
if the expanded resource amount is successfully acquired, the expanded resource amount is reduced on the actual resource amount, and the reduced actual resource amount is used as the resource amount to be transferred;
and if the expanded resource quantity is not obtained, taking the actual resource quantity as the resource quantity to be transferred.
In another embodiment, after the obtaining the delivery address provided by the user in response to the clicking operation on the candidate commodity and generating the actual resource amount of the candidate commodity based on the delivery address, the method further includes:
when the numerical difference does not exist between the display resource amount and the actual resource amount, a second merchandise order including the display resource amount is generated.
According to a second aspect of the present application, there is provided an order generating apparatus comprising:
the display module is used for determining the position information of a user, displaying candidate commodities and display resource amounts corresponding to the candidate commodities to the user according to the position information, wherein the display resource amounts are generated after the subsidy resource amounts held by the user are reduced on the rated resource amounts of the candidate commodities, and the rated resource amounts are the sum of the original resource amounts, the estimated distribution consumption resource amounts and the packaging consumption resource amounts of the candidate commodities;
the first generation module is used for responding to clicking operation on the candidate commodity, acquiring a delivery address provided by the user and generating the actual resource quantity of the candidate commodity based on the delivery address;
the display module is further configured to determine a resource amount to be transferred according to the display resource amount and the actual resource amount when there is a numerical difference between the display resource amount and the actual resource amount, and display the resource amount to be transferred;
and the second generation module is used for responding to the confirmation operation of the resource quantity to be transferred and generating a first commodity order comprising the resource quantity to be transferred.
In another embodiment, the display module is configured to determine the candidate commodity, calculate the rated resource amount of the candidate commodity based on the location information and a store location of a target store to which the candidate commodity belongs, where a distance between the store location and the location information is less than or equal to a distance threshold; obtaining patch resource quantity provided for the user, wherein the value of the patch resource quantity is any random value or a preset value of the target store; calculating a difference value between the rated resource quantity and the subsidy resource quantity, and taking the difference value as the display resource quantity; and marking the candidate commodity by adopting the display resource quantity, and displaying the marked candidate commodity to the user.
In another embodiment, the display module is configured to calculate a first location distance between the location information and the store location, and determine the estimated distribution consumption resource amount corresponding to the first location distance; inquiring the original resource quantity corresponding to the candidate commodity in the target store and the package consumption resource quantity; and counting the sum of the original resource quantity, the estimated distribution consumed resource quantity and the package consumed resource quantity as the rated resource quantity.
In another embodiment, a first generating module is configured to calculate a second location distance between the delivery address and a store location of a target store that provides the candidate commodity, and determine an actual delivery consumption resource amount corresponding to the second location distance; and calculating the sum of the original resource quantity, the actual distribution consumption resource quantity and the packaging consumption resource quantity, and reducing the patch resource quantity on the sum to obtain the actual resource quantity.
In another embodiment, the display module is further configured to query an expansion resource amount of a target store to which the candidate commodity belongs when the actual resource amount is greater than the display resource amount, and determine the resource amount to be transferred according to the expansion resource amount and the numerical value difference; and when the actual resource amount is smaller than the display resource amount, taking the actual resource amount as the resource amount to be transferred.
In another embodiment, the display module is configured to reduce the amount of the expansion resource on the actual amount of the resource if the amount of the expansion resource is obtained successfully, and take the reduced actual amount of the resource as the amount of the resource to be transferred; and if the expanded resource quantity is not obtained, taking the actual resource quantity as the resource quantity to be transferred.
In another embodiment, the second generating module is further configured to generate a second merchandise order including the display resource amount when the numerical difference does not exist between the display resource amount and the actual resource amount.
According to a third aspect of the present application there is provided a computer device comprising a memory storing a computer program and a processor implementing the steps of the method of the first aspect described above when the computer program is executed by the processor.
According to a fourth aspect of the present application there is provided a readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of the first aspect described above.
By means of the technical scheme, the order generation method, the order generation device, the computer equipment and the readable storage medium, the candidate commodity and the display resource quantity of the candidate commodity are displayed to the user according to the position information of the user, when the user triggers the candidate commodity, the actual resource quantity of the candidate commodity is generated based on the distribution address provided by the user, when the numerical difference exists between the display resource quantity and the actual resource quantity, the actual resource quantity to be paid by the user for purchasing the candidate commodity is determined, when the user confirms the resource quantity to be transferred, the first commodity order comprising the resource quantity to be transferred is generated, the actual resource quantity can be automatically recalculated according to the distribution position input by the user at the same time when the user estimates the resource quantity to be consumed by purchasing the candidate commodity based on the position information of the user, the order for reminding the user is automatically generated according to the difference between the displayed resource quantity and the actual resource quantity, the processing capacity of the computer is utilized to realize quick processing and generation of the order, and the order generation efficiency is improved.
The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 shows a schematic flow chart of an order generation method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of an order generation method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an order generating device according to an embodiment of the present application;
fig. 4 shows a schematic device structure of a computer device according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the application to those skilled in the art.
The embodiment of the application provides an order generation method, as shown in fig. 1, which comprises the following steps:
101. determining position information of a user, and displaying the candidate commodity and display resource quantity corresponding to the candidate commodity to the user according to the position information, wherein the display resource quantity is generated by reducing the subsidy resource quantity held by the user on the rated resource quantity of the candidate commodity, and the rated resource quantity is the sum of the original resource quantity, the estimated distribution consumption resource quantity and the packaging consumption resource quantity of the candidate commodity.
102. And responding to clicking operation on the candidate commodity, acquiring a delivery address provided by a user, and generating the actual resource quantity of the candidate commodity based on the delivery address.
103. When a numerical difference exists between the display resource quantity and the actual resource quantity, determining the resource quantity to be transferred according to the display resource quantity and the actual resource quantity, and displaying the resource quantity to be transferred.
104. And responding to the confirmation operation of the resource quantity to be transferred, and generating a first commodity order comprising the resource quantity to be transferred.
According to the method provided by the embodiment of the application, the candidate commodity and the display resource quantity of the candidate commodity are displayed to the user according to the position information of the user, when the user triggers the candidate commodity, the actual resource quantity of the candidate commodity is generated based on the distribution address provided by the user, when the numerical difference exists between the display resource quantity and the actual resource quantity, the actual resource quantity to be transferred, which is required to be paid by the user for purchasing the candidate commodity, is determined, when the user confirms the resource quantity to be transferred, the first commodity order comprising the resource quantity to be transferred is generated, when the resource quantity required to be consumed for purchasing the candidate commodity is estimated based on the position information of the user, the actual resource quantity can be automatically recalculated according to the distribution position input by the user, the order for reminding the user is automatically generated according to the difference between the displayed resource quantity and the actual resource quantity, the processing capability of the computer is utilized for realizing the quick processing and the generation of the order, and the generation efficiency of the order is improved, and the flexibility is good.
The embodiment of the application provides an order generation method, as shown in fig. 2, which comprises the following steps:
201. and determining the position information of the user, and displaying the candidate commodity and the display resource quantity corresponding to the candidate commodity to the user according to the position information.
In recent years, more and more platforms are used for meeting the online shopping demands of people, and many platforms attract users in a subsidy manner to enable the users to settle. The subsidy measures adopted by the current platform are usually issued to the account numbers of the users in the platform in the form of red packages and coupons, and when the users want to use the subsidy, the subsidy needs to be manually selected for verification in the consuming process. The user can only show the subsidies in the specific area of the user account, the user needs to check which subsidies are not used but can only check in the specific area, the content of the packaging fee and the delivery Fei Dengxiang cannot be really shown in the price of the commodity, the price of the commodity seen by the user and the price paid by the commodity are easily different, and the price calculation of the price is needed to be carried out again by integrating the subsidies held by the user when the user sees the commodity, so that a large amount of extra workload is involved, the order generation efficiency is low, and the flexibility is poor. Therefore, the application provides an order generation method, which is used for displaying candidate commodities and the display resource quantity of the candidate commodities to a user according to the position information of the user, generating the actual resource quantity of the candidate commodities based on the delivery address provided by the user when the user triggers the candidate commodities, determining the actual to-be-transferred resource quantity required to be paid by the user for purchasing the candidate commodities when the numerical difference exists between the display resource quantity and the actual resource quantity, further generating a first commodity order comprising the to-be-transferred resource quantity when the user confirms the to-be-transferred resource quantity, automatically calculating the actual resource quantity according to the delivery position input by the user while estimating the required to be consumed by purchasing the candidate commodities based on the position information of the user, automatically generating an order for reminding the user according to the difference between the displayed resource quantity and the actual resource quantity, realizing quick processing and generation of the order by utilizing the processing capability of a computer, and improving the generation efficiency and the flexibility of the order.
In the embodiment of the present application, the location information of the user is determined, and the candidate commodity and the display resource amount corresponding to the candidate commodity are displayed to the user according to the location information, wherein the display resource amount is generated by reducing the patch resource amount held by the user on the rated resource amount of the candidate commodity, and the rated resource amount is the sum of the original resource amount, the estimated distribution consumption resource amount and the package consumption resource amount of the candidate commodity. The candidate commodity can be commodity provided by merchants in the range of one kilometer, two kilometers and the like around the position where the user currently performs browsing operation, or can also be commodity with the periphery of the user matched with the current environment. For example, if the current breakfast time period is assumed, the candidate commodity can be optional breakfast around the user, so that a distance threshold is set in the platform, and random commodity or related commodity and the like provided in the store with the distance between the store position and the position information of the user being less than or equal to the distance threshold are displayed to the user as the candidate commodity. In addition, the candidate merchandise may be one or more of each merchandise that may be browsed by the user during browsing, and in the embodiment of the present application, the candidate merchandise is described as one merchandise, but is not limited thereto. The subsidy resource amount, namely, a red packet, a coupon, a deduction coupon and the like owned by a user, and the rated resource amount is the sum of the original price, the estimated delivery cost and the packaging cost of the commodity, and the calculation process of the rated resource amount of the candidate commodity is specifically described in the following:
firstly, determining position information of a user when browsing on a platform, acquiring a store position of a target store for providing candidate commodities, calculating first position distance between the position information and the store position, and determining estimated distribution consumption resource amount corresponding to the first position distance. Then, the original resource amount and the package consumption resource amount corresponding to the candidate commodity in the target store are inquired. And finally, counting the sum of the original resource quantity, the estimated distribution consumed resource quantity and the package consumed resource quantity as the rated resource quantity. For example, for the candidate commodity a, assuming that the distance between the current location information of the user and the store location is 1 km, and the delivery fee corresponding to 1 km is 2 yuan, the estimated delivery consumption resource amount is 2 yuan; on the other hand, the store stipulates that the packaging fee of A is 2 yuan, the original price of A is 10 yuan, the packaging consumption resource amount is 2 yuan, and the original resource amount is 10 yuan, so that the rated resource amount of A is 2 yuan+2 yuan+10 yuan, namely 14 yuan. In some stores, there may be no package fee, and thus, the amount of package consumed resources may be set to 0. By the above-described process, the process of determining the candidate commodity and calculating the rated resource amount of the candidate commodity based on the location information and the store location of the target store to which the candidate commodity belongs is completed.
After determining the rated resource amount of the candidate commodity, the subsidy resource held by the user can be verified in the consumption process, or the platform actually sets a certain amount of subsidy resource for each user, or the store also sets some subsidy resources for the user, and the like, and the commodity price after verifying the subsidy resource is the price which the user finally needs to pay, so that in order to enable the subsidy resource held by the user or acquired in the platform or acquired in the store to be reflected in the resource amount displayed for the commodity, the embodiment of the application can acquire the subsidy resource amount provided for the user, wherein the value of the subsidy resource amount is any random value or the preset value of the target store, namely, the subsidy resource amount can be a red package, a coupon, and the like of any random value provided by the platform, or a red package coupon, and the like of the preset value in the store. It should be noted that, since some platforms may directly issue subsidy resources when a user enters the platform, the amount of subsidy resources may actually be the amount of subsidy resources already held by the user in the account number of the platform. And then, the platform calculates the difference between the rated resource amount and the subsidy resource amount, takes the difference as the display resource amount, marks the candidate commodity by adopting the display resource amount, displays the marked candidate commodity to the user, realizes the binding display of the candidate commodity and the display resource amount, and is convenient for the user to determine how much resource amount needs to be paid for purchasing the candidate commodity. For example, assuming that the rated resource amount of the candidate commodity a is 14 yuan and the patch resource amount is 4 yuan, the display resource amount of a is 10 yuan.
202. In response to the click operation on the candidate commodity, the delivery address provided by the user is acquired, the actual resource amount of the candidate commodity is generated based on the delivery address, and when there is a numerical difference between the display resource amount and the actual resource amount, the following steps 203 and 204 are executed. When there is no numerical difference between the amount of the display resource and the actual amount of the resource, the following step 205 is performed.
In the embodiment of the application, the candidate commodity displayed by the platform is selected and placed by the user, so that the platform can acquire the delivery address provided by the user in response to the clicking operation of the candidate commodity, calculate the actual resource amount according to the delivery address, and generate the commodity order for the user according to the actual resource amount. The distribution address used when the user orders is not in fact identical with the position information of the user where the candidate commodity is browsed, and deviation may exist, or the user purchases for another customer at other positions, and the configuration position required to be distributed is far away from the position information of the user at present. The rated resource amount determined for the candidate commodity uses the estimated delivery resource consumption amount, so that the actual resource amount needs to be calculated according to the delivery address used when the user places an order, and then the commodity order is generated for the user by using the actual resource amount later, so that the user pays for the commodity order. The following briefly describes the actual resource amount calculation process:
first, a second location distance between the delivery address and the store location of the target store providing the candidate product is calculated, and an actual delivery consumed resource amount corresponding to the second location distance is determined. Then, the sum of the original resource amount, the actual distribution consumed resource amount and the package consumed resource amount is calculated and the subsidized resource amount is reduced on the sum, to obtain the actual resource amount. The specific calculation process is identical to the process of calculating the display resource amount in step 201, except that the distribution consumption resource amount is changed from the previous estimation to the actual one.
In the actual application process, the display resource amount may be larger, smaller or equal to the actual resource amount, that is, there may be a numerical difference between the display resource amount and the actual resource amount. If there is a numerical difference, two situations are actually included, one is that the display resource amount is larger than the actual resource amount, in this case, the estimated price is actually higher than the actual price, and the actual price is directly taken as the resource amount to be transferred of the user. And the other is that the actual resource amount is larger than the display resource amount, in which case the estimated price is actually higher than the actual price, and the activity in the target store needs to be continuously checked, whether the value difference can be ignored is determined according to the activity condition in the target store, and the corresponding resource amount to be transferred is generated according to whether the value difference can be ignored, that is, when the value difference exists between the display resource amount and the actual resource amount, the following steps 203 and 204 are executed. If there is no numerical difference, it means that the displayed resource amount displayed to the user is equal to the actual resource amount calculated in practice, and the corresponding commodity order is directly generated, without any consideration, that is, when there is no numerical difference between the displayed resource amount and the actual resource amount, the following step 205 is executed.
203. When a numerical difference exists between the display resource quantity and the actual resource quantity, determining the resource quantity to be transferred according to the display resource quantity and the actual resource quantity, and displaying the resource quantity to be transferred.
In the embodiment of the application, when the numerical difference exists between the display resource quantity and the actual resource quantity, two conditions are actually included, one is that the display resource quantity is larger than the actual resource quantity, and the estimated price in the condition is actually higher than the actual price, and the actual price is directly used as the resource quantity to be transferred of the user to be displayed. Therefore, when the actual resource amount is smaller than the display resource amount, the actual resource amount is displayed as the resource amount to be transferred.
And the other is that the actual resource amount is larger than the display resource amount, in this case, the estimated price is actually higher than the actual price, the activity in the target store needs to be continuously checked, whether the numerical difference can be ignored or not is determined according to the activity condition in the target store, the corresponding resource amount to be transferred is generated according to whether the numerical difference can be ignored or not, namely, when the actual resource amount is larger than the display resource amount, the expansion resource amount of the target store to which the candidate commodity belongs is queried, and the resource amount to be transferred is determined according to the expansion resource amount and the numerical difference, and the specific process is as follows:
if the expanded resource amount is successfully acquired, the expanded resource amount is reduced on the actual resource amount, and the reduced actual resource amount is used as the resource amount to be transferred. And if the expanded resource quantity is failed to be acquired, taking the actual resource quantity as the resource quantity to be transferred. For example, assuming that the target store provides 1 element of expansion resource and the actual resource is 14 elements, the amount of resources to be transferred is 13 elements, and if the target store does not provide any expansion resource, the 14 elements are directly used as the amount of resources to be transferred.
After the resource quantity to be transferred is generated, the platform displays the resource quantity to be transferred to the user for the user to confirm.
204. And responding to the confirmation operation of the resource quantity to be transferred, and generating a first commodity order comprising the resource quantity to be transferred.
In the embodiment of the application, after the resource quantity to be transferred is displayed to the user, the user decides whether to purchase the candidate commodity based on the price, and particularly, when the resource quantity to be transferred is displayed, the content of the candidate commodity can be displayed simultaneously. And when the user confirms the resource quantity to be transferred, the user is requested to place an order, so that the platform can generate a first commodity order comprising the resource quantity to be transferred in response to the confirmation operation of the resource quantity to be transferred.
It should be noted that, because the amount of the resources to be transferred in the first commodity order is possibly different from the amount of the display resources displayed before due to the change of the delivery address, if the amount of the resources to be transferred is larger than the amount of the display resources, the platform generates a resource growth reminder carrying the difference between the amount of the resources to be transferred and the amount of the display resources and the actual delivery consumption amount of the resources, and the resource growth reminder is displayed in the first commodity order, and the user is informed of the increase of the display price in the commodity order due to the increase of the delivery cost by using the resource growth reminder, so that the user decides whether the increase of the amount of the resources can be accepted or not, thereby achieving the purpose of reminding the user. For example, a resource growth reminder may be generated such as [ due to the distance of delivery being far, the price rising by 1 element, whether the order is still to be continued ], and options to continue the order and return to the venue may be displayed on the resource growth reminder. Further, in the embodiment of the application, after the first commodity order is generated, a resource growth reminder is displayed in the first commodity order, in the practical application process, whether the amount of the resource to be transferred is increased or not can be calculated when the user request is detected, and after the increase is determined, the resource growth reminder is directly displayed without displaying the corresponding first commodity order.
205. When there is no numerical difference between the display resource amount and the actual resource amount, a second merchandise order including the display resource amount is generated.
In the embodiment of the application, when no numerical difference exists between the display resource amount and the actual resource amount, the display resource amount displayed to the user is equal to the actual resource amount calculated in practice, and a second commodity order comprising the display resource amount is generated for the user to pay.
According to the method provided by the embodiment of the application, the candidate commodity and the display resource quantity of the candidate commodity are displayed to the user according to the position information of the user, when the user triggers the candidate commodity, the actual resource quantity of the candidate commodity is generated based on the distribution address provided by the user, when the numerical difference exists between the display resource quantity and the actual resource quantity, the actual resource quantity to be transferred, which is required to be paid by the user for purchasing the candidate commodity, is determined, when the user confirms the resource quantity to be transferred, the first commodity order comprising the resource quantity to be transferred is generated, when the resource quantity required to be consumed for purchasing the candidate commodity is estimated based on the position information of the user, the actual resource quantity can be automatically recalculated according to the distribution position input by the user, the order for reminding the user is automatically generated according to the difference between the displayed resource quantity and the actual resource quantity, the processing capability of the computer is utilized for realizing the quick processing and the generation of the order, and the generation efficiency of the order is improved, and the flexibility is good.
Further, as a specific implementation of the method shown in fig. 1, an embodiment of the present application provides an order generating apparatus, as shown in fig. 3, where the apparatus includes: a display module 301, a first generation module 302 and a second generation module 303.
The display module 301 is configured to determine location information of a user, and display a candidate commodity and a display resource amount corresponding to the candidate commodity to the user according to the location information, where the display resource amount is generated by reducing a patch resource amount held by the user on a rated resource amount of the candidate commodity, and the rated resource amount is a sum of an original resource amount, an estimated distribution consumption resource amount and a package consumption resource amount of the candidate commodity;
the first generating module 302 is configured to obtain a delivery address provided by the user in response to a clicking operation on the candidate commodity, and generate an actual resource amount of the candidate commodity based on the delivery address;
the display module 301 is further configured to determine, when there is a numerical difference between the display resource amount and the actual resource amount, a resource amount to be transferred according to the display resource amount and the actual resource amount, and display the resource amount to be transferred;
the second generating module 303 is configured to generate a first commodity order including the amount of resources to be transferred in response to a confirmation operation on the amount of resources to be transferred.
In a specific application scenario, the display module 301 is configured to determine the candidate commodity, calculate the rated resource amount of the candidate commodity based on the location information and a store location of a target store to which the candidate commodity belongs, where a distance between the store location and the location information is less than or equal to a distance threshold; obtaining patch resource quantity provided for the user, wherein the value of the patch resource quantity is any random value or a preset value of the target store; calculating a difference value between the rated resource quantity and the subsidy resource quantity, and taking the difference value as the display resource quantity; and marking the candidate commodity by adopting the display resource quantity, and displaying the marked candidate commodity to the user.
In a specific application scenario, the display module 301 is configured to calculate a first location distance between the location information and the store location, and determine the estimated distribution consumption resource amount corresponding to the first location distance; inquiring the original resource quantity corresponding to the candidate commodity in the target store and the package consumption resource quantity; and counting the sum of the original resource quantity, the estimated distribution consumed resource quantity and the package consumed resource quantity as the rated resource quantity.
In a specific application scenario, the first generating module 302 is configured to calculate a second location distance between the delivery address and a store location of a target store that provides the candidate commodity, and determine an actual delivery consumption resource amount corresponding to the second location distance; and calculating the sum of the original resource quantity, the actual distribution consumption resource quantity and the packaging consumption resource quantity, and reducing the patch resource quantity on the sum to obtain the actual resource quantity.
In a specific application scenario, the display module 301 is further configured to query an expansion resource amount of a target store to which the candidate commodity belongs when the actual resource amount is greater than the display resource amount, and determine the resource amount to be transferred according to the expansion resource amount and the numerical value difference; and when the actual resource amount is smaller than the display resource amount, taking the actual resource amount as the resource amount to be transferred.
In a specific application scenario, the display module 301 is configured to reduce the expansion resource amount on the actual resource amount if the expansion resource amount is obtained successfully, and take the reduced actual resource amount as the resource amount to be transferred; and if the expanded resource quantity is not obtained, taking the actual resource quantity as the resource quantity to be transferred.
In a specific application scenario, the second generating module 303 is further configured to generate a second commodity order including the display resource amount when the numerical difference does not exist between the display resource amount and the actual resource amount.
According to the device provided by the embodiment of the application, the candidate commodity and the display resource quantity of the candidate commodity are displayed to the user according to the position information of the user, when the user triggers the candidate commodity, the actual resource quantity of the candidate commodity is generated based on the distribution address provided by the user, when the numerical difference exists between the display resource quantity and the actual resource quantity, the actual resource quantity to be transferred, which is required to be paid by the user for purchasing the candidate commodity, is determined, when the user confirms the resource quantity to be transferred, the first commodity order comprising the resource quantity to be transferred is generated, when the resource quantity required to be consumed for purchasing the candidate commodity is estimated based on the position information of the user, the actual resource quantity can be automatically recalculated according to the distribution position input by the user, the order for reminding the user is automatically generated according to the difference between the displayed resource quantity and the actual resource quantity, the processing capability of the computer is utilized for realizing the quick processing and the generation of the order, and the generation efficiency of the order is improved, and the flexibility is good.
It should be noted that, for other corresponding descriptions of each functional unit related to the order generating device provided by the embodiment of the present application, reference may be made to corresponding descriptions in fig. 1 and fig. 2, and details are not repeated here.
In an exemplary embodiment, referring to fig. 4, there is further provided a device 400 including a communication bus, a processor, a memory, and a communication interface, and may further include an input-output interface, and a display device, wherein the functional units may communicate with each other via the bus. The memory stores a computer program, and a processor executes the program stored in the memory to perform the order generation method in the above embodiment. A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the order generation method.
From the above description of the embodiments, it will be clear to those skilled in the art that the present application may be implemented in hardware, or may be implemented by means of software plus necessary general hardware platforms. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.), and includes several instructions for causing a computer device (may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective implementation scenario of the present application. Those skilled in the art will appreciate that the drawing is merely a schematic illustration of a preferred implementation scenario and that the modules or flows in the drawing are not necessarily required to practice the application. Those skilled in the art will appreciate that modules in an apparatus in an implementation scenario may be distributed in an apparatus in an implementation scenario according to an implementation scenario description, or that corresponding changes may be located in one or more apparatuses different from the implementation scenario. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules. The above-mentioned inventive sequence numbers are merely for description and do not represent advantages or disadvantages of the implementation scenario. The foregoing disclosure is merely illustrative of some embodiments of the application, and the application is not limited thereto, as modifications may be made by those skilled in the art without departing from the scope of the application.

Claims (10)

1. An order generation method, comprising:
displaying candidate commodities and displaying resource quantity corresponding to the candidate commodities;
responding to clicking operation of the candidate commodity, obtaining a delivery address provided by a user, and determining the amount of resources to be transferred of the candidate commodity based on the delivery address of the user;
and responding to the confirmation operation of the to-be-transferred resource quantity, and generating a first commodity order of the candidate commodity, wherein a resource increase prompt is displayed and used for prompting the increase of the resource quantity under the condition that the to-be-transferred resource quantity is larger than the display resource quantity.
2. The method of claim 1, wherein prior to the displaying the candidate good and the amount of display resources corresponding to the candidate good, the method further comprises:
determining a user location of the user;
based on the user location, the candidate good and the display resource amount are determined.
3. The method of claim 2, wherein the determining the candidate good and the amount of display resources based on the user location comprises:
determining the candidate commodity based on the user position, wherein the distance between the store position of the target store to which the candidate commodity belongs and the user position is less than or equal to a distance threshold;
determining a nominal resource amount for the candidate commodity based on the user location and the store location;
and determining the difference between the rated resource amount and the subsidy resource amount provided for the user as the display resource amount.
4. The method of claim 3, wherein the determining the nominal amount of resources for the candidate good based on the user location and the store location comprises:
determining an estimated delivery consumption resource amount for delivering the candidate commodity to the user based on the user location and a first location distance between the store locations;
acquiring the original resource quantity and the package consumption resource quantity corresponding to the candidate commodity in the target store;
and determining the sum of the estimated distribution consumed resource amount, the original resource amount and the package consumed resource amount as the rated resource amount of the candidate commodity.
5. The method of claim 1, wherein the displaying the candidate good and the amount of display resources corresponding to the candidate good comprises:
and marking the candidate commodity by adopting the display resource quantity, and displaying the marked candidate commodity.
6. The method of claim 1, wherein the determining the amount of resources to be transferred for the candidate good based on the user's shipping address comprises:
determining an actual resource amount of the candidate commodity based on the delivery address of the user;
and determining the quantity of resources to be transferred of the candidate commodity based on the display resource quantity and the actual resource quantity.
7. The method of claim 6, wherein determining the actual amount of resources for the candidate good based on the user's shipping address comprises:
determining a second location distance between the delivery address of the user and a store location of a target store to which the candidate commodity belongs;
determining an actual delivery consumption resource amount for delivering the candidate commodity to the user based on the second location distance;
acquiring the original resource quantity and the package consumption resource quantity corresponding to the candidate commodity in the target store;
and determining the difference between the sum of the actual distribution consumed resource amount, the original resource amount and the package consumed resource amount and the patch resource amount provided for the user as the actual resource amount.
8. An order generation apparatus, comprising:
the display module is used for displaying the candidate commodity and the display resource quantity corresponding to the candidate commodity;
the first generation module is used for responding to clicking operation on the candidate commodity and acquiring a delivery address provided by a user;
the display module is further used for determining the resource quantity to be transferred of the candidate commodity based on the delivery address of the user;
and the second generation module is used for responding to the confirmation operation of the to-be-transferred resource quantity and generating a first commodity order of the candidate commodity, wherein when the to-be-transferred resource quantity is larger than the display resource quantity, a resource growth prompt is displayed and used for prompting the growth of the resource quantity.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A readable storage medium having stored thereon a computer program, which when executed by a processor realizes the steps of the method according to any of claims 1 to 7.
CN202310552285.9A 2021-03-15 2021-03-15 Order generation method, order generation device, computer equipment and readable storage medium Pending CN116797314A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310552285.9A CN116797314A (en) 2021-03-15 2021-03-15 Order generation method, order generation device, computer equipment and readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110276072.9A CN112907331B (en) 2021-03-15 2021-03-15 Order generation method and device, computer equipment and readable storage medium
CN202310552285.9A CN116797314A (en) 2021-03-15 2021-03-15 Order generation method, order generation device, computer equipment and readable storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202110276072.9A Division CN112907331B (en) 2021-03-15 2021-03-15 Order generation method and device, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN116797314A true CN116797314A (en) 2023-09-22

Family

ID=76105092

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110276072.9A Active CN112907331B (en) 2021-03-15 2021-03-15 Order generation method and device, computer equipment and readable storage medium
CN202310552285.9A Pending CN116797314A (en) 2021-03-15 2021-03-15 Order generation method, order generation device, computer equipment and readable storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110276072.9A Active CN112907331B (en) 2021-03-15 2021-03-15 Order generation method and device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (2) CN112907331B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104766228A (en) * 2015-04-21 2015-07-08 陈博 Electronic payment method, device and system based on price adjustment
TW201903666A (en) * 2017-06-09 2019-01-16 好站網控電子商務有限公司 Method for Online Group Buying
CN107967603B (en) * 2017-12-20 2021-10-19 杭州几禾科技有限公司 Shopping settlement method and selling equipment
CN110555741A (en) * 2018-05-31 2019-12-10 阿里巴巴集团控股有限公司 commodity information display method based on settlement device, settlement device and storage medium
CN110969503A (en) * 2018-09-29 2020-04-07 北京京东尚科信息技术有限公司 Order generation method and device and electronic equipment
CN111242715B (en) * 2018-11-29 2024-03-05 北京京东尚科信息技术有限公司 Order processing method and equipment and computer storage medium thereof
CN112200526B (en) * 2020-12-09 2021-03-16 浙江口碑网络技术有限公司 Order output method and device, computer equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112907331A (en) 2021-06-04
CN112907331B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
US20200065750A1 (en) Inventory management system and method thereof
US9324042B2 (en) Automatically initiating product replenishment
US8438072B2 (en) Online exchange system and method with reverse auction
CN106485439B (en) Logistics service information processing method and device
US20130246211A1 (en) System and method for providing mobile device trade in value quotations
CN109948829B (en) Goods dispatching method based on multiple selling points, electronic equipment and storage medium
WO2022073129A1 (en) Methods and systems for conversion of transactions to carbon units
CN106447248B (en) Method and device for providing service object distribution aging information
CN105989521A (en) Differential reward provision method and apparatus
US20120089480A1 (en) Online purchasing system and methods with buyer's agency
WO2013019885A1 (en) Systems and methods for generating marketplace listings
US20140122367A1 (en) Social Shipping
CN110659859A (en) E-commerce order inventory ERP management method and system
CN111932164A (en) Information processing method, device and equipment
CN109146531B (en) Method, device and equipment for determining advertisement area for advertiser by Location Based Service (LBS)
CN115357766B (en) Data matching method and related device
US20130254067A1 (en) System and Method for Networking Independent Sellers of Items
US9972027B1 (en) System and method of tracking the effectiveness of viewing resources on electronic devices in causing transaction activity to subsequently occur at a physical location associated with the resources
WO2020242339A1 (en) System and method for searching for and automatically providing content
CN116797314A (en) Order generation method, order generation device, computer equipment and readable storage medium
US20040049402A1 (en) Data collection system, transaction supporting system, data collection method and business support program
CN114022064A (en) Associated transaction order management method, device and equipment based on transaction link
CN112418968A (en) Order data processing method
CN111260444A (en) Order issuing method, device and computer system for goods-free commodities
CN112288507A (en) Method and device for determining display information

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