Audio processing method and device, terminal and storage medium

By obtaining a video collection that matches the audio content and playing it in the display interface, combined with the dynamic publishing interface of social applications and video acquisition controls, the problem of a single playback form of audio content is solved, and the audio content is enriched and the user experience is improved. .

CN118590700APending Publication Date: 2024-09-03TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410627539.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2021-02-25
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In the existing technology, the playback form of audio content is relatively simple, the amount of information is insufficient, and it is unable to effectively enrich the user's audio-visual experience.

Method used

By obtaining a video collection that matches the audio content and playing it in the display interface, combined with the dynamic publishing interface and video acquisition control of the social application, the synchronous playback of audio content and video is realized to enhance the user experience.

Benefits of technology

It enriches the playback format of audio content, improves the user's audio-visual experience in the display interface, meets users' diverse video matching needs, and provides customized video matching services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590700A
    Figure CN118590700A
Patent Text Reader

Abstract

The invention discloses an audio processing method and device, a terminal and a storage medium. The audio processing method comprises the following steps: displaying audio information of audio content to be played in a display interface; a target video set is obtained, the target video set comprises N videos matched with the audio content, and N is a positive integer larger than or equal to 1; in response to the playing trigger operation for the target video set, the video in the target video set is played in the display interface, and the method can be applied to but not limited to a smart phone, a tablet computer, a notebook computer, a desktop computer, a vehicle-mounted device, a smart sound box, a smart watch or a smart wearable device and the like. According to the invention, the playing form of the audio content can be enriched.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the Chinese patent application submitted to the China Patent Office on February 25, 2021, with application number 202110213467.4, and application name “An audio processing method, device, terminal and storage medium”. All contents are incorporated into this application by reference. Technical Field

[0002] The present application relates to the field of computer technology, and in particular to an audio processing method, device, terminal and storage medium. Background Art

[0003] Audio content is closely related to people's daily lives. Audio content can include music, voice and other forms. For example, music is an art form used to express users' emotional needs, and voice is a medium for users to socialize. Users can communicate by sending, receiving, and playing audio content such as voice and music. In the process of communicating based on audio content, the playback form of audio content is relatively simple and the amount of information is not rich enough. In this case, how to enrich the playback form of audio content becomes a problem that needs to be solved. Summary of the invention

[0004] One or more embodiments of the present application provide an audio processing method and an audio processing device, which can enrich the playback form of audio content.

[0005] In one aspect, one or more embodiments of the present application provide an audio processing method, the audio processing method comprising:

[0006] Displaying audio information of the audio content to be played in the display interface;

[0007] Obtain a target video set, where the target video set includes N videos matching the audio content, where N is a positive integer greater than or equal to 1;

[0008] In response to a play trigger operation on a target video set, the videos in the target video set are played in a display interface.

[0009] One or more embodiments of the present application can obtain a video that matches the audio content, and play the video that matches the audio content in a display interface, and can enrich the playback format of the audio content in the display interface.

[0010] On the other hand, one or more embodiments of the present application provide an audio processing method, the audio processing method comprising:

[0011] The audio information of the audio content to be published is displayed in the dynamic publishing interface of the social application; the dynamic publishing interface displays a dynamic publishing control and a video acquisition control;

[0012] In response to a first trigger operation on a video acquisition control, a shared video set is acquired, where the shared video set includes P shared videos matching the audio content, where P is a positive integer greater than or equal to 1;

[0013] In response to a second trigger operation on the dynamic publishing control, the audio content is associated with the shared video set, so that when the audio content is played, the shared video in the shared video set is played simultaneously.

[0014] One or more embodiments of the present application are applied to social application scenarios, and can enrich the publishing form of audio content in the dynamic publishing interface of the social application. When it is detected that the audio content is being played, the shared videos in the shared video collection are played simultaneously, thereby further enriching the playback form of the audio content.

[0015] On the other hand, one or more embodiments of the present application provide an audio processing device, the audio processing device comprising:

[0016] A display unit, used to display audio information of the audio content to be played in a display interface;

[0017] A processing unit, configured to obtain a target video set, where the target video set includes N videos matching the audio content, where N is a positive integer greater than or equal to 1;

[0018] The display unit is also used to play the videos in the target video set in the display interface in response to a play trigger operation on the target video set.

[0019] In one or more embodiments, the processing unit is specifically configured to: acquire a target video set in response to a trigger operation on a video acquisition control; wherein the video acquisition control is displayed in a display interface;

[0020] The display unit is specifically used to: play a target video in a target video set in a video playback area of ​​a display interface; wherein the target video is a video determined based on a default playback order, a video determined based on a random playback mode, or a video determined in response to a first selection operation.

[0021] In one or more embodiments, the display interface is a social dynamics interface of a social application, and the audio information is social dynamics published to the social dynamics interface; the display unit is further used to:

[0022] After the target video is played, other videos in the target video set except the target video are played in the video play area; or,

[0023] In response to the switching operation on the target video, other videos in the target video set except the target video are played in the video playing area; or,

[0024] In response to the second selection operation, the video selected by the second selection operation is played in the video playing area.

[0025] In one or more embodiments, the display interface is a conversation interface of a social application, the audio content is voice, the audio information is a voice message, and the processing unit is further used to:

[0026] Performing type analysis on the speech to obtain the speech type;

[0027] Display unit, also used for:

[0028] If the voice type is music type, a video acquisition control is displayed at a location associated with the voice message.

[0029] In one or more embodiments, the target video set is also matched with the behavior data associated with the target account, the target account is a login account for logging into the social application, and the social application displays a display interface; the processing unit is specifically used to:

[0030] According to the audio tag set corresponding to the audio content, an initial video set is obtained from a video library, where the initial video set includes M videos matching the audio tag set, where M is a positive integer greater than or equal to 1 and M is greater than or equal to N;

[0031] A target video set is determined from an initial video set based on behavioral data associated with the target account.

[0032] In one or more embodiments, the processing unit is specifically configured to:

[0033] Obtain an audio tag set corresponding to the audio content, where the audio tag set includes X audio tags, where X is a positive integer greater than or equal to 1;

[0034] Obtain a to-be-matched video from a video library, and obtain a video tag set of the to-be-matched video, where the video tag set includes Y video tags, where Y is a positive integer greater than or equal to 1;

[0035] Calculate the similarity between the audio content and the video to be matched based on the audio tag set and the video tag set;

[0036] If the similarity is greater than or equal to a predetermined threshold, the video to be matched is recorded in the initial video set.

[0037] In one or more embodiments, the video tag set is determined based on the tag probabilities of the initial tags in the target tag set, the initial tags included in the target tag set refer to all or part of the tags that appear in the S group tag prediction results, the tag probability is calculated based on the sum of all predicted probabilities of the corresponding initial tags, and S is a positive integer greater than or equal to 1;

[0038] In one or more embodiments, the i-th group of label prediction results in the S groups of label prediction results include: multiple labels obtained by predicting the i-th frame image in the S frame images, and the prediction probability of each label, where i is a positive integer less than or equal to S; the S groups of label prediction results are obtained by using a label prediction model to perform label prediction on each frame image in the S frame images respectively; the S frame images are obtained by frame parsing of the video to be matched.

[0039] In one or more embodiments, the audio tag set is extracted based on the association information of the audio information and the audio content, and the association information of the audio information includes: any one of the sharing comment information associated with the audio content and the conversation comment information associated with the audio content, or a combination of the two;

[0040] The video to be matched is obtained from the video library according to the video filtering strategy, and the video filtering strategy includes: any one or more of a quality filtering strategy, a text filtering strategy, a duration filtering strategy and a security filtering strategy.

[0041] In one or more embodiments, the processing unit is specifically configured to:

[0042] Convert X audio tags in the audio tag set into corresponding X audio tag word vectors, and normalize the X audio tag word vectors to obtain a first average word vector;

[0043] Convert Y video tags in the video tag set into corresponding Y video tag word vectors, and normalize the Y video tag word vectors to obtain a second average word vector;

[0044] Based on the inner product of the first average word vector and the second average word vector, the similarity is obtained.

[0045] In one or more embodiments, the processing unit is specifically configured to:

[0046] Convert X audio tags in the audio tag set into corresponding audio tag word vectors to obtain X audio tag word vectors;

[0047] Convert Y video tags in the video tag set into corresponding video tag word vectors to obtain Y video tag word vectors;

[0048] Calculate the inner product between each audio label word vector in the X audio label word vectors and the Y video label word vectors to obtain X×Y inner products between the X audio label word vectors and the Y video label word vectors;

[0049] Based on the average of X×Y inner products, the similarity is obtained.

[0050] On the other hand, one or more embodiments of the present application provide an audio processing device, the audio processing device comprising:

[0051] A display unit, used to display the audio information of the audio content to be published in the dynamic publishing interface of the social application; the dynamic publishing interface displays a dynamic publishing control and a video acquisition control;

[0052] A processing unit, configured to obtain a shared video set in response to a first trigger operation on the video acquisition control, wherein the shared video set includes P shared videos matching the audio content, where P is a positive integer greater than or equal to 1;

[0053] The processing unit is further configured to associate the audio content with the shared video set in response to a second trigger operation on the dynamic publishing control, so as to simultaneously play the shared videos in the shared video set when the audio content is played.

[0054] In one or more embodiments, the display unit is further configured to: display a sharing object list according to the second trigger operation, where the sharing object list includes one or more sharing objects;

[0055] The processing unit is also used to: in response to a selection operation of a target sharing object in the sharing object list, send the audio content, audio information and an updated shared video set to the target sharing object; wherein the updated shared video set is determined from the shared video set based on the behavior data associated with the target sharing object.

[0056] In one or more embodiments, the shared video collection is further matched with the behavior data of the target account, where the target account is a login account for logging into the social application; the processing unit is specifically configured to:

[0057] According to the audio tag set corresponding to the audio content, an original video set is obtained from the video library, where the original video set includes Q shared videos matching the audio tag set, where Q is a positive integer greater than or equal to 1 and Q is greater than or equal to P;

[0058] Based on the behavior data associated with the target account, a shared video set is determined from the original video set.

[0059] Accordingly, one or more embodiments of the present application further provide an intelligent terminal, the intelligent terminal comprising: a memory and a processor;

[0060] The memory is used to store a computer program, and the processor is used to execute the computer program to implement the above-mentioned audio processing method.

