CN112348612A - Order generation method and device - Google Patents
Order generation method and device Download PDFInfo
- Publication number
- CN112348612A CN112348612A CN201910940129.3A CN201910940129A CN112348612A CN 112348612 A CN112348612 A CN 112348612A CN 201910940129 A CN201910940129 A CN 201910940129A CN 112348612 A CN112348612 A CN 112348612A
- Authority
- CN
- China
- Prior art keywords
- order generation
- generation information
- information
- target
- target order
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000004044 response Effects 0.000 claims abstract description 16
- 230000001737 promoting effect Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012217 deletion Methods 0.000 claims description 3
- 230000037430 deletion Effects 0.000 claims description 3
- 239000003795 chemical substances by application Substances 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000000644 propagated effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0239—Online discounts or incentives
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Databases & Information Systems (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the disclosure discloses a method and a device for order generation. One embodiment of the method comprises: storing target order generation information sent by a target user into a preset database; matching the item promotion information in the order generation information stored in the preset database with the item promotion information in the target order generation information so as to determine the order generation information matched with the target order generation information from the preset database; determining whether a condition indicated by the item promotion information in the target order generation information is satisfied based on the target order generation information and the order generation information matched with the target order generation information; and in response to determining that the condition indicated by the item promotion information in the target order generation information is satisfied, generating and sending the target order to the target user based on the user information of the target user and the item information contained in the order indicated by the target order generation information. This embodiment improves the efficiency of generating orders.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a method and a device for order generation.
Background
With the development of e-commerce platforms, more and more users select the e-commerce platform for consumption. When a user consumes on the e-commerce platform, the user often encounters a bill-collecting situation (for example, the bill-collecting situation is full of bills, the bill-collecting situation is free of freight charge, and the like), so that the quantity of the items contained in the order and the like meet the requirements of the item promotion activity. The purchase list not only enables the user to enjoy the preferential benefit, but also brings economic benefit to the merchant.
In the related art, the following list making mode mainly exists: the user gathers the order by himself; the method comprises the following steps that a user and a person adjacent to and acquainted with the user make a bill, the bill making mode usually needs to check items with good activities and good business in the same place, and an order is generated in an account; and (5) removing the hash list in a grouping mode. The existing single making method takes a long time.
Disclosure of Invention
The embodiment of the disclosure provides an order generation method and device.
In a first aspect, an embodiment of the present disclosure provides an order generation method, where the method includes: storing target order generation information sent by a target user into a preset database, wherein the target order generation information comprises user information of the target user, article information and article promotion information contained in an order indicated by the target order generation information; matching the item promotion information in the order generation information stored in the preset database with the item promotion information in the target order generation information so as to determine the order generation information matched with the target order generation information from the preset database; determining whether a condition indicated by the item promotion information in the target order generation information is satisfied based on the target order generation information and the order generation information matched with the target order generation information; and in response to determining that the condition indicated by the item promotion information in the target order generation information is satisfied, generating and sending the target order to the target user based on the user information of the target user and the item information contained in the order indicated by the target order generation information.
In some embodiments, the method further comprises: and in response to receiving a deletion instruction of the target order generation information sent by the target user, deleting the target order generation information in a preset database.
In some embodiments, after generating and sending the target order to the target user, the method further comprises: and deleting the target order generation information in a preset database.
In some embodiments, before storing the target order generation information sent by the target user in the preset database, the method further includes: determining whether the user information of the target user meets a preset condition; if yes, storing the target order generation information into a preset database; if not, sending prompt information to the target user, wherein the prompt information is used for prompting the target user that the target order generation information fails to be stored.
In some embodiments, the conditions indicated by the item promotional information in the target order generation information include: the sum of the quantity of the articles indicated by the target order generation information and the quantity of the articles indicated by the matched order generation information in the preset database is greater than or equal to the preset quantity; determining whether a condition indicated by the item promotion information in the target order generation information is satisfied based on the target order generation information and the order generation information matched with the target order generation information, including: acquiring the quantity of the articles indicated by the target order generation information and the quantity of the articles indicated by the matched order generation information in a preset database; determining the sum of the quantity of the articles indicated by the target order generation information and the quantity of the articles indicated by the matched order generation information in a preset database; it is determined whether the sum of the quantities is greater than or equal to a preset quantity.
In some embodiments, the conditions indicated by the item promotion information in the target order generation information further include: the sum of the amount indicated by the target order generation information and the amount indicated by the matched order information in the preset database is greater than or equal to the preset amount; determining whether a condition indicated by the item promotion information in the target order generation information is satisfied based on the target order generation information and the order generation information matched with the target order generation information, including: acquiring the amount indicated by the target order generation information and the amount indicated by the matched order generation information in a preset database; determining the sum of the amount indicated by the target order generation information and the amount of the article indicated by the matched order generation information in the preset database; it is determined whether the sum of the amounts is greater than or equal to a preset amount.
In some embodiments, the preset database is used for storing order generation information sent by a plurality of users and used for instructing generation of different item information.
In a second aspect, an embodiment of the present disclosure provides an order generation apparatus, including: the storage unit is configured to store target order generation information sent by a target user into a preset database, wherein the target order generation information comprises user information of the target user, article information and article promotion information contained in an order indicated by the target order generation information; a matching unit configured to match the item promotion information in the order generation information stored in the preset database with the item promotion information in the target order generation information to determine order generation information matched with the target order generation information from the preset database; a first determination unit configured to determine whether a condition indicated by item sales promotion information in the target order generation information is satisfied, based on the target order generation information and order generation information that matches the target order generation information; and the generating unit is configured to generate and send the target order to the target user based on the user information of the target user and the item information contained in the order indicated by the target order generation information in response to determining that the condition indicated by the item promotion information in the target order generation information is satisfied.
In some embodiments, the apparatus further comprises: the first deleting unit is configured to delete the target order generation information in a preset database in response to receiving a deleting instruction of the target order generation information sent by the target user.
In some embodiments, the apparatus further comprises: and the second deleting unit is configured to delete the target order generation information in the preset database after the target order is generated and sent to the target user.
In some embodiments, the apparatus further comprises: a second determination unit configured to determine whether user information of the target user satisfies a preset condition; if yes, storing the target order generation information into a preset database; if not, sending prompt information to the target user, wherein the prompt information is used for prompting the target user that the target order generation information fails to be stored.
In some embodiments, the conditions indicated by the item promotional information in the target order generation information include: the sum of the quantity of the articles indicated by the target order generation information and the quantity of the articles indicated by the matched order generation information in the preset database is greater than or equal to the preset quantity; the first determination unit is further configured to: acquiring the quantity of the articles indicated by the target order generation information and the quantity of the articles indicated by the matched order generation information in a preset database; determining the sum of the quantity of the articles indicated by the target order generation information and the quantity of the articles indicated by the matched order generation information in a preset database; it is determined whether the sum of the quantities is greater than or equal to a preset quantity.
In some embodiments, the conditions indicated by the item promotion information in the target order generation information further include: the sum of the amount indicated by the target order generation information and the amount indicated by the matched order information in the preset database is greater than or equal to the preset amount; the first determination unit is further configured to: acquiring the amount indicated by the target order generation information and the amount indicated by the matched order generation information in a preset database; determining the sum of the amount indicated by the target order generation information and the amount of the article indicated by the matched order generation information in the preset database; it is determined whether the sum of the amounts is greater than or equal to a preset amount.
In some embodiments, the preset database is used for storing order generation information sent by a plurality of users and used for instructing generation of different item information.
According to the order generation method and device provided by the embodiment of the disclosure, target order generation information sent by a target user is stored in a preset database, then item promotion information in the order generation information stored in the preset database is matched with item promotion information in the target order generation information, order generation information matched with the target order generation information is determined from the preset database, then based on the target order generation information and the order generation information matched with the target order generation information, whether a condition indicated by the item promotion information in the target order generation information is met or not can be determined, and finally, in response to determining that the condition indicated by the item promotion information in the target order generation information is met, based on user information of the target user and item information contained in an order indicated by the target order generation information, and the target order is generated and sent to the target user, so that the time required for generating the order is shortened, and the efficiency for generating the order is improved.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which some embodiments of the present disclosure may be applied;
FIG. 2 is a flow diagram for one embodiment of a method of order generation according to the present disclosure;
FIG. 3 is a schematic diagram of one application scenario of a method of order generation according to an embodiment of the present disclosure;
FIG. 4 is a flow diagram of yet another embodiment of a method of order generation according to the present disclosure;
FIG. 5 is a block diagram of one embodiment of an apparatus for order generation according to the present disclosure;
FIG. 6 is a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 of an order generation apparatus or method to which embodiments of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a shopping application, a search application, a web browser application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen and supporting online shopping, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
The server 105 may be a server that provides various services, such as a background web server that provides support for online shopping pages displayed on the terminal devices 101, 102, 103. The background web server may analyze and perform other processing on data such as the target order generation information, and feed back a processing result (e.g., the generated order) to the terminal device.
It should be noted that the order generation method provided by the embodiment of the present disclosure may be executed by the terminal devices 101, 102, and 103, or may be executed by the server 105. Accordingly, the order generation device may be provided in the terminal apparatuses 101, 102, and 103, or may be provided in the server 105. And is not particularly limited herein.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules, for example, to provide distributed services, or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
It should be noted that the terminal devices 101, 102, and 103 may be provided with preset databases, and the terminal devices 101, 102, and 103 may also match the item promotion information in the order generation information stored in the preset databases with the item promotion information in the target order generation information, and may generate the target order based on the user information of the target user and the item information included in the order indicated by the target order generation information. In this case, the method of order generation may be executed by the terminal apparatuses 101, 102, and 103, and accordingly, the apparatus of order generation may be provided in the terminal apparatuses 101, 102, and 103. At this point, the exemplary system architecture 100 may not have the server 105 and the network 104.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method of order generation according to the present disclosure is shown. The order generation method comprises the following steps:
In this embodiment, the execution subject (for example, the server shown in fig. 1) of the order generation method may establish a preset database in advance. For the target order generation information sent by the target user, the execution subject may store the target order generation information in a preset database. It can be understood that the execution main body may receive the target order generation information from the terminal with which the target user performs online shopping through a wired connection manner or a wireless connection manner. Here, the target order generation information may include user information of the target user, item information and item promotion information included in the order indicated by the target order generation information. As an example, the user information may include information such as a user name, a receiving address, a contact address, and the like, and the item information and the item promotion information included in the order indicated by the target order generation information may include an item name, an item price, an ID for promotion of the item, and the like. The target order generation information may be used to generate a target order.
It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
In some optional implementation manners of this embodiment, the preset database may be configured to store order generation information that is sent by a plurality of users and indicates to generate an order containing information about different items. Therefore, the preset database can continuously store the order generation information sent by different users, and the item information and the item promotion information contained in the order generation information can be the same or different.
In this embodiment, the preset database may store target order generation information sent by the target user and order generation information sent by other users. The execution agent (e.g., the server shown in fig. 1) may match the order generation information stored in the preset database with the target order generation information. Specifically, the executing agent may extract the item promotion information of the order generation information from the order generation information stored in the preset database, and then match the extracted item promotion information with the item promotion information in the target order generation information. The execution subject may determine order generation information matched with the target order generation information from a preset database.
Alternatively, if the item promotion information in a certain order generation information is the same as the item promotion information (e.g., the ID of the item promotion) in the target order generation information, it may be determined that the order generation information matches the target order generation information. Alternatively, the executive agent may determine whether the order generation information matches the target order generation information in other manners.
As an example, an item promotional program may refer to item A being 100 full minus 50, which may be determined to match target order generation information if both the item promotional information in the order generation information and the item promotional information in the target order generation information are item A being 100 full minus 50.
In this embodiment, the executing agent may determine in advance the condition indicated by the item sales promotion information in the target order generation information. As an example, if the item promotion activity doubles a full three items, the condition indicated by the item promotional information may be a full three items. The executing agent may extract information related to the item promotion information from the target order generation information and the order generation information matched with the target order generation information, and then determine whether a condition indicated by the item promotion information in the target order generation information is satisfied.
In some optional implementations of the embodiment, the condition indicated by the item promotion information in the target order generation information may include: the sum of the number of the items indicated by the target order generation information and the number of the items indicated by the order generation information matched in the preset database is greater than or equal to the preset number. Therefore, the execution subject may extract the number of the items indicated by the execution subject from the target order generation information, and extract the number of the items indicated by the execution subject from the order generation information matched in the preset database. Then, the executing agent may calculate a sum of the number of the items indicated by the target order generation information and the number of the items indicated by the order generation information matched with the target order generation information, and determine whether the sum of the numbers is greater than or equal to a preset number.
In some optional implementations of this embodiment, the condition indicated by the item promotion information in the target order generation information may further include: the sum of the amount indicated by the target order generation information and the amount indicated by the order information matched in the preset database is greater than or equal to the preset amount. The executing agent may extract the amount of money indicated by the executing agent from the target order generation information, and extract the amount of money indicated by the executing agent from the order generation information matched in the preset database. Then, the executing body may calculate a sum of the amount indicated by the target order generation information and the amount indicated by the order generation information matched with the target order generation information, and determine whether the sum is greater than or equal to a preset amount.
And step 204, in response to determining that the condition indicated by the item promotion information in the target order generation information is satisfied, generating and sending the target order to the target user based on the user information of the target user and the item information included in the order indicated by the target order generation information.
In this embodiment, when it is determined that the condition indicated by the item sales promotion information in the target order generation information is satisfied, the executing entity may generate the target order by using the user information of the target user and the item information included in the order indicated by the target order generation information, and send the generated target order to the target user. The amount of money displayed in the target order generated here is the amount of money after participation in the sales promotion of the item.
As an example, the condition indicated by the item promotion information in the target order generation information may be that the sum of the number of the item a indicated by the target order generation information and the number of the item a indicated by the order generation information matched in the preset database is 3, and at this time, the item a may be folded in eight; if the number of articles a indicated by the target order generation information is 1 and the number of articles a indicated by the order generation information matching the target order information is 2, it may be determined that the number of articles indicated by the target order generation information and the order generation information matching the target order generation information is 3 and the condition indicated by the article promotion information in the target order generation information is satisfied. The amount displayed in the target order generated in this case is the amount of the article a after eight-fold.
As an example, the condition indicated by the item promotion information in the target order generation information may be that the sum of the amount indicated by the target order generation information and the amount indicated by the order generation information matched in the preset database is 100, and at this time, the sum of the amounts may be reduced by 50, so as to implement a promotion activity of 100 minus 50; if the amount indicated by the target order generation information is 50 and the amount indicated by the order generation information matched with the target order information is 50, it may be determined that the sum of the amounts indicated by the target order generation information and the order generation information matched with the target order generation information is 100 and the condition indicated by the item promotion information in the target order generation information is satisfied. In this case, the amount to be paid shown in the generated target order is 25.
It is to be understood that, in the case where it is determined that the condition indicated by the item sales promotion information in the target order generation information is not satisfied, the executing agent may wait for other users to store the order generation information in the preset database. Then, the executing agent may continue to execute step 202 and step 203, so that it may continue to determine order generation information matching the target order generation information from the preset database until the target order generation information and each of the order generation information matching the target order generation information may satisfy the condition indicated by the item promotion information in the target order generation information. As an example, the condition indicated by the item promotion information in the target order generation information may be that the item a is eight-fold in three, the quantity of the item a indicated by the target order generation information is 1, and the quantity of the item a indicated by the order generation information matching with the target order generation information is 1, at which point it may be determined that the quantity of the item indicated by the target order generation information and the order generation information matching with the target order generation information is 2, and the condition indicated by the item promotion information in the target order generation information is not satisfied, at which point the executing entity may continue to perform steps 202 and 203.
In some optional implementation manners of this embodiment, after the target order is generated and sent to the target user, the execution subject may delete the target order generation information in the preset database. Therefore, the repeated use of the order generation information in the preset database can be avoided. Further, after the order is successfully collected, the target order generation information in the preset database is deleted, and the memory occupation amount of the preset database can be reduced.
In some optional implementation manners of this embodiment, the executing entity may delete the target order generation information in a preset database after receiving a deletion instruction of the target order generation information sent by the target user. Therefore, the user can add or delete the target order generation information at any time, and the user experience is improved.
In the related art, no matter the user adopts the mode of making a bill by himself, making a bill by others or piecing together a bill in the process of making a bill, time is wasted, money is wasted when the user makes a bill by himself, and the user abandons the bill. Therefore, the existing order-making method has the problems of low order generation efficiency and low success rate. According to the order generation method disclosed by the embodiment, the preset database is used for collecting the order generation information of multiple users in different regions, so that the multi-user cross-region real-time order collection can be realized, and the order generation efficiency and success rate are improved.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the order generation method according to the present embodiment. In the application scenario of fig. 3, a user initiates a receipt request for a based on an article, for example, the article a shown in fig. 3 is added to a shared wishlist, and a background server may store target order generation information sent by the user in a preset database corresponding to the "shared wishlist"; then, the background server can match the item promotion information in the order generation information stored in the preset database with the item promotion information in the target order generation information, so as to determine the order generation information matched with the target order generation information from the preset database; then, the background server may determine whether a condition "full 3 pieces" indicated by the article promotion information "full 3 pieces 8 folds" in the target order generation information is satisfied based on the target order generation information and the order generation information matched with the target order generation information, as shown in fig. 3; finally, in response to determining that the condition "full of 3 pieces" indicated by the item sales promotion information in the target order generation information is satisfied, a target order is generated and sent to the target user based on the user information of the target user and the item information of the item a included in the order indicated by the target order generation information.
The order generation method provided by the embodiment of the disclosure stores target order generation information sent by a target user into a preset database, matches item promotion information in the order generation information stored in the preset database with item promotion information in the target order generation information to determine order generation information matched with the target order generation information from the preset database, then based on the target order generation information and the order generation information matched with the target order generation information, can determine whether a condition indicated by the item promotion information in the target order generation information is satisfied, and finally in response to determining that the condition indicated by the item promotion information in the target order generation information is satisfied, based on user information of the target user and item information included in an order indicated by the target order generation information, generates and sends a target order to the target user, therefore, the time required for generating the order is shortened, and the efficiency of generating the order is improved.
With further reference to FIG. 4, a flow 400 of yet another embodiment of a method of order generation is illustrated. The process 400 of the order generation method includes the following steps:
In this embodiment, an executing entity (for example, the server shown in fig. 1) of the order generation method may acquire user information of a target user and determine whether the user information of the target user meets a preset condition. The preset condition here may be that the target user is located in a preset area, the age value of the target user is greater than a preset threshold, and the like. Specifically, the person skilled in the art can set the preset conditions according to actual situations.
In this embodiment, when determining that the user information of the target user meets the preset condition, the executing entity (for example, the server shown in fig. 1) may store the target order generation information in a preset database for the target order generation information sent by the target user. Here, the target order generation information may include user information of the target user, item information and item promotion information included in the order indicated by the target order generation information. As an example, the user information may include information such as a user name, a receiving address, a contact address, and the like, and the item information and the item promotion information included in the order indicated by the target order generation information may include an item name, an item price, an ID for promotion of the item, and the like. The target order generation information may be used to generate a target order.
In this embodiment, when the executing entity determines that the user information of the target user meets the preset condition, the executing entity may send a prompt message to the target user for the target order generation information sent by the target user. The prompt information can be used for prompting that the target order generation information of the target user fails to be stored in the preset database. Optionally, the prompt may be used to prompt the target user of the reason for the failure of storing the target order generation information, for example, the prompt is "the user is not at the location where the goods are promoted".
And step 404, matching the item promotion information in the order generation information stored in the preset database with the item promotion information in the target order generation information.
In this embodiment, the preset database may store target order generation information sent by the target user and order generation information sent by other users. The execution subject may match order generation information stored in a preset database with target order generation information. Specifically, the executing agent may extract the sales promotion information of the item from the order generation information stored in the preset database, and then match the extracted sales promotion information with the sales promotion information of the item in the target order generation information. The execution subject may determine order generation information matched with the target order generation information from a preset database.
In this embodiment, the executing agent may determine in advance the condition indicated by the item sales promotion information in the target order generation information. As an example, if the item promotion activity doubles a full three items, the condition indicated by the item promotional information may be a full three items. The executing agent may extract information related to the item promotion information from the target order generation information and the order generation information matched with the target order generation information, and then determine whether a condition indicated by the item promotion information in the target order generation information is satisfied.
And step 406, in response to determining that the condition indicated by the item promotion information in the target order generation information is satisfied, generating and sending the target order to the target user based on the user information of the target user and the item information included in the order indicated by the target order generation information.
In this embodiment, when it is determined that the condition indicated by the item sales promotion information in the target order generation information is satisfied, the executing entity may generate the target order by using the user information of the target user and the item information included in the order indicated by the target order generation information, and send the generated target order to the target user. The amount of money displayed in the target order generated here is the amount of money after participation in the sales promotion of the item. Optionally, the executing entity may send a prompt message to the target user to prompt the user that the order is generated while sending the generated target order to the target user.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the process 400 of the order generation method in this embodiment may determine whether the target user meets the preset condition before the target order is hashed, so that the user who does not meet the preset condition may directly give up the order, and the order generation information does not need to be screened in the order hashing process, thereby improving the efficiency of hashing the order, avoiding the user doing useless work, and improving the user experience.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of an order generation apparatus, which corresponds to the method embodiment shown in fig. 2, and which may be specifically applied to various electronic devices.
As shown in fig. 5, the order generation apparatus 500 of the present embodiment includes: a storage unit 501, a matching unit 502, a first determination unit 503, and a generation unit 504. The storage unit 501 is configured to store target order generation information sent by a target user into a preset database, where the target order generation information includes user information of the target user, item information and item promotion information included in an order indicated by the target order generation information; the matching unit 502 is configured to match the item promotion information in the order generation information stored in the preset database with the item promotion information in the target order generation information to determine order generation information matched with the target order generation information from the preset database; the first determining unit 503 is configured to determine whether a condition indicated by the item promotion information in the target order generation information is satisfied, based on the target order generation information and the order generation information that matches the target order generation information; the generating unit 504 is configured to generate and send the target order to the target user based on the user information of the target user and the item information included in the order indicated by the target order generation information, in response to determining that the condition indicated by the item promotion information in the target order generation information is satisfied.
In some optional implementations of this embodiment, the apparatus 500 further includes: the first deleting unit is configured to delete the target order generation information in a preset database in response to receiving a deleting instruction of the target order generation information sent by the target user.
In some optional implementations of this embodiment, the apparatus 500 further includes: and the second deleting unit is configured to delete the target order generation information in the preset database after the target order is generated and sent to the target user.
In some optional implementations of this embodiment, the apparatus 500 further includes: a second determination unit configured to determine whether user information of the target user satisfies a preset condition; if yes, storing the target order generation information into a preset database; if not, sending prompt information to the target user, wherein the prompt information is used for prompting the target user that the target order generation information fails to be stored.
In some optional implementations of the embodiment, the condition indicated by the item promotion information in the target order generation information includes: the sum of the quantity of the articles indicated by the target order generation information and the quantity of the articles indicated by the matched order generation information in the preset database is greater than or equal to the preset quantity; the first determination unit 503 is further configured to: acquiring the quantity of the articles indicated by the target order generation information and the quantity of the articles indicated by the matched order generation information in a preset database; determining the sum of the quantity of the articles indicated by the target order generation information and the quantity of the articles indicated by the matched order generation information in a preset database; it is determined whether the sum of the quantities is greater than or equal to a preset quantity.
In some optional implementations of this embodiment, the condition indicated by the item promotion information in the target order generation information further includes: the sum of the amount indicated by the target order generation information and the amount indicated by the matched order information in the preset database is greater than or equal to the preset amount; the first determination unit 503 is further configured to: acquiring the amount indicated by the target order generation information and the amount indicated by the matched order generation information in a preset database; determining the sum of the amount indicated by the target order generation information and the amount of the article indicated by the matched order generation information in the preset database; it is determined whether the sum of the amounts is greater than or equal to a preset amount.
In some optional implementations of this embodiment, the preset database is configured to store order generation information that is sent by a plurality of users and instructs generation of different item information.
The units recited in the apparatus 500 correspond to the various steps in the method described with reference to fig. 2. Thus, the operations and features described above for the method are equally applicable to the apparatus 500 and the units included therein, and are not described in detail here.
Referring now to fig. 6, a schematic diagram of an electronic device (e.g., the server or terminal device of fig. 1) 600 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium of the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: storing target order generation information sent by a target user into a preset database, wherein the target order generation information comprises user information of the target user, article information and article promotion information contained in an order indicated by the target order generation information; matching the item promotion information in the order generation information stored in the preset database with the item promotion information in the target order generation information so as to determine the order generation information matched with the target order generation information from the preset database; determining whether a condition indicated by the item promotion information in the target order generation information is satisfied based on the target order generation information and the order generation information matched with the target order generation information; and in response to determining that the condition indicated by the item promotion information in the target order generation information is satisfied, generating and sending the target order to the target user based on the user information of the target user and the item information contained in the order indicated by the target order generation information.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a storage unit, a matching unit, a first determination unit, and a generation unit. Here, the names of the units do not constitute a limitation to the units themselves in some cases, and for example, the storage unit may also be described as a "unit that stores target order generation information sent by a target user in a preset database".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.
Claims (10)
1. A method of order generation, comprising:
storing target order generation information sent by a target user into a preset database, wherein the target order generation information comprises user information of the target user, and article information and article promotion information contained in an order indicated by the target order generation information;
matching the item promotion information in the order generation information stored in the preset database with the item promotion information in the target order generation information so as to determine the order generation information matched with the target order generation information from the preset database;
determining whether a condition indicated by item promotion information in the target order generation information is met or not based on the target order generation information and order generation information matched with the target order generation information;
and in response to determining that the condition indicated by the item promotion information in the target order generation information is satisfied, generating and sending a target order to the target user based on the user information of the target user and the item information included in the order indicated by the target order generation information.
2. The method of claim 1, wherein the method further comprises:
and in response to receiving a deletion instruction of the target order generation information sent by the target user, deleting the target order generation information in the preset database.
3. The method of claim 1, wherein after generating and sending a target order to the target user, the method further comprises:
and deleting the target order generation information in the preset database.
4. The method of claim 1, wherein before storing the target order generation information transmitted by the target user in a preset database, the method further comprises:
determining whether the user information of the target user meets a preset condition;
if yes, storing the target order generation information to the preset database;
if not, sending prompt information to the target user, wherein the prompt information is used for prompting the target user that the target order generation information storage fails.
5. The method of claim 1, wherein the conditions indicated by the item promotional information in the target order generation information comprise: the sum of the quantity of the articles indicated by the target order generation information and the quantity of the articles indicated by the matched order generation information in the preset database is greater than or equal to a preset quantity;
the determining whether a condition indicated by item promotion information in the target order generation information is satisfied based on the target order generation information and order generation information matched with the target order generation information includes:
acquiring the quantity of the articles indicated by the target order generation information and the quantity of the articles indicated by the matched order generation information in the preset database;
determining the sum of the quantity of the articles indicated by the target order generation information and the quantity of the articles indicated by the matched order generation information in the preset database;
determining whether the sum of the quantities is greater than or equal to a preset quantity.
6. The method of claim 5, wherein the conditions indicated by the item promotional information in the target order generation information further comprise: the sum of the amount indicated by the target order generation information and the amount indicated by the matched order information in the preset database is greater than or equal to a preset amount;
the determining whether a condition indicated by item promotion information in the target order generation information is satisfied based on the target order generation information and order generation information matched with the target order generation information includes:
acquiring the amount indicated by the target order generation information and the amount indicated by the matched order generation information in the preset database;
determining the sum of the amount indicated by the target order generation information and the amount of the article indicated by the matched order generation information in the preset database;
determining whether the sum of the amounts is greater than or equal to a preset amount.
7. The method according to any one of claims 1 to 6, wherein the predetermined database is used for storing order generation information which is sent by a plurality of users and indicates generation of different item information.
8. An apparatus for order generation, comprising:
the storage unit is configured to store target order generation information sent by a target user into a preset database, wherein the target order generation information comprises user information of the target user, and item information and item promotion information contained in an order indicated by the target order generation information;
a matching unit configured to match the item promotion information in the order generation information stored in the preset database with the item promotion information in the target order generation information to determine order generation information matched with the target order generation information from the preset database;
a first determination unit configured to determine whether a condition indicated by item sales promotion information in the target order generation information is satisfied, based on the target order generation information and order generation information that matches the target order generation information;
and the generating unit is configured to generate and send the target order to the target user based on the user information of the target user and the item information contained in the order indicated by the target order generation information in response to the fact that the condition indicated by the item promotion information in the target order generation information is met.
9. An electronic device/terminal/server comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910940129.3A CN112348612B (en) | 2019-09-30 | 2019-09-30 | Order generation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910940129.3A CN112348612B (en) | 2019-09-30 | 2019-09-30 | Order generation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112348612A true CN112348612A (en) | 2021-02-09 |
CN112348612B CN112348612B (en) | 2024-04-09 |
Family
ID=74367855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910940129.3A Active CN112348612B (en) | 2019-09-30 | 2019-09-30 | Order generation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112348612B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113643102A (en) * | 2021-08-30 | 2021-11-12 | 北京沃东天骏信息技术有限公司 | Information processing method, device, electronic equipment and computer readable medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105830109A (en) * | 2014-09-25 | 2016-08-03 | 华为技术有限公司 | Order processing method and terminal |
US20170193543A1 (en) * | 2016-01-04 | 2017-07-06 | Seth Priebatsch | Payment system with item-level promotional campaigns redeemable automatically at point-of-sale devices |
CN108428151A (en) * | 2018-03-09 | 2018-08-21 | 拉扎斯网络科技(上海)有限公司 | Order splicing method and device |
CN109598571A (en) * | 2017-09-29 | 2019-04-09 | 北京小度信息科技有限公司 | Spell folk prescription method and relevant apparatus |
-
2019
- 2019-09-30 CN CN201910940129.3A patent/CN112348612B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105830109A (en) * | 2014-09-25 | 2016-08-03 | 华为技术有限公司 | Order processing method and terminal |
US20170193543A1 (en) * | 2016-01-04 | 2017-07-06 | Seth Priebatsch | Payment system with item-level promotional campaigns redeemable automatically at point-of-sale devices |
CN109598571A (en) * | 2017-09-29 | 2019-04-09 | 北京小度信息科技有限公司 | Spell folk prescription method and relevant apparatus |
CN108428151A (en) * | 2018-03-09 | 2018-08-21 | 拉扎斯网络科技(上海)有限公司 | Order splicing method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113643102A (en) * | 2021-08-30 | 2021-11-12 | 北京沃东天骏信息技术有限公司 | Information processing method, device, electronic equipment and computer readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN112348612B (en) | 2024-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107665225B (en) | Information pushing method and device | |
JP6379140B2 (en) | Method, system, and recording medium for providing messages in groups | |
US10318546B2 (en) | System and method for test data management | |
CN106897905B (en) | Method and device for pushing information and electronic equipment | |
CN111104556B (en) | Service processing method and device | |
CN110473036B (en) | Method and device for generating order number | |
CN107911449A (en) | Method and apparatus for pushed information | |
CN109146533B (en) | Information pushing method and device | |
CN112308552A (en) | Ordering method and device for medical insurance medicines | |
US20160078389A1 (en) | Customer satisfaction-based ratings | |
CN107341238A (en) | Data processing method and system | |
CN114493750B (en) | Method, device, apparatus and computer-readable medium for sending recommended item information | |
CN113554493B (en) | Interactive ordering method, device, electronic equipment and computer readable medium | |
CN112785321A (en) | Incentive management method and device | |
US20230053859A1 (en) | Method and apparatus for outputting information | |
CN112348612A (en) | Order generation method and device | |
CN113194109A (en) | Method and device for pushing information | |
CN112184095A (en) | Method and device for sending mail | |
CN110895777A (en) | Method and device for processing overtime service list | |
CN110838019A (en) | Method and device for determining trial supply distribution crowd | |
CN110956514A (en) | Method and device for generating order information | |
CN109785178B (en) | Method and apparatus for generating information | |
CN111125514B (en) | Method, device, electronic equipment and storage medium for analyzing user behaviors | |
CN112819619A (en) | Transaction processing method and device | |
CN109587066B (en) | Method and device for generating 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TG01 | Patent term adjustment | ||
TG01 | Patent term adjustment |