CN107871221B - Method and device for acquiring amount of marketable inventory - Google Patents

Method and device for acquiring amount of marketable inventory Download PDF

Info

Publication number
CN107871221B
CN107871221B CN201610860647.0A CN201610860647A CN107871221B CN 107871221 B CN107871221 B CN 107871221B CN 201610860647 A CN201610860647 A CN 201610860647A CN 107871221 B CN107871221 B CN 107871221B
Authority
CN
China
Prior art keywords
sale
inventory
information
time
sale 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.)
Active
Application number
CN201610860647.0A
Other languages
Chinese (zh)
Other versions
CN107871221A (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201610860647.0A priority Critical patent/CN107871221B/en
Publication of CN107871221A publication Critical patent/CN107871221A/en
Application granted granted Critical
Publication of CN107871221B publication Critical patent/CN107871221B/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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • G06Q10/0875Itemisation or classification of parts, supplies or services, e.g. bill of materials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computational Linguistics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Methods and apparatus for obtaining a marketable inventory quantity are disclosed. The method comprises the following steps: receiving a request to query inventory of goods; inquiring the marketable inventory quantity of the goods; judging whether the pre-sale information of the goods exists or not; if the pre-sale information of the goods exists, determining the amount of the sellable inventory based on at least one item of the pre-sale information, the inquired amount of the sellable inventory and a pre-sale processing identifier corresponding to the pre-sale information, wherein the pre-sale processing identifier comprises a start processing identifier and an end processing identifier; and returning the determined amount of the sellable inventory, so that the processing identifier is checked in real time when the service request is received by adding the pre-selling processing identifier to each piece of pre-selling information, and then whether the amount of the sellable inventory needs to be modified is determined, the problem of inaccurate real-time inventory caused by the fact that the inventory is acquired in a time delay manner by a timing task manner is avoided, and a large amount of cache operation caused by the timing task manner is reduced.

Description

Method and device for acquiring amount of marketable inventory
Technical Field
The present application relates to the field of computer technology, and more particularly, to the field of audio processing, and more particularly, to a method and apparatus for obtaining a marketable inventory quantity.
Background
In an electronic commerce platform, when a market reaction of a new commodity is tested or a manufacturer cannot timely stock a hot commodity with a large market demand, a pre-sale mode is usually adopted for sale, namely, a virtual pre-sale stock quantity is set, so that a user can place an order in advance, then production and stock are carried out according to the order placing condition, and delivery is completed within the promised pre-sale delivery time. In order to ensure the controllability of the pre-sale, the start-stop time of the pre-sale and the amount of the pre-sale stock are generally set at the same time when the pre-sale is set. This is followed by how to accurately capture the amount of pre-sold inventory.
When a new commodity is created for pre-sale at present, pre-sale information is usually placed in two buffer queues, namely a Start Queue (SQ) and an End Queue (EQ), respectively. Starting a pre-sale starting processing timing task, taking out a piece of pre-sale information from a pre-sale starting processing queue SQ, judging whether the pre-sale starting time is greater than the current system time, if so, indicating that the pre-sale is started, adding the pre-sale Number (Presell Number, PN for short) to the saleable inventory Number (On sale Number, ON for short) to serve as the inventory Number displayed by a front-end page, otherwise, putting the SQ again, and waiting for the next processing; when a user places an order, deducting the marketable inventory until 0; starting a pre-sale ending processing timing task, taking out a piece of pre-sale information from a pre-sale ending processing queue EQ, judging whether the pre-sale ending time is not more than the current system time, if so, indicating that the pre-sale is ended, and subtracting the residual pre-sale quantity PN from the saleable inventory quantity ON.
However, the current method for acquiring the pre-sale inventory amount has the following problems: in the timed task mode, the pre-selling time cannot be accurately controlled, the situation that the pre-selling time starts but the order cannot be placed or the pre-selling time finishes and the order can be placed can occur, and only the starting frequency of the timed task can be increased to reduce the error time; a large amount of invalid cache requests are operated, the effective processing times of one piece of pre-sale information is only once, so that the cache invalid operation is improved while the task frequency is improved for reducing the error of the pre-sale time, and a large amount of cache connections are occupied; by adopting the queue mode, when the pre-sale modification requirement exists in the pre-sale, the original pre-sale information cannot be replaced from the queue, and the business requirement is difficult to realize.
Disclosure of Invention
The present application aims to provide a method and a device for acquiring the amount of marketable inventory, which solve the technical problems mentioned in the background section above.
In a first aspect, the present application provides a method for obtaining a quantity of marketable inventory, the method comprising: receiving a request to query inventory of goods; querying a marketable inventory quantity of the goods; judging whether the pre-sale information of the goods exists or not; if the pre-sale information of the goods exists, determining the amount of the sellable inventory based on at least one item of the pre-sale information, the inquired amount of the sellable inventory and a pre-sale processing identifier corresponding to the pre-sale information, wherein the pre-sale processing identifier comprises a start processing identifier and an end processing identifier; returning the determined amount of saleable inventory.
In some embodiments, said determining a vendable inventory amount based on at least one of said pre-sale information, a queried vendable inventory amount, and a pre-sale process identifier corresponding to said pre-sale information comprises: responding to that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time; responding to the fact that the pre-sale starting time in the pre-sale information is not larger than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier corresponding to the pre-sale information or not; and in response to the existence of the starting processing identifier in the pre-sale processing identifiers corresponding to the pre-sale information, determining the sum of the inquired amount of the sellable inventory and the pre-sale amount in the pre-sale information as the amount of the sellable inventory, and deleting the starting processing identifier.
In some embodiments, said determining a vendable inventory amount based on at least one of said pre-sale information, a queried vendable inventory amount, and a pre-sale process identifier corresponding to said pre-sale information comprises: responding to that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time; responding to the fact that the pre-sale starting time in the pre-sale information is not larger than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier corresponding to the pre-sale information or not; responding to the fact that the pre-sale processing identification corresponding to the pre-sale information does not have a processing starting identification, and judging whether the pre-sale finishing time of the pre-sale information is larger than the current system time; responding to the fact that the pre-sale finishing time is not larger than the current system time, and judging whether a finishing mark exists in the pre-sale processing marks of the pre-sale information or not; and in response to the existence of the ending processing identifier in the pre-sale processing identifiers corresponding to the pre-sale information, determining the difference between the inquired amount of the sellable inventory and the residual pre-sale amount as the amount of the sellable inventory, and deleting the ending processing identifier.
In some embodiments, the determining the amount of sellable inventory based on at least one of the pre-sale information, the queried amount of sellable inventory, and the identification of the pre-sale process corresponding to the pre-sale information includes any one of: responding to that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time; determining the inquired vendible inventory quantity as a vendible inventory quantity in response to the pre-sale starting time in the pre-sale information being greater than the current system time; responding to that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time; responding to the fact that the pre-sale starting time in the pre-sale information is not larger than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier of the pre-sale information or not; responding to the fact that the pre-sale processing identification corresponding to the pre-sale information does not have a processing starting identification, and judging whether the pre-sale finishing time of the pre-sale information is larger than the current system time; determining the inquired vendible inventory quantity as a vendible inventory quantity in response to the pre-sale ending time of the pre-sale information being greater than the current system time; responding to that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time; responding to the fact that the pre-sale starting time in the pre-sale information is not larger than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier of the pre-sale information or not; responding to the fact that the pre-sale processing identification corresponding to the pre-sale information does not have a processing starting identification, and judging whether the pre-sale finishing time of the pre-sale information is larger than the current system time; responding to the fact that the pre-sale finishing time of the pre-sale information is not larger than the current system time, and judging whether a finishing mark exists in the pre-sale processing mark corresponding to the pre-sale information; determining the inquired vendible inventory quantity as a vendible inventory quantity in response to the fact that the pre-sale processing identification corresponding to the pre-sale information does not have an ending processing identification; and determining the inquired vendable inventory amount as the vendable inventory amount in response to the pre-sale end time of the pre-sale information not being greater than the current system time.
In some embodiments, the method further comprises: if the pre-sale information of the goods does not exist, the inquired amount of the sellable inventory is returned.
In some embodiments, the method further comprises: receiving a modification request for the pre-sale information; inquiring whether the pre-sale starting time of the pre-sale information corresponding to the modification request is greater than the current system time; responding that the pre-sale starting time of the pre-sale information corresponding to the modification request is not larger than the current system time, and a processing starting identifier of the pre-sale information corresponding to the modification request does not exist, and taking a difference value obtained by subtracting the original pre-sale quantity from the pre-sale quantity in the modification request as a pre-sale adjustment quantity; and determining the sum of the inquired amount of the sellable inventory and the pre-sale adjustment amount as the amount of the sellable inventory, and modifying the pre-sale information according to the modification request.
In some embodiments, the method further comprises any one of: in response to the fact that the pre-sale starting time of the pre-sale information corresponding to the modification request is larger than the current system time, modifying the pre-sale information according to the modification request; and responding that the pre-sale starting time of the pre-sale information corresponding to the modification request is not more than the current system time, and the cache has a processing starting identifier of the pre-sale information corresponding to the modification request, and modifying the pre-sale information according to the modification request.
In a second aspect, the present application provides an apparatus for obtaining a quantity of marketable inventory, the apparatus comprising: a query request receiving unit for receiving a request for querying inventory of goods; the inventory quantity inquiry unit is used for inquiring the saleable inventory quantity of the goods; the pre-sale information judging unit is used for judging whether the pre-sale information of the goods exists or not; the inventory quantity determining unit is used for determining the amount of the sellable inventory based on at least one item of the pre-sale information, the inquired amount of the sellable inventory and a pre-sale processing identifier corresponding to the pre-sale information if the pre-sale information of the goods exists, wherein the pre-sale processing identifier comprises a start processing identifier and an end processing identifier; a determined quantity returning unit for returning the determined amount of the sellable inventory.
In some embodiments, the inventory quantity determination unit includes: the pre-sale starting judging subunit is used for responding that the pre-sale finishing time of the pre-sale information is greater than the current system time, and judging whether the pre-sale starting time in the pre-sale information is greater than the current system time; the starting identifier judging subunit is used for responding that the pre-sale starting time in the pre-sale information is not greater than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier corresponding to the pre-sale information; and the first stock determining subunit is used for responding to the existence of the starting processing identifier in the pre-selling processing identifiers corresponding to the pre-selling information, determining the sum of the inquired amount of the sellable stock and the pre-selling amount in the pre-selling information as the amount of the sellable stock, and deleting the starting processing identifier.
In some embodiments, the inventory quantity determination unit includes: the pre-sale starting judging subunit is used for responding that the pre-sale finishing time of the pre-sale information is greater than the current system time, and judging whether the pre-sale starting time in the pre-sale information is greater than the current system time; the starting identifier judging subunit is used for responding that the pre-sale starting time in the pre-sale information is not greater than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier corresponding to the pre-sale information; the pre-sale ending judgment subunit is used for responding to the situation that the pre-sale processing identifier corresponding to the pre-sale information does not have a processing starting identifier, and judging whether the pre-sale ending time of the pre-sale information is greater than the current system time; the end mark judging subunit is used for responding to the fact that the pre-sale end time is not greater than the current system time, and judging whether the pre-sale processing mark of the pre-sale information has an end processing mark or not; and a second stock determination subunit, configured to determine, in response to the end processing flag existing in the pre-sale processing flags corresponding to the pre-sale information, a difference between the inquired reselling stock quantity minus the remaining pre-sale quantity as a reselling stock quantity, and delete the end processing flag.
In some embodiments, the inventory quantity determination unit comprises any one of: the pre-sale starting judging subunit is used for responding that the pre-sale finishing time of the pre-sale information is greater than the current system time, and judging whether the pre-sale starting time in the pre-sale information is greater than the current system time; and a third inventory determination subunit, configured to determine, in response to the advance sale start time in the advance sale information being greater than the current system time, the inquired vendable inventory amount as a vendable inventory amount; the pre-sale starting judging subunit is used for responding that the pre-sale finishing time of the pre-sale information is greater than the current system time, and judging whether the pre-sale starting time in the pre-sale information is greater than the current system time; a starting identifier judging subunit, configured to judge, in response to that the pre-sale starting time in the pre-sale information is not greater than the current system time, whether a processing starting identifier exists in the pre-sale processing identifier of the pre-sale information; the pre-sale ending judgment subunit is used for responding to the situation that the pre-sale processing identifier corresponding to the pre-sale information does not have a processing starting identifier, and judging whether the pre-sale ending time of the pre-sale information is greater than the current system time; and a fourth inventory determination subunit, configured to determine, in response to that the pre-sale end time of the pre-sale information is greater than the current system time, the inquired vendible inventory amount as a vendible inventory amount; the pre-sale starting judging subunit is used for responding that the pre-sale finishing time of the pre-sale information is greater than the current system time, and judging whether the pre-sale starting time in the pre-sale information is greater than the current system time; the starting identifier judging subunit is used for responding that the pre-sale starting time in the pre-sale information is not greater than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier of the pre-sale information or not; the pre-sale ending judgment subunit responds to the fact that the pre-sale processing identifier corresponding to the pre-sale information does not have a processing starting identifier, and judges whether the pre-sale ending time of the pre-sale information is larger than the current system time or not; the end mark judging subunit is used for responding that the pre-sale end time of the pre-sale information is not greater than the current system time, and judging whether an end processing mark exists in the pre-sale processing mark corresponding to the pre-sale information; a fifth inventory determination subunit, configured to determine, in response to that there is no ending processing identifier in the pre-sale processing identifiers corresponding to the pre-sale information, the inquired vendable inventory amount as a vendable inventory amount; and a sixth inventory determination subunit, configured to determine the inquired vendible inventory amount as the vendible inventory amount in response to that the pre-sale end time of the pre-sale information is not greater than the current system time.
In some embodiments, the apparatus further comprises: and the quantity inquiry returning unit is used for returning the inquired quantity of the sellable inventory if the pre-sale information of the goods does not exist.
In some embodiments, the apparatus further comprises: a modification request receiving unit for receiving a modification request for the pre-sale information; the pre-sale starting inquiry unit is used for inquiring whether the pre-sale starting time of the pre-sale information corresponding to the modification request is greater than the current system time; the adjustment quantity determining unit is used for responding that the pre-sale starting time of the pre-sale information corresponding to the modification request is not larger than the current system time, and a processing starting identifier of the pre-sale information corresponding to the modification request does not exist, and taking a difference value obtained by subtracting the original pre-sale quantity from the pre-sale quantity in the modification request as a pre-sale adjustment quantity; and the first information modifying unit is used for determining the sum of the inquired amount of the sellable inventory and the pre-sale adjusting amount as the amount of the sellable inventory and modifying the pre-sale information according to the modifying request.
In some embodiments, the apparatus further comprises any one of: the second information modifying unit is used for responding that the pre-sale starting time of the pre-sale information corresponding to the modifying request is larger than the current system time, and modifying the pre-sale information according to the modifying request; and the third information modifying unit is used for responding that the pre-sale starting time of the pre-sale information corresponding to the modifying request is not more than the current system time, and the cache has a processing starting identifier of the pre-sale information corresponding to the modifying request, and modifying the pre-sale information according to the modifying request.
According to the method and the device for acquiring the amount of the marketable inventory, the request for inquiring the inventory of goods is received, whether pre-sale information exists is inquired, the amount of the marketable inventory is determined in response to the pre-sale information, based on the pre-sale information, the inquired amount of the marketable inventory and at least one item of the pre-sale processing identification corresponding to the pre-sale information, and finally the determined amount of the marketable inventory is returned, so that the pre-sale processing identification is added to each piece of the pre-sale information, the processing identification is checked in real time when the service request is received, whether the amount of the marketable inventory needs to be modified is determined, the problem that the real-time inventory is inaccurate due to the fact that the inventory is acquired in a delayed time task mode is solved, and a large amount of cache operations caused by the time task mode are reduced.
Further, in some embodiments, when there is a pre-sale modification requirement during the pre-sale, the original pre-sale information can be replaced, so as to implement the service requirement of modifying the pre-sale information.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 shows an exemplary system architecture to which embodiments of the method for acquiring a marketable inventory amount or the apparatus for acquiring a marketable inventory amount of the present application may be applied.
FIG. 2 is a schematic flow chart diagram illustrating one embodiment of a method for obtaining a quantity of sellable inventory in accordance with the present application.
FIG. 3 is a schematic flow chart diagram illustrating yet another embodiment of a method for obtaining a marketable inventory quantity in accordance with the present application;
FIG. 4 is a schematic block diagram illustrating one embodiment of an apparatus for obtaining a quantity of marketable inventory according to the present application;
fig. 5 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the method for obtaining a marketable inventory quantity or the apparatus for obtaining a marketable inventory quantity of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and servers 105, 106. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the servers 105, 106. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user 110 may use the terminal devices 101, 102, 103 to interact with the servers 105, 106 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a shopping application, a web browser application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg Audio Layer 4), laptop and desktop computers, and the like.
The servers 105, 106 may be servers providing various services, such as background servers providing support for shopping-like applications displayed on the terminal devices 101, 102, 103. The background server may analyze and process the received data such as the request for querying the inventory of the goods, and feed back the processing result (for example, the saleable inventory data) to the terminal device.
It should be noted that the method for obtaining the amount of the marketable inventory provided by the embodiment of the present application is generally performed by the servers 105 and 106, and accordingly, the device for obtaining the amount of the marketable inventory is generally disposed in the servers 105 and 106.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is for illustrative purposes only. There may be any number of destination terminal devices, networks, and servers, as desired for an implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for obtaining a quantity of marketable inventory in accordance with the present application is illustrated. The method for acquiring the amount of the sellable inventory comprises the following steps:
step 201, a request for querying inventory of goods is received.
In this embodiment, an electronic device (e.g., a server shown in fig. 1) on which the method for obtaining a quantity of sellable inventory operates may receive a request from a terminal device or other electronic device to query for inventory of goods.
The terminal device or other electronic device may trigger sending a request to query the inventory of goods based on the user's usage or invocation of data. For example, when a user refreshes a sales page for goods, a request to query the electronic device for inventory of the goods may be triggered.
At step 202, the saleable inventory quantity of the goods is queried.
In this embodiment, after receiving a request to query inventory of goods in step 201, an electronic device on which the method for obtaining a saleable inventory quantity is run may obtain the saleable inventory quantity from a local or remote storage device or cache.
In this embodiment, the electronic device on which the method for obtaining the amount of the saleable inventory is operated needs to first query the current amount of the saleable inventory of the goods in order to determine whether the current amount of the saleable inventory needs to be modified (for example, when the pre-sale is started or finished, the amount of the saleable inventory needs to be modified).
It should be understood that the amount of saleable inventory is a buffer counter whose value is calculated by the formula: the stock quantity saleable (stock quantity in stock actual quantity in stock) + the stock quantity sold in advance (period from the start of pre-sale deletion processing flag to the end of pre-sale deletion processing flag) — the stock quantity reserved (order reservation and active reservation) — the stock quantity locked. The value of the amount of sellable inventory indicates good if it is greater than 0, otherwise it is no good.
Step 203, judging whether the pre-sale information of the goods exists.
In this embodiment, it is possible to determine whether or not a modification of the amount of sellable inventory is required by the presence or absence of the pre-sale information of the goods. The pre-sale information can at least comprise the number of the pre-sale goods, the pre-sale quantity, the pre-sale starting time and the pre-sale ending time.
Step 204, if the pre-sale information of the goods exists, determining the amount of the sellable inventory based on at least one of the pre-sale information, the inquired amount of the sellable inventory and the pre-sale processing identifier corresponding to the pre-sale information;
in this embodiment, if the pre-sale information of the goods exists, it indicates that the goods need to be comprehensively specified based on the number of the pre-sale goods in the pre-sale information, the pre-sale quantity, the pre-sale start time, the pre-sale end time, the inquired saleable stock quantity, the pre-sale process flag corresponding to the pre-sale information, and other factors. In determining the amount of the sellable inventory, the number of sellable inventory may be determined based on a modification of the number of sellable inventory resulting from the start or end of the pre-sale.
The pre-sale process identifier may include a start process identifier and an end process identifier. The pre-sale process identifier is a process identifier associated with pre-sale information added when creating the pre-sale, and may be stored in a storage device or a cached database, which is not limited in the present application. Optionally, to increase the data calling speed, data including the pre-sale process identifier and the pre-sale information association relationship may be stored in a cache database. Further, in order to ensure that the system provides stable and efficient services under the condition of large concurrency, a centralized cache database based on distributed deployment may be adopted, for example, the association relationship between the start processing identifier and the pre-sale information may be stored in a redis cache database.
In some optional implementations of this embodiment, the determining the amount of the resellerable inventory based on at least one of the reseller information, the queried amount of the reseller inventory, and the identification of the reseller process corresponding to the reseller information may include: responding to the fact that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time; responding to the fact that the pre-sale starting time in the pre-sale information is not larger than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier corresponding to the pre-sale information or not; and in response to the existence of the starting processing identifier in the pre-sale processing identifiers of the corresponding pre-sale information, determining the sum of the inquired amount of the reseller stock and the pre-sale amount in the pre-sale information as the amount of the reseller stock, and deleting the starting processing identifier.
In this implementation, when the pre-sale information of the goods exists and the pre-sale end time of the pre-sale information is greater than the current system time, it indicates that the pre-sale of the goods currently exists, and it is necessary to further determine whether the current pre-sale state brings about a change in the amount of the stock available for sale.
When it is determined that the pre-sale start time in the pre-sale information is not greater than the current system time, indicating that the current pre-sale has started, and then deleting the start processing identifier if the modification of the amount of the sellable inventory due to the start of the pre-sale is completed, if the start processing identifier exists, indicating that the modification of the amount of the sellable inventory for the start of the pre-sale has not occurred, the amount of the sellable inventory may be modified according to the existing start processing identifier: the sum of the inquired amount of the sellable inventory and the amount of the advance sales in the advance sales information is determined as the amount of the sellable inventory, and the start processing flag is deleted.
In some optional implementations of this embodiment, the determining the amount of the resellerable inventory based on at least one of the reseller information, the queried amount of the reseller inventory, and the identification of the reseller process corresponding to the reseller information may include: responding to the fact that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time; responding to the fact that the pre-sale starting time in the pre-sale information is not larger than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier corresponding to the pre-sale information or not; responding to the fact that the pre-sale processing identification of the corresponding pre-sale information does not have a processing starting identification, and judging whether the pre-sale finishing time of the pre-sale information is larger than the current system time; responding to the fact that the pre-sale finishing time is not larger than the current system time, and judging whether a finishing mark exists in the pre-sale processing marks of the pre-sale information or not; and in response to the existence of the ending processing identifier in the pre-sale processing identifiers corresponding to the pre-sale information, determining the difference between the inquired amount of the sellable inventory and the residual pre-sale amount as the amount of the sellable inventory, and deleting the ending processing identifier.
In this implementation, when the pre-sale information of the goods exists and the pre-sale end time of the pre-sale information is greater than the current system time, it indicates that the pre-sale of the goods currently exists, and it is necessary to further determine whether the current pre-sale state brings about a change in the amount of the stock available for sale.
First, whether the pre-sale is finished or not can be judged according to the pre-sale finishing time in the pre-sale information: and when the pre-sale ending time is not more than the current system time, indicating that the pre-sale is ended. When the pre-sale is finished, whether the amount of the sellable inventory for the end of the pre-sale has been modified can be further determined according to whether the end processing identifier in the cache exists. In the determination, since the modification of the amount of the sellable inventory performed for the end of the pre-sale deletes the end processing flag if the modification is completed, when the end processing flag exists, it indicates that the modification of the amount of the sellable inventory performed for the end of the pre-sale is not completed, and at this time, the modification of the amount of the sellable inventory may be performed: the difference between the inquired vendable inventory amount minus the remaining pre-sale amount is determined as a vendable inventory amount, and the end-processing flag is deleted.
The remaining pre-sale quantity is usually decreased when the pre-sale is started and the order is placed, so as to obtain the remaining pre-sale quantity, and the calculation formula is as follows: the remaining pre-sale amount-the amount of orders placed during the pre-sale period.
In some optional implementations of this embodiment, the determining the amount of the resellerable inventory based on at least one of the reseller information, the queried amount of the reseller inventory, and the identification of the reseller process corresponding to the reseller information may include: responding to the fact that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time; in response to the pre-sale start time in the pre-sale information being greater than the current system time, the queried sellable inventory quantity is determined to be a sellable inventory quantity.
In this implementation, when the pre-sale information of the goods exists and the pre-sale end time of the pre-sale information is greater than the current system time, it indicates that the pre-sale of the goods currently exists, and it is necessary to further determine whether the current pre-sale state brings about a change in the amount of the stock available for sale.
When the pre-sale starting time in the pre-sale information is larger than the current system time, the pre-sale is indicated to be not started, the amount of the sellable inventory does not need to be modified at the moment, and the inquired amount of the sellable inventory is directly used as the determined amount of the sellable inventory.
In some optional implementations of this embodiment, the determining the amount of the resellerable inventory based on at least one of the reseller information, the queried amount of the reseller inventory, and the identification of the reseller process corresponding to the reseller information may include: responding to the fact that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time; responding to the fact that the pre-sale starting time in the pre-sale information is not larger than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier of the pre-sale information or not; responding to the fact that the pre-sale processing identification of the corresponding pre-sale information does not have a processing starting identification, and judging whether the pre-sale finishing time of the pre-sale information is larger than the current system time; in response to the pre-sale end time of the pre-sale information being greater than the current system time, the queried sellable inventory quantity is determined as the sellable inventory quantity.
In this implementation, when the pre-sale information of the goods exists and the pre-sale end time of the pre-sale information is greater than the current system time, it indicates that the pre-sale of the goods currently exists, and it is necessary to further determine whether the current pre-sale state brings about a change in the amount of the stock available for sale.
When the pre-sale starting time is not more than the current system time, the pre-sale is indicated to be started, whether the modification of the amount of the sellable inventory brought by the pre-sale starting is completed or not needs to be judged at the moment, when the pre-sale processing identifier corresponding to the pre-sale information does not exist, the modification is indicated to be completed, if the pre-sale ending time is more than the current system time, the pre-sale can be determined not to be completed, the amount of the sellable inventory which is subjected to the pre-sale ending does not need to be modified, and therefore the inquired amount of the sellable inventory can be directly used as the determined amount of the sellable inventory.
In some optional implementations of this embodiment, determining the amount of resellerable inventory based on at least one of the reseller information, the queried amount of reseller inventory, and the identification of the reseller process corresponding to the reseller information may include: responding to the fact that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time; responding to the fact that the pre-sale starting time in the pre-sale information is not larger than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier of the pre-sale information or not; responding to the fact that the pre-sale processing identification of the corresponding pre-sale information does not have a processing starting identification, and judging whether the pre-sale finishing time of the pre-sale information is larger than the current system time; responding to the fact that the pre-sale finishing time of the pre-sale information is not larger than the current system time, and judging whether a finishing mark exists in the pre-sale processing marks corresponding to the pre-sale information; and determining the inquired vendible inventory quantity as the vendible inventory quantity in response to the absence of the ending process identification in the pre-sale process identifications of the corresponding pre-sale information.
In this implementation, when the pre-sale information of the goods exists and the pre-sale end time of the pre-sale information is greater than the current system time, it indicates that the pre-sale of the goods currently exists, and it is necessary to further determine whether the current pre-sale state brings about a change in the amount of the stock available for sale.
When the pre-sale start time is not greater than the current system time, it indicates that the pre-sale has started, at this time, it needs to be determined whether the modification of the amount of the sellable inventory brought by the start of the pre-sale has been completed, when the start processing flag does not exist in the pre-sale processing flag corresponding to the pre-sale information, it indicates that the modification has been completed, when the pre-sale end time is not greater than the current system time, it indicates that the pre-sale is ended, and it needs to be further determined whether the modification of the amount of the sellable inventory for the end of the pre-sale has been completed. Since the ending process flag is deleted when the modification of the amount of the reselling stock is completed, when the ending process flag does not exist, it indicates that the modification is completed, and the inquired amount of the reselling stock can be directly used as the determined amount of the reselling stock.
Here, it should be noted that, after the pre-sale start time is greater than the current system time and the pre-sale process identifier of the pre-sale information is determined to be present, it is determined whether the pre-sale end time of the pre-sale information is greater than the current system time queried for the second time in the current system time, and compared with the current system time queried for the first time in the current system time after the cargo information is determined to be present, the pre-sale end time has changed, so that the pre-sale end time may be greater than the current system time queried for the first time and not greater than the current system time for the second time, that is, the pre-sale may be ended when the current system time is queried for the second time.
In some optional implementations of this embodiment, the determining the amount of the resellerable inventory based on at least one of the reseller information, the queried amount of the reseller inventory, and the identification of the reseller process corresponding to the reseller information may include: in response to the pre-sale end time of the pre-sale information not being greater than the current system time, determining the queried sellable inventory quantity as the sellable inventory quantity.
In this implementation, when the pre-sale information of the goods exists and the pre-sale end time of the pre-sale information is not greater than the current system time, it indicates that the pre-sale of the goods does not exist currently, and at this time, the inquired reseller quantity of the reseller stock can be directly used as the determined reseller quantity of the reseller stock.
Step 205 returns the determined amount of sellable inventory.
In this embodiment, based on the amount of sellable inventory obtained in step 204 above, the amount of sellable inventory may be returned to the device that sent the request to query the inventory of goods.
In some optional implementations of this embodiment, the method for obtaining the amount of the reservable inventory may further include: if no pre-sale information of the goods exists, the inquired amount of the sellable inventory is returned.
In some optional implementation manners of this embodiment, the pre-sale information may be modified based on the pre-sale processing identifier of the corresponding pre-sale information, that is, the method for obtaining the amount of the resellerable inventory may further include:
step 206, receiving a modification request for the pre-sale information;
step 207, inquiring whether the pre-sale starting time of the pre-sale information corresponding to the modification request is greater than the current system time;
step 208, in response to that the pre-sale starting time of the pre-sale information corresponding to the modification request is not greater than the current system time and the processing starting identifier of the pre-sale information corresponding to the modification request does not exist, taking a difference value obtained by subtracting the original pre-sale quantity from the pre-sale quantity in the modification request as a pre-sale adjustment quantity;
step 209, determine the sum of the inquired amount of the reselling stock and the pre-sale adjustment amount as the amount of the reselling stock, and modify the pre-sale information according to the modification request.
In this implementation, when the pre-sale start time is not greater than the current system time, it indicates that the pre-sale has started, and at this time, if there is no start processing flag, it indicates that the modification of the amount of sellable inventory for the start of the pre-sale has been completed. At this time, if a modification request is received, the amount of the sellable inventory should be modified and the amount for pre-sale should be modified. Wherein modifying the marketable inventory quantity may comprise: the difference value obtained by subtracting the original pre-sale quantity from the pre-sale quantity in the modification request is used as the pre-sale adjustment quantity; the sum of the inquired amount of the sellable inventory and the pre-sale adjustment amount is determined as the amount of the sellable inventory. Modifying the pre-sale quantity may include: the pre-sale information is modified based on the modification request.
It should be understood that when the sum of the original vendable inventory quantity and the pre-sale adjusted quantity is determined as the vendable inventory quantity, if the adjusted quantity is less than 0, the buffer counter cannot be increased to a negative value, the absolute value of the adjusted quantity may be obtained first, and then the absolute value of the adjusted quantity is subtracted from the original vendable inventory quantity, so as to obtain the updated vendable inventory quantity.
In some optional implementations of the embodiment, considering that the modification of the amount of the sellable inventory for the pre-sale start does not occur, the amount of the pre-sale in the database may be directly modified, that is, the method for acquiring the amount of the sellable inventory according to the present application may further include any one of the following: in response to the fact that the pre-sale starting time of the pre-sale information corresponding to the modification request is larger than the current system time, modifying the pre-sale information according to the modification request; and responding that the pre-sale starting time of the pre-sale information corresponding to the modification request is not more than the current system time, and the cache has a processing starting identifier of the pre-sale information corresponding to the modification request, and modifying the pre-sale information according to the modification request.
In the implementation mode, when the pre-sale starting time of the pre-sale information corresponding to the modification request is greater than the current system time, the pre-sale is indicated to be not started, and the pre-sale information can be directly modified according to the modification request. When the pre-sale starting time of the pre-sale information corresponding to the modification request is not more than the current system time and the cache has the start processing identifier of the pre-sale information corresponding to the modification request, the pre-sale is started, but the pre-sale quantity in the pre-sale information is not counted in the sellable inventory, so that the modification of the pre-sale quantity caused by the reduction of the inventory does not occur, and the pre-sale information can be directly modified according to the modification request.
Referring to fig. 3, fig. 3 is a schematic flow chart diagram illustrating yet another specific embodiment of a method for obtaining a marketable inventory amount according to the present application.
As shown in FIG. 3, a method 300 for obtaining a quantity of sellable inventory includes:
in step 301, pre-sale information is created;
in step 302, adding a pre-sale process identifier including a beginning process identifier (Presell Start, PS for short) and an ending process identifier (Presell End, PE for short) in the Redis cache;
in step 303, a request for querying inventory of goods is received, followed by step 304;
in step 304, inquiring whether pre-sale exists, when pre-sale information exists and the pre-sale ending time of the pre-sale information is greater than the current system time, determining that the pre-sale exists, executing step 305, when the pre-sale information does not exist or exists but the pre-sale ending time of the pre-sale information is not greater than the current system time, determining that the pre-sale does not exist, and executing step 311;
in step 305, the pre-sale processing identifier PS and PE corresponding to the pre-sale information are queried from the Redis cache, and then step 306 is executed;
in step 306, judging whether the pre-sale is started according to whether the pre-sale starting time in the pre-sale information is greater than the current system time, if the pre-sale starting time is not greater than the current system time, judging that the pre-sale is started, executing step 307, if the pre-sale starting time is greater than the current system time, judging that the pre-sale is not started, and executing step 311;
in step 307, it is determined whether or not the start processing flag PS exists, if so, it indicates that the salable stock quantity for the start of pre-sale has not been modified, step 308 is executed, otherwise, it indicates that the modification of the salable stock quantity for the start of pre-sale has been completed, and step 309 is executed;
in step 308, the modification of the amount of the stock available for sale for the pre-sale start is completed, which specifically includes: inquiring the marketable inventory quantity ON in the query, taking ON plus the pre-selling quantity PN as the updated ON, modifying the ON into the updated ON, then deleting the starting processing mark PS to indicate that the modification of the marketable inventory quantity aiming at the beginning of the pre-selling is completed, and then executing step 313;
in step 309, judging whether the pre-sale is finished according to whether the pre-sale finishing time in the pre-sale information is larger than the current system time, if the pre-sale finishing time is not larger than the current system time, judging that the pre-sale is finished, executing step 310, if the pre-sale finishing time is larger than the current system time, judging that the pre-sale is not finished, executing step 311;
in step 310, it is determined whether the end processing flag PE exists, if so, it indicates that the salable inventory quantity for the end of the pre-sale has not been modified, step 312 is executed, otherwise, it indicates that the modification of the salable inventory quantity for the end of the pre-sale has been completed, and step 311 is executed;
in step 311, the saleable inventory number ON is inquired, followed by execution of step 313;
in step 312, the modification of the amount of the stock available for sale for the end of the pre-sale is completed, which specifically includes: inquiring the ON of the marketable inventory quantity, subtracting the residual pre-sales quantity PN from the ON as an updated ON, modifying the ON into the updated ON, deleting the ending processing mark PS to indicate that the modification of the marketable inventory quantity aiming at the end of the pre-sales is finished, and then executing step 313;
in step 313, the amount of sellable inventory is returned, after which step 314 is performed;
in step 314, the query for inventory of goods is terminated.
In step 315, a request for modifying the pre-sale information is received, followed by performing step 316;
in step 316, the pre-sale process identification PS is queried, followed by step 317;
in step 317, judging whether the pre-sale is started according to whether the pre-sale starting time in the pre-sale information is greater than the current system time, if the pre-sale starting time is not greater than the current system time, starting the pre-sale, executing step 318, if the pre-sale starting time is greater than the current system time, not starting the pre-sale, executing step 319;
in step 318, it is determined whether the start processing flag PS exists, if so, step 319 is executed, and if not, step 320 is executed;
in step 319, the pre-sale information is modified based on the modification request;
in step 320, the pre-sale adjusted quantity num is obtained by subtracting the pre-sale quantity before modification from the pre-sale quantity after modification, and then step 321 is executed
In step 321, inquiring the saleable inventory number ON, adding num to the ON to serve as an updated ON, modifying the ON to the updated ON, modifying the pre-sale information according to the modification request, and then executing step 322;
in step 322, modifying the pre-sale information is terminated.
According to the method for acquiring the amount of the sellable inventory, provided by the embodiment of the application, the request for inquiring the inventory of the goods is received, whether the pre-sale information exists is inquired, the amount of the sellable inventory is determined in response to the pre-sale information, based on at least one item of the pre-sale information, the inquired amount of the sellable inventory and the pre-sale processing identification corresponding to the pre-sale information, and finally the determined amount of the sellable inventory is returned, so that the pre-sale processing identification is added to each piece of the pre-sale information, the processing identification is checked in real time when the service request is received, whether the amount of the sellable inventory needs to be modified is determined, the problem of real-time inaccurate inventory caused by the fact that the inventory is acquired in a time delay mode in a timing task mode is avoided, and a large amount of cache operation caused by the timing task mode is reduced. In some embodiments, when there is a pre-sale modification requirement in the pre-sale, the original pre-sale information can be replaced, so as to realize the business requirement of modifying the pre-sale information.
With further reference to fig. 4, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an apparatus for obtaining the amount of the reservable inventory, which corresponds to the method embodiments shown in fig. 1 to 3, and which can be applied to various electronic devices.
As shown in FIG. 4, an apparatus 400 configured to obtain a quantity of sellable inventory may include: a query request receiving unit 410, an inventory quantity query unit 420, a pre-sale information judgment unit 430, an inventory quantity determination unit 440, and an inventory quantity returning unit 450.
Wherein, the query request receiving unit 410 is configured to receive a request for querying the inventory of goods; an inventory quantity query unit 420 configured to query the marketable inventory quantity of the goods; a pre-sale information judgment unit 430 configured to judge whether pre-sale information of goods exists; an inventory quantity determining unit 440 configured to determine a saleable inventory quantity based on at least one of the pre-sale information, the inquired saleable inventory quantity and a pre-sale processing identifier corresponding to the pre-sale information, if the pre-sale information of the goods exists, wherein the pre-sale processing identifier may include a start processing identifier and an end processing identifier; the determined quantity returning unit 450 is configured to return the determined amount of the sellable inventory.
In some optional implementations of this embodiment, the inventory quantity determining unit 440 may include: a pre-sale start judging subunit 441, configured to, in response to that the pre-sale end time of the pre-sale information is greater than the current system time, judge whether the pre-sale start time in the pre-sale information is greater than the current system time; a starting identifier determining subunit 442, configured to determine, in response to that the pre-sale starting time in the pre-sale information is not greater than the current system time, whether a processing starting identifier exists in the pre-sale processing identifier corresponding to the pre-sale information; a first stock determination subunit 443 configured to determine, as the saleable stock quantity, a sum of the inquired saleable stock quantity and the pre-sale quantity in the pre-sale information, and delete the start-process flag, in response to the presence of the start-process flag in the pre-sale process flag of the corresponding pre-sale information.
In some optional implementations of this embodiment, the inventory number determining unit 440 may include: a pre-sale start judging subunit 441, configured to, in response to that the pre-sale end time of the pre-sale information is greater than the current system time, judge whether the pre-sale start time in the pre-sale information is greater than the current system time; a starting identifier determining subunit 442, configured to determine, in response to that the pre-sale starting time in the pre-sale information is not greater than the current system time, whether a processing starting identifier exists in the pre-sale processing identifier corresponding to the pre-sale information; a pre-sale ending judgment subunit 444, configured to respond to that there is no starting processing identifier in the pre-sale processing identifier of the corresponding pre-sale information, and judge whether the pre-sale ending time of the pre-sale information is greater than the current system time; an ending identifier determining subunit 445, configured to determine, in response to that the pre-sale ending time is not greater than the current system time, whether an ending identifier exists in the pre-sale processing identifier of the pre-sale information; the second stock determination subunit 446 is configured to determine, in response to the end process flag being present in the pre-sale process flags corresponding to the pre-sale information, a difference between the inquired reseller amount of the sellable stock minus the remaining pre-sale amount as a sellable stock amount, and delete the end process flag.
In some optional implementations of this embodiment, the inventory quantity determining unit 440 may include: a pre-sale start judging subunit 441, configured to, in response to that the pre-sale end time of the pre-sale information is greater than the current system time, judge whether the pre-sale start time in the pre-sale information is greater than the current system time; and a third inventory determination subunit 447 configured to determine the inquired vendable inventory amount as the vendable inventory amount in response to the pre-sale start time in the pre-sale information being greater than the current system time.
In some optional implementations of this embodiment, the inventory quantity determining unit 440 may include: a pre-sale start judging subunit 441, configured to, in response to that the pre-sale end time of the pre-sale information is greater than the current system time, judge whether the pre-sale start time in the pre-sale information is greater than the current system time; a starting identifier determining subunit 442, configured to determine whether a processing starting identifier exists in the pre-sale processing identifier of the pre-sale information in response to that the pre-sale starting time in the pre-sale information is not greater than the current system time; a pre-sale ending judgment subunit 444, configured to respond to that there is no starting processing identifier in the pre-sale processing identifier corresponding to the pre-sale information, and judge whether the pre-sale ending time of the pre-sale information is greater than the current system time; and a fourth inventory determination subunit 448 configured to determine the inquired vendable inventory amount as the vendable inventory amount in response to the advance end time of the advance information being greater than the current system time.
In some optional implementations of this embodiment, the inventory quantity determining unit 440 may include: a pre-sale start judging subunit 441 configured to, in response to that the pre-sale end time of the pre-sale information is greater than the current system time, judge whether the pre-sale start time in the pre-sale information is greater than the current system time; a start identifier determining subunit 442, configured to determine, in response to that the pre-sale start time in the pre-sale information is not greater than the current system time, whether a start processing identifier exists in the pre-sale processing identifier of the pre-sale information; the pre-sale ending judgment subunit 443, in response to that the pre-sale processing identifier corresponding to the pre-sale information does not have a processing start identifier, judges whether the pre-sale ending time of the pre-sale information is greater than the current system time; an ending mark judging subunit 444, configured to, in response to that the pre-sale ending time of the pre-sale information is not greater than the current system time, judge whether an ending processing mark exists in the pre-sale processing mark of the corresponding pre-sale information; a fifth inventory determination subunit 449, configured to determine the inquired vendable inventory amount as the vendable inventory amount in response to the absence of the end process flag among the pre-sale process flags corresponding to the pre-sale information.
In some optional implementations of this embodiment, the inventory quantity determining unit 440 may include: and a sixth inventory determination subunit (not shown in the figure) configured to determine the inquired vendable inventory amount as the vendable inventory amount in response to the pre-sale end time of the pre-sale information not being greater than the current system time.
In some optional implementations of this embodiment, the apparatus may further include: and a quantity inquiry returning unit configured to return the inquired saleable inventory quantity if there is no pre-sale information (not shown in the figure) of the goods.
In some optional implementations of this embodiment, the apparatus may further include: a modification request receiving unit 460 configured to receive a modification request for the pre-sale information; a pre-sale starting inquiring unit 470 configured to inquire whether the pre-sale starting time of the pre-sale information corresponding to the modification request is greater than the current system time; an adjustment quantity determining unit 480 configured to respond that the pre-sale starting time of the pre-sale information corresponding to the modification request is not greater than the current system time, and a processing starting identifier of the pre-sale information corresponding to the modification request does not exist, and take a difference value obtained by subtracting the original pre-sale quantity from the pre-sale quantity in the modification request as a pre-sale adjustment quantity; the first information modifying unit 490 is configured to determine the sum of the inquired reseller inventory amount and the pre-sale adjustment amount as the reseller inventory amount, and modify the pre-sale information according to the modification request.
In some optional implementations of this embodiment, the apparatus may further include any one of: a second information modification unit (not shown in the figure) configured to modify the pre-sold information according to the modification request in response to the pre-sale start time of the pre-sold information corresponding to the modification request being greater than the current system time; and a third information modifying unit (not shown in the figure) configured to modify the pre-sold information according to the modification request, in response to that the pre-sold start time of the pre-sold information corresponding to the modification request is not greater than the current system time, and the cache has a start processing identifier of the pre-sold information corresponding to the modification request.
In the above-described embodiments of the present application, the first inventory determining subunit, the second inventory determining subunit, the third inventory determining subunit, the fourth inventory determining subunit, the fifth inventory determining subunit, and the sixth inventory determining subunit represent only six units that can obtain the saleable inventory amount based on different determination conditions, and those skilled in the art should understand that the first, second, third, fourth, fifth, or sixth of them does not constitute a specific limitation to the inventory determining subunit.
Similarly, in the above embodiments of the present application, the first information modifying unit, the second information modifying unit, and the third information modifying unit represent only six units that modify the pre-sold information under different conditions, and those skilled in the art should understand that the first, the second, or the third of them does not constitute a specific limitation to the information modifying unit.
It should be understood that the units recited in the apparatus 400 correspond to the various steps in the method described with reference to fig. 2 and 3. Thus, the operations and features described above with respect to the method for obtaining the amount of saleable inventory apply equally to the apparatus 400 and the units contained therein and will not be described in detail here. Corresponding elements in the apparatus 400 may cooperate with elements in the terminal device and/or the server to implement aspects of the embodiments of the present application.
Referring now to FIG. 5, a block diagram of a computer system 500 suitable for use in implementing a terminal device or server of an embodiment of the present application is shown.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present application may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a query request receiving unit, an inventory amount querying unit, a pre-sale information judging unit, an inventory amount determining unit, and an inventory amount returning unit. Where the names of these units do not in some cases constitute a limitation on the units themselves, for example, the query request receiving unit may also be described as a "unit that receives a request to query for inventory of goods".
As another aspect, the present application also provides a non-volatile computer storage medium, which may be the non-volatile computer storage medium included in the apparatus in the above-described embodiments; or it may be a non-volatile computer storage medium that exists separately and is not incorporated into the terminal. The non-transitory computer storage medium stores one or more programs that, when executed by a device, cause the device to: receiving a request to query inventory of goods; inquiring the marketable inventory quantity of the goods; judging whether the pre-sale information of the goods exists or not; if the pre-sale information of the goods exists, determining the amount of the sellable inventory based on at least one item of the pre-sale information, the inquired amount of the sellable inventory and a pre-sale processing identifier corresponding to the pre-sale information, wherein the pre-sale processing identifier comprises a start processing identifier and an end processing identifier; returning the determined amount of saleable inventory.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (14)

