A method and device for generating order information

By using historical data and promotional information to optimize the generation of orders, the problem of users in the e-commerce system that need to manually select products to form orders is solved, and fast and accurate order generation is achieved, improving user experience.

CN110956514BActive Publication Date: 2024-11-19BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811121937.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-09-26
Publication Date
2024-11-19
Estimated Expiration
2038-09-26

AI Technical Summary

Technical Problem

In the existing e-commerce system, users need to artificially choose products to collect orders, resulting in high time costs and the selected products do not meet the expected discounts, resulting in the loss of user groups.

Method used

By using historical purchase data and browsing data, we generate orders that meet users' expectations, put candidate products into the order candidate set based on promotional information, and optimize the solution to generate order information, providing a quick order-compilation channel.

Benefits of technology

Save user time costs, quickly and accurately locate products that meet users' expected prices, and improve users' shopping experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110956514B_ABST
    Figure CN110956514B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for generating order information, and relates to the field of computer technology. A specific implementation of the method includes: according to historical purchase data, excluding the products in the candidate product set within a preset purchase cycle; receiving a promotion message, and according to the promotion information in the promotion message, putting the products in the candidate product set corresponding to the promotion information into an order candidate set; optimizing the products in the order candidate set, thereby generating order information. This implementation can solve the problem that an order that meets the user's expectations cannot be automatically generated for the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for generating order information. Background Art

[0002] With the rapid development of e-commerce business, users are becoming more and more accustomed to online shopping. Currently, when users find that there is a promotion in the e-commerce system, they manually select products to make up the order and then place an order.

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0004] 1) Users artificially add items to the order and spend a lot of time selecting products, which results in some users not wanting to add items to the order due to the time cost, and thus losing a part of the user group;

[0005] 2) Users spend time to place an order, but the products they choose do not meet their expected discounts, which also leads to the loss of a part of the user group. Summary of the invention

[0006] In view of this, an embodiment of the present invention provides a method and device for generating order information, which can solve the problem that an order that meets the user's expectations cannot be automatically generated for the user.

[0007] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for generating order information is provided, comprising:

[0008] Based on historical purchase data, exclude candidate products that are concentrated in a preset purchase cycle;

[0009] receiving a promotion message, and according to the promotion information in the promotion message, adding the products in the candidate product set corresponding to the promotion information into the order candidate set;

[0010] The commodities in the order candidate set are optimized to generate order information.

[0011] Optionally, before excluding candidate commodities concentrated in a preset purchase period according to historical purchase orders, the method further includes:

[0012] Determine candidate commodities according to historical purchase data, and put the candidate commodities into a candidate commodity set; and / or,

[0013] Based on historical browsing data, items that appear in the same session are put into a candidate item set.

[0014] Optionally, before excluding candidate commodities concentrated in a preset purchase period according to historical purchase orders, the method further includes:

[0015] Determine the payment price of the order, the quantity of each item in the order, and the page price based on the historical purchase data, and calculate the maximum payment price and the minimum payment price of each item, thereby determining the expected price range of each item; and / or,

[0016] Determine the expected price range for each product based on the maximum and minimum payment prices set by the user.

[0017] Optionally, according to the promotion information in the promotion message, adding the products in the candidate product set corresponding to the promotion information into the order candidate set includes:

[0018] Calculating, according to the promotion information in the promotion message, the minimum payment price of the product in the candidate product set corresponding to the promotion information under the current promotion;

[0019] If the minimum payment price of the product under the current promotion is within the expected price range of the product, the product is put into the order candidate set.

[0020] Optionally, optimizing the commodities in the order candidate set to generate order information includes:

[0021] Based on the commodities in the order candidate set, generating at least one suggested order;

[0022] An optimization solution is performed on the at least one suggested order, and the suggested order corresponding to the optimal solution is used as the order information.

[0023] Optionally, performing an optimization solution on the at least one suggested order and taking the suggested order corresponding to the optimal solution as the order information includes:

[0024] According to the promotion information, determine the restriction conditions corresponding to each promotion information;

