The invention provides a cross-
modal retrieval method for semantic and vector fusion in a
data space, which belongs to the field of cross-
modal information retrieval, and comprises the following steps: firstly, collecting and preprocessing multi-
modal data; generating modal embedding and storing by utilizing the pre-training model; a shared
semantic space is constructed, cross-modal vector alignment is optimized through comparative learning, and a modal mapping network is designed to enhance the embedding projection effect; storing the aligned embedding by using a Milvus
database, and constructing an HNSW index; user text or
image query is processed,
text query analyzes limiting conditions to generate enhanced embedding, and
image query extracts characters through OCR and fuses the characters with image features to generate embedding; in a
database, through condition screening and
semantic similarity calculation, a Top-K candidate item is retrieved; performing multi-modal correlation sorting on the candidate results and returning the results; according to the method, the shared
semantic space is constructed, the alignment effect of different modal embedding is optimized, efficient storage and index management of multi-modal embedding are carried out, and real-time retrieval of large-scale cross-
modal data is achieved.