The invention discloses a high-
concurrency access method of a local
password service interface and a multi-platform
adaptation device, and solves the problems of poor high-
concurrency performance and difficulty in cross-platform
adaptation of a traditional scheme. The high-
concurrency access end is used for constructing an API gateway through asynchronous non-blocking I / O, after protocol analysis and safety
verification, a request is input to a four-level priority intelligent task
queue, and expenditure is dynamically optimized in combination with a
throughput model; tasks are distributed based on a
dynamic load balancing mechanism of indexes such as CPU
utilization rate and
queue length,
asynchronous processing and intelligent caching (the
hit rate is larger than or equal to 85%) are matched, the
throughput is improved by more than two times compared with a traditional scheme, and real-time task
millisecond-level response is achieved. And the multi-platform
adaptation end is used for generating a feature report through full-dimensional platform detection, matching an optimal
algorithm and a hardware module by a self-adaptive execution engine, and unifying an interface to hide a bottom layer difference. Full-
link protection and
exception handling guarantee that the core service interruption rate is smaller than 0.005%, and the method is suitable for the key fields of finance,
power grid dispatching and the like.