The invention relates to a book
distribution method and
system. The book
distribution method includes the following steps: step S1, clearing all records, of which numbers are zero, in a warehouse inventory
database; step S2, obtaining the total number N of records in the warehouse inventory
database by counting; step S3, setting a variable I of which an initial value is 1; step S4, judging whether I is greater than or equal to N, if yes, executing step S9, and otherwise, executing step S5; step S5, reading a book number and a warehouse inventory of an I-th
record in the warehouse inventory
database; step S6, using the book number to query a retail-store inventory in a book retail-store inventory database; step S7, judging whether a retail-store
inventory number is equal to 0, if yes, executing step S8, and otherwise, executing a step that I is equal to I plus 1, and then executing the step S4; step S8, storing the book number of and the warehouse
inventory number into a distribution database, executing the step that I is equal to I plus 1, and then executing the step S4; and step S9, displaying distribution data. The method automatically carries out distribution, improves the efficiency, and expands sales.