We propose a new framework of computing-inspired multifocal cancer detection procedure (MCDP). Under the rubric of MCDP, the tumor foci to be detected are regarded as solutions of the objective function, the tissue region around the cancer areas represents the parameter space, and the nanorobots loaded with contrast medium molecules for cancer detection correspond to the optimization agents. The process that the nanorobots detect tumors by swimming in the high-risk tissue region can be regarded as the process that the agents search for the solutions of an objective function in the parameter space with some constraints. For multimodal optimization (MMO) aiming to locate multiple optimal solutions in a single simulation run, the niche technology has been widely used. Specifically, the niche genetic algorithm (NGA) has been shown to be particularly effective in solving MMO. It can be used to identify the global optima of multiple hump functions in a running, effectively keep the diversity of the population, and prematurely avoid the genetic algorithm. Learning from the optimization procedure of NGA, we propose the NGA-inspired MCDP in order to locate the tumor targets efficiently while taking into account realistic in vivo propagation and controlling of nanorobots, which is different from the use scenario of the standard NGA. To improve the performance of the MCDP, we also modify the crossover operator of the original NGA from crossing within a population to crossing between two populations. Finally, we present comprehensive numerical examples to demonstrate the effectiveness of the NGA-inspired MCDP when the biological objective function is associated with the blood flow velocity profile caused by tumor-induced angiogenesis.