发明名称 Method and system for loading file in webgame
摘要 The present invention provides a method and a system for loading a file. The method includes: a browser sends a pre-download request to a pre-publish server beforehand, receives a download link fed back by the pre-publish server, downloads a file from a data source server through the download link, and sends a first file identifier of the pre-downloaded file and a user terminal address of a user terminal that runs the browser to a query server for storing. The browser receives a load instruction that carries a second file identifier of a file, and queries whether the file is stored locally, if the file is stored locally, reads the file locally, if the file is not stored locally, sends the load instruction to the query server, receives a user terminal address returned by the query server, sends the load instruction to a user terminal corresponding to the user terminal address according to the received user terminal address, and receives a file fed back by the user terminal.
申请公布号 US9282141(B2) 申请公布日期 2016.03.08
申请号 US201314235386 申请日期 2013.05.07
申请人 Tencent Technology (Shenzhen) Company Limited 发明人 Liu Gang;Huang Yan;Fu Guowei
分类号 G06F15/173;H04L29/08;G06F9/50;G06F17/30 主分类号 G06F15/173
代理机构 Faegre Baker Daniels LLP 代理人 Faegre Baker Daniels LLP
主权项 1. A method for loading a file in a webgame, comprising: sending, by a browser, a pre-download request to a pre-publish server beforehand, receiving a download link fed back by the pre-publish server, pre-downloading a file from a data source server through the download link, and sending a first file identifier of the pre-downloaded file and a user terminal address of a user terminal that runs the browser to a query server for storing; receiving, by the browser, a load instruction that carries a second file identifier of a file to be loaded from a user, and querying whether the file to be loaded is stored locally, and if the file to be loaded is stored locally, reading the file locally, and if the file to be loaded is not stored locally, sending the load instruction to the query server, and receiving a user terminal address returned by the query server; and sending, by the browser, the load instruction to a user terminal corresponding to the user terminal address according to the received user terminal address, and receiving the file fed back by the user terminal.
地址 Shenzhen CN