[0061] On the other hand, one or more embodiments of the present application provide a computer-readable storage medium, which stores a computer program. When the computer program is read and executed by a processor of a computer device, the above-mentioned audio processing method is implemented.

[0062] Accordingly, one or more embodiments of the present application provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to implement the above-mentioned audio processing method.

[0063] One or more embodiments of the present application can obtain a video that matches the audio content and play the video that matches the audio content, thereby enriching the playback format of the audio content. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are 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.

[0065] Figure 1 is a flowchart of an audio processing method provided by one or more embodiments of the present application;

[0066] Figure 2a is a schematic diagram of a display interface provided by one or more embodiments of the present application;

[0067] Figure 2b is an interface schematic diagram of another display interface provided by one or more embodiments of the present application;

[0068] Figure 2c is an interface schematic diagram of another display interface provided by one or more embodiments of the present application;

[0069] Figure 2d is a schematic diagram of a video switching playback process provided by one or more embodiments of the present application;

[0070] Figure 2e It is a schematic diagram of an interface of a video viewing method provided by one or more embodiments of the present application;

[0071] Figure 3 is a flowchart of another audio processing method provided by one or more embodiments of the present application;

[0072] Figure 4is a flowchart of another audio processing method provided by one or more embodiments of the present application;

[0073] Figure 5 is a flowchart of an audio information and video matching process provided by one or more embodiments of the present application;

[0074] Figure 6 is a flowchart of another audio processing method provided by one or more embodiments of the present application;

[0075] Figure 7a It is a schematic diagram of an interface of a publishing process of an audio content provided by one or more embodiments of the present application;

[0076] Figure 7b is an interface schematic diagram of another audio content publishing process provided by one or more embodiments of the present application;

[0077] Figure 8 is a structural schematic diagram of an audio processing device provided by one or more embodiments of the present application;

[0078] Fig. 9 It is a schematic diagram of the structure of a smart terminal provided by one or more embodiments of the present application. DETAILED DESCRIPTION

[0079] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0080] One or more embodiments of the present application relate to audio content. The audio content involved in one or more embodiments of the present application refers to the general term for all sounds that humans can hear; for example, speaking, singing, musical instrument sounds, noise, etc. all belong to audio content. The audio content mentioned in one or more embodiments of the present application may include types such as music and voice; music can be understood as a kind of art work, for example, music can be pure music played by musical instruments, songs sung by singers, etc.; voice refers to the sound emitted by human vocal organs. When the audio content is music, the audio content is usually displayed in the display interface in the form of audio information, and the audio information here may include but is not limited to at least one of the following: song information (such as singer information, lyricist information, composer information, song type, etc.), lyrics information, album information, audio playback link, etc.; audio content can be played by triggering the audio playback link, and the display form of the music playback link in the display interface may include text form (for example, text form including text such as song name and singer name), picture form (for example, picture form including album cover picture), combination form of text and picture (for example, combination form including song name, singer name and album cover picture, etc.), etc. When the audio content is voice, the audio information here refers to a voice message, that is, the voice is displayed in the display interface in the form of a voice message, and the voice can be played by triggering the voice message.

[0081] Based on this, one or more embodiments of the present application provide an audio processing solution, which can obtain a target video set and play videos in the target video set in a display interface; wherein the target video set includes N videos matching the audio content, and N is a positive integer greater than or equal to 1.

[0082] In one or more embodiments, the user can watch the video in the target video set in the display interface while listening to the audio content being played in the display interface, thereby enriching the playing form of the audio content in the display interface. As a supplement and enhancement to the audio content, the video fully mobilizes the user's audio-visual experience and effectively improves the user's experience of listening to the audio content in the display interface.

[0083] In one or more embodiments, the videos in the target video set are also matched with the behavior data associated with the target account. The target account is a login account for logging into a social application. The social application displays a display interface, that is, the display interface is an interface in the social application, and the social application is an application program running in a smart terminal. For the same audio content, different accounts are associated with different behavior data, so the videos matched to different accounts are also different; for example, for the same audio content, the video that matches the audio information of the audio content and matches the behavior data associated with the first account is the first video, and the video that matches the audio information of the audio content and matches the behavior data associated with the second account is the second video, and the first video and the second video are different; matching with behavior data achieves a "thousands of faces" video matching effect, meets users' diverse video matching needs, provides users with customized video matching services, and makes the audio content matching process more flexible.

[0084] The smart terminal here may include but is not limited to smart phones, tablet computers, laptops, desktop computers, vehicle-mounted devices, smart speakers, smart watches or smart wearable devices, etc. The smart terminal is often equipped with a display device, which may be a display, a display screen, a touch screen, etc. The touch screen may be a touch screen, a touch panel, etc.

[0085] The audio processing solution provided by one or more embodiments of the present application involves artificial intelligence machine learning, computer vision technology, speech technology, natural language processing technology, etc. One or more embodiments of the present application use a neural network model trained by machine learning and computer vision technology to process the video to be matched; use speech technology to process the speech; use natural language processing technology to process the audio information, and finally realize the audio processing solution provided by the embodiment of the present application. Among them:

[0086] Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making. Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level technology and software-level technology. Basic artificial intelligence technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, and mechatronics. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0087] Machine Learning (ML) is a multi-disciplinary subject that involves probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all areas of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and self-learning.

[0088] Computer Vision (CV) is a science that studies how to make machines "see". To put it more specifically, it refers to the use of cameras and computers to replace human eyes to identify, track and measure targets, and further process images so that the computer processes them into images that are more suitable for human observation or transmission to instruments for detection. As a scientific discipline, computer vision studies related theories and technologies, and attempts to establish an artificial intelligence system that can obtain information from images or multi-dimensional data. Computer vision technology usually includes image processing, image recognition, image semantic understanding, image retrieval, OCR (Optical Character Recognition), video processing, video semantic understanding, video content / behavior recognition, three-dimensional object reconstruction, 3D (3-dimension) technology, virtual reality, augmented reality, simultaneous positioning and mapping, and other technologies, as well as common biometric recognition technologies such as face recognition and fingerprint recognition.

[0089] The key technologies of speech technology include automatic speech recognition (ASR), text to speech (TTS) and voiceprint recognition. Enabling computers to listen, see, speak and feel is the future development direction of human-computer interaction, among which speech has become one of the most promising human-computer interaction methods in the future.

[0090] Natural language processing (NLP) is an important direction in the fields of computer science and artificial intelligence. It studies various theories and methods that can achieve effective communication between people and computers using natural language. Natural language processing is a science that integrates linguistics, computer science, and mathematics. Therefore, research in this field will involve natural language, that is, the language people use in daily life, so it is closely related to the study of linguistics. Natural language processing technology usually includes text processing, semantic understanding, machine translation, robot question answering, knowledge graph and other technologies.

[0091] The collection and processing of user-related data in this application should be strictly in accordance with the requirements of relevant national laws and regulations when applied in examples, have a legal basis or obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope of authorization of laws and regulations and / or the personal information subject.

[0092] Based on the above description, see Figure 1 , Figure 1 1 is a flowchart of an audio processing method provided by one or more embodiments of the present application. The audio processing method can be executed by an intelligent terminal. The intelligent terminal can include a smart phone, a tablet computer, a laptop computer, a desktop computer, a vehicle-mounted device, a smart speaker, a smart watch or a smart wearable device and other devices with display functions. The audio processing method can include the following steps S101 to S103:

[0093] S101, displaying audio information of audio content to be played in a display interface. The audio content mentioned in the embodiment of the present application may include but is not limited to music or voice.

[0094] In one or more embodiments, the display interface refers to a social dynamics interface of a social application (for example, QQ Space (a social dynamics interface), Moments (a social dynamics interface), Weibo dynamics page (a social dynamics interface), and other social dynamics interfaces), and the social dynamics interface is used to display social dynamics between two or more users; social dynamics can be used to display the social behavior status of users, for example, social dynamics are articles posted by users, which can be used to display the user's mood status, or social dynamics are articles forwarded by users, which can be used to display the user's social behavior, etc.; the audio content here refers to music, and the audio content is usually displayed in the display interface in the form of audio information, that is, the audio information of the audio content to be played is displayed in the social dynamics interface. The audio information here may refer to social dynamics posted to the social dynamics interface. The so-called social dynamics posted to the social dynamics interface means that the audio information is posted to the social dynamics in the social dynamics interface by any one of multiple (for example, two or more) accounts (or users) participating in the social interaction; the audio information here may include but is not limited to at least one of the following: song information (for example, singer information, lyricist information, composer information, song type, etc.), lyrics information, album information, audio playback link, etc.; the audio can be played by triggering the audio playback link, and the display form of the music playback link in the social dynamics interface may include text form (for example, text form including text such as song name and singer name), picture form (for example, picture form including album cover picture), a combination of text and picture (for example, a combination of song name, singer name and album cover picture, etc.), and the like.

[0095] Figure 2a is a schematic diagram of a display interface provided by one or more embodiments of the present application, such as Figure 2a As shown, the display interface is a social dynamic interface 20 of a social application, in which audio information 201 of audio content to be played is displayed; the audio information 201 refers to a music playback link in the form of a combination of text and pictures, and the music playback link in the form of a combination of text and pictures includes a song name 2013, a singer name 2014, and an album cover picture 2015; the audio content can be played by triggering the music playback link in the form of a combination of text and pictures.

[0096] In one or more embodiments, the display interface refers to a conversation interface of a social application (for example, a chat interface in a social application such as QQ (an instant messaging application), WeChat (an instant messaging application), a live broadcast application (a real-time video playback application), or a short video application (a short video playback application)), and the conversation interface of a social application is used to display conversation content between two or more users (for example, conversation messages, conversation files, conversation pictures, etc.); the audio content here may refer to voice received in the conversation interface, and the audio information displayed in the conversation interface refers to a voice message received in the conversation interface; the voice message may include voice prompt information, and the voice prompt information may include text prompt information (for example, text prompt information including the time length of the voice), and may also include graphic prompt information, and the voice may be played by triggering the voice message.

[0097] Figure 2b is a schematic diagram of another display interface provided by one or more embodiments of the present application, such as Figure 2b As shown, the display interface is the conversation interface 21 of the social application. The received voice message 211 is displayed in the conversation interface 21 of the social application. The voice message 211 includes text prompt information 2111 and graphic prompt information 2112. The text prompt information 2111 indicates that the duration of the voice is 3 seconds. The voice can be played by triggering the voice message 211.

