The application relates to a short
link generation method and a related device, wherein the method comprises the following steps: obtaining an input long link and corresponding agency parameters; generating a first short link corresponding to the agency parameters according to a preset short
link generation table; obtaining a second short link corresponding to the long link by incrementing the first short link; converting the second short link to obtain a third short link in a target
numeral system, and storing the third short link and the long link together in a short link mapping table in a
database; and generating a short link corresponding to the long link based on the short link mapping table. The application generates a first short link corresponding to the agency parameters by inputting a long link and the agency parameters corresponding to the long link, obtains a second short link by incrementing the first short link, converts the second short link to obtain a third short link, and finally generates a short link based on the short link mapping table, so that the length of the address corresponding to the long link can be simplified, the conversion and access efficiency of the long link can be improved, the effectiveness and security of the long link can be improved, and maintenance is facilitated.