The invention discloses an SCA component
feature code updating method and device based on a
big data component. The updating method comprises the following steps: acquiring component information of each to-be-analyzed component; downloading a
source code packet of the version file, decompressing the
source code packet and analyzing the hash value of each version file; retrieving whether the same hash values exist in the Dores
database in batches, if yes, performing path calculation, merging and
data compression on the corresponding hash values, and pushing the hash values to an update
queue, otherwise, performing
data compression on the hash values, and pushing the hash values to a newly added
queue; updating the hash values in the corresponding queues to the Dores
database in batches; and performing data
encryption on the hash values in the corresponding queues, generating incremental
package files according to a time
directory structure, and uploading and storing the incremental
package files to an online storage. According to the SCA component
feature code updating method based on the
big data component, the
batch processing characteristic of the
big data component can be utilized, the
processing capacity of a
server on the 10 billion-
level data volume is optimized, and the updating efficiency of the SCA component
feature code is effectively improved.