CN111935361B - Video color ring interaction method and device, electronic equipment and storage medium - Google Patents

Video color ring interaction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111935361B
CN111935361B CN202010660470.6A CN202010660470A CN111935361B CN 111935361 B CN111935361 B CN 111935361B CN 202010660470 A CN202010660470 A CN 202010660470A CN 111935361 B CN111935361 B CN 111935361B
Authority
CN
China
Prior art keywords
video file
target
color ring
video
display
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
CN202010660470.6A
Other languages
Chinese (zh)
Other versions
CN111935361A (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.)
Shenzhen Weier Vision Technology Co.,Ltd.
Original Assignee
Shenzhen Weier Visual Sense Medium 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 Shenzhen Weier Visual Sense Medium Co ltd filed Critical Shenzhen Weier Visual Sense Medium Co ltd
Priority to CN202010660470.6A priority Critical patent/CN111935361B/en
Publication of CN111935361A publication Critical patent/CN111935361A/en
Application granted granted Critical
Publication of CN111935361B publication Critical patent/CN111935361B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42017Customized ring-back tones
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention discloses a video color ring interaction method, a device, electronic equipment and a storage medium, wherein the video color ring interaction method comprises the following steps: obtaining an original video color ring, coding and outputting the original video color ring to obtain a first video file, and displaying and playing the first video file; acquiring an interactive instruction, switching the first video file into a target video file according to the interactive instruction, and displaying and playing the target video file; and controlling display switching based on the display duration, switching the target video file into a first video file, and displaying and playing according to the first video file. By the video color ring back tone interaction method, the richness of the video color ring back tone interaction content can be improved, and the real-time processing capacity of the server can be improved.

Description

