The invention discloses a character and character extraction method in cad file AI translation, and relates to the technical field of AI translation. The method comprises the following steps: S1, character data receiving preparation: starting a
server monitoring service, establishing a Socket
communication link at a specified port, and waiting for
client connection; s2, establishing
client connection: receiving a connection request of a
client, and establishing an independent
processing thread for each client connection; through a multi-thread
server architecture and an
encryption transmission mechanism, a high-
concurrency, safe and reliable data receiving basis is constructed, text character classification,
hierarchical analysis and structured storage are adopted, efficient organization and
rapid access of text data are achieved, and through deep linkage of an extraction process and a user instruction, the extraction efficiency of the text data is improved. In the initial stage of extraction, the source language content needing to be reserved is accurately filtered, the defects that in the prior art, extraction efficiency is low,
data management is disordered, and intelligent screening cannot be achieved are overcome, and the accuracy of translation content is guaranteed from the source.