CN115496552A - Promotion order processing method and device based on recommendation algorithm - Google Patents

Promotion order processing method and device based on recommendation algorithm Download PDF

Info

Publication number
CN115496552A
CN115496552A CN202211121925.2A CN202211121925A CN115496552A CN 115496552 A CN115496552 A CN 115496552A CN 202211121925 A CN202211121925 A CN 202211121925A CN 115496552 A CN115496552 A CN 115496552A
Authority
CN
China
Prior art keywords
promotion
order
preferential
commodity
information
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
Application number
CN202211121925.2A
Other languages
Chinese (zh)
Other versions
CN115496552B (en
Inventor
杨满坡
杨周龙
潘宏晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Yunda Hi Tech Co ltd
Original Assignee
Dongpu Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongpu Software Co Ltd filed Critical Dongpu Software Co Ltd
Priority to CN202211121925.2A priority Critical patent/CN115496552B/en
Publication of CN115496552A publication Critical patent/CN115496552A/en
Application granted granted Critical
Publication of CN115496552B publication Critical patent/CN115496552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0211Determining the effectiveness of discounts or incentives
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0222During e-commerce, i.e. online transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0239Online discounts or incentives
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations

Landscapes

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

Abstract

The invention discloses a promotion order processing method and a device based on a recommendation algorithm, wherein the method comprises the following steps: acquiring a purchase request of a material commodity, pushing the purchase request to SAP (service access point) to generate an order to be purchased, and acquiring promotion information related to the material commodity according to the order to be purchased; identifying the promotion state of the material commodity according to the promotion information associated with the material commodity; judging whether promotion information is effective or not based on a promotion order request micro-service, outputting effective information corresponding to the material commodities and generating promotion codes related to the material commodities, wherein the effective information is information of a plurality of preferential ways including preferential prices and within a preferential period; and obtaining an optimal solution selected by a preferential manner by using a greedy algorithm according to a rule corresponding to the promotion code, superposing the preferential manner according to the optimal solution, calculating to obtain an optimal price corresponding to the material commodity, and outputting an optimal promotion order. Effectively promote the treatment effeciency of material commodity order system, avoid the drawback that manual handling produced.

Description

Promotion order processing method and device based on recommendation algorithm
Technical Field
The invention relates to the technical field of logistics, in particular to a promotion order processing method and device based on a recommendation algorithm.
Background
With the development of the domestic e-commerce industry, the amount of orders of commodities is increased, different customers can generate orders according to the requirements of the customers when purchasing, with the deep development of the internet, the continuous improvement of the supply chain management level and the rise of the e-commerce, enterprises face increasingly intensified market competition, and are eager to implement e-commerce projects, expand the business range, reduce the enterprise cost, improve the service level and enhance the enterprise competitiveness. The existing information system equipment and application still have some problems and disadvantages, for example, at present, an enterprise does not have an effective management and control tool when developing the network construction of a dealer channel, a sales promotion order in the existing business is completed in a manual mode, the processing efficiency of the business is limited to a certain extent, the sales promotion order data are disordered, the statistical data volume is large, and meanwhile, because the manual efficiency is not high, the server can not accurately manage and control related business data, the data can not be timely fed back, and the processing efficiency of the server is influenced.
In view of this, it is necessary to provide a method for processing sales promotion orders, which avoids the disadvantages caused by manual operations.
Disclosure of Invention
The invention aims to provide a promotion order processing method and device based on a recommendation algorithm.
The invention provides a promotion order processing method based on a recommendation algorithm, which comprises the following steps:
acquiring a purchase request of a material commodity, pushing the purchase request to SAP (service access point) to generate an order to be purchased, and acquiring promotion information related to the material commodity according to the order to be purchased;
identifying the promotion state of the material commodity according to the promotion information associated with the material commodity, and entering a promotion order to request micro-service when the material commodity is in the promotion state; when the material commodity is in a non-sales promotion state, entering a common order to request micro-service;
judging whether the promotion information is effective or not based on a promotion order request micro-service, outputting effective information corresponding to the material commodities and generating promotion codes related to the material commodities, wherein the effective information is information of a plurality of preferential ways including preferential prices and within a preferential period;
obtaining an optimal solution selected by a preferential mode by utilizing a greedy algorithm according to a rule corresponding to the promotion code, superposing the preferential mode according to the optimal solution, calculating to obtain an optimal price corresponding to the material commodity and outputting an optimal promotion order;
recommending the material commodities associated with the promotion information by the primary optimal promotion order based on a recommendation algorithm, iteratively updating the promotion information corresponding to the material commodities, calculating to obtain a secondary optimal promotion order, and outputting the updated optimal promotion order.
Preferably, the acquiring a purchase request of a material commodity and pushing the request to the SAP to generate an order to be purchased, and acquiring promotion information associated with the material commodity according to the order to be purchased includes:
recommending material commodities related to promotion information according to promotion attribute information corresponding to historical data ordered by a user and based on content preferred by the user, wherein each material commodity corresponds to a plurality of promotion information;
collecting a plurality of promotion information, corresponding to each material commodity, storing the promotion information and a promotion database, wherein the promotion information comprises promotion activity names, promotion codes, promotion time, promotion platforms, promotion channels, promotion user ranges, promotion links and contents related to preferential attributes;
and updating the promotion database corresponding to the material commodity by adopting a timer.
Preferably, the promotion state of the material commodity is identified according to the promotion information associated with the material commodity, and when the material commodity is in the promotion state, a promotion order is entered to request micro-service; when the material commodity is in a non-promotion state, entering a common order request micro-service comprises the following steps:
in the sales promotion order request micro-service and the common order request micro-service, front-end service is set, user request access and data verification are executed, and new domain name URIs are respectively started;
and accessing different URI addresses corresponding to the promotion order request micro-service and the common order request micro-service according to whether promotion activities or coupons or other preferential ways exist when the order to be purchased is initiated, and shunting and isolating promotion flow and non-promotion flow from the source.
Preferably, the step of requesting, by the microservice, whether the promotion information is valid or not based on the promotion order, and outputting valid information corresponding to the material item and generating the promotion code associated with the material item includes:
judging whether the material commodity corresponding to the promotion code has a preferential price, if the preferential mechanism fails, generating a promotion result of the order to be purchased according to the original price, and if the preferential mechanism is effective, generating a promotion result of the order to be purchased according to the preferential price;
and carrying out promotion information maintenance on the coded commodity types and uploading the promotion information to the material commodity system again.
Preferably, the step of determining whether the promotion information is valid based on the promotion order request microservice, outputting valid information corresponding to the material item, and generating the promotion code associated with the material item further includes:
inquiring the promotion information corresponding to the material commodity, traversing the promotion information, comparing the ending time of the promotion information with the current time, changing the promotion state corresponding to the material commodity, and displaying a preferential label;
if the material commodity is associated with the promotion number and is in an active state, price display preferential price, a drop-down frame display original price and preferential price of the total amount of the commodity are displayed in the process of totaling;
and executing settlement operation, generating a settlement order according to the preferential price or updating the preferential price of the total amount of the commodity when the shopping cart is refreshed.
Preferably, the obtaining an optimal solution selected in a preferential manner by using a greedy algorithm according to the rule corresponding to the promotion code, and calculating an optimal price corresponding to the material commodity and outputting an optimal promotion order according to the optimal solution overlapping the preferential manner includes:
if the material commodity is associated with the promotion number and is in an active state, updating the preferential price along with the change of the quantity each time the quantity changes according to the quantity of shopping carts added by a website and promotion rules associated with the material on a promotion maintenance page, and overlapping a plurality of preferential modes to reach the most favorable price total;
if the promotion number is changed into the in-activity state and the settlement operation is executed together, the promotion activity is preferentially carried out and then the settlement is carried out, namely, the preferential price of the shopping cart is updated and then the settlement is carried out according to the preferential price;
if the promotion number is changed into the finished state and the settlement operation is executed, the promotion activity is preferably finished and then the settlement is performed, namely, the original price of the shopping cart is updated and then the settlement is performed according to the original price.
Preferably, the calculating to obtain the optimal price corresponding to the material item and outputting an optimal sales promotion order includes:
judging whether the material commodity selected in the order to be purchased participates in the promotion activity or not;
judging whether the material commodities meet promotion conditions or not, and calculating the amount of the order according to promotion rules;
and judging whether the user can enjoy the multiple benefits at the same time, and if the user does not support the multiple benefits to be shared, automatically selecting the optimal benefit scheme for calculation according to the optimal principle.
The invention provides a promotion order processing device based on a recommendation algorithm, which comprises:
the request module is used for acquiring a purchase request of a material commodity, pushing the purchase request to SAP (service access point) to generate an order to be purchased and acquiring promotion information related to the material commodity according to the order to be purchased;
the identification module is used for identifying the promotion state of the material commodity according to the promotion information associated with the material commodity, and entering promotion order request micro-service when the material commodity is in the promotion state; when the material commodity is in a non-sales promotion state, entering a common order to request micro-service;
the judging module is used for judging whether the promotion information is effective or not based on promotion order request micro-service, outputting effective information corresponding to the material commodity and generating promotion codes related to the material commodity, wherein the effective information is information of various preferential modes which comprise preferential prices and are in preferential periods;
the calculation module is used for obtaining an optimal solution selected by a preferential mode by utilizing a greedy algorithm according to a rule corresponding to the promotion code, superposing the preferential mode according to the optimal solution, calculating to obtain an optimal price corresponding to the material commodity and outputting an optimal promotion order;
and the result output module is used for recommending the material commodities of the associated promotion information to the primary optimal promotion order based on a recommendation algorithm, iteratively updating the promotion information corresponding to the material commodities, calculating to obtain a secondary optimal promotion order, and outputting the updated optimal promotion order.
The promotion order processing equipment based on the recommendation algorithm comprises a memory and a processor, wherein computer readable instructions are stored in the memory, and when the processor executes the computer readable instructions, the promotion order processing equipment based on the recommendation algorithm realizes the promotion order processing method based on the recommendation algorithm.
The invention provides a computer readable medium storing a computer program, wherein the computer program is executed by one or more processors to implement a promotion order processing method based on a recommendation algorithm according to an embodiment of the invention.
Aiming at the prior art, the invention has the following beneficial effects:
the sales promotion order processing method based on the recommendation algorithm effectively improves the processing efficiency of a material commodity order system, improves the service level, realizes effective management and control and efficient cooperation of internal business of an enterprise, and avoids the defects caused by manual processing. The adopted recommendation algorithm can change along with the change of the user preference, and can process unstructured complex objects; the method has the advantages that new promotion information can be recommended, incomplete and inaccurate promotion information analysis is avoided, feedback information of other similar users is effectively utilized, the step of personalized learning is accelerated, the recommendation requirements of the users are responded immediately, information fusion can be carried out across platforms, the recommendation effect is good, the promotion information is utilized in time, and unnecessary cost is reduced.
Obtaining an optimal solution selected by a preferential manner by using a greedy algorithm, superposing the preferential manner according to the optimal solution, reducing unnecessary cost, and improving efficient management and cost control management between orders and material commodities through the association of the material commodities and promotion information;
in order to cope with high flow and high concurrent requests, the flow distribution isolation of the promotion flow and the non-promotion flow is carried out from the source by accessing different URI addresses corresponding to the promotion order request micro-service and the common order request micro-service.
Drawings
FIG. 1 is a schematic diagram illustrating steps of a method for processing a promotion order based on a recommendation algorithm according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a promotion order processing apparatus based on a recommendation algorithm according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
As shown in fig. 1, the method for processing a promotion order based on a recommendation algorithm provided by the present invention includes:
s1, acquiring a purchase request of a material commodity, pushing the purchase request to SAP to generate an order to be purchased, and acquiring promotion information related to the material commodity according to the order to be purchased;
s2, identifying the promotion state of the material commodity according to the promotion information associated with the material commodity, and entering promotion order request micro-service when the material commodity is in the promotion state; when the material commodity is in a non-promotion state, entering a common order to request micro-service;
s3, judging whether the promotion information is effective or not based on a promotion order request micro-service, outputting effective information corresponding to the material commodity and generating promotion codes related to the material commodity, wherein the effective information is information of various preferential modes which contain preferential prices and are in preferential periods; the preferential mode adopted in this embodiment may be a single-commodity preferential mode, which refers to promotion of a single-commodity price preferential mode, such as: killing in seconds, reducing immediately, grouping and the like; or, the method may be a collective discount, which refers to binding multiple commodities for discount, such as full reduction, full discount, full gift, multiple discount, etc. In this embodiment, if the discount time limit is passed, it is determined that the promotion information is invalid, and if the combined discount condition cannot be satisfied, the discount mechanism cannot be entered.
S4, obtaining an optimal solution selected by a preferential manner by using a greedy algorithm according to a rule corresponding to the promotion code, superposing the preferential manner according to the optimal solution, calculating to obtain an optimal price corresponding to the material commodity, and outputting an optimal promotion order;
and S5, recommending the material commodities associated with the promotion information by the primary optimal promotion order based on a recommendation algorithm, iteratively updating the promotion information corresponding to the material commodities and calculating to obtain a secondary optimal promotion order, outputting the updated optimal promotion order, and automatically generating the optimal preferential order.
The recommendation algorithm adopted in the embodiment can be recommended based on content, cooperation, association rules or other combinations, can change along with the change of user preference, and can process unstructured complex objects; the method has the advantages that new information can be recommended, incomplete and inaccurate content analysis is avoided, feedback information of other similar users is effectively utilized, the step of personalized learning is accelerated, the recommendation requirements of the users are responded immediately, information fusion can be carried out across platforms, and the recommendation effect is good.
The material articles described in this embodiment are a general term of material articles used by commercial enterprises for business operation, maintenance, labor protection, office work, life and the like. Different mesh points are equipped as: fixed assets, accessories and repair materials of production equipment, spare office supplies in the aspects of office work, life and the like, waste packaging materials and the like. The system is characterized by being various in types and scattered, and needing to be managed intensively to prevent loss and waste.
Specifically, the acquiring a purchase request of a material commodity and pushing the request to the SAP to generate an order to be purchased, and acquiring promotion information associated with the material commodity according to the order to be purchased includes:
recommending material commodities related to promotion information according to promotion attribute information corresponding to historical data ordered by a user and based on content preferred by the user, wherein each material commodity corresponds to a plurality of promotion information;
collecting a plurality of promotion information, corresponding to each material commodity, storing the promotion information in a promotion database, wherein the promotion information comprises promotion activity names, promotion codes, promotion time, promotion platforms, promotion channels, promotion user ranges, promotion links and contents related to preferential attributes;
and updating the promotion database corresponding to the material commodity by adopting a timer. All the coupons are inquired firstly, then the coupons are traversed, the end time is compared with the current time, the state of the coupons is changed, and the promotion database is updated in time in a mode of labels and the like, so that the method is beneficial to monitoring the coupon information of the material commodities in time.
Identifying a promotion status of the material item based on promotion information associated with the material item, and entering a promotion order request micro-service when the material item is in the promotion status in order to enable stable and efficient operation during a specific activity in response to a high-flow, high-concurrency request; when the material commodity is in a non-promotion state, entering a common order request micro-service comprises the following steps:
in the sales promotion order request micro-service and the common order request micro-service, front-end service is set, user request access and data verification are executed, and new domain name URIs are respectively started;
and accessing different URI addresses corresponding to the promotion order entering request micro-service and the common order requesting micro-service according to whether promotion activities or coupons or other preferential ways exist when the order to be purchased is initiated, and shunting and isolating promotion flow and non-promotion flow from the source.
The ordering service adopted by the embodiment is divided into a two-layer structure, and a basic layer mainly processes data correlation and does not make business logic. Through this layer, the connection with the database is strictly controlled, and the SQL is executed. On the upper layer of the foundation, as an ordering logic processing layer, two physically isolated systems are deployed, and are respectively used as a common order request and a sales promotion order, and can be request services of unstable flow such as festival promotion and the like. By continuously cutting flow from the original system, entering promotion order request micro-service and common order request micro-service, front layer service is respectively developed for normal ordering and promotion ordering, basic request access and data verification are completed, and new domain name URI is started for the two new services. In the process, the client is promoted to upgrade and develop, different URI addresses are visited according to whether promotion activities or coupons exist during the issuance of the order, and promotion and non-promotion flow are isolated from the source. By adopting promotion and non-promotion purchase isolation, such as the order placement deployment method, the access addresses of promotion and non-promotion flow are distinguished from the source, physical isolation is achieved, and mutual influence is achieved.
Specifically, the requesting, by the microservice, whether the promotion information is valid or not based on the promotion order, outputting valid information corresponding to the material commodity, and generating the promotion code associated with the material commodity includes:
judging whether the material commodity corresponding to the promotion code has a preferential price, if the preferential mechanism fails, generating a promotion result of the order to be purchased according to the original price, and if the preferential mechanism is effective, generating a promotion result of the order to be purchased according to the preferential price;
and carrying out promotion information maintenance on the coded commodity types and uploading the promotion information to the material commodity system again.
The technical personnel in the field can understand that when the SAP is pushed again to generate the order, the promotion code associated with the material is obtained again, whether the preferential price exists or not is judged, and if the preferential price exists, and the preferential price does not exist, the original price is used for generating the order; and if no preferential price exists and the preferential price exists, generating the order by using the preferential price. And carrying out sales promotion information maintenance on the numbered commodity types, and uploading the sales promotion information to the material commodity system again. And automatically bringing up the promotion price and the promotion amount according to the deduction order number.
Specifically, the requesting, by the microservice, whether the promotion information is valid or not based on the promotion order, outputting valid information corresponding to the material item, and generating the promotion code associated with the material item further includes:
inquiring the promotion information corresponding to the material commodity, traversing the promotion information, comparing the ending time of the promotion information with the current time, changing the promotion state corresponding to the material commodity, and displaying a preferential label;
if the material commodity is associated with the promotion number and is in an active state, price display preferential price, a drop-down frame display original price and preferential price of the total amount of the commodity are displayed in the process of totaling;
and executing settlement operation, generating a settlement order according to the preferential price or updating the preferential price of the total amount of the commodities when the shopping cart is refreshed.
If the material is associated with the promotion number and is in the active state, the price displays the preferential price, the drop-down box is clicked to display the original price, and the total preferential X element is displayed during the summation. And after settlement, generating an order according to the preferential price. And updating the preferential price and the common preferential X element when the settlement is ordered or the shopping cart is refreshed. If the promotion number is changed to be in-activity state and point settlement occurs together, the promotion activity is preferentially carried out and then the settlement is carried out, namely, the preferential price of the shopping cart is updated and then the settlement is carried out. If the sales promotion number is changed into the finished state and the settlement occurs together, the sales promotion activity is preferably finished and then the settlement is performed, namely, the original price of the shopping cart is updated and then the settlement is performed, and the sales promotion number cannot be preferential.
The materials detail page displays the promotion name, only 10 other abbreviations and offers. The discount price is updated according to the quantity of shopping carts added by the network points and the promotion rule associated with the promotion maintenance page materials, and the discount price is updated when the quantity changes every time. And displaying the promotion name and the preferential explanation when the mouse moves to the promotion name. And (4) counting details, jumping to a promotion list page, displaying preferential explanation, promotion activity name and activity deadline related to the material codes, and displaying preferential labels in front of the material names.
When the promotion price generates an order, the price calculated by the rule of the promotion number associated with the material is settled, and the settlement is recorded in the field; promotional amount, i.e., quantity, promotional price; the preferential amount is the amount-the promotion amount; number of sales promotion sheet, namely number of sales promotion sheet used in settlement increasing field: promotion price, promotion amount, preferential amount and promotion order number.
Specifically, the obtaining an optimal solution selected in a preferential manner by using a greedy algorithm according to the rule corresponding to the promotion code, and calculating an optimal price corresponding to the material commodity and outputting an optimal promotion order according to the optimal solution overlapping the preferential manner comprises:
if the material commodity is associated with the promotion number and is in an active state, updating the preferential price along with the change of the quantity each time the quantity changes according to the quantity of shopping carts added by a website and promotion rules associated with the material on a promotion maintenance page, and overlapping a plurality of preferential modes to reach the most favorable price total;
if the promotion number is changed into the in-activity state and the settlement operation is executed together, the promotion activity is preferentially carried out and then the settlement is carried out, namely, the preferential price of the shopping cart is updated and then the settlement is carried out according to the preferential price;
if the sales promotion number is changed into the finished state and the settlement operation is executed, the sales promotion activity is preferably finished and then the settlement is performed, namely, the original price of the shopping cart is updated and then the settlement is performed according to the original price.
If the status of the material-associated promotional program is active, only 10 words and offers are displayed on the material detail page showing the promotional name. The discount price is updated according to the quantity of shopping carts added by the network points and the promotion rule associated with the promotion maintenance page materials, and the discount price is updated when the quantity changes every time. The point details jump to a promotion details page and a preferential explanation is displayed, and the promotion activity name and the activity deadline associated with the material code are displayed. And jumping to a sales promotion list page belonging to the current sales promotion activity according to the sales promotion activity name, displaying the sales promotion activity name and the activity deadline, and displaying a preferential label in front of the material name.
If the material is associated with the promotion number and is in the active state, the price displays the preferential price, the drop-down box is clicked to display the original price, and the total preferential X element is displayed during the summation. And after settlement, generating an order according to the preferential price. And updating the preferential price and the common preferential X element when the settlement is ordered or the shopping cart is refreshed. If the promotion number is changed to be in-activity state and point settlement occurs together, the promotion activity is preferentially carried out and then the settlement is carried out, namely, the preferential price of the shopping cart is updated and then the settlement is carried out. If the sales promotion number is changed into the finished state and the settlement occurs together, the sales promotion activity is preferably finished and then the settlement is performed, namely, the original price of the shopping cart is updated and then the settlement is performed, and the sales promotion number cannot be preferential.
When the SAP is pushed again to generate the order, the sales promotion codes related to the materials are obtained again, whether the preferential price exists or not is judged, and if the preferential price exists and the preferential price does not exist, the original price is used for generating the order; and if no preferential price exists and the preferential price exists, generating the order by using the preferential price. By the method, the management efficiency and the order quantity of the material commodity order system can be effectively improved, the service level is improved, and effective management and control and efficient cooperation of internal business of an enterprise are realized.
Specifically, the calculating to obtain the optimal price corresponding to the material commodity and outputting an optimal sales promotion order includes:
judging whether the material commodity selected in the order to be purchased participates in promotion activities or not;
judging whether the material commodity meets promotion conditions or not, and calculating the amount of the order according to promotion rules;
and judging whether the user can enjoy the multiple benefits at the same time, and if the user does not support the multiple benefits to be shared, automatically selecting the optimal benefit scheme for calculation according to the optimal principle.
The basic settings of the promotion activities corresponding to the promotion numbers adopted in this embodiment mainly include contents such as activity names, promotion codes, promotion time, promotion platforms, promotion channels, promotion user ranges, promotion links, and the like. The promotion rules are different for different types of promotion activities, and are also different when product design and order calculation are performed. The following is an analysis for different types of promotional activities. When the participatory commodities set the sales promotion activity commodity range, all commodities or part of commodities can be selected. Promotional programs with gifts also select gift items. When screening commodities, the commodities can be selected according to conditions such as the type, name, and commodity code. In the sales promotion modes of single product sales promotion, package sales promotion and deposit sales promotion, preferential amount needs to be set for commodities independently. There are two main areas involved in the calculation of promotional items: shopping cart and order calculation. Firstly, judging whether the selected commodity participates in the promotion activity; secondly, judging whether the sales promotion conditions are met or not, and calculating the amount of the order according to the sales promotion rules; finally, it is determined whether the coupon can be enjoyed simultaneously with other offers, such as most offers that are not supported for use with the coupon. When the commodities participate in various promotion activities, if conflicts occur, the best preferential scheme is automatically selected to be calculated according to the optimal principle.
Example two
As shown in fig. 2, the present invention provides a promotion order processing apparatus based on recommendation algorithm, including:
the request module is used for acquiring a purchase request of a material commodity, pushing the purchase request to SAP (service access point) to generate an order to be purchased and acquiring promotion information related to the material commodity according to the order to be purchased;
the identification module is used for identifying the promotion state of the material commodity according to the promotion information associated with the material commodity, and entering promotion order request micro-service when the material commodity is in the promotion state; when the material commodity is in a non-sales promotion state, entering a common order to request micro-service;
the judging module is used for judging whether the promotion information is effective or not based on the promotion order request micro-service, outputting effective information corresponding to the material commodities and generating promotion codes related to the material commodities, wherein the effective information is information of various preferential modes which contain preferential prices and are in preferential periods;
the calculation module is used for obtaining an optimal solution selected by a preferential manner by using a greedy algorithm according to a rule corresponding to the promotion code, superposing the preferential manner according to the optimal solution, calculating an optimal price corresponding to the material commodity and outputting an optimal promotion order;
and the result output module is used for recommending the material commodities of the associated promotion information to the primary optimal promotion order based on a recommendation algorithm, iteratively updating the promotion information corresponding to the material commodities, calculating to obtain a secondary optimal promotion order, and outputting the updated optimal promotion order.
The promotion order processing method based on the recommendation algorithm effectively improves the management efficiency and the order quantity of a material commodity order system, improves the service level and realizes effective management and control and efficient cooperation of internal business of an enterprise. The adopted recommendation algorithm can change along with the change of the user preference, and can process unstructured complex objects; the method has the advantages that new promotion information can be recommended, incomplete and inaccurate promotion information analysis is avoided, feedback information of other similar users is effectively utilized, the step of personalized learning is accelerated, the recommendation requirements of the users are responded immediately, information fusion can be carried out across platforms, the recommendation effect is good, the promotion information is utilized in time, and unnecessary cost is reduced.
Obtaining an optimal solution selected by a preferential mode by using a greedy algorithm, superposing the preferential mode according to the optimal solution, reducing unnecessary cost, and improving efficient management and cost control management between an order and a material commodity through correlation between the commodity and promotion information;
in order to cope with high flow and high concurrent requests, the flow distribution isolation of the promotion flow and the non-promotion flow is carried out from the source by accessing different URI addresses corresponding to the promotion order request micro-service and the common order request micro-service.
The specific contents and implementation methods of the request module, the identification module, the judgment module, the calculation module, and the result output module are all as described in the first embodiment, and are not described herein again.
EXAMPLE III
The invention also provides promotion order processing equipment based on the recommendation algorithm, which comprises a memory and a processor, wherein the memory stores computer readable instructions, and the processor executes the computer readable instructions to realize the promotion order processing method based on the recommendation algorithm in one embodiment of the invention.
The promotional order processing device based recommendation algorithm may vary significantly due to configuration or performance, and may include one or more processors (CPUs) and memory, one or more storage media (e.g., one or more mass storage devices) that store applications or data. The memory and storage medium may be, among other things, transient or persistent storage. The program stored on the storage medium may include one or more modules, each of which may include a series of instructions operating on a promotional order processing device based on a recommendation algorithm.
Further, the processor may be configured to communicate with the storage medium to execute a series of instruction operations in the storage medium on a device for promotional order processing based on a recommendation algorithm.
The recommendation algorithm-based promotional order processing apparatus may also include one or more power supplies, one or more wired or wireless network interfaces, one or more input-output interfaces, and/or one or more operating systems, such as Windows Server, vista, and the like.
The present invention also provides a computer-readable storage medium having stored thereon a computer program that, when executed by one or more processors, implements a method of promotional order processing based on a recommendation algorithm as in an embodiment of the present invention. The modules in the second embodiment, if implemented in the form of software functional modules and sold or used as independent products, can be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in software, which is a non-volatile computer-readable storage medium, or which may be a volatile computer-readable storage medium, or a part or all of the technical solution that contributes to the prior art. The computer readable storage medium has stored therein instructions that, when executed on a computer, cause the computer to perform the steps of the recommendation algorithm based promotional order processing of an embodiment one.
Those skilled in the art will appreciate that the technical solution of the present invention, in essence or a part thereof or all or part thereof contributing to the prior art, can be embodied in the form of software stored in a storage medium, which includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a read-only memory ROM, a random access memory RAM, a magnetic disk, or an optical disk. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described device may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for processing a promotional order based on a recommendation algorithm, comprising:
acquiring a purchase request of a material commodity, pushing the purchase request to SAP (service access point) to generate an order to be purchased, and acquiring promotion information related to the material commodity according to the order to be purchased;
identifying the promotion state of the material commodity according to the promotion information associated with the material commodity, and entering a promotion order to request micro-service when the material commodity is in the promotion state; when the material commodity is in a non-sales promotion state, entering a common order to request micro-service;
judging whether the promotion information is effective or not based on a promotion order request micro-service, outputting effective information corresponding to the material commodities and generating promotion codes related to the material commodities, wherein the effective information is information of a plurality of preferential ways including preferential prices and within a preferential period;
obtaining an optimal solution selected by a preferential mode by utilizing a greedy algorithm according to a rule corresponding to the promotion code, superposing the preferential mode according to the optimal solution, calculating to obtain an optimal price corresponding to the material commodity and outputting an optimal promotion order;
recommending the material commodities associated with the promotion information by the primary optimal promotion order based on a recommendation algorithm, iteratively updating the promotion information corresponding to the material commodities, calculating to obtain a secondary optimal promotion order, and outputting the updated optimal promotion order.
2. A recommendation algorithm based promotional order processing method according to claim 1,
the acquiring a purchase request of a material commodity and pushing the request to SAP to generate an order to be purchased, and acquiring promotion information related to the material commodity according to the order to be purchased comprises the following steps:
recommending material commodities associated with promotion information according to promotion attribute information corresponding to historical data ordered by a user and based on content preferred by the user, wherein each material commodity corresponds to a plurality of promotion information;
collecting a plurality of promotion information, corresponding to each material commodity, storing the promotion information in a promotion database, wherein the promotion information comprises promotion activity names, promotion codes, promotion time, promotion platforms, promotion channels, promotion user ranges, promotion links and contents related to preferential attributes;
and updating the promotion database corresponding to the material commodity by adopting a timer.
3. A promotion order processing method based on recommendation algorithm according to claim 1, wherein said promotion state of said material item is identified according to promotion information associated with said material item, and when said material item is in promotion state, a promotion order request micro-service is entered; when the material commodity is in a non-promotion state, entering a common order request micro-service comprises the following steps:
in the sales promotion order request micro-service and the common order request micro-service, front-end service is set, user request access and data verification are executed, and new domain name URIs are respectively started;
and accessing different URI addresses corresponding to the promotion order request micro-service and the common order request micro-service according to whether promotion activities or coupons or other preferential ways exist when the order to be purchased is initiated, and shunting and isolating promotion flow and non-promotion flow from the source.
4. A promotional order processing method based on a recommendation algorithm according to claim 1 wherein,
the requesting the microservice to judge whether the promotion information is effective based on the promotion order, outputting the effective information corresponding to the material commodity and generating the promotion code associated with the material commodity comprises:
judging whether the material commodity corresponding to the promotion code has a preferential price, if the preferential mechanism fails, generating a promotion result of the order to be purchased according to the original price, and if the preferential mechanism is effective, generating a promotion result of the order to be purchased according to the preferential price;
and carrying out promotion information maintenance on the coded commodity types and uploading the promotion information to the material commodity system again.
5. A promotional order processing method based on a recommendation algorithm according to claim 1 wherein,
the requesting the microservice to judge whether the promotion information is effective based on the promotion order, outputting the effective information corresponding to the material commodity and generating the promotion code associated with the material commodity further comprises:
inquiring the promotion information corresponding to the material commodity, traversing the promotion information, comparing the ending time of the promotion information with the current time, changing the promotion state corresponding to the material commodity, and displaying a preferential label;
if the material commodity is associated with the promotion number and is in an active state, price display preferential price, a drop-down frame display original price and preferential price of the total amount of the commodity are displayed in the process of totaling;
and executing settlement operation, generating a settlement order according to the preferential price or updating the preferential price of the total amount of the commodities when the shopping cart is refreshed.
6. A promotional order processing method based on a recommendation algorithm according to claim 1 wherein,
the obtaining of the optimal solution selected by the preferential mode by using a greedy algorithm according to the rule corresponding to the promotion code, and the calculating of the optimal price corresponding to the material commodity and the outputting of the optimal promotion order according to the optimal solution overlapping the preferential mode comprise:
if the material commodity is associated with the promotion number and is in an active state, according to the quantity of the shopping carts added by the website and promotion rules associated with the material on the promotion maintenance page, the discount price is updated along with the quantity change when the quantity changes every time, and a plurality of discount modes are superposed to reach the most favorable price sum;
if the promotion number is changed into the in-activity state and the settlement operation is executed together, the promotion activity is preferentially carried out and then the settlement is carried out, namely, the preferential price of the shopping cart is updated and then the settlement is carried out according to the preferential price;
if the promotion number is changed into the finished state and the settlement operation is executed, the promotion activity is preferably finished and then the settlement is performed, namely, the original price of the shopping cart is updated and then the settlement is performed according to the original price.
7. The recommendation algorithm-based promotional order processing method according to claim 1, wherein said calculating an optimal price for said material item and outputting an optimal promotional order comprises:
judging whether the material commodity selected in the order to be purchased participates in the promotion activity or not;
judging whether the material commodities meet promotion conditions or not, and calculating the amount of the order according to promotion rules;
and judging whether the user can enjoy the multiple benefits at the same time, and if the user does not support the multiple benefits to be shared, automatically selecting the optimal benefit scheme for calculation according to the optimal principle.
8. A promotional order processing apparatus based on a recommendation algorithm, comprising:
the request module is used for acquiring a purchase request of a material commodity, pushing the purchase request to SAP (service access point) to generate an order to be purchased and acquiring promotion information related to the material commodity according to the order to be purchased;
the identification module is used for identifying the promotion state of the material commodity according to the promotion information associated with the material commodity, and entering promotion order request micro-service when the material commodity is in the promotion state; when the material commodity is in a non-sales promotion state, entering a common order to request micro-service;
the judging module is used for judging whether the promotion information is effective or not based on the promotion order request micro-service, outputting effective information corresponding to the material commodities and generating promotion codes related to the material commodities, wherein the effective information is information of various preferential modes which contain preferential prices and are in preferential periods;
the calculation module is used for obtaining an optimal solution selected by a preferential mode by utilizing a greedy algorithm according to a rule corresponding to the promotion code, superposing the preferential mode according to the optimal solution, calculating to obtain an optimal price corresponding to the material commodity and outputting an optimal promotion order;
and the result output module is used for recommending the material commodities of the associated promotion information to the primary optimal promotion order based on a recommendation algorithm, iteratively updating the promotion information corresponding to the material commodities, calculating to obtain a secondary optimal promotion order, and outputting the updated optimal promotion order.
9. A recommendation algorithm based promotional order processing apparatus comprising a memory having stored therein computer readable instructions and a processor, said processor when executing said computer readable instructions implementing a recommendation algorithm based promotional order processing method according to any of claims 1 to 7.
10. A computer readable medium storing a computer program, wherein the computer program, when executed by one or more processors, implements a method of promotional order processing based on a recommendation algorithm according to any of claims 1 to 7.
CN202211121925.2A 2022-09-15 2022-09-15 Sales promotion order processing method and device based on recommendation algorithm Active CN115496552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211121925.2A CN115496552B (en) 2022-09-15 2022-09-15 Sales promotion order processing method and device based on recommendation algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211121925.2A CN115496552B (en) 2022-09-15 2022-09-15 Sales promotion order processing method and device based on recommendation algorithm

Publications (2)

Publication Number Publication Date
CN115496552A true CN115496552A (en) 2022-12-20
CN115496552B CN115496552B (en) 2024-03-29

Family

ID=84467645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211121925.2A Active CN115496552B (en) 2022-09-15 2022-09-15 Sales promotion order processing method and device based on recommendation algorithm

Country Status (1)

Country Link
CN (1) CN115496552B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000122549A (en) * 1998-10-12 2000-04-28 Dainippon Printing Co Ltd Adhesive label with releasable base and its production
CN106952113A (en) * 2017-03-16 2017-07-14 跨海侠科技(武汉)有限公司 A kind of data handling system and method applied to electric business advertising campaign
WO2018193466A1 (en) * 2017-04-17 2018-10-25 Unishop Llp A system and method for integrated online and offline shopping platform
CN109584018A (en) * 2018-12-04 2019-04-05 雄商网络科技(上海)有限公司 A kind of internet marketing cloud service platform
CN111915347A (en) * 2020-07-07 2020-11-10 苏宁云计算有限公司 Method, device and system for effectively storing and applying promotion purchase price
CN113204712A (en) * 2021-06-07 2021-08-03 北京橙心无限科技发展有限公司 Information pushing method, device, medium and program product based on community service
CN114596141A (en) * 2022-03-10 2022-06-07 中欣链证数字科技有限公司 Order changing method, device and system
CN114820021A (en) * 2022-03-10 2022-07-29 百安居信息技术(上海)有限公司 Collaborative sales promotion method, system and medium based on commodity sales platform and supply chain

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000122549A (en) * 1998-10-12 2000-04-28 Dainippon Printing Co Ltd Adhesive label with releasable base and its production
CN106952113A (en) * 2017-03-16 2017-07-14 跨海侠科技(武汉)有限公司 A kind of data handling system and method applied to electric business advertising campaign
WO2018193466A1 (en) * 2017-04-17 2018-10-25 Unishop Llp A system and method for integrated online and offline shopping platform
CN109584018A (en) * 2018-12-04 2019-04-05 雄商网络科技(上海)有限公司 A kind of internet marketing cloud service platform
CN111915347A (en) * 2020-07-07 2020-11-10 苏宁云计算有限公司 Method, device and system for effectively storing and applying promotion purchase price
CN113204712A (en) * 2021-06-07 2021-08-03 北京橙心无限科技发展有限公司 Information pushing method, device, medium and program product based on community service
CN114596141A (en) * 2022-03-10 2022-06-07 中欣链证数字科技有限公司 Order changing method, device and system
CN114820021A (en) * 2022-03-10 2022-07-29 百安居信息技术(上海)有限公司 Collaborative sales promotion method, system and medium based on commodity sales platform and supply chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张渊博;: "微信购物电子商务系统设计与实现", 软件导刊, no. 11, pages 76 - 80 *

Also Published As

Publication number Publication date
CN115496552B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
US11995680B2 (en) Method of controlling commerce system using share grabber to leverage shopping list
Shenoy et al. Problems & Solutions in Inventory Management•
CN111292135B (en) Distribution method, distribution device, distribution equipment, distribution system and storage medium
US20180025363A1 (en) Commerce System and Method of Controlling the Commerce System by Generating Individualized Discounted Offers to Consumers
US20140344051A1 (en) Commerce System and Method of Controlling the Commerce System Using One-to-One Offers and Profit Sharing
Budiono et al. Business process reengineering in motorcycle workshop X for business sustainability
CN109064262A (en) A kind of online store purchase system and method based on robot terminal
WO2013003064A1 (en) System and method controlling the system using performance based pricing, promotion and personalized offer
US20160034939A1 (en) Method and apparatus for providing internet based marketing channels
KR20230087764A (en) Method for consult store through product recommendation, and computer program recorded on record-medium for executing method therefor
Moharana et al. Determination of optimal kit for spare parts using association rule mining
Winata et al. The effectiveness of technology development towards Walmart’s sustainability supply chain management
CN115496552A (en) Promotion order processing method and device based on recommendation algorithm
US20060277101A1 (en) System and Method for Maintaining Distributor Loyalty
Zhao et al. Transactional and in‐store display data of a large supermarket for data‐driven decision‐making
Tahmasebi Zadeh et al. A model for integrating green product development strategies and supply chain configuration considering market share
Case et al. Enterprise information systems
Rengel et al. Completing the supply chain model
US20060167743A1 (en) System and method for maintaining distributor loyalty
JP5033539B2 (en) Occupational sales processing system, apparatus, method, program, and computer-readable medium storing the program
TWI829592B (en) Computer-implemented systems and methods for intelligent profit gap determination and responsive adjustment
TWI787698B (en) Computer-implemented systems and computer-implemented methods for optimizing cost of goods sold
Amadi et al. Analysis of Online Discount Sales and Price Optimization Using Cognitive Learning
JP2009086794A (en) Business model for market survey business using purchasing agents
Weustink Forecasting promotional demand in the FMCG industry

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230327

Address after: Floor 3, Building 2, No. 1588, Fengxing Road, Huaxin Town, Qingpu District, Shanghai, 201705

Applicant after: Shanghai Yunda Hi Tech Co.,Ltd.

Address before: No.44, u District, room 508, no.5045, waiqingsong Road, Qingpu District, Shanghai, 201707

Applicant before: DONGPU SOFTWARE Co.,Ltd.

GR01 Patent grant
GR01 Patent grant