Video color ring interaction method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of video processing, and in particular, to a method and an apparatus for video color ring interaction, an electronic device, and a storage medium.
Background
The video color ring is a special service of a mobile communication network, and the heard color ring is evolved into the watched color ring. When a user makes a voice call, the user can experience a section of high-definition short video instead of hearing a section of traditional polyphonic ringtone music before the call is connected. The video color ring interaction is added into the interaction of the user on the basis of the video color ring, and the user can not only watch the high-definition short video, but also experience the interaction function of the video color ring in the short video, such as skipping of clicking a link, praise, game trial play and the like. The video color ring back tone interaction provides more possibilities for the development of the video color ring back tone, converts the single watching video color ring back tone into selective interaction, and further enhances the effect of the video color ring back tone advertising.
The interactive mode with too high frequency has high requirement on the real-time processing capability of the server, and the server cannot smoothly process video content in the existing communication network, so that the experience of a user when using an interactive function is poor.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a video color ring interaction method, which can improve the richness of the video color ring interaction content and reduce the requirement on the real-time processing capacity of a server.
The invention also provides a video color ring interaction device.
The invention also provides video color ring back tone interaction electronic equipment.
The invention also provides a computer readable storage medium.
The method for video color ring interaction according to the first aspect embodiment of the invention comprises the following steps:
obtaining an original video color ring, coding and outputting the original video color ring to obtain a first video file, and displaying and playing the first video file;
acquiring an interactive instruction, switching the first video file into a target video file according to the interactive instruction, and displaying and playing the target video file;
and controlling display switching based on the display duration, switching the target video file into the first video file, and displaying and playing according to the first video file.
The video color ring interaction method according to the first aspect of the invention has at least the following beneficial effects: firstly, a first video file is obtained by encoding and outputting an original video color ring, and normal display and play can be performed according to the first video file; secondly, when the interactive instruction is obtained, the first video file can be switched into a target video file according to the interactive instruction, and the target video file is displayed and played, so that the interactive function of the video color ring can be realized; and finally, the display switching can be controlled based on the display duration, the target video file is switched into the first video file, and the display and the playing are continued according to the first video file, so that the richness of the video color ring interactive content can be improved, and the real-time processing capacity of the server can be improved.
According to some embodiments of the present invention, the controlling display switching based on display duration to switch the target video file to a first video file for display and play includes: decoding and displaying the first video file to obtain a first video color ring, and decoding and displaying the target video file to obtain a target video color ring; controlling the target video color ring to display and play according to the display duration; and switching the target video color ring back tone into the first video color ring back tone, and controlling the first video color ring back tone to display and play.
According to some embodiments of the present invention, the encoding and outputting the original video color ring to obtain a first video file includes: acquiring a first communication network bandwidth, a first resolution and a first frame rate; and coding and outputting the original video color ring according to the first communication network bandwidth, the first resolution and the first frame rate to obtain a first video file.
According to some embodiments of the present invention, the encoding and outputting the original video color ring according to the first communication network bandwidth, the first resolution, and the first frame rate to obtain a first video file includes: coding and outputting the original video color ring according to the first communication network bandwidth, the first resolution and the first frame rate to obtain a first coded video file; acquiring a first preset slicing time length; and slicing the first coded video file according to the first preset slicing time to obtain a plurality of first audio and video file fragments, and obtaining a first video file according to the plurality of first audio and video file fragments.
According to some embodiments of the present invention, the obtaining an interactive instruction, and switching the first video file to a target video file according to the interactive instruction, includes: acquiring a target communication network bandwidth, a target resolution and a target frame rate according to the interactive instruction; coding and outputting the original video color ring according to the target communication network bandwidth, the target resolution and the target frame rate to obtain a target video file; and switching the first video file into the target video file.
According to some embodiments of the present invention, the encoding and outputting the original video color ring according to the target communication network bandwidth, the target resolution, and the target frame rate to obtain a target video file includes: coding and outputting the target audio and video file fragments according to the target communication network bandwidth, the target resolution and the target frame rate to obtain a second coded video file; acquiring a second preset slicing time; and slicing the second coded video file according to the second preset slicing duration to obtain a plurality of target audio and video file fragments, and obtaining a target video file according to the plurality of target audio and video file fragments.
According to some embodiments of the present invention, the switching the first video file to a target video file according to the interactive instruction, and performing display playing according to the target video file includes: acquiring transmission delay for switching the first video file into the target video file; and controlling the target video file to display and play according to the transmission delay. .
The video color ring interaction device according to the second aspect embodiment of the present invention includes:
the first display module is used for acquiring an original video color ring, coding and outputting the original video color ring to obtain a first video file, and displaying and playing the first video file;
the interactive module is used for acquiring an interactive instruction, switching the first video file into a target video file according to the interactive instruction, and displaying and playing the target video file;
and the second display module is used for controlling display switching based on the display duration, switching the target video file into a first video file, and displaying and playing according to the first video file.
The video color ring interaction device according to the embodiment of the second aspect of the invention at least has the following beneficial effects: by utilizing the video polyphonic ringtone interaction method of the embodiment of the first aspect of the invention, the original video polyphonic ringtone is obtained through the first display module, the original video polyphonic ringtone is coded and output to obtain the first video file, the display and play are carried out according to the first video file, then the interaction instruction is obtained through the interaction module, the first video file is switched into the target video file according to the interaction instruction, the display and play are carried out according to the target video file, finally the display and switch are controlled through the second display module based on the display duration, the target video file is switched into the first video file, and the display and play are carried out according to the first video file, so that the richness of the interactive content of the video polyphonic ringtone can be improved, and the real-time processing capability of a server can be improved.
The video color ring back tone interaction electronic equipment provided by the third aspect of the invention comprises: at least one processor, and a memory communicatively coupled to the at least one processor; the memory stores instructions, and the instructions are executed by the at least one processor, so that the at least one processor implements the video color ring interaction method according to the first aspect when executing the instructions.
The video color ring back tone interaction electronic equipment according to the embodiment of the third aspect of the invention at least has the following beneficial effects: by using the video color ring back tone interaction method of the embodiment of the first aspect of the invention, the richness of the video color ring back tone interaction content can be improved, and the real-time processing capability of the server can be improved.
According to a fourth aspect of the present invention, there is provided a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the video polyphonic ringtone interaction method of the first aspect.
The computer-readable storage medium according to the fourth aspect of the present invention has at least the following advantages: by using the video color ring back tone interaction method of the embodiment of the first aspect of the invention, the richness of the video color ring back tone interaction content can be improved, and the real-time processing capability of the server can be improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart of a video color ring interaction method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating switching of a target video file to a first video file for displaying and playing according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a video color ring interaction device according to an embodiment of the present invention;
fig. 4 is a functional block diagram of an electronic device for video color ring interaction according to an embodiment of the present invention.
Reference numerals: the display device comprises a first display module 300, an interaction module 310, a second display module 320, a processor 400, a memory 410, a data transmission module 420, a camera 430 and a display screen 440.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, unless otherwise explicitly limited, terms such as arrangement, installation, connection and the like should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific contents of the technical solutions.
Referring to fig. 1, a method for interactively displaying a video color ring according to an embodiment of the first aspect of the present invention includes:
step S100, obtaining an original video color ring, encoding and outputting the original video color ring to obtain a first video file, and displaying and playing the first video file.
The original video color ring back tone can be video content to be played as the video color ring back tone, and the video color ring back tone is as follows: a user dials a voice telephone or a video telephone under a VoLTE network, and a section of video content can be seen before a call is connected; the first video file can be a set of audio and video file fragments which can be independently decoded under the condition that the original video color ring is normally played. Optionally, the original video color ring may be obtained according to a requirement, for example, the original video color ring may be obtained from a server. The original video color ring back tone can be encoded and output according to a certain limiting condition to obtain a first video file, for example, it is assumed that the obtained first video file is C0Ti, and Ti is the ith unit time slice. The decoding display play can be performed according to the first video file C0 Ti.
Step S110, an interactive instruction is obtained, the first video file is switched into a target video file according to the interactive instruction, and display and play are carried out according to the target video file.
The interactive instruction can be an instruction generated according to the interactive function selected by the user; the target video file can be a set of audio and video file fragments which can be independently decoded and are selected according to the interactive instruction, the target video file can be obtained by encoding and outputting the original video color ring, and different interactive instructions correspond to different target video files. For example, if the interactive instruction is a like instruction, the target video file corresponding to the like instruction may be selected according to the like instruction; if the interactive instruction is a reward instruction, the target video file corresponding to the reward instruction can be selected according to the reward instruction. If the user selects the m-interactive function, the corresponding target video file may be selected according to the m-interactive function, for example, the selected target video file is CmTi, and then the first video file C0Ti may be switched to the target video file CmTi, so that decoding, displaying and playing may be performed according to the target video file CmTi.
And step S120, controlling display switching based on the display duration, switching the target video file into a first video file, and displaying and playing according to the first video file.
The display duration may be a preset time length for displaying and playing the target video file. After the target video file is displayed and played for a period of time, the target video file can be switched to a first video file, and the video color ring can be played normally according to the first video file. Optionally, assuming that the display duration is 2 seconds, the target video file may be switched to the first video file after being displayed and played for 2 seconds according to the target video file, and the target video file is displayed and played according to the first video file, so that the video polyphonic ringtone may continue to be played normally.
Firstly, encoding and outputting an original video color ring to obtain a first video file, and performing normal display and play according to the first video file; secondly, when the interactive instruction is obtained, the first video file can be switched into a target video file according to the interactive instruction, and the target video file is displayed and played, so that the interactive function of the video color ring can be realized; and finally, the display switching can be controlled based on the display duration, the target video file is switched into the first video file, and the display and the playing are continued according to the first video file, so that the richness of the video color ring interactive content can be improved, and the real-time processing capacity of the server can be improved.
Referring to fig. 2, in some embodiments of the present invention, controlling display switching based on a display duration, and switching a target video file to a first video file for display and play includes:
step S200, decoding and displaying the first video file to obtain a first video color ring, and decoding and displaying the target video file to obtain a target video color ring. The first video color ring back tone can be video content obtained after decoding and displaying according to the first video file, and the target video color ring back tone can be video content obtained after decoding and displaying according to the target video file. Optionally, the first video file is a set of audio/video file fragments that the original video color ring can be decoded independently under the condition of normal playing, for example, C0Ti ═ { C0T1, C0T2, … …, C0Tk } (k ∈ R), so that each audio/video file fragment in the first video file can be decoded separately, for example, C0T1, C0T2, … …, and C0Tk are decoded separately to obtain the first video color ring. Optionally, the target video file is a set of independently decodable audio and video file fragments selected according to the interactive instruction, for example, CmTi ═ { CmT1, CMT2, … …, and CmTk }, so that each audio and video file fragment in the target video file can be decoded separately, for example, CmT1, CMT2, … …, and CmTk are decoded separately to obtain the target video color ring.
And step S210, controlling the target video color ring to display and play according to the display duration.
Optionally, when the interaction instruction is obtained, the target video color ring can be controlled to display and play. And if the display time is 3 seconds, the target video color ring can be controlled to play for 3 seconds, so that the display and play of the target video color ring can be realized.
Step S220, the target video color ring is switched to the first video color ring, and the first video color ring is controlled to be displayed and played.
Optionally, after the target video color ring is controlled to be played according to the display duration, the target video color ring can be switched to the first video color ring, so that the video color ring can be continuously and normally played. Optionally, it is assumed that after the target video color ring is controlled to play for 3 seconds, the target video color ring disappears and is switched to the first video color ring, that is, the first video color ring is switched to be displayed and played again, so that the first video color ring can be controlled to be displayed and played. The first video color ring back tone and the target video color ring back tone are obtained by respectively decoding and displaying the first video file and the target video file, then the target video color ring back tone is controlled to be displayed and played according to the display duration, after the target video color ring back tone is played, the target video color ring back tone can be switched into the first video color ring back tone, the first video color ring back tone continues to be played normally, the interactive display of the video color ring back tone can be realized according to the requirements of users, the real-time special effect processing on the original video color ring back tone is not needed, the real-time processing capability requirement on a service end is greatly reduced, and the concurrency capability of a single server is facilitated to be improved.
In some embodiments of the present invention, encoding and outputting an original video color ring to obtain a first video file includes:
a first communication network bandwidth, a first resolution, and a first frame rate are obtained. The first communication network bandwidth may be a capability of transmitting data in the communication network corresponding to the original video color ring under a normal playing condition, the first resolution may be a precision of a screen image corresponding to the original video color ring under the normal playing condition, and the first frame rate may be a frequency of the original video color ring continuously appearing on the display corresponding to the original video color ring under the normal playing condition. Optionally, the bandwidth of the first communication network, the first resolution, and the first frame rate may be used as limiting conditions for encoding and outputting the original video color ring.
And coding and outputting the original video color ring according to the first communication network bandwidth, the first resolution and the first frame rate to obtain a first video file. Optionally, the original video color ring back tone may be limited to be encoded and output according to the first communication network bandwidth, the first resolution, and the first frame rate, that is, encoding processing is performed on the original video color ring back tone during normal playing, so as to obtain the first video file. And limiting and coding the original video color ring according to the first communication network bandwidth, the first resolution and the first frame rate to output, so as to obtain a set of audio and video files capable of being independently decoded, namely the first video file, and sequentially decoding and displaying the first video file, so that the simple processing of the original video color ring is realized.
In some embodiments of the present invention, encoding and outputting an original video color ring according to a first communication network bandwidth, a first resolution, and a first frame rate to obtain a first video file, includes:
and coding and outputting the original video color ring according to the first communication network bandwidth, the first resolution and the first frame rate to obtain a first coded video file. The first encoded video file may be an audio/video file obtained by limiting and encoding the original video color ring according to the first communication network bandwidth, the first resolution and the first frame rate. The original video color ring can be encoded according to the first communication network bandwidth, the first resolution and the first frame rate to obtain a first encoded video file, and the first encoded video file can be used for slicing processing.
And acquiring a first preset slicing time length. Wherein the content of the first and second substances,the first preset slicing time duration may be a time length corresponding to each audio/video file slice in the first video file that can be independently decoded, and the first preset slicing time duration may be set according to a requirement. Optionally, assume a first preset slice duration t0Get t as above for 1 second0. Can be compared with t0The method is used for slicing the first coding video file to obtain a plurality of audio and video file slices which can be independently decoded.
And slicing the first coded video file according to a first preset slicing time to obtain a plurality of first audio and video file fragments, and slicing according to the plurality of first audio and video files to obtain a first video file. The first audio/video file fragment can be an independently decodable audio/video file obtained by slicing the original video color ring. Optionally, the first encoded video file may be sliced according to a first preset slice duration, for example, assuming that the first preset slice duration is t0For example, a plurality of first audio/video file fragments may be obtained as C0T1, C0T2, C0T3, … …, and C0Tk (k ∈ R), and then C0T1, C0T2, C0Ti3, … …, and C0Tk may be sequentially combined to obtain the first video file C0Ti ═ C0T1, C0T2, C0Ti3, … …, and C0Tk }. The method comprises the steps of slicing a first coded video file according to a first preset slicing duration to obtain a plurality of first audio and video file fragments capable of being independently decoded, obtaining a first video file according to the plurality of first audio and video file fragments, sequentially decoding and displaying each first audio and video file fragment in the first video file, switching the first video file into a target video file in time after an interaction instruction is obtained, switching the target video file into the first video file after the target video file is displayed and played according to the target video file, continuously and normally playing the video color ring, achieving interaction of the video color ring and improving the richness of video color ring interaction content.
In some embodiments of the present invention, obtaining the interactive instruction, and switching the first video file to the target video file according to the interactive instruction includes:
and acquiring the bandwidth of the target communication network, the target resolution and the target frame rate according to the interactive instruction. The target communication network bandwidth may be the capability of the target video file to transfer data in the communication network, the target resolution may be the precision of the screen image corresponding to the target video file during playing, and the target frame rate may be the frequency of the continuous appearance of the target video file on the display during playing. Optionally, different interactive instructions correspond to different target video files, so that the target communication network bandwidth, the target resolution and the target frame rate corresponding to the target video files can be obtained according to the interactive instructions. Assuming that the interactive command is a praise command, the corresponding target communication network bandwidth, target resolution and target frame rate may be selected according to the praise command. The obtained target communication network bandwidth, target resolution and target frame rate can be used as limiting conditions for encoding and outputting the original video color ring.
And coding and outputting the original video color ring according to the target communication network bandwidth, the target resolution and the target frame rate to obtain a target video file. Optionally, the original video color ring back tone may be limited and coded and output according to the target communication network bandwidth, the target resolution and the target frame rate, that is, the original video color ring back tone is interactively processed according to the requirement of the interactive instruction to obtain a set of audio and video files that can be independently decoded, that is, the target video file is obtained, and the target video file may be used for decoding and displaying.
And switching the first video file into a target video file. Optionally, the first video file may be switched to a corresponding target video file according to the interaction instruction, and may be displayed and played according to the target video file. For example, assuming that the interactive instruction is a praise instruction, the target video file selected and obtained according to the praise instruction is a praise video file, the first video file (i.e., the video file of the original video polyphonic ringtone under the normal playing condition) may be switched to the praise video file, and the display and play are performed according to the praise video file, i.e., the original video polyphonic ringtone with the praise picture is played, so that the interactive function of the video polyphonic ringtone is realized, and the requirement on the real-time processing capability of the server is greatly reduced.
In some embodiments of the present invention, encoding and outputting an original video color ring according to a target communication network bandwidth, a target resolution, and a target frame rate to obtain a target video file, includes:
and coding and outputting the target audio and video file fragments according to the target communication network bandwidth, the target resolution and the target frame rate to obtain a second coded video file. The second encoded video file may be an audio/video file obtained by limiting and encoding the original video color ring according to the template communication network bandwidth, the template resolution and the target frame rate. Optionally, the original video color ring may be encoded according to the target communication network bandwidth, the target resolution, and the target frame rate to obtain a second encoded video file, and the second encoded video file may be used for slice processing.
And acquiring a second preset slicing time length. The second preset slicing time duration can be the time length of each independently decodable audio/video file slice in the target video file to drink, and the second preset slicing time duration can be set according to requirements. Optionally, assume that the second preset slice duration is t1Get t as above for 1 second1. T1 can be used to encode and output the original video color ring back tone into a plurality of audio/video file fragments which can be decoded independently.
And slicing the second coded video file according to a second preset slicing time to obtain a plurality of target audio and video file fragments, and obtaining a target video file according to the plurality of target audio and video file fragments. The target audio/video file fragment can be an independently decodable audio/video file obtained by slicing the original video color ring. Optionally, the second encoded video file may be sliced according to a second preset slicing duration, for example, assuming that the second preset slicing duration is t1 ═ 1 second, the first encoded video file may be sliced according to the second preset slicing duration to obtain a plurality of target audio/video file slices, for example, a plurality of target audio/video file slices may be obtained as CMT1, CMT2, CMT3, … …, and CmTk, and then CMT1, CMT2, CMT3, … …, and CmTk may be sequentially combined to obtain a target video file CmTi ═ CMT1, CMT2, … …, and CmTk }. The second coded video file is sliced according to the second preset slicing duration to obtain a plurality of target audio and video file fragments capable of being independently decoded, the target video file can be obtained according to the plurality of target audio and video file fragments, each target audio and video file fragment in the target video file can be sequentially decoded and displayed, the first video file can be timely switched to the target video file after the interaction instruction is obtained, the target video file can be switched to the first video file after the target video file is displayed and played, the video polyphonic ringtone can be continuously and normally played, the interaction of the video polyphonic ringtone is realized, and the richness of the video polyphonic ringtone interaction content is improved.
In some embodiments of the present invention, switching the first video file into a target video file according to the interactive instruction, and performing display and play according to the target video file includes:
and acquiring transmission delay for switching the first video file into the target video file. The transmission delay may be a communication transmission delay time for transmitting the target video file to the terminal by the server after the target video file is obtained according to the interactive instruction. Optionally, since there is a transmission delay when the first video file is switched to the target video file, the transmission delay may be obtained, and the display and play of the video color ring may be controlled according to the transmission delay.
And controlling the target video file to display and play according to the transmission delay. Optionally, the display and play of the target video file may be controlled according to the transmission delay, so that the video polyphonic ringtone may be smoothly played in the interaction process. Assuming a transmission delay of tpAssuming that the time for inputting the interactive instruction by the user is n seconds, the target video file can be controlled to be n + tpAnd the second is decoded, displayed and played. By acquiring the transmission delay and controlling the target video file to display and play according to the transmission delay, the problem that the interactive playing of the video color ring is not smooth due to the transmission delay can be solved.
As shown in fig. 3, the video polyphonic ringtone interaction apparatus provided in the embodiment of the second aspect of the present invention includes:
the first display module 300 is configured to obtain an original video color ring, encode and output the original video color ring to obtain a first video file, and display and play the first video file;
the interaction module 310 is configured to obtain an interaction instruction, switch the first video file to a target video file according to the interaction instruction, and display and play the target video file;
the second display module 320 is configured to control display switching based on the display duration, switch the target video file into the first video file, and perform display and play according to the first video file.
The video polyphonic ringtone interaction device can execute the video polyphonic ringtone interaction method provided by the embodiment of the first aspect of the invention. By using the video color ring back tone interaction method of the embodiment of the first aspect of the invention, the richness of the video color ring back tone interaction content can be improved, and the real-time processing capability of the server can be improved.
In some embodiments of the present invention, controlling display switching based on display duration, and switching a target video file to a first video file for display and play includes: the first display module 300 is further configured to decode and display the first video file to obtain a first video color ring, and decode and display the target video file to obtain a target video color ring; the second display module 320 is further configured to control the target video color ring to be displayed and played according to the display duration; the second display module 320 is further configured to switch the target video color ring to the first video color ring and control the first video color ring to display and play.
In some embodiments of the present invention, encoding and outputting an original video color ring to obtain a first video file includes: acquiring a first communication network bandwidth, a first resolution and a first frame rate; the first display module 300 is further configured to encode and output the original video color ring according to the first communication network bandwidth, the first resolution, and the first frame rate to obtain a first video file.
In some embodiments of the present invention, encoding and outputting an original video color ring according to a first communication network bandwidth, a first resolution, and a first frame rate to obtain a first video file, includes: the first display module 300 is further configured to encode and output the original video color ring according to the first communication network bandwidth, the first resolution, and the first frame rate to obtain a first encoded video file; acquiring a first preset slicing time length; and slicing the first coded video file according to a first preset slicing time to obtain a plurality of first audio and video file fragments, and slicing according to the plurality of first audio and video files to obtain a first video file.
In some embodiments of the present invention, obtaining the interactive instruction, and switching the first video file to the target video file according to the interactive instruction includes: acquiring a target communication network bandwidth, a target resolution and a target frame rate according to the interactive instruction; the second display module 320 is further configured to encode and output the original video color ring according to the target communication network bandwidth, the target resolution, and the target frame rate to obtain a target video file; and switching the first video file into a target video file.
In some embodiments of the present invention, encoding and outputting an original video color ring according to a target communication network bandwidth, a target resolution, and a target frame rate to obtain a target video file, includes: the second display module 320 is further configured to encode and output the target audio/video file fragments according to the target communication network bandwidth, the target resolution and the target frame rate to obtain a second encoded video file; acquiring a second preset slicing time; the second display module 320 is further configured to slice the second encoded video file according to a second preset slicing duration to obtain a plurality of target audio/video file fragments, and obtain a target video file according to the plurality of target audio/video file fragments.
In some embodiments of the present invention, switching the first video file into a target video file according to the interactive instruction, and performing display and play according to the target video file includes: the interaction module is also used for acquiring the transmission delay for switching the first video file into the target video file; and controlling the target video file to display and play according to the transmission delay.
Referring to fig. 4, an embodiment of the third aspect of the present invention further provides an internal structure diagram of an electronic device for video color ring back tone interaction, including: at least one processor 400, and a memory 410 communicatively coupled to the at least one processor 400; and the system also comprises a data transmission module 420, a camera 430 and a display screen 440.
The processor 400 is configured to execute the video polyphonic ringtone interaction method in the first embodiment by calling a computer program stored in the memory 410.
The memory, as a non-transitory storage medium, may be used to store a non-transitory software program and a non-transitory computer-executable program, such as the video color ring interaction method in the embodiment of the first aspect of the present invention. The processor implements the video color ring interaction method in the above-described first embodiment by running a non-transitory software program and instructions stored in the memory.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store and execute the video color ring interaction method in the embodiment of the first aspect. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The non-transitory software program and instructions required to implement the video polyphonic ringtone interaction method in the first aspect of the embodiment are stored in a memory, and when being executed by one or more processors, the video polyphonic ringtone interaction method in the first aspect of the embodiment is executed.
Embodiments of the fourth aspect of the present invention also provide a computer-readable storage medium storing computer-executable instructions for: the video color ring interaction method in the first aspect embodiment is executed.
In some embodiments, the storage medium stores computer-executable instructions, which are executed by one or more control processors, for example, by one of the processors in the electronic device of the second aspect, and may cause the one or more processors to execute the video ring back tone interaction method in the first aspect.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (9)