1. A method for obtaining a quantity of sellable inventory, the method comprising:
receiving a request to query inventory of goods;
querying a marketable inventory quantity of the goods;
judging whether the pre-sale information of the goods exists or not;
if the pre-sale information of the goods exists, determining the amount of the sellable inventory based on at least one item of the pre-sale information, the inquired amount of the sellable inventory and a pre-sale processing identifier corresponding to the pre-sale information, wherein the pre-sale processing identifier comprises a start processing identifier and an end processing identifier;
returning the determined amount of saleable inventory; the determining the amount of the resellerable inventory based on at least one of the pre-sale information, the queried amount of the resellerable inventory, and the identification of the pre-sale process corresponding to the pre-sale information comprises:
responding to that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time;
responding to the fact that the pre-sale starting time in the pre-sale information is not larger than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier corresponding to the pre-sale information or not;
and in response to the existence of the starting processing identifier in the pre-sale processing identifiers corresponding to the pre-sale information, determining the sum of the inquired amount of the sellable inventory and the pre-sale amount in the pre-sale information as the amount of the sellable inventory, and deleting the starting processing identifier.
2. The method of claim 1, wherein determining the amount of sellable inventory based on at least one of the pre-sale information, the queried amount of sellable inventory, and the identification of the pre-sale process corresponding to the pre-sale information comprises:
responding to that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time;
responding to the fact that the pre-sale starting time in the pre-sale information is not larger than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier corresponding to the pre-sale information or not;
responding to the fact that the pre-sale processing identification corresponding to the pre-sale information does not have a processing starting identification, and judging whether the pre-sale finishing time of the pre-sale information is larger than the current system time;
responding to the fact that the pre-sale finishing time is not larger than the current system time, and judging whether a finishing mark exists in the pre-sale processing marks of the pre-sale information or not;
and in response to the existence of the ending processing identifier in the pre-sale processing identifiers corresponding to the pre-sale information, determining the difference between the inquired amount of the sellable inventory and the residual pre-sale amount as the amount of the sellable inventory, and deleting the ending processing identifier.
3. The method of claim 1, wherein the determining the amount of resellerable inventory based on at least one of the reseller information, the queried amount of reseller inventory, and the identification of the reseller process corresponding to the reseller information comprises any one of 1), 2), 3), 4):
1) responding to that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time; determining the inquired vendible inventory quantity as a vendible inventory quantity in response to the pre-sale starting time in the pre-sale information being greater than the current system time;
2) responding to that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time; responding to the fact that the pre-sale starting time in the pre-sale information is not larger than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier of the pre-sale information or not; responding to the fact that the pre-sale processing identification corresponding to the pre-sale information does not have a processing starting identification, and judging whether the pre-sale finishing time of the pre-sale information is larger than the current system time; determining the inquired vendible inventory quantity as a vendible inventory quantity in response to the pre-sale ending time of the pre-sale information being greater than the current system time;
3) responding to that the pre-sale finishing time of the pre-sale information is larger than the current system time, and judging whether the pre-sale starting time in the pre-sale information is larger than the current system time; responding to the fact that the pre-sale starting time in the pre-sale information is not larger than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier of the pre-sale information or not; responding to the fact that no processing starting identification exists in the pre-selling processing identification corresponding to the pre-selling information, and judging whether the pre-selling finishing time of the pre-selling information is larger than the current system time or not; responding to the fact that the pre-sale finishing time of the pre-sale information is not larger than the current system time, and judging whether a finishing mark exists in the pre-sale processing mark corresponding to the pre-sale information; determining the inquired vendible inventory quantity as a vendible inventory quantity in response to the fact that the pre-sale processing identification corresponding to the pre-sale information does not have an ending processing identification;
4) and determining the inquired vendable inventory amount as the vendable inventory amount in response to the pre-sale end time of the pre-sale information not being greater than the current system time.
4. The method according to any one of claims 1-3, further comprising:
if the pre-sale information of the goods does not exist, the inquired amount of the sellable inventory is returned.
5. The method according to any one of claims 1-3, further comprising:
receiving a modification request for the pre-sale information;
inquiring whether the pre-sale starting time of the pre-sale information corresponding to the modification request is greater than the current system time;
responding that the pre-sale starting time of the pre-sale information corresponding to the modification request is not larger than the current system time, and a processing starting identifier of the pre-sale information corresponding to the modification request does not exist, and taking a difference value obtained by subtracting the original pre-sale quantity from the pre-sale quantity in the modification request as a pre-sale adjustment quantity;
and determining the sum of the inquired amount of the sellable inventory and the pre-sale adjustment amount as the amount of the sellable inventory, and modifying the pre-sale information according to the modification request.
6. The method of claim 5, further comprising any one of:
in response to the fact that the pre-sale starting time of the pre-sale information corresponding to the modification request is larger than the current system time, modifying the pre-sale information according to the modification request;
and responding that the pre-sale starting time of the pre-sale information corresponding to the modification request is not more than the current system time, and the cache has a processing starting identifier of the pre-sale information corresponding to the modification request, and modifying the pre-sale information according to the modification request.
7. An apparatus for obtaining a quantity of sellable inventory, the apparatus comprising:
a query request receiving unit for receiving a request for querying inventory of goods;
the inventory quantity inquiry unit is used for inquiring the saleable inventory quantity of the goods;
the pre-sale information judging unit is used for judging whether the pre-sale information of the goods exists or not;
the inventory quantity determining unit is used for determining the amount of the sellable inventory based on at least one item of the pre-sale information, the inquired amount of the sellable inventory and a pre-sale processing identifier corresponding to the pre-sale information if the pre-sale information of the goods exists, wherein the pre-sale processing identifier comprises a start processing identifier and an end processing identifier;
a determined quantity returning unit for returning the determined amount of the sellable inventory; the stock quantity determination unit includes:
the pre-sale starting judging subunit is used for responding to the situation that the pre-sale finishing time of the pre-sale information is greater than the current system time, and judging whether the pre-sale starting time in the pre-sale information is greater than the current system time or not;
the starting identifier judging subunit is used for responding that the pre-sale starting time in the pre-sale information is not greater than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier corresponding to the pre-sale information;
and the first stock determining subunit is used for determining the sum of the inquired quantity of the sellable stocks and the pre-sale quantity in the pre-sale information as the quantity of the sellable stocks in response to the existence of the starting processing identification in the pre-sale processing identification corresponding to the pre-sale information, and deleting the starting processing identification.
8. The apparatus of claim 7, wherein the stock quantity determining unit comprises:
the pre-sale starting judging subunit is used for responding to the situation that the pre-sale finishing time of the pre-sale information is greater than the current system time, and judging whether the pre-sale starting time in the pre-sale information is greater than the current system time or not;
the starting identifier judging subunit is used for responding that the pre-sale starting time in the pre-sale information is not greater than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier corresponding to the pre-sale information;
the pre-sale ending judgment subunit is used for responding to the situation that the pre-sale processing identifier corresponding to the pre-sale information does not have a processing starting identifier, and judging whether the pre-sale ending time of the pre-sale information is greater than the current system time;
the end mark judging subunit is used for responding to the fact that the pre-sale end time is not greater than the current system time, and judging whether the pre-sale processing mark of the pre-sale information has an end processing mark or not;
and a second stock determination subunit, configured to determine, in response to the end processing flag existing in the pre-sale processing flags corresponding to the pre-sale information, a difference between the inquired reselling stock quantity minus the remaining pre-sale quantity as a reselling stock quantity, and delete the end processing flag.
9. The apparatus according to claim 7, wherein the stock quantity determination unit includes any one of 1), 2), 3), 4):
1) the pre-sale starting judging subunit is used for responding that the pre-sale finishing time of the pre-sale information is greater than the current system time, and judging whether the pre-sale starting time in the pre-sale information is greater than the current system time; and a third stock determining subunit, configured to determine, in response to the advance sale start time in the advance sale information being greater than the current system time, the inquired sellable stock quantity as a sellable stock quantity;
2) the pre-sale starting judging subunit is used for responding that the pre-sale finishing time of the pre-sale information is greater than the current system time, and judging whether the pre-sale starting time in the pre-sale information is greater than the current system time; the starting identifier judging subunit is used for responding that the pre-sale starting time in the pre-sale information is not greater than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier of the pre-sale information or not; the pre-sale ending judgment subunit is used for responding to the situation that the pre-sale processing identifier corresponding to the pre-sale information does not have a processing starting identifier, and judging whether the pre-sale ending time of the pre-sale information is greater than the current system time; and a fourth inventory determination subunit, configured to determine, in response to that the pre-sale end time of the pre-sale information is greater than the current system time, the inquired vendible inventory amount as a vendible inventory amount;
3) the pre-sale starting judging subunit is used for responding that the pre-sale finishing time of the pre-sale information is greater than the current system time, and judging whether the pre-sale starting time in the pre-sale information is greater than the current system time; the starting identifier judging subunit is used for responding that the pre-sale starting time in the pre-sale information is not greater than the current system time, and judging whether a processing starting identifier exists in the pre-sale processing identifier of the pre-sale information or not; the pre-sale ending judgment subunit responds to the fact that the pre-sale processing identifier corresponding to the pre-sale information does not have a processing starting identifier, and judges whether the pre-sale ending time of the pre-sale information is larger than the current system time or not; the end mark judging subunit is used for responding that the pre-sale end time of the pre-sale information is not greater than the current system time, and judging whether an end processing mark exists in the pre-sale processing mark corresponding to the pre-sale information; a fifth inventory determination subunit, configured to determine, in response to that there is no ending processing identifier in the pre-sale processing identifiers corresponding to the pre-sale information, the inquired vendable inventory amount as a vendable inventory amount;
4) a sixth inventory determination subunit operable to determine the inquired sellable inventory amount as a sellable inventory amount in response to the advance sale end time of the advance sale information not being greater than the current system time.
10. The apparatus of any one of claims 7-9, further comprising:
and the quantity inquiry returning unit is used for returning the inquired quantity of the sellable inventory if the pre-sale information of the goods does not exist.
11. The apparatus of any one of claims 7-9, further comprising:
a modification request receiving unit for receiving a modification request for the pre-sale information;
the pre-sale starting query unit is used for querying whether the pre-sale starting time of the pre-sale information corresponding to the modification request is greater than the current system time;
the adjustment quantity determining unit is used for responding that the pre-sale starting time of the pre-sale information corresponding to the modification request is not larger than the current system time, and a processing starting identifier of the pre-sale information corresponding to the modification request does not exist, and taking a difference value obtained by subtracting the original pre-sale quantity from the pre-sale quantity in the modification request as a pre-sale adjustment quantity;
and the first information modifying unit is used for determining the sum of the inquired amount of the sellable inventory and the pre-sale adjusting amount as the amount of the sellable inventory and modifying the pre-sale information according to the modifying request.
12. The apparatus of claim 11, further comprising any one of:
the second information modifying unit is used for responding that the pre-sale starting time of the pre-sale information corresponding to the modifying request is larger than the current system time, and modifying the pre-sale information according to the modifying request;
and the third information modifying unit is used for responding that the pre-sale starting time of the pre-sale information corresponding to the modifying request is not more than the current system time, and the cache has a processing starting identifier of the pre-sale information corresponding to the modifying request, and modifying the pre-sale information according to the modifying request.
13. An apparatus for obtaining a quantity of sellable inventory, comprising:
a memory; and a processor coupled to the memory, the processor configured to perform the method for obtaining a saleable inventory quantity of any one of claims 1 to 6, based on instructions stored in the memory.
14. A computer-readable storage medium storing computer instructions which, when executed by a processor, implement the method for obtaining a marketable inventory quantity according to any one of claims 1 to 6.
CN201610860647.0A 2016-09-28 2016-09-28 Method and device for acquiring amount of marketable inventory Active CN107871221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610860647.0A CN107871221B (en) 2016-09-28 2016-09-28 Method and device for acquiring amount of marketable inventory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610860647.0A CN107871221B (en) 2016-09-28 2016-09-28 Method and device for acquiring amount of marketable inventory

