The invention discloses a method for determining the card number of a
credit card of a user and a related device, and relates to the field of finance, and the method comprises the steps: dividing a sequence number range of the
credit card into a plurality of fragments, and determining a current fragment corresponding to a non-optional user based on an identification code of the non-optional user and a
bank identification code; inquiring whether a card number corresponding to the current number constructed based on the
bank identification code and the current sequence number in the current fragment sequence number range exists in a preset card number
library or not; if not, calculating the current card number, adding the current card number meeting a preset card number rule to a preset card number
library, and determining the current card number not meeting the preset card number rule as the card number of the
credit card of the user; if yes, the card number of the credit card of the user can be determined based on the current state of the card number corresponding to the current number; in the process, high-quality card numbers are dynamically identified and merged into the card number
library, no-value card numbers are prevented from entering the library, lightweight management of the card number library is realized, and the
utilization rate of the card numbers in the card number range of the credit card is improved.