A streaming media file generation method, terminal and storage medium

Through audio and video compression and artificial intelligence feature labeling technology, it solves the problems of storage space and teaching focus in normal recorded teaching, reduces storage pressure and improves learning efficiency, and users can quickly locate key content.

CN118524240BActive Publication Date: 2024-10-22JIANGSU ODIN ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410979372.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-22
Estimated Expiration
2044-07-22

AI Technical Summary

Technical Problem

Normalized recording and broadcasting teaching faces the problem of exponential growth in storage space requirements and difficulty in highlighting the focus of teaching in terms of video storage and management, resulting in reduced learning efficiency.

Method used

Using advanced audio and video compression methods and artificial intelligence feature tag intelligent generation methods, the feature timestamp is obtained through sensors and collection terminals, key frames and audio text are extracted, and streaming media files with feature tags are generated to reduce storage space requirements and achieve Quick location of key content.

Benefits of technology

It effectively reduces the storage pressure of recorded and broadcast files, highlights the focus of teaching, and improves learning efficiency. Users can quickly locate key locations through feature tags to ensure complete recording of key information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118524240B_ABST
    Figure CN118524240B_ABST
Patent Text Reader

Abstract

The present invention discloses a streaming media file generation method, terminal and storage medium, which obtain multiple streaming media data segments through multiple acquisition terminals; obtain a timestamp based on a first streaming media segment, and extract content from other streaming media segments based on the timestamp; analyze the multiple streaming media data segments to generate feature tags; extract streaming media data under corresponding feature timestamps as feature streaming media data based on the feature tags, and finally retain the feature streaming media data and corresponding feature tags; upload the first streaming media segment, the extracted feature streaming media data and the corresponding feature tags to a server and perform streaming media data fusion to generate a streaming media file with feature tags; the lightweight streaming media file generation method provided by the present invention can not only effectively reduce the space occupation of recorded files, but also provide users with a faster and more accurate positioning method by setting feature tag indexes, thereby effectively improving learning efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart education technology, and in particular to a streaming media file generation method, system, terminal and storage medium. Background Art

[0002] With the rapid development of information technology and the popularization of distance education, regular recorded teaching has become an indispensable part of modern teaching. However, while this teaching model brings convenience, it also faces many technical challenges, especially in video storage and management.

[0003] Regularized recorded teaching allows teachers to record classroom teaching content in real time and publish and share it through online platforms, allowing students to review and learn anytime and anywhere. However, with the continuous generation and accumulation of teaching videos, the demand for video storage space has grown exponentially, bringing heavy economic and technical burdens to schools and educational institutions.

[0004] In addition to the problem of storage space, regular recorded teaching also faces the problem of difficulty in highlighting the key points of teaching. Since the video content is usually a complete classroom recording, students need to spend a lot of time looking for key information when watching, resulting in reduced learning efficiency. In addition, it is difficult for teachers to emphasize and highlight the key points of teaching content through simple video editing. Summary of the invention

[0005] Purpose of the invention: In view of the problems existing in the above-mentioned background technology, the present invention provides a method, system, terminal and storage medium for generating streaming media files, which effectively reduces the size of video files by providing an advanced audio and video compression method, thereby reducing the storage space requirement. In addition, the present invention provides a method for intelligently generating feature labels in combination with artificial intelligence, which provides feature labels for key frame images for users to accurately locate.

[0006] Technical solution: In a first aspect, an embodiment of the present invention provides a method for generating a streaming media file, which is applied to a digital computing power interactive system, wherein the digital computing power interactive system includes a plurality of acquisition terminals for collecting streaming media data and a plurality of sensors for collecting external signals; a plurality of segments of streaming media data are obtained through the plurality of acquisition terminals;

[0007] A timestamp is obtained based on the first streaming media segment, and content is extracted from other streaming media segments based on the timestamp; the content extraction method comprises: determining a characteristic timestamp based on the characteristic signal output by the sensor and the content of the multiple streaming media data segments; analyzing the multiple streaming media data segments to generate characteristic tags; extracting streaming media data corresponding to the characteristic timestamp based on the characteristic tags as characteristic streaming media data, and finally retaining the characteristic streaming media data and the corresponding characteristic tags;

[0008] The first streaming media segment, the extracted characteristic streaming media data and the corresponding characteristic tags are uploaded to the server and the streaming media data are merged to generate a streaming media file with the characteristic tags.

[0009] Optionally, audio stream data within a period of time is collected by an audio collection module as a first streaming media segment; and the timestamp is obtained based on the audio stream.

[0010] Optionally, the video stream data is collected by a video collection terminal, and content is extracted from the video stream data based on the timestamp; the method for determining the characteristic timestamp includes:

[0011] (1) Collecting user activity data based on the sensor; when the user performs a characteristic action, the sensor outputs a characteristic signal, and the digital computing power interaction system generates a characteristic timestamp;

[0012] (2) identifying the audio stream content according to the collected audio stream data, and when the characteristic audio stream content is identified, the digital computing power interaction system generates a characteristic timestamp;

[0013] (3) The digital computing power interactive system intelligently identifies changes in display status and generates a feature timestamp when the display status changes;

[0014] When any of the conditions (1)-(3) is met, the digital computing power interaction system extracts the current video key frame image as feature streaming media data according to the feature timestamp.

[0015] Optionally, analyzing the plurality of segments of streaming media data to generate feature tags includes:

[0016] intercepting the audio stream data from the characteristic timestamp to the next characteristic timestamp, parsing the audio stream data through a speech recognition algorithm, and generating a corresponding audio text;

[0017] Identify the video key frame image corresponding to the feature timestamp and extract the text content to generate the corresponding video text;

[0018] Calculate the text similarity between the audio text and the video text, and extract the character strings with similarity greater than the preset threshold as the feature tags of the current timestamp.

[0019] Optionally, based on the feature timestamp, the corresponding video key frame image is captured as feature streaming media data; when no new feature timestamp is generated within t seconds after each feature timestamp is generated, the corresponding video frame image is captured every t seconds to supplement the feature streaming media data until a new feature timestamp is generated; otherwise, no supplement is performed.

[0020] Optionally, splicing and fusion are performed based on the audio stream data and the feature streaming media data to generate at least one video image content, including: audio stream data obtained based on the acquisition terminal, video frame images located at the feature timestamp position, and feature tags located at the feature timestamp position; the video frame images between two adjacent feature timestamps remain unchanged.

[0021] Optionally, select n consecutive video frames and audio stream data of corresponding length as temporary files and upload them to the server side and perform streaming media data fusion to generate a temporary streaming media file; repeat several times until the audio and video stream data is recorded; combine all temporary streaming media files on the server side to generate a final streaming media file.

[0022] In a second aspect, the present application further provides a streaming media file generation system, the streaming media file generation system comprising an edge-side digital computing power interaction terminal and a cloud processing module; the digital computing power interaction terminal comprises a plurality of collection terminals for collecting streaming media data, a writing terminal with integrated pressure sensors and infrared sensors, and an edge processing module; the writing terminal comprises an induction blackboard and a multimedia display terminal; the cloud processing module is used for fusion and splicing of streaming media files;

[0023] The writing terminal recognizes external tapping actions through a pressure sensor, recognizes the holding and placing actions of the writing pen through a pressure sensor, and senses external writing actions through an infrared sensor; the writing terminal outputs a characteristic signal to an edge processing module for generating a characteristic timestamp; the edge processing module is integrated inside a multimedia display terminal for recognizing characteristic signals and generating characteristic timestamps, and extracting the characteristic streaming media data; the multimedia display terminal is used to display video stream data.

[0024] The writing terminal recognizes external knocking actions through a pressure sensor, recognizes the holding and placing actions of the writing pen through a pressure sensor, and senses external writing actions through an infrared sensor; wherein the writing terminal includes a sensing blackboard and a multimedia display terminal; the writing terminal outputs a characteristic signal to an edge processing module for generating a characteristic timestamp; the multimedia display terminal is used to display the content of the writing terminal and generate video stream data for display.

[0025] In a third aspect, the present application further provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above methods are implemented.

[0026] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the steps of the above method when executed by a processor.

[0027] Compared with the prior art solutions, the technical solution adopted by the present invention has the following beneficial effects:

[0028] (1) The streaming media file generation method provided by the present invention intelligently identifies external sensor signals and video images, gives a characteristic timestamp, and uses the key video frame images under the characteristic timestamp to replace the original video stream data and the audio stream data to merge into the final streaming media file. The method provided by the present application effectively reduces the storage pressure of the recorded files while taking into account the key points of classroom teaching. By intelligently capturing the typical actions of teachers during classroom teaching and the key frames in the video images, the key points of the stored files are highlighted.

