Commodity bidding method, device, equipment and storage medium
By implementing an inventory bidding mechanism between store terminals and supply warehouses, the problem of difficult inventory locking is solved, and the flexibility of procurement plans and inventory allocation efficiency are improved.
Patent Information
- Application Number
- CN202110899220.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-06
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-08-06
AI Technical Summary
Due to the lack of inventory feedback mechanism and bidding mechanism in the existing technology, it is difficult for stores to lock inventory in time, which makes it difficult to formulate procurement plans and makes purchases impossible if the locking opportunity is missed.
By responding to the locked inventory signal sent by the store terminal, it queries the maximum locked inventory quantity in the target supply warehouse, determines and sends a bid request signal, realizes inventory bidding, and ensures that inventory is allocated on demand.
It increases the enthusiasm of stores to arrange purchasing plans in advance, improves the efficient allocation of inventory goods, and ensures that the stores that need it most can get the goods they need.
Smart Images

Figure CN113554494B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a commodity bidding method, device, equipment and storage medium method. Background Art
[0002] like Figure 1 As shown, in the related technology, orders from multiple stores are aggregated through an Internet platform, and then unified procurement and logistics pickup are carried out from suppliers, and then the carrier vehicles deliver to the corresponding stores according to the purchase orders, so as to reduce the warehousing costs of stores such as convenience stores and improve procurement flexibility.
[0003] Because the purchase quantity in the above model is somewhat random, the previous method of updating inventory data on a periodic basis often results in a problem of lagging inventory data.
[0004] In the related technology, users can lock the required inventory in advance, but due to the lack of feedback mechanism and bidding mechanism, users often do not realize the necessity of locking their inventory. Other stores that are in urgent need of goods have no bidding purchase channels, resulting in the inability to formulate procurement plans once the locking opportunity is missed. Summary of the invention
[0005] The content of this application is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this application is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0006] Some embodiments of the present application propose commodity bidding methods, devices, electronic devices and computer storage media to solve the technical problems mentioned in the above background technology section.
[0007] As a first aspect of the present application, some embodiments of the present application provide a commodity bidding method, including: in response to a locked inventory signal for a commodity SKU sent by a first store terminal, querying a second store terminal in a target supply warehouse that has the largest locked inventory quantity for the commodity SKU; determining whether the locked inventory quantity of the second store terminal is greater than the locked inventory quantity required by the locked inventory signal of the first store terminal, and if so, sending a bid request signal to the second store terminal, and if otherwise, sending the locked inventory quantity of the second store terminal to the first store terminal via a change request signal; in response to the feedback of the second store terminal to the bid request signal, sending a bidding feedback signal for the locked inventory quantity of the second store to the first store; in response to the bidding feedback signal from the first store terminal, determining whether the first store terminal agrees with the quotation of the second store terminal according to the bidding feedback signal, and if so, changing the locked inventory quantity of the second store terminal to the first store terminal, and if otherwise, maintaining the locked inventory quantity of the second store.
[0008] As a second aspect of the present application, some embodiments of the present application provide a commodity bidding device, including: a query module, which is used to respond to a locked inventory signal for a commodity SKU sent by a first store terminal, and query the second store terminal with the largest locked inventory quantity for the commodity SKU in the target supply warehouse; a judgment module, which is used to judge whether the locked inventory quantity of the second store terminal is greater than the locked inventory quantity required by the locked inventory signal of the first store terminal, and if so, send a bid request signal to the second store terminal, and if otherwise, send the locked inventory quantity of the second store terminal to the first store terminal through a change request signal; a sending module, which is used to respond to the feedback of the second store terminal on the bid request signal, and send a bidding feedback signal for the locked inventory quantity of the second store to the first store; a bidding module, which is used to respond to the bidding feedback signal of the first store terminal, and judge whether the first store terminal agrees with the quotation of the second store terminal according to the bidding feedback signal, and if so, change the locked inventory quantity of the second store terminal to the first store terminal, and if otherwise, maintain the locked inventory quantity of the second store.
[0009] As the third aspect of the present application, some embodiments of the present application provide an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.
[0010] As a fourth aspect of the present application, some embodiments of the present application provide a computer storage medium on which a computer program is stored, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.
[0011] The beneficial effect of this application is that it increases the enthusiasm of stores to arrange purchasing plans in advance by locking inventory bidding and more efficiently allocates inventory goods to stores that need them most. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The drawings constituting a part of this application are used to provide a further understanding of this application, so that other features, purposes and advantages of this application become more obvious. The illustrative embodiment drawings and their descriptions of this application are used to explain this application and do not constitute an improper limitation on this application.
[0013] In addition, throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the components and elements are not necessarily drawn to scale.
[0014] In the attached picture:
[0015] Figure 1 It is a schematic diagram of a mode of "group buying" by a store in the related art;
[0016] Figure 2 is a flow chart of a method for updating inventory data according to an embodiment of the present application;
[0017] Figure 3 It is a flowchart of some steps in a method for updating inventory data according to an embodiment of the present application;
[0018] Figure 4 is a flowchart of another part of the steps in the inventory data updating method according to an embodiment of the present application;
[0019] Figure 5 is a flowchart of another part of the steps in the inventory data updating method according to an embodiment of the present application;
[0020] Figure 6 is a flowchart of another part of the steps in the inventory data updating method according to an embodiment of the present application;
[0021] Figure 7 is a structural diagram of an inventory data updating device according to an embodiment of the present application;
[0022] Figure 8 It is a structural schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0024] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0025] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0026] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0027] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0028] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0029] Reference Figure 2 As shown, the commodity bidding method as an embodiment of the present application includes the following steps:
[0030] S101: In response to a locked inventory signal for a product SKU sent by a first store terminal, query a second store terminal with the largest locked inventory quantity for the product SKU in a target supply warehouse;
[0031] S102: determining whether the locked inventory quantity of the second store terminal is greater than the locked inventory quantity required by the locked inventory signal of the first store terminal, and if so, sending a bid request signal to the second store terminal, and if not, sending the locked inventory quantity of the second store terminal to the first store terminal via a change request signal;
[0032] S103: In response to the feedback of the second store terminal to the bid request signal, sending a bidding feedback signal for the locked inventory quantity of the second store to the first store;
[0033] S104: In response to the bidding feedback signal from the first store terminal, determine whether the first store terminal agrees with the quotation from the second store terminal according to the bidding feedback signal; if so, change the locked inventory quantity of the second store terminal to the first store terminal; otherwise, maintain the locked inventory quantity of the second store.
[0034] The store terminal device can be constructed as a smart phone, which has an interactive interface and a communication module to realize specific functions. The above steps can be executed by a server that can realize data interaction with the store terminal.
[0035] In order to enable the first store to bid for the locked inventory in a targeted manner, a purchase order can be first sent to the first store. After the terminal user of the first store selects the required goods, a request to lock the inventory is first initiated to the target supply warehouse. Only when the inventory of all target warehouses cannot be locked, a bid is initiated through the above steps S101 to S104 in order to share the locked inventory with other stores.
[0036] Reference Figure 3 As shown, the commodity bidding method of the present application also includes:
[0037] generating a push purchase signal to be sent to the first store terminal;
[0038] In response to a feedback signal sent by the first store terminal for a pushed purchase order, a locking confirmation signal for triggering the first store terminal to send a locking inventory signal is sent to the first store terminal.
[0039] More specifically, a push purchase order can be generated based on the historical data of the store corresponding to the store terminal. The method specifically includes the following steps: collecting the store's inventory data and sales data; generating store status feature data based on the store's inventory data and sales data; inputting the store status feature data into an order prediction model so that the order prediction model outputs a recommended purchase data and a corresponding prediction confidence; determining whether the prediction confidence is greater than a preset prediction confidence threshold. If the prediction confidence is greater than the prediction confidence threshold, a push purchase order is generated at least based on the recommended purchase data.
[0040] As a specific solution, collecting the store inventory data and store sales data of a store is collecting the store inventory data and store sales data of the store on the day of collection.
[0041] In order to provide the store with purchase order suggestions in a timely manner, as a preferred solution, the system triggers the execution of the automatic order generation method of the present application every day, that is, the system runs the program every day according to the user settings or system settings. As an optional solution, the system can allow different stores to have different times for receiving and pushing purchase orders to avoid the abnormality of locking inventory due to centralized operations.
[0042] As another preferred solution, a trigger condition may be set, and when the trigger condition is met, a program for implementing the automated order generation method is automatically executed.
[0043] For example, when the store uploads the store inventory data and store sales data after daily inventory, the program is automatically triggered; or, when the store user uses the user terminal to send a request to the server for automated order requirements (the user can click the recommendation button in the user terminal APP interface), the program is triggered.
[0044] It should be noted that the store inventory data and store sales data can be managed using the system platform program, or the system-developed data port can be used to connect to the store's own other goods statistics programs.
[0045] The store inventory data and sales data referred to here refer to the SKU code and corresponding quantity data of the goods in stock or sold on the day respectively.
[0046] According to the general analysis plan, historical store inventory data and sales data are generally used to train the machine learning module, and then the store inventory data and sales data are predicted respectively. Then, the possible pickup situation is judged based on the prediction results, and then the corresponding order suggestions are generated based on the out-of-stock situation.
[0047] However, due to the uncertainty of sales data, unless all products are included in the input data, the input data will be huge and contain a lot of invalid data, which will ultimately cause the trained machine learning model to fail to converge.
[0048] In addition, although store inventory data is relatively stable compared to sales data, the store inventory data also has the problem of too many product categories, which can also cause the machine learning model to fail to converge.
[0049] Based on the above reasons, there are major technical obstacles to directly using store inventory data and sales data for machine learning model training and prediction.
[0050] Based on the above, the technical solution of the present application adopts a new technical concept. Specifically, as one of the solutions, after collecting the store inventory data and store sales data; the SKUs and sales quantities of the top five products in terms of sales quantity are obtained from the sales data (on that day), as well as the existing inventory quantities corresponding to the top five products, to form a matrix of five rows and three columns, and the matrix is used as the store status feature data.
[0051] As an expansion solution, the number of rows in the matrix can be set according to the size of the store. For stores with larger transaction volumes, which sell more categories of goods every day, the number of rows in the matrix can be set to more than a dozen or dozens of rows.
[0052] As a preferred solution, the total number of commodity categories in the store inventory is S, and the head value M=S×K is calculated, where K is the head percentage, which is determined based on the numerical range in which S is located.
[0053] When 300 ≥ S > 0, the range of the head percentage is 7%; when 1000 ≥ S > 300, the range of the head percentage is 15%; when 300 ≥ S > 0, the range of the head percentage is 20%. The number of rectangle rows N is equal to the rounded value of the head value M.
[0054] The order prediction model can be trained using two methods, both of which use the store status feature data introduced above as input. The difference lies in the source of the output data in the training set.
[0055] The first method is to process the store's historical data and use the actual historical purchase orders as output data. The output data is a matrix consisting of the product SKU and purchase quantity in the purchase order. The matrix is determined to have two columns. The specific number of rows is generated according to the actual purchase order situation. The store status feature data of the day before the actual historical purchase order is used as input data to form a set of training data. With this solution, the order prediction model outputs a matrix consisting of product SKU and purchase quantity.
[0056] The advantage of this solution is that it can directly generate purchase orders. However, due to the uncertainty of the output matrix, the order prediction model is equivalent to an empirical model. The order of inputting the training set and the setting of the model parameters during training have a great impact on the final output. The accuracy fluctuates greatly, and a high confidence threshold needs to be set to ensure that the output has reference significance, which causes the problem of program loop during operation. In this way, as a preferred solution, the CNN neural network model can be used as the order prediction model.
[0057] The second method is to build the order prediction model into a prediction machine learning model, that is, the store status feature data before the day is used as input data, and the store status feature data of the day is used as output data to train the order prediction model. In this way, the output data and the output data are both regular data and a certain matrix, which is easier to train and converge. In this way, as a preferred solution, the order prediction model can use the BP neural network model.
[0058] As the preferred option, the second method is used to build an order prediction model. In this case, the output is not direct purchase order data, but tomorrow's store status feature data (actually a matrix) as introduced above. In this matrix, the top product SKUs, sales quantities, and inventory quantities that may appear on the next day are predicted.
[0059] The system traverses the sales quantity and inventory quantity data of all commodities in the forecast matrix to determine whether they meet the preset relative relationship. Specifically, the relevant relationship is store sales quantity > store inventory quantity × balance coefficient; where the balance coefficient ranges from 0.27 to 0.7.
[0060] For example, the balance coefficient is 0.5. At this time, when the relevant relationship is judged to be that the sales quantity is greater than 50% of the inventory quantity, the product is selected into the purchase order.
[0061] As a specific solution, an order prediction model is trained for each store, that is, one order prediction model corresponds to one store or one store terminal device (a store may have multiple terminal devices). The data of each store is input into the corresponding order prediction model.
[0062] As a preferred solution, if the prediction confidence is less than or equal to the prediction confidence threshold, return to the step of collecting store inventory data and sales data, that is, use the order prediction model for processing again to output new output data and confidence.
[0063] As a preferred solution, if the prediction confidence still cannot meet the prediction confidence threshold, for example, it still cannot meet the threshold after exceeding the preset number of times, a purchase order is directly generated based on the store status feature data of that day.
[0064] As a premise of the commodity bidding method of the present application, the method for a store to lock warehouse inventory may specifically include:
[0065] S1: In response to a feedback signal sent by a store terminal for a pushed purchase order, query the product SKU in the pushed purchase order and the purchase quantity of the corresponding product SKU.
[0066] S2: Based on the product SKU and its purchase quantity, query the historical purchase records of the store terminal to obtain a target supply warehouse.
[0067] S3: Query the available inventory quantity of the product SKU in the target supply warehouse.
[0068] S4: Determine whether the available inventory quantity meets the purchase quantity in the pushed purchase order. If yes, send an inquiry signal to the store terminal to inquire whether to lock the inventory capacity required for the pushed purchase order. If not, return to query the historical purchase records of the store terminal to obtain another target supply warehouse.
[0069] S5: In response to the locking signal sent by the store terminal to the inquiry signal, a portion of the available inventory quantity of the target supply warehouse is converted into the locked inventory quantity according to the purchase data of the pushed purchase order.
[0070] Of course, you can also take the initiative to lock inventory.
[0071] As a specific plan, step S2 specifically includes the following steps: query the terminal number of the store terminal that sends the feedback signal; extract the order number of the pushed purchase order contained in the feedback signal; extract the pushed purchase order corresponding to the order number from the historical data of the pushed purchase order sent to the store terminal according to the terminal number and the order number; extract the product SKU in the pushed purchase order and the purchase quantity of the corresponding product SKU.
[0072] Through the above method, detailed information of the pushed purchase orders that are responded to and fed back can be obtained from multiple pushed purchase orders.
[0073] As a specific solution, step S3 specifically includes the following steps:
[0074] S31: Query multiple historical purchase records containing the product SKU within a set time range according to the product SKU.
[0075] In view of the changes in suppliers and logistics, if the historical data of the store is called, a lot of data noise will be generated, such as invalid warehouse addresses, etc. Therefore, in order to improve the validity of the data and improve the efficiency of data processing. Step 31 only queries and calls the historical purchase data within a certain time range. As an optional solution, the time range is set to one month or one quarter.
[0076] S32: Determine whether the purchase quantity of the corresponding product SKU in the historical purchase record is greater than or equal to the purchase data in the pushed purchase order. If so, use the supply warehouse in the historical purchase record as an alternative supply warehouse. If not, proceed to determine the next historical purchase record.
[0077] S33: Remove duplicate alternative supply warehouses and keep only one identical supply warehouse.
[0078] Step S32 is to select items of purchase data. Since there may be multiple purchases from the same supplier, step S33 is used to deduplicate and obtain the supply warehouse.
[0079] S34: Select one of the different candidate supply warehouses that is closest to the store corresponding to the store terminal as the target supply warehouse.
[0080] As a more specific solution of step S34, according to the distances between the multiple candidate supply warehouses and the store terminals, a sequence table is generated by sorting the distances from far to near, and the candidate supply warehouse with the closest distance is first used as the target supply warehouse.
[0081] As a specific solution, step S4 specifically includes the following steps: sorting the alternative supply warehouses according to the distance from the alternative supply warehouse to the store corresponding to the store terminal; returning to query the historical purchase records of the store terminal and calling the next alternative supply warehouse as the target supply warehouse according to the distance sorting of the alternative supply warehouses.
[0082] By adopting this specific solution, when the judgment result of step S4 is no, the next nearest standby supply warehouse can be queried and it can be used as another target supply warehouse for further judgment.
[0083] As a specific solution, the specific steps of querying the available inventory quantity of the product SKU in the target supply warehouse in step S5 include: querying the available inventory quantity directly corresponding to the product SKU; querying the same family SKU of the corresponding product according to the product SKU; converting the available inventory quantity of the same family SKU into the available inventory quantity of the product SKU. It should be noted here that the same family SKU refers to the same products, but their packaging specifications are different, thus corresponding to different SKUs. For example, a certain soda has both 12 bottles, corresponding to one SKU, and 24 bottles, corresponding to 24 bottles, corresponding to another SKU. These two SKUs are the same family SKUs.
[0084] In step S5, judging whether the available inventory quantity satisfies the purchase quantity in the pushed purchase order specifically includes the following steps: calling the historical data of the available inventory quantity of the supply warehouse in the current period; calculating the average value of the historical data of the available inventory quantity in the current period; calculating the ratio k of the current value of the available inventory quantity in the current period to the average value; calculating the ratio h of the current value of the available inventory quantity in the current period to the value of the purchase quantity in the recommended purchase order; judging whether the ratio k is greater than or equal to the ratio h, if so, the available inventory quantity satisfies the purchase quantity in the pushed purchase order, otherwise the available inventory quantity does not satisfy the purchase quantity in the pushed purchase order.
[0085] Of course, if the store client actively triggers it, a similar solution can be used. The difference is that the purchase quantity is actively set by the store user in the feedback signal, rather than the purchase quantity in the pushed purchase order. As an extended solution, the purchase quantity can also be obtained by the store user by modifying the pushed purchase order through the store terminal.
[0086] As a specific solution, the specific form of the inquiry signal in step S4 is a lock confirmation interface provided by the APP, which contains one or more specific product SKUs and purchase quantities, and provides a "Confirm Lock" button for the user to click. If the store user clicks the "Confirm Lock" button, the store terminal is triggered to send a lock signal, and then the store terminal receives system data, thereby displaying an interface for obtaining locked inventory, which includes the product SKU and purchase quantity just displayed and a lock code. As a preferred option, a QR code containing this information can also be provided, but the store terminal will not be informed of the specific warehouse information.
[0087] As an extended solution, the lock confirmation interface also displays a payment information. Users can pay a basic fee for locking inventory. If the store user purchases the locked inventory before the set timeline, the basic fee will be included in the purchase fee or logistics fee. If it exceeds the set timeline, a time-based deduction will be generated. The fee will be charged according to the length of time exceeding the set timeline and deducted from the basic fee. When the basic fee is deducted, the system will release the corresponding locked inventory quantity. The set timeline is generally 24 hours after the lock is confirmed.
[0088] Based on the above scheme, it can be seen that the store terminal can lock the inventory when there is still available inventory and pay a certain locking fee for the inventory. If this locking is successful and the store is successfully purchased the next day, the store terminal often feels that it is not important whether to lock the inventory, which reduces the enthusiasm for locking the inventory. Those stores that really need to purchase goods but have not locked the inventory will need to choose a more distant warehouse for distribution or lock the inventory to increase the overall cost.
[0089] By using the bidding model described above, the locked store can transfer the locked inventory to the bidding store at a certain fee (or at par). On the one hand, this increases the store's enthusiasm for locking inventory, and on the other hand, it allows stores in urgent need to obtain the required products from nearby warehouses within a suitable cost range.
[0090] Continue to refer Figure 4 As shown, step S101 specifically includes the following steps:
[0091] S1011: Query the product SKU in the pushed purchase order and the purchase quantity of the corresponding product SKU.
[0092] S1012: According to the product SKU and its purchase quantity, query the historical purchase record of the first store terminal to obtain a target supply warehouse.
[0093] Continue to refer Figure 5As shown, more specifically, step S1012 specifically includes the following steps: query multiple historical purchase records containing the product SKU within a set time range according to the product SKU; determine whether the purchase quantity of the corresponding product SKU in the historical purchase record is greater than or equal to the purchase data in the pushed purchase order, if so, use the supply warehouse in the historical purchase record as an alternative supply warehouse, if not, proceed to determine the next historical purchase record; remove duplicate alternative supply warehouses, and only retain one identical supply warehouse; select the one closest to the store corresponding to the store terminal among different alternative supply warehouses as the target supply warehouse.
[0094] Figure 5 The steps shown are the same as the method of finding the target supply warehouse when locking inventory. This allows you to find the same criteria for selecting warehouses when locking inventory during bidding.
[0095] Continue to refer Figure 6 As shown, as a preferred solution, the commodity bidding method of the present application also includes the following steps: generating settlement data based on the bidding data in the bidding feedback signal and the locked inventory quantity changed from the second store terminal to the first store terminal; changing the account balances of the first store terminal and the second store terminal based on the generated settlement data.
[0096] That is, after the bidding is completed, the cost of locking the inventory of the second store terminal is first refunded, and at the same time, the bidding fee paid by the first store terminal is paid to the second store, and at the same time, the locking fee is paid to the warehouse.
[0097] In addition, as an optional solution, step 103 and step 104 can be executed repeatedly to achieve the final successful bidding. As a preferred solution, the bid sent by the second store terminal is hidden from the first store terminal; the bid sent by the second store terminal is hidden from the second store terminal. That is, the two parties do not know each other's prices, so that the bidding transaction can be reached as soon as possible. As a specific solution, as a preferred solution, the commodity bidding method of the present application includes the following steps: determining whether the bid sent by the first store terminal is greater than the bid sent by the second store terminal.
[0098] In addition, in step 102, if there is a locked inventory quantity that can meet the needs of the first store, the bidding is initiated to this store first. If there is no store that can meet the needs, the store with the largest locked inventory quantity is fed back to allow the first store to adjust its own needs and meet part of the needs first. Therefore, as a preferred solution, the commodity bidding method of the present application includes the following steps: in response to the feedback of the first store terminal to the change request signal, the required locked inventory quantity of the first store terminal is changed.
[0099] Continue to refer Figure 7As shown, the commodity bidding device of an embodiment of the present application includes: a query module, which is used to respond to the locked inventory signal for a commodity SKU sent by the first store terminal, and query the second store terminal with the largest locked inventory quantity for the commodity SKU in the target supply warehouse; a judgment module, which is used to judge whether the locked inventory quantity of the second store terminal is greater than the locked inventory quantity required by the locked inventory signal of the first store terminal, and if so, send a bid request signal to the second store terminal, and if otherwise, send the locked inventory quantity of the second store terminal to the first store terminal through a change request signal; a sending module, which is used to respond to the feedback of the second store terminal on the bid request signal, and send a bidding feedback signal for the locked inventory quantity of the second store to the first store; a bidding module, which is used to respond to the bidding feedback signal of the first store terminal, and judge whether the first store terminal agrees with the bidding of the second store terminal according to the bidding feedback signal, and if so, change the locked inventory quantity of the second store terminal to the first store terminal, and if otherwise, maintain the locked inventory quantity of the second store.
[0100] like Figure 8 As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0101] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 8 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0102] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer storage medium, and the computer program contains program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.
[0103] It should be noted that the computer storage medium described above in some embodiments of the present disclosure 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.
[0104] In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device, or device. In some embodiments of the present disclosure, 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. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer storage medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, device, or device. The program code contained on the computer storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0105] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperTextTransferProtocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an adhoc peer-to-peer network), as well as any currently known or future developed network.
[0106] The computer storage medium may be included in the electronic device, or may exist independently without being assembled into the electronic device. The computer storage medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: responds to the locked inventory signal for a commodity SKU sent by the first store terminal, queries the second store terminal with the largest locked inventory quantity for the commodity SKU in the target supply warehouse; determines whether the locked inventory quantity of the second store terminal is greater than the locked inventory quantity required by the locked inventory signal of the first store terminal, and if so, sends a bid request signal to the second store terminal, and if not, sends the locked inventory quantity of the second store terminal to the first store terminal through a change request signal; responds to the feedback of the second store terminal to the bid request signal, sends a bidding feedback signal for the locked inventory quantity of the second store to the first store; responds to the bidding feedback signal of the first store terminal, and determines whether the first store terminal agrees with the quotation of the second store terminal according to the bidding feedback signal, and if so, changes the locked inventory quantity of the second store terminal to the first store terminal, and if not, keeps the locked inventory quantity of the second store.
[0107] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0108] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, which contains one or more executable instructions for implementing a specified logical function.
[0109] It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures.
[0110] For example, two boxes shown in succession may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of boxes in the block diagram and / or flow chart, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0111] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0112] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.
Claims
1. A commodity bidding method, comprising: In response to a locked inventory signal for a product SKU sent by the first store terminal, querying a second store terminal in the target supply warehouse that has the largest locked inventory quantity for the product SKU; determining whether the locked inventory quantity of the second store terminal is greater than the locked inventory quantity required by the locked inventory signal of the first store terminal, and if so, sending a bid request signal to the second store terminal, and if not, sending the locked inventory quantity of the second store terminal to the first store terminal via a change request signal; In response to feedback from the second store terminal on the bid request signal, sending a bidding feedback signal for the locked inventory quantity of the second store to the first store; In response to the bidding feedback signal from the first store terminal, it is determined whether the first store terminal agrees with the quotation from the second store terminal based on the bidding feedback signal; if so, the locked inventory quantity of the second store terminal is changed to the first store terminal; otherwise, the locked inventory quantity of the second store is maintained.
2. The commodity bidding method according to claim 1, further comprising: generating a push purchase signal to be sent to the first store terminal; In response to a feedback signal sent by the first store terminal for a pushed purchase order, a locking confirmation signal for triggering the first store terminal to send the locking inventory signal is sent to the first store terminal.
3. The commodity bidding method according to claim 2, wherein: In response to the locked inventory signal for a product SKU sent by the first store terminal, querying the second store terminal in the target supply warehouse that has the largest locked inventory quantity for the product SKU, comprises: Query the product SKU in the pushed purchase order and the purchase quantity corresponding to the product SKU; According to the product SKU and its purchase quantity, the historical purchase record of the first store terminal is queried to obtain a target supply warehouse.
4. The commodity bidding method according to claim 3, wherein: The querying of the historical purchase records of the first store terminal to obtain a target supply warehouse according to the product SKU and the purchase quantity thereof includes: According to the product SKU, query multiple historical purchase records containing the product SKU within a set time range; Determine whether the purchase quantity corresponding to the product SKU in the historical purchase record is greater than or equal to the purchase data in the pushed purchase order, if so, use the supply warehouse in the historical purchase record as an alternative supply warehouse, if not, proceed to determine the next historical purchase record; The duplicate candidate supply warehouses are removed, and only one identical supply warehouse is retained; The one of the different candidate supply warehouses that is closest to the store corresponding to the store terminal is selected as the target supply warehouse.
5. The commodity bidding method according to claim 1, further comprising: generating settlement data according to the bidding data in the bidding feedback signal and the locked inventory quantity changed from the second store terminal to the first store terminal; The account balances of the first store terminal and the second store terminal are changed according to the generated settlement data.
6. The commodity bidding method according to claim 1, further comprising: In response to the first store terminal's feedback to the change request signal, the required locked stock quantity of the first store terminal is changed.
7. The commodity bidding method according to claim 1, wherein: The determining, according to the bidding feedback signal, whether the first store terminal agrees with the quotation of the second store terminal includes: It is determined whether the bid sent by the first store terminal is greater than the bid sent by the second store terminal.
8. The commodity bidding method according to claim 7, wherein: The bid sent by the second store terminal is hidden from the first store terminal; and the bid sent by the second store terminal is hidden from the second store terminal.
9. A commodity bidding device, comprising: A query module, configured to query a second store terminal having the largest locked inventory quantity for the product SKU in the target supply warehouse in response to a locked inventory signal for a product SKU sent by the first store terminal; a determination module, configured to determine whether the locked inventory quantity of the second store terminal is greater than the locked inventory quantity required by the locked inventory signal of the first store terminal, and if so, to send a bid request signal to the second store terminal, and if not, to send the locked inventory quantity of the second store terminal to the first store terminal via a change request signal; a sending module, configured to send a bidding feedback signal for the locked inventory quantity of the second store to the first store in response to the feedback of the second store terminal to the bidding request signal; The bidding module is used to respond to the bidding feedback signal of the first store terminal, and determine whether the first store terminal agrees with the quotation of the second store terminal according to the bidding feedback signal. If yes, the locked inventory quantity of the second store terminal is changed to the first store terminal; otherwise, the locked inventory quantity of the second store is maintained.
10. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the processors implement the method according to any one of claims 1 to 8.
11. A computer storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