[0025] Taking the restriction conditions corresponding to each promotion information and the expected price range of each product as the constraint conditions, for each suggested order, the goal is to solve the maximum value of the following formula:

[0026] For all the products in the suggested order, sum [(maximum payment price - payment price of the products in the suggested order) × quantity of products in the suggested order];

[0027] The suggested order corresponding to the maximum value of the formula is used as the order information.

[0028] In addition, according to another aspect of an embodiment of the present invention, there is provided a device for generating order information, including:

[0029] An exclusion module, used to exclude candidate commodities concentrated in a preset purchase cycle based on historical purchase data;

[0030] a processing module, configured to receive a promotion message, and according to the promotion information in the promotion message, add the products in the candidate product set corresponding to the promotion information into the order candidate set;

[0031] The solution module is used to optimize the commodities in the order candidate set to generate order information.

[0032] Optionally, a screening module is further included, for:

[0033] Determine candidate commodities according to historical purchase data, and put the candidate commodities into a candidate commodity set; and / or,

[0034] Based on historical browsing data, items that appear in the same session are put into a candidate item set.

[0035] Optionally, a preset module is further included, for:

[0036] Determine the payment price of the order, the quantity of each item in the order, and the page price based on the historical purchase data, and calculate the maximum payment price and the minimum payment price of each item, thereby determining the expected price range of each item; and / or,

[0037] Determine the expected price range for each product based on the maximum and minimum payment prices set by the user.

[0038] Optionally, according to the promotion information in the promotion message, adding the products in the candidate product set corresponding to the promotion information into the order candidate set includes:

[0039] Calculating, according to the promotion information in the promotion message, the minimum payment price of the product in the candidate product set corresponding to the promotion information under the current promotion;

[0040] If the minimum payment price of the product under the current promotion is within the expected price range of the product, the product is put into the order candidate set.

[0041] Optionally, the solution module is used to:

[0042] Based on the commodities in the order candidate set, generating at least one suggested order;

[0043] An optimization solution is performed on the at least one suggested order, and the suggested order corresponding to the optimal solution is used as the order information.

[0044] Optionally, performing an optimization solution on the at least one suggested order and taking the suggested order corresponding to the optimal solution as the order information includes:

[0045] According to the promotion information, determine the restriction conditions corresponding to each promotion information;

[0046] Taking the restriction conditions corresponding to each promotion information and the expected price range of each product as the constraint conditions, for each suggested order, the goal is to solve the maximum value of the following formula:

[0047] For all the products in the suggested order, sum [(maximum payment price - payment price of the products in the suggested order) × quantity of products in the suggested order];

[0048] The suggested order corresponding to the maximum value of the formula is used as the order information.

[0049] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, including:

[0050] one or more processors;

[0051] a storage device for storing one or more programs,

[0052] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any of the above embodiments.

[0053] According to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in any one of the above embodiments is implemented.

[0054] An embodiment of the above invention has the following advantages or beneficial effects: because the technical means of generating order information by putting the products corresponding to the promotion information in the candidate product set into the order candidate set according to the promotion information, and optimizing the products in the order candidate set is adopted, the technical problem of being unable to automatically generate orders that meet the user's expectations for the user is overcome; the present invention utilizes the user's historical shopping data and historical browsing data to summarize the price-sensitive range bands of the user's purchased products and the candidate product set, and then uses the promotion information as the classification dimension to calculate the recommended orders recommended to the user by optimization means, providing the user with a fast channel for making up the order, which not only does not require the user to make up the order manually, saving the user's time cost, but also can quickly and accurately locate products that meet the user's expected price.

[0055] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with specific implementation examples. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0057] Figure 1 is a schematic diagram of the main process of the method for generating order information according to an embodiment of the present invention;

[0058] Figure 2 is a schematic diagram of the main process of a method for generating order information according to a reference embodiment of the present invention;

[0059] Figure 3 is a schematic diagram of main modules of an apparatus for generating order information according to an embodiment of the present invention;

