The invention provides a product
package index management method and device, and the method comprises the steps: obtaining a product
package uploading request which carries token information, a to-be-uploaded product
package and
metadata of the to-be-uploaded product package; the method comprises the following steps: acquiring
metadata, analyzing and verifying the
metadata, if
verification succeeds, obtaining verified metadata, a dependency relationship
list of a to-be-uploaded product package and a verified product package, storing the verified metadata and the dependency relationship
list into an index
database, acquiring full-amount index data in the index
database based on a
signal triggered at regular time, and uploading the full-amount index data to the product package.
Processing the full-amount index data to obtain a full-amount index file, and storing the full-amount index file to a
file storage module; and obtaining an index downloading request from a user and a local index version of a
client of the user, and determining to return a total index file according to the index downloading request and the local index version, or generating and returning an incremental index file. Therefore, the index retrieval efficiency of the product packages is improved, and efficient product
package management and index updating are achieved.