Data processing method, data processing apparatus, electronic device, storage medium, and program product

By converting and splicing the image, text, and audio information of video frames into different formats, the problem of insufficient utilization of the time alignment characteristics of multimodal information in existing technologies is solved, and efficient unified encoding and information restoration of video data are achieved.

CN119182940BActive Publication Date: 2026-11-27BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411311934.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2026-11-27
Estimated Expiration
2044-09-19

AI Technical Summary

Technical Problem

Existing technologies cannot effectively utilize the temporal alignment characteristics of multimodal information in video data, resulting in information loss and low modeling efficiency, and the encoding processes for different modalities are not uniform.

Method used

By converting the image, text, and audio information of video frames into a unified representation, and then splicing and encoding them, a single encoder is used to achieve unified encoding of multimodal information, taking into account the time alignment characteristics of video.

Benefits of technology

It achieves unified encoding of video data, reduces information loss, improves modeling efficiency and information restoration quality, and simplifies the encoding process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119182940B_ABST
    Figure CN119182940B_ABST
Patent Text Reader

Abstract

The present disclosure provides a data processing method, a data processing device, an electronic device, a storage medium and a program product, the computer technical field, and particularly relates to artificial intelligence technology. The implementation scheme is: receiving an input video; for each frame in the input video, determining the image, text and audio corresponding to the frame; performing format conversion on at least one of the image, text and audio corresponding to the frame to obtain the corresponding image representation, text representation and audio representation; splicing the image representation, text representation and audio representation corresponding to the frame to obtain the content representation of the frame; encoding the content representation to obtain the encoding feature of the frame; and determining the encoding feature of the input video according to the encoding features of a plurality of frames included in the input video.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and more particularly to artificial intelligence technology, specifically to a data processing method, apparatus, electronic device, computer-readable storage medium, and computer program product. Background Technology

[0002] Artificial intelligence (AI) is the study of enabling computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). It encompasses both hardware and software technologies. AI hardware technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, and big data processing. AI software technologies mainly include computer vision, speech recognition, natural language processing, machine learning / deep learning, big data processing, and knowledge graph technologies.

[0003] The field of natural language processing is now moving towards the era of ultra-large-scale models. Training models with extremely large parameters on massive amounts of text data using supercomputing power enables the resulting language models to possess general semantic understanding and generation capabilities for multiple tasks and few-shot learning. To develop more general-purpose large models, in addition to text input, today's large models are developing towards multimodal (images, audio, and video, etc.) approaches.

[0004] The methods described in this section are not necessarily methods that had been previously conceived or adopted. Unless otherwise specified, no method described in this section should be assumed to be prior art simply because it is included in this section. Similarly, unless otherwise specified, the issues mentioned in this section should not be considered to be accepted in any prior art. Summary of the Invention

[0005] This disclosure provides a data processing method, apparatus, electronic device, computer-readable storage medium, and computer program product.

[0006] According to one aspect of this disclosure, a data processing method is provided, comprising: receiving an input video; for each frame in the input video, determining the image, text, and audio corresponding to the frame; performing format conversion on at least one of the image, text, and audio corresponding to the frame to obtain a corresponding image representation, text representation, and audio representation; concatenating the image representation, text representation, and audio representation corresponding to the frame to obtain a content representation of the frame; encoding the content representation to obtain an encoding feature of the frame; and determining the encoding feature of the input video based on the encoding features of multiple frames included in the input video.

[0007] According to another aspect of this disclosure, a data processing apparatus is provided, including a receiving unit configured to receive an input video; an encoding unit configured to: for each frame in the input video, determine an image, text, and audio corresponding to that frame; perform format conversion on at least one of the image, text, and audio corresponding to the frame to obtain a corresponding image representation, text representation, and audio representation; concatenate the image representation, text representation, and audio representation to obtain a content representation of the frame; encode the content representation to obtain an encoding feature of the frame; and a feature determination unit configured to determine the encoding features of the input video based on the encoding features of multiple frames included in the input video.

[0008] According to another aspect of this disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method according to an embodiment of this disclosure.

[0009] According to another aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are used to cause the computer to perform a method according to an embodiment of this disclosure.

[0010] According to another aspect of this disclosure, a computer program product is provided, including a computer program, wherein the computer program, when executed by a processor, implements a method according to an embodiment of this disclosure.

[0011] According to one or more embodiments of this disclosure, unified encoding of video data can be achieved.

[0012] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0013] The accompanying drawings exemplify embodiments and form part of the specification, serving together with the textual description to explain exemplary implementations of the embodiments. The illustrated embodiments are for illustrative purposes only and do not limit the scope of the claims. Throughout the drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0014] Figure 1 A schematic diagram of an exemplary system in which the various methods described herein may be implemented according to embodiments of the present disclosure is shown;

[0015] Figure 2An exemplary flowchart of a data processing method according to an embodiment of the present disclosure is shown;

[0016] Figure 3 The principle of a data processing procedure according to an embodiment of the present disclosure is illustrated;

[0017] Figure 4 An exemplary block diagram of a data processing apparatus according to embodiments of the present disclosure is shown;

[0018] Figure 5 A structural block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure is shown. Detailed Implementation

[0019] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0020] In this disclosure, unless otherwise stated, the use of terms such as "first," "second," etc., to describe various elements is not intended to limit the positional, temporal, or importance relationships of these elements; such terms are merely used to distinguish one element from another. In some examples, the first element and the second element may refer to the same instance of that element, while in other cases, based on the context, they may refer to different instances.

[0021] The terminology used in the description of the various examples described in this disclosure is for the purpose of describing particular examples only and is not intended to be limiting. Unless the context explicitly indicates otherwise, an element may be one or more unless the number of elements is specifically limited. Furthermore, the term "and / or" as used in this disclosure covers any one of the listed items and all possible combinations thereof.

[0022] The embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.

[0023] Figure 1 A schematic diagram of an exemplary system 100 in which the various methods and apparatus described herein can be implemented according to embodiments of this disclosure is shown. Reference Figure 1The system 100 includes one or more client devices 101, 102, 103, 104, 105 and 106, a server 120, and one or more communication networks 110 coupling the one or more client devices to the server 120. The client devices 101, 102, 103, 104, 105 and 106 can be configured to execute one or more applications.

[0024] In embodiments of this disclosure, server 120 may run one or more services or software applications that enable the execution of data processing methods according to embodiments of this disclosure.

[0025] In some embodiments, server 120 may also provide other services or software applications, which may include non-virtual and virtual environments. In some embodiments, these services may be provided as web-based services or cloud services, such as to users of client devices 101, 102, 103, 104, 105, and / or 106 under a Software as a Service (SaaS) model.

[0026] exist Figure 1 In the configuration shown, server 120 may include one or more components that implement the functions performed by server 120. These components may include software components, hardware components, or combinations thereof that can be executed by one or more processors. Users operating client devices 101, 102, 103, 104, 105, and / or 106 can sequentially interact with server 120 using one or more client applications to utilize the services provided by these components. It should be understood that various different system configurations are possible and may differ from system 100. Therefore, Figure 1 This is an example of a system used to implement the various methods described herein, and is not intended to be limiting.

[0027] Users can use client devices 101, 102, 103, 104, 105, and / or 106 to acquire input data and output data processing results. The client devices can provide an interface that allows users to interact with them. The client devices can also output information to the user through this interface. Although... Figure 1 Only six client devices are described, but those skilled in the art will understand that this disclosure can support any number of client devices.