[0060] Figure 4 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0061] Figure 5 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0062] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0063] Figure 1 FIG. 1 is a schematic diagram of the main process of the method for generating order information according to an embodiment of the present invention. Figure 1 As shown, as an embodiment of the present invention, the method for generating order information includes:

[0064] Step 101: exclude candidate commodities that are concentrated in a preset purchase cycle according to historical purchase data.

[0065] It should be noted that in the embodiments of the present invention, the commodity may be a fast-moving consumer good, which is the abbreviation of fast moving consumer goods (FMCG), which refers to consumer goods with a short service life and a fast consumption speed. Fast-moving consumer goods can be restricted by commodity classification.

[0066] In another embodiment of the present invention, before step 101, the method further includes: determining candidate commodities according to the historical purchase data, and placing the candidate commodities into a candidate commodity set. In this embodiment, the candidate commodities in each order data are determined according to the user's historical purchase data (i.e., completed order data), and these candidate commodities are placed into the candidate commodity set after deduplication.

[0067] In another embodiment of the present invention, before step 101, the method further includes: according to the historical browsing data, putting the commodities appearing in the same session into the candidate commodity set. In this embodiment, the user's browsing history, that is, the jump situation of the user browsing the fast-selling commodities, can be combined to maintain the candidate commodity set. This is mainly to utilize the complementarity between commodities. For example, if a toothbrush is purchased, it is easy to think of buying toothpaste, so a user's session is used as a processing node. If the user browses commodities A, B and C in the same session, if A is a fast-selling commodity, a key-value pair is maintained. Among them, key is the SKU (short for the unified product number, each product corresponds to a unique SKU number) of commodity A, and value is a list, which includes fast-selling commodities that appear in the same session with commodity A, such as commodity B and commodity C. If multiple fast-selling commodities appear in the same session, multiple sets of key-value pairs are established accordingly, wherein key is the SKU of the fast-selling commodity, and value is the fast-selling commodity list corresponding to the fast-selling commodity.

[0068] In another embodiment of the present invention, before step 101, the method further includes: determining the payment price of the order, the quantity corresponding to each item in the order, and the page price based on historical purchase data, and calculating the maximum payment price and the minimum payment price of each item, so as to determine the expected price range of each item; and / or determining the expected price range of each item based on the maximum payment price and the minimum payment price set by the user.

[0069] If an order m includes N items, the quantity of each item is Num im , i∈{1,2,…,N}, the page price corresponding to each product is Price im , i∈{1,2,…,N}, the payment price of the order is P m , then the payment price corresponding to commodity i is:

[0070]

[0071] Then, for this user, the price paid for purchasing commodity i is a set P i = {P i1 ,P i2 ,…,P iM}, where M is the number of times the user purchased the product. Then in the set P i Get the maximum payment price and the minimum payment price as the expected price range of the product.

[0072] Furthermore, the expected price range can be used as a reference range for the user by the system. If the user does not set a price range, the maximum and minimum payment prices calculated according to the above method are used as the expected price range of the product; if the user sets a maximum and minimum payment price, the maximum and minimum payment prices set by the user are used as the expected price range of the product. In other words, the priority set by the user is greater than the priority configured by the system.

[0073] In another embodiment of the present invention, before step 101, the method further includes: pre-setting a purchase cycle for each commodity. Optionally, the same purchase cycle can be set for each commodity, or different purchase cycles can be set for different commodities, that is, how long after purchasing a fast-moving consumer goods can the purchase of the commodity be triggered again. A purchase cycle can also be set for a certain commodity. If an independent purchase cycle is set for a certain commodity, the judgment is made according to the purchase cycle. If no independent purchase cycle is set, the judgment is made according to the purchase cycle of the fast-moving consumer goods.

[0074] Therefore, in step 101, the difference between the current time and the purchase time is calculated based on the fast-moving consumer goods that the user has purchased, so as to exclude fast-moving consumer goods whose candidate goods are concentrated in a preset purchase cycle, thereby avoiding repeated purchases within the purchase cycle.

[0075] Step 102: receiving a promotion message, and according to the promotion information in the promotion message, adding the products in the candidate product set corresponding to the promotion information into an order candidate set.

[0076] The promotion message of the product can be subscribed to through the background. When the promotion message is received, the products in the candidate product set associated with the promotion information can be added to the order candidate set according to the promotion information in the promotion message.

[0077] Similarly, promotion information can also be maintained based on key-value pairs, where the key is the SKU of the product and the value is the promotion id (i.e., promotion information). For example, the promotion information is: get B yuan off for purchases over A yuan, get B items off for purchases over A items, or get B yuan off for purchases over A items. When the promotion message is a new promotion, the value data corresponding to the key will add the promotion information; when the promotion message is a promotion deletion or expiration, the value data corresponding to the key will remove the corresponding promotion id (i.e., promotion information). It should be noted that each promotion information has a promotion id, and the corresponding promotion information can be obtained through the promotion id.

[0078] As another embodiment of the present invention, according to the promotion information in the promotion message, placing the commodity in the candidate commodity set corresponding to the promotion information into the order candidate set includes: calculating the minimum payment price of the commodity in the candidate commodity set corresponding to the promotion information under the current promotion according to the promotion information in the promotion message; if the minimum payment price of the commodity under the current promotion is within the expected price range of the commodity, placing the commodity in the order candidate set. In this embodiment, firstly, the minimum payment price of the commodity corresponding to the promotion information under the current promotion is calculated according to the promotion information, and then it is determined whether the minimum payment price of the commodity under the current promotion is within the expected price range of the commodity. If yes, the commodity is placed in the order candidate set, and if not, the commodity is retained in the candidate commodity set.

[0079] It should be noted that each promotion information corresponds to an order candidate set, that is, the products associated with the same promotion ID and meeting the conditions of purchase cycle, price range, etc. are placed in the same order candidate set. Moreover, the same product may participate in multiple promotion activities, so the same product can be placed in multiple order candidate sets associated with it based on the promotion information.

[0080] Step 103: Optimize the commodities in the order candidate set to generate order information.

[0081] First, at least one suggested order is generated based on the commodities in the order candidate set obtained in step 102; then, the at least one suggested order is optimized and the suggested order corresponding to the optimal solution is used as the order information. In this step, at least one suggested order can be generated for each order candidate set.

[0082] Optionally, the at least one suggested order is optimized and solved, and the suggested order corresponding to the optimal solution is used as the order information, including: determining the restriction conditions corresponding to each promotional information based on the promotional information; using the restriction conditions corresponding to each promotional information and the expected price range of each commodity as constraints, and for each suggested order, aiming to solve the maximum value of the following formula: summing all the commodities in the suggested order according to [(maximum payment price - payment price of the commodities in the suggested order) × quantity of commodities in the suggested order]; and using the suggested order corresponding to the maximum value of the formula as the order information.

[0083] It should be noted that different promotional information will have different restrictions, such as shown in the following table:

[0084]

[0085] For a certain suggested order, if the items in the suggested order candidate set are {1,2,…,N}, the payment price of item i in the suggested order is p i , the maximum payment price of commodity i set by the user or the system is s i , the number of items in the recommended order is n i , optimize and solve the maximum value of the following formula:

[0086]

[0087] Constraints: 1) The product belongs to the candidate product set; 2) The payment price corresponding to the product is within the expected price range; 3) The corresponding promotion ID corresponds to the restriction condition.

[0088] In combination with the constraint conditions, at least one suggested order corresponding to the same promotion information is optimized and solved, and the most optimized solution is selected. The suggested order is the generated order information.

[0089] Therefore, the embodiment of the present invention provides users with order suggestions for fast-moving goods based on the user's historical purchase records and / or historical browsing data. The user selects the service by subscribing, configures the cycle of fast-moving goods to complete the subscription, and if a set of goods that meet the user's subscription is found, an order is automatically placed, and then the user is notified. If the user selects to confirm, the order production process begins; if the user selects to cancel or does not make a selection (within the order validity period, such as 24 hours), the generated order suggestion is automatically canceled.

[0090] According to the various embodiments described above, it can be seen that the present invention adopts a technical solution that generates order information by placing the products corresponding to the promotion information in the candidate product set into the order candidate set according to the promotion information, and optimizing the products in the order candidate set, thereby solving the problem of being unable to automatically generate orders that meet the user's expectations for the user. The present invention uses the user's historical shopping data and historical browsing data to summarize the price-sensitive interval bands of the user's purchases and the candidate product set, and then uses the promotion information as the classification dimension to calculate the recommended orders recommended to the user by optimization means, providing the user with a fast channel for making up the order, which not only does not require the user to make up the order manually, saving the user's time cost, but also can quickly and accurately locate the products that meet the user's expected price.

[0091] Figure 2 1 is a schematic diagram of the main process of a method for generating order information according to a reference embodiment of the present invention. The method for generating order information may include:

[0092] Step 201, determining candidate commodities according to historical purchase data, and placing the candidate commodities into a candidate commodity set;

[0093] Step 202, according to the historical browsing data, the commodities that appear in the same session are put into a candidate commodity set;

[0094] Step 203, determining the payment price of the order, the quantity of each product in the order, and the page price based on the historical purchase data, and calculating the maximum payment price and the minimum payment price of each product, thereby determining the expected price range of each product; and / or determining the expected price range of each product based on the maximum payment price and the minimum payment price set by the user;

[0095] Step 204, excluding candidate commodities that are concentrated in a preset purchase period based on historical purchase data;

[0096] Step 205, receiving a promotion message, and calculating the minimum payment price of the product corresponding to the promotion information in the candidate product set under the current promotion according to the promotion information in the promotion message;

[0097] Step 206, determining whether the minimum payment price of the product under the current promotion is within the expected price range of the product; if so, executing step 207; if not, ending;

[0098] Step 207, putting the product into an order candidate set;

[0099] Step 208, generating at least one suggested order based on the commodities in the order candidate set;

[0100] Step 209: Optimize the at least one suggested order and use the suggested order corresponding to the optimal solution as order information.

[0101] It should be noted that step 201 and step 202 may be performed simultaneously, or step 201 may be performed first and then step 202, or step 202 may be performed first and then step 201. The embodiment of the present invention does not limit this.

[0102] It should be noted that, while ensuring that the present invention can be implemented, the order of the above steps can be adjusted as needed, and the adjusted technical solutions are all within the protection scope of the present invention.

[0103] In addition, the specific implementation content of the method for generating order information in a reference embodiment of the present invention has been described in detail in the method for generating order information described above, so the repeated content will not be described here.

[0104] Figure 3 Schematic diagram of the main modules of the device for generating order information according to an embodiment of the present invention. Figure 3As shown, the device 300 for generating order information includes an exclusion module 301, a processing module 302 and a solution module 303. The exclusion module 301 excludes the products in the candidate product set within a preset purchase period according to the historical purchase data; the processing module 302 receives the promotion message, and according to the promotion information in the promotion message, puts the products in the candidate product set corresponding to the promotion information into the order candidate set; the solution module 303 performs optimization solution on the products in the order candidate set, thereby generating order information.

[0105] Optionally, it also includes a screening module, which determines candidate commodities according to historical purchase data and puts the candidate commodities into a candidate commodity set; and / or, according to historical browsing data, puts commodities appearing in the same session into the candidate commodity set.

[0106] Optionally, a preset module is also included, which determines the payment price of the order, the quantity of each item in the order and the page price based on historical purchase data, and calculates the maximum payment price and the minimum payment price of each item, thereby determining the expected price range of each item; and / or determines the expected price range of each item based on the maximum payment price and the minimum payment price set by the user.

[0107] Optionally, according to the promotion information in the promotion message, adding the products in the candidate product set corresponding to the promotion information into the order candidate set includes:

[0108] Calculating, according to the promotion information in the promotion message, the minimum payment price of the product in the candidate product set corresponding to the promotion information under the current promotion;

[0109] If the minimum payment price of the product under the current promotion is within the expected price range of the product, the product is put into the order candidate set.

