CN108053158A - Commodity stocks determines method and device - Google Patents

Commodity stocks determines method and device Download PDF

Info

Publication number
CN108053158A
CN108053158A CN201711270073.2A CN201711270073A CN108053158A CN 108053158 A CN108053158 A CN 108053158A CN 201711270073 A CN201711270073 A CN 201711270073A CN 108053158 A CN108053158 A CN 108053158A
Authority
CN
China
Prior art keywords
commodity
end article
user
privilege card
stockpile number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711270073.2A
Other languages
Chinese (zh)
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.)
TVM Beijing Technology Co Ltd
Original Assignee
TVM Beijing 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 TVM Beijing Technology Co Ltd filed Critical TVM Beijing Technology Co Ltd
Priority to CN201711270073.2A priority Critical patent/CN108053158A/en
Publication of CN108053158A publication Critical patent/CN108053158A/en
Pending legal-status Critical Current

Links

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
    • 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]
    • 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/0609Buyer or seller confidence or verification

Landscapes

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

Abstract

The disclosure is directed to commodity stocks to determine method and device, wherein, method includes:When receiving commodity privilege card input by user using instruction, the commodity purchasing permission of the commodity privilege card is obtained;The stockpile number of end article is determined according to the commodity purchasing permission of commodity privilege card, and shows the stockpile number of the end article;According to end article quantity purchase input by user, the current stockpile number of the end article is adjusted.By the technical solution, commodity can be bought using the mode for brushing purchase link is stolen to avoid the user of no purchase qualification.

Description

