Session replay method and apparatus

By capturing and compressing DOM snapshots and user interaction events in the session replay scheme, the problems of data redundancy and high network bandwidth consumption are solved, achieving efficient session replay data transmission and storage, and improving user experience and system stability.

CN122240436APending Publication Date: 2026-06-19SHENZHEN FENGCHI TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN FENGCHI TECHNOLOGY CO LTD
Filing Date
2026-03-13
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

Existing session replay solutions suffer from high data redundancy and high network bandwidth consumption. In particular, the DOM reconstruction solution fails to effectively optimize DOM node changes caused by user interaction events, resulting in low data transmission efficiency and affecting user experience and system stability.

Method used

By capturing DOM snapshots of the target webpage and incremental changes in DOM nodes caused by user interaction events, tagging and encoding compression are performed to generate a session replay data stream. This includes TLV encoding and sorting compression of DOM snapshot and mutation event tag information to reduce data redundancy.

Benefits of technology

It achieves efficient storage and transmission of session replay data, significantly reduces data redundancy and network bandwidth consumption, and improves transmission efficiency and the realism of user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122240436A_ABST
    Figure CN122240436A_ABST
Patent Text Reader

Abstract

This application relates to the field of session replay technology, and discloses a session replay method and apparatus. The method includes: a recording terminal capturing a DOM snapshot of a target webpage when the target webpage is loaded; listening to user interaction events on the target webpage; when an incremental change in a DOM node of the target webpage caused by a user interaction event is detected, capturing corresponding mutation event information; tagging the mutation event information to obtain mutation event tag information; encoding and compressing the DOM snapshot and mutation event tag information to obtain a session replay data stream; and transmitting the session replay data stream to a server, so that the replay terminal can obtain the session replay data stream from the server and replay the user interaction events. Embodiments of this application can reduce data redundancy and network bandwidth consumption in session replay.
Need to check novelty before this filing date? Find Prior Art