[0110] Optionally, the solution module 303 generates at least one suggested order based on the commodities in the order candidate set; performs optimization solution on the at least one suggested order, and uses the suggested order corresponding to the optimal solution as the order information.

[0111] Optionally, performing an optimization solution on the at least one suggested order and taking the suggested order corresponding to the optimal solution as the order information includes:

[0112] According to the promotion information, determine the restriction conditions corresponding to each promotion information;

[0113] Taking the restriction conditions corresponding to each promotion information and the expected price range of each product as the constraint conditions, for each suggested order, the goal is to solve the maximum value of the following formula:

[0114] For all the products in the suggested order, sum [(maximum payment price - payment price of the products in the suggested order) × quantity of products in the suggested order];

[0115] The suggested order corresponding to the maximum value of the formula is used as the order information.

[0116] According to the various embodiments described above, it can be seen that the present invention adopts a technical solution that generates order information by placing the products corresponding to the promotion information in the candidate product set into the order candidate set according to the promotion information, and optimizing the products in the order candidate set, thereby solving the problem of being unable to automatically generate orders that meet the user's expectations for the user. The present invention uses the user's historical shopping data and historical browsing data to summarize the price-sensitive interval bands of the user's purchases and the candidate product set, and then uses the promotion information as the classification dimension to calculate the recommended orders recommended to the user by optimization means, providing the user with a fast channel for making up the order, which not only does not require the user to make up the order manually, saving the user's time cost, but also can quickly and accurately locate the products that meet the user's expected price.

[0117] It should be noted that the specific implementation content of the device for generating order information in the present invention has been described in detail in the method for generating order information described above, so the repeated content will not be described here.

[0118] Figure 4 An exemplary system architecture 400 to which the method for generating order information or the method for generating order information according to an embodiment of the present invention can be applied is shown.

[0119] like Figure 4 As shown, system architecture 400 may include terminal devices 401, 402, 403, network 404 and server 405. Network 404 is used to provide a medium for communication links between terminal devices 401, 402, 403 and server 405. Network 404 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0120] Users can use terminal devices 401, 402, 403 to interact with server 405 through network 404 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 401, 402, 403, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0121] The terminal devices 401 , 402 , and 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0122] The server 405 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 401, 402, and 403. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.

[0123] It should be noted that the method for generating order information provided in the embodiment of the present invention is generally executed on the server 405, and accordingly, the device for generating order information is generally set in the server 405. The method for generating order information provided in the embodiment of the present invention can also be executed on the terminal devices 401, 402, and 403, and accordingly, the device for generating order information is generally set on the terminal devices 401, 402, and 403.

[0124] It should be understood that Figure 4 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0125] Reference below Figure 5 , which shows a schematic diagram of the structure of a computer system 500 of a terminal device suitable for implementing an embodiment of the present invention. Figure 5 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0126] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0127] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.

[0128] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present invention are executed.

[0129] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0130] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0131] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes an exclusion module, a processing module and a solution module, wherein the names of these modules do not constitute a limitation on the modules themselves in some cases.

[0132] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: excluding products in the candidate product set within a preset purchase period based on historical purchase data; receiving a promotion message, and according to the promotion information in the promotion message, placing the products in the candidate product set corresponding to the promotion information into an order candidate set; optimizing the products in the order candidate set to generate order information.

[0133] According to the technical solution of the embodiment of the present invention, because the technical means of generating order information by putting the products corresponding to the promotion information in the candidate product set into the order candidate set according to the promotion information, and optimizing the products in the order candidate set is adopted, the technical problem of being unable to automatically generate orders that meet the user's expectations for the user is overcome; the present invention utilizes the user's historical shopping data and historical browsing data to summarize the price-sensitive range bands of the user's purchased products and the candidate product set, and then uses the promotion information as the classification dimension to calculate the recommended orders recommended to the user by optimization means, thereby providing the user with a fast channel for making up the order, which not only does not require the user to make up the order manually, saving the user's time cost, but also can quickly and accurately locate products that meet the user's expected prices.

