Video ringback tone editing method, device, equipment and storage medium

By monitoring and verifying editing requests during video ringtone playback, sending editing components to the user terminal, and generating target video ringtones based on user editing information, the problem of copyright infringement when downloading and editing video ringtones is solved, achieving higher copyright protection and security.

CN115412635BActive Publication Date: 2025-04-29MIGU MUSIC CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210984075.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-16
Publication Date
2025-04-29
Estimated Expiration
2042-08-16

AI Technical Summary

Technical Problem

Existing video ringtones are at risk of copyright infringement when they are downloaded and edited.

Method used

During the video ringtone playback, the editing request is monitored and verified. If the verification is passed, the editing component is sent to the user terminal to obtain the editing information based on the editing component of the user terminal, and generate the target video ringtone based on this information to avoid downloading the video ringtone to the local area for editing.

Benefits of technology

It effectively prevents the copyright of video ringtones from being infringed. By editing during playback, downloading and local editing of video ringtones is avoided, and the security of copyright protection is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115412635B_ABST
    Figure CN115412635B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and storage medium for editing video ringback tone, which belongs to the field of communication technology. The method comprises: during the video ringback tone playback process, monitoring the editing request for the video ringback tone, if the editing request passes the verification, sending the editing component to the user terminal, obtaining the editing information obtained by the user terminal based on the editing component, and obtaining the target video ringback tone according to the editing information. That is, during the video ringback tone playback process, the present application sends the editing component to the user terminal after the editing request for the video ringback tone passes the verification, and obtains the target video ringback tone according to the editing information obtained by the user terminal based on the editing component. The editing of the video ringback tone does not require the video ringback tone to be downloaded locally, thereby effectively preventing the copyright of the video ringback tone from being infringed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a video ringback tone editing method, device, equipment and storage medium. Background Art

[0002] When a user makes a voice call or video call on the VoLTE network, he or she will see a video content before the call is connected. This video content is the video ringback tone.

[0003] Currently, users can create or upload personalized video content as video ringback rings, or select video ringback rings from the operator's video ringback ring library, which can be played to the called party during the call connection phase. If the called party downloads and edits the video ringback ring uploaded by the user, the video ringback ring may be subject to copyright infringement. Summary of the invention

[0004] The main purpose of the present application is to provide a video ringback tone editing method, device, equipment and storage medium, aiming to solve the technical problem that the existing video ringback tone can be downloaded and edited, resulting in the risk of copyright infringement of the video ringback tone.

[0005] To achieve the above object, the present application provides a video ringback tone editing method, comprising the following steps:

[0006] During the video ringback tone playback process, monitoring an editing request for the video ringback tone;

[0007] If the editing request passes the verification, sending the editing component to the user terminal;

[0008] Obtaining editing information obtained by the user terminal based on the editing component;

[0009] A target video ringback tone is obtained according to the editing information.

[0010] Optionally, the video ring back tone includes watermark information, and before the step of monitoring the editing request for the video ring back tone, the step includes:

[0011] Extracting the watermark pixel value of each pixel point to be embedded with the watermark information and the original pixel value of each pixel point in the original video ring back tone point area;

[0012] The original pixel value of the replacement sub-region in the point region is replaced with the corresponding watermark pixel value to obtain the video ring back tone.

[0013] Optionally, after the step of replacing the original pixel value of the replacement sub-region in the point region with the corresponding watermark pixel value to obtain the video ring back tone, the step further includes:

[0014] Based on the encryption function, the current pixel value of each pixel point in the replacement sub-region is encrypted, wherein the encryption function is:

[0015]

[0016] Where K′ is the opacity value corresponding to the replacement sub-region, t′ i is the current pixel value of the i-th pixel point in the replacement sub-region, t i is the pixel value of the i-th pixel point after encryption in the replacement sub-region, K j is the opacity value corresponding to the j-th point area, T j is the pixel equalization value of the jth point area, m is the total number of video frames in the video ringback tone that contain the point area, and j is the point area identifier.

[0017] Optionally, the step of replacing the original pixel value of the replacement sub-region in the point region with the corresponding watermark pixel value to obtain the video ring back tone includes:

[0018] The preset low bit value of the original pixel value of the replacement sub-region in the point region is replaced by the preset high bit value of the corresponding watermark pixel value to obtain the video ring back tone.

[0019] Optionally, the target video ringback tone includes watermark information, and after the step of obtaining the target video ringback tone according to the editing information, the step further includes:

[0020] Extracting the current pixel value of each pixel point of the replacement sub-area in the target video color ring back tone point area, wherein the current pixel value is the watermark pixel value of each pixel point of the watermark information;

[0021] Based on the mapping relationship between the watermark pixel value of the watermark information and the original pixel value of the replacement sub-region, the current pixel value of the replacement sub-region is replaced with the corresponding original pixel value.

