CN110611739B - Video color ring playing method, terminal and computer readable storage medium - Google Patents

Video color ring playing method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN110611739B
CN110611739B CN201910754457.4A CN201910754457A CN110611739B CN 110611739 B CN110611739 B CN 110611739B CN 201910754457 A CN201910754457 A CN 201910754457A CN 110611739 B CN110611739 B CN 110611739B
Authority
CN
China
Prior art keywords
color ring
video color
playing
video
window
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
CN201910754457.4A
Other languages
Chinese (zh)
Other versions
CN110611739A (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.)
Migu Cultural Technology Co Ltd
MIGU Music Co Ltd
Original Assignee
Migu Cultural Technology Co Ltd
MIGU Music 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 Migu Cultural Technology Co Ltd, MIGU Music Co Ltd filed Critical Migu Cultural Technology Co Ltd
Priority to CN201910754457.4A priority Critical patent/CN110611739B/en
Publication of CN110611739A publication Critical patent/CN110611739A/en
Application granted granted Critical
Publication of CN110611739B publication Critical patent/CN110611739B/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
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention relates to the field of video playing and discloses a video color ring playing method, a terminal and a computer readable storage medium. The video color ring playing method comprises the following steps: obtaining the aspect ratio of the video color ring; judging whether a playing window exists in the current display interface or not; if the existing playing window does not exist, creating a playing window according to the aspect ratio of the video color ring back tone to form a self-established playing window, wherein the aspect ratio of the self-established playing window is the same as the aspect ratio of the video color ring back tone; and playing the video color ring back tone in the self-established playing window. The video color ring playing method, the terminal and the computer readable storage medium provided by the embodiment of the invention have the advantage that the video color ring is displayed according to a normal picture.

Description

