The invention discloses a target object obtaining method and device, equipment, a computer medium and a product, and is applied to the field of
object processing. Based on the initial object set, determining an object
relation database corresponding to the initial object set; determining a query level of the initial object set based on the business type to which the initial object set belongs; obtaining a pre-constructed structured
query statement template, wherein the structured
query statement template comprises a plurality of variable placeholders; respectively filling the initial object set, the business type and the query level into corresponding variable placeholders, and constructing a structured
query statement for querying an association relationship between the objects; and on the basis of the structured query statement, performing association relationship query on the
object relationship database to obtain a target object having an association relationship with the initial object set. According to the method, the query efficiency and accuracy of the target object are improved, and computing resources are reduced.