Commodity stocks determines method and device
Technical field
This disclosure relates to merchandise control technical field more particularly to a kind of commodity stocks determine method and device.
Background technology
Privilege card is a purchase qualification, and user shows privilege card, then user has the qualification of purchase particular commodity.It is existing Server is beforehand with certain quantity in stock in technology, and user buys a commodity stocks and subtracts one.Corresponding particular commodity, only buys The user of qualification can just buy.But if someone, which steals, has brushed purchase link, the commodity can also be bought by not buying qualification, Because in stock.
The content of the invention
The embodiment of the present disclosure provides a kind of commodity stocks and determines method and device, including following technical solution:
According to the embodiment of the present disclosure in a first aspect, providing a kind of commodity stocks determines method, for server, including:
When receiving commodity privilege card input by user using instruction, the commodity purchasing power of the commodity privilege card is obtained Limit;
The stockpile number of end article is determined according to the commodity purchasing permission of commodity privilege card, and shows the target The stockpile number of commodity;
According to end article quantity purchase input by user, the current stockpile number of the end article is adjusted.
In one embodiment, the described method includes:
When the stockpile number of the end article is zero, user is forbidden to buy the commodity, otherwise, user is allowed to buy The commodity.
In one embodiment, the commodity purchasing permission according to commodity privilege card determines the stock of end article Quantity, including:
Determine that the commodity privilege card can purchase the end article according to the commodity purchasing permission of commodity privilege card Quantity;
The quantity of the commercially available end article of commodity privilege card is determined as to the stockpile number of the end article.
In one embodiment, it is described according to end article quantity purchase input by user, adjust the end article Current stockpile number, including:
Before obtaining user's input end article quantity purchase, the initial inventory quantity of the end article;
Calculate the difference between the initial inventory quantity and the quantity purchase;
The difference is determined as to the current stockpile number of the end article.
According to the second aspect of the embodiment of the present disclosure, a kind of commodity stocks determining device is provided, for server, including:
Acquisition module, for when receiving commodity privilege card input by user using instruction, obtaining the commodity privilege The commodity purchasing permission of card;
Determining module, for determining the stockpile number of end article according to the commodity purchasing permission of commodity privilege card, And show the stockpile number of the end article;
Module is adjusted, for according to end article quantity purchase input by user, adjusting the current storehouse of the end article Deposit quantity.
In one embodiment, described device further includes:
Processing module, it is no for user when the stockpile number of the end article is zero, to be forbidden to buy the commodity Then, user is allowed to buy the commodity.
In one embodiment, the determining module includes:
First determination sub-module, for determining the commodity privilege card according to the commodity purchasing permission of commodity privilege card It can purchase the quantity of the end article;
Second determination sub-module, the quantity for commodity privilege card to can purchase to the end article are determined as described The stockpile number of end article.
In one embodiment, the adjustment module includes:
Acquisition submodule, for obtaining before user inputs the end article quantity purchase, the end article it is initial Stockpile number;
Computational submodule, for calculating the difference between the initial inventory quantity and the quantity purchase;
3rd determination sub-module, for the difference to be determined as to the current stockpile number of the end article.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Above-mentioned technical proposal determines the inventory of end article according to the commodity purchasing permission of the commodity of user privilege card It measures, and the current stockpile number of end article is adjusted according to the quantity purchase of end article input by user, so so that even if User, which steals, brushes purchase link, also buys less than commodity, because without stock, so as to which the user for not buying qualification be avoided to use The mode for stealing brush purchase link buys commodity.
It should be appreciated that above general description and following detailed description are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and for explaining the principle of the disclosure together with specification.
Fig. 1 is the flow chart that method is determined according to a kind of commodity stocks shown in an exemplary embodiment.
Fig. 2 is the flow chart that method is determined according to another commodity stocks shown in an exemplary embodiment.
Fig. 3 is the flow chart that method is determined according to another commodity stocks shown in an exemplary embodiment.
Fig. 4 is the flow chart that step S103 in method is determined according to a kind of commodity stocks shown in an exemplary embodiment.
Fig. 5 is the block diagram according to a kind of commodity stocks determining device shown in an exemplary embodiment.
Fig. 6 is the block diagram according to another commodity stocks determining device shown in an exemplary embodiment.
Fig. 7 is the block diagram according to determining module in a kind of commodity stocks determining device shown in an exemplary embodiment.
Fig. 8 is according to the block diagram that module is adjusted in a kind of commodity stocks determining device shown in an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is the flow chart that method is determined according to a kind of commodity stocks shown in an exemplary embodiment.
The embodiment of the present disclosure provides a kind of commodity stocks and determines method, and this method can be used in server, such as Fig. 1 institutes Show, the method comprising the steps of S101-S103:
In step S101, when receiving commodity privilege card input by user using instruction, commodity privilege card is obtained Commodity purchasing permission;
In step s 102, the stockpile number of end article is determined according to the commodity purchasing permission of commodity privilege card, and shown Show the stockpile number of end article;
In step s 103, according to end article quantity purchase input by user, the current inventory of end article is adjusted Amount.
In this embodiment, the inventory of end article is determined according to the commodity purchasing permission of the commodity of user privilege card It measures, and the current stockpile number of end article is adjusted according to the quantity purchase of end article input by user, so so that even if User, which steals, brushes purchase link, also buys less than commodity, because without stock, so as to which the user for not buying qualification be avoided to use The mode for stealing brush purchase link buys commodity.
Fig. 2 is the flow chart that method is determined according to another commodity stocks shown in an exemplary embodiment.
As shown in Fig. 2, in one embodiment, the above method further includes step S201:
In step s 201, when the stockpile number of end article is zero, user is forbidden to buy commodity, otherwise, allows to use Buy commodity in family.
In this embodiment, the stockpile number of end article is zero, then user just cannot be bought, so as to avoid not having The user for buying qualification buys commodity using the mode for brushing purchase link is stolen.
Fig. 3 is the flow chart that method is determined according to another commodity stocks shown in an exemplary embodiment.
As shown in figure 3, in one embodiment, above-mentioned steps S102 includes step S301- steps S302:
In step S301, the commercially available end article of commodity privilege card is determined according to the commodity purchasing permission of commodity privilege card Quantity;
In step s 302, the quantity of the commercially available end article of commodity privilege card is determined as to the inventory of end article Amount.
In this embodiment, the quantity of the commercially available end article of commodity privilege card is determined as its stockpile number, in this way, can Steal brush purchase link purchase commodity by other means to avoid user.
Fig. 4 is the flow chart that step S103 in method is determined according to a kind of commodity stocks shown in an exemplary embodiment.
As shown in figure 4, in one embodiment, above-mentioned steps S103 includes step S401-S403:
In step S401, before obtaining user's input end article quantity purchase, the initial inventory quantity of end article;
In step S402, the difference between initial inventory quantity and quantity purchase is calculated;
In step S403, difference is determined as to the current stockpile number of end article.
In this embodiment, the quantity for end article being bought according to user adjusts current stockpile number at any time, so as to avoid User buys commodity by stealing to brush to buy to link to steal.For example, initial inventory quantity is 2, user has purchased 1, then current storehouse It is then 2-1=1 to deposit quantity.And if initial inventory quantity is 1, user has purchased 1, then currently stockpile number is then 1-1=0, i.e., user cannot be bought again.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Fig. 5 is according to a kind of block diagram of commodity stocks determining device shown in an exemplary embodiment, which can lead to Cross software, hardware or both be implemented in combination with it is some or all of as server.As shown in figure 5, the commodity stocks is true Determining device includes:
Acquisition module 51, for when receiving commodity privilege card input by user using instruction, it is special to obtain the commodity Weigh the commodity purchasing permission of card;
Determining module 52, for determining the inventory of end article according to the commodity purchasing permission of commodity privilege card Amount, and show the stockpile number of the end article;
Module 53 is adjusted, for according to end article quantity purchase input by user, adjusting the current of the end article Stockpile number.
Fig. 6 is the block diagram according to another commodity stocks determining device shown in an exemplary embodiment.
As shown in fig. 6, in one embodiment, above device further includes:
Processing module 61, it is no for user when the stockpile number of the end article is zero, to be forbidden to buy the commodity Then, user is allowed to buy the commodity.
Fig. 7 is the block diagram according to determining module in a kind of commodity stocks determining device shown in an exemplary embodiment.
As shown in fig. 7, in one embodiment, the determining module 52 includes:
First determination sub-module 71, for determining the commodity privilege according to the commodity purchasing permission of commodity privilege card Card can purchase the quantity of the end article;
Second determination sub-module 72, the quantity for commodity privilege card to can purchase to the end article are determined as institute State the stockpile number of end article.
Fig. 8 is according to the block diagram that module is adjusted in a kind of commodity stocks determining device shown in an exemplary embodiment.
As shown in figure 8, in one embodiment, the adjustment module 53 includes:
Acquisition submodule 81, before obtaining user's input end article quantity purchase, at the beginning of the end article Beginning stockpile number;
Computational submodule 82, for calculating the difference between the initial inventory quantity and the quantity purchase;
3rd determination sub-module 83, for the difference to be determined as to the current stockpile number of the end article.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these modification and variations.

Claims (8)

1. a kind of commodity stocks determines method, for server, which is characterized in that including:
When receiving commodity privilege card input by user using instruction, the commodity purchasing permission of the commodity privilege card is obtained;
The stockpile number of end article is determined according to the commodity purchasing permission of commodity privilege card, and shows the end article Stockpile number;
According to end article quantity purchase input by user, the current stockpile number of the end article is adjusted.
2. according to the method described in claim 1, it is characterized in that, the described method includes:
When the stockpile number of the end article is zero, user is forbidden to buy the commodity, otherwise, allowed described in user's purchase Commodity.
3. the according to the method described in claim 1, it is characterized in that, commodity purchasing permission according to commodity privilege card Determine the stockpile number of end article, including:
Determine that the commodity privilege card can purchase the number of the end article according to the commodity purchasing permission of commodity privilege card Amount;
The quantity of the commercially available end article of commodity privilege card is determined as to the stockpile number of the end article.
4. according to the method described in claim 1, it is characterized in that, described according to end article quantity purchase input by user, The current stockpile number of the end article is adjusted, including:
Before obtaining user's input end article quantity purchase, the initial inventory quantity of the end article;
Calculate the difference between the initial inventory quantity and the quantity purchase;
The difference is determined as to the current stockpile number of the end article.
5. a kind of commodity stocks determining device, for server, which is characterized in that including:
Acquisition module, for when receiving commodity privilege card input by user using instruction, obtaining the commodity privilege card Commodity purchasing permission;
Determining module for determining the stockpile number of end article according to the commodity purchasing permission of commodity privilege card, and is shown Show the stockpile number of the end article;
Module is adjusted, for according to end article quantity purchase input by user, adjusting the current inventory of the end article Amount.
6. device according to claim 5, which is characterized in that described device further includes:
Processing module for user when the stockpile number of the end article is zero, to be forbidden to buy the commodity, otherwise, permits Buy the commodity in family allowable.
7. device according to claim 5, which is characterized in that the determining module includes:
First determination sub-module, for determining that the commodity privilege card is commercially available according to the commodity purchasing permission of commodity privilege card Buy the quantity of the end article;
Second determination sub-module, the quantity for commodity privilege card to can purchase to the end article are determined as the target The stockpile number of commodity.
8. device according to claim 5, which is characterized in that the adjustment module includes:
Acquisition submodule, before obtaining user's input end article quantity purchase, the initial inventory of the end article Quantity;
Computational submodule, for calculating the difference between the initial inventory quantity and the quantity purchase;
3rd determination sub-module, for the difference to be determined as to the current stockpile number of the end article.
CN201711270073.2A 2017-12-05 2017-12-05 Commodity stocks determines method and device Pending CN108053158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711270073.2A CN108053158A (en) 2017-12-05 2017-12-05 Commodity stocks determines method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711270073.2A CN108053158A (en) 2017-12-05 2017-12-05 Commodity stocks determines method and device