[0028] Client devices 101, 102, 103, 104, 105, and / or 106 may include various types of computer devices, such as portable handheld devices, general-purpose computers (such as personal computers and laptops), workstation computers, wearable devices, smart screen devices, self-service terminal devices, service robots, gaming systems, thin clients, various messaging devices, sensors, or other sensing devices. These computer devices can run various types and versions of software applications and operating systems, such as Microsoft Windows, Apple iOS, UNIX-like operating systems, Linux or Linux-like operating systems (such as Google Chrome OS); or include various mobile operating systems, such as Microsoft Windows Mobile OS, iOS, Windows Phone, and Android. Portable handheld devices may include cellular phones, smartphones, tablets, personal digital assistants (PDAs), etc. Wearable devices may include head-mounted displays (such as smart glasses) and other devices. Gaming systems may include various handheld gaming devices, internet-enabled gaming devices, etc. Client devices are capable of executing various applications, such as various internet-related applications, communication applications (such as email applications), short message service (SMS) applications, and can use various communication protocols.

[0029] Network 110 can be any type of network well known to those skilled in the art, and can use any of a variety of available protocols (including but not limited to TCP / IP, SNA, IPX, etc.) to support data communication. By way of example only, one or more networks 110 can be a local area network (LAN), an Ethernet-based network, a token ring network, a wide area network (WAN), the Internet, a virtual network, a virtual private network (VPN), an intranet, an extranet, a blockchain network, a public switched telephone network (PSTN), an infrared network, a wireless network (e.g., Bluetooth, WIFI), and / or any combination of these and / or other networks.

[0030] Server 120 may include one or more general-purpose computers, special-purpose server computers (e.g., PC (personal computer) servers, UNIX servers, mid-range servers), blade servers, mainframe computers, server clusters, or any other suitable arrangement and / or combination. Server 120 may include one or more virtual machines running a virtual operating system, or other computing architectures involving virtualization (e.g., one or more flexible pools of logical storage devices that can be virtualized to maintain virtual storage devices for servers). In various embodiments, server 120 may run one or more services or software applications that provide the functionality described below.

[0031] The computing unit in server 120 can run one or more operating systems, including any of the aforementioned operating systems and any commercially available server operating system. Server 120 can also run any of a variety of additional server applications and / or middleware applications, including HTTP servers, FTP servers, CGI servers, JAVA servers, database servers, etc.

[0032] In some implementations, server 120 may include one or more applications to analyze and merge data feeds and / or event updates received from users of client devices 101, 102, 103, 104, 105 and / or 106. Server 120 may also include one or more applications to display data feeds and / or real-time events via one or more display devices of client devices 101, 102, 103, 104, 105 and / or 106.

[0033] In some implementations, server 120 can be a server for a distributed system or a server integrated with blockchain. Server 120 can also be a cloud server, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology. A cloud server is a host product in the cloud computing service system, designed to address the shortcomings of traditional physical hosts and Virtual Private Server (VPS) services, such as high management difficulty and weak business scalability.

[0034] System 100 may also include one or more databases 130. In some embodiments, these databases may be used to store data and other information. For example, one or more of the databases 130 may be used to store information such as audio files and video files. Databases 130 may reside in various locations. For example, a database used by server 120 may be local to server 120, or it may be located away from server 120 and may communicate with server 120 via a network-based or dedicated connection. Databases 130 may be of different types. In some embodiments, the database used by server 120 may be, for example, a relational database. One or more of these databases may store, update, and retrieve data from and from the databases in response to commands.

[0035] In some embodiments, one or more of the databases 130 may also be used by an application to store application data. The databases used by the application may be of different types, such as key-value stores, object stores, or regular stores supported by a file system.

[0036] Figure 1The system 100 can be configured and operated in various ways to enable the application of the various methods and apparatus described in this disclosure.

[0037] Video is a common type of multimodal data. It contains temporally aligned information such as images, text, and audio, making the encoding and modeling of video modal data a complex task.

[0038] The approach used in related technologies is to split the video into multiple modalities and then model the data of each modality separately. For example, the Video-ChatGPT model is used to model the image modality in the video. However, this modeling method results in the loss of text and audio information in the video, making it impossible to reconstruct the original video content. Alternatively, the VideoLLaMA series of models can be used to model the images and audio separately using visual encoders and audio encoders, and then the outputs are merged by stitching. However, using different modal encoders for each modality in the video leads to inconsistent and complex modeling processes, fails to utilize the temporal alignment characteristics of the video, and results in low modeling efficiency during subsequent modal stitching.

[0039] In order to provide a better video modeling method for model processing, this disclosure provides a new data processing method.

[0040] Figure 2 An exemplary flowchart of a data processing method according to an embodiment of the present disclosure is shown.

[0041] In step S202, the input video is received.

[0042] In step S204, each frame in the input video is encoded. Step S204 includes: determining the image, text, and audio corresponding to the frame; performing format conversion on at least one of the image, text, and audio corresponding to the frame to obtain the corresponding image representation, text representation, and audio representation; concatenating the image representation, text representation, and audio representation to obtain the content representation of the frame; and encoding the content representation to obtain the encoded features of the frame.

[0043] In step S206, the encoding features of the input video are determined based on the encoding features of the multiple frames included in the input video.

[0044] The data processing method provided by the embodiments of this disclosure can realize unified encoding of video data, and takes into account the characteristic that the video itself contains multimodal aligned inputs during the encoding process, thereby completing efficient unified video modeling and reducing information loss in the video model.

[0045] The principles of this disclosure will now be described in detail.

[0046] In step S202, an input video may be received. The video includes information in at least two modalities: images, text, and audio. For example, the video includes multiple image frames and audio played alongside them, including background audio and narration audio. In some cases, the video also includes subtitles played alongside the background audio. The text included in the video may include text from the subtitles or text identified from the narration audio. It is understood that when a human watches the video, the images, text, and audio are played in a time-aligned manner, with their content complementing each other to provide the user with multifaceted information.

[0047] However, in related technologies, when machine learning models are used to process video data, the information of different modalities is represented differently. Therefore, to encode the video data, the information of each modality within the video needs to be encoded separately and then concatenated before being input into the machine learning model. However, this process fails to capture the cross-modal information that exists in the video when the multimodal information is time-aligned.

[0048] In step S204, each frame in the input video is encoded. Step S204 includes: determining the image, text, and audio corresponding to the frame; performing format conversion on at least one of the image, text, and audio corresponding to the frame to obtain the corresponding image representation, text representation, and audio representation; concatenating the image representation, text representation, and audio representation to obtain the content representation of the frame; and encoding the content representation to obtain the encoded features of the frame.

[0049] In step S204, the relevant multimodal information is encoded frame by frame. The encoded features of each frame include multimodal information that is time-aligned with that frame. Therefore, it is possible to encode image information together with related audio and text information. When processing the encoded features of the video using a machine learning model, the model can understand not only the information in the image, audio, and text themselves, but also the time alignment information of the multimodal information.

[0050] The process of determining the image, text, and audio corresponding to a frame includes: determining the video image displayed at the time of the frame; determining the text information in the video within a predetermined time range including the time of the frame; and determining the audio information in the video within the predetermined time range including the time of the frame. The length of the predetermined time range used to determine the text and audio information can be determined based on the duration between two adjacent frames. In the example, the predetermined time range can be the duration between two adjacent frames. Depending on the actual situation, the predetermined time range can also be set to other lengths.

[0051] In some embodiments, the image representation, text representation, and audio representation corresponding to each frame may have the same format.

