CN109377120A - Inventory management method, device and electronic equipment based on cloud service - Google Patents

Inventory management method, device and electronic equipment based on cloud service Download PDF

Info

Publication number
CN109377120A
CN109377120A CN201810951747.3A CN201810951747A CN109377120A CN 109377120 A CN109377120 A CN 109377120A CN 201810951747 A CN201810951747 A CN 201810951747A CN 109377120 A CN109377120 A CN 109377120A
Authority
CN
China
Prior art keywords
order
stockpile number
cache database
data library
truthful data
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
CN201810951747.3A
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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201810951747.3A priority Critical patent/CN109377120A/en
Publication of CN109377120A publication Critical patent/CN109377120A/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]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (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

This application provides a kind of inventory management method based on cloud service, device and electronic equipments.This method comprises: deducting the corresponding stockpile number of the order in advance in preset cache database and truthful data library when receiving the prepaid message of any order;When the stockpile number for detecting cache database is zero, determine whether the stockpile number in truthful data library is consistent with the stockpile number of cache database;If consistent, corresponding each order information is determined according to the stockpile number deducted in cache database, and each order information is stored to truthful data library.The application utilizes caching technology, the mode that stockpile number is deducted in advance in cache database and truthful data library, convenient for quickly updating stockpile number according to the lower one-state of user, to purchase by group, the second panic buying scene such as kills and provides accurate stock control function, and pass through the comparing of cache database and truthful data library, ensure the accuracy and reliability of stock control.

Description

Inventory management method, device and electronic equipment based on cloud service
Technical field
This application involves Internet technical fields, specifically, this application involves a kind of stock controls based on cloud service Method, apparatus and electronic equipment.
Background technique
By the extensibility and convenience of internet, supplier, retail trader and client organically connect, form The e-commerce economic model to sweep the country.It is more and more perfect in network supervision technology, means of payment more and more flexible today, Trading activity based on e-commerce becomes ubiquitous.Wherein, stock control is as a ring important in electric business bargain link, Directly influence signing a bill and fulfiling for electric business transaction.
Stock control on the market at present will detain inventory when single under user.The scene of stockpile number sensitivity is come It says, there are biggish risk for this inventory management mode.For example it is not especially more scenes that the second, which kills equal stockpile numbers, if competing It strives opponent maliciously to remove lower many orders and trigger inventory's lock to lock inventory, will lead to normal users can not normally buy heat Door product, influences user experience.And rollback database Long routine easy to form is carried out again after triggering inventory's lock, practice chain passes by Long, complexity and the degree of coupling are too high.
Summary of the invention
To overcome above-mentioned technical problem or at least being partially solved above-mentioned technical problem, spy proposes following technical scheme:
In a first aspect, this application provides a kind of inventory management methods, this method comprises:
It is pre- in preset cache database and truthful data library to deduct when receiving the prepaid message of any order The corresponding stockpile number of the order;
When the stockpile number for detecting cache database is zero, determine truthful data library stockpile number whether with caching The stockpile number of database is consistent;
If consistent, corresponding each order information is determined according to the stockpile number deducted in cache database, and Each order information is stored to truthful data library.
Further, when receiving the prepaid message of any order, in preset cache database and truthful data library In deduct the corresponding stockpile number of the order in advance after, further includes:
When detecting any order failure, the stockpile number of the corresponding pre- deduction of the order is determined;
The stockpile number of the corresponding pre- deduction of the order is added in cache database and truthful data library.
Second aspect, this application provides a kind of stock control device, which includes:
It is pre- to deduct module, when for receiving the prepaid message of any order, in preset cache database and true The corresponding stockpile number of the order is deducted in database in advance;
Database comparison module, for determining truthful data library when the stockpile number for detecting cache database is zero Stockpile number it is whether consistent with the stockpile number of cache database;
True discount stock model, if for consistent, it is right respectively according to the stockpile number determination deducted in cache database The each order information answered, and each order information is stored to truthful data library.
Further, the device further include:
Order failure detection module, for determining the corresponding pre- deduction of the order when detecting any order failure Stockpile number;
Roll-back module, for adding the inventory of the corresponding pre- deduction of the order in cache database and truthful data library Amount.
The third aspect, this application provides a kind of electronic equipment, which includes:
Processor and memory, memory are stored at least one instruction, at least one section of program, code set or instruction set, At least one instruction, at least one section of program, code set or instruction set are loaded by processor and are executed with the first party of such as the application Inventory management method shown in face.
Fourth aspect, this application provides a kind of computer readable storage mediums, and computer storage medium is based on storing The instruction of calculation machine, when run on a computer, allows computer to execute the inventory as shown in the first aspect of the application Management method.
Inventory management method based on cloud service, device and electronic equipment provided by the present application, using in stock control Cache database is added to improve inventory's reading efficiency, and using in cache database and truthful data library to stockpile number into The mode that deducts in advance of row, convenient for quickly updating stockpile number according to the lower one-state of user, to purchase by group, the second panic buying scene such as kills and mentions Accurate stock control function has been supplied, and has passed through the mutual cooperation of cache database and truthful data library, has ensured stock control Accuracy and reliability, compared with prior art, the program can effectively avoid trigger data library Long routine, promote user's body It tests.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, institute in being described below to the embodiment of the present application Attached drawing to be used is needed to be briefly described.
Fig. 1 is the flow diagram of inventory management method provided by the embodiments of the present application;
Fig. 2 is the structural schematic diagram of stock control device provided by the embodiments of the present application;
Fig. 3 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the application, and cannot be construed to the limitation to the application.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in the description of the present application Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.These specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.
Embodiment one
The embodiment of the present application provides a kind of inventory management method, as shown in Figure 1, this method comprises:
Step S101: when receiving the prepaid message of any order, in preset cache database and truthful data library In deduct the corresponding stockpile number of the order in advance.
In the embodiment of the present application, when user submits order, without being modified to inventory, but the correlation of order is generated Information.After user-pay, just inventory is performed corresponding processing.Rival can be effectively prevented in this stock control system Malice places an order, and provides good trading environment for user.
Specifically, every time the prepaid message of any order will be received, for user's branch after user's pay invoice The order paid carries out stockpile number, and deduction is handled in advance, deducts the order in advance in preset cache database and truthful data library Corresponding stockpile number.
In practical application, redis (the key-value database of open source) etc. is can be used based on interior in preset cache database The database deposited has higher readwrite performance.Before transaction starts, need to arrive the stockpile number storage in truthful data library In cache database.
It will be understood by those skilled in the art that needing to read remaining stockpile number with determination is when single under each user It is no still to there are enough commodity to be used to trade.High readwrite performance of the embodiment of the present application based on cache database, every time from caching number According to current remaining stockpile number is read in library, it can accurately reflect true purchase situation, avoid the hair of oversold phenomenon It is raw.
It should be noted that is deducted in advance is the corresponding stockpile number of order in the embodiment of the present application, if the stage occurs The case where needing rollback data can also reduce practice link to a certain extent, reduce complexity and the degree of coupling.
In addition, the corresponding specific job information of the order can store in cache database, or can be by other data Library is stored, the embodiment of the present application to this with no restriction.
When the embodiment of the present application is applied to purchase by group, the second kills etc. panic buying scene, the cache databases such as redis can be preferably It supports high concurrent access, inventory is quickly updated according to the purchase situation of each user in time, improves the efficiency of stock control.And by In purchase by group, the time for the panic buying scene such as the second kills it is shorter, data cached life can be more easily arranged in those skilled in the art Period.
After executing pre- deduction operation in cache database and truthful data library every time, step S102 can be continued to execute.
Step S102: when the stockpile number for detecting cache database is zero, the stockpile number in truthful data library is determined It is whether consistent with the stockpile number of cache database.
When the stockpile number for detecting cache database is zero, i.e., the stockpile number for transaction is according to user's Order is all withheld in addition to the stockpile number in truthful data library also should be zero at this time.
In view of in actual transaction, it is easy to cause inventory wrong because system reboot or database component go wrong Accidentally the case where, in the embodiment of the present application, by comparing the inventories in truthful data library and cache database, it is ensured that deduct in advance Inventory is errorless, ensures the accuracy and reliability of transaction.
Step S103: if consistent, corresponding each order is determined according to the stockpile number deducted in cache database Single information, and each order information is stored to truthful data library.
In conjunction with above-mentioned introduction, the embodiment of the present application be ensure pre- deduction inventory it is errorless in the case where, that is, determine After the stockpile number in truthful data library and the stockpile number of cache database are consistent, then trigger true button inventory's behavior.
Specifically, corresponding each order information is determined according to the stockpile number deducted in cache database, and Each order information persistence is updated to truthful data library, so that truthful data library executes true button inventory's behavior.At this point, Data in cache database can delete.
Inventory management method provided by the embodiments of the present application improves library using cache database is added in stock control Reading efficiency is deposited, and in the way of being deducted in advance in cache database and truthful data library to stockpile number, is convenient for root Stockpile number is quickly updated according to the lower one-state of user, to purchase by group, the second panic buying scene such as kills and provide accurate stock control function Can, and by the mutual cooperation of cache database and truthful data library, ensure the accuracy and reliability of stock control, and it is existing There is technology to compare, the program can effectively avoid trigger data library Long routine, promote user experience.
Embodiment two
The embodiment of the present application provides alternatively possible implementation, further includes implementing on the basis of example 1 Method shown in example two, wherein
After step slol, further includes:
Step S104: when detecting any order failure, the stockpile number of the corresponding pre- deduction of the order is determined;
Wherein, it detects that any order fails, comprises at least one of the following situation:
(1) request of applying for a refund of the corresponding order is received;
After paying successfully for user, the request of cancelling an order and apply for a refund applied by individual subscriber reason also can Stock control in subsequent transaction is had some impact on, the embodiment of the present application is asked receiving corresponding applying for a refund for the order When asking, corresponding data rewind processing is executed after determining order failure.
(2) stockpile number that cache database deducts in advance in predetermined amount of time is less equal than predetermined threshold;
Seller can be according to predetermined amount of time and predetermined threshold be arranged situations such as actual cost, income, to purchase by group, the second kills It rushes to purchase for scene, in the preset predetermined amount of time of seller, if participating in the commodity amount of purchase, to be not up to seller preset pre- Determine threshold value standard, will lead to the buying behavior group's of spelling success, so that whole transaction failures that user has placed an order and paid.For not Agglomerating and each order for having placed an order and having paid, executes corresponding data rewind processing.
(3) the abnormal behaviour information of the corresponding user of the order is recognized.
In the embodiment of the present application, it is prefixed air control identification function, can identify the abnormal behaviour information of user, such as is placed an order The behaviors such as quantity is excessive, frequently cancels an order, those skilled in the art can Statistical error function according to the actual situation, according to knowledge The abnormal behaviour information for the user being clipped to determines whole orders of user payment, carries out pressure cancellation, and executes corresponding number It is handled according to rollback.
Specifically, before to data rewind, it is thus necessary to determine that the stockpile number of the corresponding pre- deduction of the order of failure, It is that rollback processing is carried out to the stockpile number deducted in advance in subsequent step S105.
Step S105: the stockpile number of the corresponding pre- deduction of the order is added in cache database and truthful data library.
In practical application, rollback processing is carried out to the stockpile number deducted in advance, i.e., in cache database and truthful data library The middle stockpile number for adding the corresponding pre- deduction of the order avoids losing so that the order according to failure quickly updates stockpile number Imitating order influences the normal purchase of user, and to purchase by group, the second panic buying scene such as kills and provide accurate stock control function.
Embodiment three
The embodiment of the present application compensates machine on the basis of embodiment one and embodiment two, to the inventory during stock control System is introduced, the method as shown in embodiment three, wherein
After step S101, further includes: recorded to the process deducted in advance, generate pre- deduct and record information.
And after step s 104, further includes: the process of addition is recorded, addition record information is generated.
That is, the stockpile number carried out every time according to order situation deducts operation or stockpile number addition operation all in advance A record can be stored, is stored as pre- deduction record information and addition record information respectively.
Based on this, in the embodiment of the present application, above-mentioned inventory management method further include:
When the stockpile number of the stockpile number in truthful data library and cache database is inconsistent, record letter is deducted according to pre- Breath and addition record information, compare the stockpile number in cache database and truthful data library, and modify the inventory of mistake respectively Amount.
In this manner it is possible to being introduced in embodiment one because system reboot or database component go wrong and lead to library The situation for depositing mistake carries out inventory's compensation, avoids the normal purchase because of inventory erroneous effects user, by cache database and very The mutual cooperation in real data library has ensured the accuracy and reliability of stock control, and simple and effective.
Example IV
The embodiment of the present application provides alternatively possible implementation, on the basis of embodiment one is to embodiment three, It further include method shown in example IV, wherein
After step S101, further includes: request to freeze the payment amount of the order to corresponding payment server Processing;
Freezed by the amount of money for paying user to the request of corresponding payment server, is ensuring all to trade successfully Carry out payment processing again afterwards, can to avoid the reasons such as fail because of order caused by during data rewind, triggering reimbursement logic etc. Caused by the long practice of database, promote the efficiency of stock control.
Specifically, the corresponding payment server of the order is determined when receiving the prepaid message of any order, and It determines the corresponding payment amount of the order, and then requests to freeze the payment amount of the order to corresponding payment server Processing requests payment processing or defrosting processing to corresponding payment server according to subsequent trading situation.
It wherein, is the determining library deducted in advance in step s 103 for requesting payment processing to corresponding payment server Deposit it is errorless after, the corresponding payment amount of each order is subjected to payment processing to the request of corresponding payment server, to touch The true button inventory's behavior of hair.
Since trading situation is normal, each order amount of money at this time can all be defrosted and pay, so that each order is whole Successful Transaction.
And for being to determine that order fails and carries out in step S105 to the request defrosting processing of corresponding payment server After inventory data rollback, request the corresponding payment amount of the order carrying out defrosting processing to corresponding payment server.Due to Order has failed, and the amount of money for paying user is needed to retract, before the true button inventory's behavior of triggering, by the gold of user's payment Volume thaws and retracts, and simplifies reimbursement process, reduces the complexity and the degree of coupling of database.
During being somebody's turn to do, the order amount of money due to retracting can be regarded as a user without being related to truthful data library Payment is failed, therefore can send for any order and pay failed instruction information.
Inventory management method provided by the embodiments of the present application can be effectively reduced true in conjunction with the management method of the above-mentioned amount of money Complexity and the degree of coupling of the real data library when carrying out stock control, promote the efficiency of stock control.
Embodiment five
The embodiment of the present application provides a kind of stock control device, as shown in Fig. 2, the device 20 may include: pre- deduction Module 201, database comparison module 202 and true discount stock model 203, wherein
It is pre- to deduct module 201, when for receiving the prepaid message of any order, in preset cache database and true The corresponding stockpile number of the order is deducted in real data library in advance;
Database comparison module 202, for determining truthful data when the stockpile number for detecting cache database is zero Whether the stockpile number in library is consistent with the stockpile number of cache database;
True discount stock model 203, if determining difference according to the stockpile number deducted in cache database for consistent Corresponding each order information, and each order information is stored to truthful data library.
Further, which may include: order failure detection module 204 and roll-back module 205, wherein
Order failure detection module 204, for determining the corresponding pre- deduction of the order when detecting any order failure Stockpile number;
Roll-back module 205, for adding the library of the corresponding pre- deduction of the order in cache database and truthful data library Deposit quantity.
Further, module 201 is deducted in advance to record also particularly useful for the process deducted in advance, generate pre- deduction record Information;
And roll-back module 205 is recorded also particularly useful for the process of addition, generates addition record information.
Further, database comparison module 202 also particularly useful for when truthful data library stockpile number with it is data cached When the stockpile number in library is inconsistent, record information and addition record information are deducted according to pre-, compares cache database and true respectively The stockpile number in real data library, and modify the stockpile number of mistake.
Further, module 201 is deducted in advance to request also particularly useful for corresponding payment server by the payment of the order The amount of money carries out freezing to handle;
True discount stock model 203 is requested also particularly useful for corresponding payment server by the corresponding payment of each order The amount of money carries out payment processing.
Further, roll-back module 205 is requested also particularly useful for corresponding payment server by the corresponding branch of the order It pays the amount of money and carries out defrosting processing, and sent for any order and pay failed instruction information.
In practical application, order failure detection module 204 is specifically used for following at least one situation:
Receive the request of applying for a refund of the corresponding order;
The stockpile number that cache database deducts in advance in predetermined amount of time is less equal than predetermined threshold;
Recognize the abnormal behaviour information of the corresponding user of the order.
Stock control device provided by the embodiment of the present application for the specific hardware in equipment or can be installed on equipment On software or firmware etc., the technical effect of realization principle and generation is identical with preceding method embodiment, to briefly describe, if Standby embodiment part does not refer to place, can refer to corresponding contents in preceding method embodiment, details are not described herein.
Stock control device provided by the embodiments of the present application improves library using cache database is added in stock control Reading efficiency is deposited, and in the way of being deducted in advance in cache database and truthful data library to stockpile number, is convenient for root Stockpile number is quickly updated according to the lower one-state of user, to purchase by group, the second panic buying scene such as kills and provide accurate stock control function Can, and by the comparing of cache database and truthful data library, ensure the accuracy and reliability of stock control, and it is existing There is technology to compare, the program can effectively avoid trigger data library Long routine, promote user experience.
Embodiment six
The embodiment of the present application also provides a kind of electronic equipment, as shown in figure 3, electronics shown in Fig. 3 sets 30 includes: Processor 301 and memory 302, memory 302 are stored at least one instruction, at least one section of program, code set or instruction set, At least one instruction, at least one section of program, code set or instruction set are loaded by processor 301 and are executed to realize embodiment one To inventory management method shown in example IV.
It should be noted that the structure of the electronic equipment 30 does not constitute the limit to the embodiment of the present application in practical application It is fixed.
Wherein, processor 301 can be CPU, general processor, DSP, ASIC, FPGA or other programmable logic devices Part, transistor logic, hardware component or any combination thereof.It, which may be implemented or executes, combines present disclosure institute The various illustrative logic blocks of description, module and circuit.Processor 301 is also possible to realize the combination of computing function, example It is such as combined comprising one or more microprocessors, DSP and the combination of microprocessor etc..
Memory 302 can be ROM or can store the other kinds of static storage device of static information and instruction, RAM Or the other kinds of dynamic memory of information and instruction can be stored, it is also possible to EEPROM, CD-ROM or other CDs Storage, optical disc storage (including compression optical disc, laser disc, optical disc, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium Or other magnetic storage apparatus or can be used in carry or store have instruction or data structure form desired program generation Code and can by any other medium of computer access, but not limited to this.
The embodiment of the present application also provides a kind of computer readable storage mediums, and the computer storage medium is based on storing The instruction of calculation machine, when run on a computer, allows computer to execute embodiment one to inventory shown in example IV Management method.
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the application, it is noted that for the ordinary skill people of the art For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered It is considered as the protection scope of the application.

Claims (10)

1. a kind of inventory management method characterized by comprising
When receiving the prepaid message of any order, this is deducted in advance in preset cache database and truthful data library and is ordered Single corresponding stockpile number;
When the stockpile number for detecting cache database is zero, determine truthful data library stockpile number whether with it is data cached The stockpile number in library is consistent;
If consistent, corresponding each order information is determined according to the stockpile number deducted in cache database, and by institute Each order information is stated to store to truthful data library.
2. inventory management method according to claim 1, which is characterized in that described to receive that any order is prepaid to disappear When breath, after deducting the corresponding stockpile number of the order in advance in preset cache database and truthful data library, further includes:
When detecting any order failure, the stockpile number of the corresponding pre- deduction of the order is determined;
The stockpile number of the corresponding pre- deduction of the order is added in cache database and truthful data library.
3. inventory management method according to claim 2, which is characterized in that described to receive that any order is prepaid to disappear When breath, after deducting the corresponding stockpile number of the order in advance in preset cache database and truthful data library, further includes:
The process deducted in advance is recorded, pre- deduct is generated and records information;
After the stockpile number for adding the corresponding pre- deduction of the order in cache database and truthful data library, also wrap It includes:
The process of addition is recorded, addition record information is generated.
4. inventory management method according to claim 3, which is characterized in that further include:
When the stockpile number of the stockpile number in truthful data library and cache database is inconsistent, according to it is pre- deduct record information and Addition record information, compares the stockpile number in cache database and truthful data library, and modify the stockpile number of mistake respectively.
5. inventory management method according to claim 2, which is characterized in that described to receive that any order is prepaid to disappear When breath, after deducting corresponding stockpile number in advance in preset cache database and truthful data library, further includes:
It requests to carry out freezing to handle by the payment amount of the order to corresponding payment server;
It is described that corresponding each order information is determined according to the stockpile number deducted in cache database, and will be described each Order information is stored to truthful data library, further includes:
The corresponding payment amount of each order is subjected to payment processing to the request of corresponding payment server.
6. inventory management method according to claim 5, which is characterized in that described in cache database and truthful data library After the middle stockpile number for adding the corresponding pre- deduction of the order, further includes:
The corresponding payment amount of the order is subjected to defrosting processing to the request of corresponding payment server, and is directed to any order It sends and pays failed instruction information.
7. inventory management method according to claim 2, which is characterized in that it is described to detect that any order fails, including Following at least one situation:
Receive the request of applying for a refund of the corresponding order;
The stockpile number that cache database deducts in advance in predetermined amount of time is less equal than predetermined threshold;
Recognize the abnormal behaviour information of the corresponding user of the order.
8. a kind of stock control device characterized by comprising
It is pre- to deduct module, when for receiving the prepaid message of any order, in preset cache database and truthful data The corresponding stockpile number of the order is deducted in library in advance;
Database comparison module, for determining the library in truthful data library when the stockpile number for detecting cache database is zero Whether consistent with the stockpile number of cache database deposit quantity;
True discount stock model, if being determined according to the stockpile number deducted in cache database corresponding for consistent Each order information, and each order information is stored to truthful data library.
9. a kind of electronic equipment, characterized in that it comprises:
Processor and memory, the memory are stored at least one instruction, at least one section of program, code set or instruction set, It is described at least one instruction, at least one section of program, the code set or the instruction set loaded by the processor and executed with Realize inventory management method as claimed in claim 1.
10. a kind of computer readable storage medium, which is characterized in that the computer storage medium refers to for storing computer It enables, when run on a computer, computer is allowed to execute inventory's pipe described in any one of the claims 1-7 Reason method.
CN201810951747.3A 2018-08-21 2018-08-21 Inventory management method, device and electronic equipment based on cloud service Pending CN109377120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810951747.3A CN109377120A (en) 2018-08-21 2018-08-21 Inventory management method, device and electronic equipment based on cloud service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810951747.3A CN109377120A (en) 2018-08-21 2018-08-21 Inventory management method, device and electronic equipment based on cloud service

Publications (1)

Publication Number Publication Date
CN109377120A true CN109377120A (en) 2019-02-22

Family

ID=65403930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810951747.3A Pending CN109377120A (en) 2018-08-21 2018-08-21 Inventory management method, device and electronic equipment based on cloud service

Country Status (1)

Country Link
CN (1) CN109377120A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347692A (en) * 2019-06-03 2019-10-18 阿里巴巴集团控股有限公司 Inventory management method and device based on caching
CN111523950A (en) * 2020-04-26 2020-08-11 北京三快在线科技有限公司 System, method, device, equipment and storage medium for processing group list
CN112257644A (en) * 2020-11-02 2021-01-22 苏宇航 Intelligent management system for commodity inventory of electronic commerce platform stores based on cloud computing
CN112416952A (en) * 2020-08-05 2021-02-26 上海哔哩哔哩科技有限公司 Method, device and readable storage medium for managing and synchronizing inventory data
CN113408990A (en) * 2021-06-29 2021-09-17 满帮信息咨询有限公司 Freight order processing method, system, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544153A (en) * 2012-07-10 2014-01-29 阿里巴巴集团控股有限公司 Data updating method and system based on database
CN104794132A (en) * 2014-01-21 2015-07-22 阿里巴巴集团控股有限公司 Inventory information processing method and system
CN105096065A (en) * 2014-04-16 2015-11-25 阿里巴巴集团控股有限公司 Inventory deduction method and inventory deduction device
CN105139191A (en) * 2015-09-15 2015-12-09 联动优势电子商务有限公司 Method and device for obtaining order information
CN107145972A (en) * 2017-04-20 2017-09-08 北京慧智八方网络技术有限公司 Commerce and trade intellectuality order processing system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544153A (en) * 2012-07-10 2014-01-29 阿里巴巴集团控股有限公司 Data updating method and system based on database
CN104794132A (en) * 2014-01-21 2015-07-22 阿里巴巴集团控股有限公司 Inventory information processing method and system
CN105096065A (en) * 2014-04-16 2015-11-25 阿里巴巴集团控股有限公司 Inventory deduction method and inventory deduction device
CN105139191A (en) * 2015-09-15 2015-12-09 联动优势电子商务有限公司 Method and device for obtaining order information
CN107145972A (en) * 2017-04-20 2017-09-08 北京慧智八方网络技术有限公司 Commerce and trade intellectuality order processing system and method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347692A (en) * 2019-06-03 2019-10-18 阿里巴巴集团控股有限公司 Inventory management method and device based on caching
CN110347692B (en) * 2019-06-03 2023-05-26 创新先进技术有限公司 Inventory management method and device based on cache
CN111523950A (en) * 2020-04-26 2020-08-11 北京三快在线科技有限公司 System, method, device, equipment and storage medium for processing group list
CN112416952A (en) * 2020-08-05 2021-02-26 上海哔哩哔哩科技有限公司 Method, device and readable storage medium for managing and synchronizing inventory data
CN112416952B (en) * 2020-08-05 2023-07-04 上海哔哩哔哩科技有限公司 Method, apparatus, readable storage medium for managing and synchronizing inventory data
CN112257644A (en) * 2020-11-02 2021-01-22 苏宇航 Intelligent management system for commodity inventory of electronic commerce platform stores based on cloud computing
CN112257644B (en) * 2020-11-02 2021-05-11 深圳斯达领科网络科技有限公司 Intelligent management system for commodity inventory of electronic commerce platform stores based on cloud computing
CN113408990A (en) * 2021-06-29 2021-09-17 满帮信息咨询有限公司 Freight order processing method, system, electronic equipment and storage medium
CN113408990B (en) * 2021-06-29 2023-04-18 满帮信息咨询有限公司 Freight order processing method, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109377120A (en) Inventory management method, device and electronic equipment based on cloud service
CN111476667B (en) Block chain-based original work transaction method and device and electronic equipment
US20210326813A1 (en) Parallel Chain Cross-Chain Transaction Method, Device and Storage Medium
CN109598505B (en) Quality data processing method and device based on block chain
CA2807473C (en) System and method for rewarding application installs
CN109840837B (en) Financial data processing method and device, computer readable medium and electronic equipment
US11443307B2 (en) Cross-border resource transfer authenticity verification method, device and electronic equipment
US20070156578A1 (en) Method and system for reducing a number of financial transactions
US20180240085A1 (en) Two-level Blockchain-based identity and transaction framework for loyalty system
CN109951547A (en) Transactions requests method for parallel processing, device, equipment and medium
CN107451868A (en) A kind of method and device of article appraisal
CN110942393B (en) Transaction processing method and device based on main account and sub account, and electronic equipment
CN110443612B (en) Block chain-based reimbursement expense segmentation method and device and electronic equipment
US20110040708A1 (en) Multiple entry point network for stream support in a rule engine
US20100146334A1 (en) Fault tolerant update propagation to views
US20210133789A1 (en) System for Proactively Providing a User With Prescriptive Remedies in Response to a Credit Card Transaction Error
CN112286790B (en) Full link testing method, device, equipment and storage medium
US20240103909A1 (en) Methods and systems for improving hardware resiliency during serial processing tasks in distributed computer networks
US20070265861A1 (en) High latency communication transactions in a low latency communication system
US20120198281A1 (en) Validation rules for process validation
CN111488252B (en) Flow playback method and device
CN114119243A (en) Pool financing management method, device, medium and electronic equipment based on block chain
CN114066648B (en) Cross-service multi-service type data processing method and related equipment
US8468091B1 (en) Trade-in program with advance payment
US11797999B1 (en) Detecting fraudulent transactions

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