Video color ring playing method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of video playing, and in particular, to a method, a terminal and a computer-readable storage medium for playing a video color ring.
Background
The essence of color ring back tones is a ring back tone, which may be music or other audio content personalized, unlike conventional, relatively monotonous ring back tones. The realization of the color ring back tone service enhances the user experience and expands the profit space of operators. With the development of communication technology, the existing color ring technology is also developed from the color ring technology providing audio to the color ring technology providing video color ring. The existing video color ring technology is mainly realized as follows: the called party customizes the video color ring service at the network side; when a calling party calls a called party, before the called party goes off-hook, if calling user equipment supports video color ring playing, the customized video color ring of the called party is pushed to the calling party.
However, the inventor of the present invention finds that, when a video color ring in the prior art is played by a calling user device, the calling user device often stretches or compresses the video color ring in order to adapt to the shape of a display area, so that a display picture of the video color ring is deformed, the video color ring is normally displayed as shown in fig. 1, and the compressed video color ring is displayed as shown in fig. 2, which affects the viewing experience of a user.
Disclosure of Invention
The embodiment of the invention aims to provide a video color ring playing method and a terminal, so that the video color ring is displayed according to a normal picture.
In order to solve the above technical problem, an embodiment of the present invention provides a method for playing a video color ring, including: obtaining the aspect ratio of the video color ring; judging whether a playing window exists in the current display interface or not; and if the existing playing window does not exist, creating a playing window according to the aspect ratio of the video color ring back tone to form a self-established playing window, wherein the aspect ratio of the self-established playing window is the same as the aspect ratio of the video color ring back tone, and playing the video color ring back tone in the self-established playing window.
An embodiment of the present invention further provides a terminal, including: at least one processor, and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the video CRBT playing method.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the video color ring playing method.
Compared with the prior art, the method and the device have the advantages that before the video color ring is displayed, the aspect ratio of the video color ring is obtained, when the fact that no playing window exists in the current display interface is detected, the playing window is created according to the aspect ratio of the video color ring to form a self-established playing window, and the video color ring is played in the self-established playing window; the self-established playing window is established according to the aspect ratio of the video color ring, the aspect ratio of the self-established playing window is the same as the aspect ratio of the video color ring, and the video color ring can be played according to the aspect ratio of the video color ring when played in the self-established playing window, so that the abnormal playing picture of the video color ring is not caused, and the video color ring is displayed according to the normal picture.
In addition, the determining whether a playing window exists in the current display interface further includes: if the stored playing window exists, judging whether the size of the stored playing window is the same as that of the video color ring; if the size of the played window is the same as that of the video color ring, playing the video color ring in the played window; and if the size of the played window is different from that of the video color ring, performing equal-scale amplification/reduction or clipping processing on the video color ring, and playing the processed video color ring in the played window. When the aspect ratio of the stored playing window is detected to be the same as the aspect ratio of the video color ring, the video color ring is directly played in the stored playing window, and the video color ring can be played according to the aspect ratio of the video color ring, so that the video color ring is displayed according to a normal picture; when the aspect ratio of the stored playing window is detected to be different from the aspect ratio of the video color ring, the video color ring is subjected to equal-proportion amplification/reduction or cutting processing, and the aspect ratio of the display content of the video color ring is not changed after the video color ring is subjected to equal-proportion method/reduction or cutting, so that the abnormal playing picture of the video color ring is not caused, and the video color ring is displayed according to the normal picture.
In addition, the clipping processing of the video color ring specifically includes: cutting the video color ring according to the aspect ratio of the played window; judging whether the area ratio of the clipped video color ring and the video color ring before clipping is smaller than a preset threshold value or not; if the area ratio of the clipped video color ring and the video color ring before clipping is greater than or equal to the preset threshold, playing the clipped video color ring in the stored playing window; and if the area ratio of the clipped video color ring and the video color ring before clipping is smaller than the preset threshold, performing equal-proportion amplification/reduction on the video color ring, and then clipping the video color ring after equal-proportion amplification/reduction according to the aspect ratio of the played window. The method comprises the steps that the video color ring is cut according to the width-to-height ratio of a stored playing window, so that the whole stored playing window can be fully paved when the video color ring is played in the stored playing window, and the utilization rate of the stored playing window is maximized; in addition, the area ratio of the clipped video color ring and the video color ring before clipping is compared with a preset threshold value, so that the clipped video color ring with the area ratio larger than or equal to the preset threshold value can be played in the existing playing window, the clipping area is prevented from being too large, and the main content of the video color ring is ensured not to be clipped.
In addition, the creating a play window according to the aspect ratio of the video color ring to form a self-created play window specifically includes: judging whether the width and the height of the current display interface are both larger than or equal to the width and the height of the video color ring; if so, creating a playing window according to the size of the video color ring to form the self-created playing window; and if not, establishing a playing window according to the width or height of the current display interface and the aspect ratio of the video color ring to form the self-established playing window. When the width and the height of the current display interface are both larger than or equal to the width and the height of the video polyphonic ringtone, a self-established playing window is established according to the width and the height of the video polyphonic ringtone, so that the video polyphonic ringtone can be played in the self-established playing window with the same size without any amplification/reduction processing, and the playing quality of the video polyphonic ringtone is further improved; when one of the width and the height of the current display interface is smaller than the width or the height of the video color ring, the self-built playing window is created according to the width or the height of the current display window and the width-height ratio of the video color ring, and the utilization rate of the current display window can be maximized.
In addition, the obtaining of the aspect ratio of the video polyphonic ringtone specifically includes: detecting whether the protocol resolution is supported or not according to the protocol resolution carried in a transmission protocol sent by a video color ring platform; if the protocol resolution is supported, taking the protocol resolution as the resolution of the video color ring; if the protocol resolution is not supported, sending the currently supported highest resolution to the video color ring platform, and taking the highest resolution as the resolution of the video color ring; and acquiring the aspect ratio of the video color ring according to the resolution of the video color ring. The aspect ratio of the video color ring back tone is obtained according to the resolution of the video color ring back tone, and the obtaining mode is simple and accurate.
In addition, still include: setting a key in the current display interface; and carrying out transparency processing on the key. And carrying out transparent processing on the keys, thereby reducing the interference of the keys on the display of the video color ring.
In addition, still include: setting a key in the current display interface; after the preset duration is displayed on the key, hiding the key; and responding to the click operation of the user, and displaying the key. The keys are hidden after displaying the preset duration, so that the phenomenon that the keys interfere with the display of the video color ring is reduced.
In addition, still include: setting a key in the current display interface; when the key is in a display state, the key is hidden in response to a first trigger operation; and when the key is in a hidden state, responding to a second trigger operation, and displaying the key. And responding to the click operation of the user, and displaying the key. And hiding the key corresponding to the first trigger operation, thereby reducing the interference of the key on the display of the video color ring.
Drawings
FIG. 1 is a diagram illustrating a normal display of a video color ring;
FIG. 2 is a schematic diagram of a video color ring display being distorted;
FIG. 3 is a flowchart of a video CRBT playing method according to a first embodiment of the present invention;
fig. 4 is a flowchart of a procedure for creating a play window in a video polyphonic ringtone playing method according to a first embodiment of the present invention;
FIG. 5 is a flowchart of a video CRBT playing method according to a second embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating a display of a video CRBT after being stretched in equal proportion according to a second embodiment of the present invention;
FIG. 7 is a diagram illustrating clipping a video color ring in a second embodiment of the present invention;
FIG. 8 is a schematic diagram showing a display of a video color ring after being cropped erroneously;
FIG. 9 is a flowchart of a video CRBT playing method according to a third embodiment of the present invention;
FIG. 10 is a flowchart of a video CRBT playing method according to a fourth embodiment of the present invention;
FIG. 11 is a schematic diagram of a key display according to a fourth embodiment of the present invention;
FIG. 12 is a schematic view of a display of a hidden key according to a fourth embodiment of the present invention;
fig. 13 is a flowchart of a video polyphonic ringtone playing method according to a fifth embodiment of the present invention;
fig. 14 is a schematic structural diagram of a terminal according to a sixth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a method for playing a video color ring, and a specific flow is shown in fig. 3, which includes the following steps:
step S101: obtaining the aspect ratio of the video color ring;
specifically, in this step, the aspect ratio of the video color ring can be obtained according to the resolution of the video color ring, and in this embodiment, the resolution of the video color ring refers to the number of effective pixel points of the video color ring in the width direction and the height direction, for example, if the resolution is 320 × 240, the aspect ratio is 4: 3.
further, in this embodiment, the terminal first reads the protocol resolution in the transmission protocol sent by the video color ring platform, and determines whether the current terminal supports video playing at the protocol resolution level; if the current terminal supports video playing of the protocol resolution level, the protocol resolution is used as the resolution of the video color ring, if the current terminal does not support the video playing of the protocol resolution level, the highest resolution supported by the current terminal is used as the resolution of the video color ring, the highest resolution supported by the current terminal is sent to the video color ring platform, and after the video color ring platform receives the highest resolution supported by the current terminal, the video color ring platform sends the video color ring of the highest resolution supported by the current terminal to the current terminal.
Step S102: judging whether a playing window exists in the current display interface or not, if so, executing the step S103;
specifically, in this step, a playing window already exists, that is, a playing window already set in the current display interface; and judging whether a playing window exists in the current display interface or not by detecting the display window, and if the playing window is detected, executing the step S103.
Step S103: and creating a playing window according to the aspect ratio of the video color ring to form a self-created playing window.
Specifically, in this step, the aspect ratio of the self-established playing window is the same as the aspect ratio of the video color ring.
Preferably, in this embodiment, the specific steps of creating a play window according to the aspect ratio of the video color ring to form a self-created play window are shown in fig. 4, and include the following steps:
step S201: and acquiring the width and height of the video color ring and the width and height of the current display interface.
Step S202: judging whether the width and the height of the video color ring are both smaller than or equal to the width and the height of the current display interface; if yes, go to step S203, otherwise go to step S204.
Step S203: and creating a playing window according to the size of the video color ring to form a self-created playing window.
Specifically, in this step, the width and height of the self-established playing window are set to be equal to the width and height of the video color ring. For example, assuming that the width and height of the video polyphonic ringtone are 8 and 6 respectively, and the width and height of the current display interface are 9 and 16 respectively, a play window with the width and height of 8 and 6 respectively is created to form a self-built play window. The video color ring back tone is played in the self-established playing window without any amplification/reduction processing, and the playing quality of the video color ring back tone is further improved.
Step S204: and creating a playing window according to the width or height of the current display interface and the aspect ratio of the video color ring to form a self-created playing window.
Specifically, in this step, a play window is created according to the aspect ratio of the video color ring back tone by using the width or height of the current display interface, so as to form a self-created play window. Namely, the width or height of the self-established playing window is equal to the width or height of the current display interface, and the aspect ratio of the self-established playing window is equal to the aspect ratio of the video polyphonic ringtone. For example, assuming that the width and height of the video polyphonic ringtone are 18 and 6, respectively, and the width and height of the current display interface are 9 and 16, respectively, the self-established play window is set according to the width-to-height ratio of the current display interface to the video polyphonic ringtone, that is, the width and height of the self-established play window are 9 and 3. And a self-built playing window is created according to the width or height of the current display window and the aspect ratio of the video color ring, so that the utilization rate of the current display window can be maximized.
Step S104: and playing the video color ring in the self-established playing window.
Specifically, in this step, if the self-established playing window is the same as the video polyphonic ringtone in size, the video polyphonic ringtone is directly played in the self-established playing window; if the size of the self-established playing window is larger than that of the video polyphonic ringtone, the video polyphonic ringtone is amplified in equal proportion and then played in the self-established playing window; and if the size of the self-established playing window is smaller than that of the video polyphonic ringtone, the video polyphonic ringtone is played in the self-established playing window after being reduced in equal proportion.
Compared with the prior art, the first embodiment of the invention creates the self-established playing area with the same aspect ratio as the video color ring in the current display area, so that the aspect ratio of the video color ring can be kept unchanged in the playing process, and therefore, the display picture of the video color ring is not deformed, and the video color ring is displayed according to the normal picture.
A second embodiment of the present invention relates to a video playing method, and specifically, as shown in fig. 5, the method includes the following steps:
step S301: obtaining the aspect ratio of the video color ring;
step S302: judging whether a playing window exists in the current display interface or not, if so, executing step S303, and if so, executing step S305;
step S303: and creating a playing window according to the aspect ratio of the video color ring to form a self-created playing window.
Step S304: and playing the video color ring in the self-established playing window.
It is to be understood that steps S301 to S304 are substantially the same as steps S101 to S104 in the first embodiment, and specific reference may be made to the detailed description in the first embodiment, which is not repeated herein.
Step S305: and judging whether the size of the played window is the same as that of the video color ring, if so, executing step S306, and if not, executing step S307.
Step S306: and playing the video color ring in the stored playing window.
Step S307: and carrying out equal-scale amplification/reduction or cutting processing on the video color ring and playing the processed video color ring in the existing playing window.
Specifically, in this step, after the video color ring is scaled up/down, at least one of the width and height of the processed video color ring is equal to the width and height of the stored playing window. For example, as shown in fig. 6, assuming that the width and height of the video color ring are 9 and 12, respectively, and the width and height of the stored playing window are 27 and 24, respectively, the enlarged video color ring is played in the stored playing window after the ratio of the width and height of the video color ring is enlarged to 18 and 24. By the arrangement, the utilization rate of the played window can be improved on the premise of ensuring that the aspect ratio of the video color ring is unchanged.
Further, in this step, the video color ring is clipped according to the aspect ratio of the playing window that has been stored. The video color ring is clipped according to the aspect ratio of the stored playing window, so that the clipped video color ring can be played in the stored playing window on the full screen, as shown in fig. 7. Therefore, the utilization rate of the played window is further improved.
Preferably, in this embodiment, after the video color ring is cut according to the aspect ratio of the stored playing window, whether the area ratio of the cut video color ring to the video color ring before cutting is smaller than a preset threshold is determined; if the area ratio of the clipped video color ring and the video color ring before clipping is larger than or equal to a preset threshold value, playing the clipped video color ring in a stored playing window; and if the area ratio of the clipped video color ring and the video color ring before clipping is smaller than a preset threshold value, carrying out equal-proportion amplification/reduction on the video color ring, and then clipping the video color ring after equal-proportion amplification/reduction according to the aspect ratio of the played window. By comparing the area ratio of the clipped video color ring back tone to the video color ring back tone before clipping with the preset threshold, the situation that the main content of the video color ring back tone is clipped as shown in fig. 8 due to the fact that the area ratio of the clipped video color ring back tone to the video color ring back tone before clipping is too small is prevented, namely, the normal display of the main content of the video color ring back tone is ensured.
Compared with the prior art, the video color ring playing method provided by the second embodiment of the invention maintains all technical effects of the first embodiment, and ensures normal display of the video color ring by performing equal-scale amplification/reduction or clipping processing on the video color ring when a playing window exists in a current display interface.
A third embodiment of the present invention relates to a video playing method, and specifically, as shown in fig. 9, the method includes the following steps:
step S401: obtaining the aspect ratio of the video color ring;
step S402: judging whether a playing window exists in the current display interface or not, if so, executing a step S403, and if so, executing a step S405;
step S403: and creating a playing window according to the aspect ratio of the video color ring to form a self-created playing window.
Step S404: and playing the video color ring in the self-established playing window.
It is to be understood that steps S401 to S404 are substantially the same as steps S101 to S104 in the first embodiment, and specific reference may be made to the specific description in the first embodiment, which is not repeated herein.
Step S405: and setting keys in the current display interface, and performing transparent processing on the keys.
Compared with the prior art, the video color ring playing method provided by the third embodiment of the invention maintains all technical effects of the first embodiment, sets the keys in the current display interface, and performs transparent processing on the keys, so that the influence of the keys on the video color ring playing is reduced while the operation of a user is facilitated.
A fourth embodiment of the present invention relates to a video playing method, and specifically, as shown in fig. 10, the method includes the following steps:
step S501: obtaining the aspect ratio of the video color ring;
step S502: judging whether a playing window exists in the current display interface or not, if so, executing a step S503, and if so, executing a step S505;
step S503: and creating a playing window according to the aspect ratio of the video color ring to form a self-created playing window.
Step S504: and playing the video color ring in the self-established playing window.
It is understood that steps S501 to S504 are substantially the same as steps S101 to S104 in the first embodiment, and specific reference may be made to the detailed description in the first embodiment, which is not repeated herein.
Step S505: and setting keys in the current display interface.
Step S506: after the preset duration is displayed by the key, hiding the key; and displaying the keys in response to a user click operation.
Specifically, in the step, timing is performed after the keys are displayed, and the keys are hidden when the timing time reaches the preset time; and displaying the keys in response to a user click operation. FIG. 11 shows a state when the key is displayed; fig. 12 shows a display state when the key is hidden.
Compared with the prior art, the video color ring playing method provided by the fourth embodiment of the invention maintains all technical effects of the first embodiment, sets the keys in the current display interface, and hides the keys after the keys display the preset duration; and the keys are displayed in response to the clicking operation of the user, so that the influence of the keys on the video color ring playing is reduced while the operation of the user is facilitated.
A fourth embodiment of the present invention relates to a video playing method, and specifically, as shown in fig. 13, the method includes the following steps:
step S501: obtaining the aspect ratio of the video color ring;
step S502: judging whether a playing window exists in the current display interface or not, if so, executing a step S503, and if so, executing a step S505;
step S503: and creating a playing window according to the aspect ratio of the video color ring to form a self-created playing window.
Step S504: and playing the video color ring in the self-established playing window.
It is understood that steps S501 to S504 are substantially the same as steps S101 to S104 in the first embodiment, and specific reference may be made to the detailed description in the first embodiment, which is not repeated herein.
Step S505: and setting keys in the current display interface.
Step S506: when the key is in a display state, responding to a first trigger operation, and hiding the key; and when the key is in the hidden state, responding to the second trigger operation and displaying the key.
Specifically, in this step, when the key is in the display state, if the first trigger operation of the user is detected, the key is hidden; and when the key is in the hidden state, if the second trigger operation of the user is detected, displaying the key. The first trigger operation and the second trigger operation are preset operations, may be the same or different, may be preset by a system, may also be user-defined, and are not specifically limited herein.
Compared with the prior art, the video color ring playing method provided by the fourth embodiment of the invention maintains all technical effects of the first embodiment, sets the keys in the current display interface, and hides the keys in response to the first trigger operation when the keys are in the display state; and when the key is in a hidden state, responding to the second trigger operation, displaying the key, so that the influence of the key on the video color ring playing is reduced while the operation of a user is facilitated.
The steps of the above methods are divided for clarity, and the specific implementation order of each step is not limited, and the steps may be combined into one step or some steps may be split, and divided into multiple steps or the order may be exchanged when implemented, and as long as the steps include the same logical relationship, the steps are within the scope of the patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A sixth embodiment of the present invention relates to a terminal, as shown in fig. 14, including: at least one processor 701; and, a memory 702 communicatively coupled to the at least one processor 701; the memory 702 stores instructions executable by the at least one processor 701, and the instructions are executed by the at least one processor 701, so that the at least one processor 701 can execute the video polyphonic ringtone playing method according to the first to fifth embodiments.
The memory 702 and the processor 701 are coupled by a bus, which may comprise any number of interconnecting buses and bridges that couple one or more of the various circuits of the processor 701 and the memory 702. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 701 is transmitted over a wireless medium through an antenna, which receives the data and transmits the data to the processor 701.
The processor 701 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory 702 may be used for storing data used by the processor 701 in performing operations.
A seventh embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program is executed by the processor to implement the embodiments of the video polyphonic ringtone playing method of the first to fifth embodiments.
That is, as can be understood by those skilled in the art, all or part of the steps in the method of the above embodiments may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps in the method of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (9)