[0022] Optionally, the watermark information included in the target video ring back tone is encrypted watermark information, and before the step of extracting the current pixel value of each pixel point of the replacement sub-area in the target video ring back tone point area, the step further includes:

[0023] Based on the decryption function, the current pixel value of each pixel point of the replacement sub-area in the target video ring back tone point area is decrypted, wherein the decryption function is:

[0024]

[0025] Among them, r iis the pixel value of the i-th pixel point in the replacement sub-region, K′ is the opacity value corresponding to the replacement sub-region, and t′ i is the pixel value of the i-th pixel point after decryption of the replacement sub-region, K j is the opacity value corresponding to the j-th point area, T j is the pixel equalization value of the jth point area, m is the total number of video frames in the target video ringback tone that contain the point area, and j is the point area identifier.

[0026] Optionally, the editing request includes a click position and a click time of the video ringback tone;

[0027] After the step of monitoring the editing request for the video ringback tone, the method further includes:

[0028] Based on the current display size of the video ringback tone and the preset display size of the video ringback tone, the click position is proportionally calculated to obtain the real click position;

[0029] If the actual click position is within the preset area and the click time meets the preset time, it is determined that the editing request has passed the verification.

[0030] In addition, to achieve the above-mentioned purpose, the present application also provides a video ring back tone editing device, the video ring back tone editing device comprising:

[0031] A monitoring module, used for monitoring an editing request for the video ringback tone during the video ringback tone playback process;

[0032] An editing module, configured to send an editing component to a user terminal if the editing request passes verification;

[0033] An acquisition module, used for acquiring editing information obtained by the user terminal based on the editing component;

[0034] A generating module is used to obtain a target video ring back tone according to the editing information.

[0035] In addition, to achieve the above-mentioned purpose, the present application also provides a video ringback tone editing device, which includes: a memory, a processor, and a video ringback tone editing program stored in the memory and executable on the processor, wherein the video ringback tone editing program is configured to implement the steps of the video ringback tone editing method as described above.

[0036] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, on which a video ringback tone editing program is stored, and when the video ringback tone editing program is executed by a processor, the steps of the video ringback tone editing method described above are implemented.

[0037] The present application discloses a method, apparatus, device and storage medium for editing video ringtones. Compared with the prior art in which video ringtones can be downloaded and edited, resulting in the risk of copyright infringement of video ringtones, the present application monitors the editing request for the video ringtone during the playback of the video ringtone. If the editing request passes the verification, the editing component is sent to the user terminal, the editing information obtained by the user terminal based on the editing component is obtained, and the target video ringtone is obtained according to the editing information. Therefore, the present application sends the editing component to the user terminal during the playback of the video ringtone after the editing request for the video ringtone passes the verification, and obtains the target video ringtone according to the editing information obtained by the user terminal based on the editing component. The editing of the video ringtone does not require the video ringtone to be downloaded locally, thereby effectively preventing the copyright of the video ringtone from being infringed. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0040] Figure 1 This is a flow chart of the first embodiment of the video ringback tone editing method of the present application;

[0041] Figure 2 A schematic diagram of a scenario in which the application monitors an editing request for the video ringback tone;

[0042] Figure 3 A schematic diagram of the interaction scenario between the ring back tone server and the user terminal of this application;

[0043] Figure 4 This is a functional module diagram of the first embodiment of the video ringback tone editing device of the present application;

[0044] Figure 5 This is a schematic diagram of the structure of a video ringback tone editing device in the hardware operating environment involved in the embodiment of the present application.

[0045] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] The present application embodiment provides a video ring back tone editing method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the video ringback tone editing method of the present application.

[0048] In this embodiment, the video ring back tone editing method includes the following steps:

[0049] Step S10: During the video ringback tone playback process, monitoring an editing request for the video ringback tone;

[0050] Step S20: If the editing request passes the verification, the editing component is sent to the user terminal;

[0051] Step S30: Obtaining editing information obtained by the user terminal based on the editing component;

[0052] Step S40: Obtain a target video ringback tone according to the editing information.

[0053] In this embodiment, it should be noted that the application scenario of this embodiment includes a ringback tone server and a user terminal. When the user terminal is playing a video ringback tone, the ringback tone server monitors the editing request for the video ringback tone in real time (the editing request for the video ringback tone is initiated by the user terminal), and verifies the monitored editing request. After the editing request passes the verification, the editing component is sent to the user terminal. The user terminal edits the played video ringback tone based on the editing component, obtains the editing information, and uploads the editing information to the ringback tone server. The ringback tone server obtains the target video ringback tone based on the editing information.

[0054] In this embodiment, the user terminal may be a smart phone, a phone watch, a tablet computer, a laptop computer, and a desktop computer that supports the video playback function. Smart phones and phone watches both have a call function and can initiate a call request and play a video ringback tone while waiting for the call to be connected; smart phones, phone watches, tablet computers, laptop computers, and desktop computers can all use APP to initiate a voice call and play a video ringback tone while waiting for the called party to connect.

[0055] Compared with the prior art in which video ringtones can be downloaded and edited, resulting in the risk of copyright infringement of video ringtones, this embodiment monitors the editing request for the video ringtone during the playback of the video ringtone. If the editing request passes the verification, the editing component is sent to the user terminal, the editing information obtained by the user terminal based on the editing component is obtained, and the target video ringtone is obtained according to the editing information. Therefore, this embodiment sends the editing component to the user terminal during the playback of the video ringtone after the editing request for the video ringtone passes the verification, and obtains the target video ringtone according to the editing information obtained by the user terminal based on the editing component. The editing of the video ringtone does not require the video ringtone to be downloaded locally, thereby effectively preventing the copyright of the video ringtone from being infringed.

[0056] The specific steps are as follows:

[0057] Step S10: During the video ringback tone playback process, monitoring an editing request for the video ringback tone.

[0058] In this embodiment, the editing request for the video ringback tone includes the click position and click time of the video ringback tone. That is, in this embodiment, an editing feature identifier is set in the played video ringback tone, and the editing feature identifier has its corresponding position and time in the video ringback tone. When the click position and click time of the video ringback tone uploaded by the user terminal are consistent with the position and time corresponding to the editing feature identifier, it means that the editing request for the video ringback tone uploaded by the user terminal passes the verification, and the ringback tone server sends down the editing component, and the user can edit the played video ringback tone based on the editing component; when the click position of the video ringback tone uploaded by the user terminal does not meet the position corresponding to the editing feature identifier, or the click time of the video ringback tone does not meet the time corresponding to the editing feature identifier, or the click position of the video ringback tone does not meet the position corresponding to the editing feature identifier, and the click time of the video ringback tone does not meet the time corresponding to the editing feature identifier, it means that the editing request for the video ringback tone uploaded by the user terminal fails to pass the verification, the ringback tone server does not send down the editing component, and the played video ringback tone cannot be edited.

[0059] It should be noted that the pixel coordinates of different screens are customized and adapted according to the screen size. When determining the position and time corresponding to the editing feature identifier in the video ringback tone, the display size of the video ringback tone is defined as the preset display size, and the display size when the video ringback tone is played is defined as the current display size. The preset display size of the video ringback tone and the current display size when it is played can be the same or different. Therefore, when comparing the click position and the position corresponding to the editing feature identifier in the video ringback tone, the size cannot be compared simply. Then, after the step of monitoring the editing request for the video ringback tone, it also includes:

[0060] Based on the current display size of the video ringback tone and the preset display size of the video ringback tone, the click position is proportionally calculated to obtain the real click position;

[0061] If the actual click position is within the preset area and the click time meets the preset time, it is determined that the editing request has passed the verification.

[0062] In this embodiment, based on the current display size of the video ringback tone and the preset display size of the video ringback tone, the click position is proportionally calculated by the following adjustment formula to obtain the real click position, wherein the adjustment formula is:

[0063]

[0064] Among them, (x', y') is the click position, (video_width, video_height) is the current display size of the video ringback tone, video_width is the current display width of the video ringback tone, video_height is the current display height of the video ringback tone, device_width, device_height are the preset display sizes of the video ringback tone, vice_width is the preset display width of the video ringback tone, video_height is the preset display height of the video ringback tone, and (x, y) is the actual click position.

[0065] In this embodiment, the preset area range is the position corresponding to the editing feature identifier, and the preset time is the time corresponding to the editing feature identifier.

[0066] The editing feature identifier set in the played video ringback tone may be watermark information embedded in the video ringback tone, or may be a character feature, an object feature, etc. that comes with the video ringback tone.

[0067] Reference Figure 2 , Figure 2 This is a schematic diagram of a scenario in which the application monitors an editing request for the video ringback tone. Figure 2 In the example, the current display size of the video ringback tone is the same as its preset display size. The click time of the video ringback tone obtained by monitoring is the 3S of the video ringback tone. The click position of the video ringback tone is point A. The preset area range is the position corresponding to the edit feature mark, that is, the preset area range is the range surrounded by pixel coordinates (x1, y1), (x2, y2), (x3, y3) and (x4, y4). It can be determined that the click time of the video ringback tone meets the preset time (the video ringback tone corresponding to the click time has an edit feature mark), and the click position of the video ringback tone is within the preset area range, so Figure 2 The editing request for the video ringback tone passes the verification.

[0068] Furthermore, when the editing feature identifier set in the played video ring back tone is watermark information, that is, the video ring back tone contains watermark information, before the step of monitoring the editing request for the video ring back tone, the step includes:

[0069] Step A1: extracting the watermark pixel value of each pixel point to be embedded with the watermark information and the original pixel value of each pixel point in the ring back tone point area of ​​the original video.

[0070] In this embodiment, the point area refers to the embedding position of the watermark information in the video frame of the original video ringback tone. The point area is specified by the copyright owner of the original video ringback tone. The shape of the point area can be regular or irregular, but the point area needs to be able to completely embed the watermark information. In this embodiment, the point area can be set in the video frame within a partial time segment of the original video ringback tone, or in all the video frames of the entire original video ringback tone.

[0071] The method for obtaining the video frame of the original video ringtone may be: performing frame processing on the original video ringtone according to a preset interval time to obtain a video frame. The preset interval time may be set according to actual needs and is not limited here. For example, each 1S of the original video ringtone may be divided into 20 video frames. The method for obtaining the video frame of the original video ringtone may also be: using a lens edge detection algorithm to detect an image frame where a lens switch occurs in the original video ringtone, and using the image frame as a video frame.

[0072] In this embodiment, the watermark information is specified by the copyright owner of the original video ringback tone, and is a logo specific to the copyright owner, which may be a picture.

[0073] Step A2: Replace the original pixel value of the replacement sub-region in the point region with the corresponding watermark pixel value to obtain a video ring back tone.

[0074] In this embodiment, the shape and size of the replacement sub-region are the same as the shape and size of the watermark information. If the point area is a square, the watermark information is also a square, and the size of the point area is the same as the size of the watermark information, then the replacement sub-region in the point area is the entire point area; if the point area is a square, the watermark information is also a circle, and the size of the point area is larger than the size of the watermark information, then the replacement sub-region in the point area is a circle, and the size of the replacement sub-region in the point area is the same as the watermark information.

[0075] Specifically, the step of replacing the original pixel value of the replacement sub-region in the point region with the corresponding watermark pixel value to obtain the video ring back tone includes:

[0076] The preset low bit value of the original pixel value of the replacement sub-region in the point region is replaced by the preset high bit value of the corresponding watermark pixel value to obtain the video ring back tone.

[0077] It should be noted that if the original pixel value of the replacement sub-region in the point region is completely replaced with the corresponding watermark pixel value, when the watermark pixel value differs greatly from the original pixel value, the embedded watermark information will affect the perception of the video ringback tone and the extraction of information in the video ringback tone. Therefore, the preset low bit value of the original pixel value of the replacement sub-region in the point region is replaced with the preset high bit value of the corresponding watermark pixel value, so that the watermark information is embedded in the original video ringback tone, and the pixel difference between the embedded watermark information and the video frame of the original video ringback tone is reduced, so that the embedded watermark information will not affect the perception of the video ringback tone and the extraction of information in the video ringback tone.

[0078] By assigning values ​​to the RGB channels of each pixel in the 8-bit image, images of different colors can be obtained. Therefore, in this embodiment, the original pixel value of the replacement sub-region in the point region can be represented by an RGB value, and the R value, G value, and B value in the RGB value can be represented as 0 to 255. Similarly, the watermark pixel value of the watermark information can also be represented by an RGB value, and the R value, G value, and B value in the RGB value can also be represented as 0 to 255.

[0079] As an example, the original pixel values ​​of the replacement sub-area in the point area and the watermark pixel values ​​of the watermark information are converted from decimal values ​​to binary values, or from decimal values ​​to octal values, or from decimal values ​​to hexadecimal values, or the decimal values ​​are hashed to obtain hash values.

[0080] Then, the preset low bit value of the original pixel value of the replacement sub-region in the point region is replaced with the preset high bit value of the corresponding watermark pixel value, which can be:

[0081] The value of the reverse order bit of the original pixel value of the replacement sub-region in the point area is replaced by the value of the positive order bit of the corresponding watermark pixel value.

[0082] Take the original pixel value of the sub-region replaced in the point region and the watermark pixel value of the watermark information in the point region as an example, both of which are converted from decimal values ​​to binary values:

[0083] The original pixel value is (130, 129, 79). After binary conversion, we get R=10000010, G=10000001, B=01001111. The watermark pixel value is (128, 128, 76). After binary conversion, we get R=10000000, G=10000000, B=01001100. After replacing the first and second reverse digits of the original pixel value with the first and second positive digits of the corresponding watermark pixel value, we get pixel values ​​R=10000010, G=10000010, B=01001101, that is, the pixel value is (130, 130, 77).

[0084] Reference Figure 3 , Figure 3 This is a schematic diagram of the interaction scenario between the ringback tone server and the user terminal of this application.

[0085] Step S20: If the editing request passes the verification, the editing component is sent to the user terminal.