[0052] In the example, the image, text, and audio representations corresponding to each frame are all in image format. In this case, the image representation can be the image itself corresponding to that frame of video. For example, format conversion of at least one of the image, text, and audio corresponding to that frame can include: generating a text image containing the text based on the text content; extracting the audio spectrum to obtain a spectrogram corresponding to the audio. Any text processing or image processing method can be used to generate the text image containing the text, such as generating a page containing text content and taking a screenshot of the page. For example, a Mel filter can be used to process the audio information to obtain at least one Mel spectrogram corresponding to the audio information. The text image and spectrogram can have the same size as the image of each frame. The content representation of a frame can be obtained by stitching together the image, text image, and spectrogram corresponding to each frame. Thus, the content representation of each frame can include multimodal information in a uniform format and time-aligned. Information from different modalities can be stitched together in any dimension of the content representation as needed.

[0053] In other examples, the image, text, and audio representations for each frame can be unified into non-image formats, such as text, audio, or vector or tensor formats in any mapping space. Those skilled in the art can determine the unified format and format conversion method for multimodal information based on the specific circumstances.

[0054] When the content representation of each frame includes multimodal information in a uniform format, a single encoder can be used to encode the content representation. Taking the content representation of each frame as an image as an example, a visual encoder can be used to encode the content representation, thereby achieving a unified modeling effect for time-aligned multimodal information. Using this method, there is no need to train different encoders for different modal information, thus simplifying the video encoding process and reducing the information loss and operational complexity caused by separate modality modeling.

[0055] In step S206, the encoding features of the input video are determined based on the encoding features of the multiple frames included in the input video.

[0056] Machine learning models can be used to process the encoded features of the input video to obtain a prediction result corresponding to the input video. For example, the aforementioned machine learning model can be a large language model. An exemplary application scenario can include a user inputting a video and providing the prompt message "Please summarize the video content". The input video can be encoded using the method in step S204, and the prompt message and the encoded features of the input video can be input together into the large language model to obtain the prediction result output by the large language model, i.e., the summary of the video content by the large language model.

[0057] It is understandable that, depending on the specific circumstances, those skilled in the art can also input the encoded features of the input video into other types of machine learning models to obtain the output results required in other application scenarios. To enable machine learning models to process the encoded features of the input video, the encoded features can be transformed in any possible way, thereby achieving the effect of obtaining video information using various different machine learning models.

[0058] In the data processing method provided in the embodiments of this disclosure, multimodal information including images, text, and audio in the video is modeled. Compared to modeling only a single modality, information loss is reduced, thus improving the restoration quality of each modality's information in subsequent operations. Furthermore, by using a unified encoder for multimodal data modeling, compared to calling separate encoders for different modalities, alignment costs and the overhead of multiple calls are reduced. This modeling approach also makes the information fusion between modalities more unified.

[0059] Figure 3 The principle of a data processing procedure according to an embodiment of the present disclosure is illustrated.

[0060] Figure 3 The diagram shows the image representation 301, text representation 302, and audio representation 303 of the t-th and t+1-th frames of the input video. The image representation 301, text representation 302, and audio representation 303 are all in image format. The image representation, text representation, and audio representation of the t-th frame can be concatenated to obtain the content representation 304 of the t-th frame and the content representation 305 of the t+1-th frame.

[0061] A visual encoder can be used to encode the content representation 304 of frame t and the content representation 305 of frame t+1. Similarly, the content representations of frames 1 to n (where n is a positive integer) of the input video can be encoded to obtain the encoded features 306 of the input video. Figure 3 The numbers shown in encoding feature 306 correspond to the index of the frame number.

[0062] The large language model 320 can be used to process the same coding features 306 of the input video to obtain the prediction results corresponding to the input video.

[0063] Figure 4 An exemplary block diagram of a data processing apparatus according to embodiments of the present disclosure is shown. It can be utilized... Figure 4 The data processing device shown in the figure is used to perform the combination Figure 2 The data processing method described is 200.

[0064] like Figure 4 As shown, the data processing device 400 includes a receiving unit 410, an encoding unit 420, and a feature determination unit 430.

[0065] The receiving unit 410 can be configured to receive input video.

[0066] The encoding unit 420 can be configured to: for each frame in the input video, determine the image, text, and audio corresponding to the frame; perform format conversion on at least one of the image, text, and audio corresponding to the frame to obtain the corresponding image representation, text representation, and audio representation; concatenate the image representation, text representation, and audio representation to obtain the content representation of the frame; and encode the content representation to obtain the encoding features of the frame.

[0067] The feature determination unit 430 can be configured to determine the coding features of the input video based on the coding features of multiple frames included in the input video.

[0068] The data processing apparatus provided by the embodiments of this disclosure can realize unified encoding of video data, and takes into account the characteristic that the video itself contains multimodal aligned inputs during the encoding process, thereby completing efficient unified video modeling and reducing information loss in the video model.

[0069] In some embodiments, for each frame in the input video, determining the image, text, and audio corresponding to that frame includes: determining the video image displayed at that frame time; determining the text information in the video within a predetermined time range including that frame time; and determining the audio information in the video within the predetermined time range including that frame time.

[0070] In some embodiments, the image representation, text representation, and audio representation are all image formats.

[0071] In some embodiments, format conversion of at least one of the image, text, and audio corresponding to the frame includes: generating a text image including the text based on the text content; and extracting the spectrum of the audio to obtain a spectrum diagram corresponding to the audio.

[0072] In some embodiments, the image, text image, and spectrogram have the same size.

[0073] In some embodiments, the data processing apparatus 400 further includes a prediction unit configured to process the encoded features of the input video using a large language model to obtain a prediction result corresponding to the input video.

[0074] It should be understood that Figure 4 The various modules or units of the apparatus 400 shown can be connected to the reference. Figure 2 The steps in method 200 described correspond to each other. Therefore, the operations, features, and advantages described above for method 200 also apply to device 400 and its included modules and units. For the sake of brevity, some operations, features, and advantages will not be repeated here.

[0075] Although specific functions have been discussed with reference to specific modules above, it should be noted that the functions of the various units discussed in this article can be divided into multiple units, and / or at least some functions of multiple units can be combined into a single unit.

[0076] It should also be understood that this article can describe various technologies in the general context of software and hardware components or program modules. The above regarding... Figure 4 The described units can be implemented in hardware or in hardware in combination with software and / or firmware. For example, these units can be implemented as computer program code / instructions configured to execute in one or more processors and stored in a computer-readable storage medium. Alternatively, these units can be implemented as hardware logic / circuit. For example, in some embodiments, one or more of units 410 to 430 can be implemented together in a System on Chip (SoC). The SoC may include an integrated circuit chip (which includes a processor (e.g., a Central Processing Unit (CPU), microcontroller, microprocessor, digital signal processor (DSP), etc.), memory, one or more communication interfaces, and / or one or more components of other circuitry) and may optionally execute received program code and / or include embedded firmware to perform functions.

[0077] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0078] According to another aspect of this disclosure, an electronic device is also provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; the memory storing instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform a data processing method according to an embodiment of this disclosure.

[0079] According to another aspect of this disclosure, a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform a data processing method according to an embodiment of this disclosure is also provided.

[0080] According to another aspect of this disclosure, a computer program product is also provided, including a computer program, wherein the computer program, when executed by a processor, implements a data processing method according to an embodiment of this disclosure.

[0081] refer to Figure 5 The present invention describes a structural block diagram of an electronic device 500 that can serve as a server or client of the present disclosure, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0082] like Figure 5 As shown, the electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. The RAM 503 may also store various programs and data required for the operation of the electronic device 500. The computing unit 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0083] Multiple components in electronic device 500 are connected to I / O interface 505, including: input unit 506, output unit 507, storage unit 508, and communication unit 509. Input unit 506 can be any type of device capable of inputting information to electronic device 500. Input unit 506 can receive input digital or character information and generate key signal inputs related to user settings and / or function control of electronic device, and may include, but is not limited to, a mouse, keyboard, touchscreen, trackpad, trackball, joystick, microphone, and / or remote control. Output unit 507 can be any type of device capable of presenting information, and may include, but is not limited to, a monitor, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 508 may include, but is not limited to, disk and optical disk. Communication unit 509 allows electronic device 500 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers, and / or chipsets, such as Bluetooth™ devices, 802.11 devices, WiFi devices, WiMax devices, cellular communication devices, and / or the like.

[0084] The computing unit 501 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 501 performs the various methods and processes described above, such as method 200. For example, in some embodiments, method 200 may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by the computing unit 501, one or more steps of method 200 described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform method 200 by any other suitable means (e.g., by means of firmware).

[0085] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0086] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0087] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0088] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0089] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), the Internet, and blockchain networks.

[0090] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.

[0091] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0092] While embodiments or examples of this disclosure have been described with reference to the accompanying drawings, it should be understood that the methods, systems, and devices described above are merely exemplary embodiments or examples, and the scope of the invention is not limited by these embodiments or examples, but only by the granted claims and their equivalents. Various elements in the embodiments or examples may be omitted or replaced by their equivalents. Furthermore, the steps may be performed in a different order than that described in this disclosure. Further, various elements in the embodiments or examples may be combined in various ways. Importantly, as the technology evolves, many elements described herein can be replaced by equivalents that appear after this disclosure.

Claims

1. A data processing method, comprising: Receive input video; For each frame in the input video Determine the video image to be displayed at that frame time; Determine the text information in the video within a predetermined time range including the frame time; and Determine the audio information in the video within a predetermined time range including the moment of that frame; The image, text, and audio corresponding to the frame are converted into their respective formats to obtain corresponding image representations, text representations, and audio representations, wherein the image representation, text representation, and audio representation are all in image format. The format conversion of at least one of the image, text, and audio corresponding to the frame includes: generating a text image containing the text based on the text content, and extracting the spectrum of the audio to obtain a spectrum diagram corresponding to the audio, wherein the image, the text image, and the spectrum diagram have the same size. The image representation, text representation, and audio representation corresponding to the frame are concatenated in a time-aligned manner to obtain the content representation of the frame; The content representation is encoded using a single visual encoder to obtain the encoded features of the frame; The encoding features of the input video are determined based on the encoding features of multiple frames included in the input video.

2. The data processing method as described in claim 1, further comprising: The encoded features of the input video are processed using a large language model to obtain a prediction result corresponding to the input video.

3. A data processing apparatus, comprising: The receiving unit is configured to receive input video; The encoding unit is configured as follows: For each frame in the input video Determine the video image to be displayed at that frame time; Determine the text information in the video within a predetermined time range including the frame time; and Determine the audio information in the video within a predetermined time range including the moment of that frame; The video image is used as an image representation. A text image containing the text content is generated based on the text content of the text information as a text representation. The spectrum of the audio information is extracted to obtain a spectrum diagram corresponding to the audio information as an audio representation. The image representation, the text representation, and the audio representation are all in image format and have the same size. The image representation, text representation, and audio representation corresponding to the frame are concatenated in a time-aligned manner to obtain the content representation of the frame; The content representation is encoded using a single visual encoder to obtain the encoded features of the frame; The feature determination unit is configured to determine the coding features of the input video based on the coding features of multiple frames included in the input video.

4. The data processing apparatus of claim 3 further includes a prediction unit, the prediction unit being configured to: process the encoded features of the input video using a large language model to obtain a prediction result corresponding to the input video.

5. An electronic device, comprising: At least one processor; as well as A memory that is communicatively connected to the at least one processor; in The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-2.

6. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-2.

7. A computer program product comprising a computer program, wherein, The computer program, when executed by a processor, implements the method of any one of claims 1-2.

Citation Information

Patent Citations

  • Information abstract extraction method in conjunction with cross-media fuse

    CN104679902A

  • Video identification method and device, electronic equipment and computer readable storage medium

    CN117423029A