[0029] (2) In addition to the existing audio and video stream data, the streaming media file generation method provided by the present invention also recognizes audio text and video text based on artificial intelligence methods, extracts keywords as feature tag content and displays them together with the streaming media file to the user. The user can quickly locate the key position through the feature tag, so as to quickly obtain the required information.

[0030] (3) When extracting key frame images, the present invention sets a supplementary extraction method to prevent the problem that the key frame images cannot be fully recognized due to video freezes and slow APP opening, so as to ensure that key image frames are not missed and achieve full recording of key issues. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0032] Figure 1 A flow chart of a method for generating a streaming media file provided by the present invention;

[0033] Figure 2 A flow chart of streaming media file generation provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, systems, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0035] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0036] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0037] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0038] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0039] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0040] It should be understood that the size of the serial numbers of each step in this embodiment does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of this application.

[0041] With the widespread application of regular recording and broadcasting at any time in the field of smart campus, the teacher's classroom teaching content can be shared with each student through real-time recording. Students can review and fill in the gaps in the classroom content more efficiently based on the recorded content after class. However, the traditional audio and video recording and broadcasting method can only mechanically record the content of the entire class, which is long, resulting in a huge requirement for the recorded video content of a class, and it is inconvenient for students to download and study. In addition, the recorded classroom content cannot effectively distinguish the key points. Students need to repeat it several times before they can find the key content and learn it by themselves, and their learning efficiency cannot be improved. The present application provides a method for generating streaming media files. In view of the above problems, a lightweight classroom recording and broadcasting solution is proposed, which solves the storage space problem. At the same time, feature tags are added to streaming media files based on artificial intelligence, thereby realizing the rapid positioning of key content and key content.

[0042] The present application will be described in detail below with reference to embodiments.

[0043] like Figure 1 As shown, the present application proposes a method for generating a streaming media file, which specifically includes:

[0044] Step S1, acquiring multiple segments of streaming media data through multiple acquisition terminals;

[0045] Step S2, obtaining a timestamp based on the first streaming media segment, and extracting content from other streaming media segments based on the timestamp; the content extraction method comprises: determining a characteristic timestamp based on the characteristic signal output by the sensor and the content of the multiple streaming media data segments; analyzing the multiple streaming media data segments to generate characteristic tags; extracting streaming media data corresponding to the characteristic timestamp based on the characteristic tags as characteristic streaming media data, and finally retaining the characteristic streaming media data and the corresponding characteristic tags;

[0046] Step S3: uploading the first streaming media segment, the extracted characteristic streaming media data and the corresponding characteristic tags to the server and performing streaming media data fusion to generate a streaming media file with the characteristic tags.

[0047] Exemplarily, the streaming media file generation method provided in this application is mainly applied to the digital computing power interaction system. The digital computing power interaction system includes multiple acquisition terminals for collecting streaming media data and multiple sensors for collecting external signals. The acquisition terminal may include array microphones, multi-channel camera terminals and other devices arranged at different positions, and the sensor serves as a medium for the digital computing power interaction system to perceive changes in the external environment. The above-mentioned acquisition array microphone is used to collect audio stream data of classroom teaching in real time, and the multi-channel camera terminal is used to collect classroom teaching video stream data in real time. The streaming media data obtained by the acquisition terminal is transmitted to the digital computing power interaction terminal. After data collection on the edge side, video content extraction and feature label generation are further performed. Since the storage occupancy of audio stream data is very small, all audio stream data is retained, and the timestamp corresponding to the audio stream is used as the basis for extracting the key content of the video stream. Feature recognition is performed based on external sensors and audio and video files themselves to confirm the feature timestamp. Feature recognition methods include: teachers knocking on the blackboard in class, teachers putting down the writing induction pen, specific audio content such as "attention", "key points" appearing in the audio content, PPT opening (closing) in the video content, APP startup (closing) and infrared writing induction methods. The key frames of the video are extracted based on the feature timestamp. On the other hand, the content of the audio and key frames is intelligently identified, and the text similarity is calculated. The text string that meets the similarity requirements is extracted as the feature label of the current key frame. The extracted audio and video stream data and feature labels are uploaded to the cloud processing module on the server side, and the streaming media data is fused and compressed on the server side, and finally a streaming media file is generated for users to view.