1. A method for playing a video color ring is characterized by comprising the following steps:
obtaining the aspect ratio of the video color ring;
judging whether a playing window exists in the current display interface or not;
if the existing playing window does not exist, creating a playing window according to the aspect ratio of the video color ring back tone to form a self-established playing window, wherein the aspect ratio of the self-established playing window is the same as the aspect ratio of the video color ring back tone;
playing the video color ring in the self-established playing window;
if the stored playing window exists, judging whether the size of the stored playing window is the same as that of the video color ring;
if the size of the played window is the same as that of the video color ring, playing the video color ring in the played window;
and if the size of the played window is different from that of the video color ring, performing equal-scale amplification/reduction or clipping processing on the video color ring, and playing the processed video color ring in the played window.
2. The method for playing a video polyphonic ringtone according to claim 1, wherein the clipping the video polyphonic ringtone specifically comprises:
cutting the video color ring according to the aspect ratio of the played window;
judging whether the area ratio of the clipped video color ring and the video color ring before clipping is smaller than a preset threshold value or not;
if the area ratio of the clipped video color ring and the video color ring before clipping is greater than or equal to the preset threshold, playing the clipped video color ring in the stored playing window;
and if the area ratio of the clipped video color ring and the video color ring before clipping is smaller than the preset threshold, performing equal-proportion amplification/reduction on the video color ring, and then clipping the video color ring after equal-proportion amplification/reduction according to the aspect ratio of the played window.
3. The method for playing a video color ring according to claim 1, wherein the creating a playing window according to the aspect ratio of the video color ring to form a self-created playing window specifically comprises:
judging whether the width and the height of the current display interface are both larger than or equal to the width and the height of the video color ring;
if so, creating a playing window according to the size of the video color ring to form the self-created playing window;
and if not, establishing a playing window according to the width or height of the current display interface and the aspect ratio of the video color ring to form the self-established playing window.
4. The method for playing a video color ring according to claim 1, wherein the obtaining of the aspect ratio of the video color ring specifically comprises:
detecting whether the protocol resolution is supported or not according to the protocol resolution carried in a transmission protocol sent by a video color ring platform;
if the protocol resolution is supported, taking the protocol resolution as the resolution of the video color ring;
if the protocol resolution is not supported, sending the currently supported highest resolution to the video color ring platform, and taking the highest resolution as the resolution of the video color ring;
and acquiring the aspect ratio of the video color ring according to the resolution of the video color ring.
5. The method for playing video polyphonic ringtone according to claim 1, further comprising:
setting a key in the current display interface;
and carrying out transparency processing on the key.
6. The method for playing video polyphonic ringtone according to claim 1, further comprising:
setting a key in the current display interface;
after the preset duration is displayed on the key, hiding the key;
and responding to the click operation of the user, and displaying the key.
7. The method for playing video polyphonic ringtone according to claim 1, further comprising:
setting a key in the current display interface;
when the key is in a display state, the key is hidden in response to a first trigger operation;
and when the key is in a hidden state, responding to a second trigger operation, and displaying the key.
8. A terminal, comprising:
at least one processor, and a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the video CRBT playing method of any of claims 1 to 7.
9. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the video color ring playing method according to any one of claims 1 to 7.
CN201910754457.4A 2019-08-15 2019-08-15 Video color ring playing method, terminal and computer readable storage medium Active CN110611739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910754457.4A CN110611739B (en) 2019-08-15 2019-08-15 Video color ring playing method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910754457.4A CN110611739B (en) 2019-08-15 2019-08-15 Video color ring playing method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110611739A CN110611739A (en) 2019-12-24
CN110611739B true CN110611739B (en) 2021-05-25

