Invention Grant
- Patent Title: Method and apparatus for acquiring network resource
-
Application No.: US15024461Application Date: 2013-11-29
-
Publication No.: US09965468B2Publication Date: 2018-05-08
- Inventor: Hao Jing
- Applicant: Huawei Device Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI DEVICE CO., LTD.
- Current Assignee: HUAWEI DEVICE CO., LTD.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- International Application: PCT/CN2013/088220 WO 20131129
- International Announcement: WO2015/078005 WO 20150604
- Main IPC: G06F17/20
- IPC: G06F17/20 ; G06F17/28 ; G06F17/30 ; G06F17/27 ; H04L29/08

Abstract:
A method and an apparatus for acquiring a network resource where the method includes extracting language configuration information of a browser, and placing the language configuration information into a language list, sending a hypertext transfer protocol (HTTP) request to a web server, locating a position of a media element, matching a value of a language attribute of a specified resource element in the media element with the language information in the language list, selecting a media resource address, and finally according to the media resource address, requesting a media resource from the web server and loading the media resource. Hence, the browser can automatically select a media file of a specified language version according to a language preference of a user, thereby reducing a workload of a website developer. Additionally, the user does not need to perform manual selection, thereby enhancing user experience.
Public/Granted literature
- US20160217132A1 Method and Apparatus for Acquiring Network Resource Public/Granted day:2016-07-28
Information query