The invention relates to a security and service non-sensing integrated switching method after
system reconstruction, which belongs to the field of
system switching and comprises the following steps of: a,
data migration; b, running accompanied by double systems, placing spy objects through a gateway interceptor, recording api calling,
database change and messages in a new
system consumption
message queue, executing a corresponding api service method, and comparing the consistency of api response messages of the new system and the old system; c, primary
data verification; d, switching between a new system and an old system; and e, performing
data verification again. The method has the advantages that the spy entity object is processed through the ThreadLoal, and the problem of complexity of protocol
assembly of new and old business systems is solved. And meanwhile, the quality of a new
service system after reconstruction is ensured through production dual-system accompanying running and
data verification. And finally, flow distribution is carried out through the gateway, and the flow is migrated from the old
service system to the new
service system. The new business system stably supports
online business, and the old business system completes offline mission.