Publications (2)

Publication Number Publication Date
CN107871221A CN107871221A (en) 2018-04-03
CN107871221B true CN107871221B (en) 2022-07-05

Family

ID=61761348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610860647.0A Active CN107871221B (en) 2016-09-28 2016-09-28 Method and device for acquiring amount of marketable inventory

Country Status (1)

Country Link
CN (1) CN107871221B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110599277A (en) * 2018-06-12 2019-12-20 北京京东尚科信息技术有限公司 Inventory deduction method and device
CN109872100A (en) * 2018-12-28 2019-06-11 航天信息股份有限公司 A kind of product oil inventory change management method and system
CN110310060B (en) * 2019-05-27 2023-10-24 创新先进技术有限公司 Inventory management method and device based on fragments
CN110532227B (en) * 2019-08-23 2022-05-24 广东浪潮大数据研究有限公司 Job quantity query method and device
CN111461599B (en) * 2020-03-30 2024-04-09 京东科技控股股份有限公司 Mode state switching method and device, storage medium and electronic device
CN112749199A (en) * 2021-01-25 2021-05-04 上海伯俊软件科技有限公司 Inventory management method
CN113159680B (en) * 2021-04-19 2023-11-03 北京京东振世信息技术有限公司 Inventory preemption method, apparatus, electronic device, and computer-readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464457A (en) * 2002-06-06 2003-12-31 英业达股份有限公司 Method and system for online real time shipment control
US8527373B1 (en) * 2008-03-21 2013-09-03 Amazon Technologies, Inc. Fulfillment of orders
CN104883670A (en) * 2015-04-23 2015-09-02 叶宁 Internet system and data transmission method
CN105096015A (en) * 2014-04-23 2015-11-25 阿里巴巴集团控股有限公司 Information processing method and system of commodity object
CN105468690A (en) * 2015-11-17 2016-04-06 中国建设银行股份有限公司 Inventory data processing method and device
CN105809393A (en) * 2016-03-01 2016-07-27 成都市泰象网络科技有限公司 System and method for automatically synchronizing e-commerce platform with company's inventory

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464457A (en) * 2002-06-06 2003-12-31 英业达股份有限公司 Method and system for online real time shipment control
US8527373B1 (en) * 2008-03-21 2013-09-03 Amazon Technologies, Inc. Fulfillment of orders
CN105096015A (en) * 2014-04-23 2015-11-25 阿里巴巴集团控股有限公司 Information processing method and system of commodity object
CN104883670A (en) * 2015-04-23 2015-09-02 叶宁 Internet system and data transmission method
CN105468690A (en) * 2015-11-17 2016-04-06 中国建设银行股份有限公司 Inventory data processing method and device
CN105809393A (en) * 2016-03-01 2016-07-27 成都市泰象网络科技有限公司 System and method for automatically synchronizing e-commerce platform with company's inventory