Family

ID=68890104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910754457.4A Active CN110611739B (en) 2019-08-15 2019-08-15 Video color ring playing method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110611739B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741172B (en) * 2020-06-19 2021-08-17 杭州东信北邮信息技术有限公司 5G interactive video color ring service system and implementation method thereof
CN111787173A (en) * 2020-06-22 2020-10-16 深圳威尔视觉传媒有限公司 Display switching method and device of video color ring, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461295A (en) * 2014-12-03 2015-03-25 广东威创视讯科技股份有限公司 Method and system for regulating video display window of jointing wall
US9240056B2 (en) * 2008-04-02 2016-01-19 Microsoft Technology Licensing, Llc Video retargeting
CN105898615A (en) * 2015-12-25 2016-08-24 乐视网信息技术(北京)股份有限公司 Video display window switching method and device
CN107888984A (en) * 2017-11-15 2018-04-06 北京小米移动软件有限公司 Short video broadcasting method and device
CN109151504A (en) * 2018-09-28 2019-01-04 上海哔哩哔哩科技有限公司 A kind of video adaptive identifying method, apparatus and storage medium
CN109348070A (en) * 2018-12-21 2019-02-15 北京金山安全软件有限公司 Caller identification method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374330B (en) * 2007-08-20 2011-06-01 华为技术有限公司 Video intercommunication gateway equipment, system and method for implementing video call business
CN109803056A (en) * 2017-11-15 2019-05-24 中兴通讯股份有限公司 A kind of method, apparatus and system that video frequency color ring plays

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9240056B2 (en) * 2008-04-02 2016-01-19 Microsoft Technology Licensing, Llc Video retargeting
CN104461295A (en) * 2014-12-03 2015-03-25 广东威创视讯科技股份有限公司 Method and system for regulating video display window of jointing wall
CN105898615A (en) * 2015-12-25 2016-08-24 乐视网信息技术(北京)股份有限公司 Video display window switching method and device
CN107888984A (en) * 2017-11-15 2018-04-06 北京小米移动软件有限公司 Short video broadcasting method and device
CN109151504A (en) * 2018-09-28 2019-01-04 上海哔哩哔哩科技有限公司 A kind of video adaptive identifying method, apparatus and storage medium
CN109348070A (en) * 2018-12-21 2019-02-15 北京金山安全软件有限公司 Caller identification method and device

