Invention Grant
- Patent Title: Method and apparatus for obtaining loading time length of image in webpage, and electronic device
-
Application No.: US17772628Application Date: 2020-08-27
-
Publication No.: US11886798B2Publication Date: 2024-01-30
- Inventor: Guohui Yin
- Applicant: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
- Applicant Address: CN Beijing
- Assignee: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
- Current Assignee: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
- Current Assignee Address: CN Beijing
- Priority: CN 1911032128.5 2019.10.28
- International Application: PCT/CN2020/111776 2020.08.27
- International Announcement: WO2021/082693A 2021.05.06
- Date entered country: 2022-04-28
- Main IPC: G06F40/143
- IPC: G06F40/143 ; G06F16/957 ; G06F16/958

Abstract:
Provided are a method and an apparatus for obtaining a loading time length of an image in a webpage, and an electronic device. The method includes: obtaining, during loading of a Hypertext Markup Language HTML file of the webpage, event tracking data through event tracking that is set in the HTML file, wherein the event tracking data includes loading start time of the HTML file; obtaining a timestamp of a loading end event of the image in the webpage, and determining the loading time length of the image based on the loading start time and the timestamp. The method can obtain the loading time length of the image in the webpage, facilitate the detection of the loading time length of the image, and provide data support for realizing the analysis of the webpage service quality based on the loading time length of the image and improving the webpage service quality.
Public/Granted literature
- US20220374582A1 METHOD AND APPARATUS FOR OBTAINING LOADING TIME LENGTH OF IMAGE IN WEBPAGE, AND ELECTRONIC DEVICE Public/Granted day:2022-11-24
Information query