Also Published As

Publication number Publication date
CN107871221A (en) 2018-04-03

Similar Documents

Publication Publication Date Title
CN107871221B (en) Method and device for acquiring amount of marketable inventory
CN107909261B (en) Order pushing method and device
CN110866709B (en) Method and device for merging orders
WO2018019139A1 (en) Information pushing method and device
CN110019330B (en) Information output method and device
CN110033337B (en) Order production method and device
CN107844927B (en) Method and device for improving warehousing and ex-warehouse efficiency
CN110738436B (en) Method and device for determining available inventory
CN111861298A (en) Order canceling method and device
CN112668924A (en) Logistics transport capacity allocation method, device and system
CN108154328A (en) Time prompting method, apparatus, electronic equipment and computer readable storage medium
CN110543604A (en) information processing method and device
CN113763100B (en) Order processing method and device
CN109426878B (en) Method and apparatus for outputting information
CN108985673B (en) Inventory list generation method and device
WO2019015254A1 (en) Information processing method and device
CN110858350A (en) Order processing method and system, computer system and computer readable storage medium
JP2019101827A (en) Multi-store management system, multi-store management device, multi-store management method, and program
WO2019033676A1 (en) Order processing method and device
CN111784931B (en) Method and apparatus for sharing distribution boxes
CN110858209B (en) Business object access/release method, device and system and electronic equipment
WO2023202107A1 (en) Package information updating method and apparatus
JP2010086055A (en) Inventory management device, inventory management method, and program
CN113240367B (en) Order processing method and system
CN102739562A (en) Method and device for sending collection information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant