A non-transitory computer-readable media storing computer instructions, that when executed by at least one processor, causes the at least one processor to perform the steps of:
- actively establishing, by a database access scheduling module in a local area network, a communication connection to a database access service engine in a public cloud by using an identifier of the database access service engine;
- recording, by an application in the public cloud, a database instance in the local area network and the database access service engine bound to the database instance;
- generating, by the application, an access request, the access request specifying the database instance to be accessed in the local area network;
- sending, by database access service engine, the access request to the database access scheduling module;
- receiving, by the database access scheduling module, an access request sent by the database access service engine, the access request carrying an identifier of a database instance, and the identifier of the database instance is an IP address of the database instance, or the identifier of the database instance is an IP address and a port number of the database instance;
- and
- sending, by the database access scheduling module and according to the identifier of the database instance, the access request to the database instance of multiple database instances in the local area network;
- receiving, by the database access scheduling module and from the database instance, a processing result corresponding to the access request;
- and
- sending, by the database access scheduling module and to the database access service engine, so that the application obtains the processing result corresponding to the access request.