CN112995418B - Video color ring playing method, sending method and related equipment - Google Patents
Video color ring playing method, sending method and related equipment Download PDFInfo
- Publication number
- CN112995418B CN112995418B CN202110151123.5A CN202110151123A CN112995418B CN 112995418 B CN112995418 B CN 112995418B CN 202110151123 A CN202110151123 A CN 202110151123A CN 112995418 B CN112995418 B CN 112995418B
- Authority
- CN
- China
- Prior art keywords
- video
- crbt
- elements
- target
- core elements
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 89
- 238000004891 communication Methods 0.000 claims description 15
- 230000004044 response Effects 0.000 claims description 3
- 230000000875 corresponding effect Effects 0.000 description 64
- 238000010586 diagram Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 12
- 210000001747 pupil Anatomy 0.000 description 8
- 230000002596 correlated effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 244000099147 Ananas comosus Species 0.000 description 2
- 235000007119 Ananas comosus Nutrition 0.000 description 2
- 241000234295 Musa Species 0.000 description 2
- 235000018290 Musa x paradisiaca Nutrition 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241000190070 Sarracenia purpurea Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 235000019353 potassium silicate Nutrition 0.000 description 1
- NTHWMYGWWRZVTN-UHFFFAOYSA-N sodium silicate Chemical compound [Na+].[Na+].[O-][Si]([O-])=O NTHWMYGWWRZVTN-UHFFFAOYSA-N 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/42017—Customized ring-back tones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本申请提供一种视频彩铃播放方法、发送方法及相关设备。其中,视频彩铃播放方法包括:获取从播放的第一视频彩铃截取的第一视频流;根据所述第一视频流,确定P个核心元素,P为正整数;向彩铃平台发送所述P个核心元素;播放所述彩铃平台发送的第二视频彩铃,所述第二视频彩铃基于所述P个核心元素确定。可见,本申请终端播放的视频彩铃可以基于P个核心元素进行更新,使得终端播放的视频彩铃更符合用户喜好,从而可以提高视频彩铃播放的灵活性和可靠性。
The present application provides a video color ring back tone playing method, sending method and related equipment. Wherein, the video CRBT playing method includes: obtaining the first video stream intercepted from the played first video CRBT; determining P core elements according to the first video stream, where P is a positive integer; sending the P core elements to the CRBT platform A core element: playing a second video CRBT sent by the CRBT platform, and the second video CRBT is determined based on the P core elements. It can be seen that the video CRBT played by the terminal of the present application can be updated based on P core elements, so that the video CRBT played by the terminal is more in line with user preferences, thereby improving the flexibility and reliability of video CRBT playback.
Description
技术领域technical field
本申请实施例涉及通信技术领域,尤其涉及一种视频彩铃播放方法、发送方法及相关设备。The embodiments of the present application relate to the technical field of communications, and in particular, to a method for playing a video ring tone, a sending method, and related equipment.
背景技术Background technique
随着通信技术的不断发展,出现了视频彩铃业务。目前,在被叫订购了视频彩铃业务时,在主叫拨打被叫的过程中,在被叫摘机前,主叫终端播放该被叫订购的视频彩铃。可见,现有主叫终端播放视频彩铃的方式固定。With the continuous development of communication technology, the video ring back tone service appears. At present, when the called party subscribes to the video ring back tone service, the calling terminal plays the video ring back tone subscribed by the called party before the called party picks up the hook during the process of calling the called party by the calling party. It can be seen that the method of playing the video ring back tone by the existing calling terminal is fixed.
发明内容Contents of the invention
本申请实施例提供一种视频彩铃播放方法、发送方法及相关设备,以解决现有主叫终端播放视频彩铃的方式固定的问题。Embodiments of the present application provide a method for playing a video color ring tone, a method for sending it, and related equipment, so as to solve the problem of a fixed way for an existing calling terminal to play a video color ring tone.
为解决上述问题,本申请是这样实现的:In order to solve the above problems, the application is implemented as follows:
第一方面,本申请实施例提供了一种视频彩铃播放方法,所述方法包括:In the first aspect, the embodiment of the present application provides a method for playing video ring back tones, the method comprising:
获取从播放的第一视频彩铃截取的第一视频流;Obtain the first video stream intercepted from the played first video CRBT;
根据所述第一视频流,确定P个核心元素,P为正整数;According to the first video stream, determine P core elements, where P is a positive integer;
向彩铃平台发送所述P个核心元素;Send the P core elements to the CRBT platform;
播放所述彩铃平台发送的第二视频彩铃,所述第二视频彩铃基于所述P个核心元素确定。Playing the second video CRBT sent by the CRBT platform, where the second video CRBT is determined based on the P core elements.
第二方面,申请实施例提供了一种视频彩铃发送方法,所述方法包括:In the second aspect, the embodiment of the application provides a method for sending a video ring back tone, the method comprising:
向终端发送第一视频彩铃;Send the first video ring back tone to the terminal;
接收所述终端发送的P个核心元素,所述P个核心元素基于从所述第一视频彩铃截取的第一视频流确定,P为正整数;receiving P core elements sent by the terminal, the P core elements are determined based on the first video stream intercepted from the first video CRBT, and P is a positive integer;
向所述终端发送第二视频彩铃,所述第二视频彩铃基于所述P个核心元素确定。Sending a second video color ring back to the terminal, where the second video color ring back is determined based on the P core elements.
第三方面,本申请实施例还提供一种通信设备,包括收发机、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序或指令;所述处理器,用于读取存储器中的程序或指令实现如第一方面所述的方法中的步骤,或,实现如第二方面所述的方法中的步骤。In the third aspect, the embodiment of the present application also provides a communication device, including a transceiver, a memory, a processor, and programs or instructions stored in the memory and operable on the processor; the processor uses The steps in the method described in the first aspect are realized by reading the programs or instructions in the memory, or the steps in the method described in the second aspect are realized.
第四方面,本申请实施例还提供一种可读存储介质,用于存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法中的步骤,或,实现如第二方面所述的方法中的步骤。In the fourth aspect, the embodiments of the present application further provide a readable storage medium for storing programs or instructions, and when the programs or instructions are executed by a processor, the steps in the method as described in the first aspect are implemented, or, A step in the method as described in the second aspect.
在本申请实施例中,终端在获取到从播放的第一视频彩铃截取的第一视频流之后,可以基于所述第一视频流,确定P个核心元素,并向视频彩铃平台发送所述P个核心元素;彩铃平台在获取到所述P个核心元素之后,可以向所述终端发送基于所述P个核心元素确定的第二视频彩铃,以使所述终端播放所述第二视频彩铃。可见,在本申请实施例中,终端播放的视频彩铃可以基于P个核心元素进行更新,使得终端播放的视频彩铃更符合用户喜好,从而可以提高视频彩铃播放的灵活性和可靠性。In this embodiment of the application, after the terminal obtains the first video stream intercepted from the played first video CRBT, it can determine P core elements based on the first video stream, and send the P core elements to the video CRBT platform. core elements; after acquiring the P core elements, the CRBT platform may send a second video CRBT determined based on the P core elements to the terminal, so that the terminal plays the second video CRBT. It can be seen that in the embodiment of the present application, the video CRBT played by the terminal can be updated based on P core elements, so that the video CRBT played by the terminal is more in line with user preferences, thereby improving the flexibility and reliability of video CRBT playback.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that need to be used in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1的是本申请实施例可应用的一种通信系统;FIG. 1 is a communication system applicable to the embodiment of the present application;
图2是本申请实施例提供的视频彩铃播放方法的流程示意图;FIG. 2 is a schematic flow diagram of a method for playing a video ring back tone provided by an embodiment of the present application;
图3是本申请实施例提供的显示示意图之一;Fig. 3 is one of the display schematic diagrams provided by the embodiment of the present application;
图4a是本申请实施例提供的显示示意图之二;Figure 4a is the second schematic diagram of the display provided by the embodiment of the present application;
图4b是本申请实施例提供的显示示意图之三;Figure 4b is the third schematic diagram of the display provided by the embodiment of the present application;
图4c是本申请实施例提供的显示示意图之四;Figure 4c is the fourth schematic diagram of the display provided by the embodiment of the present application;
图5是本申请实施例提供的视频彩铃发送方法的流程示意图;FIG. 5 is a schematic flowchart of a method for sending a video ring back tone provided in an embodiment of the present application;
图6是本申请实施例提供的显示示意图之五;Figure 6 is the fifth schematic diagram of the display provided by the embodiment of the present application;
图7是本申请实施例提供的视频彩铃播放装置的结构示意图;Fig. 7 is a schematic structural diagram of a video CRBT playback device provided by an embodiment of the present application;
图8是本申请实施例提供的视频彩铃发送装置的结构示意图;FIG. 8 is a schematic structural diagram of a video ring back tone sending device provided by an embodiment of the present application;
图9是本申请实施例提供的通信设备的结构示意图。FIG. 9 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
本申请中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,本申请中使用“和/或”表示所连接对象的至少其中之一,例如A和/或B和/或C,表示包含单独A,单独B,单独C,以及A和B都存在,B和C都存在,A和C都存在,以及A、B和C都存在的7种情况。The terms "first", "second", etc. in the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus. In addition, the use of "and/or" in this application means at least one of the connected objects, such as A and/or B and/or C, means that A alone, B alone, C alone, and both A and B exist, Both B and C exist, both A and C exist, and there are 7 situations where A, B, and C all exist.
首先,对本申请实施例所提供的技术方案的应用场景进行介绍:First, the application scenario of the technical solution provided by the embodiment of the present application is introduced:
图1示出的是本申请实施例可应用的一种通信系统。如图1所示,通信系统可以包括终端11和彩铃平台12。终端11也可以称作终端设备或者用户终端(User Equipment,UE),终端11可以为手机、电脑、可穿戴设备等设备。彩铃平台12也可以称作视频彩铃播放平台或彩铃播放平台,彩铃平台12可以是服务器等设备。FIG. 1 shows a communication system to which this embodiment of the present application is applicable. As shown in FIG. 1 , the communication system may include a
在实际应用中,彩铃平台12可以用于存储、生成视频彩铃,并向终端11发送视频彩铃;终端11可以用于播放视频彩铃。需要说明的是,终端11可以是主叫终端或被叫终端。In practical applications, the
参见图2,图2是本申请实施例提供的视频彩铃播放方法的流程示意图。本申请实施例提供的视频彩铃播放方法可以由终端执行。Referring to FIG. 2 , FIG. 2 is a schematic flowchart of a method for playing a video ring back tone provided by an embodiment of the present application. The method for playing a video CRBT provided in the embodiment of the present application may be executed by a terminal.
如图2所示,视频彩铃播放方法可以包括以下步骤:As shown in Figure 2, the method for playing video ring back tones may include the following steps:
步骤201、获取从播放的第一视频彩铃截取的第一视频流。
具体实现时,终端在呼叫过程中,彩铃平台可以向终端发送第一视频彩铃,以使终端播放所述第一视频彩铃。用户在观看所述第一视频彩铃的过程中,可以从播放的第一视频彩铃截取一个或多个(至少两个)视频流。所述第一视频流可以包括从播放的第一视频彩铃中截取的全部或部分视频流。During specific implementation, during the call process of the terminal, the CRBT platform may send the first video CRBT to the terminal, so that the terminal plays the first video CRBT. During watching the first video CRBT, the user may intercept one or more (at least two) video streams from the played first video CRBT. The first video stream may include all or part of the video stream intercepted from the played first video ring back tone.
需要说明的是,本申请实施例并不限定视频流的截取方式,任何可从视频中截取视频流的方式均可落入本申请实施例的保护范围之内。It should be noted that the embodiment of the present application does not limit the method of intercepting the video stream, and any method that can intercept the video stream from the video can fall within the protection scope of the embodiment of the present application.
步骤202、根据所述第一视频流,确定P个核心元素。Step 202: Determine P core elements according to the first video stream.
在本申请实施例中,P为正整数。P的具体取值可以基于需求设定,本申请实施例对此不做限定,但可以理解地是,P的取值小于或等于所述第一视频流包括的全部元素的数量,即所述P个核心元素为所述第一视频流包括的全部或部分元素。In the embodiment of the present application, P is a positive integer. The specific value of P can be set based on requirements, which is not limited in this embodiment of the present application, but it can be understood that the value of P is less than or equal to the number of all elements included in the first video stream, that is, the The P core elements are all or part of the elements included in the first video stream.
在本申请实施例中,第一情况中,终端可以将所述第一视频流视为用户对所述第一视频彩铃感兴趣的片段,在此情况中,所述P个核心元素可以视为用户感兴趣的P个元素。In this embodiment of the present application, in the first case, the terminal may regard the first video stream as a segment that the user is interested in in the first video CRBT, in this case, the P core elements may be regarded as P elements that the user is interested in.
第二情况中,终端可以将所述第一视频流视为用户对所述第一视频彩铃不感兴趣的片段,在此情况中,所述P个核心元素可以为用户不感兴趣的P个元素。In the second case, the terminal may regard the first video stream as a segment in which the user is not interested in the first video CRBT, and in this case, the P core elements may be P elements in which the user is not interested.
具体实现时,一种实现方式中,所述P个核心元素可以为所述第一视频流中出现次数最多的P个元素;另一种实现方式中,所述P个核心元素可以为所述第一视频流中出现时长最大的P个元素,但不仅限于此。During specific implementation, in one implementation manner, the P core elements may be the P elements that appear most frequently in the first video stream; in another implementation manner, the P core elements may be the The P elements with the longest appearing time in the first video stream, but not limited thereto.
步骤203、向彩铃平台发送所述P个核心元素。
终端在确定所述P个核心元素后,可以向彩铃平台所述P个核心元素,以使彩铃平台获取用户感兴趣的元素或用户不感兴趣的元素,从而可以基于所述P个核心元素,调整向终端发送的彩铃视频,以使终端播放的视频彩铃更符合用户喜好,从而提高视频彩铃播放的灵活性和可靠性。After the terminal determines the P core elements, it can send the P core elements to the CRBT platform, so that the CRBT platform can obtain the elements that the user is interested in or the elements that the user is not interested in, so that based on the P core elements, the adjustment The CRBT video sent to the terminal, so that the video CRBT played by the terminal is more in line with user preferences, thereby improving the flexibility and reliability of video CRBT playback.
步骤204、播放所述彩铃平台发送的第二视频彩铃,所述第二视频彩铃基于所述P个核心元素确定。Step 204: Play the second video CRBT sent by the CRBT platform, the second video CRBT is determined based on the P core elements.
在该步骤中,所述第二视频彩铃基于所述P个核心元素确定具体可表现为:In this step, the determination of the second video CRBT based on the P core elements can be specifically expressed as:
在所述P个核心元素为用户感兴趣的P个元素的情况下,所述第二视频彩铃包括所述P个核心元素中的部分或全部元素;In the case that the P core elements are P elements that the user is interested in, the second video ring back tone includes some or all of the P core elements;
在所述P个核心元素为用户不感兴趣的P个元素的情况下,所述第二视频彩铃不包括所述P个核心元素。In the case that the P core elements are P elements that are not of interest to the user, the second video ring tone does not include the P core elements.
本实施例的视频彩铃播放方法,终端在获取到从播放的第一视频彩铃截取的第一视频流后,可以基于所述第一视频流,确定P个核心元素,并向视频彩铃平台发送所述P个核心元素;之后,终端可以播放彩铃平台基于所述P个核心元素确定的第二视频彩铃。可见,终端播放的视频彩铃可以基于P个核心元素进行更新,使得终端播放的视频彩铃更符合用户喜好,从而可以提高视频彩铃播放的灵活性和可靠性。In the video CRBT playing method of this embodiment, after the terminal acquires the first video stream intercepted from the played first video CRBT, it can determine P core elements based on the first video stream, and send the P core elements to the video CRBT platform The P core elements; afterward, the terminal can play the second video color ring determined by the color ring platform based on the P core elements. It can be seen that the video CRBT played by the terminal can be updated based on the P core elements, so that the video CRBT played by the terminal is more in line with the user's preferences, thereby improving the flexibility and reliability of playing the video CRBT.
以下对所述P个核心元素的确定进行说明:The determination of the P core elements is described below:
可选的,所述根据所述第一视频流,确定所述P个核心元素,包括:Optionally, the determining the P core elements according to the first video stream includes:
识别所述第一视频流的第一视频帧包括的M个元素,M为大于或等于P的整数;Identify M elements included in the first video frame of the first video stream, where M is an integer greater than or equal to P;
获取所述M个元素的每个元素对应的目标特征值,得到M个目标特征值,其中,元素对应的目标特征值基于元素对应的第一特征值和元素对应的第二特征值确定,元素对应的第一特征值用于表征元素在所述第一视频流的总显示大小,元素对应的第二特征值用于表征元素在所述第一视频流的所有显示位置相对元素在所述第一视频帧的显示位置的总偏移值;Obtain the target eigenvalue corresponding to each element of the M elements to obtain M target eigenvalues, wherein the target eigenvalue corresponding to the element is determined based on the first eigenvalue corresponding to the element and the second eigenvalue corresponding to the element, and the element The corresponding first eigenvalue is used to represent the total display size of the element in the first video stream, and the second eigenvalue corresponding to the element is used to represent the relative size of the element in all display positions of the first video stream relative to the element in the first video stream. The total offset value of the display position of a video frame;
将所述M个目标特征值中最大的P个目标特征值对应的P个元素确定为P个核心元素。Determining P elements corresponding to the largest P target eigenvalues among the M target eigenvalues as P core elements.
在本可选实施方式中,终端以所述第一视频流的第一视频帧作为基础帧,在识别出所述第一视频中包括的M个元素后,可以获取所述M个元素的每个元素在所述第一视频流的相关信息,如总显示大小、与基础帧相比显示位置的总偏移值等;之后,基于上述相关信息,从所述M个元素中选择P个元素作为核心元素。In this optional implementation manner, the terminal takes the first video frame of the first video stream as the basic frame, and after identifying the M elements included in the first video, can obtain each Relevant information of elements in the first video stream, such as the total display size, the total offset value of the display position compared with the basic frame, etc.; then, based on the above-mentioned relevant information, select P elements from the M elements as a core element.
在实际应用中,所述第一视频帧的选取可基于实际需求决定,本申请实施例对此不做限定。如:所述第一视频帧可以为所述第一视频流的第一个视频帧,或,所述第一视频流的最后一个视频帧。In practical applications, the selection of the first video frame may be determined based on actual requirements, which is not limited in this embodiment of the present application. For example, the first video frame may be the first video frame of the first video stream, or the last video frame of the first video stream.
针对所述第一特征值的获取,说明如下:For the acquisition of the first eigenvalue, the description is as follows:
可选的,所述识别所述第一视频流的第一视频帧包括的M个元素之后,所述获取所述M个元素的每个元素对应的目标特征值之前,所述方法还包括:Optionally, after identifying the M elements included in the first video frame of the first video stream, and before acquiring the target feature value corresponding to each of the M elements, the method further includes:
确定所述第一视频流包括所述M个元素的第i个元素的Q个视频帧,i为小于或等于M的正整数,Q为正整数;Determine that the first video stream includes Q video frames of the i-th element of the M elements, i is a positive integer less than or equal to M, and Q is a positive integer;
采用相同方式对所述Q个视频帧进行格网划分;Perform grid division on the Q video frames in the same manner;
获取所述第i个元素在所述Q个视频帧的每个视频帧占用的网格数,得到Q个网格数;Obtain the number of grids occupied by the i-th element in each video frame of the Q video frames to obtain Q grid numbers;
根据所述Q个网格数,确定所述第i个元素对应的第一特征值。Determine the first eigenvalue corresponding to the i-th element according to the Q grid numbers.
在本可选步骤中,并不限制视频帧的划分方式,但所述Q个视频帧的划分方式需要相同。如:终端可以采用1毫米(mm)的坐标间隔对所述Q个视频帧进行格网划分,但不仅限于此。可以理解地是,所述Q个视频帧包括所述第一视频帧。In this optional step, the division method of the video frames is not limited, but the division methods of the Q video frames need to be the same. For example, the terminal may use a coordinate interval of 1 millimeter (mm) to perform grid division on the Q video frames, but it is not limited thereto. It can be understood that the Q video frames include the first video frame.
终端可以通过以下公式确定所述第i个元素对应的第一特征值:The terminal may determine the first eigenvalue corresponding to the i-th element through the following formula:
Mi=f(x1)+f(x2)+…f(xQ)M i =f(x 1 )+f(x 2 )+...f(x Q )
其中,Mi表示所述第i个元素对应的第一特征值;xQ表示所述第i个元素在所述Q个视频帧的第Q个视频帧占用的网格数。Wherein, M i represents the first eigenvalue corresponding to the i-th element; x Q represents the number of grids occupied by the i-th element in the Q-th video frame of the Q-th video frames.
进一步地,f(x)可以等于x,在此情况下,终端直接将所述Q个网格数的和,确定为所述第i个元素对应的第一特征值。当然,f(x)可以不等于x,f(x)的具体表现形式可根据实际需求决定,本申请实施例对此不做限定。Further, f(x) may be equal to x, and in this case, the terminal directly determines the sum of the Q grid numbers as the first eigenvalue corresponding to the i-th element. Of course, f(x) may not be equal to x, and the specific expression form of f(x) may be determined according to actual needs, which is not limited in this embodiment of the present application.
需要说明的是,上述确定第一特征值的方式仅为示例,并不因此限制所述第一特征值的确定方式。如:在其他实施方式中,终端可以检测出所述第i个元素在所述Q个视频帧的每个视频帧的显示大小,进而可以通过统计得到所述第i个元素在所述第一视频流的总显示大小,并将所述第i个元素在所述第一视频流的总显示大小,确定为所述第i个元素对应的第一特征值。It should be noted that the above manner of determining the first feature value is only an example, and does not therefore limit the manner of determining the first feature value. For example: in other implementation manners, the terminal may detect the display size of the i-th element in each of the Q video frames, and then obtain the i-th element's display size in the first video frame through statistics. The total display size of the video stream, and determining the total display size of the i-th element in the first video stream as the first feature value corresponding to the i-th element.
针对所述第二特征值的获取,说明如下:For the acquisition of the second eigenvalue, the description is as follows:
终端在确定所述第一视频流包括所述M个元素的第i个元素的Q个视频帧后,可以通过同一坐标轴,获取所述第i个元素在所述Q个视频帧中的每个视频帧的坐标;之后,可以根据所述第i个元素在所述Q个视频帧中的每个视频帧的坐标,确定所述第i个元素对应的第二特征值。After determining that the first video stream includes Q video frames of the i-th element of the M elements, the terminal may use the same coordinate axis to obtain each of the i-th elements in the Q video frames The coordinates of the video frames; afterward, the second feature value corresponding to the i element can be determined according to the coordinates of each video frame of the i element in the Q video frames.
终端可以通过以下公式确定所述第i个元素对应的第二特征值:The terminal may determine the second eigenvalue corresponding to the i-th element through the following formula:
Ni=V1+V2+…VQ N i =V 1 +V 2 +...V Q
VQ=E(Y-u)2 V Q = E(Yu) 2
其中,Ni表示所述第i个元素对应的第二特征值;VQ表示所述第i个元素在所述Q个视频帧的第Q个视频帧的显示位置,相对所述第i个元素在所述第一视频帧的显示位置的偏移值;E为常数,具体可根据实际情况设定,本申请实施例对此不做限定;Y表示所述第i个元素在所述第Q个视频帧的全部坐标(或中心坐标);u表示所述第i个元素在所述第一视频帧的全部坐标(或中心坐标)。Wherein, N i represents the second eigenvalue corresponding to the i-th element; V Q represents the display position of the i-th element in the Q-th video frame of the Q-th video frames, relative to the i-th The offset value of the display position of the element in the first video frame; E is a constant, which can be set according to the actual situation, which is not limited in the embodiment of the present application; Y indicates that the i-th element is in the All coordinates (or center coordinates) of Q video frames; u represents all coordinates (or center coordinates) of the i-th element in the first video frame.
以下对所述第一视频流的截取进行说明:The following describes the interception of the first video stream:
可选的,所述第一视频彩铃的至少部分视频帧包括至少一个剪辑控件,所述至少一个剪辑控件用于截取视频流;Optionally, at least part of the video frames of the first video CRBT include at least one clipping control, and the at least one clipping control is used to intercept a video stream;
所述获取从播放的第一视频彩铃截取的第一视频流,包括:The acquisition of the first video stream intercepted from the played first video CRBT includes:
接收对所述第一视频彩铃的第二视频帧包括的第一剪辑控件的第一输入,所述第一输入用于绘制第一封闭框;receiving a first input to a first clipping control included in a second video frame of the first video CRBT, where the first input is used to draw a first closed frame;
响应于所述第一输入,将所述第一封闭框对应的第一显示区域在第一时间段播放的视频流,确定为从播放的第一视频彩铃截取的第一视频流;In response to the first input, determine the video stream played in the first display area corresponding to the first closed frame in the first time period as the first video stream intercepted from the played first video CRBT;
其中,所述第一时间段的开始时刻为所述第一输入的开始时刻,所述第一时间段的结束时刻为所述第一输入的结束时刻。Wherein, the start time of the first time period is the start time of the first input, and the end time of the first time period is the end time of the first input.
在本可选实施方式中,彩铃平台发送的所述第一视频彩铃中包括剪辑控件。用户可以借助剪辑控件从所述第一视频彩铃中截取所述第一视频流。具体实现时,用户通过利用剪辑控件绘制封闭框实现视频流的截取。需要说明的是,在所述第一输入的起始位置和终止位置小于预设距离值的情况下,即可视所述第一输入的输入轨迹为封闭框。In this optional implementation manner, the first video CRBT sent by the CRBT platform includes a clipping control. The user can intercept the first video stream from the first video CRBT by means of a clipping control. During specific implementation, the user realizes the interception of the video stream by using the clip control to draw a closed frame. It should be noted that, when the start position and end position of the first input are smaller than the preset distance value, the input track of the first input can be regarded as a closed box.
为方便理解,结合图3示例说明如下:For the convenience of understanding, the description is as follows in conjunction with the example in Figure 3:
在图3中,所述第一视频彩铃的播放区域标示为31,用户通过剪辑控件32执行第一输入,绘制第一封闭框33。假设第一封闭框33对应的第一显示区域在所述第一输入的输入时间段段播放的内容为内容一,那么,所述第一视频流即为内容一。In FIG. 3 , the playing area of the first video CRBT is marked as 31 , and the user performs a first input through a clipping
在图3中,剪辑控件显示为笔,但可以理解地是,图3中剪辑控件的显示形式仅为示例,并不因此限制剪辑控件的显示形式,如:在其他实施方式中,剪辑控件的显示形式可以为剪刀,但不仅限于此。In FIG. 3, the clip control is displayed as a pen, but it can be understood that the display form of the clip control in FIG. 3 is only an example, and does not limit the display form of the clip control. The display form may be scissors, but is not limited thereto.
需要说明的是,在其他实施方式中,所述第一视频彩铃可以不包括剪辑控件,用户也可以通过其他方式从所述第一视频彩铃截取所述第一视频流。可选的,用户可以通过语音输入从所述第一视频彩铃截取所述第一视频流,如:用户可以通过输入“截取当前播放的视频彩铃的前三分之一”,触发终端截取当前播放的视频彩铃的前三分之一作为所述第一视频流。It should be noted that, in other implementation manners, the first video CRBT may not include a clipping control, and the user may also intercept the first video stream from the first video CRBT in other ways. Optionally, the user may intercept the first video stream from the first video CRBT through voice input, for example, the user may input "intercept the first third of the currently playing video CRBT" to trigger the terminal to intercept the currently played video CRBT The first third of the video ring back tone is used as the first video stream.
在本申请实施例中,所述第一视频彩铃可以是所述终端在呼叫过程中,彩屏平台发送的初始视频彩铃,也可以是所述终端在呼叫过程中,彩铃平台发送的调整后的视频彩铃。对于后者,说明如下:In the embodiment of the present application, the first video ring back tone may be the initial video ring back tone sent by the color screen platform during the call process of the terminal, or may be an adjusted video color tone sent by the color screen platform during the call process of the terminal. ring tones. For the latter, the instructions are as follows:
可选的,所述接收对所述第一视频彩铃的第二视频帧包括的第一剪辑控件的第一输入之前,所述方法还包括:Optionally, before receiving the first input of the first clip control included in the second video frame of the first video ring tone, the method further includes:
播放所述彩铃平台发送的第三视频彩铃;Play the third video CRBT sent by the CRBT platform;
确定用户对所述第三视频彩铃感兴趣的T个元素,T为正整数;Determining T elements that the user is interested in in the third video CRBT, where T is a positive integer;
向所述彩铃平台发送所述T个元素;sending the T elements to the CRBT platform;
接收所述彩铃平台发送的所述第一视频彩铃,所述至少一个剪辑控件在所述第一视频彩铃中的显示位置基于所述T个元素确定。receiving the first video CRBT sent by the CRBT platform, and determining a display position of the at least one editing control in the first video CRBT based on the T elements.
在本可选实施方式中,终端在播放所述第三视频彩铃后,可以确定用户对所述第三视频彩铃感兴趣的元素,之后向彩铃平台发送这些元素,以使彩铃平台基于所述T个元素,生成所述第一视频彩铃,并向所述终端发送所述第一视频彩铃。In this optional implementation manner, after the terminal plays the third video CRBT, it can determine the elements that the user is interested in in the third video CRBT, and then send these elements to the CRBT platform, so that the CRBT platform can based on the T elements, generate the first video CRBT, and send the first video CRBT to the terminal.
在本可选实施方式中,实现方式一,所述第一视频彩铃与所述第二视频彩铃的区别在于:所述第一视频彩铃相比于所述第三视频彩铃添加有所述至少一个剪辑控件,视频帧内容除剪辑控件之外无变化;实现方式二,相比于上述实现方式一,所述第一视频彩铃的视频帧内容除剪辑控件也发生了变化,可选的,所述第一视频彩铃基于所述T个元素确定,如:所述第一视频彩铃包括所述T个元素中的部分或全部元素。In this optional implementation manner, implementation manner 1, the difference between the first video CRBT and the second video CRBT is that: compared with the third video CRBT, the first video CRBT is added with the at least one Clipping control, the video frame content remains unchanged except for the clipping control; implementation mode 2, compared with the above-mentioned implementation mode 1, the video frame content of the first video CRBT has also changed except for the clipping control. Optionally, the The first video CRBT is determined based on the T elements, for example, the first video CRBT includes part or all of the T elements.
所述至少一个剪辑控件在所述第一视频彩铃中的显示位置基于所述T个元素确定。可选的,剪辑控件的显示位置与目标元素的显示位置间的距离小于预设距离值,所述目标元素为所述T个元素中的任一元素。也就是说,对于所述第一视频彩铃中包括所述目标元素的视频帧,其在所述目标元素的附近可以显示剪辑控件,以供用户剪辑视频流。The display position of the at least one editing control in the first video ring tone is determined based on the T elements. Optionally, the distance between the display position of the clipping control and the display position of the target element is smaller than a preset distance value, and the target element is any element in the T elements. That is to say, for a video frame including the target element in the first video CRBT, a clipping control may be displayed near the target element for the user to clip the video stream.
对于所述T个元素的确定,具体实现时,第一实现方式中,终端可以基于所述用户的语音输入,确定所述用户对所述第三视频彩铃感兴趣的T个元素。如:用户可以直接输入“对所述第三视频彩铃的后三分之一感兴趣”,触发终端确定所述用户对所述第三视频彩铃感兴趣的T个元素为所述第三视频彩铃的后三分之一。Regarding the determination of the T elements, in a specific implementation, in the first implementation manner, the terminal may determine the T elements that the user is interested in in the third video CRBT based on the user's voice input. For example, the user can directly input "interested in the last third of the third video CRBT", triggering the terminal to determine that the T elements that the user is interested in in the third video CRBT are the third video CRBT the last third of the
第二实现方式中,可选的,所述确定所述用户对所述第三视频彩铃感兴趣的T个元素,包括:In the second implementation manner, optionally, the determination of the T elements that the user is interested in in the third video CRBT includes:
确定所述用户对所述第三视频彩铃的感兴趣区域;determining an area of interest of the user for the third video ring back tone;
根据所述感兴趣区域对应的第三显示区域在第二时间段播放的第二视频流,确定所述用户对所述第三视频彩铃感兴趣的T个元素。According to the second video stream played in the third display area corresponding to the interest area in the second time period, T elements that the user is interested in in the third video color ring back tone are determined.
具体实现时,所述T个元素可以包括所述第二视频流包括的全部或部分元素,具体可根据实际需求决定,本申请实施例对此不做限定。也就是说,终端可以将所述第二视频流中出现的全部或部分元素,确定为所述T个元素。During specific implementation, the T elements may include all or part of the elements included in the second video stream, which may be determined according to actual requirements, which is not limited in this embodiment of the present application. That is to say, the terminal may determine all or part of elements appearing in the second video stream as the T elements.
具体实现时,终端可以基于所述第二视频流,生成聚焦图,所述聚焦图包括所述第二视频流包括的全部元素,且元素的显示饱和度与元素在所述第二视频流的出现次数正相关,即某元素在所述第二视频流出现的次数越多,该元素在所述聚焦图中的显示饱和度越高。这样,终端可以按照聚焦图中元素的显示饱和度从高到低的先后顺序,依次选择元素作为所述用户对所述第三视频彩铃感兴趣的T个元素。During specific implementation, the terminal may generate a focus map based on the second video stream, the focus map includes all elements included in the second video stream, and the display saturation of the elements is the same as that of the elements in the second video stream. The number of occurrences is positively correlated, that is, the more times an element appears in the second video stream, the higher the display saturation of the element in the focus map. In this way, the terminal may sequentially select elements as the T elements in which the user is interested in the third video CRBT according to the descending order of the display saturation of the elements in the focus map.
对于所述感兴趣区域,终端可以通过图像采集装置采集用户的脸部图像确定。可选的,终端可以基于用户的眼部图像对应的视线确定用户对所述第三视频彩铃的注视位置,并可以基于该注视位置,确定用户对所述第三视频彩铃的感兴趣区域。For the region of interest, the terminal may collect the facial image of the user through the image collection device for determination. Optionally, the terminal may determine the user's gazing position on the third video CRBT based on the line of sight corresponding to the user's eye image, and may determine the user's interest area on the third video CRBT based on the gazing position.
一种实现方式中,终端可以直接将确定的注视位置对应的显示区域确定为用户对所述第三视频彩铃的感兴趣区域。In an implementation manner, the terminal may directly determine the display area corresponding to the determined gaze position as the user's area of interest in the third video color ring back tone.
另一种实现方式中,终端还可以获取用户注视所述注视位置时的瞳孔半径,瞳孔半径可以用于反映用户对注视位置出现内容的感兴趣程度。一般地,若用户对注视位置出现内容的感兴趣,则瞳孔半径会变大;用户对注视位置出现内容的不感兴趣,则瞳孔半径会变小。因此,在本实现方式中,终端可以将目标注视位置对应的显示区域确定为所述感兴趣区域,所述目标注视位置对应的瞳孔半径大于预设阈值,即所述目标注视位置为用户感兴趣的位置。In another implementation manner, the terminal may also obtain the pupil radius when the user gazes at the gaze position, and the pupil radius may be used to reflect the user's degree of interest in the content appearing at the gaze position. Generally, if the user is interested in the content at the gaze position, the pupil radius will become larger; if the user is not interested in the content at the gaze position, the pupil radius will become smaller. Therefore, in this implementation, the terminal may determine the display area corresponding to the target gaze position as the region of interest, and the pupil radius corresponding to the target gaze position is greater than a preset threshold, that is, the target gaze position is an area of interest to the user. s position.
所述第二时间段的起始时刻可以为所述感兴趣区域的确定时刻,所述第二时间段的长度可以预先设定,但不仅限于此。The starting moment of the second time period may be the moment when the region of interest is determined, and the length of the second time period may be preset, but not limited thereto.
在本申请实施例中,可选的,所述播放所述彩铃平台发送的第二视频彩铃,包括:In this embodiment of the present application, optionally, the playing the second video CRBT sent by the CRBT platform includes:
在所述第一显示区域播放所述彩铃平台发送的第二视频彩铃;Playing the second video CRBT sent by the CRBT platform in the first display area;
对第二显示区域执行第一操作,所述第一操作为以下任一项:Execute a first operation on the second display area, where the first operation is any of the following:
控制所述第二显示区域处于熄屏状态;controlling the second display area to be in a screen-off state;
在所述第二显示区域播放所述彩铃平台发送的第四视频彩铃,所述第四视频彩铃基于所述P个核心元素确定。Playing a fourth video CRBT sent by the CRBT platform in the second display area, where the fourth video CRBT is determined based on the P core elements.
其中,所述第二显示区域为除所述第一显示区域之外的显示区域。具体地,所述第二显示区域可以为除所述第一显示区域之外的部分或全部显示区域。在实际应用中,所述第一显示区域和所述第二显示区域可以为终端的同一显示屏的不同显示区域,或,所述第一显示区域和所述第二显示区域可以为终端的不同显示屏的显示区域。Wherein, the second display area is a display area other than the first display area. Specifically, the second display area may be part or all of the display area except the first display area. In practical applications, the first display area and the second display area may be different display areas of the same display screen of the terminal, or the first display area and the second display area may be different display areas of the terminal. display area of the display.
在本可选实施方式中,所述第二视频彩铃的播放位置可以位于所述第一显示区域。In this optional implementation manner, the playing position of the second video color ring tone may be located in the first display area.
而对于其他显示区域,一种实现方式,终端可以控制其处于熄屏状态,从而一方面可以降低终端耗电,另一方面可以提高所述第二视频彩铃的关注度。As for other display areas, in an implementation manner, the terminal can control it to be in a screen-off state, so that on the one hand, the power consumption of the terminal can be reduced, and on the other hand, the attention of the second video ring tone can be increased.
另一种实现方式,彩铃平台除向终端发送所述第二视频彩铃之外,还可以基于所述P个核心元素生成第四视频彩铃,并向终端发送所述第四视频彩铃,以使终端在除所述第一显示区域之外的其他显示区域播放所述第四视频彩铃,实现视频彩铃的垂类推送,从而可以在使得终端播放的视频彩铃符合用户喜好的情况下,进一步提高视频彩铃播放的灵活度和丰富度。In another implementation, the CRBT platform may generate a fourth video CRBT based on the P core elements in addition to sending the second video CRBT to the terminal, and send the fourth video CRBT to the terminal, so that the terminal The fourth video CRBT is played in other display areas except the first display area to realize vertical push of the video CRBT, so that the video CRBT played by the terminal can further improve the video CRBT under the condition that the video CRBT played by the terminal meets the user's preference. Flexibility and richness of playback.
可以理解地是,由于所述第四视频彩铃和所述第二视频彩铃都基于所述P个核心元素确定,所述第四视频彩铃与所述第二视频彩铃的内容可以相同或类似,具体可根据实际需求决定,本申请实施例对此不做限定。需要说明的是,所述第四视频彩铃的生成方式与所述第二视频彩铃的生成方式类似,具体可参见前述描述,此处不再赘述。所述第四视频彩铃可以包括一个或多个视频彩铃。It can be understood that since both the fourth video CRBT and the second video CRBT are determined based on the P core elements, the content of the fourth video CRBT and the second video CRBT may be the same or similar, specifically It can be determined according to actual requirements, which is not limited in this embodiment of the present application. It should be noted that the fourth video CRBT is generated in a manner similar to that of the second video CRBT, for details, please refer to the foregoing description, which will not be repeated here. The fourth video CRBT may include one or more video CRBTs.
另外,用户可以对某显示区域执行第二输入,触发电子设备全屏播放该显示区域当前播放的视频彩铃,以提高视频彩铃播放的灵活性。当然,在触发电子设备全屏显示该显示区域当前播放的视频彩铃之后,用户可以执行第三输入,触发电子设备恢复到接收到所述第二输入之前的显示方式,或,触发电子设备退出全屏显示模式,并将控制所述第二输入对应的显示区域处于熄屏状态。In addition, the user can perform a second input to a certain display area to trigger the electronic device to play the video ring back tones currently played in the display area in full screen, so as to improve the flexibility of playing the video ring back tones. Certainly, after triggering the electronic device to display the video ring tone currently played in the display area in full screen, the user can perform a third input to trigger the electronic device to return to the display mode before receiving the second input, or trigger the electronic device to exit the full screen display mode, and will control the display area corresponding to the second input to be in a screen-off state.
为方便理解,请参阅图4a至图4c。在图4a中,终端在第一显示区域41播放所述第二视频彩铃,在第二显示区域42播放所述第四视频彩铃,其他显示区域处于熄屏状态。在接收到对第一显示区域41的第二输入后,如图4b所示,终端全屏播放所述第二视频彩铃。在接收到所述第三输入后,如图4c所示,终端仅在第二显示区域42播放所述第四视频彩铃,其他显示区域处于熄屏状态。For easy understanding, please refer to Fig. 4a to Fig. 4c. In FIG. 4 a , the terminal plays the second video color ring in the
参见图5,图5是本申请实施例提供的视频彩铃发送方法的流程示意图。本申请实施例提供的视频彩铃发送方法可以由彩铃平台执行。Referring to FIG. 5 , FIG. 5 is a schematic flowchart of a method for sending a video ring back tone provided by an embodiment of the present application. The method for sending a video CRBT provided in the embodiment of the present application may be executed by a CRBT platform.
如图5所示,视频彩铃发送方法可以包括以下步骤:As shown in Figure 5, the video color ring back tone sending method may include the following steps:
步骤501、向终端发送第一视频彩铃。Step 501: Send the first video ring back tone to the terminal.
步骤502、接收所述终端发送的P个核心元素,所述P个核心元素基于从所述第一视频彩铃截取的第一视频流确定,P为正整数。Step 502: Receive P core elements sent by the terminal, the P core elements are determined based on the first video stream intercepted from the first video CRBT, and P is a positive integer.
步骤503、向所述终端发送第二视频彩铃,所述第二视频彩铃基于所述P个核心元素确定。Step 503: Send a second video color ring back to the terminal, where the second video color ring back is determined based on the P core elements.
可选的,所述接收所述终端发送的P个核心元素之后,所述向所述终端发送第二视频彩铃之前,所述方法还包括:Optionally, after receiving the P core elements sent by the terminal and before sending the second video CRBT to the terminal, the method further includes:
从至少一个视频彩铃中提取R个视频帧;Extracting R video frames from at least one video ring back tone;
生成第二视频彩铃,所述第二视频彩铃包括所述R个视频帧;Generate a second video ring back, the second video ring includes the R video frames;
其中,在所述P个核心元素为用户感兴趣的P个元素的情况下,所述R个视频帧的每个视频帧包括所述P个核心元素中的至少一个元素,或,所述R个视频帧的每个视频帧包括的元素与所述P个核心元素的匹配度大于预设值;Wherein, in the case that the P core elements are P elements that the user is interested in, each video frame of the R video frames includes at least one element in the P core elements, or, the R Each of the video frames includes elements whose matching degree with the P core elements is greater than a preset value;
在所述P个核心元素为用户不感兴趣的P个元素的情况下,所述R个视频帧不包括所述P个核心元素。In the case that the P core elements are P elements that are not of interest to the user, the R video frames do not include the P core elements.
具体实现时,所述至少一个视频彩铃可以为彩铃平台存储的任意至少一个视频。可选的,所述至少一个视频彩铃可以包括所述第一视频彩铃。During specific implementation, the at least one video ring back tone may be any at least one video stored on the ring back tone platform. Optionally, the at least one video CRBT may include the first video CRBT.
在所述P个核心元素为用户感兴趣的P个元素的情况下,所述R个视频帧可以包括与所述P个核心元素相同或类似的元素,以使用户对所述第二视频彩铃的感兴趣程度高于所述第一视频彩铃。In the case that the P core elements are the P elements that the user is interested in, the R video frames may include the same or similar elements as the P core elements, so that the user is interested in the second video color ring The degree of interest of is higher than that of the first video ring back tone.
在所述P个核心元素为用户不感兴趣的P个元素的情况下,所述R个视频帧不包括所述P个核心元素,以使用户对所述第二视频彩铃的感兴趣程度高于所述第一视频彩铃。In the case that the P core elements are P elements that are not of interest to the user, the R video frames do not include the P core elements, so that the user is more interested in the second video ring tone than The first video ring tone.
可选的,所述第一视频彩铃的至少部分视频帧包括至少一个剪辑控件,所述至少一个剪辑控件用于截取视频流。Optionally, at least part of the video frames of the first video CRBT include at least one clipping control, and the at least one clipping control is used to intercept a video stream.
可选的,所述向终端发送第一视频彩铃之前,所述方法还包括:Optionally, before sending the first video ring back to the terminal, the method further includes:
向所述终端发送第三视频彩铃;sending a third video ring back tone to the terminal;
接收所述终端发送的所述用户对所述第三视频彩铃感兴趣的T个元素;receiving T elements sent by the terminal that the user is interested in the third video CRBT;
其中,所述第一视频彩铃基于所述T个元素确定,所述至少一个剪辑控件基于所述T个元素确定。Wherein, the first video CRBT is determined based on the T elements, and the at least one editing control is determined based on the T elements.
可选的,所述接收所述终端发送的所述用户对所述第三视频彩铃感兴趣的T个元素之后,所述向终端发送第一视频彩铃之前,所述方法还包括:Optionally, after receiving T elements sent by the terminal that the user is interested in the third video CRBT and before sending the first video CRBT to the terminal, the method further includes:
根据所述T个元素,生成第一视频彩铃;Generate a first video ring tone according to the T elements;
在所述第一视频彩铃包括目标元素的视频帧的目标位置,添加与所述目标元素对应的第二剪辑控件;Adding a second editing control corresponding to the target element at the target position of the video frame of the target element included in the first video ring tone;
其中,所述目标元素属于所述T个元素,所述目标位置与所述目标元素的显示位置的距离小于预设阈值。Wherein, the target element belongs to the T elements, and the distance between the target position and the display position of the target element is smaller than a preset threshold.
需要说明的是,所述第一视频彩铃与所述第二视频彩铃的生成原理类似,具体可参见前述关于所述第二视频彩铃的描述,此处不再赘述。所述第一视频彩铃的视频帧可以包括与所述T个核心元素相同或类似的元素,以使用户对所述第一视频彩铃的感兴趣程度高于所述第三视频彩铃。It should be noted that the principle of generating the first video CRBT is similar to that of the second video CRBT. For details, refer to the foregoing description about the second video CRBT, which will not be repeated here. The video frame of the first video CRBT may include the same or similar elements as the T core elements, so that the user is more interested in the first video CRBT than the third video CRBT.
可选的,所述在所述第一视频彩铃包括目标元素的视频帧的目标位置,添加与所述目标元素对应的第二剪辑控件,包括:Optionally, adding a second editing control corresponding to the target element at the target position of the video frame of the target element in the first video ringtone includes:
获取所述目标元素对应的聚焦值,所述目标元素对应的聚焦值基于所述彩铃平台接收到所述目标元素的次数确定;Acquiring a focus value corresponding to the target element, where the focus value corresponding to the target element is determined based on the number of times the CRBT platform receives the target element;
根据所述目标元素对应的聚焦值,确定所述与所述目标元素对应的第二剪辑控件的目标显示大小;determining the target display size of the second clip control corresponding to the target element according to the focus value corresponding to the target element;
在所述第一视频彩铃包括目标元素的视频帧的目标位置,添加所述目标显示大小的所述第二剪辑控件。Adding the second clipping control of the target display size at the target position of the video frame including the target element in the first video CRBT.
在本可选实施方式中,元素对应的剪辑控件的显示大小基于元素对应的聚焦值确定,元素对应的聚焦值基于彩铃平台的接收次数确定。可选的,元素对应的剪辑控件的显示大小,与元素对应的聚焦值正相关;元素对应的聚焦值与其对应的接收次数正相关。也就是说,彩铃平台接收某元素的次数越多,该元素对应的聚焦值越大,该元素对应的剪辑控件的显示大小越大,反之越小。In this optional implementation manner, the display size of the clipping control corresponding to the element is determined based on the focus value corresponding to the element, and the focus value corresponding to the element is determined based on the reception times of the CRBT platform. Optionally, the display size of the clip control corresponding to the element is positively correlated with the focus value corresponding to the element; the focus value corresponding to the element is positively correlated with the corresponding receiving times. That is to say, the more times the CRBT platform receives an element, the greater the focus value corresponding to the element, and the larger the display size of the clip control corresponding to the element, and vice versa.
彩铃平台接收某元素的次数越多,说明用户对该元素的关注度越高,因此,可以控制该元素对应的剪辑控件的显示大小越大,以方便用户在视频彩铃中迅速聚焦到该视频,截取包括该元素的视频流,从而可以提高视频彩铃与用户喜好的契合度。The more times the CRBT platform receives an element, the higher the user's attention to the element. Therefore, the display size of the editing control corresponding to the element can be controlled to be larger, so that the user can quickly focus on the video in the video CRBT. The video stream including this element is intercepted, so as to improve the fit between the video ring tone and the user's preferences.
为方便理解,结合图6示例说明如下:For the convenience of understanding, the description is as follows in conjunction with the example in Figure 6:
假设当前视频帧包括所述T个元素中的第一元素611、第二元素612和第三元素613,且第一元素611对应的聚焦值>第二元素61对应的聚焦值>第三元素613对应的聚焦值。那么,如图6所示,第一元素611对应的剪辑控件621的显示大小>第二元素61对应的剪辑控件622的显示大小>第三元素613对应的剪辑控件623的显示大小。Assume that the current video frame includes the
需要说明的是,本实施例作为与图2方法实施例对应的彩铃平台的实施例,因此,可以参见图2方法实施例中的相关说明,且可以达到相同的有益效果。为了避免重复说明,在此不再赘述。It should be noted that this embodiment is an embodiment of the CRBT platform corresponding to the method embodiment in FIG. 2 , therefore, reference may be made to the relevant description in the method embodiment in FIG. 2 , and the same beneficial effect can be achieved. In order to avoid repeated description, details are not repeated here.
本实施例的视频彩铃发送方法,彩铃平台在向终端发送第一视频彩铃之后,可以接收所述终端发送的P个核心元素,所述P个核心元素基于从所述第一视频彩铃截取的第一视频流确定,P为正整数;之后,基于所述P个核心元素,向终端发送第二视频彩铃。可见,终端播放的视频彩铃可以基于P个核心元素进行更新,使得终端播放的视频彩铃更符合用户喜好,从而可以提高视频彩铃播放的灵活性和可靠性。In the video CRBT sending method of this embodiment, after the CRBT platform sends the first video CRBT to the terminal, it can receive P core elements sent by the terminal, and the P core elements are based on the first video CRBT intercepted from the first video CRBT A video stream is determined, and P is a positive integer; then, based on the P core elements, a second video ring tone is sent to the terminal. It can be seen that the video CRBT played by the terminal can be updated based on the P core elements, so that the video CRBT played by the terminal is more in line with the user's preferences, thereby improving the flexibility and reliability of playing the video CRBT.
需要说明的是,本申请实施例中介绍的多种可选的实施方式,在彼此不冲突的情况下可以相互结合实现,也可以单独实现,对此本申请实施例不作限定。It should be noted that the various optional implementation manners introduced in the embodiments of the present application can be implemented in combination with each other without conflicting with each other, or can be implemented independently, which is not limited in the embodiments of the present application.
在终端向彩铃平台发送P个核心元素和T个元素的实施例中,由于终端确定所述P个核心元素和T个元素的方式可能会不同;彩铃平台获取到P个核心元素和T个元素后,执行的操作可能会不同。终端在发送P个核心元素和T个元素时,可以对P个核心元素和T个元素进行区分,以方便彩铃平台区分P个核心元素和T个元素,从而可以基于所述T个元素,向终端发送包括剪辑控件的第一视频彩铃;可以基于所述P个核心元素,向终端发送第二视频彩铃。In the embodiment where the terminal sends P core elements and T elements to the CRBT platform, since the terminal determines the P core elements and T elements may be different; the CRBT platform obtains the P core elements and T elements , the action performed may be different. When the terminal sends P core elements and T elements, it can distinguish the P core elements from the T elements, so that the ring tone platform can distinguish the P core elements from the T elements, so that based on the T elements, it can send The terminal sends the first video CRBT including editing controls; and the second video CRBT may be sent to the terminal based on the P core elements.
另外,彩铃平台在接收到所述P个核心元素之前,可以基于终端按照预设频率反馈的所述T个元素(可以理解地是,不同次反馈的元素的数量可以不同,反馈的元素也可以不同),更新向终端发送的视频彩铃。In addition, before the CRBT platform receives the P core elements, it may be based on the T elements fed back by the terminal according to a preset frequency (it can be understood that the number of elements fed back for different times may be different, and the elements fed back may also be different), update the video ring back tone sent to the terminal.
在本申请实施例中,在视频彩铃播放过程中,终端可以根据用户指令,对视频进行模块和特征截取,并对该模块特征进行跟踪学习,对视频彩铃进行删减,并完成其他模块的内容填充。In the embodiment of this application, during the playback of video ring back tones, the terminal can intercept the modules and features of the video according to user instructions, track and learn the features of the modules, delete the video ring back tones, and complete the content of other modules filling.
在视频彩铃播放过程中用户截取感兴趣的内容视频,给出一种截取视频核心元素的方式,具体可以包括核心元素基准确定,偏离度计算,最终得出用户所截取的关键信息。During the playback of the video CRBT, the user intercepts the content video of interest, and provides a method for intercepting the core elements of the video. Specifically, it may include determining the benchmark of the core elements, calculating the degree of deviation, and finally obtaining the key information intercepted by the user.
具体流程如下:The specific process is as follows:
步骤一、主叫拨打被叫电话,主叫手机终端播放视频彩铃,彩铃平台发起用户行为监测,主要监测的对象可以有:用户的集中度,瞳孔半径,以及用户画面聚焦度。根据上述三种监测数据,确定用户对视频中感兴趣的内容。并将用户感兴趣的内容上传到视频彩铃播放平台。Step 1. The calling party dials the called phone, the calling mobile phone terminal plays a video ring back tone, and the ring back tone platform initiates user behavior monitoring. The main monitoring objects may include: user concentration, pupil radius, and user image focus. According to the above three kinds of monitoring data, it is determined what the user is interested in in the video. And upload the content that the user is interested in to the video CRBT playback platform.
对于用户行为的检测,手中终端通过摄像头探究用户瞳孔聚焦画面,持续进行4秒的聚焦预测。形成用户瞳孔聚焦图,并将焦点图片进行分析,确定用户感兴趣的内容上传至视频彩铃播放平台。For the detection of user behavior, the terminal in the hand explores the user's pupil focus image through the camera, and continuously performs focus prediction for 4 seconds. Form the focus map of the user's pupils, analyze the focus picture, and upload the content that the user is interested in to the video CRBT playback platform.
步骤二、彩铃播放平台接收到手机终端传输的用户聚焦镜头,将聚焦镜头进行标记,并在整个视频彩铃内容中提取聚焦内容相同或者类似模块。Step 2: The CRBT playback platform receives the user's focus lens transmitted by the mobile phone terminal, marks the focus lens, and extracts modules with the same or similar focus content from the entire video CRBT content.
步骤三、彩铃播放平台定位用户聚焦内容,在用户手机终端对聚焦内容部分进行小剪刀标记。并在终端视频彩铃播放过程中,根据聚焦内容位置实时更换小剪刀位置,提示用户可以剪辑聚焦内容进行观看。Step 3: The CRBT playback platform locates the user's focused content, and marks the focused content with small scissors on the user's mobile phone terminal. And during the playback of the terminal video ring tone, the position of the small scissors is changed in real time according to the position of the focused content, and the user is prompted to edit the focused content for viewing.
在进行小剪刀标记的过程中,彩铃平台将用户终端播放的视频内容按照聚焦值进行排序,并下发不同大小的小剪刀供用户进行画面选择:聚焦值越高,该部位的剪刀越大,反之,聚焦值越小,该部分的剪刀越小。In the process of small scissors marking, the CRBT platform sorts the video content played by the user terminal according to the focus value, and distributes small scissors of different sizes for the user to select the screen: the higher the focus value, the larger the scissors at that part, Conversely, the smaller the focus value, the smaller the scissors for that part.
当用户在手机终端屏幕触发小剪刀,手机终端与视频彩铃播放平台发起实时通信,并将触发消息告知彩铃平台。When the user triggers the small scissors on the screen of the mobile terminal, the mobile terminal initiates real-time communication with the video CRBT playback platform, and notifies the CRBT platform of the trigger message.
步骤四、用户在手机终端视频彩铃的播放过程中,剪辑自己感兴趣内容,可以进行单个剪辑,也可多个同时进行剪辑。具体编辑框图如下:Step 4: During the playback of the video ring back tone on the mobile phone terminal, the user edits the content he is interested in, either individually or multiple times at the same time. The specific editing block diagram is as follows:
步骤五、当终端检测到用户触发到小剪刀的起点和终端位置重合时,用户手机终端自动对剪辑窗口进行分析,分析出用户在剪辑时间段,出现在该窗口的核心内容,并将核心内容进行标记,发送到视频彩铃播放平台。Step 5. When the terminal detects that the starting point of the small scissors triggered by the user coincides with the position of the terminal, the user's mobile phone terminal automatically analyzes the editing window, analyzes the core content that appears in the window during the editing time period of the user, and saves the core content Mark it and send it to the video CRBT playback platform.
对用户从起点出发触发剪辑功能到用户剪辑完成,手机终端一直保持视频彩铃的播放,手机终端记录用户描绘的框,并对在用户的剪辑时间内通过此框的视频流进行分析,分析该视频流中出现排名前三的元素,并将该元素反馈至彩铃播放平台。具体实现如下:When the user triggers the editing function from the starting point until the user's editing is completed, the mobile terminal keeps playing the video ring back tones, and the mobile terminal records the frame drawn by the user, and analyzes the video stream passing through this frame within the user's editing time, and analyzes the video The top three elements appear in the stream, and the elements are fed back to the CRBT playback platform. The specific implementation is as follows:
A、视频流获取方法:A. Video stream acquisition method:
以用户已经完成的框去截取,例如:用户从触发剪刀到完成封闭框图用了9秒。手机终端截取出9秒内通过用户所描绘框的视频。Take the frame that the user has completed to intercept, for example: it took the user 9 seconds from triggering the scissors to completing the closed frame. The mobile terminal intercepts the video that passes through the frame drawn by the user within 9 seconds.
B、出现最多元素查找方法B. The method of finding the most elements
终端对9秒视频按帧排序,以第一帧为基准帧,分析第一帧图片中出现的元素,将第一帧图片以1mm的坐标间隔进行划分,并标记符号:例如第一帧图片中出现了香蕉、菠萝、水杯三个元素,则分别将香蕉标记为J;菠萝标记为B;水杯标记为C。The terminal sorts the 9-second video by frame, takes the first frame as the reference frame, analyzes the elements appearing in the first frame of the picture, divides the first frame of the picture at a coordinate interval of 1 mm, and marks the symbols: for example, in the first frame of the picture When there are three elements of banana, pineapple, and water cup, the banana is marked as J; the pineapple is marked as B; the water glass is marked as C.
再将9秒视频中出现的每一张图片放入1mm的坐标纸中进行符号标记,标记完成后,统计各种符号出现的次数,记为M。Then put each picture that appears in the 9-second video into a 1mm coordinate paper for symbol marking. After the marking is completed, count the number of occurrences of various symbols and record it as M.
构建坐标轴,确定基准图像中元素的位置,分别标记每个元素中对应点的坐标,以(X,Y)进行标记。然后对每一张图的元素坐标都进行标记;Construct the coordinate axis, determine the position of the elements in the reference image, mark the coordinates of the corresponding points in each element, and mark them with (X,Y). Then mark the element coordinates of each picture;
对元素进行标记完成后,确定每一个元素出现在9s视频上的坐标点,并计算坐标基准点偏离概率,记为N,最后以M+N计算每个基准元素占比,得出用户所圈中的基准元素,并反馈到彩铃播放平台。After marking the elements, determine the coordinate point where each element appears on the 9s video, and calculate the deviation probability of the coordinate reference point, which is recorded as N, and finally calculate the proportion of each reference element with M+N, and obtain the user's circle The benchmark elements in the CRBT and feed back to the CRBT playback platform.
具体实现如下:The specific implementation is as follows:
(1)计算每一元素对应的方格数(1) Calculate the number of squares corresponding to each element
Mi=f(x1)+f(x2)+…f(xQ)M i =f(x 1 )+f(x 2 )+...f(x Q )
(2)计算同一元素的偏离概率(2) Calculate the deviation probability of the same element
Ni=V1+V2+…VQ N i =V 1 +V 2 +...V Q
VQ=E(Y-u)2 V Q = E(Yu) 2
(3)计算核心元素排行值(3) Calculate the ranking value of core elements
步骤六、视频彩铃播放平台接收终端发送的核心聚焦内容,并开启对视频中相同或者相似度较高的内容进行分析,截取后重新组合为新的视频彩铃。Step 6: The video CRBT playback platform receives the core focused content sent by the terminal, and starts to analyze the same or highly similar content in the video, and reassembles it into a new video CRBT after intercepting.
步骤七、视频彩铃平台将新的视频内容发送到手机终端,手机终端屏幕播放新的视频彩铃(保证视频彩铃在用户圈定的小框中播放),同时将其他部分内容变黑(消失)。Step 7, the video ring back tone platform sends the new video content to the mobile terminal, and the mobile terminal screen plays the new video ring back tone (guaranteeing that the video ring back tone is played in the small frame delineated by the user), while other parts of the content are blackened (disappeared).
步骤八、在屏幕已变黑部分,以用户截取的形状作为播放框,向用户终端屏幕投放与用户聚焦内容相似的内容向用户进行推送。对用户的内容推送采用垂类推送方式。Step 8: In the blackened part of the screen, the shape captured by the user is used as the playback frame, and the content similar to the content focused on by the user is delivered to the user terminal screen and pushed to the user. The vertical push method is adopted to push the user's content.
步骤九、此时为用户设计触屏操作方案:Step 9. At this time, design a touch screen operation scheme for the user:
A:用户点击某一播放框,可将视频播放内容转换为全屏播放。A: When the user clicks on a play box, the video playback content can be converted to full-screen playback.
B:用户对已全屏播放的视频,双击后可退回多窗口预览模式。B: The user can return to the multi-window preview mode after double-clicking the video that has been played in full screen.
当用户对某一视频点击放大又返回到主屏幕时,终端可以自动删除该内容并通知视频彩铃播放平台,视频彩铃播放平台向用户终端下发新的视频内容供用户继续观看。When the user clicks on a certain video to zoom in and returns to the main screen, the terminal can automatically delete the content and notify the video CRBT playing platform, and the video CRBT playing platform sends new video content to the user terminal for the user to continue watching.
本申请实施可以实现视频彩铃播放过程中的自动切割,核心元素选取与跟踪播放。The implementation of this application can realize automatic cutting, core element selection and tracking playback in the process of playing video color ring back tones.
本申请实施例还提供了一种可以执行上述方法实施例的视频彩铃播放设备。由于视频彩铃播放设备解决问题的原理与本申请实施例中视频彩铃播放方法相似,因此该视频彩铃播放设备的实施可以参见方法的实施,重复之处不再赘述。The embodiment of the present application also provides a video ring tone playing device capable of executing the foregoing method embodiment. Since the problem-solving principle of the video CRBT playback device is similar to the video CRBT playback method in the embodiment of the present application, the implementation of the video CRBT playback device can refer to the implementation of the method, and repeated descriptions will not be repeated.
参见图7,图7是本申请实施例提供的视频彩铃播放装置的结构图。如图7所示,视频彩铃播放装置700可以包括:Referring to FIG. 7, FIG. 7 is a structural diagram of a device for playing video ring back tones provided by an embodiment of the present application. As shown in Figure 7, the video ring back
获取模块701,用于获取从播放的第一视频彩铃截取的第一视频流;An
第一确定模块702,用于根据所述第一视频流,确定P个核心元素,P为正整数;The
第一发送模块703,用于向彩铃平台发送所述P个核心元素;The
第一播放模块704,用于播放所述彩铃平台发送的第二视频彩铃,所述第二视频彩铃基于所述P个核心元素确定。The first playing module 704 is configured to play the second video ring back tone sent by the ring back tone platform, and the second video ring back tone is determined based on the P core elements.
可选的,所述第一确定模块702,包括:Optionally, the first determining
识别单元,用于识别所述第一视频流的第一视频帧包括的M个元素,M为大于或等于P的整数;An identifying unit, configured to identify M elements included in the first video frame of the first video stream, where M is an integer greater than or equal to P;
第一获取单元,用于获取所述M个元素的每个元素对应的目标特征值,得到M个目标特征值,其中,元素对应的目标特征值基于元素对应的第一特征值和元素对应的第二特征值确定,元素对应的第一特征值用于表征元素在所述第一视频流的总显示大小,元素对应的第二特征值用于表征元素在所述第一视频流的所有显示位置相对元素在所述第一视频帧的显示位置的总偏移值;The first acquisition unit is configured to acquire the target eigenvalue corresponding to each element of the M elements to obtain M target eigenvalues, wherein the target eigenvalue corresponding to the element is based on the first eigenvalue corresponding to the element and the corresponding first eigenvalue of the element The second eigenvalue is determined. The first eigenvalue corresponding to the element is used to represent the total display size of the element in the first video stream, and the second eigenvalue corresponding to the element is used to represent all the displays of the element in the first video stream. The total offset value of the position relative to the display position of the element in the first video frame;
第一确定单元,用于将所述M个目标特征值中最大的P个目标特征值对应的P个元素确定为P个核心元素。The first determining unit is configured to determine P elements corresponding to the largest P target feature values among the M target feature values as P core elements.
可选的,所述第一确定模块702,还包括:Optionally, the first determining
第六确定单元,用于确定所述第一视频流包括所述M个元素的第i个元素的Q个视频帧,i为小于或等于M的正整数,Q为正整数;The sixth determination unit is configured to determine that the first video stream includes Q video frames of the i-th element of the M elements, i is a positive integer less than or equal to M, and Q is a positive integer;
划分单元,用于采用相同方式对所述Q个视频帧进行格网划分;A division unit, configured to perform grid division on the Q video frames in the same manner;
第三获取单元,用于获取所述第i个元素在所述Q个视频帧的每个视频帧占用的网格数,得到Q个网格数;The third acquisition unit is used to acquire the number of grids occupied by the i-th element in each video frame of the Q video frames to obtain Q grid numbers;
第七确定单元,用于根据所述Q个网格数,确定所述第i个元素对应的第一特征值。The seventh determining unit is configured to determine the first eigenvalue corresponding to the i-th element according to the Q grid numbers.
可选的,所述第一视频彩铃的至少部分视频帧包括至少一个剪辑控件,所述至少一个剪辑控件用于截取视频流;Optionally, at least part of the video frames of the first video CRBT include at least one clipping control, and the at least one clipping control is used to intercept a video stream;
所述获取模块701,包括:The obtaining
接收单元,用于接收对所述第一视频彩铃的第二视频帧包括的第一剪辑控件的第一输入,所述第一输入用于绘制第一封闭框;A receiving unit, configured to receive a first input to the first clipping control included in the second video frame of the first video CRBT, and the first input is used to draw a first closed frame;
第二确定单元,用于响应于所述第一输入,将所述第一封闭框对应的第一显示区域在第一时间段播放的视频流,确定为从播放的第一视频彩铃截取的第一视频流;The second determining unit is configured to, in response to the first input, determine the video stream played in the first display area corresponding to the first closed frame in the first time period as the first video stream intercepted from the played first video CRBT a video stream;
其中,所述第一时间段的开始时刻为所述第一输入的开始时刻,所述第一时间段的结束时刻为所述第一输入的结束时刻。Wherein, the start time of the first time period is the start time of the first input, and the end time of the first time period is the end time of the first input.
可选的,视频彩铃播放装置还包括:Optionally, the video ring tone playback device also includes:
第二播放模块,用于播放所述彩铃平台发送的第三视频彩铃;The second playing module is used to play the third video ring tone sent by the ring tone platform;
第二确定模块,用于确定所述用户对所述第三视频彩铃感兴趣的T个元素,T为正整数;The second determining module is configured to determine T elements that the user is interested in in the third video color ring back, where T is a positive integer;
第二发送模块,用于向所述彩铃平台发送所述T个元素;A second sending module, configured to send the T elements to the CRBT platform;
第一接收模块,用于接收所述彩铃平台发送的所述第一视频彩铃,所述至少一个剪辑控件在所述第一视频彩铃中的显示位置基于所述T个元素确定。The first receiving module is configured to receive the first video CRBT sent by the CRBT platform, and the display position of the at least one editing control in the first video CRBT is determined based on the T elements.
可选的,所述第二确定模块,包括:Optionally, the second determination module includes:
第三确定单元,用于确定所述用户对所述第三视频彩铃的感兴趣区域;A third determining unit, configured to determine an area of interest of the user to the third video ring back tone;
第四确定单元,用于根据所述感兴趣区域对应的第三显示区域在第二时间段播放的第二视频流,确定所述用户对所述第三视频彩铃感兴趣的T个元素。The fourth determining unit is configured to determine T elements that the user is interested in in the third video CRBT according to the second video stream played in the second time period in the third display area corresponding to the interest area.
可选的,第一播放模块704,包括:Optionally, the first playing module 704 includes:
播放单元,用于在所述第一显示区域播放所述彩铃平台发送的第二视频彩铃;a playing unit, configured to play the second video CRBT sent by the CRBT platform in the first display area;
执行单元,用于对第二显示区域执行第一操作,所述第一操作为以下任一项:An executing unit, configured to execute a first operation on the second display area, where the first operation is any of the following:
控制所述第二显示区域处于熄屏状态;controlling the second display area to be in a screen-off state;
在所述第二显示区域播放所述彩铃平台发送的第四视频彩铃,所述第四视频彩铃基于所述P个核心元素确定;Playing a fourth video CRBT sent by the CRBT platform in the second display area, the fourth video CRBT is determined based on the P core elements;
其中,所述第二显示区域为除所述第一显示区域之外的显示区域。Wherein, the second display area is a display area other than the first display area.
本申请实施例提供的视频彩铃播放装置700,可以执行上述图2方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The video
参见图8,图8是本申请实施例提供的视频彩铃发送装置的结构图。如图8所示,视频彩铃发送装置800可以包括:Referring to FIG. 8, FIG. 8 is a structural diagram of an apparatus for sending a video color ring back tone provided by an embodiment of the present application. As shown in Figure 8, the
第二发送模块801,用于向终端发送第一视频彩铃;The
第二接收模块802,用于接收所述终端发送的P个核心元素,所述P个核心元素基于从所述第一视频彩铃截取的第一视频流确定,P为正整数;The
第三发送模块803,用于向所述终端发送第二视频彩铃,所述第二视频彩铃基于所述P个核心元素确定。The
可选的,视频彩铃发送装置800还包括:Optionally, the
提取模块,用于从至少一个视频彩铃中提取R个视频帧;Extraction module, for extracting R video frames from at least one video ring back tone;
第一生成模块,用于生成第二视频彩铃,所述第二视频彩铃包括所述R个视频帧;A first generating module, configured to generate a second video ring back, where the second video ring includes the R video frames;
其中,在所述P个核心元素为用户感兴趣的P个元素的情况下,所述R个视频帧的每个视频帧包括所述P个核心元素中的至少一个元素,或,所述R个视频帧的每个视频帧包括的元素与所述P个核心元素的匹配度大于预设值;Wherein, in the case that the P core elements are P elements that the user is interested in, each video frame of the R video frames includes at least one element in the P core elements, or, the R Each of the video frames includes elements whose matching degree with the P core elements is greater than a preset value;
在所述P个核心元素为用户不感兴趣的P个元素的情况下,所述R个视频帧不包括所述P个核心元素。In the case that the P core elements are P elements that are not of interest to the user, the R video frames do not include the P core elements.
可选的,所述第一视频彩铃的至少部分视频帧包括至少一个剪辑控件,所述至少一个剪辑控件用于截取视频流。Optionally, at least part of the video frames of the first video CRBT include at least one clipping control, and the at least one clipping control is used to intercept a video stream.
可选的,视频彩铃发送装置800还包括:Optionally, the
第四发送模块,用于向所述终端发送第三视频彩铃;A fourth sending module, configured to send a third video ring back tone to the terminal;
第三接收模块,用于接收所述终端发送的所述用户对所述第三视频彩铃感兴趣的T个元素;A third receiving module, configured to receive T elements sent by the terminal that the user is interested in the third video CRBT;
其中,所述第一视频彩铃基于所述T个元素确定,所述至少一个剪辑控件基于所述T个元素确定。Wherein, the first video CRBT is determined based on the T elements, and the at least one editing control is determined based on the T elements.
可选的,视频彩铃发送装置800还包括:Optionally, the
第二生成模块,用于根据所述T个元素,生成第一视频彩铃;The second generation module is used to generate the first video ring tone according to the T elements;
添加模块,用于在所述第一视频彩铃包括目标元素的视频帧的目标位置,添加与所述目标元素对应的第二剪辑控件;An adding module, configured to add a second editing control corresponding to the target element at the target position of the video frame including the target element in the first video CRBT;
其中,所述目标元素属于所述T个元素,所述目标位置与所述目标元素的显示位置的距离小于预设阈值。Wherein, the target element belongs to the T elements, and the distance between the target position and the display position of the target element is smaller than a preset threshold.
可选的,所述添加模块,包括:Optionally, the added modules include:
第二获取单元,用于获取所述目标元素对应的聚焦值,所述目标元素对应的聚焦值基于所述彩铃平台接收到所述目标元素的次数确定;The second acquiring unit is configured to acquire a focus value corresponding to the target element, where the focus value corresponding to the target element is determined based on the number of times the CRBT platform receives the target element;
第五确定单元,用于根据所述目标元素对应的聚焦值,确定所述与所述目标元素对应的第二剪辑控件的目标显示大小;A fifth determining unit, configured to determine the target display size of the second clip control corresponding to the target element according to the focus value corresponding to the target element;
添加单元,用于在所述第一视频彩铃包括目标元素的视频帧的目标位置,添加所述目标显示大小的所述第二剪辑控件。An adding unit, configured to add the second clipping control of the target display size at a target position of a video frame including a target element in the first video color ring tone.
本申请实施例提供的视频彩铃发送装置800,可以执行上述图5方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The
参见图9,图9是本申请实施例提供的通信设备的结构示意图。如图9所示,通信设备可以包括:处理器901、存储器902和收发器903。Referring to FIG. 9, FIG. 9 is a schematic structural diagram of a communication device provided by an embodiment of the present application. As shown in FIG. 9 , the communication device may include: a
在通信设备为终端的情况下,处理器901,用于读取存储器902中的程序,执行图2方法实施例中的各个过程,其实现原理和技术效果类似,本实施例此处不再赘述。In the case where the communication device is a terminal, the
在通信设备为彩铃平台的情况下,处理器901,用于读取存储器902中的程序,执行图5方法实施例中的各个过程,其实现原理和技术效果类似,本实施例此处不再赘述。In the case that the communication device is a CRBT platform, the
收发机903,用于在处理901的控制下接收和发送数据。
其中,在图9中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器901代表的一个或多个处理器和存储器902代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机903可以是多个元件,即包括发送机和收发机,提供用于在传输介质上与各种其他装置通信的单元。处理器901负责管理总线架构和通常的处理,存储器902可以存储处理器901在执行操作时所使用的数据。Wherein, in FIG. 9 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by the
处理器901负责管理总线架构和通常的处理,存储器902可以存储处理器901在执行操作时所使用的数据。The
此外,本申请实施例的可读存储介质,用于存储程序或指令,所述程序或指令可被处理器执行图2或图5方法实施例中的步骤。In addition, the readable storage medium in the embodiment of the present application is used to store a program or an instruction, and the program or instruction can be executed by the processor in the steps in the method embodiment in FIG. 2 or FIG. 5 .
在本申请所提供的几个实施例中,应该理解到,所揭露方法和装置,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed methods and devices may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述视频彩铃播放方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-OnlyMemory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units may be stored in a computer-readable storage medium. The above-mentioned software functional units are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to execute some steps of the method for playing video ring back tones in various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes such as U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk.
以上所述是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above description is the preferred implementation mode of the present application. It should be pointed out that for those of ordinary skill in the art, some improvements and modifications can also be made without departing from the principles described in the application. These improvements and modifications are also It should be regarded as the protection scope of this application.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110151123.5A CN112995418B (en) | 2021-02-03 | 2021-02-03 | Video color ring playing method, sending method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110151123.5A CN112995418B (en) | 2021-02-03 | 2021-02-03 | Video color ring playing method, sending method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112995418A CN112995418A (en) | 2021-06-18 |
CN112995418B true CN112995418B (en) | 2023-04-07 |
Family
ID=76346520
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110151123.5A Active CN112995418B (en) | 2021-02-03 | 2021-02-03 | Video color ring playing method, sending method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112995418B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113630506A (en) * | 2021-08-09 | 2021-11-09 | 广西东信易通科技有限公司 | Method and system for pushing video color ring back tone service |
CN113630508B (en) * | 2021-08-27 | 2023-07-21 | 咪咕音乐有限公司 | Video ring back tone management method, device, equipment and medium |
CN113630507B (en) * | 2021-08-27 | 2023-06-30 | 咪咕音乐有限公司 | Video color ring back tone playing method, device, equipment and computer readable storage medium |
CN114285944B (en) * | 2021-11-29 | 2023-09-19 | 咪咕文化科技有限公司 | Video color ring generation method and device and electronic equipment |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247566A (en) * | 2008-03-28 | 2008-08-20 | 华为技术有限公司 | Multimedia ring service implementing method, system and device |
CN105491252A (en) * | 2015-12-29 | 2016-04-13 | 科大讯飞股份有限公司 | Method and device of switching color ring back tone |
CN105979361A (en) * | 2016-05-09 | 2016-09-28 | 深圳泽坤信息科技有限公司 | Real time smart information embedding method and system based on video streaming |
CN107454470A (en) * | 2017-09-30 | 2017-12-08 | 咪咕动漫有限公司 | An information recommendation method and device and storage medium |
CN109088999A (en) * | 2017-06-13 | 2018-12-25 | 中兴通讯股份有限公司 | A kind of method, apparatus and computer readable storage medium of playing RBT |
CN109104618A (en) * | 2018-09-03 | 2018-12-28 | 中国联合网络通信集团有限公司 | Service push method, apparatus and system |
CN110536156A (en) * | 2019-08-16 | 2019-12-03 | 咪咕文化科技有限公司 | Information processing method, system, communication device, and computer-readable storage medium |
CN110531913A (en) * | 2019-08-15 | 2019-12-03 | 咪咕音乐有限公司 | Video color ring processing method, communication equipment and computer readable storage medium |
CN110572515A (en) * | 2019-08-23 | 2019-12-13 | 咪咕音乐有限公司 | Management method of video ring back tone, ring back tone platform, terminal, system and storage medium |
CN110650255A (en) * | 2019-08-15 | 2020-01-03 | 咪咕文化科技有限公司 | Method and device for editing color ring back tone, color ring back tone editing unit and storage medium |
CN111405125A (en) * | 2020-03-12 | 2020-07-10 | 咪咕互动娱乐有限公司 | Video color ring issuing method, server and readable storage medium |
CN111787163A (en) * | 2020-06-28 | 2020-10-16 | 咪咕音乐有限公司 | Information processing method, information processing system, electronic device and storage medium |
CN112203108A (en) * | 2020-10-12 | 2021-01-08 | 广州欢网科技有限责任公司 | Method and equipment for identifying and switching to live video stream according to short video stream |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2006292461A1 (en) * | 2005-09-16 | 2007-03-29 | Flixor, Inc. | Personalizing a video |
CN101222673B (en) * | 2007-12-26 | 2010-12-22 | 华为技术有限公司 | Method and system for implementing multimedia ring back tone service |
-
2021
- 2021-02-03 CN CN202110151123.5A patent/CN112995418B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247566A (en) * | 2008-03-28 | 2008-08-20 | 华为技术有限公司 | Multimedia ring service implementing method, system and device |
CN105491252A (en) * | 2015-12-29 | 2016-04-13 | 科大讯飞股份有限公司 | Method and device of switching color ring back tone |
CN105979361A (en) * | 2016-05-09 | 2016-09-28 | 深圳泽坤信息科技有限公司 | Real time smart information embedding method and system based on video streaming |
CN109088999A (en) * | 2017-06-13 | 2018-12-25 | 中兴通讯股份有限公司 | A kind of method, apparatus and computer readable storage medium of playing RBT |
CN107454470A (en) * | 2017-09-30 | 2017-12-08 | 咪咕动漫有限公司 | An information recommendation method and device and storage medium |
CN109104618A (en) * | 2018-09-03 | 2018-12-28 | 中国联合网络通信集团有限公司 | Service push method, apparatus and system |
CN110650255A (en) * | 2019-08-15 | 2020-01-03 | 咪咕文化科技有限公司 | Method and device for editing color ring back tone, color ring back tone editing unit and storage medium |
CN110531913A (en) * | 2019-08-15 | 2019-12-03 | 咪咕音乐有限公司 | Video color ring processing method, communication equipment and computer readable storage medium |
CN110536156A (en) * | 2019-08-16 | 2019-12-03 | 咪咕文化科技有限公司 | Information processing method, system, communication device, and computer-readable storage medium |
CN110572515A (en) * | 2019-08-23 | 2019-12-13 | 咪咕音乐有限公司 | Management method of video ring back tone, ring back tone platform, terminal, system and storage medium |
CN111405125A (en) * | 2020-03-12 | 2020-07-10 | 咪咕互动娱乐有限公司 | Video color ring issuing method, server and readable storage medium |
CN111787163A (en) * | 2020-06-28 | 2020-10-16 | 咪咕音乐有限公司 | Information processing method, information processing system, electronic device and storage medium |
CN112203108A (en) * | 2020-10-12 | 2021-01-08 | 广州欢网科技有限责任公司 | Method and equipment for identifying and switching to live video stream according to short video stream |
Non-Patent Citations (2)
Title |
---|
Evolution of MiRingBack service to multimedia MiRingBack service in the IMS framework;Ramachandra Batni等;《Bell Labs Technical Journal》;20061231;全文 * |
基于VOLTE的视频彩铃实现与研究;武红然等;《科技风》;20200720;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112995418A (en) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112995418B (en) | Video color ring playing method, sending method and related equipment | |
CN106570110B (en) | Image duplicate removal method and device | |
JP6384474B2 (en) | Information processing apparatus and information processing method | |
US20190324634A1 (en) | Display and Processing Methods and Related Apparatus | |
CN112261218B (en) | Video control method, video control device, electronic device and readable storage medium | |
US20190222806A1 (en) | Communication system and method | |
CN105611215A (en) | Video call method and device | |
CN109005283A (en) | Show method, apparatus, terminal and the storage medium of notification message | |
CN111783001A (en) | Page display method and device, electronic equipment and storage medium | |
US20230269459A1 (en) | Photographing processing method and apparatus, electronic device, and readable storage medium | |
CN112511779B (en) | Video data processing method and device, computer storage medium and electronic equipment | |
EP4344229A1 (en) | Video processing method and apparatus, device, and storage medium | |
CN111273850B (en) | Terminal control method and device, computer equipment and storage medium | |
CN105898137A (en) | Image collection and information push methods, image collection and information push devices and mobile phone | |
CN112312190A (en) | Display method, device, electronic device and storage medium for video picture | |
CN113573090A (en) | Content display method, device and system in game live broadcast and storage medium | |
CN111429338A (en) | Method, apparatus, device and computer-readable storage medium for processing video | |
CN113852756B (en) | Image acquisition method, device, equipment and storage medium | |
CN113965792A (en) | Video display method and device, electronic equipment and readable storage medium | |
CN117979121A (en) | Video generation method, device, electronic equipment and storage medium | |
CN114268693B (en) | Video data processing method, device, equipment and medium | |
CN113709571B (en) | Video display method and device, electronic equipment and readable storage medium | |
CN113190725B (en) | Object recommendation and model training method and device, equipment, medium and product | |
US20210377454A1 (en) | Capturing method and device | |
CN116363725A (en) | Portrait tracking method and system for display device, display device 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 |