Also Published As

Publication number Publication date
CN110611739A (en) 2019-12-24

Similar Documents

Publication Publication Date Title
CN110572515B (en) Video color ring management method, color ring platform, terminal, system and storage medium
US20080095330A1 (en) Enhancing interactive voice response systems via messaging
CN103248946B (en) The method and system that a kind of video image quickly transmits
CN107770758A (en) The bluetooth of Baffle Box of Bluetooth returns even method, Baffle Box of Bluetooth and storage medium
CN110611739B (en) Video color ring playing method, terminal and computer readable storage medium
US11178624B2 (en) Method of adjusting transmission power of terminal, mobile terminal, and storage device
CN106775969A (en) A kind of selective operation method and device of application program
CN111464704B (en) Method, server, terminal and storage medium for implementing color ring back tone service
CN109618421B (en) Method and device for reconnecting AP, terminal and storage medium
CN107682535A (en) Based on intelligent mobile phone platform method for remote controlling computer
CN116684856A (en) Bluetooth connection method and device
CN114363666B (en) Video processing method and device and electronic equipment
CN111741174B (en) Video color ring generating method, system, network equipment and storage medium
CN112675535B (en) Display interface adjusting method, device, network equipment and storage medium
CN110941413B (en) Display screen generation method and related device
CN110177176B (en) Method and device for improving conversation tone quality and mobile terminal
CN108377358B (en) Video communication processing method, device and computer storage medium
CN115883725B (en) Video color ring display method, system, equipment and storage medium
DE60308873T2 (en) Event notification by MMS in a portable communication device
CN112020008A (en) Video color ring back tone display method, device and storage medium
CN112541141A (en) Control display callback method, device, terminal and storage medium
CN112905269A (en) Network access method, device, terminal and storage medium of application program
CN113923296A (en) Interface display method and device and computer readable storage medium
US20180295002A1 (en) Radio repeater, sound quality adjustment system, and sound quality adjustment method
KR101235591B1 (en) Mobile terminal and the method with image processing

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