Data reading and writing method and application server

The embodiment of the invention provides a data reading and writing method and an application server, and relates to the technical field of communication. The data reading and writing speed of the application server can be increased, and the response of the application server is quickened. The method comprises the following steps of receiving a data request message from a client by using the application server, and performing read operation or write operation on target data when the target data corresponding to identification information in the data request message are determined to be stored in CDN (content distribution network) cache equipment; when the target data are determined not to be stored in the CDN cache equipment, acquiring the target data from equipment with the target data, storing the acquired target data in the CDN cache equipment, and performing read operation or write operation indicated by the data request message on the target data stored in the CDN cache equipment after the acquired target data are stored in the CDN cache equipment. The embodiment of the invention is used for data reading and writing.