Publications (1)

Publication Number Publication Date
CN108053158A true CN108053158A (en) 2018-05-18

Family

ID=62122080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711270073.2A Pending CN108053158A (en) 2017-12-05 2017-12-05 Commodity stocks determines method and device

Country Status (1)

Country Link
CN (1) CN108053158A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112613660A (en) * 2020-12-23 2021-04-06 云汉芯城(上海)互联网科技股份有限公司 Order matching method, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104376472A (en) * 2013-08-15 2015-02-25 林宛姿 Cross-website shopping server and cross-website online shopping realization method
CN106022882A (en) * 2016-05-20 2016-10-12 北京小米移动软件有限公司 Method and device for adding shopping cart
CN106157050A (en) * 2015-04-13 2016-11-23 深圳好父母婴幼儿用品有限公司 A kind of social networks purchase system
CN106952067A (en) * 2017-03-17 2017-07-14 杭州纳戒科技有限公司 Inventory management method, apparatus and system
CN106997546A (en) * 2016-01-26 2017-08-01 中国移动通信集团安徽有限公司 A kind of order processing method and device
CN107240000A (en) * 2017-06-05 2017-10-10 北京大想智能科技有限公司 Automatic selling method, system and electronic equipment
CN107341624A (en) * 2016-04-29 2017-11-10 苏宁云商集团股份有限公司 A kind of processing method and processing device of business datum

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104376472A (en) * 2013-08-15 2015-02-25 林宛姿 Cross-website shopping server and cross-website online shopping realization method
CN106157050A (en) * 2015-04-13 2016-11-23 深圳好父母婴幼儿用品有限公司 A kind of social networks purchase system
CN106997546A (en) * 2016-01-26 2017-08-01 中国移动通信集团安徽有限公司 A kind of order processing method and device
CN107341624A (en) * 2016-04-29 2017-11-10 苏宁云商集团股份有限公司 A kind of processing method and processing device of business datum
CN106022882A (en) * 2016-05-20 2016-10-12 北京小米移动软件有限公司 Method and device for adding shopping cart
CN106952067A (en) * 2017-03-17 2017-07-14 杭州纳戒科技有限公司 Inventory management method, apparatus and system
CN107240000A (en) * 2017-06-05 2017-10-10 北京大想智能科技有限公司 Automatic selling method, system and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112613660A (en) * 2020-12-23 2021-04-06 云汉芯城(上海)互联网科技股份有限公司 Order matching method, device and storage medium

Similar Documents

Publication Publication Date Title
Li et al. Impact of decision sequence on reliability enhancement with supply disruption risks
CN104036405A (en) Method and device for processing virtual resource trade order
US10928808B2 (en) Enabling a processing step for an object to be processed
Rong et al. Bullwhip and reverse bullwhip effects under the rationing game
CN105469294A (en) Purchase request processing method and purchase request processing device
Chen et al. A new approach to two-location joint inventory and transshipment control via L♮-convexity
US9135610B2 (en) Software application license roaming
CN109242530A (en) Commodity purchasing method and device based on membership grade
CN109670965A (en) Processing method and processing device, storage medium, the computer equipment of funds data
CN105190546B (en) Cost computing device, the method for cost accounting and computer readable recording medium storing program for performing
KR20150131422A (en) Method for operating server providing flatform service for manufacturing product
CN108053158A (en) Commodity stocks determines method and device
Al‐Gwaiz et al. Capacity expansion and cost efficiency improvement in the warehouse problem
CN106570709A (en) Transaction processing method and apparatus, and electronic equipment
CN107295052A (en) A kind of method for processing business and device
JP6294193B2 (en) Transaction management system and transaction management method
CN109064089A (en) A kind of method of commodity transaction, purchaser terminal, device and electronic equipment
CN111327565A (en) Block chaining and deblocking method and system
CN107563636A (en) Approval process management method, device and storage medium
KR101797684B1 (en) Method for providing reverse purchasing and server using the same
KR101253646B1 (en) Goods purchase agent system
US20210073798A1 (en) Product payment device and payment method utilizing a blockchain system, and non-transitory storage medium
Chen et al. Multiseason production planning under export quotas
CN108734461B (en) Processing method of prepaid virtual resource and terminal equipment
CN104217337B (en) The exchange numerical value of virtual objects determines method and device

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