[0086] In this embodiment, the ringback tone server sends an editing component to the user terminal, and the user terminal can edit the played video ringback tone according to the editing component, including but not limited to changing the background color, changing or inserting the background music, and inserting various types of avatars.

[0087] It should be noted that the user terminal can only edit the video ringback tone according to the editing component during the playback of the video ringback tone. Once the playback of the video ringback tone ends, the user terminal cannot edit the video ringback tone. In this embodiment, the entire video ringback tone can be edited, and the video ringback tone that has passed the editing verification can also be edited (for example, the editing time for the video ringback tone in the editing request is 3S, then when the editing request passes the verification, the video ringback tone of 3S and later can be edited).

[0088] In this embodiment, the editing component sent by the color ring back tone server is related to the personalization of the user terminal. For example, if the holder of the user terminal is an elderly user, the editing component sent by the color ring back tone server is larger in size; if the holder of the user terminal is a color blind user, the editing component sent by the color ring back tone server is marked with color Chinese characters; if the holder of the user terminal is an illiterate user, the editing component sent by the color ring back tone server is an intelligent voice assistant editing component.

[0089] Step S30: Obtain editing information obtained by the user terminal based on the editing component.

[0090] In this embodiment, the editing information obtained by the user terminal based on the editing component can be uploaded to the CRBT server in real time, or can be uploaded to the CRBT server in a summary manner after the playing of the video CRBT is finished.

[0091] In this embodiment, the editing information obtained by the user terminal based on the editing component can be a video ringback tone after editing, or it can be editing content (for example, changing the background music from music A to music B).

[0092] Step S40: Obtain a target video ringback tone according to the editing information.

[0093] In this embodiment, when the editing information is the edited video ringback tone, the edited video ringback tone is used as the target video ringback tone; when the editing information is the edited content, the video ringback tone is edited accordingly according to the edited content to obtain the target video ringback tone.

[0094] Wherein, when the editing feature identifier set in the played video ringback tone is watermark information, the target video ringback tone obtained in step S40 also contains watermark information. Therefore, after the step of obtaining the target video ringback tone according to the editing information, the method further includes:

[0095] Step A3, extracting the current pixel value of each pixel point of the replacement sub-area in the target video ring back tone point area, wherein the current pixel value is the watermark pixel value of each pixel point of the watermark information;

[0096] Step A4: based on the mapping relationship between the watermark pixel value of the watermark information and the original pixel value of the replacement sub-region, the current pixel value of the replacement sub-region is replaced with the corresponding original pixel value.

[0097] It should be noted that the watermark information in the target video ringback tone can be removed by replacing the current pixel value of the replacement sub-region with the corresponding original pixel value, so as to facilitate the user who edits the target video ringback tone to embed the watermark information.

[0098] In this embodiment, when the original pixel value of the replacement sub-region in the point region is replaced with the corresponding watermark pixel value to obtain the video ring back tone, the original pixel value of the replacement sub-region and the corresponding replaced watermark pixel value are associated and stored in the ring back tone server. In other words, the mapping relationship between the original pixel value of the replacement sub-region and the watermark pixel value of the watermark information is stored in the ring back tone server.

[0099] When in step A2, the preset low bit value of the original pixel value of the replacement sub-region in the point region is replaced with the preset high bit value of the corresponding watermark pixel value to obtain the video ring back tone, then specifically, based on the mapping relationship between the watermark pixel value of the watermark information and the original pixel value of the replacement sub-region, the step of replacing the current pixel value of the replacement sub-region with the corresponding original pixel value includes:

[0100] Based on the mapping relationship between the watermark pixel value of the watermark information and the original pixel value of the replacement sub-region, the preset low bit value of the current pixel value of the replacement sub-region is replaced with the preset low bit value of the corresponding original pixel value.

[0101] As an example, if in step A2 the original pixel value of the replacement sub-area in the point area and the watermark pixel value of the watermark information are converted from decimal values ​​to binary values, or from decimal values ​​to octal values, or from decimal values ​​to hexadecimal values, or the decimal values ​​are hashed to obtain hash values, then in step A4, the current pixel value of the replacement sub-area in the target video ringtone point area is subjected to the same numerical conversion as in step A2.

[0102] Therefore, the value of the preset low bit of the current pixel value of the replacement sub-region is replaced with the value of the preset low bit of the corresponding original pixel value, which can be:

[0103] The value of the reverse order bit of the current pixel value of the replacement sub-region is replaced by the value of the reverse order bit of the corresponding original pixel value.

[0104] In step A2, the original pixel value of the replacement sub-region in the point region and the watermark pixel value of the watermark information are converted from decimal values ​​to binary values ​​as an example:

[0105] The original pixel value is (130, 129, 79). After binary conversion, we get R=10000010, G=10000001, B=01001111. The watermark pixel value is (128, 128, 76). After binary conversion, we get R=10000000, G=10000000, B=01001100. After replacing the first and second reverse digits of the original pixel value with the first and second positive digits of the corresponding watermark pixel value, we get pixel values ​​R=10000010, G=10000010, B=01001101, that is, the pixel value is (130, 130, 77).

[0106] Correspondingly, in step A4, the current pixel value of the replacement sub-region is converted from a decimal value to a binary value as an example:

[0107] The current pixel value is (130, 130, 77). After binary conversion, we get R=10000010, G=10000010, B=01001101. The mapping relationship between the watermark pixel value of the watermark information and the original pixel value of the replacement sub-area is: R10→10, G10→01, B01→11. After replacing the reverse first and second bits of the current pixel value of the replacement sub-area with the reverse first and second bits of the corresponding original pixel value, we get R=10000010, G=10000001, B=01001111, that is, the pixel value is (130, 129, 79).

[0108] The embodiment of the present application further provides a second embodiment based on the first embodiment of the video ringback tone editing method.

[0109] In this embodiment, after the step of replacing the original pixel value of the replacement sub-region in the point region with the corresponding watermark pixel value to obtain the video ring back tone, the step further includes:

[0110] Based on the encryption function, the current pixel value of each pixel point in the replacement sub-region is encrypted, wherein the encryption function is:

[0111]

[0112] Where K′ is the opacity value corresponding to the replacement sub-region, t′ i is the current pixel value of the i-th pixel point in the replacement sub-region, t i is the pixel value of the i-th pixel point after encryption in the replacement sub-region, K j is the opacity value corresponding to the j-th point area, T j is the pixel equalization value of the jth point area, m is the total number of video frames in the video ringback tone that contain the point area, and j is the point area identifier.

[0113] The pixel balance value of the point area is obtained by calculating the average value of the pixel values ​​of all pixels in the point area.

[0114] Among them, t′ i With t i Correspondingly, when the current pixel value of the i-th pixel point of the replacement sub-region is represented by RGB value, when t′ i When R is the current pixel value of the ith pixel in the replacement sub-region, t i is the R value of the pixel value of the i-th pixel point after encryption in the replacement sub-region; when t′ i When G is the current pixel value of the i-th pixel point in the replacement sub-region, t iis the G value of the pixel value of the i-th pixel point after encryption in the replacement sub-region; when t′ i is the B value in the current pixel value of the i-th pixel point in the replacement sub-region, t i is the B value in the pixel value of the i-th pixel point after encryption in the replacement sub-region.

[0115] By replacing the original pixel value of the replacement sub-area in the point area with the corresponding watermark pixel value, the watermark information is embedded in the original video ring back tone. The difference between the pixel value of the watermark information embedded by the above method and the pixel value of the video ring back tone changes regularly, and this difference is easy to be discovered, which leads to the tampering of the watermark information, resulting in the inability to verify the editing requests uploaded by the user terminal, and the inability to edit the video ring back tone. In order to improve the security of the watermark information and prevent the watermark information from being tampered with, this embodiment encrypts the current pixel value of each pixel point in the replacement sub-area based on an encryption function, so that there is no regular difference between the pixel value of the watermark information in the video ring back tone and the pixel value of the video ring back tone, making the watermark information not easy to be tampered with.

[0116] It should be noted that after the encryption processing of the current pixel value of each pixel point in the replacement sub-area in the point area of ​​a video ringtone is completed, the opacity value corresponding to the replacement sub-area and the opacity value corresponding to the point area are dynamically updated, and the sum of the opacity value corresponding to the replacement sub-area and the opacity value corresponding to the point area is the preset threshold.

[0117] As an example, K j ∈(0, 100)K, and the sum of the opacity values ​​corresponding to the replacement sub-area and the opacity values ​​corresponding to the point area is 100K to ensure the normalization of the percentage.

[0118] After completing the encryption processing of the current pixel value of each pixel point in the replacement sub-area in the point area of ​​a video ringtone, the opacity value corresponding to the replacement sub-area and the opacity value corresponding to the point area are dynamically updated, further improving the security of the watermark information and preventing the watermark information from being tampered with.

[0119] Wherein, when the current pixel value of each pixel point of the replacement sub-area in the point area of ​​the played video ring back tone is encrypted, the watermark information contained in the target video ring back tone is the encrypted watermark information, and before the step of extracting the current pixel value of each pixel point of the replacement sub-area in the point area of ​​the target video ring back tone, it also includes:

[0120] Based on the decryption function, the current pixel value of each pixel point of the replacement sub-area in the target video ring back tone point area is decrypted, wherein the decryption function is:

[0121]

[0122] Among them, r i is the pixel value of the i-th pixel point in the replacement sub-region, K′ is the opacity value corresponding to the replacement sub-region, t i ′ is the pixel value of the i-th pixel point after decryption of the replacement sub-region, K j is the opacity value corresponding to the j-th point area, T j is the pixel equalization value of the jth point area, m is the total number of video frames in the target video ringback tone that contain the point area, and j is the point area identifier.

[0123] The present application embodiment provides a video ring back tone editing device, referring to Figure 4 , Figure 4 This is a functional module diagram of the first embodiment of the video ringback tone editing device of the present application.

[0124] In this embodiment, the video ring back tone editing device includes:

[0125] The monitoring module 10 is used to monitor the editing request for the video ringback tone during the video ringback tone playback process;

[0126] The editing module 20 is used to send the editing component to the user terminal if the editing request passes the verification;

[0127] An acquisition module 30, used to acquire the editing information obtained by the user terminal based on the editing component;

[0128] The generating module 40 is used to obtain the target video ring back tone according to the editing information.

[0129] Optionally, the video ring back tone includes watermark information, and the video ring back tone editing device further includes:

[0130] The first extraction module is used to extract the watermark pixel value of each pixel point to be embedded with the watermark information, and the original pixel value of each pixel point in the original video ring back tone point area;

[0131] The embedding module is used to replace the original pixel value of the replacement sub-area in the point area with the corresponding watermark pixel value to obtain the video ring back tone.

[0132] Optionally, the video ringback tone editing device further includes:

[0133] The encryption module is used to encrypt the current pixel value of each pixel point in the replacement sub-region based on the encryption function, wherein the encryption function is:

[0134]

[0135] Where K′ is the opacity value corresponding to the replacement sub-region, t′ i is the current pixel value of the i-th pixel point in the replacement sub-region, t i is the pixel value of the i-th pixel point after encryption in the replacement sub-region, K j is the opacity value corresponding to the j-th point area, T j is the pixel equalization value of the jth point area, m is the total number of video frames in the video ringback tone that contain the point area, and j is the point area identifier.

[0136] Optionally, the replacement module is used to implement:

[0137] The preset low bit value of the original pixel value of the replacement sub-region in the point region is replaced by the preset high bit value of the corresponding watermark pixel value to obtain the video ring back tone.

[0138] Optionally, the target video ringback tone includes watermark information, and the video ringback tone editing device further includes:

[0139] A second extraction module is used to extract the current pixel value of each pixel point of the replacement sub-area in the target video ring back tone point area, wherein the current pixel value is the watermark pixel value of each pixel point of the watermark information;

[0140] The restoration module is used to replace the current pixel value of the replacement sub-region with the corresponding original pixel value based on the mapping relationship between the watermark pixel value of the watermark information and the original pixel value of the replacement sub-region.

[0141] Optionally, the watermark information included in the target video ringback tone is encrypted watermark information, and the video ringback tone editing device further includes:

[0142] The decryption module is used to decrypt the current pixel value of each pixel point of the replacement sub-area in the target video color ring tone point area based on the decryption function, wherein the decryption function is:

[0143]

[0144] Among them, r i is the pixel value of the i-th pixel point in the replacement sub-region, K′ is the opacity value corresponding to the replacement sub-region, and t′ i is the pixel value of the i-th pixel point after decryption of the replacement sub-region, K j is the opacity value corresponding to the j-th point area, T j is the pixel equalization value of the jth point area, m is the total number of video frames in the target video ringback tone that contain the point area, and j is the point area identifier.

[0145] Optionally, the editing request includes a click position and a click time of the video ringback tone, and the video ringback tone editing device further includes:

[0146] A verification module, configured to calculate the click position in proportion to the current display size of the video ringback tone and the preset display size of the video ringback tone, so as to obtain a real click position;

[0147] The verification module is further configured to determine that the editing request has passed the verification if the actual click position is within a preset area and the click time meets a preset time.

[0148] The specific implementation of the video ringback tone editing device in the embodiment of the present application is basically the same as the embodiments of the above-mentioned video ringback tone editing method, and will not be repeated here.

[0149] Reference Figure 5 , Figure 5 This is a schematic diagram of the structure of a video ringback tone editing device in the hardware operating environment involved in the embodiment of the present application.

[0150] like Figure 5 As shown, the video ringback tone editing device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0151] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the video ring back tone editing device, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0152] like Figure 5As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a video ringback tone editing program.

[0153] exist Figure 5 In the video ringback tone editing device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the video ringback tone editing device of the present application can be set in the video ringback tone editing device, and the video ringback tone editing device calls the video ringback tone editing program stored in the memory 1005 through the processor 1001, and executes the video ringback tone editing method provided in the embodiment of the present application.

[0154] The specific implementation of the video ringback tone editing device in the embodiment of the present application is basically the same as the respective embodiments of the above-mentioned video ringback tone editing method, and will not be repeated here.

[0155] In addition, an embodiment of the present application further provides a storage medium, on which a video ringback tone editing program is stored. When the video ringback tone editing program is executed by a processor, the steps of the video ringback tone editing method described above are implemented.

