A streaming media playback method and related products
By extracting and encapsulating the last valid state through a business state time-series traceability library and creating a business processing carrier, the problem of inconsistent states across multiple business dimensions in streaming media playback is solved, enabling efficient, stable, and flexible streaming media playback in online education scenarios.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING YIZHEN XUESI EDUCATION TECH CO LTD
- Filing Date
- 2026-03-30
- Publication Date
- 2026-05-29
AI Technical Summary
Existing streaming media playback technology cannot ensure the consistency and integrity of the status of each business dimension when facing jumps between multiple business dimensions, resulting in discontinuities and errors in playback scenarios. It is also difficult to adapt to the needs of dimension expansion, affecting user experience and functional expansion.
The last valid state of multiple business dimensions before the target timestamp is extracted by the business state time sequence traceability library, encapsulated into a playback reconstruction compensation frame, and a corresponding business processing carrier is created when the identification identifier of the playback content changes, and signaling scheduling processing is performed to realize the reconstruction and synchronization of the target playback state.
It achieves microsecond-level accurate reconstruction of multi-dimensional streaming media playback status, avoiding state offset and data crosstalk in the business dimension, and adapts to the synchronous playback requirements of multi-channel interactive streaming media and room communication signaling in online education scenarios.
Smart Images

Figure CN122120552A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of streaming media data processing technology, and more specifically, to a streaming media playback method and related products. Background Technology
[0002] In streaming media applications such as online education and video conferencing, users often need to jump between sections when watching replays, such as from the middle of a course to a specific knowledge point or from the current progress to a key historical point. With the continuous development of streaming media services, the dimensions of replay content are becoming increasingly rich. In addition to basic audio and video streams, it also includes signaling data from various business dimensions such as whiteboard annotations, timer control, and page switching. These data dimensions are interconnected and together constitute a complete replay scenario.
[0003] In existing streaming media playback technologies, playback transitions typically employ a basic timestamp matching method. When a user triggers a playback transition command, the system directly extracts the content at the corresponding time point from the stored audio and video streams and various service signaling data based on the target timestamp, and then loads and renders it sequentially. This solution only implements basic time-dimensional transitions and does not address the specific processing of the status of each service dimension.
[0004] However, this traditional playback jump processing method has gradually revealed significant shortcomings in practical applications. Due to the temporal differences in signaling data across different business dimensions, and the strong correlation between the states of each dimension, simple timestamp matching cannot ensure the consistency and integrity of the states of each business dimension under the target timestamp. For example, after jumping to the target time point, problems such as mismatch between the whiteboard page state and the audio / video playback progress, and the timer state not being updated synchronously may occur, leading to discontinuities and errors in the playback scenario, severely impacting the user's viewing experience. Furthermore, when facing streaming media playback scenarios with multiple business dimensions, existing solutions struggle to efficiently adapt to the needs of dimension expansion, cannot flexibly support the access and processing of new business dimensions, and limit the functional expansion and iterative upgrades of streaming media applications. Summary of the Invention
[0005] In order to solve the above-mentioned technical problems in the prior art, this application provides a streaming media playback method and related products to at least alleviate the above-mentioned technical problems.
[0006] The technical solution provided in this application embodiment is as follows: A streaming media playback method includes: responding to a playback jump trigger command, extracting the last valid states of multiple service dimensions before the jump target timestamp using a preset service state timing traceability library, encapsulating the last valid states of the multiple service dimensions into a playback reconstruction compensation frame and sending it to reconstruct the target playback state corresponding to the jump target timestamp; parsing and determining the identification identifier of the playback content body according to the target playback state, and creating a corresponding service processing carrier based on the changed identification identifier of the playback content body when the identification identifier of the playback content body changes; obtaining the service processing carrier corresponding to the changed identification identifier of the playback content body, and performing scheduling processing on the playback signaling corresponding to the target playback state in the service processing carrier corresponding to the changed identification identifier of the playback content body.
[0007] Optionally, based on the target playback state, the identification identifier of the playback content is parsed and determined. When the identification identifier of the playback content changes, a corresponding business processing carrier is created based on the changed identification identifier of the playback content. Specifically, this includes: extracting and determining the identification identifier of the playback content as the target identification identifier based on the reconstructed target playback state using preset feature matching rules; performing a consistency comparison between the target identification identifier and the identification identifier of the playback content before the target playback state is reconstructed, and determining whether the identification identifier of the playback content has changed based on the consistency comparison result; if the identification identifier of the playback content has changed, a corresponding business processing carrier is created based on the changed identification identifier.
[0008] Optionally, if the identification identifier of the playback content changes, a corresponding service processing carrier is created based on the changed identification identifier. Specifically, this includes: performing resource release and association cleanup on the service processing carrier corresponding to the target identification identifier to form an idle service processing carrier that is unbound by the identifier; after forming an idle service processing carrier that is unbound by the identifier, an adapted service processing carrier is created based on the changed identification identifier, and a mapping association is established between the changed identification identifier and the service processing carrier corresponding to the changed identification identifier.
[0009] Optionally, the service processing carrier corresponding to the identification identifier of the modified playback content body is obtained, and the playback signaling corresponding to the target playback state is scheduled in the service processing carrier corresponding to the identification identifier of the modified playback content body. Specifically, this includes: performing time-series scheduling of playback signaling according to the inherent timestamp of the playback signaling corresponding to the target playback state; and after receiving feedback that the current playback signaling processing is completed, sequentially triggering the extraction and distribution of the next playback signaling to realize the time-series playback of the streaming media playback state.
[0010] Optionally, it also includes extending the business state time-series traceability library to a business dimension based on a plug-in mapping architecture, and allocating independent time-series storage resources for the new business dimension through configuration driver, so as to achieve non-intrusive dynamic extension of the business dimension.
[0011] Optionally, in response to a playback jump trigger command, the last valid state of multiple business dimensions before the jump target timestamp is extracted using a preset business state time-series tracing library. Specifically, this includes: traversing and loading historical business state data before the jump target timestamp based on the pre-built business state time-series tracing library; classifying and sorting the historical business state data according to preset business dimension division rules to form business state time-series tracing data; filtering out the last effective state data before the jump target timestamp under each business dimension based on the business state time-series tracing data to form a set of last valid states for multiple business dimensions; and uniformly encapsulating the set of last valid states for multiple business dimensions to obtain standardized last valid state data adapted to the reconstructed target playback state.
[0012] Optionally, based on a pre-built business status time-series tracing library, historical business status data prior to the target jump timestamp is traversed and loaded. Specifically, this includes: based on the target jump timestamp, locating and extracting historical time-series business data prior to the target jump timestamp from the business status time-series tracing library according to a persistent signaling filtering mechanism; performing signaling attribute verification and key field matching filtering on the historical time-series business data according to preset business persistence verification rules to obtain target business status data that conforms to the persistence rules; and sequentially traversing and loading the target business status data according to the time-series index to construct historical business status data corresponding to the target jump timestamp.
[0013] Optionally, based on the jump target timestamp, historical time-series service data prior to the jump target timestamp is located and extracted from the service status time-series tracing library based on the persistent signaling filtering mechanism. Specifically, this includes: based on the jump target timestamp, segmenting the historical time-series service data using the time axis index of the time-series tracing library and loading state snapshots of the corresponding segments to obtain target data segments containing the target timestamp; based on the target data segments containing the target timestamp, supplementing the time-series signaling data backward within the target segments according to the persistent signaling filtering mechanism to form historical time-series service data corresponding to the jump target timestamp.
[0014] Optionally, the last valid states of the multiple business dimensions are encapsulated into a replay reconstruction compensation frame and sent to reconstruct the target replay state corresponding to the jump target timestamp. Specifically, this includes: encapsulating the last valid states of the multiple business dimensions into a frame structure, and configuring and prioritizing the encapsulated data with high-priority marking to form a high-priority replay reconstruction compensation frame adapted to the reconstruction of the target replay state; and sending the high-priority replay reconstruction compensation frame to the replay interface by performing timestamp alignment and priority scheduling processing on the high-priority replay reconstruction compensation frame to reconstruct the target replay state corresponding to the jump target timestamp.
[0015] A streaming media playback device, characterized in that it comprises: a target playback state reconstruction module, which, in response to a playback jump trigger command, extracts the last valid states of multiple service dimensions before the jump target timestamp using a preset service state timing traceability library, encapsulates the last valid states of the multiple service dimensions into a playback reconstruction compensation frame and sends it to reconstruct the target playback state corresponding to the jump target timestamp; a service processing carrier creation module, which, based on the target playback state, parses and determines the identification identifier of the playback content body, and when the identification identifier of the playback content body changes, creates a corresponding service processing carrier based on the changed identification identifier of the playback content body; and a playback signaling scheduling module, which obtains the service processing carrier corresponding to the changed identification identifier of the playback content body, and performs scheduling processing on the playback signaling corresponding to the target playback state in the service processing carrier corresponding to the changed identification identifier of the playback content body.
[0016] An electronic device includes: a memory for storing executable program code; and a processor for calling and running the executable program code from the memory, causing the electronic device to execute a streaming media playback method as described above.
[0017] A computer storage medium storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by a processor to implement a streaming media playback method as described in any of the preceding claims.
[0018] A computer program product or computer program comprising computer instructions that, when executed by a processor, implement a streaming media playback method as described in any of the preceding claims.
[0019] The streaming media playback method and related products provided in this application have the following technical advantages compared to existing technologies:
[0020] The streaming media playback method and related products described in this application address the issue of playback of multi-channel interactive streaming media and room communication signaling in online education scenarios. They extract multi-dimensional last valid states through a business state timing traceability library and prioritize sending playback reconstruction compensation frames, achieving microsecond-level accurate reconstruction of the target playback state after a jump, eliminating state offsets from business dimensions such as microphone on / off, whiteboard pages, and classroom timers. By relying on playback content body identification identifiers to bind dedicated business processing carriers, each playback content body has an independent execution environment, achieving complete decoupling and isolation of multiple concurrent data streams such as graffiti and room communication signaling, avoiding cross-scenario data crosstalk and blocking. Furthermore, scheduling processing is performed based on the inherent timestamp of the signaling within the dedicated carrier, coupled with a feedback-driven mechanism, eliminating reliance on hardware timers and achieving stable alignment of playback timing, eliminating audio-visual and business state synchronization jitter, and fully adapting to the specific scenario requirements of interactive playback in online education. Attached Figure Description
[0021] Figure 1 A flowchart of a streaming media playback method provided in one embodiment of this application; Figure 2 A block diagram of a streaming media playback device provided in one embodiment of this application; Figure 3 This is a structural block diagram of an electronic device provided in one embodiment of the present application. Detailed Implementation
[0022] like Figure 1 As shown, a streaming media playback method includes: responding to a playback jump trigger command, extracting the last valid states of multiple service dimensions before the jump target timestamp using a preset service state timing traceability library, encapsulating the last valid states of the multiple service dimensions into a playback reconstruction compensation frame and sending it to reconstruct the target playback state corresponding to the jump target timestamp; parsing and determining the identification identifier of the playback content body according to the target playback state, and creating a corresponding service processing carrier based on the changed identification identifier of the playback content body when the identification identifier of the playback content body changes; obtaining the service processing carrier corresponding to the changed identification identifier of the playback content body, and performing scheduling processing on the playback signaling corresponding to the target playback state in the service processing carrier corresponding to the changed identification identifier of the playback content body.
[0023] Optionally, based on the target playback state, the identification identifier of the playback content is parsed and determined. When the identification identifier of the playback content changes, a corresponding business processing carrier is created based on the changed identification identifier of the playback content. Specifically, this includes: extracting and determining the identification identifier of the playback content as the target identification identifier based on the reconstructed target playback state using preset feature matching rules; performing a consistency comparison between the target identification identifier and the identification identifier of the playback content before the target playback state is reconstructed, and determining whether the identification identifier of the playback content has changed based on the consistency comparison result; if the identification identifier of the playback content has changed, a corresponding business processing carrier is created based on the changed identification identifier.
[0024] Optionally, if the identification identifier of the playback content changes, a corresponding service processing carrier is created based on the changed identification identifier. Specifically, this includes: performing resource release and association cleanup on the service processing carrier corresponding to the target identification identifier to form an idle service processing carrier that is unbound by the identifier; after forming an idle service processing carrier that is unbound by the identifier, an adapted service processing carrier is created based on the changed identification identifier, and a mapping association is established between the changed identification identifier and the service processing carrier corresponding to the changed identification identifier.
[0025] This application addresses the issues of state offset, data path coupling, and disordered timing scheduling during the playback of multi-channel interactive streaming media and room communication signaling in online education. It constructs a playback execution system with pre-construction of state, dynamic topology isolation, and feedback-driven timing. First, it uses a business state timing traceability library to instantaneously construct multi-dimensional business states at the jump moment. Then, it performs atomic switching of the business processing carrier based on changes in the playback content body identifier. Finally, it completes the timing scheduling of signaling within a dedicated business processing carrier. This execution system differs from traditional playback methods that rely on full data loading, fixed execution topology, and hardware timer-driven approaches, and is adaptable to the specific needs of synchronous playback of multi-channel doodle data and room communication signaling in online education scenarios.
[0026] Preferably, after receiving a playback jump trigger command, the online education streaming media playback process extracts the jump target timestamp carried in the command and uses it as the retrieval basis to input into a preset business status time-series traceability library. Based on a pre-built timeline index and data segmentation structure, the business status time-series traceability library locates the data segment to which the jump target timestamp belongs and loads the checkpoint status snapshot of that segment. The checkpoint status snapshot is the accumulated state of persistent business dimensions such as microphone on / off status, whiteboard page number, classroom timer running status, and graffiti canvas identifier at the segment boundary in the online education scenario. Based on the checkpoint status snapshot, persistent signaling data is traversed forward within the target data segment. The last effective status data of each business dimension before the jump target timestamp is selected to form a multi-dimensional last effective status set. The multi-dimensional last effective status set is encapsulated according to a preset frame structure. A high-priority scheduling mark is added to the encapsulated data to form a playback reconstruction compensation frame. The playback reconstruction compensation frame is transmitted to the interface rendering unit of the streaming media playback with priority. The interface rendering unit completes the status loading and adaptation based on the playback reconstruction compensation frame to form the target playback status corresponding to the jump target timestamp.
[0027] Preferably, the page association data of the graffiti canvas in the online education scenario is extracted from the established target playback state. The room communication signaling field in the target playback state is parsed using a preset regular expression matching rule to extract the identification identifier of the playback content body. This identification identifier is the unique identifier of the canvas page of the online education interactive whiteboard. The identification identifier of the currently extracted playback content body is compared with the original playback content body identification identifier cached in the streaming media playback process before the jump. Based on the comparison result, it is determined whether the identification identifier of the playback content body has changed. When the comparison result is inconsistent, it is confirmed that the identification identifier of the playback content body has changed, triggering the reconstruction process of the business processing carrier.
[0028] Preferably, in one scenario, when a business processing carrier is created after the identification identifier is changed, an atomic resource release operation is performed on the business processing carrier bound to the original playback content body identification identifier. The business processing carrier is a coroutine execution domain for online education graffiti signaling processing. The atomic resource release operation will terminate all signaling processing tasks in the coroutine execution domain and reclaim memory resources, forming an idle coroutine execution domain without identification binding. Based on the idle coroutine execution domain, independent thread scheduling resources are allocated according to the changed playback content body identification identifier, and a new coroutine execution domain matching the identification identifier is constructed. A one-to-one mapping relationship is established between the changed playback content body identification identifier and the new coroutine execution domain, forming a business processing carrier matching the current playback content body.
[0029] Preferably, after confirming that the identification identifier of the playback content has changed, the cache transition mechanism for switching the business processing carrier is activated. First, internal data sealing processing is performed on the business processing carrier bound to the original playback content identification identifier. The unscheduled graffiti signaling, room communication history signaling, and canvas rendering intermediate data remaining in the business processing carrier are completely migrated to the signaling data cache pool dedicated to online education playback. The signaling data cache pool is divided into an active cache partition and a cache partition to be reclaimed. All the old business data after migration is stored in the cache partition to be reclaimed, thus completing the physical storage isolation between the old data and the new business processing carrier to be created.
[0030] Preferably, after completing the migration and archiving of old business data, the memory space adaptive detection process is started to read the real-time memory usage of the signaling data cache pool, and at the same time obtain the system's available memory space and the upper limit of the single-scenario cache capacity of the streaming media playback process. The real-time memory usage of the signaling data cache pool is compared with the system's available memory space and the upper limit of the single-scenario cache capacity in turn to generate a cache space adaptation result.
[0031] Preferably, a tiered cache destruction strategy is executed based on the cache space adaptation result. If the cache space adaptation result indicates that the memory usage of the signaling data cache pool is lower than the system's available memory space and the single-scenario cache capacity limit, all old service data in the signaling data cache pool is retained for replaying anomaly recovery and historical state retrospective verification. If the cache space adaptation result indicates that the memory usage of the signaling data cache pool reaches any threshold limit, non-critical intermediate data in the signaling data cache pool is destroyed first, and the memory usage is checked again. If it still exceeds the threshold, a complete clearing operation is performed on all old service data in the signaling data cache pool to release all cache memory space.
[0032] Preferably, during the process of acquiring the service processing carrier and executing signaling scheduling, the mapping relationship between the changed playback content body identification identifier and the service processing carrier is read, the service processing carrier corresponding to the current identification identifier is obtained, the playback signaling corresponding to the target playback state is passed into the service processing carrier, and the inherent timestamp of the playback signaling is compared with the current progress of the streaming media playback within the service processing carrier. When the inherent timestamp of the playback signaling is later than the current progress of the streaming media playback, the playback signaling is placed in an asynchronous suspended state. After the streaming media playback progress matches the inherent timestamp of the playback signaling, the rendering processing of the playback signaling is executed. After the rendering processing is completed, a signaling execution completion feedback signal is generated. Based on the feedback signal, the extraction and input of the next playback signaling is triggered, and the timing scheduling processing of all playback signaling is completed in sequence.
[0033] Optionally, the service processing carrier corresponding to the identification identifier of the modified playback content body is obtained, and the playback signaling corresponding to the target playback state is scheduled in the service processing carrier corresponding to the identification identifier of the modified playback content body. Specifically, this includes: performing time-series scheduling of playback signaling according to the inherent timestamp of the playback signaling corresponding to the target playback state; and after receiving feedback that the current playback signaling processing is completed, sequentially triggering the extraction and distribution of the next playback signaling to realize the time-series playback of the streaming media playback state.
[0034] This application addresses the issues of signaling accumulation, system load fluctuations, and timing alignment deviations caused by traditional fixed-period timer scheduling in online education scenarios when playing back multiple interactive streaming media and room communication signaling. It proposes a signaling timing scheduling mechanism based on asynchronous suspension and consumer feedback. This mechanism relies on the business processing carrier bound to the modified playback content identification identifier, using the inherent timestamp of the playback signaling as the timing benchmark to perform non-blocking scheduling. Feedback signals from the consumer drive the extraction and distribution of the next frame of signaling. Unlike traditional polling scheduling, this approach adapts to the synchronous playback requirements of multiple graffiti signaling and room communication signaling in online education, reducing system resource consumption during signaling scheduling.
[0035] Preferably, during the process of acquiring the service processing carrier and executing playback signaling scheduling, the binding relationship between the changed playback content body identification identifier and the service processing carrier is read. The service processing carrier corresponding to the identification identifier is retrieved from the preset carrier mapping storage unit. The service processing carrier is a dedicated coroutine scope for online education room communication signaling and interactive graffiti signaling. All playback signaling corresponding to the target playback state is passed into this coroutine scope to complete the matching and binding of playback signaling with the dedicated execution environment. Preferably, the coroutine scope described in this application is an independent coroutine execution topology domain customized for online education interactive streaming media playback scenarios. This execution topology domain is different from the standard coroutine scope of general asynchronous programming frameworks. It is the smallest independent execution unit dedicated to carrying the scheduling and rendering of single canvas page room communication signaling and interactive graffiti signaling. Its lifecycle and resource permissions are bound to a unique canvas page identifier. It is dynamically generated by the service processing carrier creation module based on the changed playback content body identification identifier and is a core entity component of the service processing carrier.
[0036] Preferably, during the timing scheduling process based on the inherent timestamp of the playback signaling, the inherent timestamp carried by a single playback signaling within the scope of the coroutine is extracted. The inherent timestamp of the playback signaling is a timing mark generated by the signaling during the original recording stage, which is used to characterize the actual effective time of the signaling in the classroom scenario. The inherent timestamp of the playback signaling is compared with the current progress of the streaming media playback to generate a signaling timing comparison result.
[0037] Preferably, in one scenario, the signaling timing comparison result is used as the scheduling basis. If the inherent timestamp of the playback signaling is later than the current progress of the streaming media playback, the playback signaling is switched to an asynchronous suspended state. In the asynchronous suspended state, the coroutine scope will release the currently occupied thread resources and will not generate continuous system computing load until the current progress of the streaming media playback and the inherent timestamp of the playback signaling become consistent. Then, the playback signaling is switched from the asynchronous suspended state to the execution state.
[0038] Preferably, the playback signaling in the execution state completes classroom scene rendering and business logic execution within the coroutine scope. After execution, a signaling processing completion feedback signal is generated. The signaling processing completion feedback signal is a unique identifier signal that the current frame signaling has been consumed. The signaling processing completion feedback signal is sent back to the signaling data pump. After receiving the feedback signal, the signaling data pump extracts the next playback signaling to be scheduled from the business status timing traceability library, and repeats the process of timing comparison, asynchronous suspension, consumption execution and feedback transmission to complete the timing playback of all playback signaling in sequence.
[0039] Preferably, during the signaling timing scheduling process, to address scheduling conflicts and critical signaling delays in multi-channel concurrent signaling (such as drawing signaling, microphone control signaling, and interactive question-answering signaling) in online education scenarios, enhanced processing for secondary prioritization of signaling and precise wake-up of suspended states is also included. Specifically, after all playback signaling corresponding to the target playback state is passed into the coroutine scope, the signaling classification unit extracts the business type identifier of each playback signaling. The business type identifier is used to distinguish the online education business scenario to which the signaling belongs (such as microphone control, whiteboard drawing, and classroom question-answering). Based on the preset business priority weight table, the signaling to be scheduled within the coroutine scope is sorted in a secondary manner, raising the scheduling priority of critical business signaling such as microphone control and classroom timing to a level higher than that of ordinary drawing signaling, forming an ordered signaling scheduling queue, and avoiding the blocking of critical business signaling by ordinary signaling.
[0040] Preferably, for optimizing the signaling wake-up accuracy in the asynchronous suspended state, in addition to passive wake-up based on the delay function, a progress callback listening interface of the streaming media player is also registered to receive the player's current progress update signal in real time. When the current progress of the player, represented by the progress update signal, reaches the inherent timestamp of the asynchronous suspended signaling, the progress listening unit immediately sends an active wake-up signal to the coroutine scope, forcibly switching the signaling from the asynchronous suspended state to the execution state. This eliminates the need to wait for the delay function to finish executing, reduces the micro-timeline deviation that the delay mechanism may cause, ensures that key signaling is executed accurately at the corresponding time point, and improves the timing consistency of business state switching in online education playback scenarios.
[0041] Preferably, during the concurrent execution of multiple signaling messages, to avoid signaling processing lag caused by resource contention within the coroutine scope, a dynamic resource allocation unit is also set up to monitor the CPU utilization and memory usage within the coroutine scope in real time. When the resource utilization reaches a preset threshold, additional thread resources are automatically allocated to high-priority signaling messages, limiting the resource utilization ratio of low-priority signaling messages. After the high-priority signaling messages are completed, the excess thread resources are released for use by low-priority signaling messages. By dynamically allocating resources, the execution efficiency of multiple signaling messages is balanced, ensuring the smoothness of key interactions such as microphone status switching and answer result display during online education playback, while avoiding overall system resource overload.
[0042] Optionally, it also includes extending the business state time-series traceability library to a business dimension based on a plug-in mapping architecture, and allocating independent time-series storage resources for the new business dimension through configuration driver, so as to achieve non-intrusive dynamic extension of the business dimension.
[0043] This application addresses the issue of low compatibility and the need to modify core scheduling logic during business state dimension iteration in online education room communication signaling playback scenarios. It constructs a pluggable mapping architecture adapted to the business state time-series traceability library. This architecture uses configuration-driven methods as the core triggering method for dimension expansion. It can allocate independent time-series storage resources for new classroom business dimensions without adjusting the core scheduling and state backtracking logic of the traceability library. Unlike the traditional hard-coded dimension expansion method, this can improve the scenario adaptability of the business state time-series traceability library and reduce the amount of code modification during dimension expansion.
[0044] Preferably, the system receives configuration input information for new business dimensions in the online education scenario, writes the configuration input information for new business dimensions into a preset business dimension registration registry, which is a dedicated configuration storage unit for recording room communication signaling business dimensions, and completes the generation of registration identifiers for new business dimensions. The registration identifier is a unique character marker that distinguishes different business dimensions.
[0045] Preferably, based on the registration identifier of the new business dimension, an independent storage area is opened in the core storage structure of the business status time-series traceability library. The independent storage area is used to carry the time-series status data of the new business dimension, forming an independent time-series storage unit corresponding to the new business dimension. The independent time-series storage unit adopts a linear linked storage structure, which can record the status change data of the new business dimension in chronological order.
[0046] Preferably, in a scenario, during the process of performing association binding after the allocation of independent time-series storage resources, a one-to-one mapping relationship is established between the registration identifier of the newly added business dimension and the independent time-series storage unit. The dimension index table of the business status time-series traceability library is updated synchronously. The dimension index table is used to record the association relationship between each business dimension and the corresponding storage unit, ensuring that the status backtracking process can identify and call the storage data of the newly added business dimension.
[0047] Preferably, in the process of achieving non-intrusive dynamic expansion of business dimensions, the newly added business dimensions are included in the preset persistent signaling filtering range, and the business dimension matching set in the persistent signaling filtering rules is updated. Without adjusting the core logic of state backtracking, segmented positioning, and checkpoint loading in the business state time sequence traceability library, the full-process adaptation of the newly added business dimensions can be completed, thus achieving non-intrusive dynamic expansion of business dimensions.
[0048] Optionally, in response to a playback jump trigger command, the last valid state of multiple business dimensions before the jump target timestamp is extracted using a preset business state time-series tracing library. Specifically, this includes: traversing and loading historical business state data before the jump target timestamp based on the pre-built business state time-series tracing library; classifying and sorting the historical business state data according to preset business dimension division rules to form business state time-series tracing data; filtering out the last effective state data before the jump target timestamp under each business dimension based on the business state time-series tracing data to form a set of last valid states for multiple business dimensions; and uniformly encapsulating the set of last valid states for multiple business dimensions to obtain standardized last valid state data adapted to the reconstructed target playback state.
[0049] This application addresses the problems of low efficiency and chaotic multi-dimensional state collection in traditional state extraction methods for online education room communication signaling playback and jump scenarios. It designs a multi-dimensional last effective state extraction process based on a business state time sequence traceability library. Through continuous processing of segmented historical data extraction, persistent rule filtering, dimension classification and sorting, last state filtering, and standardized encapsulation, it can quickly locate the final effective state of each classroom business dimension before the jump target timestamp. Unlike the traditional full data traversal extraction method, it can reduce the resource consumption of state extraction and improve the response efficiency of playback jump state reconstruction.
[0050] Preferably, based on the jump target timestamp, the timeline index of the business status time-series traceability library is called to perform segmented positioning processing on the historical time-series business data, and the status snapshot of the target data segment is loaded synchronously to obtain the target data segment containing the jump target timestamp. Within the target data segment, the time-series signaling data is supplemented forward according to the persistent signaling filtering mechanism to form the historical time-series business data corresponding to the jump target timestamp. Then, according to the preset business persistence verification rules, the signaling attribute verification and key field matching filtering are performed on the historical time-series business data to obtain the target business status data that conforms to the persistence rules. The target business status data is traversed and loaded sequentially according to the time-series index to construct the historical business status data corresponding to the jump target timestamp.
[0051] Preferably, historical business status data is used as the processing basis. According to the preset business dimension division rules, the historical business status data is classified and collected. Status data belonging to the same classroom business dimension are collected into the same data set. After the dimension classification is completed, the data is sorted in ascending order according to the recording timestamp carried by the status data, forming business status time-series traceability data that is distinguished by business dimension and has a continuous time sequence. The business status time-series traceability data can clearly represent the status change process of each classroom business dimension over time.
[0052] Preferably, in a scenario, the business status time-series traceability data is used as the processing basis. The data sets corresponding to each business dimension are traversed, and all status data in each data set whose recording timestamp is earlier than the jump target timestamp are extracted. Among the filtered status data, the status data with the smallest difference between the recording timestamp and the jump target timestamp is located, and this status data is taken as the last effective status data of the corresponding business dimension. The above traversal and location operations are repeated until the last effective status data of all business dimensions are extracted, forming the last effective status set of multiple business dimensions.
[0053] Preferably, the last valid state set of multiple business dimensions is used as the processing basis. The last valid state set is processed by field normalization and format unification according to the preset frame structure encapsulation specification. Redundant fields that are not related to state reconstruction are removed, and the core state parameters of each business dimension are retained to form standardized last valid state data that is adapted to the target playback state reconstruction. The standardized last valid state data can be directly used for the encapsulation processing of subsequent playback reconstruction compensation frames.
[0054] Optionally, based on a pre-built business status time-series tracing library, historical business status data prior to the target jump timestamp is traversed and loaded. Specifically, this includes: based on the target jump timestamp, locating and extracting historical time-series business data prior to the target jump timestamp from the business status time-series tracing library according to a persistent signaling filtering mechanism; performing signaling attribute verification and key field matching filtering on the historical time-series business data according to preset business persistence verification rules to obtain target business status data that conforms to the persistence rules; and sequentially traversing and loading the target business status data according to the time-series index to construct historical business status data corresponding to the target jump timestamp.
[0055] This application addresses the issues of high resource consumption during full loading of historical data and interference from non-persistent signaling in online education room communication signaling playback scenarios. It constructs a progressive data processing flow consisting of segmented location and interception, persistent verification and filtering, and time-series index loading. Relying on a business status time-series traceability library and a persistent signaling filtering mechanism, it first identifies the continuous historical time-series business data corresponding to the jump target timestamp, then filters invalid signaling content, and finally loads and integrates valid data in chronological order. This process differs from the traditional indiscriminate full-file traversal loading method, reducing resource consumption during data loading and improving the stability of subsequent business status extraction.
[0056] Preferably, the target timestamp is passed to the service status time-series tracing library equipped with a persistent signaling filtering mechanism. The timeline index of the time-series tracing library is used to perform segmented positioning processing on historical time-series service data. The status snapshot data of the corresponding segment is loaded synchronously to obtain the target data segment containing the target timestamp. Within the target data segment, continuous time-series signaling data is supplemented backward according to the persistent signaling filtering mechanism to form the historical time-series service data corresponding to the target timestamp. The historical time-series service data contains the complete room communication signaling sequence before the target timestamp. The timeline index of the time-series tracing library adopts a hierarchical architecture of "global index + segmented local index". The global index stores the start timestamp, end timestamp, and unique segment identifier of each data segment. The segmented local index records the timestamp offset and storage address of key signaling within the segment. Furthermore, the index data and service data are physically stored separately to ensure that positioning does not occupy service data reading resources. During location, the target timestamp is first passed to the global index for binary search to quickly match the unique identifier of the target segment containing that timestamp. Then, the local index of the corresponding segment is retrieved through this identifier, which can lock the storage range of the target data segment without traversing all segment data. At the same time, the index also stores the physical address of the state snapshot of each segment. After locating the target segment, the state snapshot data can be loaded directly through address mapping, avoiding the additional time consumption of snapshot retrieval and adapting to the fast jump requirements in online education scenarios.
[0057] Preferably, historical time-series service data is used as the processing object. Signaling attribute validity checks are performed on individual time-series signaling messages according to preset service persistence verification rules. After attribute verification, key fields of the time-series signaling messages are matched against the core service key set. Non-core signaling data that fails attribute verification or field matching is removed, while room communication signaling data with service persistence is retained, resulting in target service status data that conforms to the persistence rules. The preset service persistence verification rules include three progressive verification dimensions: signaling integrity verification, signaling legality verification, and signaling timeliness verification. Signaling integrity verification checks whether timing signaling contains the core fields necessary for online education scenarios (such as signaling sender identifier, signaling type identifier, business dimension identifier, and timestamp field). If any core field is missing, the signaling is deemed invalid. Signaling validity verification verifies the format and value range of the core fields. For example, the signaling type identifier must match the preset set of business signaling types (such as microphone control, whiteboard drawing, classroom timing, etc.), and the timestamp field must be in a valid time format with a value within a reasonable range. Signaling timeliness verification confirms whether the timestamp of the signaling falls within the start and end time range of the target data segment, preventing invalid signaling from being mixed in across segments. Through three layers of progressive verification, it is ensured that all filtered signaling is valid data that meets business requirements.
[0058] Preferably, the target business status data that conforms to the persistence rules is used as the processing basis. The time-series index sequence built into the business status time-series traceability library is read, and the target business status data is traversed sequentially according to the order of the time-series index. The traversed target business status data is loaded into the preset data cache space segment by segment. The loaded target business status data is processed by time-series connection and integration to construct the historical business status data corresponding to the jump target timestamp. The historical business status data can be directly used as the processing object for subsequent dimension classification and time-series sorting.
[0059] Optionally, based on the jump target timestamp, historical time-series service data prior to the jump target timestamp is located and extracted from the service status time-series tracing library based on the persistent signaling filtering mechanism. Specifically, this includes: based on the jump target timestamp, segmenting the historical time-series service data using the time axis index of the time-series tracing library and loading state snapshots of the corresponding segments to obtain target data segments containing the target timestamp; based on the target data segments containing the target timestamp, supplementing the time-series signaling data backward within the target segments according to the persistent signaling filtering mechanism to form historical time-series service data corresponding to the jump target timestamp.
[0060] This application addresses the issues of low efficiency in locating historical time-series business data and lack of prior benchmarks for state restoration in online education room communication signaling playback scenarios. It adopts a time-axis index-driven segmented location and segment boundary state snapshot loading method, combined with a persistent signaling filtering mechanism to complete the signaling forward completion within the target segment. First, it quickly locates the target data segment containing the jump target timestamp and loads the corresponding state snapshot. Then, it filters valid signaling within the target segment and completes the time sequence connection to form continuous and complete historical time-series business data corresponding to the jump target timestamp. This processing method differs from the traditional full-file traversal retrieval method, which can reduce the resource consumption of data location and ensure the time sequence continuity and business effectiveness of historical time-series business data.
[0061] Preferably, the jump target timestamp is used as the retrieval basis and passed to the business status time series traceability library. The time axis index built into the business status time series traceability library is called to read the start and end time identifiers and file offset information of each segment of historical time series business data. The jump target timestamp is matched and compared with the start and end time identifiers of each segment. Based on the matching and comparison results, the target data segment belonging to the jump target timestamp is located. The preset state snapshot data of the target data segment boundary is loaded synchronously. The state snapshot data records the last valid business status of the microphone on / off status, interactive whiteboard page identifier, and classroom timer running status in the online education scenario before the start time of the target data segment. The target data segment is associated and bound with the state snapshot data to obtain the target data segment containing the target timestamp.
[0062] Preferably, the target data segment containing the target timestamp is used as the processing basis. All time-series signaling data within the target data segment is extracted. The time-series signaling data is filtered through a persistent signaling filtering mechanism. The persistent signaling filtering mechanism retains room communication signaling data with business persistence by performing Boolean checks on the fields stored in the signaling packets and matching checks on the core business key set. The filtered time-series signaling data is traversed from the starting position of the target data segment toward the target timestamp. The traversed time-series signaling data is then sequentially connected with the status snapshot data according to time order to complete the business status change information between the status snapshot time and the target timestamp, forming the historical time-series business data corresponding to the target timestamp.
[0063] Optionally, the last valid states of the multiple business dimensions are encapsulated into a replay reconstruction compensation frame and sent to reconstruct the target replay state corresponding to the jump target timestamp. Specifically, this includes: encapsulating the last valid states of the multiple business dimensions into a frame structure, and configuring and prioritizing the encapsulated data with high-priority marking to form a high-priority replay reconstruction compensation frame adapted to the reconstruction of the target replay state; and sending the high-priority replay reconstruction compensation frame to the replay interface by performing timestamp alignment and priority scheduling processing on the high-priority replay reconstruction compensation frame to reconstruct the target replay state corresponding to the jump target timestamp.
[0064] In this application, to address the issues of state reconstruction timing lag and signaling scheduling priority conflict in streaming media playback jump scenarios, a frame structured encapsulation and targeted scheduling mechanism for the last valid state is designed. This mechanism transforms the last valid state of multi-dimensional services into a compensation frame structure with independent scheduling attributes. Through a combination of frame format adaptation, priority marking, timestamp alignment, and queue-jumping scheduling, the compensation frame can bypass the conventional signaling timing queue and directly complete the playback state reconstruction. This method differs from the traditional state reconstruction method that relies on the serial distribution of conventional signaling queues, and can reduce the waiting latency of state reconstruction.
[0065] Preferably, the last valid states of the microphone on / off status, the unique identifier of the canvas page, and the running status of the classroom timer in the Internet relay chat signaling scenario are extracted. The above state data is filled into the designed playback reconstruction compensation frame carrier. The playback reconstruction compensation frame carrier is divided into three independent storage areas: state data segment, frame identifier segment, and timestamp adaptation segment. The state data segment is used to carry the last valid state of each business dimension, the frame identifier segment is used to mark the frame type as reconstruction compensation type, and the timestamp adaptation segment is used to reserve storage space for subsequent timing alignment processing. After data filling and area allocation are completed, the basic playback reconstruction compensation frame is formed.
[0066] Preferably, the priority weight parameters of the Internet relay chat signaling scheduling queue are read, the priority weight of the basic playback reconstruction compensation frame is set to be higher than the weight level of the regular playback signaling, and a priority flag field is written into the frame identifier segment of the basic playback reconstruction compensation frame. This field is used to inform the signaling scheduling module to process the current frame data first. After completing the flag configuration and weight calibration, a high-priority playback reconstruction compensation frame is formed.
[0067] Preferably, after forming a high-priority playback reconstruction compensation frame, a dual verification mechanism for the integrity and validity of the compensation frame is added. Specifically, the integrity verification calculates the hash verification value of the status data segment and writes it into the reserved field of the frame identifier segment. After receiving the frame, the playback interface recalculates the hash value and compares it to ensure that the status data has not been tampered with or lost during transmission. The validity verification verifies whether the reconstruction compensation type mark and priority mark field format of the frame identifier segment conforms to the preset specifications and whether the value of the timestamp adaptation segment is within a reasonable time sequence. The dual verification can avoid playback status disorder caused by invalid or abnormal compensation frames and adapt to the reliability requirements of status reconstruction in online education scenarios.
[0068] Preferably, the timing information of the jump target timestamp is extracted, and the timestamp adaptation segment value of the high-priority playback reconstruction compensation frame is updated to the jump target timestamp, so that the timing identifier of the high-priority playback reconstruction compensation frame matches the jump target time. The high-priority playback reconstruction compensation frame after timestamp alignment can be adapted to the timing reception rules of the playback interface.
[0069] Preferably, during the priority scheduling process of the high-priority playback reconstruction compensation frame after timestamp alignment, the queue scheduling process of the regular playback signaling is paused, the high-priority playback reconstruction compensation frame after timestamp alignment is placed at the beginning of the signaling transmission channel, and the high-priority playback reconstruction compensation frame is transmitted to the playback interface through the signaling transmission channel. The playback interface parses the status data segment content of the high-priority playback reconstruction compensation frame, calls the canvas page rendering component and the classroom status control component, loads the last valid status of each business dimension into the playback interface, and completes the reconstruction of the target playback status corresponding to the jump target timestamp.
[0070] Preferably, during the transmission of high-priority playback reconstruction compensation frames to the playback interface, a transmission status monitoring and real-time feedback mechanism is added: the signaling transmission channel monitors the transmission progress of the compensation frames in real time. If transmission delays or interruptions occur due to network jitter, the local cache retry logic is immediately triggered, and the compensation frames are temporarily cached in the local emergency storage unit. At the same time, the transmission bandwidth usage of regular signaling is reduced, reserving resources for the retry transmission of compensation frames. After the playback interface successfully receives and parses the compensation frames, it immediately returns a status reconstruction confirmation signal. This signal carries the status loading results of each service dimension (such as the whiteboard page indicating successful loading, timer status synchronization completion, etc.). If a failure to load a certain dimension's status is detected, the signaling transmission channel will only retransmit the status data segment of that dimension, rather than retransmitting the entire frame, reducing the resource consumption of repeated transmissions.
[0071] Preferably, for extreme scenarios where multiple compensation frames are triggered concurrently (such as multiple jumps by a user in a short period of time), a new compensation frame conflict arbitration mechanism is added: conflict is judged by the jump target timestamp and trigger order identifier in the frame identifier segment. If the later triggered compensation frame has a more updated time sequence and more complete business dimensions, it will automatically overwrite the earlier triggered incomplete transmission compensation frame and terminate its transmission and parsing process. If the earlier triggered compensation frame has entered the state loading stage, the reconstruction process of that frame will be completed first, and subsequent compensation frames will be processed after it is completed. This avoids state overlay conflicts caused by multiple frames overlapping and ensures the smoothness of state switching during online education playback jumps.
[0072] like Figure 2 The present application provides a streaming media playback device, characterized in that it includes: a target playback state reconstruction module, which, in response to a playback jump trigger command, extracts the last valid states of multiple service dimensions before the jump target timestamp using a preset service state timing traceability library, encapsulates the last valid states of the multiple service dimensions into a playback reconstruction compensation frame and sends it to reconstruct the target playback state corresponding to the jump target timestamp; a service processing carrier creation module, which, based on the target playback state, parses and determines the identification identifier of the playback content body, and when the identification identifier of the playback content body changes, creates a corresponding service processing carrier based on the changed identification identifier of the playback content body; and a playback signaling scheduling module, which obtains the service processing carrier corresponding to the changed identification identifier of the playback content body, and performs scheduling processing on the playback signaling corresponding to the target playback state in the service processing carrier corresponding to the changed identification identifier of the playback content body.
[0073] The streaming media playback device described in this application addresses the state alignment, topology isolation, and timing scheduling requirements of multi-channel interactive streaming media and room communication signaling playback in online education scenarios. It constructs a modular collaborative architecture of "state pre-construction - carrier dynamic adaptation - signaling feedback scheduling". The three modules are sequentially connected and cooperate with each other: the target playback state reconstruction module solves the problem of multi-dimensional business state discontinuity at the jump time; the business processing carrier creation module eliminates data stream coupling interference of different playback content bodies; and the playback signaling scheduling module avoids timing jitter caused by hardware timers. This architecture differs from the fixed execution logic of traditional integrated playback devices and can accurately adapt to the synchronous playback requirements of multi-dimensional businesses such as whiteboard drawing, microphone control, and classroom timers in online education.
[0074] Preferably, the target playback state reconstruction module has a built-in business state timing traceability library access interface, a multi-dimensional state extraction unit, a compensation frame encapsulation unit, and a high-priority sending unit. When a playback jump trigger command is received, the command parsing component extracts the jump target timestamp from the command and passes the jump target timestamp to the preset business state timing traceability library through the business state timing traceability library access interface. The multi-dimensional state extraction unit calls the state backtracking algorithm, traverses the storage list of business dimensions such as microphone on / off status, whiteboard page identifier, and classroom timer running status in the business state timing traceability library, and retrieves the last valid state before the jump target timestamp under each dimension to form a set of last valid states for multiple business dimensions. The compensation frame encapsulation unit encapsulates the last valid state set with a frame structure, configures a high-priority marker, and completes priority calibration to form a high-priority playback reconstruction compensation frame. After performing timestamp alignment processing on the compensation frame, the high-priority sending unit bypasses the regular signaling queue and sends it to the playback interface first, driving the playback interface to load the last valid states of each business dimension and reconstruct the target playback state corresponding to the jump target timestamp.
[0075] Preferably, the business processing carrier creation module includes an identification identifier extraction unit, an identifier comparison unit, an old carrier destruction unit, and a new carrier creation unit. The identification identifier extraction unit extracts relevant signaling data of the playback content from the target playback state, parses the unique identifier of the canvas page through preset regular expression matching rules, and uses this identifier as the target identification identifier. The identifier comparison unit retrieves the original playback content identification identifier cached before the target playback state reconstruction, performs a character consistency comparison between the target identification identifier and the original identification identifier, and generates an identifier comparison result. If the comparison result is inconsistent, it is determined that the identification identifier of the playback content has changed. The old carrier destruction unit calls the coroutine scope cancellation interface to destroy the old coroutine scope bound to the original identification identifier, reclaims the thread resources and data cache in the coroutine scope, and forms an idle business processing carrier that is unbound from the identifier. The new carrier creation unit allocates independent thread pool resources based on the changed target identification identifier, creates a new coroutine scope as the adapted business processing carrier, establishes a one-to-one mapping association between the changed identification identifier and the new coroutine scope, and completes the dynamic switching of the business processing carrier.
[0076] Preferably, the playback signaling scheduling module integrates a carrier mapping query unit, a signaling timing scheduling unit, and a feedback driving unit. The carrier mapping query unit reads the mapping relationship between the changed playback content body identification identifier and the service processing carrier, obtains the corresponding new coroutine scope, and passes the playback signaling corresponding to the target playback state into the new coroutine scope. The signaling timing scheduling unit extracts the inherent timestamp of each playback signaling and compares the inherent timestamp with the current progress of the streaming media player. If the inherent timestamp is later than the current progress, the processing task corresponding to the signaling is triggered to enter an asynchronous suspension state, releasing thread resources. When the player progresses to the moment corresponding to the inherent timestamp, the task automatically resumes execution and completes the rendering processing of the signaling. The feedback driving unit receives the feedback signal that the current signaling processing is completed, recursively triggers the extraction and input operation of the next playback signaling, and sequentially completes the timing scheduling processing of all playback signaling, realizing the smooth progress of streaming media playback.
[0077] like Figure 3 Furthermore, this application embodiment also provides an electronic device, the electronic device comprising: a memory for storing executable program code; and a processor for calling and running the executable program code from the memory, causing the electronic device to execute any of the above-described streaming media playback methods.
[0078] The electronic devices include, but are not limited to, laptops, smartphones, tablets, smartwatches, etc.
[0079] A computer storage medium storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by a processor to implement a streaming media playback method as described in any of the preceding claims.
[0080] A computer program product or computer program, the computer program product or computer program including computer instructions, which, when executed by a processor, implement a streaming media playback method as described in any of the preceding claims.
[0081] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A streaming media playback method, characterized in that, include: In response to the playback jump trigger command, the last valid state of multiple business dimensions before the jump target timestamp is extracted using a preset business state time sequence traceability library. The last valid state of the multiple business dimensions is encapsulated into a playback reconstruction compensation frame and sent to reconstruct the target playback state corresponding to the jump target timestamp. Based on the target playback status, the identification identifier of the playback content is parsed and determined. When the identification identifier of the playback content changes, a corresponding business processing carrier is created based on the changed identification identifier of the playback content. Obtain the service processing carrier corresponding to the identification identifier of the modified playback content, and perform scheduling processing on the playback signaling corresponding to the target playback state in the service processing carrier corresponding to the identification identifier of the modified playback content.
2. The streaming media playback method according to claim 1, characterized in that, Based on the target playback status, the identification identifier of the playback content is parsed and determined. When the identification identifier of the playback content changes, a corresponding business processing carrier is created based on the changed identification identifier of the playback content, specifically including: Based on the reconstructed target playback state, the identification identifier of the playback content is extracted and determined by a preset feature matching rule as the target identification identifier. The target identification identifier is compared with the identification identifier of the playback content body before the target playback state reconstruction, and the identification identifier of the playback content body is determined based on the consistency comparison result. If the identification identifier of the playback content changes, a corresponding business processing carrier is created based on the changed identification identifier.
3. The streaming media playback method according to claim 2, characterized in that, If the identification identifier of the playback content changes, a corresponding business processing carrier is created based on the changed identification identifier, specifically including: Resource release and association cleanup are performed on the business processing carrier corresponding to the target identification identifier to form an idle business processing carrier that is unbound from the identifier; After forming an idle service processing carrier that has been unbound from the identifier, an adapted service processing carrier is created based on the modified identifier, and a mapping association is established between the modified identifier and the service processing carrier corresponding to the modified identifier.
4. The streaming media playback method according to claim 1, characterized in that, Obtain the service processing carrier corresponding to the identification identifier of the modified playback content body, and perform scheduling processing on the playback signaling corresponding to the target playback state in the service processing carrier corresponding to the identification identifier of the modified playback content body, specifically including: The timing scheduling of playback signaling is performed based on the inherent timestamp of the playback signaling corresponding to the target playback status. After receiving feedback that the current playback signaling processing is completed, the extraction and distribution of the next playback signaling are triggered in sequence to realize the timing playback of streaming media playback status.
5. A streaming media playback method according to any one of claims 1, characterized in that, Also includes: Based on a plug-in mapping architecture, the business state time-series traceability library is extended to include business dimensions. By configuring the driver, independent time-series storage resources are allocated for the new business dimensions to achieve non-intrusive dynamic expansion of business dimensions.
6. The streaming media playback method according to claim 1, characterized in that, In response to the playback jump trigger command, the system uses a pre-defined business status time-series tracing library to extract the last valid status of multiple business dimensions prior to the jump target timestamp, specifically including: Based on the pre-built business status time-series traceability library, iterate through and load the historical business status data before the target timestamp; Based on preset business dimension division rules, the historical business status data is categorized by dimension and sorted by time sequence to form business status time sequence traceability data. Based on the business status time-series traceability data, the last effective status data before the jump target timestamp is selected under each business dimension to form the last effective status set of multiple business dimensions. The last valid state sets of the multiple business dimensions are uniformly encapsulated to obtain standardized last valid state data that is adapted to the replay state of the reconstruction target.
7. A streaming media playback method according to claim 6, characterized in that, Based on a pre-built business status time-series tracing library, iterate through and load historical business status data prior to the target timestamp, specifically including: Based on the jump target timestamp, locate and extract historical time-series business data before the jump target timestamp from the business status time-series traceability library based on the persistent signaling filtering mechanism; Based on the preset service persistence verification rules, the historical time-series service data is subjected to signaling attribute verification and key field matching and filtering to obtain target service status data that conforms to the persistence rules. The target business status data is traversed and loaded sequentially according to the time sequence index to construct the historical business status data corresponding to the target timestamp.
8. A streaming media playback method according to claim 7, characterized in that, Based on the jump target timestamp, historical time-series business data prior to the jump target timestamp is located and extracted from the business status time-series tracing database, which is filtered according to persistent signaling mechanisms. Specifically, this includes: Based on the jump target timestamp, the historical time series business data is segmented and located using the time axis index of the time series traceability library, and the corresponding segment data is loaded with a status snapshot to obtain the target data segment containing the target timestamp. Based on the target data segment containing the target timestamp, and according to the persistent signaling filtering mechanism, the time-series signaling data is supplemented backward within the target segment to form the historical time-series service data corresponding to the target timestamp.
9. A streaming media playback method according to claim 1, characterized in that, The last valid state of the multiple business dimensions is encapsulated into a replay reconstruction compensation frame and sent to reconstruct the target replay state corresponding to the jump target timestamp, specifically including: The last valid state of the multiple business dimensions is encapsulated in a frame structure, and the encapsulated data is marked with high priority and configured with priority to form a high-priority playback reconstruction compensation frame adapted to the target playback state reconstruction. By performing timestamp alignment and priority scheduling on the high-priority playback reconstruction compensation frame, the high-priority playback reconstruction compensation frame is sent to the playback interface to reconstruct the target playback state corresponding to the jump target timestamp.
10. A streaming media playback device, characterized in that, include: The target playback state reconstruction module, in response to the playback jump trigger command, uses a preset business state time sequence traceability library to extract the last valid state of multiple business dimensions before the jump target timestamp, encapsulates the last valid state of the multiple business dimensions into a playback reconstruction compensation frame and sends it to reconstruct the target playback state corresponding to the jump target timestamp. The business processing carrier creation module parses and determines the identification identifier of the playback content body according to the target playback status. When the identification identifier of the playback content body changes, the corresponding business processing carrier is created based on the changed identification identifier of the playback content body. The playback signaling scheduling module obtains the service processing carrier corresponding to the identification identifier of the modified playback content, and performs scheduling processing on the playback signaling corresponding to the target playback state in the service processing carrier corresponding to the identification identifier of the modified playback content.
11. An electronic device, characterized in that, The electronic device includes: a memory for storing executable program code; and a processor for calling and running the executable program code from the memory, causing the electronic device to perform a streaming media playback method as described in any one of claims 1 to 9.
12. A computer program product or computer program, characterized in that, The computer program product or computer program includes computer instructions that, when executed by a processor, implement a streaming media playback method as described in any one of claims 1-9.