CN110493635B - Video playing method and device and terminal - Google Patents

Video playing method and device and terminal Download PDF

Info

Publication number
CN110493635B
CN110493635B CN201910786755.1A CN201910786755A CN110493635B CN 110493635 B CN110493635 B CN 110493635B CN 201910786755 A CN201910786755 A CN 201910786755A CN 110493635 B CN110493635 B CN 110493635B
Authority
CN
China
Prior art keywords
audio
playing
video file
terminal
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910786755.1A
Other languages
Chinese (zh)
Other versions
CN110493635A (en
Inventor
梁斯雅
赖莹
吴锡凡
杨宝树
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910786755.1A priority Critical patent/CN110493635B/en
Publication of CN110493635A publication Critical patent/CN110493635A/en
Application granted granted Critical
Publication of CN110493635B publication Critical patent/CN110493635B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4668Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data

Abstract

The disclosure provides a video playing method, a video playing device and a video playing terminal, and belongs to the technical field of terminals. The method comprises the following steps: in the process of playing the audio file by the audio playing application of the terminal, when the video file needs to be played, the audio prompt information is acquired, the audio prompt information is played to prompt a user to watch the currently played video file, and when the terminal detects that the current foreground operation interface is switched to the audio playing interface of the audio playing application in an unlocking state, the video file is played. The method comprises the steps of prompting a user to switch a current foreground running interface into an audio playing interface of an audio playing application through playing prompt information, playing a video file in the audio playing interface when the current foreground running interface is switched into the audio playing interface of the audio playing application, enabling the video file to reach the user under the condition that a terminal is in a screen locking state or the audio playing application is run in a background, and accordingly improving the exposure rate of the video file in the terminal under the current mobile internet scene.

Description

Video playing method and device and terminal
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a video playing method, an apparatus, and a terminal.
Background
In the current mobile internet scenario, more and more time is used for a user to listen to audio files such as songs and internet radio stations through an audio playing application. The audio playing application also becomes a good choice for users to put video advertisements, and correspondingly, the video advertisements put by the users can be played through the audio playing application.
In the related art, when a user opens an audio playing application, a segment of video advertisement is played first, and after the video advertisement is played, the user may enter an interface of the audio playing application and play an audio file through the audio playing application. That is, video advertisements are generally provided with exposure opportunities by occupying the on-time of the audio playback application.
In the above related art, only when the user opens the audio playing application, the video advertisement has a chance to be exposed, resulting in a low exposure rate of the video advertisement, and further affecting the conversion rate of the advertisement.
Disclosure of Invention
The embodiment of the disclosure provides a video playing method, a video playing device and a video playing terminal, which are used for solving the problem that only when a user opens an audio playing application, a video advertisement has a chance to be exposed, so that the exposure rate of the video advertisement is low, and further the conversion rate of the advertisement is influenced. The technical scheme is as follows:
in one aspect, a video playing method is provided, where the method includes:
in the process of playing an audio file through an audio playing application, when a video file for transmitting product information needs to be played, determining a current foreground operation interface of a terminal;
when the current foreground operating interface is not the audio playing interface of the audio playing application, acquiring audio prompt information corresponding to the video file;
playing the audio prompt information, wherein the audio prompt information is used for prompting a user to watch the video file;
and when the screen state of the terminal is an unlocking state and the current foreground operation interface of the terminal is switched to the audio playing interface of the audio playing application, playing the video file.
In another aspect, a video playback apparatus is provided, the apparatus including:
the first determining module is used for determining the current foreground operation interface of the terminal when a video file for transmitting product information needs to be played in the process of playing an audio file through an audio playing application;
the first obtaining module is used for obtaining the audio prompt information corresponding to the video file when the current foreground running interface is not the audio playing interface of the audio playing application;
the first playing module is used for playing the audio prompt information, and the audio prompt information is used for prompting a user to watch the video file;
and the second playing module is used for playing the video file when the screen state of the terminal is an unlocked state and the current foreground running interface of the terminal is switched to the audio playing interface of the audio playing application.
In one possible implementation, the apparatus further includes:
a second determining module, configured to determine that the current foreground operating interface is not an audio playing interface of the audio playing application when the current foreground operating interface is a screen locking interface; alternatively, the first and second electrodes may be,
a third determining module, configured to determine that the current foreground operating interface is not an audio playing interface of the audio playing application when the current foreground interface is another display interface of the audio playing application; alternatively, the first and second electrodes may be,
and a fourth determining module, configured to determine that the current foreground operating interface is not an audio playing interface of the audio playing application when the current foreground interface is a display interface in another application.
In another possible implementation manner, the audio prompt information includes prompt information and audio information in the video file, and the prompt information is voice prompt information for prompting the user to play the video file;
the device further comprises:
the second acquisition module is used for acquiring the video file and the prompt information;
the analysis module is used for analyzing the video file to obtain audio information corresponding to the video file;
and the synthesis module is used for synthesizing the prompt information and the audio information to obtain the audio prompt information.
In another possible implementation manner, the apparatus further includes:
and the third playing module is used for continuously playing the audio file through the audio playing application after the video file is played.
In another possible implementation manner, the second playing module is further configured to determine a playing progress of the audio prompt message; determining the playing progress of the video file of the audio prompt information according to the playing progress of the audio prompt information; and playing the video file according to the playing progress of the video file.
In another possible implementation manner, the audio prompt information is further used for prompting the user to obtain the user rights;
the device further comprises:
a fifth determining module, configured to determine the user right corresponding to the audio prompt information, and determine a user identifier in the audio playing application;
and the adding module is used for adding the user rights and interests to the user corresponding to the audio playing application according to the user identification.
In another possible implementation manner, the apparatus further includes:
a sixth determining module, configured to determine, when it is detected that the video file is triggered in a process of playing the video file, product information transmitted by the video file;
and the skipping module is used for skipping to the related page of the product according to the product information.
In another possible implementation manner, the apparatus further includes:
a seventh determining module, configured to determine that a video file for transmitting product information needs to be played when an audio file in the audio playing application is played to a node; alternatively, the first and second electrodes may be,
and the eighth determining module is used for determining that the video file for transmitting the product information needs to be played when the audio file to be played in the audio playing application is the audio file of the specified type.
In another aspect, a terminal is provided, which includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the instruction, the program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the operations performed in the video playing method as described in the method embodiment in the embodiment of the present disclosure.
In another aspect, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, and the instruction, the program, the set of codes, or the set of instructions is loaded and executed by a processor to implement the operations performed in the video playing method as described in the method embodiment in the embodiment of the present disclosure.
The technical scheme provided by the embodiment of the disclosure has the following beneficial effects:
in the embodiment of the present disclosure, in the process of playing the audio file through the audio playing application of the terminal, whether the video file needs to be played is detected, when the video file needs to be played, the audio prompt information is obtained, the audio prompt information is played to prompt the user to watch the currently played video file, and when the terminal detects that the current foreground running interface is switched to the audio playing interface of the audio playing application in the unlocked state, the video file is played. The method comprises the steps of prompting a user to switch a current foreground running interface into an audio playing interface of an audio playing application through playing prompt information, playing a video file in the audio playing interface when the current foreground running interface is switched into the audio playing interface of the audio playing application, enabling the video file to reach the user under the condition that a terminal is in a screen locking state or the audio playing application is run in a background, and accordingly improving the exposure rate of the video file in the terminal under the current mobile internet scene.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is an implementation environment of a video playing method provided according to an embodiment of the present disclosure;
FIG. 2 is a flow diagram of a method for video playback provided in accordance with an exemplary embodiment;
FIG. 3 is a schematic diagram of a video playing method according to an exemplary embodiment;
FIG. 4 is a schematic illustration of a video playback provided in accordance with an exemplary embodiment;
FIG. 5 is a schematic diagram of a video playback method provided in accordance with an exemplary embodiment;
FIG. 6 is a flow diagram of a method for video playback provided in accordance with an exemplary embodiment;
FIG. 7 is a schematic diagram of a video playback method provided in accordance with an exemplary embodiment;
FIG. 8 is a schematic diagram of a video playback method provided in accordance with an exemplary embodiment;
fig. 9 is a block diagram of a video playback device provided in accordance with an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a terminal provided according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
With the research and development of Artificial Intelligence technology, the Artificial Intelligence (AI) technology is being researched and applied in many fields, such as common smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, unmanned driving, automatic driving, unmanned aerial vehicles, robots, smart medical services, smart customer service, etc. it is believed that with the development of technology, the AI technology will be applied in more fields and play more and more important value.
The artificial intelligence is a theory, a method, a technology and an application system which simulate, extend and expand human intelligence by using a digital computer or a machine controlled by the digital computer, sense the environment, acquire knowledge and obtain the best result by using the knowledge. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a manner similar to human intelligence. Artificial intelligence is the research of the design principle and the realization method of various intelligent machines, so that the machines have the functions of perception, reasoning and decision making.
The artificial intelligence technology is a comprehensive subject and relates to the field of extensive technology, namely the technology of a hardware level and the technology of a software level. The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
Key technologies for Speech Technology (Speech Technology) are automatic Speech recognition Technology (ASR) and Speech synthesis Technology (TTS), as well as voiceprint recognition Technology. The computer can listen, see, speak and feel, and the development direction of the future human-computer interaction is provided, wherein the voice becomes one of the best viewed human-computer interaction modes in the future.
Machine Learning (ML) is a multi-domain cross discipline, and relates to a plurality of disciplines such as probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and the like. The special research on how a computer simulates or realizes the learning behavior of human beings so as to acquire new knowledge or skills and reorganize the existing knowledge structure to continuously improve the performance of the computer. Machine learning is the core of artificial intelligence, is the fundamental approach for computers to have intelligence, and is applied to all fields of artificial intelligence. Machine learning and deep learning generally include techniques such as artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and the like.
Embodiments of the present disclosure relate to techniques such as artificial intelligence speech techniques and machine learning, and are specifically described with reference to the following embodiments.
In the disclosure, the terminal can automatically sense the playing condition of the current audio file through a voice technology, and further judge whether the video file needs to be played currently, so that the terminal has the functions of sensing, reasoning and decision making. And reminding the user to watch the video file by playing the audio prompt information, so as to realize man-machine interaction with the user. Correspondingly, before the above, the terminal can simulate or realize the learning behavior of human beings through machine learning so as to obtain the skill for judging the playing condition of the current audio file, reorganize the existing knowledge structure so that the terminal can improve the performance of the terminal, and realize the function of automatically judging the playing condition of the audio file by the terminal.
The terminal can recognize and extract the audio information in the video file through a voice technology, synthesize the audio information and the prompt information in the video file through a voice synthesis technology to obtain audio prompt information, correspondingly, before the audio prompt information is obtained, the terminal can perform model training to obtain an audio information extraction model and an audio synthesis model, and the terminal can automatically extract the audio information in the video to synthesize the audio information.
Fig. 1 is a schematic diagram illustrating an implementation environment involved in a video playing method according to an exemplary embodiment of the present disclosure. Referring to fig. 1, the implementation environment includes: a terminal 101, a first server 102 and a second server 103. The terminal 101 performs data interaction with the first server 102 and the second server 103 through network connection.
The terminal 101 may run an audio playing application, where the first server 102 is a server corresponding to the audio playing application, and correspondingly, the terminal 101 may obtain an audio file in the first server 102 through the audio playing application, and play the audio file in the audio playing application. The audio playing application may be an application program in the terminal 101, or may be a web platform logged in through the terminal 101, which is not specifically limited in this disclosure.
The first server 102 may actively send the audio file to the terminal 101, or may send the audio file to the terminal 101 only when receiving the first acquisition request sent by the terminal 101.
When the first server 102 actively sends an audio file to the terminal 101, the first server 102 may periodically send the audio file to the terminal 101, and correspondingly, the first server 102 may send the audio file to the terminal 101 every first predetermined time period, and the terminal 101 receives the audio file sent by the first server 102. The first preset time period may be set as needed, and in the embodiment of the present disclosure, the first preset time period is not specifically limited. For example, the first preset time period may be 1 hour, 5 hours, 1 week, 1 month, or the like.
When the first server 102 receives a first acquisition request of the terminal 101 and sends an audio file to the terminal 101, and when the terminal 101 needs to play the audio file, a first acquisition request is generated, the first acquisition request is sent to the first server 102, the first server 102 receives the first acquisition request, acquires the audio file according to the first acquisition request, and sends the audio file to the terminal 101, and the terminal 101 receives the audio file sent by the first server 102.
The second server 103 is a server that transmits a video file to the terminal 101. The video file is used for transmitting product information. The video file may be played through an audio playback application in the terminal 101. The second server 103 receives the video file uploaded by the relevant user and sends the video file to the terminal 101. For example, the second server 103 may be an advertisement server corresponding to an advertiser. Accordingly, the video file may be a video advertisement.
The second server 103 may actively send the video file to the terminal 101, or may send the video file to the terminal 101 only when receiving a second acquisition request sent by the terminal 101.
When the second server 103 actively sends a video file to the terminal 101, the second server 103 may send the video file to the terminal 101 when receiving the video file uploaded by another user, and the terminal 101 receives the video file sent by the second server 103. The second server 103 may also send the video file to the terminal 101 periodically, and accordingly, the second server 103 may send the video file to the terminal 101 every second preset time period, and the terminal 101 receives the video file sent by the second server 103. The second preset time period may be set as needed, and in the embodiment of the present disclosure, the second preset time period is not specifically limited. For example, the second preset time period may be 1 hour, 5 hours, 1 week, 1 month, or the like.
When the second server 103 receives a second acquisition request of the terminal 101 and sends a video file to the terminal 101, when the terminal 101 needs to play the video file, the second server 103 generates a second acquisition request and sends the second acquisition request to the second server 103, the second server 103 receives the second acquisition request, acquires the video file according to the second acquisition request and sends the video file to the terminal 101, and the terminal 101 receives the video file sent by the second server 103.
It should be noted that the first server 102 and the second server 103 may be the same server or different servers, and this is not particularly limited in the embodiment of the present disclosure.
In the embodiment of the present disclosure, the terminal 101 obtains the audio file sent by the first server 102 and obtains the video file sent by the second server 103. In the process that the terminal 101 plays the audio file through the audio playing application, whether the video file needs to be played is detected, when the video file needs to be played, audio prompt information is obtained, the audio prompt information is played to prompt a user to watch the currently played video file, and when the terminal 101 detects that the current foreground running interface is switched to the audio playing interface of the audio playing application in an unlocking state, the video file is played. The user is prompted to switch the current foreground running interface to the audio playing interface of the audio playing application through the playing prompt information, when the current foreground running interface is switched to the audio playing interface of the audio playing application, the video file is played in the audio playing interface, so that the video file can reach the user under the condition that the terminal 101 is in a screen locking state or the audio playing application is run in a background, and therefore the exposure rate of the video file in the terminal 101 under the current mobile internet scene is improved.
Fig. 2 is a flowchart of a video playing method according to an exemplary embodiment, and in the embodiment of the present disclosure, a current foreground operating interface is taken as an example for explanation. As shown in fig. 2, the method comprises the steps of:
step 201: when the terminal needs to play a video file for transmitting product information in the process of playing an audio file through an audio playing application, the current foreground operation interface of the terminal is determined.
In this step, when the terminal plays the audio file through the audio playing application, the terminal may detect whether the video file needs to be played currently, and when the video file needs to be played, the terminal determines the current foreground operating interface of the terminal.
In one possible implementation manner, when an audio file in the audio playing application is played to a node, the terminal determines that a video file for transmitting product information needs to be played. Correspondingly, the process of the terminal detecting whether the video file needs to be played currently may be: the terminal detects whether the audio file played in the current audio playing interface is played to the node; when the audio file played in the audio playing interface is played to a node, the terminal determines that the video file for transmitting the product information needs to be played. The node may be a time node at which the next audio file is to be played after the current audio file is played, or a node set in advance by an uploader of the audio file. In the embodiments of the present disclosure, this is not particularly limited. For example, the audio playing application is a music platform, the audio file is a song file, and accordingly, the node may be a time node before the currently played song is played and the next song is played, or a node manually set at a time point at which any song needs to be paused.
In another possible implementation manner, when the audio file to be played in the audio playing application is an audio file of a specified type, the terminal determines that a video file for transmitting the product information needs to be played. Correspondingly, the process of the terminal detecting whether the video file needs to be played currently may be: the terminal determines whether the audio file to be played in the audio playing interface is the audio file of the designated type, and when the terminal determines that the audio file to be played in the audio playing interface is the audio file of the designated type, the terminal determines that the video file for transmitting the product information needs to be played. The specified type may be determined according to the upload time of the audio file, the long uploader, and the setting of the uploader for the audio file. In the embodiments of the present disclosure, this is not particularly limited. For example, the specified type of audio file may be an audio file that is uploaded within a week, the specified type of audio file may also be an audio file of the uploader as the user a, and the specified type of audio file may also be an audio file that is set for charging or member-specific sharing, where the video file may be set by the uploader or may be set by an operator of the audio playing application, which is not particularly limited in the embodiment of the present disclosure.
Step 202: and when the current foreground running interface is the screen locking interface, the terminal determines that the current foreground running interface is not the audio playing interface of the audio playing application.
In this disclosure, the terminal determines the display state of the terminal, and when the display state of the terminal is the screen locking state, the terminal determines that the current foreground operating interface is not the audio playing interface of the audio playing application, and executes step 203. Correspondingly, when the current foreground operating interface is the unlocking interface, the terminal determines that the current foreground operating interface is the audio playing interface of the audio playing application, and executes step 205. As shown in fig. 3, fig. 3 is a schematic diagram of a video playing method according to an exemplary embodiment. When the terminal detects that the current display interface is in the screen locking state, the terminal executes step 403 when a video file needs to be played in the screen locking state, and when the terminal detects that the terminal is unlocked, executes step 405 to display an audio playing interface and play the video content in the audio playing interface.
It should be noted that, in the embodiment of the present disclosure, the terminal only determines the current display state of the terminal, and when the display state of the terminal is the unlock state, any interface in the terminal is the audio playing interface.
Step 203: and the terminal acquires the audio prompt information corresponding to the video file.
The audio prompting information is audio information and is used for prompting the user to watch the video file. In this step, the terminal may determine a video file to be played first, and obtain audio prompt information corresponding to the video file according to the video information.
The audio prompt message can be a prompt message for only prompting the content of the video file of the user; the audio prompt message can also be a prompt message which only prompts a user to switch a display interface to watch a video file; the audio prompt message can also be a prompt message for prompting the user to watch the video file and prompting the user of the content of the video file. Correspondingly, the process that the terminal acquires the audio prompt information corresponding to the video file according to the video information can be realized by the following three ways.
In a first possible implementation manner, the audio prompt message is a prompt message for prompting the user only to the content of the video file. The content prompt message of the video file can be audio information corresponding to the video file. Accordingly, the process of the terminal acquiring the audio prompt information may be implemented by the following steps (a1) - (A3), including:
(A1) the terminal acquires a video file.
In the embodiment of the present disclosure, the second server sends the video file to the terminal, and correspondingly, the terminal receives the video file sent by the second server and stores the video file locally.
(A2) And the terminal extracts the audio information in the video file according to the video file.
In this step, the terminal splits the video information and the audio information in the video file, and extracts the audio information in the video file.
It should be noted that, the step of extracting the audio information in the video file may also be implemented by a second server, and correspondingly, the steps (a1) - (a2) may be replaced by that the server splits the video file to obtain the video information and the audio information corresponding to the video file, and sends the video information and the audio information of the video file to the terminal; the terminal receives the video information and the audio information of the video file, stores the video information and the audio information of the video file locally, and can directly acquire the split audio information when the terminal needs the audio information of any video file.
(A3) And the terminal determines the audio prompt information according to the audio information.
In this step, the terminal generates the audio prompt information according to the audio information in the video file, the terminal may directly use the audio information as the audio prompt information, and the terminal may further extract a part of the audio information from the audio information as the audio prompt information. In the embodiments of the present disclosure, this is not particularly limited.
In the implementation mode, the audio prompt information is determined according to the audio information corresponding to the video file, so that the content of the video file is prompted to a user, the user can know the content of the video file through the prompt information and then determine whether to jump to the video file, the exposure rate of the video file is improved, and the conversion rate of the audio file is improved.
In a second possible implementation, the audio prompt may also be a prompt that only prompts the user to view the video file. The prompt message may be an audio message for performing voice prompt on the user. For example, the prompt message may be "please jump to the audio playing interface to watch the video file".
The prompt information can be prompt information sent by the first server or the second server to the terminal, correspondingly, the first server or the second server sends the prompt information to the terminal, the terminal receives the prompt information sent by the first server or the second server, stores the prompt information locally, and when the terminal prompts a user to watch a video file according to the audio prompt information, the prompt information is used as the audio prompt information.
In the implementation mode, the prompt information is provided for the user to remind the user to watch the video file, so that the exposure rate of the video file is increased, and the conversion rate of the audio file is increased.
In a third possible implementation manner, the audio prompt message is a prompt message prompting the user to view the video file and prompting the user of the content of the video file. The content prompt information of the video file may be audio information corresponding to the video file, and the prompt information may be audio information for performing voice prompt on the user. Accordingly, the process of the terminal acquiring the audio prompt information may be implemented by the following steps (B1) - (B3), including:
(B1) and the terminal receives the video file and the prompt message.
In this step, the step of receiving the video file by the terminal is similar to the process of receiving the video file by the terminal in step (a1), and is not described herein again. The process of the terminal receiving the prompt message is similar to that in the second implementation manner, and is not repeated herein.
(B2) And the terminal extracts the audio information in the video file according to the video file.
This step is similar to step (a1), and will not be described herein.
(B3) And the terminal synthesizes the audio information and the prompt information to obtain audio prompt information.
In this step, the terminal synthesizes the prompt information with the audio information in the video file.
In a possible implementation manner, the terminal may splice and synthesize the audio information and the prompt information, and correspondingly, the terminal may splice the prompt information before the audio information to obtain the audio prompt information; the terminal can also splice the prompt information behind the audio information to obtain the audio prompt information. In the embodiment of the present disclosure, the splicing manner of the second prompt information and the audio information is not particularly limited.
In another possible implementation, the terminal may perform different channel synthesis on the audio information and the prompt information. Correspondingly, the terminal can synthesize the audio information and the prompt information into audio prompt information of a left channel playing audio information and a right channel playing video information; the terminal can also combine the audio information and the prompt information into audio information played by a right channel and audio prompt information played by a left channel.
In another possible implementation manner, the terminal may further fuse the prompt information into the audio information to obtain the audio prompt information. For example, the terminal may synthesize the prompt message and the audio message so that the audio prompt message may play the prompt message and the audio message simultaneously. For example, the terminal may fuse the prompt information to the audio information, so that when the prompt information is played in the process of playing the audio information, the playing sound of the audio information is reduced, and when the prompt information is played, the playing sound of the audio information is recovered.
It should be noted that the terminal may further receive the audio prompt information sent by the first server or the second server, where a process of generating the audio prompt information by the first server or the second server is similar to a process of generating the audio prompt information by the terminal, and is not described herein again.
In the implementation mode, the audio information and the prompt information of the video file are synthesized into the audio prompt information, so that the user is reminded of watching the video file and simultaneously reminding the user of the content of the video file, the exposure rate of the video file is further improved, and the conversion rate of the audio file is further improved.
It should be noted that, when acquiring the audio prompt information, the terminal may execute any one of the three implementations to acquire the audio prompt information. The terminal can also realize the corresponding relation of the video file and the audio prompt information, and when the terminal needs to acquire the audio prompt information of any video file, the terminal can acquire the audio prompt information from the corresponding relation of the video file and the audio prompt information according to the video file. The method for acquiring the audio prompt information stored by the terminal may also be acquired by any one of the three manners, which is not specifically limited in the embodiment of the present disclosure.
It should be noted that the audio prompt information may also be sent to the terminal by the first server or the second server, and accordingly, when the terminal acquires the audio prompt information, a third acquisition request is generated, the third acquisition request is sent to the first server or the second server, and the first server or the second server acquires the audio prompt information corresponding to the video file according to the third acquisition request and sends the audio prompt information to the terminal. The process of the first server or the second server obtaining the audio prompt information corresponding to the video file according to the video file is similar to the process of the terminal obtaining the audio prompt information according to the video file, and is not repeated here.
Step 204: and the terminal plays the audio prompt information, and the audio prompt information is used for prompting the user to watch the video file.
In this step, the terminal plays the audio prompt message through the audio playing application. Wherein, the terminal can only play the audio prompt information once; the terminal can also play the audio information according to the predetermined playing time length. In the embodiment of the present disclosure, the playing mode of the audio prompt message is not specifically limited. For example, the terminal may play the audio prompt message cyclically within the play duration according to the play duration.
Step 205: and when the screen state of the terminal is the unlocking state and the current foreground operation interface of the terminal is switched to the audio playing interface of the audio playing application, the terminal plays the video file.
In the embodiment of the disclosure, the terminal plays the audio file through the audio playing application in the screen locking state, and when the user acquires the audio prompt information, the terminal detects whether the terminal is changed from the screen locking state to the unlocking state.
In a possible implementation manner, when the terminal is switched from the lock screen state to the unlock state, the terminal determines that the current foreground operating interface is switched to the audio playing interface of the audio playing application, and pops up the playing interface of the video file in the current display interface, for example, the audio playing interface may be a desktop of the terminal, and the audio playing interface may also be an interface of an application or a web page that is in the operating state after the terminal is opened, which is not specifically limited in this embodiment of the disclosure.
In the embodiment of the present disclosure, the terminal may start playing the video file from the start position of the video file, and the terminal may also determine the playing progress of the video file according to the playing progress of the audio information corresponding to the video file in the audio prompt information, and play the video file according to the playing progress. Accordingly, the process may be realized by the following steps (a1) - (A3), including:
(A1) and the terminal determines the playing progress of the audio prompt message.
In this step, the terminal may determine the playing progress of the audio prompt information according to the playing duration of the audio prompt information.
(A2) And the terminal determines the playing progress of the video file of the audio prompt information according to the playing progress of the audio prompt information.
In this step, the terminal determines the playing progress of the audio information corresponding to the video file in the audio prompt information according to the playing progress of the audio prompt information, and determines the playing progress of the video file according to the playing progress of the audio information in the video file.
(A3) And the terminal plays the video file in the video playing window according to the playing progress of the video file.
In this step, the terminal skips over the video file whose audio information has been played, and starts playing the video file from the playing progress of the video file.
In the embodiment of the disclosure, the terminal determines the playing progress of the video file by determining the playing progress of the audio information in the audio prompt information, so that the video file corresponding to the played audio information can be skipped over, the user is prevented from watching the overlong video file, and the user experience is improved.
In the process of playing the video file, a user can jump to a related product interface corresponding to the video file through a video playing window for playing the video file. Accordingly, the process may be implemented by the following steps (B1) - (B2), including:
(B1) and in the process of playing the video file, when the video file is detected to be triggered, the terminal determines the product information transmitted by the video file.
In a possible implementation manner, the terminal may detect whether the playing interface of the video file is touched, and when the terminal detects that the playing interface of the video file is touched, it is determined that the video file is detected to be triggered, so as to determine the product information delivered by the video file. In another possible implementation manner, a jump button is displayed on a playing interface of the video file, and when the terminal detects a triggering operation of the jump button, it is determined that the video file is triggered, so that the product information delivered by the video file is determined.
(B2) And the terminal jumps to a related page of the product according to the product information.
In this step, the terminal determines a jump page corresponding to the video file according to the product information corresponding to the video file, and jumps the display interface to the jump page. For example, when the video file is an advertisement video, the video file may include a commodity link, and when the video file is triggered, the video file jumps to a commodity page corresponding to the video file. For example, the advertisement video is a commodity promotion video, and accordingly, the shopping application can be skipped to through the video file, and a shopping detail interface of the commodity is displayed. The advertisement video can also be a promotion interface of the application program, correspondingly, the video file can jump to an application store of the terminal to display a downloading interface of the application program, or the video file can jump to the application program to display a login interface of the application program. In the embodiments of the present disclosure, this is not particularly limited.
In the implementation of the disclosure, the related product information of the video file is determined in the playing process of the video file, and the video file is skipped to the interface corresponding to the product information of the video file, so that the audio file also has a conversion effect, and the conversion effect of the video file is further improved.
In addition, in a possible implementation manner, the terminal can provide the user rights and interests for the user by watching the video file through the user, and correspondingly, the audio prompt information can prompt the user to watch the video information and can also obtain the user rights and interests. The process of the terminal providing the user interest to the user may be implemented by the following steps (C1) - (C3), including:
(C1) and the terminal determines the user rights corresponding to the audio prompt information.
The user right may be that the video file does not need to be watched within a third preset time period, or the user can listen to an audio file of a specified type, and the like. Accordingly, the first information may prompt the user to watch the video file and obtain the related user rights, for example, the audio prompt information may be "watch video, obtain membership for free" or the like.
The user right may be a predetermined user right, and the user right may also be a user right determined according to a video file, and correspondingly, in this step, the terminal may determine a video file corresponding to the audio prompt information according to the audio prompt information, and determine a user right corresponding to the video file according to the video file.
(C2) The terminal determines the user identification in the audio playing application.
In this step, the terminal may determine the user identifier of the user currently logged in the audio playback application. The user identification may be a user name, a mobile phone number, a user account, etc. of the user.
(C3) And the terminal adds the user rights and interests to the user corresponding to the audio playing application according to the user identification.
In this step, after the terminal determines that the user has viewed the video file, the user rights and interests obtained by the user through viewing the Pipi file are added to the user account of the user.
In the implementation of the disclosure, the user is provided with the user rights through the user watching the video, so that the user is promoted to watch the video file, and the exposure rate of the video file is further improved.
In addition, in this embodiment of the present disclosure, in a possible implementation manner, after the video file is played, the terminal may pause playing the audio file, and when a playing operation of the audio file by the user is detected, the terminal continues playing the audio file. In another possible implementation manner, after the terminal finishes playing the video file, the terminal may continue to play the audio file, and accordingly, the process may be: the terminal exits the video playing window; and the terminal continues to play the audio file through the audio playing application.
In the embodiments of the present disclosure, it is preferred,
in the embodiment of the present disclosure, in the process of playing the audio file through the audio playing application of the terminal, whether the video file needs to be played is detected, when the video file needs to be played, the audio prompt information is obtained, the audio prompt information is played to prompt the user to watch the currently played video file, and when the terminal detects that the current foreground running interface is switched to the audio playing interface of the audio playing application in the unlocked state, the video file is played. The method comprises the steps of prompting a user to switch a current foreground running interface into an audio playing interface of an audio playing application through playing prompt information, playing a video file in the audio playing interface when the current foreground running interface is switched into the audio playing interface of the audio playing application, enabling the video file to reach the user under the condition that a terminal is in a screen locking state or the audio playing application is run in a background, and accordingly improving the exposure rate of the video file in the terminal under the current mobile internet scene.
Fig. 4 is a flowchart of a video playing method according to an exemplary embodiment, and in the embodiment of the present disclosure, a current foreground interface is taken as an example of another display interface of the audio playing application. As shown in fig. 4, the method comprises the steps of:
step 401: when the terminal needs to play a video file for transmitting product information in the process of playing an audio file through an audio playing application, the current foreground operation interface of the terminal is determined.
This step is the same as step 201, and is not described herein again.
Step 402: and when the current foreground interface is other display interfaces of the audio playing application, the terminal determines that the current foreground running interface is not the audio playing interface of the audio playing application.
In this embodiment of the present disclosure, the terminal determines the display state of the terminal first, and when the display state of the terminal is the screen locking state, the terminal determines that the current foreground operating interface is not the audio playing interface of the audio playing application, and executes step 403. When the display state of the terminal is the unlock state, the terminal continues to determine whether the current display interface is the audio playing interface of the audio playing application, and when the current display interface is the audio playing interface of the audio playing application, step 405 is executed. When the current display interface is the other display interface of the audio playing application, step 403 is executed. As shown in fig. 5, fig. 5 is a schematic diagram of a video playing method according to an exemplary embodiment. When the terminal detects that the current display interface is the page 2 of the audio playing application, the current display interface includes the identifier of the current user, the page tags of other pages, such as "page 1" and "page 2", and also displays the page content of the current page. When the terminal detects that the video information needs to be played and the display interface is still the display interface of the page 2, the terminal performs step 403, and when the terminal detects that the page is the audio playing interface, performs step 405.
Step 403: and the terminal acquires the audio prompt information corresponding to the video file.
This step is the same as step 203 and will not be described herein again.
Step 404: and the terminal plays the audio prompt information, and the audio prompt information is used for prompting the user to watch the video file.
This step is the same as step 204 and is not described herein again.
Step 405: and when the screen state of the terminal is the unlocking state and the current foreground operation interface of the terminal is switched to the audio playing interface of the audio playing application, the terminal plays the video file.
This step is the same as step 205, and is not described herein again.
In the embodiment of the present disclosure, in the process of playing the audio file through the audio playing application of the terminal, whether the video file needs to be played is detected, when the video file needs to be played, the audio prompt information is obtained, the audio prompt information is played to prompt the user to watch the currently played video file, and when the terminal detects that the current foreground running interface is switched to the audio playing interface of the audio playing application in the unlocked state, the video file is played. The method comprises the steps of prompting a user to switch a current foreground running interface into an audio playing interface of an audio playing application through playing prompt information, playing a video file in the audio playing interface when the current foreground running interface is switched into the audio playing interface of the audio playing application, enabling the video file to reach the user under the condition that a terminal is in a screen locking state or the audio playing application is run in a background, and accordingly improving the exposure rate of the video file in the terminal under the current mobile internet scene.
In addition, in the embodiment of the disclosure, the video playing window is displayed in the audio playing interface of the audio playing application, so that the video playing window is prevented from jumping out when a user opens the audio playing application but does not want to watch the video file, and the user experience of the user is improved.
Fig. 6 is a flowchart of a video playing method according to an exemplary embodiment, and in the embodiment of the present disclosure, a current foreground interface of a terminal is taken as an example of a display interface in other applications for explanation. As shown in fig. 6, the method comprises the steps of:
step 601: when the terminal needs to play a video file for transmitting product information in the process of playing an audio file through an audio playing application, the current foreground operation interface of the terminal is determined.
This step is the same as step 201, and is not described herein again.
Step 602: and when the current foreground interface is other display interfaces of the audio playing application, the terminal determines that the current foreground running interface is not the audio playing interface of the audio playing application.
In this embodiment of the present disclosure, the terminal determines the display state of the terminal first, and when the display state of the terminal is the screen locking state, the terminal determines that the current foreground operating interface is not the audio playing interface of the audio playing application, and performs step 603. When the display state of the terminal is the unlock state, the terminal continues to determine whether the current display interface is the display interface in the audio playing application, and when the current display interface is the display interface in other applications, step 603 is executed. When the current display interface is the display interface in the audio playing application, step 605 is executed. As shown in fig. 7, fig. 7 is a schematic diagram of a video playing method according to an exemplary embodiment. When the terminal detects that the current display interface is a display interface of other applications, and a video file needs to be played under the display interface of other applications, the terminal performs step 403, and when the terminal detects that the audio playing application is triggered, performs step 405, displays an audio playing interface, and plays the video content in the audio playing interface.
Step 603: and the terminal acquires the audio prompt information corresponding to the video file.
This step is the same as step 203 and will not be described herein again.
Step 604: and the terminal plays the audio prompt information, and the audio prompt information is used for prompting the user to watch the video file.
This step is the same as step 204 and is not described herein again.
Step 605: and when the screen state of the terminal is the unlocking state and the current foreground operation interface of the terminal is switched to the audio playing interface of the audio playing application, the terminal plays the video file.
This step is the same as step 205, and is not described herein again.
In the embodiment of the present disclosure, in the process of playing the audio file through the audio playing application of the terminal, whether the video file needs to be played is detected, when the video file needs to be played, the audio prompt information is obtained, the audio prompt information is played to prompt the user to watch the currently played video file, and when the terminal detects that the current foreground running interface is switched to the audio playing interface of the audio playing application in the unlocked state, the video file is played. The method comprises the steps of prompting a user to switch a current foreground running interface into an audio playing interface of an audio playing application through playing prompt information, playing a video file in the audio playing interface when the current foreground running interface is switched into the audio playing interface of the audio playing application, enabling the video file to reach the user under the condition that a terminal is in a screen locking state or the audio playing application is run in a background, and accordingly improving the exposure rate of the video file in the terminal under the current mobile internet scene.
In addition, in the embodiment of the disclosure, the video playing window is displayed in the display interface of the audio playing application, so that the user terminal is prevented from directly jumping to the video playing window in the open state, and the user experience of the user is improved.
In addition, referring to fig. 8, fig. 8 is a schematic diagram of a video playing method according to an exemplary embodiment. In practical application, when a user listens to audio information through a terminal, the current audio listening situation of the terminal can be determined, when the state of the terminal is displaying an audio playing interface in an audio playing application, the video file is directly played, and when the terminal is in a screen locking state, displaying display interfaces of other applications or displaying other interfaces of the audio playing application, the audio prompt information is played. The audio prompt information is synthesized by the terminal through the prompt information and the audio information in the audio file.
Fig. 9 is a block diagram of a video playback device according to an example embodiment. Referring to fig. 9, the apparatus includes:
a first determining module 901, configured to determine a current foreground operating interface of a terminal when a video file for transmitting product information needs to be played in a process of playing an audio file through an audio playing application;
a first obtaining module 902, configured to obtain, when the current foreground operating interface is not an audio playing interface of the audio playing application, audio prompt information corresponding to the video file;
a first playing module 903, configured to play the audio prompt information, where the audio prompt information is used to prompt a user to view the video file;
the second playing module 904 is configured to play the video file when the screen state of the terminal is the unlocked state and the current foreground operating interface of the terminal is switched to the audio playing interface of the audio playing application.
In one possible implementation, the apparatus further includes:
a second determining module, configured to determine that the current foreground operating interface is not an audio playing interface of the audio playing application when the current foreground operating interface is a screen locking interface; alternatively, the first and second electrodes may be,
a third determining module, configured to determine that the current foreground operating interface is not an audio playing interface of the audio playing application when the current foreground interface is another display interface of the audio playing application; alternatively, the first and second electrodes may be,
and the fourth determining module is used for determining that the current foreground running interface is not the audio playing interface of the audio playing application when the current foreground interface is the display interface in other applications.
In another possible implementation manner, the audio prompt information includes prompt information and audio information in the video file, and the prompt information is voice prompt information for prompting the user to play the video file;
the device also includes:
the second acquisition module is used for acquiring the video file and the prompt message;
the analysis module is used for analyzing the video file to obtain audio information corresponding to the video file;
and the synthesis module is used for synthesizing the prompt information and the audio information to obtain the audio prompt information.
In another possible implementation manner, the apparatus further includes:
and the third playing module is used for continuously playing the audio file through the audio playing application after the video file is played.
In another possible implementation manner, the second playing module 904 is further configured to determine a playing progress of the audio prompt message; determining the playing progress of the video file of the audio prompt information according to the playing progress of the audio prompt information; and playing the video file according to the playing progress of the video file.
In another possible implementation manner, the audio prompt message is further used for prompting the user to obtain the user rights;
the device also includes:
a fifth determining module, configured to determine the user right corresponding to the audio prompt information, and determine a user identifier in the audio playing application;
and the adding module is used for adding the user rights and interests to the user corresponding to the audio playing application according to the user identification.
In another possible implementation manner, the apparatus further includes:
a sixth determining module, configured to determine, when it is detected that the video file is triggered in a process of playing the video file, product information transmitted by the video file;
and the skipping module is used for skipping to the related page of the product according to the product information.
In another possible implementation manner, the apparatus further includes:
a seventh determining module, configured to determine that a video file for transmitting product information needs to be played when an audio file in the audio playing application is played to a node; alternatively, the first and second electrodes may be,
and the eighth determining module is used for determining that the video file for transmitting the product information needs to be played when the audio file to be played in the audio playing application is the audio file of the specified type.
In the embodiment of the present disclosure, in the process of playing the audio file through the audio playing application of the terminal, whether the video file needs to be played is detected, when the video file needs to be played, the audio prompt information is obtained, the audio prompt information is played to prompt the user to watch the currently played video file, and when the terminal detects that the current foreground running interface is switched to the audio playing interface of the audio playing application in the unlocked state, the video file is played. The method comprises the steps of prompting a user to switch a current foreground running interface into an audio playing interface of an audio playing application through playing prompt information, playing a video file in the audio playing interface when the current foreground running interface is switched into the audio playing interface of the audio playing application, enabling the video file to reach the user under the condition that a terminal is in a screen locking state or the audio playing application is run in a background, and accordingly improving the exposure rate of the video file in the terminal under the current mobile internet scene.
It should be noted that: in the video playing device provided in the above embodiment, when running an application program, only the division of the above functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the video playing apparatus and the video playing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 10 shows a block diagram of a terminal 1000 according to an exemplary embodiment of the disclosure. The terminal 1000 can be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1000 can also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or the like by other names.
In general, terminal 1000 can include: a processor 1001 and a memory 1002.
Processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 1001 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 1001 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1002 is used to store at least one instruction for execution by processor 1001 to implement a video playback method provided by method embodiments in the present disclosure.
In some embodiments, terminal 1000 can also optionally include: a peripheral interface 1003 and at least one peripheral. The processor 1001, memory 1002 and peripheral interface 1003 may be connected by a bus or signal line. Various peripheral devices may be connected to peripheral interface 1003 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1004, display screen 1005, camera assembly 1006, audio circuitry 1007, positioning assembly 1008, and power supply 1009.
The peripheral interface 1003 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 1001 and the memory 1002. In some embodiments, processor 1001, memory 1002, and peripheral interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral interface 1003 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 1004 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1004 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1004 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1004 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1004 may also include NFC (Near Field Communication) related circuits, which are not limited by this disclosure.
The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to capture touch signals on or over the surface of the display screen 1005. The touch signal may be input to the processor 1001 as a control signal for processing. At this point, the display screen 1005 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, display screen 1005 can be one, providing a front panel of terminal 1000; in other embodiments, display 1005 can be at least two, respectively disposed on different surfaces of terminal 1000 or in a folded design; in still other embodiments, display 1005 can be a flexible display disposed on a curved surface or on a folded surface of terminal 1000. Even more, the display screen 1005 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display screen 1005 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 1006 is used to capture images or video. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1006 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1007 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1001 for processing or inputting the electric signals to the radio frequency circuit 1004 for realizing voice communication. For stereo sound collection or noise reduction purposes, multiple microphones can be provided, each at a different location of terminal 1000. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1007 may also include a headphone jack.
A Location component 1008 is employed to locate a current geographic Location of terminal 1000 for purposes of navigation or LBS (Location Based Service). The Positioning component 1008 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 1009 is used to supply power to various components in terminal 1000. The power source 1009 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 1009 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1000 can also include one or more sensors 1010. The one or more sensors 1010 include, but are not limited to: acceleration sensor 1011, gyro sensor 1012, pressure sensor 1013, fingerprint sensor 1014, optical sensor 1015, and proximity sensor 1016.
Acceleration sensor 1011 can detect acceleration magnitudes on three coordinate axes of a coordinate system established with terminal 1000. For example, the acceleration sensor 1011 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1001 may control the display screen 1005 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1011. The acceleration sensor 1011 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1012 may detect a body direction and a rotation angle of the terminal 1000, and the gyro sensor 1012 and the acceleration sensor 1011 may cooperate to acquire a 3D motion of the user on the terminal 1000. From the data collected by the gyro sensor 1012, the processor 1001 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1013 can be disposed on a side frame of terminal 1000 and/or underneath display screen 1005. When pressure sensor 1013 is disposed on a side frame of terminal 1000, a user's grip signal on terminal 1000 can be detected, and processor 1001 performs left-right hand recognition or shortcut operation according to the grip signal collected by pressure sensor 1013. When the pressure sensor 1013 is disposed at a lower layer of the display screen 1005, the processor 1001 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 1005. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1014 is used to collect a fingerprint of the user, and the processor 1001 identifies the user according to the fingerprint collected by the fingerprint sensor 1014, or the fingerprint sensor 1014 identifies the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 1001 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. Fingerprint sensor 1014 can be disposed on the front, back, or side of terminal 1000. When a physical key or vendor Logo is provided on terminal 1000, fingerprint sensor 1014 can be integrated with the physical key or vendor Logo.
The optical sensor 1015 is used to collect the ambient light intensity. In one embodiment, the processor 1001 may control the display brightness of the display screen 1005 according to the ambient light intensity collected by the optical sensor 1015. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the display screen 1005 is turned down. In another embodiment, the processor 1001 may also dynamically adjust the shooting parameters of the camera assembly 1006 according to the intensity of the ambient light collected by the optical sensor 1015.
Proximity sensor 1016, also known as a distance sensor, is typically disposed on a front panel of terminal 1000. Proximity sensor 1016 is used to gather the distance between the user and the front face of terminal 1000. In one embodiment, when proximity sensor 1016 detects that the distance between the user and the front surface of terminal 1000 is gradually reduced, processor 1001 controls display screen 1005 to switch from a bright screen state to a dark screen state; when proximity sensor 1016 detects that the distance between the user and the front of terminal 1000 is gradually increased, display screen 1005 is controlled by processor 1001 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in FIG. 10 is not intended to be limiting and that terminal 1000 can include more or fewer components than shown, or some components can be combined, or a different arrangement of components can be employed.
The disclosed embodiment also provides a computer-readable storage medium, which is applied to a terminal, and in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the instruction, the program, the code set, or the set of instructions is loaded and executed by a processor to implement the operations executed by the terminal in the video playing method of the foregoing embodiment.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (10)

1. A video playback method, the method comprising:
in the process of playing an audio file through an audio playing application, when a video file for transmitting product information needs to be played, determining a current foreground operation interface of a terminal;
when the current foreground operating interface is not the audio playing interface of the audio playing application, acquiring audio prompt information corresponding to the video file;
playing the audio prompt information, wherein the audio prompt information is used for prompting a user to watch the video file;
and when the screen state of the terminal is an unlocking state and the current foreground operation interface of the terminal is switched to the audio playing interface of the audio playing application, playing the video file.
2. The method of claim 1, further comprising:
when the current foreground operating interface is a screen locking interface, determining that the current foreground operating interface is not an audio playing interface of the audio playing application; alternatively, the first and second electrodes may be,
when the current foreground running interface is other display interfaces of the audio playing application, determining that the current foreground running interface is not the audio playing interface of the audio playing application; alternatively, the first and second electrodes may be,
and when the current foreground running interface is a display interface in other applications, determining that the current foreground running interface is not an audio playing interface of the audio playing application.
3. The method of claim 1, wherein the audio prompt message comprises a prompt message and an audio message in the video file, and the prompt message is a voice prompt message prompting the user to play the video file;
before the obtaining of the audio prompt information corresponding to the video file, the method further includes:
acquiring the video file and the prompt information;
analyzing the video file to obtain audio information corresponding to the video file;
and synthesizing the prompt information and the audio information to obtain the audio prompt information.
4. The method of claim 1, wherein after the playing the video file, the method further comprises:
and after the video file is played, the audio file is continuously played through the audio playing application.
5. The method of any of claims 1-4, wherein said playing said video file comprises:
determining the playing progress of the audio prompt information;
determining the playing progress of the video file corresponding to the audio prompt information according to the playing progress of the audio prompt information;
and playing the video file according to the playing progress of the video file.
6. The method of any of claims 1-4, wherein the audio prompt is further configured to prompt the user to obtain user benefits;
after the playing the video file, the method further comprises:
determining the user rights and interests corresponding to the audio prompt information, and determining a user identifier in the audio playing application;
and adding the user rights and interests to a user corresponding to the audio playing application according to the user identification.
7. The method according to any one of claims 1-4, further comprising:
in the process of playing the video file, when the video file is detected to be triggered, determining product information transmitted by the video file;
and jumping to a related page of the product according to the product information.
8. The method of claim 1, further comprising:
when an audio file in the audio playing application is played to a node, determining that a video file for transmitting product information needs to be played; alternatively, the first and second electrodes may be,
and when the audio file to be played in the audio playing application is the audio file of the specified type, determining that the video file for transmitting the product information needs to be played.
9. A video playback apparatus, comprising:
the first determining module is used for determining the current foreground operation interface of the terminal when a video file for transmitting product information needs to be played in the process of playing an audio file through an audio playing application;
the first obtaining module is used for obtaining the audio prompt information corresponding to the video file when the current foreground running interface is not the audio playing interface of the audio playing application;
the first playing module is used for playing the audio prompt information, and the audio prompt information is used for prompting a user to watch the video file;
and the second playing module is used for playing the video file when the screen state of the terminal is an unlocked state and the current foreground running interface of the terminal is switched to the audio playing interface of the audio playing application.
10. A terminal, characterized in that it comprises a processor and a memory, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, which is loaded and executed by the processor to implement the operations performed in the video playback method according to any one of claims 1 to 8.
CN201910786755.1A 2019-08-23 2019-08-23 Video playing method and device and terminal Active CN110493635B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910786755.1A CN110493635B (en) 2019-08-23 2019-08-23 Video playing method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910786755.1A CN110493635B (en) 2019-08-23 2019-08-23 Video playing method and device and terminal

Publications (2)

Publication Number Publication Date
CN110493635A CN110493635A (en) 2019-11-22
CN110493635B true CN110493635B (en) 2022-02-01

Family

ID=68553779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910786755.1A Active CN110493635B (en) 2019-08-23 2019-08-23 Video playing method and device and terminal

Country Status (1)

Country Link
CN (1) CN110493635B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112883228A (en) * 2021-02-26 2021-06-01 北京有竹居网络技术有限公司 Recommended video display method, recommended video display device, recommended video display medium and electronic equipment
CN113676777B (en) * 2021-08-18 2024-03-08 上海哔哩哔哩科技有限公司 Data processing method and device
CN114727153A (en) * 2022-04-07 2022-07-08 湖南快乐阳光互动娱乐传媒有限公司 Play control method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615373A (en) * 2008-06-25 2009-12-30 上海乐程文化传播有限公司 A kind of when voice playing the method and apparatus of the visible advertisements of putting soundless
TW201533679A (en) * 2014-02-24 2015-09-01 Soft World Internat Corp System for presenting advertisements in lock state and its implementing method
CN106658115A (en) * 2016-12-16 2017-05-10 深圳市金立通信设备有限公司 Video playing method and mobile terminal
CN107301559A (en) * 2016-04-15 2017-10-27 百度在线网络技术(北京)有限公司 Information-pushing method and device applied to terminal
CN107659831A (en) * 2017-05-19 2018-02-02 腾讯科技(北京)有限公司 Media data processing method, client and storage medium
CN109151496A (en) * 2018-07-25 2019-01-04 维沃移动通信有限公司 A kind of method for playing music, mobile terminal
CN109756784A (en) * 2018-12-21 2019-05-14 广州酷狗计算机科技有限公司 Method for playing music, device, terminal and storage medium
CN109889657A (en) * 2019-01-11 2019-06-14 上海连尚网络科技有限公司 The method and apparatus of information flow and/or Media Stream is shown in locking screen interface

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI514861B (en) * 2013-04-19 2015-12-21 Chih Yao Lin Method for advertising in streaming media
US10068556B2 (en) * 2015-11-18 2018-09-04 Pandora Media, Inc. Procedurally generating background music for sponsored audio

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615373A (en) * 2008-06-25 2009-12-30 上海乐程文化传播有限公司 A kind of when voice playing the method and apparatus of the visible advertisements of putting soundless
TW201533679A (en) * 2014-02-24 2015-09-01 Soft World Internat Corp System for presenting advertisements in lock state and its implementing method
CN107301559A (en) * 2016-04-15 2017-10-27 百度在线网络技术(北京)有限公司 Information-pushing method and device applied to terminal
CN106658115A (en) * 2016-12-16 2017-05-10 深圳市金立通信设备有限公司 Video playing method and mobile terminal
CN107659831A (en) * 2017-05-19 2018-02-02 腾讯科技(北京)有限公司 Media data processing method, client and storage medium
CN109151496A (en) * 2018-07-25 2019-01-04 维沃移动通信有限公司 A kind of method for playing music, mobile terminal
CN109756784A (en) * 2018-12-21 2019-05-14 广州酷狗计算机科技有限公司 Method for playing music, device, terminal and storage medium
CN109889657A (en) * 2019-01-11 2019-06-14 上海连尚网络科技有限公司 The method and apparatus of information flow and/or Media Stream is shown in locking screen interface

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
An Investigation into Android In-App Ad Practice: Implications for App Developers;Boyuan He等;《 IEEE INFOCOM 2018 - IEEE Conference on Computer Communications》;20181011;2465-2473 *
以网易云音乐的广告实践探究视频广告设计中的"一镜到底";潘天旖;《明日风尚》;20180808;379 *

Also Published As

Publication number Publication date
CN110493635A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN110267067B (en) Live broadcast room recommendation method, device, equipment and storage medium
CN109600678B (en) Information display method, device and system, server, terminal and storage medium
CN111031386B (en) Video dubbing method and device based on voice synthesis, computer equipment and medium
CN108419113B (en) Subtitle display method and device
CN109729372B (en) Live broadcast room switching method, device, terminal, server and storage medium
CN109327608B (en) Song sharing method, terminal, server and system
CN110061900B (en) Message display method, device, terminal and computer readable storage medium
CN110248236B (en) Video playing method, device, terminal and storage medium
CN111359209B (en) Video playing method and device and terminal
CN113411680B (en) Multimedia resource playing method, device, terminal and storage medium
CN110418152B (en) Method and device for carrying out live broadcast prompt
CN110493635B (en) Video playing method and device and terminal
CN110533585B (en) Image face changing method, device, system, equipment and storage medium
CN110290392B (en) Live broadcast information display method, device, equipment and storage medium
CN112118477A (en) Virtual gift display method, device, equipment and storage medium
CN113395566B (en) Video playing method and device, electronic equipment and computer readable storage medium
CN111901658A (en) Comment information display method and device, terminal and storage medium
CN111339938A (en) Information interaction method, device, equipment and storage medium
CN111432245B (en) Multimedia information playing control method, device, equipment and storage medium
CN111276122A (en) Audio generation method and device and storage medium
CN111083526B (en) Video transition method and device, computer equipment and storage medium
CN114302160B (en) Information display method, device, computer equipment and medium
CN111402844A (en) Song chorusing method, device and system
CN111628925A (en) Song interaction method and device, terminal and storage medium
CN113609358A (en) Content sharing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant