CN110827125A - Periodic commodity transaction management method - Google Patents
Periodic commodity transaction management method Download PDFInfo
- Publication number
- CN110827125A CN110827125A CN201911076352.4A CN201911076352A CN110827125A CN 110827125 A CN110827125 A CN 110827125A CN 201911076352 A CN201911076352 A CN 201911076352A CN 110827125 A CN110827125 A CN 110827125A
- Authority
- CN
- China
- Prior art keywords
- commodity
- payment
- periodic
- management method
- transaction management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 18
- 230000000737 periodic effect Effects 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 claims description 19
- 230000000903 blocking effect Effects 0.000 claims description 6
- 238000003491 array Methods 0.000 claims description 5
- 230000003111 delayed effect Effects 0.000 claims description 4
- 238000012856 packing Methods 0.000 claims 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/12—Payment architectures specially adapted for electronic shopping systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0283—Price estimation or determination
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Marketing (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a periodic commodity transaction management method, which comprises the following steps: uploading commodity information; setting a commodity cycle and a corresponding price; storing commodity information and generating a commodity library; the customer selects the commodity and the purchase period and pays the payment; if the payment is successful, generating an order and a notification queue and notifying delivery, and if the payment is failed, generating an order to be paid and waiting for re-payment; the invention effectively sequences the commodity orders according to the periods of different commodities, so that all commodities can be delivered at the optimal time, and the order confusion and the customer loss can not be caused; meanwhile, the customization of the commodity prices in different periods is simplified, and the commodity prices are more accurate.
Description
Technical Field
The invention relates to the field of commodity management, in particular to a periodic commodity transaction management method.
Background
With the popularization of supermarkets, shopping centers and online shopping at present, a plurality of people can purchase in the supermarkets or the shopping centers, meanwhile, the goods can be scheduled online, and when the goods are scheduled online, the goods with prices changing along with time, such as the goods with quality guarantee period or value-increasing value, can exist; different buyers cannot receive goods in time due to own reasons and need to deliver the goods in a fixed time, and at the moment, if the goods predetermined by the buyers cannot be effectively managed, delivery errors or price confusion can easily occur.
In the prior art, the goods can be sequentially delivered only through the payment time of a background order, but the method considers that the operation is more and the error is easy to occur, and simultaneously, for the goods with dynamic price change, the price calculation needs to be considered to be carried out, and a large amount of time is consumed.
Disclosure of Invention
The invention aims to: aiming at the existing problems, a periodic commodity transaction management method is provided; the invention solves the problem of disordered orders of the preset commodities; the problem of complex dynamic price commodity pricing steps is solved.
The technical scheme adopted by the invention is as follows:
a periodic merchandise transaction management method, comprising: uploading commodity information; setting a commodity cycle and a corresponding price; storing commodity information and generating a commodity library; the customer selects the commodity and the purchase period and pays the payment; and if the payment is successful, generating an order and a notification queue and notifying delivery, and if the payment is failed, generating an order to be paid and waiting for re-payment.
Further, the corresponding price setting method of the commodity cycle comprises the following steps: acquiring the duration and price of each period to generate an array; and assembling all the single-term arrays into a two-dimensional array, serializing the two-dimensional array, and storing the two-dimensional array into a product data table.
Further, the collection time length and price generation array is a KEY + VALUE array, and the KEY + VALUE array is a dynamic field array.
Further, the Array assembly is performed through a PHP Array _ push function.
Further, the method for generating the notification queue includes: providing a uniform interface for different background queue services; storing all data of the queue into a virtual bucket; carrying out blocking configuration on the queue; generating a queue task class; and distributing the tasks to the queues through the dispatching method of the task class.
Further, the interface is an application program interface API.
Further, the blocking is configured to: the driver is specified to wait for available queue tasks before iterating through the queue process loop and re-polling the database.
Further, the distributing the task to the queue includes delay distribution and simultaneous distribution.
Further, the payment result is notified to the user through the APP.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
1. the invention effectively sequences the commodity orders according to the periods of different commodities, so that all commodities can be delivered at the optimal time, and the order confusion and the customer loss can not be caused.
2. The invention simplifies the customization of commodity prices in different periods, and ensures that the commodity prices are more accurate.
Drawings
The invention will now be described, by way of example, with reference to the accompanying drawings, in which:
fig. 1 is a flowchart of a periodic merchandise transaction management method.
FIG. 2 is a flow diagram of generating a notification queue.
Detailed Description
All of the features disclosed in this specification, or all of the steps in any method or process so disclosed, may be combined in any combination, except combinations of features and/or steps that are mutually exclusive.
Any feature disclosed in this specification (including any accompanying claims, abstract) may be replaced by alternative features serving equivalent or similar purposes, unless expressly stated otherwise. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.
Example 1
A periodic commodity transaction management method, as shown in fig. 1, includes:
s1: uploading commodity information;
in the above steps, the commodity information is stored in a database, and the commodity information of each commodity can be called in real time for inquiry and other operations.
S2: setting a commodity cycle and a corresponding price;
in the above steps, the price of the commodity changes with the period change, so the method for setting the commodity period and the corresponding price is as follows: acquiring the duration and price of each period to generate an array; assembling all the single-term arrays into two-dimensional arrays, serializing and storing the two-dimensional arrays into a product data table; namely; in this embodiment, the collection of the time length per period and the price generation Array is a KEY + VALUE Array, the KEY + VALUE Array is a dynamic field Array, and the Array assembly is performed by a PHP Array _ push function.
S3: storing commodity information and generating a commodity library;
in the above steps, the uploaded commodity information may be retrieved from the database, and the commodity information may be classified according to the commodity type, and then the classified commodities may be combined into a commodity library for the buyer to select.
S4: the customer selects the commodity and the purchase period and pays the payment;
in the above step, the customer may select according to the product cycle and the corresponding price generated in S2, and after the selection is completed, the payment may be made according to the corresponding price.
S5: judging whether the payment is successful or not, if the payment is successful, executing S6, and if the payment is unsuccessful, executing S7;
in the above steps, after the customer submits the payment command, it is determined whether the customer has completed the payment, if the payment is completed, the order and the notification queue are generated and the delivery is notified, and if the payment is not completed, the order to be paid is generated to wait for the payment again.
S6: generating an order and a notification queue and notifying delivery;
in the above step, as shown in fig. 2, the method for generating a notification queue includes:
s61: providing a uniform interface for different background queue services;
in the above steps, the mechanism for providing a unified interface is an artisan mechanism, and the artisan is a physical IP solution.
S62: storing the search data corresponding to the given queue into a virtual bucket;
in the above steps, the search data is a keyword for searching each queue, that is, the required queue can be quickly searched through the data in the virtual bucket.
S63: carrying out blocking configuration on the queue;
in the above step, the blocking is configured to specify a time for the driver to wait for available queue tasks before iterating the queue process loop and re-polling the database; namely, the command driver can search in the queue repeatedly until finding the needed queue and running out all the remaining queues and then returning to the starting position to wait for the next command.
S64: generating a queue task class;
in the above steps, after a plurality of queues are found, the queues are arranged according to the sequence, and different queue task classes are generated according to the queue types; in this embodiment, the queue class is generated by an Artisan CLI.
S65: and distributing the tasks to the queues through the dispatching method of the task class.
In the above steps, the queue task class distributes tasks to different queues for processing according to its own instance data; in this embodiment, the distribution includes delayed distribution and simultaneous distribution, and if delayed distribution is required, the delayed distribution may be implemented by using a delay method when distributing tasks; if the distribution is to be done simultaneously, the dispatchNow method may be used.
S7: and generating a to-be-paid order to wait for re-payment.
In the above steps, when the customer fails to pay the payment, a command to wait for the re-payment is automatically generated, and when the customer succeeds in the re-payment, S6 is executed.
In the embodiment, after the user finishes paying the order, the user can check the payment condition through the corresponding APP, and if the payment is successful, the delivery condition and the logistics condition of the goods can be checked through the APP; if the payment is not successful, the re-payment can be carried out through the generated interface for waiting for re-payment, and an order and a delivery notification queue can be generated after the re-payment is successful; if payment is not wanted after the order is submitted, the order can be cancelled, and at this time, a notification queue of the order and the delivery is not generated.
The invention effectively sequences the commodity orders according to the periods of different commodities, so that all commodities can be delivered at the optimal time, and the order confusion and the customer loss can not be caused; meanwhile, the customization of the commodity prices in different periods is simplified, and the commodity prices are more accurate.
The invention is not limited to the foregoing embodiments. The invention extends to any novel feature or any novel combination of features disclosed in this specification and any novel method or process steps or any novel combination of features disclosed.
Claims (9)
1. A periodic merchandise transaction management method, comprising: uploading commodity information; setting a commodity cycle and a corresponding price; storing commodity information and generating a commodity library; the customer selects the commodity and the purchase period and pays the payment; and if the payment is successful, generating an order and a notification queue and notifying delivery, and if the payment is failed, generating an order to be paid and waiting for re-payment.
2. The periodic merchandise transaction management method according to claim 1, wherein the corresponding price setting method of the merchandise period is: acquiring the duration and price of each period to generate an array; and assembling all the single-term arrays into a two-dimensional array, serializing the two-dimensional array, and storing the two-dimensional array into a product data table.
3. The periodic commodity transaction management method according to claim 2, wherein the collection time-per-term and price generating array is a KEY + VALUE array, and the KEY + VALUE array is a dynamic field array.
4. The periodic merchandise transaction management method of claim 2, wherein the array packing is performed by a phcurray _ push function.
5. The periodic merchandise transaction management method according to claim 1, wherein the method of generating the notification queue is: providing a uniform interface for different background queue services; storing all data of the queue into a virtual bucket; carrying out blocking configuration on the queue; generating a queue task class; and distributing the tasks to the queues through the dispatching method of the task class.
6. The periodic merchandise transaction management method of claim 5, wherein the interface is an Application Program Interface (API).
7. The periodic merchandise transaction management method of claim 5, wherein the blocking is configured to: the driver is specified to wait for available queue tasks before iterating through the queue process loop and re-polling the database.
8. The periodic merchandise transaction management method of claim 5 wherein the distributing tasks into queues comprises delayed distribution and simultaneous distribution.
9. The periodic merchandise transaction management method of claim 1, wherein the payment result is notified to the user through the APP.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911076352.4A CN110827125A (en) | 2019-11-06 | 2019-11-06 | Periodic commodity transaction management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911076352.4A CN110827125A (en) | 2019-11-06 | 2019-11-06 | Periodic commodity transaction management method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110827125A true CN110827125A (en) | 2020-02-21 |
Family
ID=69553018
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911076352.4A Pending CN110827125A (en) | 2019-11-06 | 2019-11-06 | Periodic commodity transaction management method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110827125A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115860612A (en) * | 2023-02-14 | 2023-03-28 | 北京小仙炖生物科技有限公司 | Periodic order splitting method and management system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106408389A (en) * | 2016-09-23 | 2017-02-15 | 武汉斗鱼网络科技有限公司 | Method and system for realizing payment query in IOS application |
CN107463434A (en) * | 2017-08-11 | 2017-12-12 | 恒丰银行股份有限公司 | Distributed task processing method and device |
CN107832146A (en) * | 2017-10-27 | 2018-03-23 | 北京计算机技术及应用研究所 | Thread pool task processing method in highly available cluster system |
CN108564437A (en) * | 2018-03-26 | 2018-09-21 | 首媒科技(北京)有限公司 | The method of commerce and device of commodity |
CN108764976A (en) * | 2018-05-07 | 2018-11-06 | 黄波 | It is a kind of with commodity dynamic value algorithm it is competing when trade at competitive price system and device and method |
-
2019
- 2019-11-06 CN CN201911076352.4A patent/CN110827125A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106408389A (en) * | 2016-09-23 | 2017-02-15 | 武汉斗鱼网络科技有限公司 | Method and system for realizing payment query in IOS application |
CN107463434A (en) * | 2017-08-11 | 2017-12-12 | 恒丰银行股份有限公司 | Distributed task processing method and device |
CN107832146A (en) * | 2017-10-27 | 2018-03-23 | 北京计算机技术及应用研究所 | Thread pool task processing method in highly available cluster system |
CN108564437A (en) * | 2018-03-26 | 2018-09-21 | 首媒科技(北京)有限公司 | The method of commerce and device of commodity |
CN108764976A (en) * | 2018-05-07 | 2018-11-06 | 黄波 | It is a kind of with commodity dynamic value algorithm it is competing when trade at competitive price system and device and method |
Non-Patent Citations (2)
Title |
---|
LSMT: "队列", 《HTTPS://WWW.CNBLOGS.COM/LENGTHUO/P/7277260.HTML》 * |
百度经验: "php二维数组及多维数组的定义及初始化方式", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/CE09321B7C291F2BFF858FD2.HTML》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115860612A (en) * | 2023-02-14 | 2023-03-28 | 北京小仙炖生物科技有限公司 | Periodic order splitting method and management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20160027078A1 (en) | Group buying search | |
US20150363850A1 (en) | Method for processing order, transaction server and computer readable storage medium | |
CN111861639B (en) | Financial transaction matching method and system | |
US7983962B2 (en) | Method and system for purchase order data entry | |
CN103119622A (en) | Method of assisting purchase, device and system | |
KR20190128293A (en) | Apparatus and method for processing inventory goods using an application | |
CN113312527B (en) | Purchase data processing method and device, computer equipment and storage medium | |
US20190147400A1 (en) | Inventory Management Software System | |
JP5781114B2 (en) | Interpersonal product transaction system | |
KR102338783B1 (en) | Method and apparatus for providing information | |
KR20230087764A (en) | Method for consult store through product recommendation, and computer program recorded on record-medium for executing method therefor | |
CN110827125A (en) | Periodic commodity transaction management method | |
EP4024315A1 (en) | Commodity exchange system, commodity exchange method, and commodity exchange program | |
KR102222383B1 (en) | Providing method, apparatus and computer-readable medium of online ordering of food materials | |
EP1658585A2 (en) | Manufacturing units of an item in response to demand for the item projected from page-view date | |
WO2008083371A1 (en) | Volume pricing search | |
KR20230034143A (en) | Systems and methods for e-commerce checkout with delay loading of checkout options | |
Zhao et al. | Transactional and in‐store display data of a large supermarket for data‐driven decision‐making | |
JP7414454B2 (en) | Information processing device, information processing method, and information processing program | |
US11282126B1 (en) | Learning staple goods for a user | |
US20060122894A1 (en) | User configured order status updates | |
KR20200070192A (en) | Apparatus and method for processing inventory goods using an application | |
KR101309431B1 (en) | Method for ordering and checking out polysyntheyically and system using the same | |
CN111354123A (en) | Goods delivery control method, system and device for vending machine | |
KR101709594B1 (en) | Method for managing online shopping mall through server |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200221 |