[0048] This application not only effectively reduces the size of streaming media files and alleviates storage pressure through video content extraction methods, but also provides users with quick content positioning by generating feature tags, and realizes one-click positioning of key content and taking screenshots away, further improving learning efficiency.

[0049] In an embodiment that can be implemented in the present application, the method for determining the feature timestamp includes:

[0050] (1) Collecting user activity data based on the sensor; when the user performs a characteristic action, the sensor outputs a characteristic signal, and the digital computing power interaction system generates a characteristic timestamp;

[0051] (2) identifying the audio stream content according to the collected audio stream data, and when the characteristic audio stream content is identified, the digital computing power interaction system generates a characteristic timestamp;

[0052] (3) The digital computing power interactive system intelligently identifies changes in display status and generates a feature timestamp when the display status changes;

[0053] When any of the conditions (1)-(3) is met, the digital computing power interaction system extracts the current video key frame image as feature streaming media data according to the feature timestamp.

[0054] When streamlining the real-time video streaming data of classroom teaching, it is necessary to identify the teaching focus in combination with the actual teaching scene and save it accordingly. In this embodiment, a method for generating feature timestamps is first given through intelligent recognition of several external sensors and display content, and corresponding feature streaming media data is extracted based on the feature timestamps. Several possible implementation examples are given below:

[0055] 1) When the teacher is lecturing, when key points appear on the PPT or blackboard, he or she will use the gesture of tapping the blackboard to remind students that they need to pay attention to this point. At this time, the built-in pressure sensor of the blackboard senses the external tapping action and transmits the characteristic signal to the digital computing power interactive terminal. At this time, the terminal uses this moment as the characteristic timestamp to capture the video stream screen and use this as the characteristic streaming media data.

[0056] 2) Blackboard writing, as a carrier that reflects the key content and teaching context of the class, also belongs to the key frame content of the video. During the class, the teacher uses a sensing writing pen to write on the blackboard. When the blackboard writing is completed, the content of the blackboard writing needs to be intercepted accordingly. After completing the blackboard writing, the teacher puts the sensing writing pen back to its original position. At this time, the pressure sensor located in the original position senses that the writing pen is put back to its original position, and transmits the characteristic signal to the digital computing power interactive terminal. At this time, the terminal uses this moment as the characteristic timestamp to intercept the video stream screen, and uses this as the characteristic streaming media data.

[0057] 3) The digital computing power interactive terminal intelligently identifies the status changes of the current display content through the built-in windows program, such as APP opening, closing, PPT switching, etc. When the display content is identified to have a status change, the video stream screen is captured with this moment as the feature timestamp, and this is used as the feature streaming media data.

[0058] In addition, in this embodiment, the audio stream data can be recognized in real time, converted into text by a text conversion method, and further recognized by a semantic recognition method. When a text indicating a key point such as "attention", "emphasis", or "record" appears in the real-time text content, the time when the text appears is used as a feature timestamp. At this time, the terminal uses this time as the feature timestamp to capture the video stream screen, and uses this as the feature streaming media data.

[0059] In response to the video screen delay problem that may exist when the actual recognition state changes due to the APP opening freeze and PPT switching freeze, this application also proposes a supplementary extraction mechanism. When a new feature timestamp is not generated within t seconds after each feature timestamp is generated, the corresponding video frame screen is intercepted every t seconds to supplement the feature streaming media data until a new feature timestamp is generated. This method can effectively supplement the feature streaming media data and prevent the problem of incomplete video screen capture caused by APP delay.

[0060] In a feasible embodiment, after intercepting the corresponding feature streaming media data, this application also proposes a method for setting the corresponding feature label, which is used to intuitively display the label index of key content for users, so as to facilitate students' subsequent accurate positioning and improve learning efficiency. The specific steps are as follows:

[0061] Step L1, intercepting audio stream data from the characteristic timestamp to the next characteristic timestamp, parsing the audio stream data through a speech recognition algorithm, and generating corresponding audio text;

[0062] Step L2, identifying the video key frame corresponding to the feature timestamp and extracting the text content to generate the corresponding video text;

[0063] Step L3: Calculate the text similarity between the audio text and the video text, and extract the character string with a similarity greater than a preset threshold as the feature tag of the current timestamp.