[0098] S102, obtain the target video collection. The display interface displays a video acquisition control associated with the audio information, and the video acquisition control can be displayed in the display interface in the form of a button, a label, etc. The step of obtaining the target video collection is triggered and executed when a trigger operation on the video acquisition control is detected; that is, it can be determined whether a trigger operation on the video acquisition control is detected. If a trigger operation on the video acquisition control is detected, then in response to the trigger operation on the video acquisition control, the step of obtaining the target video collection is triggered and executed, and the video playback area is displayed in the display interface. Figure 2a As shown, a video acquisition control 202 associated with the audio information 201 is displayed in the display interface 20 . If a trigger operation on the video acquisition control 202 is detected, a target video set is acquired and a video playback area 203 is displayed in the display interface 20 .

[0099] In one or more embodiments, the target video set may include N videos that match the audio content obtained from the video library, where N is a positive integer greater than or equal to 1. The video library mentioned in the embodiment of the present application may include videos published by multiple social video service accounts (such as public accounts, video accounts, etc.) in social applications. In one or more embodiments, the videos in the target video set are also matched with the behavior data of the target account, the target account is a login account for logging into the social application, and the display interface is an interface in the social application, that is, the target video set includes N videos that match the audio content and match the behavior data of the target account. Among them, the behavior data associated with the target account refers to data used to indicate the target account's access rules to social applications. For example, the behavior data associated with the target account may include but is not limited to at least one of the following: the number of visits of the target account to each social video service account in one or more social video service accounts visited by the target account; or the number of visits of the target account to each type of video in one or more types of videos visited by the target account, and so on. Acquiring the target video set may include: acquiring an initial video set from a video library according to an audio tag set corresponding to the audio content, the initial video set including M videos matching the audio tag set, where M is a positive integer greater than or equal to 1 and M is greater than or equal to N; determining a target video set from the initial video set according to the behavior data associated with the target account; it should be noted that the specific execution process of acquiring the target video set can be found in Figure 3 Description of step S302 to step S303 in the illustrated embodiment.

[0100] After the video playback area is displayed in the display interface, the videos in the target video set can also be displayed in the video playback area. In one or more embodiments, displaying the videos in the target video set in the video playback area may refer to: displaying the video screen of the target video in the video playback area, the target video may include one or more frame images, and the video screen of the target video may refer to any frame image of the target video. The target video may be a video determined from the target video set based on a default playback order or a random playback mode; the so-called default playback order refers to playing in the order of arrangement of the N videos in the target video set, that is, the target video is a video determined from the target video set in the order of arrangement of the N videos in the target video set, for example, the target video may be the video ranked first in the target video set; the so-called random playback mode refers to randomly sorting the N videos in the target video set and playing them in the order of arrangement after random sorting, that is, the target video is a video determined from the target video set in the order of arrangement after random sorting, for example, the target video may be a video ranked first in the target video set after random sorting of the N videos in the target video set; Figure 2aAs shown, a video screen 2031 of a target video is displayed in the video play area 203. In one or more embodiments, displaying videos in the target video set in the video play area means: displaying a video list in the video play area, the video list including video information of all or part of the videos in the target video set, and the video information may include video screens and video titles. Figure 2c is a schematic diagram of another display interface provided by one or more embodiments of the present application, such as Figure 2c As shown, a video list 204 is displayed in the video play area 203, and the video list 204 includes video information 2041 of video 1 in the target video set and video information 2042 of video 2 in the target video set. The video information 2041 of video 1 includes the video screen of video 1 and the title of video 1 (such as Figure 2c The video information 2042 of video 2 includes the video picture of video 2 and the title of video 2 (such as "Video 1" in FIG. 1 ). Figure 2c in "Video 2").

[0101] S103, in response to a play trigger operation for the target video set, play the videos in the target video set in the display interface. In response to a play trigger operation for the target video set, play the target video in the target video set in the display interface. The target video is a video determined based on a default play order, a video determined based on a random play mode, or a video determined in response to a first selection operation, and the first selection operation refers to an operation of selecting video information of the target video from a video list.

[0102] In one or more embodiments, the play triggering operation for the target video set may include any of the following:

[0103] (1) Operation of selecting a video acquisition control. The playback trigger operation for the target video set refers to: selecting a video acquisition control; that is, selecting a video acquisition control, determining that a trigger operation on the video acquisition control is detected, displaying a video playback area in the display interface, and playing the target video in the video playback area when the video playback area is displayed in the display interface. In this way, selecting a video acquisition control triggers the playback of the target video in the video playback area, making it faster to execute the playback trigger operation on the target video.

[0104] (2) Operation of selecting a video playback control in the video playback area. The playback trigger operation for the target video set refers to: the operation of selecting a video playback control in the video playback area. The video playback control can be displayed in the video playback area in the form of a button, a label, etc.; Figure 2aAs shown, the video screen 2031 of the target video and the video play control 2032 are displayed in the video play area 203. The video play control 2032 is selected to play the target video in the video play area 203. In this way, the target video can be played or not played through the video screen of the target video, which is more in line with the user's video play habits.

[0105] (3) The first selection operation (i.e., the operation of selecting the video information of the target video in the video list). The play trigger operation for the target video set refers to: the operation of selecting the video information of the target video in the video list; Figure 2c As shown, a video list 204 is displayed in the video play area 203, and the video list 204 includes video information 2041 of video 1 in the target video set and video information 2042 of video 2 in the target video set. The video information 2041 of video 1 is selected, and the target video is video 1, and the target video is played in the video play area 203. In this way, a video can be selected in the video list for playing, which is more in line with the user's video playing habits.

[0106] In one or more embodiments, when the audio content is voice, the display interface refers to the conversation interface, and the audio information refers to the voice message received by the conversation interface, that is, the voice message is displayed in the conversation interface. Before executing step S102, the voice message can be analyzed according to the voice features of the received voice (such as time domain features, frequency domain features, text content corresponding to the voice, and other features) to obtain the voice type; if the voice type is a music type, a video acquisition control is displayed at the associated position of the voice message; if a trigger operation on the video acquisition control is detected, step S102 is triggered, that is, the step of acquiring the target video set is triggered, and the video playback area is displayed in the display interface; in response to the playback trigger operation for the target video set, the target video in the target video set is played in the display interface. Responding to the playback trigger operation for the target video set may include at least one of the following: an operation of selecting a video acquisition control, an operation of selecting a video playback control in the video playback area, or an operation of selecting the video information of the target video in the video list. Figure 2b As shown, if the voice type is music type, a video acquisition control 212 is displayed at the associated position of the voice message 211; if a trigger operation on the video acquisition control 212 is detected, a video play area 213 is displayed in the conversation interface 21, and a video screen 2131 of the target video is displayed in the video play area 213; a video play control 2132 is also displayed in the video play area, and the video play control 2132 is selected to play the target video in the video play area 213. It can be seen that one or more embodiments of the present application support video matching for music type voice.

[0107] In one or more embodiments, the video played in the video play area supports switching. When the target video is played in the video play area, other videos in the target video set except the target video are played in the video play area to achieve switching playback of the target video. Alternatively, in response to a switching operation on the target video, other videos in the target video set except the target video are played in the video play area to achieve switching playback of the target video; the switching operation on the target video may, for example, refer to performing a left-right sliding operation or a up-down sliding operation in the video play area. Alternatively, in response to a second selection operation, the video selected by the second selection operation is played in the video playback area to achieve switching playback of the target video; a video list control is displayed in the video playback area, and the video list control can be displayed in the video playback area in the form of a button, a label, etc., and the second selection operation refers to the operation of selecting any video in the video list triggered by the selected video list control to play; specifically, a video list control is displayed in the video playback area, and if the video list control is selected, the video list is displayed in the video playback area, and the video list includes video information of all or part of the videos in the target video set, and the video information may include video pictures and video titles; if the video information of any video in the video list is selected, the selected video is played in the video playback area.

[0108] Figure 2d is a schematic diagram of a video switching playback process provided by one or more embodiments of the present application, such as Figure 2d As shown, the video play area 203 includes a video list control 2033. If the video list control 2033 is selected, a video list 204 is displayed in the video play area. The video list 204 includes video information 2041 of the target video set, video information 2042 of the target video set, and video information 2043 of the target video set. The video information 2042 of the video 2 is selected, and the selected video 2 is played in the video play area 203. It can be seen that there are multiple ways to switch and play videos in the video play area. The user can select any one or more ways to switch the videos in the video play area to meet the user's video switching needs and further improve the user experience.

[0109] In one or more embodiments, the video playback area also displays a video viewing control, through which the video played in the video playback area can be further viewed, and the video viewing control can be displayed in the video playback area in the form of a button, a label, etc. Specifically, if the target video is posted by the target social video service account, then during the process of playing the target video in the video playback area, when a trigger operation on the video viewing control is detected, the video viewing interface of the social application is displayed, and the video viewing interface displays videos related to the target video; the videos related to the target video may include one or more videos of the same type as the target video, or other videos posted by the target social video service account, etc. For example, if the type of the target video is a funny video, then the video viewing interface includes one or more funny videos.

[0110] Another example: Figure 2e is a schematic diagram of an interface of a video viewing method provided by one or more embodiments of the present application. In one or more embodiments, Figure 2e As shown, the target video is played in the video play area 203 of the social dynamic interface 20, and a video viewing control 2034 is displayed in the video play area. If the video viewing control 2034 is selected, the social viewing interface 22 of the social application is displayed, and the social viewing interface 22 displays 3 videos related to the target video posted by the target social video service account. In this way, the user's video acquisition channels are expanded, the number of videos that the user can view is increased, and the user's video reach boundary is expanded.

[0111] In one or more embodiments, when the audio content is music, a target video set that matches the audio content and the user behavior data of the target account can be obtained, and the videos in the target video set can be played on the display interface; when the audio content is music-type speech, a target video set that matches the audio content and the user behavior data of the target account can be obtained, and the videos in the target video set can be played on the display interface; the richness of playing music or speech in the display interface is effectively improved. In addition, the embodiments of the present application have multiple ways to switch videos in the video playback area, and the user can choose any one or more ways to switch the videos in the video playback area to meet the user's video switching needs and further improve the user experience.

[0112] See also Figure 3 , Figure 31 is a flowchart of another audio processing method provided by one or more embodiments of the present application. The audio processing method can be executed by an intelligent terminal. The intelligent terminal can include a smart phone, a tablet computer, a laptop computer, a vehicle-mounted device, a desktop computer, a smart speaker, a smart watch or a smart wearable device and other devices with display functions. The audio processing method can include the following steps S301 to S304:

[0113] S301: Displaying audio information of audio content to be played on a display interface.

[0114] The execution process of step S301 in one or more embodiments of the present application is similar to Figure 1 The execution process of step S101 in one or more embodiments shown is the same, see Figure 1 The detailed description of the illustrated embodiment will not be repeated here.

[0115] S302, according to the audio tag set corresponding to the audio content, obtain an initial video set from the video library. According to the audio tag set corresponding to the audio content, the process of obtaining the initial video set from the video library may include: obtaining the audio tag set corresponding to the audio content, the audio tag set includes X audio tags, X is a positive integer greater than or equal to 1. Obtain the video to be matched from the video library, and obtain the video tag set of the video to be matched. The video tag set includes Y video tags, Y is a positive integer greater than or equal to 1; according to the audio tag set and the video tag set, calculate the similarity between the audio content and the video to be matched. If the similarity is greater than or equal to a predetermined threshold, the video to be matched is recorded in the initial video set. The specific execution process of step S302 in the embodiment of the present application can be found in Figure 4 Description of steps S404 to S407 in the illustrated embodiment.

[0116] In one or more embodiments, the similarity can be used to indicate the degree of match between the audio content and the video to be matched. If the similarity is greater than or equal to a predetermined threshold, it means that the video to be matched matches the audio content, and the video to be matched can be recorded in the initial video set. If the similarity is less than a predetermined threshold, it means that the video to be matched does not match the audio information. The predetermined threshold can be a value set based on an empirical value.

[0117] S303: Determine a target video set from the initial video set according to the behavior data associated with the target account.

[0118] In one or more embodiments, the target account is a login account for logging into a social application, and the behavior data associated with the target account refers to data used to indicate the target account's access pattern to the social application. For example, the behavior data associated with the target account may include, but is not limited to, at least one of the following: the number of times the target account has visited each social video service account among one or more social video service accounts visited by the target account; or the number of times the target account has visited each type of video among one or more types of videos visited by the target account, etc.

[0119] In one or more embodiments, the target video set can be determined from the initial video set based on the behavioral data associated with the target account. Specifically, the initial video set can be sorted according to the number of visits of the target account to each social video service account to obtain the target video set. In one or more embodiments, the initial video set can be sorted according to the number of visits of the target account to each type of video to obtain the target video set. In one or more embodiments, the videos in the initial video set can be screened according to the number of visits of the target account to each social video service account to obtain the target video set. Alternatively, the videos in the initial video set can be screened according to the number of visits of the target account to each type of video to obtain the target video set. For example, the initial video set obtained includes video 1 and video 2, and the arrangement order of video 1 and video 2 in the initial video set is video 1 before video 2; video 1 is released by social video service account 1, and video 2 is released by social video service account 2; the behavior data associated with the target account includes the number of visits of the target account to social video service account 1 and the number of visits of the target account to social video service account 2. If the number of visits of the target account to social video service account 2 is higher than the number of visits of the target account to social video service account 1, then in the target video set determined from the initial video set, video 2 is arranged before video 1.

[0120] In one or more embodiments, the initial video set includes videos of the first type and videos of the second type, and the behavior data associated with the target account includes the number of visits to the first type of videos by the target account and the number of visits to the second type of videos by the target account. If the number of visits to the first type of videos by the target account is much higher than the number of visits to the second type of videos by the target account, the second type of videos can be deleted from the initial video set, thereby determining that the target video set obtained includes videos of the first type. In this way, for different accounts, the videos contained in the target video set obtained are different, which meets the diverse video matching needs of users and provides users with customized video matching services.

[0121] S304: In response to a play triggering operation on the target video set, the videos in the target video set are played in the display interface.

[0122] The execution process of step S304 in one or more embodiments of the present application is similar to Figure 1 The execution process of step S103 in one or more embodiments shown is the same, see Figure 1 The detailed description of one or more embodiments shown will not be repeated here.

[0123] In one or more embodiments, a target video set can be determined from an initial video set based on behavioral data associated with the target account. The videos in the target video set match the audio content and the behavioral data associated with the target account. For different accounts, the videos included in the target video set ultimately determined are different, thereby meeting users' diverse video matching needs and making the audio content and video matching process more targeted and flexible.

[0124] See also Figure 4 , Figure 4 1 is a flowchart of another audio processing method provided by one or more embodiments of the present application. The audio processing method can be executed by an intelligent terminal. The intelligent terminal can include a smart phone, a tablet computer, a laptop computer, a vehicle-mounted device, a desktop computer, a smart speaker, a smart watch or a smart wearable device, etc., which has a display function. The audio processing method can include the following steps S401 to S407:

[0125] S401: Displaying audio information of audio content to be played on a display interface.

[0126] The execution process of step S401 in one or more embodiments of the present application is similar to Figure 1 The execution process of step S103 in one or more embodiments shown is the same, see Figure 1 The detailed description of one or more embodiments shown will not be repeated here.

[0127] In one or more embodiments, it can be determined whether the display interface is a conversation interface. If the display interface is a conversation interface of a social application, the audio is voice and the audio information is a voice message. In this case, step S402 is executed, i.e., the step of performing type analysis on the voice to obtain the voice type. If the display interface is not a conversation interface of a social application, for example, the display interface is a social dynamic interface of a social application, and the audio information is a social dynamic posted to the social dynamic interface, and a video acquisition control is displayed in the display interface, step S404 can be directly executed, i.e., the step of directly executing the step of obtaining the audio tag set corresponding to the audio content in response to the trigger operation on the video acquisition control.

[0128] S402, performing type analysis on the speech to obtain the speech type.

[0129] S403: If the voice type is music type, display a video acquisition control at a location associated with the voice message.

[0130] In one or more embodiments of the present application, the execution process of step S402 and step S403 can be found in Figure 1 A related description of one or more embodiments is shown.

[0131] S404, in response to the trigger operation for the video acquisition control, obtain the audio tag set corresponding to the audio content. The audio tag set corresponding to the audio content can be obtained at any time before the start of acquiring the target video set. The audio tag set corresponding to the audio content can be calculated based on the audio information and the associated information of the audio content when it is detected that a matching video needs to be determined for the audio content corresponding to the audio information, or the audio tag set has been analyzed and determined for the audio content corresponding to the audio information and preset, so the preset audio tag set can be directly obtained in step S404. For example, the audio content corresponding to the audio information is a song, and the song has been preset with an audio tag set.

[0132] In one or more embodiments, in the case where the audio tag set of the audio information is calculated based on the audio information and the associated information of the audio content, the audio tag set corresponding to the audio content may be extracted from the audio information and the associated information of the audio content. In one or more embodiments, the audio tag extraction model is used to extract the audio tag set from the audio information and the associated information of the audio content. The associated information of the audio content may include the shared comment information associated with the audio content (e.g. Figure 2a The social dynamic interface 20 shown in FIG. 20 may include a sharing comment message 2012 associated with the audio content, or a conversation comment message associated with the audio content (eg, Figure 2bThe audio tag extraction model uses the TF-IDF (Term Frequency Inverse Document Frequency) algorithm to extract audio tags; TF (Term Frequency) is used to indicate the frequency of an entry in a document set or corpus, and IDF (Inverse Document Frequency) is a measure of the general importance of an entry in a document set or corpus. TF-IDF is a commonly used weighting technique for information retrieval and text mining. It is a statistical method for evaluating the importance of an entry to a document set or one of the documents in a corpus. The importance of an entry increases in direct proportion to the number of times it appears in a document, but at the same time decreases in inverse proportion to the frequency of its appearance in a document set or corpus. Various forms of TF-IDF weighting are often used by search engines as a measure or rating of the relevance between a document and a user query. That is to say, each audio tag in the audio tag set extracted by the embodiment of the present application needs to appear frequently in the associated information of the audio information and the audio content, that is, the TF is high, and appear frequently in the audio information of other audio content (that is, other audio content other than the audio content mentioned in the embodiment of the present application) and the associated information of other audio content, that is, the IDF is low. Then, each audio tag in the audio tag set has better distinguishing ability and can effectively improve the accuracy of matching audio content with video.

[0133] S405, obtaining the to-be-matched video from the video library, and obtaining the video tag set of the to-be-matched video. Similarly, the video tag set of one or more to-be-matched videos may be pre-set, or may be calculated and determined from a plurality of suitable to-be-matched videos screened from the video library when the target video set needs to be obtained.

[0134] The video library mentioned in one or more embodiments of the present application may include videos published by multiple social video service accounts (such as public accounts, video accounts, etc.) in social applications.

[0135] In one or more embodiments, in order to avoid uneven videos and uneven quality in the video library, before obtaining the to-be-matched videos from the video library, it is necessary to filter the videos in the video library according to the video filtering strategy, that is, the to-be-matched videos are obtained from the video library according to the video filtering strategy, and the video filtering strategy may include at least one of the following: (1) Quality filtering strategy. The so-called quality filtering strategy refers to selecting videos with a large number of views, a high support rate (for example, a large number of comments, a large number of likes, etc.), and a good quality (for example, a high video picture clarity), and filtering ordinary long-tail videos; the so-called ordinary long-tail videos refer to videos with a small number of views, a low support rate (for example, a small number of comments, a small number of likes, etc.), and a poor quality (for example, a video picture with severe shaking, a low video picture clarity, etc.). (2) Text filtering strategy. The so-called text filtering strategy refers to performing frame-granular text detection on the video, that is, performing text detection on each frame image contained in the video one by one, selecting videos containing less text or no text, and filtering videos containing a large amount of text. (3) Security filtering strategy. The so-called safety filtering strategy refers to selecting safe videos and filtering unsafe videos; the so-called safe videos refer to videos expressing positive themes; the so-called unsafe videos refer to videos expressing negative themes, videos involving illegal content, or videos that violate moral norms, etc. (4) Duration filtering strategy. The so-called duration filtering strategy refers to selecting videos with moderate duration (for example, the duration is generally 15 seconds to 20 seconds) and filtering videos that are too long or too short. By filtering the videos in the video library, it can be ensured that the videos participating in the matching process are all high-quality videos, effectively improving the visual presentation effect of the video.

[0136] In one or more embodiments, the video to be matched is any video in the filtered video library, and the video tag set includes Y video tags, where Y is a positive integer greater than or equal to 1; in the case where the video tag set of the video to be matched is calculated based on the video to be matched, the video tag set of the video to be matched can be extracted from the video to be matched, and the process of extracting the video tag set from the video to be matched can include: frame parsing of the video to be matched to obtain S frame images, where S is a positive integer greater than or equal to 1; using a tag prediction model to perform tag prediction on each of the S frame images to obtain S groups of tag prediction results; wherein the i-th group of tag prediction results in the S groups of tag prediction results includes: multiple tags predicted for the i-th frame image in the S frame images, and the prediction probability of each tag, where i is a positive integer less than or equal to S, and the i-th group of tag prediction results is obtained by performing tag prediction on the i-th frame image. Furthermore, the label probability of each initial label in the target label set can be calculated based on the S group label prediction results; the initial labels included in the target label set refer to all labels or part of the labels that appear in the S group label prediction results, and the label probability is calculated based on the sum of all predicted probabilities of the corresponding initial labels; the video label set is determined based on the label probability of each initial label.

[0137] In one or more embodiments, the initial labels included in the target label set may refer to all labels appearing in the S group label prediction results; it can be understood that the number of occurrences of all labels appearing in the S group label prediction results is counted; if a label appears once in the S group label prediction results, then the label probability of the label as the initial label in the target label set is equal to the predicted probability of the label; if a label appears multiple times (for example, twice or more) in the S group label prediction results, then the label probability of the label as the initial label in the target label set is calculated based on the sum of all predicted probabilities of the label, for example, the label probability of the initial label is the sum of all predicted probabilities of the label, or the label probability of the initial label is the average of all predicted probabilities of the label.

[0138] For example, the label prediction model is used to predict labels for each of the two frame images of the video to be matched, and two groups of label prediction results are obtained; the first group of label prediction results includes label 1 and the predicted probability of label 1, label 2 and the predicted probability of label 2; the second group of label prediction results includes label 2 and the predicted probability of label 2, label 3 and the predicted probability of label 3; if label 1 appears once, the label probability of label 1 as the initial label 1 in the target label set is equal to the predicted probability of label 1; if label 2 appears twice, the label probability of label 2 as the initial label 2 in the target label set is equal to the sum of the predicted probabilities of the two labels 2, or equal to the average of the predicted probabilities of the two labels 2; if label 3 appears once, the label probability of label 3 as the initial label 3 in the target label set is equal to the predicted probability of label 3. In this way, the initial labels in the target set labels have a wider coverage, which can ensure that the initial labels in the target set labels are more extensive.

[0139] In one or more embodiments, the initial labels included in the target label set may refer to some labels that appear in the S group label prediction results; it can be understood that after counting the number of occurrences of all labels that appear in the S group label prediction results, the labels whose number of occurrences is lower than the number threshold are filtered, and the number threshold can be set according to an empirical value; the label probability of the filtered label as the initial label in the target label set is calculated based on the sum of all predicted probabilities of the label, for example, the label probability of the initial label is the sum of all predicted probabilities of the label, or the label probability of the initial label is the average of all predicted probabilities of the label.

[0140] For example, the label prediction model is used to predict labels for each of the three frames of the video to be matched, and three groups of label prediction results are obtained; the first group of label prediction results includes label 1 and the predicted probability of label 1, label 2 and the predicted probability of label 2; the second group of label prediction results includes label 2 and the predicted probability of label 2, label 3 and the predicted probability of label 3; the third group of label prediction results includes label 2 and the predicted probability of label 2, label 1 and the predicted probability of label 1; label 1 appears twice, label 2 appears three times, and label 3 appears once. If the number threshold is set to 2 times, label 3 will be filtered; the target label set includes label 1 and label 2, label 1 appears twice, then the label probability of label 1 as the initial label 1 in the target label set is equal to the sum of the predicted probabilities of the two labels 1, or equal to the average of the predicted probabilities of the two labels 1; label 2 appears three times, then the label probability of label 2 as the initial label 2 in the target label set is equal to the sum of the predicted probabilities of the three labels 2, or equal to the average of the predicted probabilities of the three labels 2. In this way, the initial labels in the target set labels are more targeted and representative, and the initial labels in the target label set can be guaranteed to be more in-depth.

[0141] In one or more embodiments, the video tag set is determined based on the tag probabilities of each initial tag in the target video set. In one or more embodiments, the target tag set is the video tag set, that is, all initial tags in the target tag set are determined as video tags in the video tag set. In one or more embodiments, the initial tags can be further filtered based on the tag probabilities of each initial tag, specifically, the initial tags whose tag probabilities are lower than the probability threshold are filtered, and the initial tags obtained by filtering are used as video tags in the video tag set. In this way, the video tags in the video set tags are more targeted and representative, which can ensure that the video tags in the video tag set are more in-depth.

[0142] In one or more embodiments, the label prediction model is a convolutional neural network model trained using an image database, and the image database may include multiple training images and multiple labels corresponding to each training image (for example, 7 or 8 labels corresponding to each training image). Convolutional Neural Networks (CNN) is one of the research hotspots in many scientific fields, especially in the field of pattern classification. Since CNN avoids complex pre-processing of images, it can directly input the original image, and thus has been more widely used. The convolutional neural network used in this application may specifically refer to Inception V3 (a third version of a convolutional neural network); the loss function used may specifically be a cross entropy loss function (Cross Entropy Loss), which can be used to measure the similarity between the predicted probability distribution and the true probability distribution. The core idea of ​​the Inception network is to replace a larger convolutional layer with a parallel structure or a series structure between multiple smaller convolutional layers, thereby reducing the number of model parameters when training the Inception network. It should be noted that the label prediction model can be continuously trained and updated in the process of predicting videos in the video library, and the images and labels in the image database can also be updated to meet the video acquisition needs in different periods and to a certain extent improve the accuracy of matching audio information with video.

[0143] S406: Calculate the similarity between the audio content and the video to be matched based on the audio tag set and the video tag set.

[0144] Figure 5 is a flowchart of an audio information and video matching process provided by one or more embodiments of the present application, such as Figure 5As shown in the figure, the X audio tags in the audio tag set are converted into corresponding X audio tag word vectors; the Y video tags in the video tag set are converted into corresponding Y video tag word vectors; similarity is calculated based on the X audio tag word vectors and the Y video tag word vectors. The so-called word embedding refers to the mathematical embedding from the one-dimensional space of each word to a continuous vector space with a lower dimension.

[0145] In one or more embodiments, according to the X audio tag word vectors and the Y video tag word vectors, calculating the similarity may include: normalizing the X audio tag word vectors to obtain a first average word vector; normalizing the Y video tag word vectors to obtain a second average word vector; and obtaining the similarity based on the inner product of the first average word vector and the second average word vector. In another embodiment, according to the X audio tag word vectors and the Y video tag word vectors, calculating the similarity may also include: calculating the inner product between each audio tag word vector in the X audio tag word vectors and the Y video tag word vectors to obtain X×Y inner products between the X audio tag word vectors and the Y video tag word vectors; and obtaining the similarity based on the average of the X×Y inner products.

[0146] S407, if the similarity is greater than or equal to a predetermined threshold, the video to be matched is recorded in the initial video set. The similarity can be used to indicate the degree of matching between the audio content and the video to be matched. If the similarity value is greater than or equal to the predetermined threshold, it means that the video to be matched matches the audio content, and the video to be matched can be recorded in the initial video set. If the similarity value is less than the predetermined threshold, it means that the video to be matched does not match the audio information. The predetermined threshold can be a value set according to an empirical value.

[0147] S408, determining a target video set from the initial video set according to the behavior data associated with the target account.

[0148] The execution process of step S406 in one or more embodiments of the present application is similar to Figure 3 The execution process of step S303 in one or more embodiments shown is the same, see Figure 3 The detailed description of one or more embodiments shown will not be repeated here.

[0149] S409: In response to the play triggering operation on the target video set, the target video in the target video set is played in the video play area of ​​the display interface.

[0150] After step S409, the target video can be switched to play in three ways: after the target video is played, other videos in the target video set except the target video are played in the video play area; or, in response to the switching operation on the target video, other videos in the target video set except the target video are played in the video play area; or, in response to the second selection operation, the video selected by the second selection operation is played in the video play area. For details of the three ways to switch the target video, please refer to Figure 1 The description of step S103 in one or more embodiments is shown.

[0151] In one or more embodiments, after step S409, after the target video is played, step S410 may be executed to play the first video in the target video set that is arranged after the target video in the video play area. Alternatively, after step S409, in response to a video switching operation, step S411 may be executed to play the video to which the video switching operation switches in the video player, for example, the video switching operation refers to the operation of sliding right twice in the video play area, sliding right once, the video switched to is the first video in the target video set that is arranged after the target video, sliding right twice, the video switched to is the second video in the target video set that is arranged after the target video, that is, if the video switching operation refers to the operation of sliding right twice in the video play area, then the video switched to by the video switching operation refers to the second video in the target video set that is arranged after the target video. Alternatively, after step S409, in response to a second selection operation, the second selection operation refers to the operation of selecting any video in the video list triggered by the selected video list control to play, step S412 may be executed to play the video selected in the video list in the video play area.

[0152] In one or more embodiments of the present application, the matching process between the audio content and the video to be matched is introduced by taking the video to be matched in the video library as an example, extracting an audio tag set from the associated information of the audio information and the audio content, obtaining the video to be matched from the video library, and extracting a video tag set from the video to be matched. In one or more embodiments, the similarity between the audio content and the video to be matched is calculated based on the audio tag set and the video tag set. If the similarity is greater than or equal to a predetermined threshold, the video to be matched is added to the initial video set. In the matching process between the audio information and the video to be matched, the videos in the video library are filtered according to the video filtering strategy, which can ensure that the videos participating in the matching process are all high-quality videos, effectively improving the visual presentation effect of the video; the TF-IDF algorithm is used to extract the audio tag set from the associated information of the audio information and the audio content, so that each audio tag in the audio tag set has a good ability to distinguish, which can effectively improve the accuracy of matching the audio information with the video to be matched. In one or more embodiments, by screening the labels in the S group label prediction results, the video labels in the video set labels are made more targeted and representative, which can ensure that the video labels in the video label set are more in-depth, and further improve the accuracy of matching the audio information with the video to be matched.

[0153] See also Figure 6 , Figure 6 : is a flowchart of another audio processing method provided by one or more embodiments of the present application. The audio processing method can be executed by an intelligent terminal. The intelligent terminal can include a smart phone, a tablet computer, a laptop computer, a desktop computer, a vehicle-mounted device, a smart speaker, a smart watch or a smart wearable device and other devices with a display function. The audio processing method can include the following steps S601 to S603:

[0154] S601: Displaying audio information of audio content to be published in a dynamic publishing interface of a social application.

[0155] In one or more embodiments, the dynamic publishing interface of the social application is used to publish social dynamics, and the published social dynamics can be displayed in the social dynamics interface. The dynamic publishing interface of the social application is displayed, and the audio information of the audio content to be published is displayed in the dynamic publishing interface. The audio content here refers to shared music, and the audio information here may include but is not limited to at least one of the following: song information (such as singer information, lyricist information, composer information, song type, etc.), lyrics information, album information, audio playback link, etc.; the audio content can be played by triggering the audio playback link, and the display form of the music playback link in the dynamic publishing interface may include text form (such as text form including song name and singer name, etc.), picture form (such as picture form including album cover picture), text and picture combination form (such as song name, singer name and album cover picture, etc.) and the like. Figure 7a It is an interface diagram of an audio content publishing process provided in an embodiment of the present application. The dynamic publishing interface 70 displays audio information 701 of the audio content to be published. The audio information 701 of the audio content includes an audio playback link in the form of a combination of text and pictures (for example, including a song name, a singer's name, and an album cover picture, etc.). The audio content can be played by triggering the audio playback link in the form of a combination of text and pictures.

[0156] S602: In response to a first trigger operation on a video acquisition control, a shared video set is acquired.

[0157] In one or more embodiments, a video acquisition control is displayed in the dynamic publishing interface. The video acquisition control can be displayed in the dynamic publishing interface in the form of a button, a label, etc. The step of acquiring a shared video collection is triggered when a first trigger operation for the video acquisition control is detected. The first trigger operation may refer to an operation of selecting the video acquisition control; that is, it can be determined whether the first trigger operation for the video acquisition control is detected. If the first trigger operation for the video acquisition control is detected, the step of acquiring a shared video collection is triggered in response to the first trigger operation for the video acquisition control, and the video playback area is displayed in the dynamic publishing interface. Figure 7a As shown, a video acquisition control 702 is displayed in the dynamic publishing interface 70 . If a trigger operation on the video acquisition control 702 is detected, a video playback area 703 is displayed in the dynamic publishing interface 70 .

[0158] In one or more embodiments, the shared video set may include P shared videos that match the audio information of the audio content, where P is a positive integer greater than or equal to 1. The shared videos in the shared video set may also match the behavioral data associated with the target account, where the target account is a social account used to log into the social application, that is, the shared video set may include P shared videos that match the audio content and the behavioral data associated with the target account. At this time, the process of obtaining the shared video set may include: obtaining the original video set from the video library according to the audio tag set corresponding to the audio content, the original video set including Q shared videos that match the audio tag set, where Q is a positive integer greater than or equal to 1 and Q is greater than or equal to P; determining the shared video set from the original video set according to the behavioral data associated with the target account. The execution process of obtaining the shared video set here is similar to the execution process of obtaining the target video set, and can be found in Figure 3 or Figure 4 The following is a description of obtaining a target video set in the illustrated embodiment.

[0159] In one or more embodiments, after the video play area is displayed in the dynamic publishing interface, the shared videos in the shared video collection may also be displayed in the video play area. Displaying the shared videos in the shared video collection in the video play area means: displaying a shared video list in the video play area, the shared video list including video information of all or part of the shared videos in the shared video collection, and the video information may include video pictures and video titles. Figure 7a As shown, a shared video list 704 is displayed in the video play area 703, and the shared video list 704 includes video information 7041 of a shared video 1 in the shared video set and video information 7042 of a shared video 2 in the shared video set. The video information 7041 of the shared video 1 includes the video screen of the shared video 1 and the title of the shared video 1 (such as Figure 7a The video information 7042 of shared video 2 includes the video picture of shared video 2 and the title of shared video 2 (such as "shared video 1" in FIG. 1 ). Figure 7a "Shared Video 2" in the video).

[0160] S603: In response to a second trigger operation on the dynamic publishing control, the audio content is associated with the shared video set, so that the shared video in the shared video set is played simultaneously when the audio content is played.

[0161] In one or more embodiments, a dynamic publishing control is also displayed in the dynamic publishing interface, and the dynamic publishing control is used to publish social dynamics. The dynamic publishing control can be displayed in the dynamic publishing interface in the form of a button, a label, etc. When a second trigger operation for the dynamic publishing control is detected, in response to the second trigger operation for the dynamic publishing control, the audio content and the shared video set are associated, and the audio content and the shared video in the shared video set are published to the social dynamics interface, so that when the audio content is detected to be played in the social dynamics interface, the shared video in the shared video set is played at the same time. The second trigger operation may refer to the operation of selecting the dynamic publishing control.

[0162] In one or more embodiments, when a trigger operation for a dynamic publishing control is detected, in response to the detected trigger operation for the dynamic publishing control, the audio content is associated with the shared video set, and the audio content and all shared videos in the shared video set are published to the social dynamic interface. In one or more embodiments, a target shared video can be selected in the shared video list, and the target shared video is any one in the shared video list; when a second trigger operation for a dynamic publishing control is detected, in response to the second trigger operation for the dynamic publishing control, the audio content is associated with the shared video set, and the audio content and the selected target shared video are published to the social dynamic interface.

[0163] In one or more embodiments, Figure 7a As shown, the dynamic publishing control 705 is displayed in the dynamic publishing interface 70, and the video information 7041 of the shared video 1 in the shared video list 704 is selected, then the video screen of the shared video 1 is displayed in the video playback area 703, and the shared video 1 can also be played in the video playback area 703; when the dynamic publishing control 705 is selected, the audio content and the shared video 1 are associated, and the audio content and the selected shared video 1 are published to the social dynamic interface 71; the social dynamic interface 71 displays the audio information 711 of the audio content and the video playback area 713, and the video screen of the selected shared video 1 is displayed in the video playback area 713; if it is detected in the social dynamic interface 71 that the audio content is being played, the shared video 1 is played at the same time.

[0164] In one or more embodiments, the shared video set may include P shared videos that match the audio information of the audio content, where P is a positive integer greater than or equal to 1. When a second trigger operation for a dynamic publishing control is detected, in response to the second trigger operation for the dynamic publishing control, a sharing object list may be displayed according to the second trigger operation, the sharing object list including one or more sharing objects, and the sharing object may refer to a user of a social application; in response to a selection operation of a target sharing object in the sharing object list, the audio content, the audio information, and the updated shared video set are sent to the target sharing object; wherein the updated shared video set target video set is determined from the shared video set according to the behavior data associated with the target sharing object. That is, the updated shared video set sent to the target sharing object may include shared videos that match the audio content and the behavior data associated with the target sharing object, so that the target sharing object can play the videos in the updated shared video set. In this way, during the publishing process of the audio content, the shared videos in the updated shared video set sent to the target sharing object match the audio content and the behavior data associated with the target sharing object, so that the matching process of the audio content and the shared video can be more targeted and the matching method can be more flexible.

[0165] In one or more embodiments, the behavior data associated with the target sharing object refers to data used to indicate the target sharing object's access pattern to the social application. For example, the behavior data associated with the target sharing object may include but is not limited to at least one of the following: the number of times the target sharing object visits each social video service account among one or more social video service accounts visited by the target sharing object; or the number of times the target sharing object visits each type of video among one or more types of videos visited by the target sharing object, etc.

[0166] Figure 7b is an interface diagram of another audio content publishing process provided by one or more embodiments of the present application, such as Figure 7b As shown, when a second trigger operation on the dynamic publishing control 705 is detected, in response to the second trigger operation on the dynamic publishing control 705, a sharing object list 706 can be displayed according to the second trigger operation, and the sharing object list 706 includes 6 sharing objects (i.e., user A, user B, user C, user D, user E, and user F), and in response to the target sharing object 7061 (e.g., user C, user D, user E, and user F) in the sharing object list 706. Figure 7bIn one or more embodiments, the process of determining the updated shared video set from the shared video set according to the behavior data associated with the target sharing object is similar to the process of determining the updated shared video set from the shared video set according to the behavior data associated with the target sharing object. Figure 3 or Figure 4 The process of determining the target video set from the initial video set according to the behavior data associated with the target account in the embodiment shown is similar, see Figure 3 or Figure 4 Description of the illustrated embodiment.

[0167] In one or more embodiments, when a trigger operation is detected for a video acquisition control included in the display interface of a social application, a shared video collection can be obtained, the shared video collection includes P shared videos that match the audio information of the audio content to be published and the behavior data associated with the target account, P is a positive integer, and the social application logs in the target account in the smart terminal; when a trigger operation is detected for a dynamic publishing control included in the display interface, the audio content is associated with the shared video collection, and the audio content and the shared videos in the shared video collection are published to the social dynamic interface, which can enrich the publishing form of the audio. After the audio content and the shared videos in the shared video collection are published to the social dynamic interface, if the audio content is detected to be played in the social dynamic interface, the shared videos in the shared video collection are triggered to play; it can be seen that the audio content can be played in the social dynamic interface, and the shared videos in the shared video collection can also be played, which can enrich the playing form of the audio in the social dynamic interface.

[0168] The method of the embodiment of the present application is described in detail above. In order to facilitate better implementation of the above scheme of the embodiment of the present application, the device of the embodiment of the present application is provided below accordingly.

[0169] See also Figure 8 , Figure 8 It is a structural diagram of an audio processing device provided by one or more embodiments of the present application. The audio processing device 80 can be set in a smart terminal. The smart terminal can include a smart phone, a tablet computer, a laptop computer, a desktop computer, a vehicle-mounted device, a smart speaker, a smart watch or a smart wearable device and other devices with display function.

[0170] In one or more embodiments, the audio processing device 80 may be configured to perform Figure 1 , Figure 3 or Figure 4 The corresponding steps in the audio processing method shown in the figure, the audio processing device 80 may include:

[0171] The display unit 801 is used to display the audio information of the audio content to be played in the display interface;

[0172] The processing unit 802 is used to obtain a target video set, where the target video set includes N videos matching the audio content, where N is a positive integer greater than or equal to 1;

[0173] The display unit 801 is further configured to play the videos in the target video set in the display interface in response to a play trigger operation on the target video set.

[0174] In one or more embodiments, the processing unit 802 is specifically configured to: obtain a target video set in response to a trigger operation on a video acquisition control; wherein the video acquisition control is displayed in a display interface;

[0175] The display unit 801 is specifically used to: play a target video in a target video set in a video playback area of ​​a display interface; wherein the target video is a video determined based on a default playback order, a video determined based on a random playback mode, or a video determined in response to a first selection operation.

[0176] In one or more embodiments, the display interface is a social dynamics interface of a social application, and the audio information is social dynamics published to the social dynamics interface; the display unit 801 is further used to:

[0177] After the target video is played, other videos in the target video set except the target video are played in the video play area; or,

[0178] In response to the switching operation on the target video, other videos in the target video set except the target video are played in the video playing area; or,

[0179] In response to the second selection operation, the video selected by the second selection operation is played in the video playing area.

[0180] In one or more embodiments, the display interface is a conversation interface of a social application, the audio content is voice, and the audio information is a voice message. The processing unit 802 is further configured to:

[0181] Performing type analysis on the speech to obtain the speech type;

[0182] The display unit 801 is further used for:

[0183] If the voice type is music type, a video acquisition control is displayed at a location associated with the voice message.

[0184] In one or more embodiments, the target video set is also matched with the behavior data associated with the target account, the target account is a login account for logging into the social application, and the social application displays a display interface; the processing unit 802 is specifically used to:

[0185] According to the audio tag set corresponding to the audio content, an initial video set is obtained from a video library, where the initial video set includes M videos matching the audio tag set, where M is a positive integer greater than or equal to 1 and M is greater than or equal to N;

[0186] A target video set is determined from an initial video set based on behavioral data associated with the target account.

[0187] In one or more embodiments, the processing unit 802 is specifically configured to:

[0188] Obtain an audio tag set corresponding to the audio content, where the audio tag set includes X audio tags, where X is a positive integer greater than or equal to 1;

[0189] Obtain a to-be-matched video from a video library, and obtain a video tag set of the to-be-matched video, where the video tag set includes Y video tags, where Y is a positive integer greater than or equal to 1;

[0190] Calculate the similarity between the audio content and the video to be matched based on the audio tag set and the video tag set;

[0191] If the similarity is greater than or equal to a predetermined threshold, the video to be matched is recorded in the initial video set.

[0192] In one or more embodiments, the video tag set is determined based on the tag probabilities of the initial tags in the target tag set, the initial tags included in the target tag set refer to all or part of the tags that appear in the S group tag prediction results, the tag probability is calculated based on the sum of all predicted probabilities of the corresponding initial tags, and S is a positive integer greater than or equal to 1;

[0193] In one or more embodiments, the i-th group of label prediction results in the S groups of label prediction results include: multiple labels obtained by predicting the i-th frame image in the S frame images, and the prediction probability of each label, where i is a positive integer less than or equal to S; the S groups of label prediction results are obtained by using a label prediction model to perform label prediction on each frame image in the S frame images respectively; the S frame images are obtained by frame parsing of the video to be matched.

[0194] In one or more embodiments, the audio tag set is extracted based on the association information of the audio information and the audio content, and the association information of the audio information includes: any one of the sharing comment information associated with the audio content and the conversation comment information associated with the audio content, or a combination of the two;

[0195] The video to be matched is obtained from the video library according to the video filtering strategy, and the video filtering strategy includes: any one or more of a quality filtering strategy, a text filtering strategy, a duration filtering strategy and a security filtering strategy.

[0196] In one or more embodiments, the processing unit 802 is specifically configured to:

[0197] Convert X audio tags in the audio tag set into corresponding X audio tag word vectors, and normalize the X audio tag word vectors to obtain a first average word vector;

[0198] Convert Y video tags in the video tag set into corresponding Y video tag word vectors, and normalize the Y video tag word vectors to obtain a second average word vector;

[0199] Based on the inner product of the first average word vector and the second average word vector, the similarity is obtained.

[0200] In one or more embodiments, the processing unit 802 is specifically configured to:

[0201] Convert X audio tags in the audio tag set into corresponding audio tag word vectors to obtain X audio tag word vectors;

[0202] Convert Y video tags in the video tag set into corresponding video tag word vectors to obtain Y video tag word vectors;

[0203] Calculate the inner product between each audio label word vector in the X audio label word vectors and the Y video label word vectors to obtain X×Y inner products between the X audio label word vectors and the Y video label word vectors;

[0204] Based on the average of X×Y inner products, the similarity is obtained.

[0205] In one or more embodiments, the audio processing device 80 may be configured to perform Figure 6 The corresponding steps in the audio processing method shown in the figure, the audio processing device 80 may include:

[0206] The display unit 801 is used to display the audio information of the audio content to be published in the dynamic publishing interface of the social application; the dynamic publishing interface displays a dynamic publishing control and a video acquisition control;

[0207] The processing unit 802 is configured to obtain a shared video set in response to a first trigger operation on a video acquisition control, where the shared video set includes P shared videos matching the audio content, where P is a positive integer greater than or equal to 1;

[0208] The processing unit 802 is further configured to, in response to a second trigger operation on the dynamic publishing control, associate the audio content with the shared video set so that the shared videos in the shared video set are played simultaneously with the audio content.

[0209] In one or more embodiments, the display unit 801 is further configured to: display a sharing object list according to the second trigger operation, where the sharing object list includes one or more sharing objects;

[0210] The processing unit 802 is also used to: in response to a selection operation on a target sharing object in the sharing object list, send the audio content, audio information and an updated shared video set to the target sharing object; wherein the updated shared video set is determined from the shared video set based on the behavior data associated with the target sharing object.

[0211] In one or more embodiments, the shared video collection is further matched with the behavior data of the target account, where the target account is a login account for logging into the social application; the processing unit 802 is specifically configured to:

[0212] According to the audio tag set corresponding to the audio content, an original video set is obtained from the video library, where the original video set includes Q shared videos matching the audio tag set, where Q is a positive integer greater than or equal to 1 and Q is greater than or equal to P;

[0213] Based on the behavior data associated with the target account, a shared video set is determined from the original video set.

[0214] In one or more embodiments, Figure 8 The various units in the audio processing device 80 shown can be individually or completely combined into one or several other units to form, or one (some) of the units can be further divided into multiple functionally smaller units to form, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the audio processing device 80 may also include other units. In practical applications, these functions can also be implemented with the assistance of other units and can be implemented by the collaboration of multiple units. According to another embodiment of the present application, it is possible to execute the following by running on a general-purpose computing device of a general-purpose computer including processing elements and storage elements such as a central processing unit (CPU), a random access storage medium (RAM), and a read-only storage medium (ROM). Figure 1 , Figure 3 , Figure 4 or Figure 6A computer program (including program code) for each step involved in the corresponding method shown in Figure 8 The audio processing device 80 shown in the figure is used to implement the audio processing method of the embodiment of the present application. The computer program can be recorded on a computer-readable storage medium, for example, and loaded into the above-mentioned computing device through the computer-readable storage medium and run therein.

[0215] One or more embodiments of the present application can obtain a video that matches the audio content and play the video that matches the audio content, thereby enriching the playback format of the audio content.

[0216] See also Fig. 9 , Fig. 9 1 is a schematic diagram of a structure of a smart terminal provided by one or more embodiments of the present application. The smart terminal may refer to a device with display function such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a vehicle-mounted device, a smart speaker, a smart watch or a smart wearable device. The smart terminal 90 includes at least a processor 901 and a memory 902. The processor 901 and the memory 902 may be connected via a bus or other means.

[0217] The processor 901 may be a central processing unit (CPU). The processor 901 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), etc. The PLD may be a field-programmable gate array (FPGA), a generic array logic (GAL), etc.

[0218] The memory 902 may include a volatile memory (Volatile Memory), such as a random-access memory (Random-Access Memory, RAM); the memory 902 may also include a non-volatile memory (Non-Volatile Memory), such as a flash memory (Flash Memory), a solid-state drive (SSD), etc.; the memory 902 may also include a combination of the above types of memory.

[0219] The memory 902 is used to store computer programs, which include computer instructions, and the processor 901 is used to execute computer instructions. The processor 901 (or CPU (Central Processing Unit)) is the computing core and control core of the smart device 90, which is suitable for implementing one or more computer instructions, and is specifically suitable for loading and executing one or more computer instructions to implement corresponding method processes or corresponding functions.

[0220] In one or more embodiments, the memory 902 stores a computer program, and the processor 901 executes the computer program to implement Figure 1 , Figure 3 or Figure 4 Corresponding steps in the method embodiment shown; in a specific implementation, the processor 901 runs the computer program to:

[0221] Displaying audio information of the audio content to be played in the display interface;

[0222] Obtain a target video set, where the target video set includes N videos matching the audio content, where N is a positive integer greater than or equal to 1;

[0223] In response to a play trigger operation on a target video set, the videos in the target video set are played in a display interface.

[0224] In one or more embodiments, the processor 901 is configured to:

[0225] In response to a trigger operation on a video acquisition control, a target video set is acquired; wherein the video acquisition control is displayed in a display interface;

[0226] A target video in a target video set is played in a video playback area of ​​a display interface; wherein the target video is a video determined based on a default playback order, a video determined based on a random playback mode, or a video determined in response to a first selection operation.

[0227] In one or more embodiments, the display interface is a social dynamics interface of a social application, and the audio information is social dynamics published to the social dynamics interface; the processor 901 is used to:

[0228] After the target video is played, other videos in the target video set except the target video are played in the video play area; or,

[0229] In response to the switching operation on the target video, other videos in the target video set except the target video are played in the video playing area; or,

[0230] In response to the second selection operation, the video selected by the second selection operation is played in the video playing area.

[0231] In one or more embodiments, the display interface is a conversation interface of a social application, the audio content is voice, and the audio information is a voice message, and the processor 901 is used to:

[0232] Performing type analysis on the speech to obtain the speech type;

[0233] If the voice type is music type, a video acquisition control is displayed at a location associated with the voice message.

[0234] In one or more embodiments, the target video set is also matched with the behavior data associated with the target account, the target account is a login account for logging into the social application, and the social application displays a display interface; the processor 901 is used to:

[0235] According to the audio tag set corresponding to the audio content, an initial video set is obtained from a video library, where the initial video set includes M videos matching the audio tag set, where M is a positive integer greater than or equal to 1 and M is greater than or equal to N;

[0236] A target video set is determined from an initial video set based on behavioral data associated with the target account.

[0237] In one or more embodiments, the processor 901 is configured to:

[0238] Obtain an audio tag set corresponding to the audio content, where the audio tag set includes X audio tags, where X is a positive integer greater than or equal to 1;

[0239] Obtain a to-be-matched video from a video library, and obtain a video tag set of the to-be-matched video, where the video tag set includes Y video tags, where Y is a positive integer greater than or equal to 1;

[0240] Calculate the similarity between the audio content and the video to be matched based on the audio tag set and the video tag set;

[0241] If the similarity is greater than or equal to a predetermined threshold, the video to be matched is recorded in the initial video set.

[0242] In one or more embodiments, the video tag set is determined based on the tag probabilities of the initial tags in the target tag set, the initial tags included in the target tag set refer to all or part of the tags that appear in the S group tag prediction results, the tag probability is calculated based on the sum of all predicted probabilities of the corresponding initial tags, and S is a positive integer greater than or equal to 1;

[0243] In one or more embodiments, the i-th group of label prediction results in the S groups of label prediction results include: multiple labels obtained by predicting the i-th frame image in the S frame images, and the prediction probability of each label, where i is a positive integer less than or equal to S; the S groups of label prediction results are obtained by using a label prediction model to perform label prediction on each frame image in the S frame images respectively; the S frame images are obtained by frame parsing of the video to be matched.

[0244] In one or more embodiments, the audio tag set is extracted based on the audio information and the associated information of the audio content, and the associated information of the audio content includes: any one of the shared comment information associated with the audio content and the conversation comment information associated with the audio content, or a combination of the two;

[0245] The video to be matched is obtained from the video library according to the video filtering strategy, and the video filtering strategy includes: any one or more of a quality filtering strategy, a text filtering strategy, a duration filtering strategy and a security filtering strategy.

[0246] In one or more embodiments, the processor 901 is configured to:

[0247] Convert X audio tags in the audio tag set into corresponding X audio tag word vectors, and normalize the X audio tag word vectors to obtain a first average word vector;

[0248] Convert Y video tags in the video tag set into corresponding X video tag word vectors, and normalize the Y video tag word vectors to obtain a second average word vector;

[0249] Based on the inner product of the first average word vector and the second average word vector, the similarity is obtained.

[0250] In one or more embodiments, the processor 901 is configured to:

[0251] Convert X audio tags in the audio tag set into corresponding audio tag word vectors to obtain X audio tag word vectors;

[0252] Convert Y video tags in the video tag set into corresponding video tag word vectors to obtain Y video tag word vectors;

[0253] Calculate the inner product between each audio label word vector in the X audio label word vectors and the Y video label word vectors to obtain X×Y inner products between the X audio label word vectors and the Y video label word vectors;

[0254] Based on the average of X×Y inner products, the similarity is obtained.

[0255] In one or more embodiments, the memory 902 stores a computer program, which includes one or more computer instructions; the processor 901 loads and executes the one or more computer instructions to implement Figure 6 Corresponding steps in the method embodiment shown; in a specific implementation, the processor 901 is used to:

[0256] The audio information of the audio content to be published is displayed in the dynamic publishing interface of the social application; the dynamic publishing interface displays a dynamic publishing control and a video acquisition control;

[0257] In response to a first trigger operation on a video acquisition control, a shared video set is acquired, where the shared video set includes P shared videos matching the audio content, where P is a positive integer greater than or equal to 1;

[0258] In response to a second trigger operation on the dynamic publishing control, the audio content is associated with the shared video set, so that the shared video in the shared video set is played simultaneously when the audio content is played.

[0259] In one or more embodiments, the processor 901 is configured to:

[0260] Displaying a sharing object list according to a second trigger operation, where the sharing object list includes one or more sharing objects;

[0261] In response to a selection operation on a target sharing object in the sharing object list, the audio content, audio information and an updated shared video set are sent to the target sharing object; wherein the updated shared video set is determined from the shared video set according to the behavior data associated with the target sharing object.

[0262] In one or more embodiments, the shared video collection is further matched with the behavior data of the target account, where the target account is a login account for logging into the social application; the processor 901 is configured to:

[0263] According to the audio tag set corresponding to the audio content, an original video set is obtained from the video library, where the original video set includes Q shared videos matching the audio tag set, where Q is a positive integer greater than or equal to 1 and Q is greater than or equal to P;

[0264] Based on the behavior data associated with the target account, a shared video set is determined from the original video set.

[0265] One or more embodiments of the present application can obtain a video that matches the audio content and play the video that matches the audio content, thereby enriching the playback format of the audio content.

[0266] In one or more embodiments, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the audio processing method provided in the above-mentioned various optional manners.

[0267] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. The computer-readable storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0268] What is disclosed above is only one or more preferred embodiments of the present application, and it is certainly not intended to limit the scope of rights of the present application. A person of ordinary skill in the art can understand that all or part of the processes of implementing the above embodiments and equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. An audio processing method, characterized in that: The method comprises: Displaying audio information of the audio content to be published in a dynamic publishing interface of a social application; the dynamic publishing interface displays a dynamic publishing control and a video acquisition control; In response to a first trigger operation on the video acquisition control, acquiring a shared video set, the shared video set including P shared videos matching the audio content, where P is a positive integer greater than or equal to 1; In response to a second trigger operation on the dynamic publishing control, the audio content is associated with the shared video set so that the shared videos in the shared video set are played simultaneously when the audio content is played.

2. The method according to claim 1, characterized in that After associating the audio content with the shared video set, the method further includes: displaying a sharing object list according to the second trigger operation, wherein the sharing object list includes one or more sharing objects; In response to a selection operation on a target sharing object in the sharing object list, the audio content, the audio information and the updated shared video set are sent to the target sharing object; wherein the updated shared video set is determined from the shared video set based on the behavior data associated with the target sharing object.

3. The method according to claim 1, characterized in that After obtaining the shared video set, the method further includes: Displaying a video playback area in the dynamic publishing interface; Displaying a shared video list in the video play area; the shared video list includes video information of all or part of the shared videos in the shared video set; Select a target shared video in the shared video list; The step of associating the audio content with the shared video set in response to a second trigger operation on the dynamic publishing control comprises: The audio content is associated with the shared video set, and the audio content and the selected target shared video are published to a social dynamic interface.

4. The method according to claim 1, characterized in that The shared video collection is also matched with the behavior data of a target account, where the target account is a login account for logging into the social application; The step of obtaining a shared video collection includes: According to the audio tag set corresponding to the audio content, an original video set is obtained from a video library, where the original video set includes Q shared videos matching the audio tag set, where Q is a positive integer greater than or equal to 1 and Q is greater than or equal to P; The shared video set is determined from the original video set according to the behavior data associated with the target account.

5. The method according to claim 4, characterized in that The obtaining of the original video set from the video library according to the audio tag set corresponding to the audio content includes: Acquire the audio tag set corresponding to the audio content, where the audio tag set includes X audio tags, where X is a positive integer greater than or equal to 1; Obtain a to-be-matched video from the video library, and obtain a video tag set of the to-be-matched video, wherein the video tag set includes Y video tags, where Y is a positive integer greater than or equal to 1; Calculating the similarity between the audio content and the video to be matched according to the audio tag set and the video tag set; If the similarity is greater than or equal to a predetermined threshold, the video to be matched is recorded in the original video set.

6. The method according to claim 5, characterized in that The video tag set is determined according to the tag probability of each initial tag in the target tag set, the initial tags included in the target tag set refer to all tags or part of the tags appearing in the S group tag prediction results, the tag probability is calculated according to the sum of all predicted probabilities of the corresponding initial tags, and S is a positive integer greater than or equal to 1; Among them, the i-th group of label prediction results in the S groups of label prediction results include: multiple labels obtained by predicting the i-th frame image in the S frame images, and the prediction probability of each label, i is a positive integer less than or equal to S; the S groups of label prediction results are obtained by using a label prediction model to predict the label of each frame image in the S frame images respectively; the S frame images are obtained by frame parsing the video to be matched.

7. The method according to claim 5, characterized in that The to-be-matched video is obtained from the video library according to a video filtering strategy, wherein the video filtering strategy includes any one or more of a quality filtering strategy, a text filtering strategy, a duration filtering strategy, and a security filtering strategy.

8. The method according to claim 5, characterized in that The calculating the similarity value between the audio and the target video according to the audio tag set and the video tag set includes: Convert the X audio tags in the audio tag set into corresponding X audio tag word vectors, and normalize the X audio tag word vectors to obtain a first average word vector; Convert the Y video tags in the video tag set into corresponding Y video tag word vectors, and normalize the Y video tag word vectors to obtain a second average word vector; The similarity is obtained based on an inner product of the first average word vector and the second average word vector.

9. The method according to claim 5, characterized in that The calculating the similarity between the audio content and the to-be-matched video according to the audio tag set and the video tag set includes: Convert the X audio tags in the audio tag set into corresponding audio tag word vectors to obtain X audio tag word vectors; Convert the Y video tags in the video tag set into corresponding video tag word vectors to obtain Y video tag word vectors; Calculate the inner product between each audio label word vector in the X audio label word vectors and the Y video label word vectors to obtain X×Y inner products between the X audio label word vectors and the Y video label word vectors; The similarity is obtained based on an average value of the X×Y inner products.

10. An audio processing device, characterized in that: The audio processing device comprises: A display unit, used to display audio information of the audio content to be published in a dynamic publishing interface of a social application; the dynamic publishing interface displays a dynamic publishing control and a video acquisition control; A processing unit, configured to obtain a shared video set in response to a first trigger operation on the video acquisition control, wherein the shared video set includes P shared videos matching the audio content, where P is a positive integer greater than or equal to 1; The processing unit is further configured to associate the audio content with the shared video set in response to a second trigger operation on the dynamic publishing control, so that the shared videos in the shared video set are played simultaneously when the audio content is played.

11. An intelligent terminal, characterized in that: The intelligent terminal includes: a memory and a processor; The memory is used to store computer programs; The processor is used to execute the computer program to implement the audio processing method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to be read and executed by a processor of a computer device to implement the audio processing method according to any one of claims 1 to 9.

13. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. The computer instructions are used to be read and executed by a processor of a computer device to implement the audio processing method according to any one of claims 1 to 9.