Multimedia information interaction method and system
By extracting video images and image element structures from multimedia video playback data, we build an element position switching mapping relationship model, analyze the smoothness of element action switching and capture pixel loss data, and design interaction modes and virtual scenes to solve the problems of multimedia video in traditional methods. The problem of inaccurate pixel loss analysis and insignificant interaction effects during image switching is achieved by achieving higher analysis accuracy and interaction effects.
Patent Information
- Application Number
- CN202410310904.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-19
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-03-19
AI Technical Summary
Traditional multimedia information interaction methods have problems such as inaccurate analysis of pixel loss during multimedia video image switching and insignificant interaction effects.
By obtaining multimedia video playback data, we perform video image extraction and image element structure extraction, build an element position switching mapping relationship model, analyze the smoothness of element action switching, capture pixel loss data, design interaction modes, and perform digital coding and virtual scene construction.
It improves the accuracy of multimedia video image switching pixel loss analysis, enhances the significance of interactive effects, and provides a more immersive viewing experience and interactive experience.
Smart Images

Figure CN118247700B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of interactive technology, and in particular to a multimedia information interactive method and system. Background Art
[0002] With the continuous development of information technology, people have put forward higher requirements for the acquisition and interaction of multimedia information, including real-time transmission, processing and interaction of information in various forms such as images, audio, and video. At present, with the rapid development of the Internet and mobile communication technology, network-based multimedia information interaction methods and systems have been widely used. For example, the multimedia information interaction system based on Web technology can realize the real-time transmission and interaction of various forms of information such as images, audio, and video, meeting the needs of users in different scenarios. At the same time, with the development of artificial intelligence and big data technology, multimedia information interaction methods and systems can also use data mining, machine learning and other technologies to provide users with personalized information recommendations and interactive experiences. However, a traditional multimedia information interaction method has the problems of inaccurate analysis of pixel loss in multimedia video image switching and insignificant interaction effect. Summary of the invention
[0003] Based on this, it is necessary to provide a multimedia information interaction method to solve at least one of the above technical problems.
[0004] To achieve the above object, a multimedia information interaction method comprises the following steps:
[0005] Step S1: Acquire multimedia video playback data; perform video image extraction on the multimedia video playback data to obtain a multimedia video playback image; perform image element structure extraction on the media video playback image to obtain image element structure data;
[0006] Step S2: performing element arrangement timing analysis on the image element structure data according to the multimedia video playback data to obtain element arrangement timing data; constructing a position switching mapping relationship model on the element arrangement timing data to obtain an element position switching relationship model;
[0007] Step S3: Analyze the element action switching fluency of the element arrangement timing data through the element position switching relationship model to obtain the element action switching fluency data; capture the pixel loss in the action switching process according to the element action switching fluency data to obtain the action switching pixel loss data; design the interaction mode of the element arrangement timing data based on the action switching pixel loss data to obtain the element interaction mode data;
[0008] Step S4: digitally encode the element interaction mode data to obtain the element interaction mode digitally encoded data; construct a virtual scene according to the element interaction mode digitally encoded data to obtain the element interaction virtual scene data.
[0009] The present invention can convert the information in the video into an operable data form by extracting the video image and the image element structure of the multimedia video playback data. Such conversion can help further analyze the video content, and perform structured processing on the elements therein, so that it is easier to understand and process. The element arrangement timing analysis of the image element structure data is helpful to understand the arrangement order and change law of the elements during the playback process. Such analysis can reveal the correlation and interaction mode between different elements in the video, provide basic data for subsequent processing, and construct an element position switching mapping relationship model to further understand the position transformation law between elements in the video. Such a model helps to predict the position of elements at different time points, thereby providing guidance for subsequent editing, analysis or other processing of the video. The processing of the above steps can provide useful support for multiple application fields. For example, in video editing, the element position switching mapping relationship model can be used to design transition effects or adjust the layout of elements; in video content analysis, the element arrangement timing data can be used to perform tasks such as scene segmentation or action recognition; by performing element action switching fluency analysis on the element arrangement timing data, the fluency of the transition effect between elements in the video can be evaluated. This helps to improve the viewing experience of the video, making the switching between elements more natural and coherent, avoiding the abruptness during the transition. The capture of pixel loss data during the action switching process can help discover and quantify the possible picture loss when the elements in the video are switched. Such data helps to optimize the video processing algorithm, reduce picture loss, and improve the quality and clarity of the video. The interactive mode design of the element arrangement timing data based on the action switching pixel loss data can design a more reasonable and effective interactive mode according to the relationship between the video content and the elements. This helps to enhance the information transmission effect of the video, making it easier for the audience to understand and accept the video content. By digitally encoding the element interaction mode data and building a virtual scene based on this, the video content can be presented in a virtual environment. Such a virtual scene can not only be used for the display of video content, but also for interactive experience, virtual reality and other fields, providing users with a more immersive viewing experience and interactive experience. Therefore, the present invention provides a multimedia information interaction method that optimizes a traditional multimedia information interaction method, solves the problem that the traditional multimedia information interaction method has inaccurate analysis of the pixel loss of multimedia video image switching and the interaction effect is not significant, improves the accuracy of the analysis of the pixel loss of multimedia video image switching, and improves the significance of the interaction effect.
[0010] Preferably, step S1 comprises the following steps:
[0011] Step S11: Acquire multimedia video playback data;
[0012] Step S12: extracting video images from the multimedia video playback data to obtain a multimedia video playback image; performing image edge filtering on the multimedia video playback image to obtain a video edge filtered image;
[0013] Step S13: performing color contrast filling on the video edge filter image using a preset color standard threshold to obtain a color-filled edge filter image;
[0014] Step S14: extracting the image element structure of the media video playback image according to the color-filled edge-filtered image to obtain image element structure data.
[0015] The present invention can convert video content into a digital form by acquiring multimedia video playback data, and provides basic data for subsequent processing. This helps to analyze, edit and apply video content, extract video images from multimedia video playback data, and perform edge filtering on the extracted images, which can enhance the edge features of the image, making the image clearer and more vivid. This helps to improve the accuracy and effect of subsequent processing steps, and by using a preset color standard threshold to perform color contrast filling on the edge-filtered image, the color contrast of the image can be enhanced, making the image more visually attractive and ornamental. Such processing helps to highlight important elements and details in the video, and according to the image after edge filtering and color filling processing, the element structure in the image can be more accurately extracted. These element structure data contain information such as the position, size, shape, etc. of each element in the video, providing a basis for subsequent analysis and processing.
[0016] Preferably, step S14 comprises the following steps:
[0017] Step S141: binarizing the color-filled edge-filtered image to obtain an edge-filtered binary image;
[0018] Step S142: performing image region difference division on the media video playback image according to the edge filtered binary image to obtain image region division data; performing different region subject contour extraction on the image region division data to obtain region subject contour data;
[0019] Step S143: Calculate the minimum bounding rectangle of the area main body contour data to obtain the minimum bounding rectangle data of the area main body; perform ellipse fitting on the area main body contour data according to the minimum bounding rectangle data of the area main body to obtain the ellipse fitting data of the area main body;
[0020] Step S144: performing grayscale distribution analysis of different regional images on the image region division data based on the regional body minimum circumscribed rectangle data and the regional body ellipse fitting data to obtain regional image grayscale distribution data;
[0021] Step S145: extracting the image element structure of the media video playback image according to the regional body minimum circumscribed rectangle data, the regional body ellipse fitting data and the regional image grayscale distribution data to obtain image element structure data.
[0022] The present invention obtains an edge-filtered binary image by binarizing a color-filled edge-filtered image. This step can effectively extract the edge information of the image and convert it into a binary form, providing accurate edge data for subsequent region division and contour extraction. According to the edge-filtered binary image, the media video playback image is divided into image region differences, thereby obtaining image region division data. Then, for each different region, the region main body contour is extracted to obtain the region main body contour data. These data can help identify and describe the shape and structure of different regions in the image, and the minimum circumscribed rectangle is calculated for the region main body contour data to obtain the region main body minimum circumscribed rectangle data. Then, according to these rectangle data, the region main body contour data is elliptical fitted to obtain the region main body elliptical fitting data. These data help to accurately describe the shape characteristics of the region main body, provide a basis for subsequent analysis, and perform grayscale distribution analysis of different region images on the image region division data based on the region main body minimum circumscribed rectangle data and the region main body elliptical fitting data. This step can help understand the grayscale distribution of each area of the image, and then reveal the local features and content of the image. Finally, according to the minimum bounding rectangle data of the regional body, the ellipse fitting data of the regional body, and the grayscale distribution data of the regional image, the image element structure of the media video playback image is extracted to obtain the image element structure data. These data contain information such as the position, size, shape, and grayscale distribution of each element in the image, which provides an important basis for subsequent image analysis and processing.
[0023] Preferably, step S2 comprises the following steps:
[0024] Step S21: performing element arrangement timing analysis on the image element structure data according to the multimedia video playback data to obtain element arrangement timing data;
[0025] Step S22: constructing a position switching mapping relationship model for the element arrangement time series data using a recurrent neural network model to obtain an initial element position switching relationship model;
[0026] Step S23: Designing a format condition constraint mechanism for the element arrangement time series data to obtain an element format condition constraint mechanism;
[0027] Step S24: using the element format condition constraint mechanism to perform model training on the initial element position switching relationship model to obtain the element position switching relationship model.
[0028] The present invention can obtain the arrangement order and change rules of elements on the time axis by performing element arrangement timing analysis on image element structure data according to multimedia video playback data. This helps to understand the temporal relationship between elements, extract the movement trajectory and dynamic change information of elements, provide a basis for subsequent model construction and training, and use a recurrent neural network model to construct a position switching mapping relationship model for element arrangement timing data. This step can help capture the rules and patterns of position switching between elements, establish a position change relationship model of elements in timing, provide a basis for subsequent element position prediction and adjustment, and design a format condition constraint mechanism for element arrangement timing data, aiming to define the arrangement format and constraints of elements at different time points. These constraints can include distance restrictions, layout rules, etc. between elements, which help to maintain the reasonable arrangement and layout of elements during playback, and improve visual effects and user experience.
[0029] Preferably, step S23 includes the following steps:
[0030] Step S231: performing element layout analysis on the element arrangement timing data to obtain element arrangement layout data;
[0031] Step S232: Analyze the dynamic change law of the element arrangement time series data according to the element arrangement layout data to obtain the element dynamic change law data;
[0032] Step S233: Acquire multimedia screen configuration data;
[0033] Step S234: dynamically calculating the element refresh rate of the element dynamic change law data according to the multimedia screen configuration data to obtain the element dynamic refresh rate data;
[0034] Step S235: adapting the element encoding format of the element arrangement layout data according to the element dynamic refresh rate data to obtain element encoding format adaptation data; adapting the transmission bandwidth according to the element dynamic refresh rate data to obtain transmission bandwidth adaptation data;
[0035] Step S236: Design a format condition constraint mechanism according to the element encoding format adaptation data and the transmission bandwidth adaptation data to obtain an element format condition constraint mechanism.
[0036] The present invention helps to understand the overall layout of elements on the screen, including their position, size, spacing and other information, by performing element layout analysis on element arrangement timing data. This provides a basis for subsequent dynamic change law analysis, and at the same time enables a clearer understanding of the overall impact of element arrangement; using element arrangement layout data to perform dynamic change law analysis on element arrangement timing data can reveal the dynamic change law of elements during playback. This includes the movement trajectory and size change of elements, which provides key element dynamic change information for subsequent steps, and helps to more accurately adapt the position and layout of elements on the screen. Acquiring multimedia screen configuration data is to understand the screen parameters of the current media playback environment, such as resolution, refresh rate, etc. This information is an important reference for subsequent calculation of element dynamic refresh rate and adaptation format, ensuring that the presentation of elements on the screen is smooth and optimized, and using multimedia screen configuration data to dynamically calculate the refresh rate of element dynamic change law data. This is beneficial to determine the refresh rate of elements during playback according to the characteristics of the screen, thereby ensuring that the display effect of the elements is synchronized with the screen, improving the visual experience, and adapting the encoding format and transmission bandwidth of element arrangement layout data according to the element dynamic refresh rate data. This ensures that the presentation of elements on the screen is efficient and smooth, making full use of available bandwidth and encoding resources while avoiding potential performance bottlenecks, adapting data according to element encoding format and transmission bandwidth, and designing format condition constraint mechanisms. This helps ensure that the display of elements meets specific format requirements while taking into account bandwidth limitations, improving overall system stability and performance. This can also include constraints on the relative position, size, color, etc. between elements to meet specific playback scenarios and user needs.
[0037] Preferably, step S3 comprises the following steps:
[0038] Step S31: performing element action switching fluency analysis on the element arrangement time series data through the element position switching relationship model to obtain element action switching fluency data;
[0039] Step S32: performing inter-frame difference calculation on the multimedia video playback image according to the element action switching smoothness data to obtain element action inter-frame difference data;
[0040] Step S33: performing pixel motion vector conversion on the element motion switching smoothness data according to the element motion inter-frame difference data to obtain the motion pixel switching vector;
[0041] Step S34: capturing pixel loss during the action switching process according to the action pixel switching vector, the element action inter-frame difference data, and the element action switching smoothness data to obtain action switching pixel loss data;
[0042] Step S35: Designing an interactive mode for the element arrangement timing data based on the action switching pixel loss data and the element action inter-frame differential data to obtain element interactive mode data.
[0043] The present invention analyzes the element arrangement timing data through the element position switching relationship model, and can evaluate the fluency of the element in the switching action process. This helps to identify potential action switching problems, such as flickering, jamming, etc., and provides basic data for subsequent optimization. The video playback image is calculated based on the element action switching fluency data. This step can detect the difference between consecutive frames, identify the changes of elements during the motion process, and provide key data for the subsequent pixel action vector conversion. The element action frame difference data is used to convert the element action switching fluency data into a pixel action vector. Such a conversion helps to represent the element's motion change as pixel-level information, more accurately capture the changes of elements during the motion process, and capture pixel loss during the action switching process based on the action pixel switching vector, the element action frame difference data, and the element action switching fluency data. The main purpose of this step is to identify the pixel loss that may occur during the action switching process, such as image blur, distortion, etc., to provide goals and basis for subsequent optimization, and to design an interactive mode for the element arrangement timing data based on the action switching pixel loss data and the element action frame difference data. The goal of this step is to optimize the display of elements during the interaction process based on the loss data and inter-frame difference data to improve user experience and playback effect.
[0044] Preferably, step S34 includes the following steps:
[0045] Step S341: calculating the element pixel variance in the continuous frames according to the element action inter-frame difference data and the element action switching smoothness data, and obtaining the continuous frame element pixel variance data;
[0046] Step S342: constructing a pixel variance difference matrix for the element pixel variance data of the continuous frames based on the element action inter-frame difference data to obtain an element pixel variance difference matrix;
[0047] Step S343: performing matrix change trend analysis on the element pixel variance difference matrix to obtain matrix change trend data;
[0048] Step S344: performing matrix change trend quantitative calculation on the matrix change trend data using the element matrix trend quantitative calculation formula to obtain matrix trend quantitative data;
[0049] Step S345: Capture pixel loss during the action switching process according to the action pixel switching vector and the matrix trend quantization data to obtain action switching pixel loss data.
[0050] The present invention can quantify the image change degree of elements in the motion process by calculating the pixel variance of elements in continuous frames. High pixel variance may indicate a large action or subtle change, which provides a key data basis for subsequent steps. The differential matrix of the element pixel variance data of continuous frames is constructed by using the element action frame difference data. This step can capture the change of element pixel variance in continuous frames more carefully, provide more detailed information for subsequent analysis, analyze the element pixel variance difference matrix, and obtain the change trend data between matrices. This helps to understand the change pattern of elements between continuous frames, including information such as movement direction and speed, and use the element matrix trend quantization calculation formula to quantify the matrix change trend data. This step converts the complex matrix change trend into a measurable value, which provides convenience for further analysis. According to the action pixel switching vector and the matrix trend quantization data, the pixel loss capture in the action switching process is performed. The purpose of this step is to more accurately capture the image loss situation in the action switching and provide guidance for subsequent optimization.
[0051] Preferably, the element matrix trend quantification calculation formula in step S344 is as follows:
[0052]
[0053] In the formula, Q represents the result value of matrix trend quantification, n represents the dimension of the matrix, i represents the number of rows of the matrix, j represents the number of columns of the matrix, t represents the time range considered when calculating trend quantification, M represents the change trend difference coefficient of the matrix change trend data, a represents the change trend complexity of the matrix change trend data, b represents the number of matrix elements, It represents the first-order partial derivative of the matrix change trend difference coefficient M with respect to time, and it represents the rate of change of the matrix change trend difference with time. Represents the second-order partial derivative of the matrix change trend difference coefficient M with respect to time, It represents the third-order partial derivative of the matrix change trend difference coefficient M with respect to time, and ω represents the error adjustment value of the element matrix trend quantitative calculation formula.
[0054] By consulting relevant technical literature and consulting technical personnel in this field, the present invention constructs an element matrix trend quantification calculation formula, which provides a more comprehensive, accurate and dynamic trend quantification result by considering the matrix dimension, number of rows, number of columns, time range and changing characteristics of the matrix trend. Adjustment of these parameters can make the trend quantification result more representative, and the result can be further corrected by adjusting the error adjustment value. The formula fully considers the dimension n of the matrix. When the dimension of the matrix increases, it means that the matrix contains more data, which can provide more accurate trend quantification results; the number of rows i of the matrix, which determines the number of rows of data in the matrix. Increasing the number of rows can provide more data points, which helps to capture the changing trend of the matrix more accurately; the number of columns j of the matrix, which determines the number of columns of data in the matrix. Increasing the number of columns can provide more data points, which helps to capture the changing trend of the matrix more accurately; the time range t considered when calculating trend quantification, increasing the time range can provide a longer data sequence, making the trend quantification result more representative; the change trend difference coefficient M of the matrix change trend data, which reflects the difference in the change trend of the data in the matrix. By considering the derivatives of each order of M, the trend change of the matrix can be more accurately described; the change trend complexity a of the matrix change trend data, which reflects the complexity of the trend change of the data in the matrix. Increasing a can consider more trend change patterns, making the trend quantification result more comprehensive; the number of matrix elements b, which is the size of the matrix. Increasing the number of matrix elements can provide more data points, which helps to capture the changing trend of the matrix more accurately; the first-order partial derivative of the matrix change trend difference coefficient M with respect to time It represents the rate of change of the matrix change trend difference over time, that is, the rate of change of the matrix change trend over time. Considering the first-order partial derivative can capture the speed change of the matrix trend, making the trend quantification result more dynamic; the second-order partial derivative of the matrix change trend difference coefficient M with respect to time That is, the acceleration of the matrix change trend. Considering the second-order partial derivative can capture the acceleration change of the matrix trend, making the trend quantification result more sensitive; the third-order partial derivative of the matrix change trend difference coefficient M with respect to time Considering the third-order partial derivative can capture the rate of change of the matrix trend, making the trend quantification result more precise; the error adjustment value ω of the element matrix trend quantification calculation formula is used to correct the error of the trend quantification result. By adjusting the value of ω, the trend quantification result can be fine-tuned to make it more in line with the actual situation.
[0055] Preferably, step S4 comprises the following steps:
[0056] Step S41: digitally encode the element interaction mode data to obtain digitally encoded element interaction mode data;
[0057] Step S42: formulating a loss compensation strategy for the action switching pixel loss data to obtain action switching loss compensation data;
[0058] Step S43: construct a virtual scene according to the action switching loss compensation data and the element interaction mode digital coding data to obtain element interaction virtual scene data.
[0059] The interactive mode data of the elements of the present invention are digitally encoded, which means that the interactive behaviors, rules or patterns between the elements are converted into digital forms that can be processed by computers. This digital representation makes subsequent processing easier and also helps to reduce the storage and transmission costs of data. Through this step, the system can accurately capture the interactive mode between the elements and provide basic data for the subsequent virtual scene construction; for the pixel loss in the action switching, a corresponding loss compensation strategy is formulated. This involves pixel interpolation and compensation image technology, the purpose of which is to minimize the visual break or image loss during the action switching process, which can improve the user's perception and make the action switching smoother and more natural; according to the data obtained in the first two steps, the virtual scene is constructed. By combining the action switching loss compensation data and the digital encoding data of the element interaction mode, the system can generate a more realistic and lifelike virtual scene. In the scene construction, the interaction mode between the elements can be accurately restored, and the discontinuity caused by the action switching is reduced through the loss compensation strategy. In this way, users can feel a smoother and more realistic interaction effect when experiencing the virtual scene.
[0060] Preferably, the present invention provides a multimedia information interaction system for executing the multimedia information interaction method as described above, the multimedia information interaction system comprising:
[0061] The image element structure extraction module is used to obtain multimedia video playback data; perform video image extraction on the multimedia video playback data to obtain a multimedia video playback image; perform image element structure extraction on the media video playback image to obtain image element structure data;
[0062] The element position switching relationship model construction module is used to perform element arrangement timing analysis on the image element structure data according to the multimedia video playback data to obtain element arrangement timing data; and to construct a position switching mapping relationship model on the element arrangement timing data to obtain an element position switching relationship model;
[0063] The element interaction mode design module is used to analyze the element action switching fluency of the element arrangement timing data through the element position switching relationship model to obtain the element action switching fluency data; to capture the pixel loss in the action switching process according to the element action switching fluency data to obtain the action switching pixel loss data; to design the interaction mode of the element arrangement timing data based on the action switching pixel loss data to obtain the element interaction mode data;
[0064] The element interaction scene building module is used to digitally encode the element interaction mode data to obtain the element interaction mode digitally encoded data; build a virtual scene according to the element interaction mode digitally encoded data to obtain the element interaction virtual scene data.
[0065] The beneficial effect of the present invention is that by extracting video images and image element structures from multimedia video playback data, the information in the video can be converted into an operable data form. Such conversion can help further analyze the video content and perform structured processing on the elements therein to make it easier to understand and process. Performing element arrangement timing analysis on image element structure data helps to understand the arrangement order and change rules of the elements during playback. Such analysis can reveal the correlation and interaction between different elements in the video, provide basic data for subsequent processing, and construct an element position switching mapping relationship model to further understand the position transformation rules between elements in the video. Such a model helps to predict the position of elements at different time points, thereby providing guidance for subsequent editing, analysis or other processing of the video. The processing of the above steps can provide beneficial support for multiple application fields. For example, in video editing, the element position switching mapping relationship model can be used to design transition effects or adjust the layout of elements; in video content analysis, the element arrangement timing data can be used to perform tasks such as scene segmentation or action recognition; by performing element action switching fluency analysis on the element arrangement timing data, the fluency of the transition effect between elements in the video can be evaluated. This helps to improve the viewing experience of the video, making the switching between elements more natural and coherent, avoiding the abruptness during the transition. The capture of pixel loss data during the action switching process can help discover and quantify the possible picture loss when the elements in the video are switched. Such data helps to optimize the video processing algorithm, reduce picture loss, and improve the quality and clarity of the video. The interactive mode design of the element arrangement timing data based on the action switching pixel loss data can design a more reasonable and effective interactive mode according to the relationship between the video content and the elements. This helps to enhance the information transmission effect of the video, making it easier for the audience to understand and accept the video content. By digitally encoding the element interaction mode data and building a virtual scene based on this, the video content can be presented in a virtual environment. Such a virtual scene can not only be used for the display of video content, but also for interactive experience, virtual reality and other fields, providing users with a more immersive viewing experience and interactive experience. Therefore, the present invention provides a multimedia information interaction method that optimizes a traditional multimedia information interaction method, solves the problem that the traditional multimedia information interaction method has inaccurate analysis of the pixel loss of multimedia video image switching and the interaction effect is not significant, improves the accuracy of the analysis of the pixel loss of multimedia video image switching, and improves the significance of the interaction effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 A schematic diagram of a process flow of a multimedia information interaction method;
[0067] Figure 2 for Figure 1 Detailed implementation steps of step S3 in FIG.
[0068] Figure 3 for Figure 2 Detailed implementation steps of step S34 are shown in the flowchart;
[0069] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0070] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.
[0071] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0072] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0073] To achieve this, please refer to Figures 1 to 3 , a multimedia information interaction method, the method comprising the following steps:
[0074] Step S1: Acquire multimedia video playback data; perform video image extraction on the multimedia video playback data to obtain a multimedia video playback image; perform image element structure extraction on the media video playback image to obtain image element structure data;
[0075] Step S2: performing element arrangement timing analysis on the image element structure data according to the multimedia video playback data to obtain element arrangement timing data; constructing a position switching mapping relationship model on the element arrangement timing data to obtain an element position switching relationship model;
[0076] Step S3: Analyze the element action switching fluency of the element arrangement timing data through the element position switching relationship model to obtain the element action switching fluency data; capture the pixel loss in the action switching process according to the element action switching fluency data to obtain the action switching pixel loss data; design the interaction mode of the element arrangement timing data based on the action switching pixel loss data to obtain the element interaction mode data;
[0077] Step S4: digitally encode the element interaction mode data to obtain the element interaction mode digitally encoded data; construct a virtual scene according to the element interaction mode digitally encoded data to obtain the element interaction virtual scene data.
[0078] In the embodiment of the present invention, reference Figure 1 The above is a schematic diagram of the steps of a multimedia information interaction method of the present invention. In this example, the multimedia information interaction method includes the following steps:
[0079] Step S1: Acquire multimedia video playback data; perform video image extraction on the multimedia video playback data to obtain a multimedia video playback image; perform image element structure extraction on the media video playback image to obtain image element structure data;
[0080] In an embodiment of the present invention, video data is obtained from a video source through a suitable interface or protocol (such as HTTP, RTSP, etc.). This can be from a source such as a webcam, a video file, or a real-time streaming media, and a video decoder is used to decode the video data to obtain the original image in the video. This may involve parsing video file formats (such as MP4, AVI, etc.) or processing real-time video streams, converting decoded video frames into appropriate image formats, such as RGB, YUV; using computer vision technology to analyze video images, and extracting image element structures therein, including: identifying objects, people, and other targets in the image, separating different objects or regions in the image, extracting features of each element in the image, such as color, texture, and shape, classifying the extracted features, and classifying image elements into different categories or types. In combination with machine learning or deep learning technology, a model can be trained to identify and extract specific types of image elements to obtain image element structure data.
[0081] Step S2: performing element arrangement timing analysis on the image element structure data according to the multimedia video playback data to obtain element arrangement timing data; constructing a position switching mapping relationship model on the element arrangement timing data to obtain an element position switching relationship model;
[0082] In an embodiment of the present invention, a timing analysis is performed on the image element structure data of each video frame to understand the arrangement order and changes of the elements. First, for each element, the changes in its position, size, appearance and other attributes in consecutive frames are recorded. A method based on inter-frame differences can be used to detect the movement, addition or deletion of elements to determine the arrangement timing of the elements. Based on the element arrangement timing data, an element position switching mapping relationship model is constructed. The constructed model should be able to accurately describe the switching relationship between element positions and be able to perform effective inference and prediction on new video data.
[0083] Step S3: Analyze the element action switching fluency of the element arrangement timing data through the element position switching relationship model to obtain the element action switching fluency data; capture the pixel loss in the action switching process according to the element action switching fluency data to obtain the action switching pixel loss data; design the interaction mode of the element arrangement timing data based on the action switching pixel loss data to obtain the element interaction mode data;
[0084] In an embodiment of the present invention, an element position switching relationship model is used to analyze the action switching smoothness of element arrangement timing data. First, the smoothness of the elements in the switching process is evaluated based on the element position switching relationship predicted by the model. This can be achieved in the following ways: calculating the distance change between element positions to determine the movement amplitude and speed during the switching process, analyzing the continuity and stability of the element position change, evaluating the smoothness of the switching process, using time series analysis or motion pattern recognition technology to detect anomalies or incoherence in the element switching process, and converting the evaluation results into element action switching smoothness data for subsequent processing; based on the element action switching smoothness data, capturing and evaluating pixel loss during the action switching process, and detecting pixel loss by comparing the position changes of elements in adjacent frames, including: detecting whether the element position change causes the element to partially or completely move out of the screen range, analyzing whether occlusion or overlap occurs when the element position changes, causing some elements to be hidden or lost, and using image processing technology , compare the pixel differences between adjacent frames to detect the pixel loss caused by the change of element position. Based on the action switching pixel loss data, the interaction mode is designed for the element arrangement timing data to improve the interaction experience and visual quality. According to the captured pixel loss, the arrangement mode, motion path or animation effect of the elements are adjusted to reduce or avoid pixel loss. The following strategies can be used to design the interaction mode: dynamically adjust the size or position of the elements to ensure that the elements are always visible during the switching process, adjust the movement speed or trajectory of the elements to avoid occlusion or overlap, use transition effects or interpolation animations to smoothly transition the position changes between elements and reduce the visual sense of discontinuity. The final element interaction mode data can be used to guide the actual interaction design and the realization of visual effects.
[0085] Step S4: digitally encode the element interaction mode data to obtain the element interaction mode digitally encoded data; construct a virtual scene according to the element interaction mode digitally encoded data to obtain the element interaction virtual scene data.
[0086] In an embodiment of the present invention, first, the element interaction mode data is converted into a digital coding form so that the computer program can understand and process it. A suitable coding method, such as JSON, XML, etc., is used to encode the position, size, motion trajectory, animation effect and other information of the element into a digital format. The coding specification and data structure are determined to ensure the accuracy and completeness of the digital coding data. A programming language or data processing tool can be used to implement the digital coding conversion process, such as the JSON module or XML library in Python. Based on the digital coding data of the element interaction mode, a virtual scene is built to simulate the interaction effect and visual performance between the elements. A suitable virtual scene building tool or platform, such as Unity, Unreal Engine, etc., is selected to build the scene according to the needs, parse the digital coding data of the element interaction mode, and apply the coding information to the virtual scene, including the layout, motion path, and animation effect of the elements. The parameters and settings of the virtual scene are adjusted to ensure that the interaction mode between the elements is consistent with the original design. The interaction effect of the elements in the virtual scene can be observed through real-time preview or rendering technology, and necessary adjustments and optimizations can be made.
[0087] The present invention can convert the information in the video into an operable data form by extracting the video image and the image element structure of the multimedia video playback data. Such conversion can help further analyze the video content, and perform structured processing on the elements therein, so that it is easier to understand and process. The element arrangement timing analysis of the image element structure data is helpful to understand the arrangement order and change law of the elements during the playback process. Such analysis can reveal the correlation and interaction mode between different elements in the video, provide basic data for subsequent processing, and construct an element position switching mapping relationship model to further understand the position transformation law between elements in the video. Such a model helps to predict the position of elements at different time points, thereby providing guidance for subsequent editing, analysis or other processing of the video. The processing of the above steps can provide useful support for multiple application fields. For example, in video editing, the element position switching mapping relationship model can be used to design transition effects or adjust the layout of elements; in video content analysis, the element arrangement timing data can be used to perform tasks such as scene segmentation or action recognition; by performing element action switching fluency analysis on the element arrangement timing data, the fluency of the transition effect between elements in the video can be evaluated. This helps to improve the viewing experience of the video, making the switching between elements more natural and coherent, avoiding the abruptness during the transition. The capture of pixel loss data during the action switching process can help discover and quantify the possible picture loss when the elements in the video are switched. Such data helps to optimize the video processing algorithm, reduce picture loss, and improve the quality and clarity of the video. The interactive mode design of the element arrangement timing data based on the action switching pixel loss data can design a more reasonable and effective interactive mode according to the relationship between the video content and the elements. This helps to enhance the information transmission effect of the video, making it easier for the audience to understand and accept the video content. By digitally encoding the element interaction mode data and building a virtual scene based on this, the video content can be presented in a virtual environment. Such a virtual scene can not only be used for the display of video content, but also for interactive experience, virtual reality and other fields, providing users with a more immersive viewing experience and interactive experience. Therefore, the present invention provides a multimedia information interaction method that optimizes a traditional multimedia information interaction method, solves the problem that the traditional multimedia information interaction method has inaccurate analysis of the pixel loss of multimedia video image switching and the interaction effect is not significant, improves the accuracy of the analysis of the pixel loss of multimedia video image switching, and improves the significance of the interaction effect.
[0088] Preferably, step S1 comprises the following steps:
[0089] Step S11: Acquire multimedia video playback data;
[0090] Step S12: extracting video images from the multimedia video playback data to obtain a multimedia video playback image; performing image edge filtering on the multimedia video playback image to obtain a video edge filtered image;
[0091] Step S13: performing color contrast filling on the video edge filter image using a preset color standard threshold to obtain a color-filled edge filter image;
[0092] Step S14: extracting the image element structure of the media video playback image according to the color-filled edge-filtered image to obtain image element structure data.
[0093] In an embodiment of the present invention, multimedia video playback data is obtained from a video source, which may be a local video file, a network video stream, or video data collected in real time, and an appropriate tool or library (such as OpenCV, FFmpeg, etc.) is used to read the video data for subsequent processing; the multimedia video playback data is converted into an image sequence, usually by segmenting the video data by frame, performing image processing on each frame of the image, including edge detection and filtering operations, using an edge detection algorithm (such as Sobel, Canny, etc.) to perform edge detection on the image to extract edge information in the image, and applying an appropriate filter (such as a Gaussian filter) to the image after edge detection to perform edge smoothing to remove noise and unnecessary details ; Based on the preset color standard threshold, the color contrast of the edge filtered image is filled. Threshold segmentation or color space-based methods can be used to adjust the color contrast to enhance the color vividness and contrast of the image, ensuring that the filled image retains sufficient color information without introducing too much noise or distortion. Based on the color-filled edge filtered image, the image element structure is extracted, that is, different elements and objects in the image are identified and segmented. Image segmentation algorithms (such as watershed algorithms, region growing-based methods, etc.) can be used to realize the structural extraction of image elements, determine the boundaries and regions of each element in the image, and convert them into data structures for subsequent processing and analysis.
[0094] The present invention can convert video content into a digital form by acquiring multimedia video playback data, and provides basic data for subsequent processing. This helps to analyze, edit and apply video content, extract video images from multimedia video playback data, and perform edge filtering on the extracted images, which can enhance the edge features of the image, making the image clearer and more vivid. This helps to improve the accuracy and effect of subsequent processing steps, and by using a preset color standard threshold to perform color contrast filling on the edge-filtered image, the color contrast of the image can be enhanced, making the image more visually attractive and ornamental. Such processing helps to highlight important elements and details in the video, and according to the image after edge filtering and color filling processing, the element structure in the image can be more accurately extracted. These element structure data contain information such as the position, size, shape, etc. of each element in the video, providing a basis for subsequent analysis and processing.
[0095] Preferably, step S14 comprises the following steps:
[0096] Step S141: binarizing the color-filled edge-filtered image to obtain an edge-filtered binary image;
[0097] Step S142: performing image region difference division on the media video playback image according to the edge filtered binary image to obtain image region division data; performing different region subject contour extraction on the image region division data to obtain region subject contour data;
[0098] Step S143: Calculate the minimum bounding rectangle of the area main body contour data to obtain the minimum bounding rectangle data of the area main body; perform ellipse fitting on the area main body contour data according to the minimum bounding rectangle data of the area main body to obtain the ellipse fitting data of the area main body;
[0099] Step S144: performing grayscale distribution analysis of different regional images on the image region division data based on the regional body minimum circumscribed rectangle data and the regional body ellipse fitting data to obtain regional image grayscale distribution data;
[0100] Step S145: extracting the image element structure of the media video playback image according to the regional body minimum circumscribed rectangle data, the regional body ellipse fitting data and the regional image grayscale distribution data to obtain image element structure data.
[0101] In an embodiment of the present invention, a suitable binarization method (such as a global threshold, an adaptive threshold, etc.) is used to convert a color-filled edge-filtered image into a binary image; during the binarization process, a suitable threshold can be selected according to the characteristics of the image to ensure that edge information is well preserved and unnecessary details and noise are removed, and the binarized edge-filtered image is used for region segmentation to find connected components of different regions. An algorithm based on connectivity (such as a connected component labeling algorithm) can be used to identify and segment different regions in the image. For each region, its main contour is extracted, and a contour search algorithm (such as the findContours function in OpenCV) can be used to obtain the main contour data of the region. For the main contour data of the region, a minimum bounding rectangle algorithm (such as the minAreaRect function in OpenCV) is used to calculate the minimum bounding rectangle of each region, and then, based on the data of the minimum bounding rectangle, an ellipse fitting can be performed. This can be achieved by using an ellipse fitting algorithm (such as the fitEllipse function in OpenCV). The grayscale distribution of the image region division data is analyzed using the region body minimum enclosing rectangle data and the ellipse fitting data. Statistics such as the grayscale mean and variance of each region can be calculated, and the regional grayscale histogram can be drawn. These data can provide grayscale feature information about different regions in the image, which is helpful for subsequent image analysis and understanding. Finally, based on the region body minimum enclosing rectangle data, the region body ellipse fitting data, and the regional image grayscale distribution data, the image element structure is extracted from the media video playback image. Different regions in the image can be classified and marked according to grayscale distribution, shape and other features to obtain image element structure data. These data can be information about objects, shapes, grayscale distribution, etc. in the image, providing a basis for further image analysis and application.
[0102] The present invention obtains an edge-filtered binary image by binarizing a color-filled edge-filtered image. This step can effectively extract the edge information of the image and convert it into a binary form, providing accurate edge data for subsequent region division and contour extraction. According to the edge-filtered binary image, the media video playback image is divided into image region differences, thereby obtaining image region division data. Then, for each different region, the region main body contour is extracted to obtain the region main body contour data. These data can help identify and describe the shape and structure of different regions in the image, and the minimum circumscribed rectangle is calculated for the region main body contour data to obtain the region main body minimum circumscribed rectangle data. Then, according to these rectangle data, the region main body contour data is elliptical fitted to obtain the region main body elliptical fitting data. These data help to accurately describe the shape characteristics of the region main body, provide a basis for subsequent analysis, and perform grayscale distribution analysis of different region images on the image region division data based on the region main body minimum circumscribed rectangle data and the region main body elliptical fitting data. This step can help understand the grayscale distribution of each area of the image, and then reveal the local features and content of the image. Finally, according to the minimum bounding rectangle data of the regional body, the ellipse fitting data of the regional body, and the grayscale distribution data of the regional image, the image element structure of the media video playback image is extracted to obtain the image element structure data. These data contain information such as the position, size, shape, and grayscale distribution of each element in the image, which provides an important basis for subsequent image analysis and processing.
[0103] Preferably, step S2 comprises the following steps:
[0104] Step S21: performing element arrangement timing analysis on the image element structure data according to the multimedia video playback data to obtain element arrangement timing data;
[0105] Step S22: constructing a position switching mapping relationship model for the element arrangement time series data using a recurrent neural network model to obtain an initial element position switching relationship model;
[0106] Step S23: Designing a format condition constraint mechanism for the element arrangement time series data to obtain an element format condition constraint mechanism;
[0107] Step S24: using the element format condition constraint mechanism to perform model training on the initial element position switching relationship model to obtain the element position switching relationship model.
[0108] In an embodiment of the present invention, first, image element structure data are extracted based on multimedia video playback data, and these data include information such as element type, position, size, etc., and then, these element structure data are time-series analyzed to understand their arrangement and changes in time. This can be achieved by analyzing the order of appearance and position changes of elements in each frame of the image; using the recurrent neural network (RNN) model, the element arrangement time series data is modeled, and the element arrangement time series data is input into the RNN. The RNN can learn the change rules of the elements in time series and convert them into a position switching mapping relationship model. Secondly, variants of RNN such as LSTM (long short-term memory network) or GRU (gated recurrent unit) can also be selected to build the model; a format condition constraint mechanism is designed for the element arrangement time series data to ensure that the generated element position switching relationship meets specific format requirements. Various format conditions can be defined, such as the distance between elements, relative position relationship, size ratio, etc., to constrain the arrangement and transformation of elements. The designed element format condition constraint mechanism is used to train the initial element position switching relationship model. During the training process, the model parameters are optimized by minimizing the loss function so that the model can well meet the element format condition constraints. Common optimization algorithms such as stochastic gradient descent (SGD) or Adam can be used for model training.
[0109] The present invention can obtain the arrangement order and change rules of elements on the time axis by performing element arrangement timing analysis on image element structure data according to multimedia video playback data. This helps to understand the temporal relationship between elements, extract the movement trajectory and dynamic change information of elements, provide a basis for subsequent model construction and training, and use a recurrent neural network model to construct a position switching mapping relationship model for element arrangement timing data. This step can help capture the rules and patterns of position switching between elements, establish a position change relationship model of elements in timing, provide a basis for subsequent element position prediction and adjustment, and design a format condition constraint mechanism for element arrangement timing data, aiming to define the arrangement format and constraints of elements at different time points. These constraints can include distance restrictions, layout rules, etc. between elements, which help to maintain the reasonable arrangement and layout of elements during playback, and improve visual effects and user experience.
[0110] Preferably, step S23 includes the following steps:
[0111] Step S231: performing element layout analysis on the element arrangement timing data to obtain element arrangement layout data;
[0112] Step S232: Analyze the dynamic change law of the element arrangement time series data according to the element arrangement layout data to obtain the element dynamic change law data;
[0113] Step S233: Acquire multimedia screen configuration data;
[0114] Step S234: dynamically calculating the element refresh rate of the element dynamic change law data according to the multimedia screen configuration data to obtain the element dynamic refresh rate data;
[0115] Step S235: adapting the element encoding format of the element arrangement layout data according to the element dynamic refresh rate data to obtain element encoding format adaptation data; adapting the transmission bandwidth according to the element dynamic refresh rate data to obtain transmission bandwidth adaptation data;
[0116] Step S236: Design a format condition constraint mechanism according to the element encoding format adaptation data and the transmission bandwidth adaptation data to obtain an element format condition constraint mechanism.
[0117] In the embodiment of the present invention, the layout of the elements is analyzed by using the element arrangement time series data. Image processing technology or computer vision algorithm can be used to identify and extract the position, size, relative relationship and other information of the elements, analyze the arrangement rules between the elements, including horizontal layout, vertical layout and stacked layout, analyze the dynamic change rules of the elements in time series based on the element arrangement layout data, and time series analysis methods such as sliding window and periodic analysis can be used to identify the dynamic change mode of the elements, analyze the dynamic information such as the movement trajectory, speed and acceleration of the elements, and obtain the configuration information of the multimedia screen, including resolution, refresh rate and color space. These data can be obtained by querying the device specifications or using a special hardware monitoring tool. According to the multimedia screen configuration data and the dynamic change of the elements, the time series analysis method can be used to analyze the dynamic change pattern of the elements. Based on the change law data, the dynamic refresh rate of the element is calculated, and the matching of the screen refresh rate and the element change speed is taken into account to ensure that the element can be updated smoothly during the display process to avoid flickering or freezing. According to the dynamic refresh rate data of the element, the encoding format of the element arrangement and layout data is adapted to adapt to different display devices and transmission protocols. At the same time, according to the dynamic refresh rate data of the element, the transmission bandwidth is adjusted to ensure that the element data can arrive in time and be correctly rendered during network transmission. Based on the element encoding format adaptation data and the transmission bandwidth adaptation data, the format condition constraint mechanism is designed to determine the element's encoding format, compression method, transmission protocol and other parameters to meet the requirements of display devices and network transmission, and the constraint conditions are designed to ensure the transmission and display quality of the element data meet the expected level.
[0118] The present invention helps to understand the overall layout of elements on the screen, including their position, size, spacing and other information, by performing element layout analysis on element arrangement timing data. This provides a basis for subsequent dynamic change law analysis, and at the same time enables a clearer understanding of the overall impact of element arrangement; using element arrangement layout data to perform dynamic change law analysis on element arrangement timing data can reveal the dynamic change law of elements during playback. This includes the movement trajectory and size change of elements, which provides key element dynamic change information for subsequent steps, and helps to more accurately adapt the position and layout of elements on the screen. Acquiring multimedia screen configuration data is to understand the screen parameters of the current media playback environment, such as resolution, refresh rate, etc. This information is an important reference for subsequent calculation of element dynamic refresh rate and adaptation format, ensuring that the presentation of elements on the screen is smooth and optimized, and using multimedia screen configuration data to dynamically calculate the refresh rate of element dynamic change law data. This is beneficial to determine the refresh rate of elements during playback according to the characteristics of the screen, thereby ensuring that the display effect of the elements is synchronized with the screen, improving the visual experience, and adapting the encoding format and transmission bandwidth of element arrangement layout data according to the element dynamic refresh rate data. This ensures that the presentation of elements on the screen is efficient and smooth, making full use of available bandwidth and encoding resources while avoiding potential performance bottlenecks, adapting data according to element encoding format and transmission bandwidth, and designing format condition constraint mechanisms. This helps ensure that the display of elements meets specific format requirements while taking into account bandwidth limitations, improving overall system stability and performance. This can also include constraints on the relative position, size, color, etc. between elements to meet specific playback scenarios and user needs.
[0119] Preferably, step S3 comprises the following steps:
[0120] Step S31: performing element action switching fluency analysis on the element arrangement time series data through the element position switching relationship model to obtain element action switching fluency data;
[0121] Step S32: performing inter-frame difference calculation on the multimedia video playback image according to the element action switching smoothness data to obtain element action inter-frame difference data;
[0122] Step S33: performing pixel motion vector conversion on the element motion switching smoothness data according to the element motion inter-frame difference data to obtain the motion pixel switching vector;
[0123] Step S34: capturing pixel loss during the action switching process according to the action pixel switching vector, the element action inter-frame difference data, and the element action switching smoothness data to obtain action switching pixel loss data;
[0124] Step S35: Designing an interactive mode for the element arrangement timing data based on the action switching pixel loss data and the element action inter-frame differential data to obtain element interactive mode data.
[0125] As an example of the present invention, refer to Figure 2 As shown, in this example, step S3 includes:
[0126] Step S31: performing element action switching fluency analysis on the element arrangement time series data through the element position switching relationship model to obtain element action switching fluency data;
[0127] In an embodiment of the present invention, an element position switching relationship model is used to consider the position changes of elements at different time points. A method based on object tracking can be used to track the position information of elements in video frames and establish a switching relationship between elements. The position switching relationship model is used to analyze the smoothness of elements when switching positions. The smoothness of the switching process can be evaluated by calculating indicators such as the speed and acceleration of the element position change. Factors such as the frequency and distance of element switching can also be considered to comprehensively evaluate the smoothness and obtain element action switching smoothness data.
[0128] Step S32: performing inter-frame difference calculation on the multimedia video playback image according to the element action switching smoothness data to obtain element action inter-frame difference data;
[0129] In an embodiment of the present invention, inter-frame difference calculation is performed on the multimedia video playback image based on the element action switching smoothness data to detect the action changes of the elements in the video. The pixel-level difference or feature point matching method can be used to calculate the difference between adjacent frames. In the difference process, the amplitude and direction of the pixel change and the time interval between adjacent frames can be considered to obtain the element action inter-frame difference data and record the changes of each element between adjacent frames.
[0130] Step S33: performing pixel motion vector conversion on the element motion switching smoothness data according to the element motion inter-frame difference data to obtain the motion pixel switching vector;
[0131] In an embodiment of the present invention, the element action inter-frame differential data is preprocessed, such as noise removal and smoothing. The pixel action vector of each element during the switching process is calculated based on the element action inter-frame differential data. The optical flow method or motion estimation algorithm can be used to calculate the motion vector of the element from the differential data of adjacent frames, and the pixel action vector is converted into an action pixel switching vector, which represents the direction and amplitude of the pixel change of the element during the switching process.
[0132] Step S34: capturing pixel loss during the action switching process according to the action pixel switching vector, the element action inter-frame difference data, and the element action switching smoothness data to obtain action switching pixel loss data;
[0133] In an embodiment of the present invention, the action pixel switching vector and the element action switching smoothness data are integrated together. Based on the action pixel switching vector, the pixel loss during the switching process is analyzed. Indicators such as the position, quantity, and size of the pixel loss can be considered to comprehensively evaluate the loss situation, obtain the pixel loss data during the action switching process, and record the pixel information lost by each element during the switching process.
[0134] Step S35: Designing an interactive mode for the element arrangement timing data based on the action switching pixel loss data and the element action inter-frame differential data to obtain element interactive mode data.
[0135] In an embodiment of the present invention, the action switching pixel loss data and the element action inter-frame differential data are integrated. Based on the action switching pixel loss data and the element action inter-frame differential data, the interaction mode of the element is designed. According to the pixel loss situation and the action change situation, the arrangement, motion trajectory, etc. of the elements can be adjusted to improve the interaction experience, and the interaction mode data of the elements can be obtained to describe the interaction method and effect of the elements during the switching process.
[0136] The present invention analyzes the element arrangement timing data through the element position switching relationship model, and can evaluate the fluency of the element in the switching action process. This helps to identify potential action switching problems, such as flickering, jamming, etc., and provides basic data for subsequent optimization. The video playback image is calculated based on the element action switching fluency data. This step can detect the difference between consecutive frames, identify the changes of elements during the motion process, and provide key data for the subsequent pixel action vector conversion. The element action frame difference data is used to convert the element action switching fluency data into a pixel action vector. Such a conversion helps to represent the element's motion change as pixel-level information, more accurately capture the changes of elements during the motion process, and capture pixel loss during the action switching process based on the action pixel switching vector, the element action frame difference data, and the element action switching fluency data. The main purpose of this step is to identify the pixel loss that may occur during the action switching process, such as image blur, distortion, etc., to provide goals and basis for subsequent optimization, and to design an interactive mode for the element arrangement timing data based on the action switching pixel loss data and the element action frame difference data. The goal of this step is to optimize the display of elements during the interaction process based on the loss data and inter-frame difference data to improve user experience and playback effect.
[0137] Preferably, step S34 includes the following steps:
[0138] Step S341: calculating the element pixel variance in the continuous frames according to the element action inter-frame difference data and the element action switching smoothness data, and obtaining the continuous frame element pixel variance data;
[0139] Step S342: constructing a pixel variance difference matrix for the element pixel variance data of the continuous frames based on the element action inter-frame difference data to obtain an element pixel variance difference matrix;
[0140] Step S343: performing matrix change trend analysis on the element pixel variance difference matrix to obtain matrix change trend data;
[0141] Step S344: performing matrix change trend quantitative calculation on the matrix change trend data using the element matrix trend quantitative calculation formula to obtain matrix trend quantitative data;
[0142] Step S345: Capture pixel loss during the action switching process according to the action pixel switching vector and the matrix trend quantization data to obtain action switching pixel loss data.
[0143] As an example of the present invention, refer to Figure 3 As shown, in this example, step S34 includes:
[0144] Preferably, step S34 includes the following steps:
[0145] Step S341: calculating the element pixel variance in the continuous frames according to the element action inter-frame difference data and the element action switching smoothness data, and obtaining the continuous frame element pixel variance data;
[0146] In an embodiment of the present invention, based on the element action inter-frame differential data and the element action switching smoothness data, for each frame of image, the pixel variance of the element is calculated based on the element action inter-frame differential data and the element action switching smoothness data. The pixel variance of the image can be calculated using a function provided by an image processing library (such as OpenCV) to obtain continuous frame element pixel variance data.
[0147] Step S342: constructing a pixel variance difference matrix for the element pixel variance data of the continuous frames based on the element action inter-frame difference data to obtain an element pixel variance difference matrix;
[0148] In an embodiment of the present invention, a differential matrix is constructed for element pixel variance data of consecutive frames based on element action inter-frame differential data. The differential matrix can adopt a simple adjacent frame differential method, or consider a more complex change pattern to obtain an element pixel variance differential matrix.
[0149] Step S343: performing matrix change trend analysis on the element pixel variance difference matrix to obtain matrix change trend data;
[0150] In the embodiment of the present invention, the element pixel variance difference matrix is analyzed to explore the variation trend between matrices. Statistical methods, time series analysis and other techniques can be used to identify the trend and law of matrix variation and obtain matrix variation trend data.
[0151] Step S344: performing matrix change trend quantitative calculation on the matrix change trend data using the element matrix trend quantitative calculation formula to obtain matrix trend quantitative data;
[0152] In an embodiment of the present invention, a predefined element matrix trend quantification calculation formula is used to quantify the matrix change trend data. This formula can be designed according to actual conditions and requirements, and the variation range of the element pixel variance difference matrix can be considered to obtain the matrix trend quantification data.
[0153] Step S345: Capture pixel loss during the action switching process according to the action pixel switching vector and the matrix trend quantization data to obtain action switching pixel loss data.
[0154] In an embodiment of the present invention, the pixel loss during the action switching process is analyzed based on the action pixel switching vector and the matrix trend quantization data. The degree and position of the loss can be quantified by combining the information of the action switching vector and the matrix trend quantization data to obtain the action switching pixel loss data.
[0155] The present invention can quantify the image change degree of elements in the motion process by calculating the pixel variance of elements in continuous frames. High pixel variance may indicate a large action or subtle change, which provides a key data basis for subsequent steps. The differential matrix of the element pixel variance data of continuous frames is constructed by using the element action frame difference data. This step can capture the change of element pixel variance in continuous frames more carefully, provide more detailed information for subsequent analysis, analyze the element pixel variance difference matrix, and obtain the change trend data between matrices. This helps to understand the change pattern of elements between continuous frames, including information such as movement direction and speed, and use the element matrix trend quantization calculation formula to quantify the matrix change trend data. This step converts the complex matrix change trend into a measurable value, which provides convenience for further analysis. According to the action pixel switching vector and the matrix trend quantization data, the pixel loss capture in the action switching process is performed. The purpose of this step is to more accurately capture the image loss situation in the action switching and provide guidance for subsequent optimization.
[0156] Preferably, the element matrix trend quantification calculation formula in step S344 is as follows:
[0157]
[0158] In the formula, Q represents the result value of matrix trend quantification, n represents the dimension of the matrix, i represents the number of rows of the matrix, j represents the number of columns of the matrix, t represents the time range considered when calculating trend quantification, M represents the change trend difference coefficient of the matrix change trend data, a represents the change trend complexity of the matrix change trend data, b represents the number of matrix elements, It represents the first-order partial derivative of the matrix change trend difference coefficient M with respect to time, and it represents the rate of change of the matrix change trend difference with time. Represents the second-order partial derivative of the matrix change trend difference coefficient M with respect to time, It represents the third-order partial derivative of the matrix change trend difference coefficient M with respect to time, and ω represents the error adjustment value of the element matrix trend quantitative calculation formula.
[0159] By consulting relevant technical literature and consulting technical personnel in this field, the present invention constructs an element matrix trend quantification calculation formula, which provides a more comprehensive, accurate and dynamic trend quantification result by considering the matrix dimension, number of rows, number of columns, time range and changing characteristics of the matrix trend. Adjustment of these parameters can make the trend quantification result more representative, and the result can be further corrected by adjusting the error adjustment value. The formula fully considers the dimension n of the matrix. When the dimension of the matrix increases, it means that the matrix contains more data, which can provide more accurate trend quantification results; the number of rows i of the matrix, which determines the number of rows of data in the matrix. Increasing the number of rows can provide more data points, which helps to capture the changing trend of the matrix more accurately; the number of columns j of the matrix, which determines the number of columns of data in the matrix. Increasing the number of columns can provide more data points, which helps to capture the changing trend of the matrix more accurately; the time range t considered when calculating trend quantification, increasing the time range can provide a longer data sequence, making the trend quantification result more representative; the change trend difference coefficient M of the matrix change trend data, which reflects the difference in the change trend of the data in the matrix. By considering the derivatives of each order of M, the trend change of the matrix can be more accurately described; the change trend complexity a of the matrix change trend data, which reflects the complexity of the trend change of the data in the matrix. Increasing a can consider more trend change patterns, making the trend quantification result more comprehensive; the number of matrix elements b, which is the size of the matrix. Increasing the number of matrix elements can provide more data points, which helps to capture the changing trend of the matrix more accurately; the first-order partial derivative of the matrix change trend difference coefficient M with respect to time It represents the rate of change of the matrix change trend difference over time, that is, the rate of change of the matrix change trend over time. Considering the first-order partial derivative can capture the speed change of the matrix trend, making the trend quantification result more dynamic; the second-order partial derivative of the matrix change trend difference coefficient M with respect to time That is, the acceleration of the matrix change trend. Considering the second-order partial derivative can capture the acceleration change of the matrix trend, making the trend quantification result more sensitive; the third-order partial derivative of the matrix change trend difference coefficient M with respect to time , considering the third-order partial derivative can capture the rate of change of the matrix trend, making the trend quantification result more precise; the error adjustment value ω of the element matrix trend quantification calculation formula is used to correct the error of the trend quantification result. By adjusting the value of ω, the trend quantification result can be fine-tuned to make it more in line with the actual situation.
[0160] Preferably, step S4 comprises the following steps:
[0161] Step S41: digitally encode the element interaction mode data to obtain digitally encoded element interaction mode data;
[0162] Step S42: formulating a loss compensation strategy for the action switching pixel loss data to obtain action switching loss compensation data;
[0163] Step S43: construct a virtual scene according to the action switching loss compensation data and the element interaction mode digital coding data to obtain element interaction virtual scene data.
[0164] In an embodiment of the present invention, first, the element interaction mode data is preprocessed to ensure the quality and consistency of the data. Data cleaning, denoising, normalization and other processing can be performed to facilitate subsequent digital encoding. A suitable encoding method is selected to convert the element interaction mode data into digitally encoded data. Coding techniques such as unique hot encoding and label encoding can be used. The most suitable encoding method is selected according to the characteristics and needs of the data. The characteristics and distribution of the action switching pixel loss data are analyzed to understand the type, degree and cause of the loss. The data can be analyzed by methods such as image processing and statistical analysis, and a loss compensation strategy is designed to reduce or compensate for the pixel loss during the action switching process. The strategy can include pixel filling, interpolation, blur processing and other methods. A suitable compensation method is selected according to the specific situation and needs. The action switching loss compensation data and the element interaction mode digital encoding data are combined to build a virtual scene. The position, state, etc. of the element are determined according to the encoding data. At the same time, the impact of the loss compensation strategy on the scene is considered. According to the built scene model and data, a corresponding virtual scene is generated. A graphic rendering engine or virtual reality technology can be used to generate a realistic scene, thereby realizing the design of multimedia information interaction.
[0165] The interactive mode data of the elements of the present invention are digitally encoded, which means that the interactive behaviors, rules or patterns between the elements are converted into digital forms that can be processed by computers. This digital representation makes subsequent processing easier and also helps to reduce the storage and transmission costs of data. Through this step, the system can accurately capture the interactive mode between the elements and provide basic data for the subsequent virtual scene construction; for the pixel loss in the action switching, a corresponding loss compensation strategy is formulated. This involves pixel interpolation and compensation image technology, the purpose of which is to minimize the visual break or image loss during the action switching process, which can improve the user's perception and make the action switching smoother and more natural; according to the data obtained in the first two steps, the virtual scene is constructed. By combining the action switching loss compensation data and the digital encoding data of the element interaction mode, the system can generate a more realistic and lifelike virtual scene. In the scene construction, the interaction mode between the elements can be accurately restored, and the discontinuity caused by the action switching is reduced through the loss compensation strategy. In this way, users can feel a smoother and more realistic interaction effect when experiencing the virtual scene.
[0166] Preferably, the present invention provides a multimedia information interaction system for executing the multimedia information interaction method as described above, the multimedia information interaction system comprising:
[0167] The image element structure extraction module is used to obtain multimedia video playback data; perform video image extraction on the multimedia video playback data to obtain a multimedia video playback image; perform image element structure extraction on the media video playback image to obtain image element structure data;
[0168] The element position switching relationship model construction module is used to perform element arrangement timing analysis on the image element structure data according to the multimedia video playback data to obtain element arrangement timing data; and to construct a position switching mapping relationship model on the element arrangement timing data to obtain an element position switching relationship model;
[0169] The element interaction mode design module is used to analyze the element action switching fluency of the element arrangement timing data through the element position switching relationship model to obtain the element action switching fluency data; to capture the pixel loss in the action switching process according to the element action switching fluency data to obtain the action switching pixel loss data; to design the interaction mode of the element arrangement timing data based on the action switching pixel loss data to obtain the element interaction mode data;
[0170] The element interaction scene building module is used to digitally encode the element interaction mode data to obtain the element interaction mode digitally encoded data; build a virtual scene according to the element interaction mode digitally encoded data to obtain the element interaction virtual scene data.
[0171] The present invention can convert the information in the video into an operable data form by extracting the video image and the image element structure of the multimedia video playback data. Such conversion can help further analyze the video content, and perform structured processing on the elements therein, so that it is easier to understand and process. The element arrangement timing analysis of the image element structure data is helpful to understand the arrangement order and change law of the elements during the playback process. Such analysis can reveal the correlation and interaction mode between different elements in the video, provide basic data for subsequent processing, and construct an element position switching mapping relationship model to further understand the position transformation law between elements in the video. Such a model helps to predict the position of elements at different time points, thereby providing guidance for subsequent editing, analysis or other processing of the video. The processing of the above steps can provide useful support for multiple application fields. For example, in video editing, the element position switching mapping relationship model can be used to design transition effects or adjust the layout of elements; in video content analysis, the element arrangement timing data can be used to perform tasks such as scene segmentation or action recognition; by performing element action switching fluency analysis on the element arrangement timing data, the fluency of the transition effect between elements in the video can be evaluated. This helps to improve the viewing experience of the video, making the switching between elements more natural and coherent, avoiding the abruptness during the transition. The capture of pixel loss data during the action switching process can help discover and quantify the possible picture loss when the elements in the video are switched. Such data helps to optimize the video processing algorithm, reduce picture loss, and improve the quality and clarity of the video. The interactive mode design of the element arrangement timing data based on the action switching pixel loss data can design a more reasonable and effective interactive mode according to the relationship between the video content and the elements. This helps to enhance the information transmission effect of the video, making it easier for the audience to understand and accept the video content. By digitally encoding the element interaction mode data and building a virtual scene based on this, the video content can be presented in a virtual environment. Such a virtual scene can not only be used for the display of video content, but also for interactive experience, virtual reality and other fields, providing users with a more immersive viewing experience and interactive experience. Therefore, the present invention provides a multimedia information interaction method that optimizes a traditional multimedia information interaction method, solves the problem that the traditional multimedia information interaction method has inaccurate analysis of the pixel loss of multimedia video image switching and the interaction effect is not significant, improves the accuracy of the analysis of the pixel loss of multimedia video image switching, and improves the significance of the interaction effect.
[0172] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0173] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A multimedia information interaction method, It is characterized in that The following steps are involved: Step S1: Acquire multimedia video playback data; Extracting video images from multimedia video playback data to obtain multimedia video playback images; Extracting image element structure from media video playback images to obtain image element structure data; Step S2: performing element arrangement timing analysis on the image element structure data according to the multimedia video playback data to obtain element arrangement timing data; A position switching mapping relationship model is constructed for the element arrangement time series data to obtain an element position switching relationship model; Step S3: Analyzing the element action switching fluency of the element arrangement time series data through the element position switching relationship model to obtain the element action switching fluency data; capturing the pixel loss during the action switching process according to the element action switching fluency data to obtain the action switching pixel loss data; Based on the action switching pixel loss data, the element arrangement timing data is interactively designed to obtain element interaction mode data; step S3 includes the following steps: Step S31: performing element action switching fluency analysis on the element arrangement time series data through the element position switching relationship model to obtain element action switching fluency data; Step S32: performing inter-frame difference calculation on the multimedia video playback image according to the element action switching smoothness data to obtain element action inter-frame difference data; Step S33: performing pixel motion vector conversion on the element motion switching smoothness data according to the element motion inter-frame difference data to obtain the motion pixel switching vector; Step S34: capturing pixel loss during the action switching process according to the action pixel switching vector, the element action inter-frame difference data, and the element action switching smoothness data to obtain action switching pixel loss data; Step S34 includes the following steps: Step S341: calculating the element pixel variance in the continuous frames according to the element action inter-frame difference data and the element action switching smoothness data, and obtaining the continuous frame element pixel variance data; Step S342: constructing a pixel variance difference matrix for the element pixel variance data of the continuous frames based on the element action inter-frame difference data to obtain an element pixel variance difference matrix; Step S343: performing matrix change trend analysis on the element pixel variance difference matrix to obtain matrix change trend data; Step S344: Quantitative calculation of the matrix change trend data is performed using the element matrix trend quantitative calculation formula to obtain the matrix trend quantitative data; the element matrix trend quantitative calculation formula in step S344 is as follows: In the formula, Represents the result value of matrix trend quantification, represents the dimension of the matrix, represents the number of rows of the matrix, represents the number of columns of the matrix, Indicates the time range considered when calculating trend quantification, Indicates the coefficient of variation of the matrix variation trend data. Indicates the complexity of the changing trend of the matrix changing trend data, represents the number of matrix elements, Represents the matrix change trend difference coefficient The first-order partial derivative with respect to time, Represents the matrix change trend difference coefficient The second-order partial derivative with respect to time, Represents the matrix change trend difference coefficient The third-order partial derivative with respect to time, Represents the error adjustment value of the element matrix trend quantification calculation formula; Step S345: capturing pixel loss during the action switching process according to the action pixel switching vector and the matrix trend quantization data to obtain action switching pixel loss data; Step S35: Designing an interactive mode for the element arrangement timing data based on the action switching pixel loss data and the element action inter-frame difference data to obtain element interactive mode data; Step S4: digitally encode the element interaction mode data to obtain the element interaction mode digitally encoded data; construct a virtual scene according to the element interaction mode digitally encoded data to obtain the element interaction virtual scene data.
2. The multimedia information interaction method according to claim 1, It is characterized in that Step S1 includes the following steps: Step S11: Acquire multimedia video playback data; Step S12: extracting video images from the multimedia video playback data to obtain a multimedia video playback image; performing image edge filtering on the multimedia video playback image to obtain a video edge filtered image; Step S13: performing color contrast filling on the video edge filter image using a preset color standard threshold to obtain a color-filled edge filter image; Step S14: extracting the image element structure of the media video playback image according to the color-filled edge-filtered image to obtain image element structure data.
3. The multimedia information interaction method according to claim 2, It is characterized in that Step S14 includes the following steps: Step S141: binarizing the color-filled edge-filtered image to obtain an edge-filtered binary image; Step S142: performing image region difference division on the media video playback image according to the edge filtered binary image to obtain image region division data; performing different region subject contour extraction on the image region division data to obtain region subject contour data; Step S143: Calculate the minimum bounding rectangle of the area main body contour data to obtain the minimum bounding rectangle data of the area main body; perform ellipse fitting on the area main body contour data according to the minimum bounding rectangle data of the area main body to obtain the ellipse fitting data of the area main body; Step S144: performing grayscale distribution analysis of different regional images on the image region division data based on the regional body minimum circumscribed rectangle data and the regional body ellipse fitting data to obtain regional image grayscale distribution data; Step S145: extracting the image element structure of the media video playback image according to the regional body minimum circumscribed rectangle data, the regional body ellipse fitting data and the regional image grayscale distribution data to obtain image element structure data.
4. The multimedia information interaction method according to claim 1, It is characterized in that Step S2 includes the following steps: Step S21: performing element arrangement timing analysis on the image element structure data according to the multimedia video playback data to obtain element arrangement timing data; Step S22: constructing a position switching mapping relationship model for the element arrangement time series data using a recurrent neural network model to obtain an initial element position switching relationship model; Step S23: Designing a format condition constraint mechanism for the element arrangement time series data to obtain an element format condition constraint mechanism; Step S24: using the element format condition constraint mechanism to perform model training on the initial element position switching relationship model to obtain the element position switching relationship model.
5. The multimedia information interaction method according to claim 4, It is characterized in that Step S23 includes the following steps: Step S231: performing element layout analysis on the element arrangement timing data to obtain element arrangement layout data; Step S232: Analyze the dynamic change law of the element arrangement time series data according to the element arrangement layout data to obtain the element dynamic change law data; Step S233: Acquire multimedia screen configuration data; Step S234: dynamically calculating the element refresh rate of the element dynamic change law data according to the multimedia screen configuration data to obtain the element dynamic refresh rate data; Step S235: adapting the element encoding format of the element arrangement layout data according to the element dynamic refresh rate data to obtain element encoding format adaptation data; adapting the transmission bandwidth according to the element dynamic refresh rate data to obtain transmission bandwidth adaptation data; Step S236: Design a format condition constraint mechanism according to the element encoding format adaptation data and the transmission bandwidth adaptation data to obtain an element format condition constraint mechanism.
6. The multimedia information interaction method according to claim 1, It is characterized in that Step S4 includes the following steps: Step S41: digitally encode the element interaction mode data to obtain digitally encoded element interaction mode data; Step S42: formulating a loss compensation strategy for the action switching pixel loss data to obtain action switching loss compensation data; Step S43: construct a virtual scene according to the action switching loss compensation data and the element interaction mode digital coding data to obtain element interaction virtual scene data.
7. A multimedia information interaction system, It is characterized in that For executing the multimedia information interaction method according to claim 1, the multimedia information interaction system comprises: The image element structure extraction module is used to obtain multimedia video playback data; perform video image extraction on the multimedia video playback data to obtain a multimedia video playback image; perform image element structure extraction on the media video playback image to obtain image element structure data; The element position switching relationship model construction module is used to perform element arrangement timing analysis on the image element structure data according to the multimedia video playback data to obtain element arrangement timing data; and to construct a position switching mapping relationship model on the element arrangement timing data to obtain an element position switching relationship model; The element interaction mode design module is used to analyze the element action switching fluency of the element arrangement timing data through the element position switching relationship model to obtain the element action switching fluency data; to capture the pixel loss in the action switching process according to the element action switching fluency data to obtain the action switching pixel loss data; to design the interaction mode of the element arrangement timing data based on the action switching pixel loss data to obtain the element interaction mode data; The element interaction scene building module is used to digitally encode the element interaction mode data to obtain the element interaction mode digitally encoded data; build a virtual scene according to the element interaction mode digitally encoded data to obtain the element interaction virtual scene data.