[0134] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for generating order information, characterized in that: include: Determine the payment price of the order, the quantity of each item in the order, and the page price based on the historical purchase data, and calculate the maximum payment price and the minimum payment price of each item, thereby determining the expected price range of each item; and / or determine the expected price range of each item based on the maximum payment price and the minimum payment price set by the user; Based on historical purchase data, exclude candidate products that are concentrated in a preset purchase cycle; receiving a promotion message, and according to the promotion information in the promotion message, adding the products in the candidate product set corresponding to the promotion information into the order candidate set; Optimizing the products in the order candidate set to generate order information; According to the promotion information in the promotion message, the products in the candidate product set corresponding to the promotion information are added into the order candidate set, including: Calculating, according to the promotion information in the promotion message, the minimum payment price of the product in the candidate product set corresponding to the promotion information under the current promotion; If the minimum payment price of the product under the current promotion is within the expected price range of the product, the product is placed in the order candidate set; Optimizing the commodities in the order candidate set to generate order information includes: Based on the commodities in the order candidate set, generating at least one suggested order; Optimizing the at least one suggested order, and using the suggested order corresponding to the optimal solution as order information; Optimizing the at least one suggested order and taking the suggested order corresponding to the optimal solution as order information includes: According to the promotion information, determine the restriction conditions corresponding to each promotion information; Taking the restriction conditions corresponding to each promotion information and the expected price range of each product as the constraint conditions, for each suggested order, the goal is to solve the maximum value of the following formula: For all the products in the suggested order, sum [(maximum payment price - payment price of the products in the suggested order) × quantity of products in the suggested order]; The suggested order corresponding to the maximum value of the formula is used as the order information.

2. The method according to claim 1, characterized in that Before excluding the candidate products concentrated in the preset purchase cycle according to the historical purchase orders, it also includes: Determine candidate commodities according to historical purchase data, and put the candidate commodities into a candidate commodity set; and / or, Based on historical browsing data, items that appear in the same session are put into a candidate item set.

3. A device for generating order information, characterized in that: include: An exclusion module, used to exclude candidate commodities concentrated in a preset purchase cycle based on historical purchase data; a processing module, configured to receive a promotion message, and according to the promotion information in the promotion message, add the products in the candidate product set corresponding to the promotion information into the order candidate set; A solution module, used for optimizing the commodities in the order candidate set to generate order information; Also includes preset modules for: Determine the payment price of the order, the quantity of each item in the order, and the page price based on the historical purchase data, and calculate the maximum payment price and the minimum payment price of each item, thereby determining the expected price range of each item; and / or, Determine the expected price range for each product based on the maximum and minimum payment prices set by the user; According to the promotion information in the promotion message, the products in the candidate product set corresponding to the promotion information are added into the order candidate set, including: Calculating, according to the promotion information in the promotion message, the minimum payment price of the product in the candidate product set corresponding to the promotion information under the current promotion; If the minimum payment price of the product under the current promotion is within the expected price range of the product, the product is placed in the order candidate set; The solution module is used to: Based on the commodities in the order candidate set, generating at least one suggested order; Optimizing the at least one suggested order, and using the suggested order corresponding to the optimal solution as order information; Optimizing the at least one suggested order and taking the suggested order corresponding to the optimal solution as order information includes: According to the promotion information, determine the restriction conditions corresponding to each promotion information; Taking the restriction conditions corresponding to each promotion information and the expected price range of each product as the constraint conditions, for each suggested order, the goal is to solve the maximum value of the following formula: For all the products in the suggested order, sum [(maximum payment price - payment price of the products in the suggested order) × quantity of products in the suggested order]; The suggested order corresponding to the maximum value of the formula is used as the order information.

4. The device according to claim 3, characterized in that Also includes screening modules for: Determine candidate commodities according to historical purchase data, and put the candidate commodities into a candidate commodity set; and / or, Based on historical browsing data, items that appear in the same session are put into a candidate item set.

5. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method as claimed in claim 1 or 2.

6. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to claim 1 or 2 is implemented.