1. The video color ring back tone interaction method is characterized by comprising the following steps:
obtaining an original video color ring, coding and outputting the original video color ring to obtain a first video file,
the method specifically comprises the following steps:
acquiring a first communication network bandwidth, a first resolution and a first frame rate;
coding and outputting the original video color ring according to the first communication network bandwidth, the first resolution and the first frame rate to obtain the first video file;
displaying and playing the first video file;
acquiring an interactive instruction, switching the first video file into a target video file according to the interactive instruction, and displaying and playing the target video file;
and controlling display switching based on the display duration, switching the target video file into the first video file, and displaying and playing according to the first video file.
2. The method according to claim 1, wherein switching the target video file to the first video file, and performing display playing according to the first video file comprises:
decoding and displaying the target video file to obtain a target video color ring, and decoding and displaying the first video file to obtain a first video color ring;
controlling the target video color ring to display and play according to the display duration;
and switching the target video color ring back tone into the first video color ring back tone, and controlling the first video color ring back tone to display and play.
3. The method according to claim 1, wherein said encoding and outputting the original video color ring according to the first communication network bandwidth, the first resolution, and the first frame rate to obtain the first video file comprises:
coding and outputting the original video color ring according to the first communication network bandwidth, the first resolution and the first frame rate to obtain a first coded video file;
acquiring a first preset slicing time length;
and slicing the first coded video file according to the first preset slicing time to obtain a plurality of first audio and video file fragments, and obtaining a first video file according to the plurality of first audio and video file fragments.
4. The method of claim 1, wherein the obtaining the interactive instruction, and switching the first video file to a target video file according to the interactive instruction comprises:
acquiring a target communication network bandwidth, a target resolution and a target frame rate according to the interactive instruction;
coding and outputting the original video color ring according to the target communication network bandwidth, the target resolution and the target frame rate to obtain a target video file;
and switching the first video file into the target video file.
5. The method of claim 4, wherein the encoding and outputting the original video color ring according to the target communication network bandwidth, the target resolution, and the target frame rate to obtain a target video file comprises:
coding and outputting the original video color ring according to the target communication network bandwidth, the target resolution and the target frame rate to obtain a second coded video file;
acquiring a second preset slicing time;
and slicing the second coded video file according to the second preset slicing duration to obtain a plurality of target audio and video file fragments, and obtaining a target video file according to the plurality of target audio and video file fragments.
6. The method according to claim 5, wherein the switching the first video file into a target video file according to the interactive instruction, and performing display playing according to the target video file comprises:
acquiring transmission delay for switching the first video file into the target video file;
and controlling the target video file to display and play according to the transmission delay.
7. The video color ring back tone interaction device is characterized by comprising:
the first display module is used for acquiring the original video color ring and coding and outputting the original video color ring to obtain a first video file,
the method specifically comprises the following steps:
acquiring a first communication network bandwidth, a first resolution and a first frame rate;
coding and outputting the original video color ring according to the first communication network bandwidth, the first resolution and the first frame rate to obtain the first video file;
displaying and playing the first video file;
the interactive module is used for acquiring an interactive instruction, switching the first video file into a target video file according to the interactive instruction, and displaying and playing the target video file;
and the second display module is used for controlling display switching based on the display duration, switching the target video file into a first video file, and displaying and playing according to the first video file.
8. Video color ring back tone interactive electronic equipment, characterized by comprising:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions for execution by the at least one processor to cause the at least one processor to implement the video CRBT interaction method of any of claims 1 to 6 when executing the instructions.
9. Computer-readable storage medium, characterized in that the computer storage medium stores computer-executable instructions for causing a computer to perform the video coloring ring back tone interaction method according to any one of claims 1 to 6.
CN202010660470.6A 2020-07-10 2020-07-10 Video color ring interaction method and device, electronic equipment and storage medium Active CN111935361B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010660470.6A CN111935361B (en) 2020-07-10 2020-07-10 Video color ring interaction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010660470.6A CN111935361B (en) 2020-07-10 2020-07-10 Video color ring interaction method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111935361A CN111935361A (en) 2020-11-13
CN111935361B true CN111935361B (en) 2021-09-21

Family

ID=73312760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010660470.6A Active CN111935361B (en) 2020-07-10 2020-07-10 Video color ring interaction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111935361B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697566A (en) * 2009-10-16 2010-04-21 苏成春 VoIP based display system and method of calling/called two-way multimedia ring back tone
CN106603466A (en) * 2015-10-15 2017-04-26 中国移动通信集团公司 Media capability consultation method and device when network switching

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252780A (en) * 2008-04-02 2008-08-27 华为技术有限公司 Method and apparatus for playing medium stream as well as user terminal
JP5237174B2 (en) * 2009-04-09 2013-07-17 Kddi株式会社 Content editing method, content server, system, and program for editing original content by portable terminal
CN101931910B (en) * 2010-08-25 2012-12-26 杭州东信北邮信息技术有限公司 Calling polyphonic ringtone system and implementation method thereof
CN106713679A (en) * 2015-11-13 2017-05-24 中兴通讯股份有限公司 Method and device for pushing coloring ring back tone service
CN106131610A (en) * 2016-06-28 2016-11-16 乐视控股(北京)有限公司 The online broadcasting method of video, equipment and device
CN110891123B (en) * 2018-09-07 2021-10-26 华为技术有限公司 Interactive information transmission method and device
CN110430453B (en) * 2019-08-28 2022-03-25 咪咕视讯科技有限公司 Video multi-code-rate switching processing method and device, electronic equipment and storage medium
CN111246150A (en) * 2019-12-30 2020-06-05 咪咕视讯科技有限公司 Control method, system, server and readable storage medium for video conference

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697566A (en) * 2009-10-16 2010-04-21 苏成春 VoIP based display system and method of calling/called two-way multimedia ring back tone
CN106603466A (en) * 2015-10-15 2017-04-26 中国移动通信集团公司 Media capability consultation method and device when network switching

Also Published As

Publication number Publication date
CN111935361A (en) 2020-11-13

Similar Documents

Publication Publication Date Title
EP3562163B1 (en) Audio-video synthesis method and system
CN105025327B (en) A kind of method and system of mobile terminal live broadcast
CN110557670B (en) Method, device, terminal and storage medium for playing video in webpage
US7860996B2 (en) Media streaming with seamless ad insertion
US20070217505A1 (en) Adaptive Decoding Of Video Data
RU2610451C2 (en) Method, apparatus and system for recording video conference
CN110662114B (en) Video processing method and device, electronic equipment and storage medium
US9473549B2 (en) Method of playing internet video and related electronic device
CN1509104A (en) Multi-media information service method and system
US11438645B2 (en) Media information processing method, related device, and computer storage medium
CN108076383A (en) Adaptive identifying, control method, set-top box and electronic programming server
CN111464704B (en) Method, server, terminal and storage medium for implementing color ring back tone service
CN113727199A (en) HLS slice rapid playing starting method
CN111447457A (en) Live video processing method and device and storage medium
CN108966006A (en) Playback method, browser equipment and the readable storage medium storing program for executing of video
CN113301355B (en) Video transmission, live broadcast and playing method, equipment and storage medium
CN103635938B (en) For processing the method for video streaming data, streaming client in streaming client
CN109561337A (en) The playing method and device of preview video
CN111935361B (en) Video color ring interaction method and device, electronic equipment and storage medium
CN111010620B (en) Method and device for multimedia resource carousel, electronic equipment and storage medium
US8612552B2 (en) Method for buffering streaming data and a terminal device
CN107005658A (en) The system and method for realizing interaction special efficacy
CN115225902A (en) High-resolution VR cloud game solution method based on scatter coding and computer equipment
CN112954380A (en) Video playing processing method and device
CN117291810B (en) Video frame processing method, device, 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
CP03 Change of name, title or address

Address after: 518000 building 101, No. 1, building 10 (M-10, Central District, high tech Zone), Maling Industrial Zone, Maling community, Yuehai street, Nanshan District, Shenzhen, Guangdong

Patentee after: Shenzhen Weier Vision Technology Co.,Ltd.

Address before: 518000 floors 1-2, tefa information technology building, Qiongyu Road, Science Park, Nanshan District, Shenzhen, Guangdong

Patentee before: SHENZHEN WEIER VISUAL SENSE MEDIUM Co.,Ltd.

CP03 Change of name, title or address
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Video RBT interaction method, device, electronic equipment and storage medium

Effective date of registration: 20220125

Granted publication date: 20210921

Pledgee: Bank of Jiangsu Limited by Share Ltd. Shenzhen branch

Pledgor: Shenzhen Weier Vision Technology Co.,Ltd.

Registration number: Y2022440020017

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230111

Granted publication date: 20210921

Pledgee: Bank of Jiangsu Limited by Share Ltd. Shenzhen branch

Pledgor: Shenzhen Weier Vision Technology Co.,Ltd.

Registration number: Y2022440020017

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Video RBT interaction method, device, electronic device and storage medium

Effective date of registration: 20230116

Granted publication date: 20210921

Pledgee: Bank of Jiangsu Limited by Share Ltd. Shenzhen branch

Pledgor: Shenzhen Weier Vision Technology Co.,Ltd.

Registration number: Y2023440020009