[0156] The specific implementation of the storage medium in the embodiment of the present application is basically the same as the embodiments of the above-mentioned video ringback tone editing method, and will not be repeated here.

[0157] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0158] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0159] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0160] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A video ringback tone editing method, characterized in that: The video ring back tone editing method comprises the following steps: During the video ringback tone playback process, monitoring an editing request for the video ringback tone; If the editing request passes the verification, sending the editing component to the user terminal; Obtaining editing information obtained by the user terminal based on the editing component; A target video ringback tone is obtained according to the editing information.

2. The video ringback tone editing method according to claim 1, characterized in that: The video ring back tone includes watermark information. Before the step of monitoring the editing request for the video ring back tone, the method includes: Extracting the watermark pixel value of each pixel point to be embedded with the watermark information and the original pixel value of each pixel point in the original video ring back tone point area; The original pixel value of the replacement sub-region in the point region is replaced with the corresponding watermark pixel value to obtain the video ring back tone.

3. The video ringback tone editing method according to claim 2, characterized in that: After the step of replacing the original pixel value of the replacement sub-region in the point region with the corresponding watermark pixel value to obtain the video ring back tone, the method further includes: Based on the encryption function, the current pixel value of each pixel point in the replacement sub-region is encrypted, wherein the encryption function is: Where K′ is the opacity value corresponding to the replacement sub-region, t′ i is the current pixel value of the i-th pixel point in the replacement sub-region, t i is the pixel value of the i-th pixel point after encryption in the replacement sub-region, K j is the opacity value corresponding to the j-th point area, T j is the pixel equalization value of the jth point area, m is the total number of video frames in the video ringback tone that contain the point area, and j is the point area identifier.

4. The video ringback tone editing method according to claim 2, characterized in that: The step of replacing the original pixel value of the replacement sub-region in the point region with the corresponding watermark pixel value to obtain the video ring back tone comprises: The preset low bit value of the original pixel value of the replacement sub-region in the point region is replaced by the preset high bit value of the corresponding watermark pixel value to obtain the video ring back tone.

5. The video ringback tone editing method according to claim 1, characterized in that: The target video ring back tone includes watermark information, and after the step of obtaining the target video ring back tone according to the editing information, the method further includes: Extracting the current pixel value of each pixel point of the replacement sub-area in the target video color ring back tone point area, wherein the current pixel value is the watermark pixel value of each pixel point of the watermark information; Based on the mapping relationship between the watermark pixel value of the watermark information and the original pixel value of the replacement sub-region, the current pixel value of the replacement sub-region is replaced with the corresponding original pixel value.

6. The video ringback tone editing method according to claim 5, characterized in that: The watermark information contained in the target video ring back tone is the encrypted watermark information. Before the step of extracting the current pixel value of each pixel point in the replacement sub-area in the target video ring back tone point area, the step further includes: Based on the decryption function, the current pixel value of each pixel point of the replacement sub-area in the target video ring back tone point area is decrypted, wherein the decryption function is: Among them, r i is the pixel value of the i-th pixel point in the replacement sub-region, K′ is the opacity value corresponding to the replacement sub-region, and t′ i is the pixel value of the i-th pixel point after decryption of the replacement sub-region, K j is the opacity value corresponding to the j-th point area, T j is the pixel equalization value of the jth point area, m is the total number of video frames in the target video ringback tone that contain the point area, and j is the point area identifier.

7. The video ringback tone editing method according to claim 1, characterized in that: The editing request includes a click position and a click time of the video ringback tone; After the step of monitoring the editing request for the video ringback tone, the method further includes: Based on the current display size of the video ringback tone and the preset display size of the video ringback tone, the click position is proportionally calculated to obtain the real click position; If the actual click position is within the preset area and the click time meets the preset time, it is determined that the editing request has passed the verification.

8. A video ring back tone editing device, characterized in that: The video ring back tone editing device comprises: A monitoring module, used for monitoring an editing request for the video ringback tone during the video ringback tone playback process; An editing module, configured to send an editing component to a user terminal if the editing request passes verification; An acquisition module, used for acquiring editing information obtained by the user terminal based on the editing component; A generating module is used to obtain a target video ring back tone according to the editing information.

9. A video ring back tone editing device, characterized in that: The device comprises: a memory, a processor, and a video ringback tone editing program stored in the memory and executable on the processor, wherein the video ringback tone editing program is configured to implement the steps of the video ringback tone editing method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores a video ring back tone editing program, and when the video ring back tone editing program is executed by the processor, the steps of the video ring back tone editing method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Cloud video editing method and device, editing device and storage medium

    CN108965397A

  • Multimedia file processing method and system, communication equipment and readable storage medium

    CN112637676A