[0064] In this embodiment, a blackboard array microphone or other recording device is first used to capture the sound signal, and the recorded audio is subjected to noise reduction processing to reduce the impact of background noise on recognition accuracy. The long audio stream data is divided into several short audio segments, and the audio signal is converted into a digital signal based on a deep learning algorithm, and then further parsed into text content. The output text content is corrected, punctuation is added and then output to form an audio text. Then the extracted video frame image is preprocessed, including grayscale and binarization processing, enhancing the contrast between the text and the background and removing noise. The text row and column layout in the image is identified and the text is located. The text is cut into individual characters and each character and word is identified using OCR technology and convolutional neural networks. Recognition errors are corrected according to contextual information, and the complete text string is finally output as a video text. Finally, the similarity between the audio text and the video text is calculated based on the Elastic search method. The text with a similarity greater than 90% is retained as the feature label corresponding to the current video frame.

[0065] In a feasible embodiment, n consecutive video frames and audio stream data of corresponding length are selected as temporary files and uploaded to the server side, and the streaming media data is merged to generate a temporary streaming media file; this is repeated several times until the audio and video stream data are recorded; all temporary streaming media files are combined on the server side to generate a final streaming media file, and compressed into a specific format to provide playback services.

[0066] After the above streaming media files are generated, students can log in through computer clients, mobile phones, etc. after class and select corresponding courseware for playback. During playback, users can quickly locate key information pages according to feature tags, and then focus on learning related content.

[0067] The above mainly introduces the method of the embodiment of the present application in conjunction with the accompanying drawings. It should be noted that all the numerical values ​​appearing in the above are only used for examples and do not constitute specific limitations on the present application. It should also be understood that although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence, these steps are not necessarily performed in sequence in the order shown in the figure. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be performed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the various embodiments described above may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a part of the steps or stages in other steps. The system of the embodiment of the present application is introduced below in conjunction with the accompanying drawings. For the sake of brevity, when introducing the system below, it will be appropriately omitted, and the relevant content can refer to the relevant description in the above method introduction, and will not be repeated.

[0068] The present application also provides a streaming media file generation system, which includes an edge-side digital computing power interactive terminal and a cloud processing module. In a feasible embodiment, the digital computing power interactive terminal includes a plurality of array microphones for collecting audio stream data, a multi-channel camera for collecting video stream data, a writing terminal integrated with a pressure sensor and an infrared sensor, and an edge processing module. The writing terminal includes a sensing blackboard and a multimedia display terminal. The sensing blackboard is integrated with a pressure sensor for sensing external pressure, such as a knocking action. The sensing blackboard includes a matching writing pen, which is fixed to the bottom of the sensing blackboard by magnetic attraction or other means. A pressure sensor for sensing the placement of the writing pen is also provided at a fixed position. In addition, the sensing blackboard is also integrated with an infrared sensor, and the user can choose a handwriting mode when writing on the blackboard, and the handwriting can be synchronously transmitted to the multimedia display terminal through infrared sensing. The edge processing module is integrated inside the multimedia display terminal, and is used to identify feature signals, generate feature timestamps, and extract the feature streaming media data. The multimedia display terminal is used to display video stream data, which includes not only the writing content of the sensing blackboard, but also a corresponding graphical user interface, such as a computer desktop. The teacher displays other teaching content such as PPT and teaching videos to students through the multimedia display terminal. The video stream data described in this application is the relevant teaching content displayed by the multimedia display terminal.

[0069] The present application also provides a terminal device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on at least one processor, and the processor implements the steps in the above embodiments when executing the computer program.

[0070] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0071] In some embodiments, the memory may be an internal storage unit of an electronic device, such as a hard disk or memory of the electronic device. In other embodiments, the memory may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory may also include both an internal storage unit of the electronic device and an external storage device. The memory is used to store operating systems, applications, boot loader data and other programs, such as program codes of computer programs, etc. The memory may also be used to temporarily store data that has been output or is to be output.

[0072] It should be noted that the information interaction, execution process and other contents between the above-mentioned units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0073] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0074] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0075] The embodiments of the present application provide a computer program product, which can implement the above methods when the computer program product is run on a computer.

[0076] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / electronic device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.

[0077] It should be understood that the size of the sequence number of each step in the above-described embodiment does not mean the order of execution, and the order of execution of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiment of the present application. In the description, for the purpose of explanation rather than for limitation, specific details such as specific system structure, technology and the like are proposed, so as to thoroughly understand the embodiment of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, the detailed description of well-known systems, devices, circuits and methods is omitted to prevent unnecessary details from hindering the description of the present application.

[0078] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0079] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0080] Additionally, in the specification of the present application and the description of the appended claims, the terms “include,” “comprise,” “have,” and their variations all mean “including but not limited to,” unless otherwise specifically emphasized.

[0081] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0082] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0083] In the embodiments provided in the present application, it should be understood that the disclosed devices, computer equipment and methods can be implemented in other ways. For example, the device and computer equipment embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0084] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for generating a streaming media file, characterized in that: Applied to a streaming media file generation system; the streaming media file generation system includes an edge-side digital computing power interaction terminal and a cloud processing module; the digital computing power interaction terminal includes a plurality of collection terminals for collecting streaming media data, a writing terminal with integrated pressure sensors and infrared sensors, and an edge processing module; the writing terminal includes an induction blackboard and a multimedia display terminal; the cloud processing module is used for fusion and splicing of streaming media files; The writing terminal recognizes external knocking actions through a pressure sensor, recognizes the holding and placing actions of the writing pen through a pressure sensor, and senses external writing actions through an infrared sensor; the writing terminal outputs a characteristic signal to an edge processing module for generating a characteristic timestamp; The edge processing module is integrated inside the multimedia display terminal and is used to identify characteristic signals, generate characteristic timestamps, and extract characteristic streaming media data; The multimedia display terminal is used to display video stream data; The streaming media file generation method specifically includes: Acquire multiple segments of streaming media data through multiple acquisition terminals; A timestamp is obtained based on the first streaming media segment, and content is extracted from other streaming media segments based on the timestamp; the content extraction method comprises: determining a characteristic timestamp according to the characteristic signal output by the sensor and the content of the multiple streaming media data segments; the method for determining the characteristic timestamp comprises: (1) Collecting user activity data based on the sensor; when the user performs a characteristic action, the sensor outputs a characteristic signal, and the digital computing power interaction system generates a characteristic timestamp; (2) identifying the audio stream content according to the collected audio stream data, and when the characteristic audio stream content is identified, the digital computing power interaction system generates a characteristic timestamp; (3) The digital computing power interactive system intelligently identifies changes in display status and generates a feature timestamp when the display status changes; When any of the conditions (1) to (3) is met, the digital computing power interactive system extracts the current video key frame as the feature streaming media data according to the feature timestamp. When no new feature timestamp is generated within t seconds after each feature timestamp is generated, the corresponding video frame is intercepted every t seconds to supplement the feature streaming media data until a new feature timestamp is generated; otherwise, no supplement is performed. Analyze the multiple segments of streaming media data to generate feature tags; extract streaming media data corresponding to feature timestamps based on the feature tags as feature streaming media data, and finally retain the feature streaming media data and the corresponding feature tags; The first streaming media segment, the extracted characteristic streaming media data and the corresponding characteristic tags are uploaded to the server and the streaming media data are merged to generate a streaming media file with the characteristic tags.

2. A method for generating a streaming media file according to claim 1, characterized in that: The audio stream data within a period of time is collected as a first streaming media segment through an audio collection module; and the timestamp is obtained based on the audio stream.

3. A method for generating a streaming media file according to claim 1, characterized in that: Analyze the multiple segments of streaming media data to generate feature tags, including: intercepting the audio stream data from the characteristic timestamp to the next characteristic timestamp, parsing the audio stream data through a speech recognition algorithm, and generating a corresponding audio text; Identify the video key frame image corresponding to the feature timestamp and extract the text content to generate the corresponding video text; Calculate the text similarity between the audio text and the video text, and extract the character strings with similarity greater than the preset threshold as the feature tags of the current timestamp.

4. A method for generating a streaming media file according to claim 1, characterized in that: Based on the audio stream data and the feature stream media data, splicing and fusion are performed to generate at least one video frame content, including: audio stream data obtained based on the acquisition terminal, video frame pictures located at the feature timestamp position and feature tags located at the feature timestamp position; the video frame pictures between two adjacent feature timestamps remain unchanged.

5. A method for generating a streaming media file according to claim 4, characterized in that: Select n consecutive video frames and audio stream data of corresponding duration as temporary files and upload them to the server and perform streaming media data fusion to generate temporary streaming media files; repeat several times until the audio and video stream data recording is completed; All temporary streaming media files are combined on the server side to generate the final streaming media file.

6. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.