Movatterモバイル変換


[0]ホーム

URL:


CN114793297A - Video clip unlocking method, device, equipment and storage medium - Google Patents

Video clip unlocking method, device, equipment and storage medium
Download PDF

Info

Publication number
CN114793297A
CN114793297ACN202110104272.6ACN202110104272ACN114793297ACN 114793297 ACN114793297 ACN 114793297ACN 202110104272 ACN202110104272 ACN 202110104272ACN 114793297 ACN114793297 ACN 114793297A
Authority
CN
China
Prior art keywords
video
unlocking
identifier
playing
terminal
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.)
Granted
Application number
CN202110104272.6A
Other languages
Chinese (zh)
Other versions
CN114793297B (en
Inventor
周宣宇
余海
阮腾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN202110104272.6ApriorityCriticalpatent/CN114793297B/en
Publication of CN114793297ApublicationCriticalpatent/CN114793297A/en
Application grantedgrantedCritical
Publication of CN114793297BpublicationCriticalpatent/CN114793297B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the application provides a video clip unlocking method, a video clip unlocking device, video clip unlocking equipment and a storage medium, and relates to the field of cloud technology and video authentication. The method comprises the following steps: responding to a video clip unlocking request, and acquiring a target video corresponding to a specific video clip and an exposure identifier of the target video; sending the target video and the exposure identification to a terminal; receiving a report message sent by the terminal in the process of playing the target video by the terminal, wherein the report message at least comprises a report point selection identifier and the exposure identifier; and unlocking the specific video clip when the playing process of the target video meets the preset playing condition according to the reported point selection identifier and the exposure identifier. By the method and the device, the user viscosity and the user experience degree of the video playing software can be improved, the safety of the authentication process of the specific video clip is greatly improved, and the risk of permission cracking is reduced.

Description

Video clip unlocking method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of internet, and relates to but is not limited to a method, a device, equipment and a storage medium for unlocking a video clip.
Background
With the continuous development of internet technology and video playing software, it is more and more common to watch videos through the video playing software. When a user watches videos through a terminal device under any video playing software, the user does not have the right to watch each video, and in many cases, the user needs to purchase the video watching right of the video playing software (for example, purchase VIP to obtain the right to watch a specific video).
When the video watching authority is granted to the user, in order to ensure the security of the authorization process and avoid the cheating of the user, the related technology is realized by adopting a request protocol binary system and an encryption mode, namely, the security is ensured by a data encryption mode of front-end and back-end linkage.
Disclosure of Invention
The embodiment of the application provides a video clip unlocking method, a video clip unlocking device, video clip unlocking equipment and a storage medium, and relates to the field of cloud technology and the field of video authentication. When a video clip unlocking request of a terminal is responded, the playing process of the target video is authenticated according to the report message with the report point selection identifier and the exposure identifier, so that a user can obtain the video watching permission by watching the target video and unlock the specific video clip, and the authentication is carried out through the report message in the playing process of the target video, thereby greatly improving the safety of the authentication process and reducing the risk of permission cracking.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a video clip unlocking method, which comprises the following steps:
acquiring a video clip unlocking request, wherein the video clip unlocking request is used for requesting to unlock a specific video clip;
responding to the video clip unlocking request, and acquiring a target video corresponding to the specific video clip and an exposure identifier of the target video;
sending the target video and the exposure identifier to a terminal;
receiving a report message sent by the terminal in the process of playing the target video by the terminal, wherein the report message at least comprises a report point selection identifier and the exposure identifier;
and when the playing process of the target video meets the preset playing condition according to the reported point selection identifier and the exposure identifier, unlocking the specific video clip.
The embodiment of the application provides a video clip unlocking device, the device includes:
the device comprises a first acquisition module, a first processing module and a first display module, wherein the first acquisition module is used for acquiring a video clip unlocking request which is used for requesting to unlock a specific video clip;
the second obtaining module is used for responding to the video clip unlocking request and obtaining a target video corresponding to the specific video clip and an exposure identifier of the target video;
the sending module is used for sending the target video and the exposure identifier to a terminal;
a receiving module, configured to receive a report message sent by the terminal in a process of playing the target video by the terminal, where the report message at least includes a report selection point identifier and the exposure identifier;
and the unlocking module is used for unlocking the specific video clip when the playing process of the target video meets the preset playing condition according to the reported point selection identifier and the exposure identifier.
Embodiments of the present application provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium; the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor is configured to execute the computer instructions to implement the video segment unlocking method.
An embodiment of the present application provides a video clip unlocking device, including: a memory for storing executable instructions; and the processor is used for realizing the video clip unlocking method when executing the executable instructions stored in the memory.
The embodiment of the present application provides a computer-readable storage medium, which stores executable instructions for causing a processor to execute the executable instructions to implement the video segment unlocking method.
The embodiment of the application has the following beneficial effects: when a video clip unlocking request of a terminal is responded, a target video corresponding to a specific video clip requested to be unlocked and an exposure identifier of the target video are obtained; sending the target video and the exposure identification to a terminal; and in the process of playing the target video by the terminal, receiving a report message comprising the report point selection identifier and the exposure identifier, and authenticating the playing process of the target video according to the report point selection identifier and the exposure identifier in the report message so as to unlock the specific video segment. Therefore, the user can obtain the video watching permission by watching the target video and unlock the specific video clip, and the user can watch the specific video clip without purchasing the video watching permission, so that the user viscosity and the user experience of the video playing software are greatly improved; and in the playing process of the target video, the authentication is carried out through the reported point selection mark and the exposure mark contained in the reported message, so that the safety of the authentication process is greatly improved, and the risk of permission cracking is reduced.
Drawings
FIG. 1 is a diagram of an interface for reminding a user to purchase video viewing permissions in the related art;
fig. 2A is a schematic application scenario diagram of a video segment unlocking method provided in an embodiment of the present application;
fig. 2B is an alternative structural diagram of the video clip unlocking system applied to the blockchain system according to the embodiment of the present application;
fig. 3 is a schematic structural diagram of a video segment unlocking device according to an embodiment of the present application;
fig. 4 is an alternative flowchart of a video segment unlocking method provided in the embodiment of the present application;
fig. 5 is an alternative flowchart of a video segment unlocking method according to an embodiment of the present application;
fig. 6 is an alternative flow diagram of a process of performing video viewing and reporting by a terminal according to an embodiment of the present application;
fig. 7 is an interface diagram of prompting to view an incentive advertisement in a video segment unlocking method according to an embodiment of the present application;
FIG. 8 is a timing diagram of authorization interactions provided by embodiments of the present application;
fig. 9 is a reporting interaction timing diagram in the case of pulling an advertisement for one time according to the embodiment of the present application;
FIG. 10 is a reporting interaction timing diagram under a situation of pulling multiple advertisements according to an embodiment of the present application;
FIG. 11 is a timing diagram of authorization interactions provided by embodiments of the present application;
FIG. 12 is a sequence diagram illustrating a reporting interval authorization interaction provided in an embodiment of the present application;
fig. 13 is a storage structure diagram of a redis device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the accompanying drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without making creative efforts fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. Unless defined otherwise, all technical and scientific terms used in the examples of this application have the same meaning as commonly understood by one of ordinary skill in the art to which the examples of this application belong. The terminology used in the embodiments of the present application is for the purpose of describing the embodiments of the present application only and is not intended to be limiting of the present application.
Before explaining the embodiments of the present application, the terms and key terms referred to in the present application are explained first:
1) exciting the advertisement: the method refers to that a user actively finishes a task of watching incentive advertisements on a platform on the premise of respecting user experience, and then the advertisements corresponding to the rewards can be obtained, namely an advertisement form with a certain return is obtained through advertisement display. In the embodiment of the application, the playing of the incentive advertisement is used for obtaining the unlocking authority of the specific video clip.
2) Incentive rights and interests: refers to the user's interest in viewing a certain video after finishing viewing the incentive advertisement. In the embodiment of the present application, the incentive interest refers to the interest of being able to view a specific video clip, which is obtained after viewing the incentive advertisement.
3) Unlocking in a segmented manner: the method means that a film viewing right is subdivided into a plurality of paragraphs, and rights and interests for acquiring the paragraphs need to be unlocked respectively.
4) Incentive interest validity duration: the incentive right is not permanently effective, and the video unlocking needs to be watched again after the incentive right is invalid, wherein the expiration time is the effective duration of the incentive right.
Before explaining the embodiments of the present application, a video playing method and a video segment unlocking method in the related art are first described.
When the user does not have the video watching right, if a certain video watching right can be granted to the user under the condition that the user does not need to purchase VIP, the user viscosity and the user experience degree of the video playing software can be greatly improved.
On one hand, the related technology has no authorization mode except for purchasing authority, when the user does not purchase the authority of the video playing client, the user can only watch the trial viewing part for the paid video, and when the trial viewing part is played, the user can be reminded to purchase the authority of the video or purchase the VIP authority on the current interface. As shown in fig. 1, the interface diagram is an interface diagram for reminding a user of purchasing video viewing permissions in the related art, in acurrent interface 101, when the user finishes viewing a trial viewing part, apurchase key 102, an openVIP member key 103, and are-trial viewing key 104 are displayed, wherein only two purchasing manners of purchasing the video by clicking thepurchase key 102 or purchasing the VIP permission by clicking the openVIP member key 103 can be used for viewing other parts of the video after the trial viewing part, so that there are no other authorization manners except for the purchasing permission in the related art, the granting manner of the video viewing permissions is too single, the user experience is poor, and the user viscosity of the video playing client is low.
On the other hand, when a user is granted a video viewing permission and the video or the video segment is unlocked, in order to ensure the security of the authorization process and avoid cheating of the user, the authorization process is usually implemented by a request protocol binary system and an encryption mode, that is, the security is ensured by a data encryption mode of front-end and back-end linkage.
Based on the above problems in the related art, the embodiments of the present application provide a video clip unlocking method, and provide a new video viewing permission authorization method, which can greatly improve the user viscosity and user experience of video playing software, and the embodiments of the present application mainly control rights and interests through a background server, and define unlocking requirements, limit the number of concurrent unlocking and the total number of times of unlocking, and ensure that even if a user can obtain rights and interests after cracking, a certain cost is still needed.
In the video clip unlocking method provided by the embodiment of the application, firstly, a video clip unlocking request is obtained, and the video clip unlocking request is used for requesting to unlock a specific video clip; then, responding to a video clip unlocking request, and acquiring a target video corresponding to a specific video clip and an exposure identifier of the target video; sending the target video and the exposure identification to a terminal; then, in the process of playing the target video by the terminal, receiving a report message sent by the terminal, wherein the report message at least comprises a report point selection identifier and an exposure identifier; and finally, when the fact that the playing process of the target video meets the preset playing condition is determined according to the reported point selection mark and the exposure mark in the reported message, unlocking the specific video clip. Therefore, the user can acquire the video watching permission by watching the target video, unlock the specific video segment and watch the video, so that the user does not need to purchase the video watching permission, and the user viscosity and the user experience of the video playing software are greatly improved; and in the playing process of the target video, the authentication is carried out through the current point selection identifier and the exposure identifier contained in the report message, so that the safety of the authentication process is greatly improved, and the risk of permission cracking is reduced.
An exemplary application of the video segment unlocking device according to the embodiment of the present application is described below, in one implementation, the video segment unlocking device according to the embodiment of the present application may be implemented as any terminal that has a video playing function or is capable of installing a video playing application, such as a notebook computer, a tablet computer, a mobile device (e.g., a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable game device), an intelligent robot, an intelligent television, an intelligent vehicle-mounted device, and the like, and in another implementation, the video segment unlocking device according to the embodiment of the present application may also be implemented as a server. Next, an exemplary application when the video clip unlocking apparatus is implemented as a server will be explained.
Referring to fig. 2A, fig. 2A is a schematic view of an application scenario of the video segment unlocking method provided in the embodiment of the present application, in order to enable a user to normally watch a video, the videosegment unlocking system 10 in the embodiment of the present application at least includes a terminal 100, a network 200, and a server 300, where a video playing client is installed on the terminal 100, and the video can be played through the video playing client. In the embodiment of the application, a user can log in a user account through the video playing client, and when the logged-in user account is an account which does not purchase a VIP authority of the video playing client, the user account does not have the authority to watch a complete video for some videos. That is to say, the videos in the video playing client include free videos and paid videos, and for the free videos, all users can watch the videos; but for pay video, viewing is only possible when the user account has purchased VIP privileges, whereas for normal users only a portion of the trial view (e.g. 5 minutes or 10 minutes) has the privileges. In this case, how to increase the user's viscosity of the user to the video playing client is a problem to be solved by the embodiment of the present application.
In a first application scenario of the embodiment of the present application, to solve the problem indicated in the above situation, in the process of playing a video through a video playing client, when the video playing client does not have the right to continue playing the video, the terminal 100 obtains an unlocking operation input by a user; the unlocking operation is used for requesting to unlock a specific video clip in the video; the video playing client sends a video clip unlocking request to the server 300 through the network 200 in response to the unlocking operation, and the server 300 responds to the video clip unlocking request to acquire a target video corresponding to a specific video clip; sending the target video to a video playing client; after the video playing client acquires the target video, playing the target video; when the playing process of the target video meets a preset playing condition, unlocking a specific video clip; and plays a particular video clip.
In a second application scenario of the embodiment of the present application, the server 300 may also implement an unlocking process of a specific video clip, and the specific implementation process may be: in the process of playing a video through the video playing client, when the video playing client does not have the right to continue playing the video, the terminal 100 obtains an unlocking operation input by a user; the unlocking operation is used for requesting to unlock a specific video clip in the video; the video playing client generates a video clip unlocking request according to the unlocking operation and sends the video clip unlocking request to the server 300 through the network 200; the server 300 responds to the video clip unlocking request, acquires a target video corresponding to a specific video clip, and sends the target video to the video playing client; the video playing client plays the target video; in the process of playing the target video by the video playing client, the server 300 verifies the playing process of the target video, and when the fact that the playing process of the target video by the video playing client meets the preset playing condition is judged, specific video segments are unlocked; the server 300 sends the unlocked specific video segment to the video playing client, and the video playing client plays the specific video segment.
In a third application scenario of the embodiment of the present application, in a process of playing a video through a video playing client, when the video playing client does not have a right to continue playing the video, the terminal 100 obtains an unlocking operation input by a user; the unlocking operation is used for requesting to unlock a specific video clip in the video; the video playing client generates a video clip unlocking request according to the unlocking operation, wherein the video clip unlocking request is used for requesting to unlock a specific video clip; the server 300 responds to the video clip unlocking request, and acquires a target video corresponding to a specific video clip and an exposure identifier of the target video; the target video and the exposure identification are sent to the video playing client through the network 200; the video playing client plays the target video; in the process of playing the target video by the video playing client, the video playing client sends a report message to the server 300, wherein the report message at least comprises a report point selection identifier and an exposure identifier; the server 300 authenticates the playing process of the target video according to the reported point selection identifier and the exposure identifier in the reported message, and unlocks the specific video segment when the playing process of the video playing client to the target video meets the preset playing condition according to the reported message; the server 300 sends the unlocked specific video segment to the video playing client, and the video playing client plays the specific video segment.
The video clip unlocking method provided by the embodiment of the application can also be realized by a cloud technology based on a cloud platform, for example, the server 300 may be a cloud server. Or, the cloud storage can be further provided, and the complete video, the specific video segment, the target video, the mapping relation between the specific video segment and the target video and the like are stored in the cloud storage, so that in the subsequent video playing process, data can be directly obtained from the cloud storage to realize the playing process of the complete video, and the authorization and playing process of the specific video segment; or, the reported point selection identifier, the exposure identifier of the target video and the like can be stored in the cloud memory, so that the reported point selection identifier and the exposure identifier of the target video can be directly obtained from the cloud memory for authentication in the authentication process.
It should be noted that Cloud technology (Cloud technology) refers to a hosting technology for unifying series resources such as hardware, software, network, etc. in a wide area network or a local area network to implement data calculation, storage, processing and sharing. The cloud technology is based on the general names of network technology, information technology, integration technology, management platform technology, application technology and the like applied in the cloud computing business model, can form a resource pool, is used as required, and is flexible and convenient. Cloud computing technology will become an important support. Background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture-like websites and more web portals. With the high development and application of the internet industry, each article may have an own identification mark and needs to be transmitted to a background system for logic processing, data of different levels can be processed separately, and various industry data need strong system background support and can be realized only through cloud computing.
The videosegment unlocking system 10 according To the embodiment of the present application may also be a distributed system 201 of a blockchain system, see fig. 2B, where fig. 2B is an optional structural schematic diagram of the video segment unlocking system provided in the embodiment of the present application applied To the blockchain system, where the distributed system 201 may be a distributed node formed by a plurality of nodes 202 (computer devices in any form in an access network, such as servers and terminals) and aclient 203, a Peer-To-Peer (P2P, Peer To Peer) network is formed between the nodes, and a P2P Protocol is an application layer Protocol operating on a Transmission Control Protocol (TCP). In a distributed system, any machine, such as a server or a terminal, can join to become a node, which includes a hardware layer, an intermediate layer, an operating system layer, and an application layer.
It should be noted that, in the distributed system 201, each node 202 corresponds to oneterminal 100, and on the terminal 100, an unlocking operation of a user for a specific video clip is obtained and stored, and a video clip unlocking request for requesting to unlock the specific video clip is generated based on the unlocking operation, where the video clip unlocking request includes a current selection point identifier, and at the same time, the video clip unlocking request and the current selection point identifier are stored. And after the specific video clip is unlocked, the unlocking authority for the specific video clip, the mapping relationship between the terminal and the unlocked specific video clip, and the mapping relationship between the account logged in the terminal and the unlocked specific video clip can be stored.
In the embodiment of the application, the information is collected by the blockchain system and is uplink-stored, so that when a user watches the unlocked specific video clip again through the terminal or the account logged in the terminal, repeated unlocking is not needed.
Fig. 3 is a schematic structural diagram of a video segment unlocking device provided in an embodiment of the present application, where the video segment unlocking device shown in fig. 3 includes: at least one processor 310, memory 350, at least one network interface 320, and a user interface 330. The various components in the video clip unlocking device are coupled together by abus system 340. It will be appreciated that thebus system 340 is used to enable communications among the components connected. Thebus system 340 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled asbus system 340 in fig. 3.
The Processor 310 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc., wherein the general purpose Processor may be a microprocessor or any conventional Processor, etc.
The user interface 330 includes one or more output devices 331 that enable presentation of media content. The user interface 330 also includes one or more input devices 332.
The memory 350 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, and the like. Memory 350 optionally includes one or more storage devices physically located remote from processor 310. The memory 350 may include either volatile memory or nonvolatile memory, and may also include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), and the volatile Memory may be a Random Access Memory (RAM). The memory 350 described in embodiments herein is intended to comprise any suitable type of memory. In some embodiments, memory 350 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 351 including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
a network communication module 352 for communicating to other computing devices via one or more (wired or wireless) network interfaces 320, exemplary network interfaces 320 including: bluetooth, wireless compatibility authentication (WiFi), and Universal Serial Bus (USB), etc.;
an input processing module 353 for detecting one or more user inputs or interactions from one of the one or more input devices 332 and translating the detected inputs or interactions.
In some embodiments, the apparatus provided by the embodiments of the present application may be implemented in software, and fig. 3 illustrates a video segment unlocking apparatus 354 stored in the memory 350, where the video segment unlocking apparatus 354 may be a video segment unlocking apparatus in a video segment unlocking device, and may be software in the form of programs and plug-ins, and includes the following software modules: the first obtaining module 3541, the second obtaining module 3542, the sending module 3543, the receiving module 3544, and the unlocking module 3545 are logical and thus may be arbitrarily combined or further separated depending on the functions implemented. The functions of the respective modules will be explained below.
In other embodiments, the apparatus provided in the embodiments of the present Application may be implemented in hardware, and as an example, the apparatus provided in the embodiments of the present Application may be a processor in the form of a hardware decoding processor, which is programmed to perform the video segment unlocking method provided in the embodiments of the present Application, for example, the processor in the form of the hardware decoding processor may be one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components.
The following describes a video segment unlocking method provided in the embodiment of the present application with reference to an exemplary application and implementation of the video segment unlocking device provided in the embodiment of the present application, where the video segment unlocking device may be any terminal having a video playing function, or may also be a server, that is, the video segment unlocking method provided in the embodiment of the present application may be executed by a terminal, may also be executed by a server, and of course, may also be executed by interaction between a terminal and a server. Referring to fig. 4, fig. 4 is an optional flowchart of a video segment unlocking method provided in the embodiment of the present application, which will be described in an embodiment of the present application with the video segment unlocking method being executed by a server, where the video segment unlocking method includes the following steps:
step S401, a video clip unlocking request is obtained.
Here, the video segment unlocking request is sent by the terminal to the server, and is used for requesting to unlock a specific video segment, and the video segment unlocking request includes the current selection point identifier.
In the embodiment of the application, the terminal is provided with the video playing application, a user can play videos through the video playing application, and in the video playing process, when the user does not have video watching permission and the terminal cannot continue playing the videos, unlocking prompt information and an unlocking button corresponding to the unlocking prompt information can be displayed on a current interface of the terminal. When the user clicks the unlock button or executes an operation corresponding to the unlock button, the subsequent unlock step of the embodiment of the present application is executed. It should be noted that the operation of clicking the unlock button by the user is an unlock operation, the unlock operation is used to request to unlock a specific video clip in the video, and the video clip unlock request is a request generated by the terminal in response to the unlock operation by the user.
In this embodiment, the current selection point identifier may be an identifier generated by the terminal and corresponding to a specific video segment, where the current selection point identifier is used to uniquely identify the specific video segment, that is, for different specific video segments, corresponding to different current selection point identifiers, there is a one-to-one correspondence between the specific video segment and the current selection point identifier. When the terminal receives an unlocking operation input by a user through the client, the terminal responds to the unlocking operation and generates a current selection point identifier, and the authorization process that only one determined specific video clip can be processed within a period of time is ensured through the current selection point identifier.
The specific video clip refers to a video clip which does not have video viewing permission currently, and the specific video clip may be a video clip in a currently played video or a video clip related to the currently played video. The length of different specific video segments may be the same or different.
The length of the specific video clip can be determined according to different users, that is, the length of the specific video clip which can be unlocked is different corresponding to different user accounts under the video playing application. For example, the length of the specific video clip unlocked by the user who purchased the VIP authority of the video playing application is greater than the length of the specific video clip unlocked by the user who did not purchase the VIP authority of the video playing application; or the length of the specific video clip unlocked by the user who purchases the VIP authority of the video playing application for multiple times is larger than the length of the specific video clip unlocked by the user who purchases the VIP authority of the video playing application for relatively few times; or the length of the specific video clip unlocked by the user with higher use frequency of the video playing application is greater than the length of the specific video clip unlocked by the user with relatively lower use frequency of the video playing application; or the length of the specific video clip unlocked after the user account is logged in the video playing application is larger than the length of the specific video clip unlocked after the user account is not logged in the video playing application.
The length of a particular video segment may also be determined based on the number of times the user is currently unlocked. For example, when a user unlocks multiple video clips within the same day by using the method of the embodiment of the present application, the length of a specific video clip unlocked in a previous unlocking process is greater than the length of a specific video clip unlocked in a subsequent unlocking process.
The length of a particular video segment may also be determined based on the video content. For example, each video clip may correspond to a complete content or story line, i.e., the video may be divided into video clips corresponding to different story lines according to the story line told by the video.
The length of the specific video segment can also be determined according to a preset dividing rule, i.e. the system can preset the length of each specific video segment. Therefore, when the unlocking operation is received, the current playing time point can be taken as the division starting point, and the playing time point which is away from the division starting point and is preset with the playing time length can be taken as the division end point according to the playing time sequence of the video. In this way, the video segments between the division start point and the division end point are divided, that is, the obtained specific video segments are divided according to the preset division rule, and the length of the specific video segment is the time length between the division start point and the division end point. The length of the specific video segment specified by the preset partitioning rule may be a fixed value or a randomly varying value.
Step S402, responding to the video clip unlocking request, and acquiring the target video corresponding to the specific video clip and the exposure identification of the target video.
Here, each specific video clip corresponds to one target video, or each specific video clip corresponds to a plurality of target videos.
Here, it should be noted that the relationship and the difference among the video, the specific video clip and the target video are as follows: the video can be any video in the video playing client and is a complete video in the video playing client, the video playing client can play the complete video under the condition that the video playing client has a VIP authority, and the video playing client can play a section of video clip in the video under the condition that the video playing client does not have the VIP authority. The specific video clip is a specific video clip in the video, the playing time of the specific video clip is less than the playing time of the video, the specific video clip is a video clip which cannot be normally played when the specific video clip is in an unlocked state, or the specific video clip cannot be normally played when the video playing client side does not have a VIP authority. The target video is the video used to effect unlocking of the particular video segment, and the target video may be any form of video, for example, the target video may be an advertising video, such as may be an incentive advertisement.
The following description will be given by taking the video as a movie a, the specific video clip as a highlight clip a1 in the movie, and the target video as an advertisement video B for unlocking the highlight clip, taking the relationship and difference among the video, the specific video clip, and the target video as an example: when the user plays movie-a through the video playback client, the user can only view the trial-view portion of movie-a (which may be, for example, the first 5 minute movie clip) because the user does not purchase the VIP right of the video playback client. After the user views the trial part of the movie a, if the user wants to continue to view the highlight segment a1 of the movie a, the user may request to acquire and play the advertisement video B, and when the playing process of the advertisement video B meets the preset playing condition, the highlight segment a1 is unlocked, and the user may normally view the highlight segment a 1.
In some embodiments, the mapping relationship between the specific video segment and the target video is determined within the same preset time period, that is, when the specific video segment is determined, the target video may be determined directly according to the mapping relationship between the specific video segment and the target video.
The target video is stored in a target video library, the target video library is provided with a plurality of target videos, and the target video library is updated along with the update of the target videos. In the updating of the target video library, not only the video content of the target video can be updated, but also the target video can be newly added in the target video library. When the target video library is updated, the mapping relationship between the specific video segment and the target video may also change, that is, the mapping relationship between the specific video segment and the target video may change with the update of the target video library. In the embodiment of the application, when the server receives a video clip unlocking request, a target video corresponding to a specific video clip is acquired from a target video library in response to the video clip unlocking request, and after the target video is acquired, an exposure identifier of the target video is acquired.
And step S403, sending the target video and the exposure identifier to the terminal.
Here, the server transmits the target video and the exposure flag to the terminal as a result of a response to the video clip unlocking request.
And S404, receiving a report message sent by the terminal in the process of playing the target video by the terminal.
Here, the report message at least includes a report selection point identifier and an exposure identifier, that is, when the terminal plays the target video, the terminal reports the target video playing process of the terminal to the server through the report message. The report message at least comprises report messages generated at three moments of starting playing the target video, in the middle of playing the target video and ending playing the target video. When the terminal generates the report message each time, the report message is generated according to the latest report selected point identifier and the latest exposure identifier currently stored by the terminal, that is, each report message includes the latest report selected point identifier and the latest exposure identifier currently stored.
And S405, when the fact that the playing process of the target video meets the preset playing condition is determined according to the reported point selection mark and the exposure mark, unlocking the specific video clip.
Here, it may be determined whether the playing process of the target video meets a preset playing condition according to the reporting selection point identifier and the exposure identifier, where the case that the playing process of the target video meets the preset playing condition may be that, according to the reporting selection point identifier and the exposure identifier, it is determined that the playing time of the target video is longer than a preset time threshold; or, the target video is completely played; or, in the process of completely playing the target video, other operations irrelevant to the playing of the target video are not carried out; or, in the process of completely playing the target video, the terminal plays and only plays the target video.
And if the playing process of the target video meets the preset playing condition, unlocking the specific video clip. Here, unlocking a specific video clip means that the server grants the right to play the specific video clip to the user account logged in by the video playing client on the terminal, or the server grants the right to play the specific video clip to the terminal (that is, the server may have the right to play the specific video clip in the case that the video playing client on the terminal does not log in any user account). In some embodiments, after unlocking a specific video clip, the user account or the terminal has the right to play the specific video clip within a preset time period. For example, after a particular video clip is unlocked, the user can watch the particular video clip for free for a day or a week.
In some embodiments, after the user views the specific video segment, the user may continue to unlock the video segment by using the method provided in the embodiment of the present application for the video portion located after the specific video segment in the video, that is, the video portion without the video viewing right may be unlocked and viewed by using the method in the embodiment of the present application, so that the video is unlocked in segments and viewed in segments.
According to the video clip unlocking method provided by the embodiment of the application, when a video clip unlocking request of a terminal is responded, a target video corresponding to a specific video clip requested to be unlocked and an exposure identifier of the target video are obtained; sending the target video and the exposure identification to a terminal; and in the process of playing the target video by the terminal, receiving a report message comprising the report point selection identifier and the exposure identifier, and authenticating the playing process of the target video according to the report point selection identifier and the exposure identifier in the report message so as to unlock the specific video segment. Therefore, on one hand, the user can acquire the video watching permission by watching the target video and unlock the specific video clip, and the user can watch the specific video clip without purchasing the video watching permission, so that the user viscosity and the user experience of the video playing application are greatly improved; on the other hand, the current point selection identifier and the exposure identifier contained in the report message are used for authentication in the playing process of the target video, so that the safety of the authentication process is greatly improved, and the risk of permission cracking is reduced.
In some embodiments, the video clip unlocking system comprises a terminal and a server, the terminal is provided with a video playing client, and a user can log in a user account through the video playing client to play and watch a video, or the user can play and watch the video without logging in the user account; the server is a background server of the video playing client, can be a local server, and can also be a cloud server. Here, the videos that the user can watch include free videos and paid videos, where a paid video is a video that the user needs to purchase a video watching right of the video to normally play, or a video that the user needs to purchase a VIP right of a video playing client to normally play. In the embodiment of the application, the terminal is a user terminal for which a user does not purchase a video watching right, and when the user does not purchase the video watching right, the user can be authorized to watch more video clips except a trial watching part through the video clip unlocking system provided by the embodiment of the application.
Fig. 5 is an optional schematic flow chart of the video segment unlocking method provided in the embodiment of the present application, and as shown in fig. 5, the following will take an example of a terminal interacting with a server to implement the video segment unlocking method in the embodiment of the present application as an example for description, where the method includes the following steps:
step S501, the terminal obtains a video playing request of the user and plays the video.
Step S502, in the process of video playing, when the terminal does not have the right of continuously playing the video, the server sends an unlocking prompt message to the terminal, wherein the unlocking prompt message comprises unlocking prompt information and an operation identifier corresponding to the unlocking prompt information.
And step S503, the terminal displays the unlocking prompt information and the operation identification corresponding to the unlocking prompt information on the current interface.
Here, the unlocking prompt message is used to prompt the user to unlock the video clip for a certain period of time by performing a specific unlocking operation.
Step S504, the terminal obtains the click operation of the user aiming at the operation identification so as to obtain the unlocking operation; the unlocking operation is used for requesting to unlock a specific video segment in the video, and the unlocking operation at least comprises a clicking operation aiming at the operation identifier.
And step S505, the terminal responds to the unlocking operation and generates a video clip unlocking request. The video clip unlocking request is used for requesting to unlock a specific video clip, and the video clip unlocking request comprises the current selection point identifier.
In some embodiments, the current setpoint identifier may be generated when the terminal responds to the unlocking operation, and the current setpoint identifier may be used to ensure that only one specific video segment is authorized to be processed within a certain period of time. Wherein, step S505 can be implemented by the following steps:
in step S5051, the terminal determines, in response to the unlocking operation, the current setpoint identity of the specific video segment corresponding to the unlocking operation.
Here, the current selection point identifier is an identifier generated by the terminal and corresponding to a specific video segment, and the current selection point identifier is used for uniquely identifying the specific video segment, that is, for different specific video segments, corresponding to different current selection point identifiers, there is a one-to-one correspondence between the specific video segments and the current selection point identifier. In some embodiments, a setpoint field may be stored in the predetermined storage unit, and a current setpoint ID of a specific video segment is formed by writing a segment ID (e.g., an ID of the specific video segment, etc.) of the specific video segment into the setpoint field, so that a unique current setpoint ID can be formed for different specific video segments, and the current setpoint IDs have the same writing mode and format.
Correspondingly, step S5051 may be implemented by: and when the unlocking operation is acquired, responding to the unlocking operation, and writing the segment identification of the specific video segment into the point selection field in an overwriting mode to generate the current point selection identification of the specific video segment. Here, overwrite is a writing method in which a modification cannot be returned, and is a data writing method different from the additional writing. After writing data by overwriting, the original data of the location where the data was written is overwritten by the data written by overwriting, thereby deleting the original data. In the embodiment of the application, the segment identifier of the specific video segment is written into the point selection field in an overwriting manner, so that the current point selection identifier formed at the current moment only corresponds to the specific video segment, and when the segment identifier is written into the point selection field again in the overwriting manner, the current point selection identifier of the specific video segment does not exist.
In step S5052, the current setpoint identifier is encapsulated in the video segment unlock request.
Step S506, the terminal sends the video clip unlocking request to the server.
Step S507, the server parses the video segment unlocking request to obtain the current point selection identifier. Here, when the server acquires the current setpoint identifier, the server may store the current setpoint identifier, and when the latest current setpoint identifier is acquired again, the server may continue to store the latest current setpoint identifier in an overwriting manner to overwrite the current setpoint identifier stored in the history process, thereby ensuring that the currently stored current setpoint identifier is the latest setpoint identifier.
Step S508, the server obtains a target video corresponding to the specific video segment from a preset target video library according to the current point selection identifier.
Here, the server may obtain, from the target video library, the target video corresponding to the specific video segment according to the current selection point identifier and the mapping relationship between the specific video segment and the target video.
After receiving the video segment unlocking request, the server analyzes the video segment unlocking request to obtain a current point selection identifier, determines a specific video segment according to the current point selection identifier, and obtains a target video corresponding to the specific video segment. And the server also records the current selection point identification while responding to the video clip unlocking request so as to authenticate the process of playing the target video by the terminal when the follow-up terminal reports the video viewing.
It should be noted that, for a video segment unlocking request requesting to unlock different video segments, because the generated current setpoint identifiers are different and the current setpoint identifier is written in the setpoint field in an overwriting manner, when the terminal requests a video segment each time, the current setpoint identifiers of the latest video segment are currently recorded and stored by the server, and the current setpoint identifier of the video segment requested by the previous video segment unlocking request is overwritten.
In step S509, the server generates an exposure identifier of the target video, where the exposure identifier is an identifier corresponding to the target video and uniquely identifying the target video.
In the embodiment of the application, when the security of authorization of a specific video segment is ensured, in addition to ensuring that only one determined authorization process of the specific video segment can be processed within a period of time through the current point selection identifier, the data reported by information reporting in the process of playing the target video can be ensured to occur after the target video is acquired and report the target video based on the exposure identifier of the target video.
In step S510, the server sends the target video and the exposure identifier to the terminal.
And step S511, the terminal plays the target video.
Step S512, in the process of playing the target video by the terminal, the terminal sends a report message to the server, wherein the report message at least comprises a report point selection identifier and an exposure identifier. Here, in the process of playing the target video, at least the exposure identifier may be used to perform video viewing and reporting to the server.
The reporting selection point mark is a mark corresponding to the playing report of the playing process of the target video, and different reporting selection point marks are corresponding to the playing reports of different playing processes of the target video.
For example, the specific video clip V1 corresponds to the target video V11, the specific video clip V2 corresponds to the target video V21, and when the report message is a play report directed to the target video V11, the report selection point is identified as P1; when the report message is a play report for the target video V21, the report selection point is identified as P2. Therefore, it is easy to conclude that when the user needs to play the target video V11 after requesting to unlock the specific video clip V1, and during playing the target video V11, the report setpoint id P1 is included in the report message sent to the server. However, if the target video V11 has not been played yet, that is, when the unlocking of the specific video segment V1 is not completed, the user requests to unlock the specific video segment V2, at this time, the target video V21 is played, and in the process of playing the target video V21, the report selection point identifier P2 is included in the report message sent to the server.
And step S513, when the server determines that the playing process of the terminal to the target video meets the preset playing condition according to the report message, unlocking the specific video clip. Here, the specific video segment may be unlocked when the server determines that the playing process of the terminal on the target video meets the preset playing condition according to the reported point selection identifier and the exposure identifier in the reported message.
In some embodiments, the authentication process of step S513 may also be performed by the terminal, that is, during the playing of the target video by the terminal, the terminal may authenticate the playing process of the target video, determine whether the playing process of the target video by the terminal meets a preset playing condition, and when the playing process of the target video by the terminal meets the preset playing condition, the terminal unlocks the specific video segment.
And step S514, the server sends the unlocked specific video clip to the terminal.
Step S515, the terminal plays the specific video clip.
Fig. 6 is a schematic view of an optional process of a video viewing reporting process performed by a terminal according to an embodiment of the present application, and as shown in fig. 6, the video viewing reporting process includes the following steps:
step S601, in the process of playing the target video, acquiring a reported point selection mark and an exposure mark.
Step S602, generating a report message periodically or non-periodically according to the report select point identifier and the exposure identifier.
Here, the reporting point selection identifier and the exposure identifier may be encapsulated in the reporting message, and the reporting message may be sent to the server periodically or aperiodically.
Step S603, sending the report message to the server for video viewing and reporting, so that the server authenticates the process of currently playing the target video according to the report point selection identifier and the exposure identifier in the report message.
Here, the server authenticates the process of currently playing the target video according to the reported point selection identifier and the exposure identifier in the reported message, which may be: when the exposure identification in the report message is the same as the currently stored exposure identification, comparing the report point selection identification in the report message with the current point selection identification in the video clip unlocking request; and when the reported point selection identifier in the reported message is the same as the current point selection identifier, determining that the authentication of the current target video playing process aiming at the reported message passes, namely determining that the authentication result aiming at the current played target video passes the authentication. In other embodiments, when it is determined that the exposure identifier in the report message is different from the currently stored exposure identifier, it is determined that the authentication result for the currently played target video is not authenticated, or when it is determined that the exposure identifier in the report message is the same as the currently stored exposure identifier, but it is further determined that the reported selection point identifier in the report message is different from the current selection point identifier, it is also determined that the authentication result for the currently played target video is not authenticated.
That is, the server first determines whether the current reporting message is the report of the current target video playing process, that is, determines whether the exposure identifier currently stored in the background is the same as the exposure identifier in the reporting message, and if so, indicates that the current reporting message is the report of the current target video playing process; then, whether the current point selection identification currently stored in the background is the same as the reported point selection identification in the report message is judged, if so, the action of acquiring the specific video segment is completed, namely, the current reporting process is after the terminal sends the video segment unlocking request to the server and reports the playing process of the target video corresponding to the specific video segment requested by the video segment unlocking request.
In some embodiments, each reporting message corresponds to a reporting timestamp; the reporting timestamp is a timestamp generated by the server when the terminal sends the reporting message to the server; correspondingly, the authentication of the playing process of the target video can be realized through the following steps:
step S10, when the reporting selection point identifier and the exposure identifier are received, a reporting timestamp corresponding to the reporting message is obtained.
And step S11, when the playing process of the target video meets the preset playing condition according to the reporting timestamp corresponding to the reporting message, unlocking the specific video clip.
In the embodiment of the application, the reporting message at least comprises a starting reporting message and an ending reporting message; step S11 may be implemented by:
step S11a, determining the playing time of the target video according to the reporting timestamp corresponding to the initial reporting message and the reporting timestamp corresponding to the ending reporting message.
Here, the time difference between the reporting timestamp corresponding to the initial reporting message and the reporting timestamp corresponding to the end reporting message may be calculated, so as to obtain the playing time of the target video.
Step S11b, when the playing time is greater than or equal to the time threshold, determining that the playing process of the target video meets the preset playing condition, and unlocking the specific video segment.
In some embodiments, to ensure the security of authorization for a particular video clip, the number of unlocks by a user for a period of time may also be limited, where the number of unlocks includes the number of unlocks for each video and the total number of unlocks by the user for the period of time.
In some embodiments, the number of unlocks of the user within a certain time period may be limited by the terminal, wherein the method further comprises the steps of:
in step S21, the terminal sets an unlock counter corresponding to the video and a total unlock counter corresponding to the terminal login account.
Step S22, when the unlocking operation is acquired, the terminal determines the current unlocking times recorded by the unlocking counter and the current total unlocking times recorded by the total unlocking counter.
Step S23, when the terminal determines that at least one of the following conditions is satisfied: and when the current unlocking times reach the unlocking time threshold and the current total unlocking times reach the total unlocking time threshold, forbidding to respond to the unlocking operation.
In some embodiments, the number of times the user unlocks within a certain time period may also be limited by the server, wherein the method further comprises the steps of:
in step S24, the server sets an unlock counter corresponding to the video and a total unlock counter corresponding to the terminal login account.
Step S25, when the video clip unlocking request is acquired, the server determines the current unlocking times recorded by the unlocking counter and the current total unlocking times recorded by the total unlocking counter.
Step S26, when the video segment unlocking request determines that at least one of the following conditions is satisfied: and when the current unlocking times reach the unlocking time threshold and the current total unlocking times reach the total unlocking time threshold, forbidding to respond to the video clip unlocking request.
In the embodiment of the application, when the unlocking operation is obtained, a new unlocking authorization process is indicated to be performed, so that the terminal needs to determine whether the user currently has the unlocking frequency authority; or, when the video segment unlocking request is acquired, it indicates that a new unlocking authorization process needs to be performed, and therefore, the server first needs to determine whether the user currently has the unlocking time right. Here, the terminal or the server may determine whether the current total unlocking times of the user for all videos in the video playing application in the current time period reach a total unlocking time threshold, and if so, it indicates that the user cannot unlock any video in the video playing application at present, and therefore, the response to the unlocking operation or the video segment unlocking request is prohibited; if not, continuously judging whether the current unlocking times of the user for the video reach an unlocking time threshold value, if so, forbidding to respond to unlocking operation or a video segment unlocking request, and the user has no right to continuously unlock a specific video segment under the video; if not, a subsequent unlocking process can be performed to authorize the particular video segment.
In some embodiments, the method may further comprise the steps of:
in step S31, the expiration times of the unlock counter and the total unlock counter are set. Here, the expiration time is used to control the time period of the unlock count of the unlock counter and the total unlock counter.
In step S32, when the expiration time is reached, the current unlocking times of the unlocking counter and the current total unlocking times of the total unlocking counter are initialized to zero.
In step S33, each time a specific video segment is successfully unlocked, the unlocking times of the unlocking counter are increased by one, and the total unlocking times of the total unlocking counter are increased by one.
In the embodiment of the application, the time period of unlocking counting is limited through the expiration time, and the unlocking times and the total unlocking times of a user on the same video and different videos are limited through the unlocking counter and the total unlocking counter, so that the unlocking authorization threshold is further improved, and the difficulty of the user in breaking the permission is increased
In the following, an exemplary application of the embodiments of the present application in a practical application scenario will be described.
The embodiment of the application provides a video segment unlocking method, and a user can obtain certain rights by watching incentive advertisements (namely target videos), wherein the rights include that the user has the right to watch a specific video segment corresponding to the incentive advertisements, and the user can use the rights within a period of time. In the embodiment of the application, the incentive advertisement of the video can require segmented unlocking, namely different segments of the video are unlocked through different incentive advertisements, and in the unlocking process of each segment of the video, the video can be unlocked only after the incentive advertisement is watched for a certain time.
Fig. 7 is an interface diagram for prompting to view an incentive advertisement in a video segment unlocking method provided in an embodiment of the present application, and as shown in fig. 7, when a user does not have a right to continue to view a currently playing video, the user may acquire a right to continue to view the video by viewing the incentive advertisement, and therefore, may have an unlocking prompt 701 on the current interface, where the unlocking prompt may be "view advertisement unlocked for 20 minutes", and therefore, after the user clicks the unlocking prompt 701 and finishes viewing the incentive advertisement, a specific video segment of 20 minutes may continue to be viewed.
In this embodiment of the present application, when authorizing a specific video segment, a terminal may interact with a background server, and fig. 8 is a sequence diagram of authorization interaction provided in this embodiment of the present application, as shown in fig. 8, an authorization interaction process includes two stages: an advertisement pull phase and a user viewing incentive advertisement (i.e., playing incentive advertisement) phase.
In the advertisement pulling phase, the method comprises the following steps:
step S801, in the authorization process, the terminal sends an advertisement pull request to the server to request to acquire an incentive advertisement.
Step S802, the server responds to the advertisement pulling request and issues an incentive advertisement to the terminal.
In the stage of the user viewing the incentive advertisement, the method comprises the following steps:
step S803, the terminal performs a play start report to the server to inform the server that the terminal starts playing the incentive advertisement.
Step S804, in the process of playing the incentive advertisement, the terminal performs intermediate reporting to the server to inform the server that the current terminal is still playing the incentive advertisement.
Step S805, when the playing time of the incentive advertisement meets the preset condition and meets the unlocking requirement, the terminal performs unlocking report to the server to request the rights and interests authorization of the specific video clip.
Step S806, when the server determines that the playing of the incentive advertisement by the terminal satisfies the authorization condition, successfully unlocking the specific video segment to authorize the terminal to watch the specific video segment.
As can be seen from the authorization interaction timing diagram of fig. 8, the final rights and interests authorization is issued by the server in the background, the user will continuously report to the server while watching the incentive advertisement, and when the server considers that the unlocking condition is met, the actual rights and interests will be authorized, and the result will be returned to the terminal. In the embodiment of the application, the safety scheme is ensured by the background, the unlocking threshold can be improved, and the unlocking frequency can be limited, wherein the safety of the scheme can be ensured by the following 3 points:
1) it is guaranteed that only the reporting of one specific video clip can be processed within a period of time.
2) The reported data is guaranteed to occur after the advertisement pull and is the report of the corresponding incentive advertisement.
3) It is ensured that there must be a start report and an end report, and the time interval between the start report and the end report must be greater than a duration threshold.
Because the user must request the server in the background to obtain the rights and interests, the user can be ensured through the three points, and the user cannot obtain all the rights and interests through cheating without cost, so that the cheating cost of the user is increased. In addition, the total number of times of unlocking can be limited through frequency control, for example, the number of times of the maximum right gain which can be obtained by each user every day can be limited, in addition, under the condition of exciting an advertisement, the right gain is time-efficient, the user can only obtain the limited right gain, and therefore the unlocking threshold can also be improved.
The following describes an implementation manner of increasing the unlocking threshold in the embodiment of the present application.
The first method is as follows: it is guaranteed that only the reporting of one specific video clip can be processed within a period of time.
In the implementation process, the background rights and interests storage is stored by taking a single video as granularity, and in order to ensure that only the report of a specific video segment can be processed within a period of time, a current _ point field (current _ point field) of a current point selection identifier is added in the storage. Current _ point is updated at the time of ad pull to the value of the particular video segment currently requested. During the reporting, only if the current _ point segment of the reported data is equal to the current _ point stored in the background is considered as a normal request and is processed. In the embodiment of the application, an overwriting method can be used, so that only one section of video segment can be processed and authorized at the same time, and the current _ point can be reliably changed by a background control user.
Fig. 9 is a reporting interaction timing diagram under the condition of pulling an advertisement once according to the embodiment of the present application, and as shown in fig. 9, an interaction process includes the following steps:
in step S901, the terminal sends an advertisement pulling request to the server to request to acquire an incentive advertisement, where the advertisement pulling request carries a current setpoint identifier of the advertisement pulling at this time, for example, the current setpoint identifier is 1.
Step S902, in the process of playing the incentive advertisement, the terminal performs the first reporting, and if the current selection point identifier carried in the report message is 1, the reporting is successful.
And step S903, in the playing process of the incentive advertisement, the terminal executes second reporting, and if the current point selection identifier carried in the reporting message is equal to 1, the reporting is successful.
And step S904, in the process of playing the incentive advertisement, the terminal performs a third report, and if the current point selection identifier carried in the report message is 2, the report fails.
Fig. 10 is a reporting interaction timing diagram under the condition of pulling multiple advertisements according to the embodiment of the present application, and as shown in fig. 10, an interaction process includes the following steps:
step S101, the terminal sends a first advertisement pulling request to the server to request to acquire an incentive advertisement, where the advertisement pulling request carries a current setpoint identifier of the current advertisement pulling, for example, the current setpoint identifier is 1.
Step S102, the terminal sends a second advertisement pulling request to the server to request to acquire an incentive advertisement, where the advertisement pulling request carries a current setpoint identifier of the current advertisement pulling, where, for example, the current setpoint identifier is 2.
And step S103, in the playing process of the incentive advertisement, the terminal executes the first report, and if the current point selection identifier carried in the report message is 1, the report fails.
And step S104, in the playing process of the incentive advertisement, the terminal executes second reporting, and if the current point selection identifier carried in the reporting message is 1, the reporting fails.
And step S105, in the playing process of the incentive advertisement, the terminal executes the third report, and if the current point selection identifier carried in the report message is 2, the report is successful.
The second method comprises the following steps: the reported data is guaranteed to occur after the advertisement pull and is the report of the corresponding incentive advertisement.
In the embodiment of the application, when the advertisement is pulled, the unique exposure ID generated by the advertisement pulling is recorded besides the current _ point. The exposure ID is transmitted to the terminal in return, namely, the exposure ID is issued to the terminal by the server and is transmitted back to the server in the report stage. In the reporting stage, firstly, the current report is determined to be the report corresponding to the current advertisement pull, namely whether the exposure ID stored in the background is the same as the unvarnished transmission exposure ID reported by the terminal or not is determined; if the current _ point is the same as the reported current _ point, comparing whether the background current _ point is the same as the reported current _ point, and if so, indicating that the advertisement pulling action has already occurred. Through the verification process, the reported data can be guaranteed to occur after the advertisement is pulled and is reported to the corresponding incentive advertisement.
Fig. 11 is a sequence diagram of authorized interaction provided in the embodiment of the present application, and as shown in fig. 11, the interaction process includes the following steps:
step S111, the terminal sends an advertisement pulling request to the server to request to acquire an incentive advertisement, where the advertisement pulling request carries a current setpoint identifier, for example, the current setpoint identifier is 1.
In step S112, the server returns an exposure ID to the terminal, and the exposure ID may be trace _ ID ═ x, for example.
And step S113, in the playing process of the incentive advertisement, the terminal executes the first report, and if trace _ id carried in the report message is x, the report is successful.
And step S114, in the playing process of the incentive advertisement, the terminal executes second reporting, and if trace _ id carried in the reporting message is y, the reporting fails.
The third method comprises the following steps: it is ensured that there must be a start of reporting and an end of reporting, and the time interval between the start of reporting and the end of reporting must be greater than a duration threshold.
In the embodiment of the application, the background unlocking authorization requires that the initial report and the end report must exist, and the server time of the two reports is recorded at the same time, and the server time is completely generated by the back end, so that the server time cannot be changed and is completely credible. When the terminal considers that the unlocking requirement is met, whether the reporting time interval meets the requirement or not is detected, namely whether the reporting time interval reaches a time length threshold or not is detected. Thus, in the case of simple cheating, it still takes the same time to see the advertisement waiting for the benefit to be obtained.
Fig. 12 is a sequence diagram of interaction of the report time interval authorization provided in the embodiment of the present application, and as shown in fig. 12, the interaction process includes the following steps:
in step S121, the terminal sends an advertisement pull request to the server to request acquisition of an incentive advertisement.
And step S122, in the process of playing the incentive advertisement, the terminal executes the report starting and the report is successful.
Step S123, in the process of playing the incentive advertisement, the terminal executes unlocking report when playing for 10 seconds, and the report fails because 10 seconds are less than the time threshold.
Step S124, in the process of playing the incentive advertisement, the terminal performs unlocking reporting when playing for 15 seconds, and because 15 seconds are less than the time threshold, reporting fails.
And step S125, in the playing process of the incentive advertisement, the terminal executes unlocking report when playing for 20 seconds, and the report is successful because 20 seconds are more than the time length threshold.
In some embodiments, the number of times a user unlocks and the total number of unlocks for the same video may also be limited for a certain period of time (e.g., within a day). This may be achieved by a redis memory in which each user maintains two dimensions of key values (keys): the video unlocking method comprises the following steps of userID _ all and userID _ vid, wherein the userID _ all represents the total unlocking times of the user on the current day, and the userID _ vid represents the total unlocking times of the user on the video on the current day. Each time the user successfully unlocks, the times of the user under two keys, namely the times of updating the userID _ all and the userID _ vid, are updated, and the control over the time period is realized by setting the expiration time.
Fig. 13 is a structural diagram of a redis memory according to an embodiment of the present application, and as shown in fig. 13, each key may set an expiration Time (TTI) when it is first generated, for example, the expiration Time may be set to 0 point on the next day, and the unlocking number is initialized to 0, and subsequent updating will store updating data based on the structural diagram of fig. 13.
When an excitation advertisement pulling request occurs, the unlocking times in the storage structure diagram are checked first, and when one of the two values userID _ all and userID _ vid reaches a required threshold value, an excitation advertisement unlocking entry is not provided any more. In this way, the total number of times a user can unlock a single day is limited.
In the embodiment of the application, the server limits the authorization concurrency degree and the single authorization basic cost because the rights and interests authorization needs to interact with the server anyway, so that the safety is improved. Therefore, the difficulty of cheating authorization of the user can be further improved, and the condition that the user simply cracks must bear certain unlocking cost, so that the cheating intention is reduced.
Continuing with the exemplary structure of the video clip unlocking device 354 implemented as a software module provided in the embodiment of the present application, in some embodiments, as shown in fig. 3, the video clip unlocking device 354 stored in the memory 350 includes:
a first obtaining module 3541, configured to obtain a video clip unlocking request, where the video clip unlocking request is used to request to unlock a specific video clip;
a second obtaining module 3542, configured to obtain, in response to the video segment unlocking request, a target video corresponding to the specific video segment and an exposure identifier of the target video;
a sending module 3543, configured to send the target video and the exposure identifier to a terminal;
a receiving module 3544, configured to receive a report message sent by the terminal in a process of playing the target video by the terminal, where the report message at least includes the report selection identifier and the exposure identifier;
an unlocking module 3545, configured to unlock the specific video segment when it is determined that the playing process of the target video meets a preset playing condition according to the upper point selection identifier and the exposure identifier.
In some embodiments, the particular video clip is a video clip in a video played by the terminal; the device further comprises: and the unlocking prompt message sending module is used for sending an unlocking prompt message to the terminal when the terminal does not have the right of continuously playing the video in the video playing process, so that the terminal displays the unlocking prompt message in the unlocking prompt message and the operation identifier corresponding to the unlocking prompt message on a current interface.
In some embodiments, the video segment unlocking request includes a current selection point identifier; the second obtaining module is further configured to: analyzing the video clip unlocking request to obtain the current point selection identifier; acquiring the target video corresponding to the specific video clip from a preset target video library according to the current point selection identifier; and generating an exposure identifier of the target video, wherein the exposure identifier is an identifier which corresponds to the target video and is used for uniquely identifying the target video.
In some embodiments, a point selection field is stored in the predetermined storage unit; and the current point selection mark is a mark generated by writing the segment mark of the specific video segment into the point selection field in an overwriting mode.
In some embodiments, the receiving module is further configured to: in the process that the terminal plays the target video, periodically or non-periodically receiving a report message sent by the terminal; the device further comprises: the analysis module is used for analyzing the report message to acquire the report point selection identifier and the exposure identifier in the report message; and the authentication module is used for authenticating the current process of playing the target video according to the reporting point selection identifier and the exposure identifier in the reporting message.
In some embodiments, the authentication module is further to: when the exposure identifier in the report message is determined to be the same as the currently stored exposure identifier, comparing the report point selection identifier in the report message with the current point selection identifier; and when the reported point selection identifier is the same as the current point identifier, determining that the authentication result aiming at the currently played target video is authenticated.
In some embodiments, the reporting message corresponds to a reporting timestamp; the reporting timestamp is a timestamp generated by the server when the terminal sends the reporting message to the server; the unlocking module is further configured to: when the reporting point selection mark and the exposure mark are received, a reporting timestamp corresponding to the reporting message is obtained; and unlocking the specific video clip when the playing process of the target video meets the preset playing condition according to the reporting timestamp corresponding to the reporting message.
In some embodiments, the reporting message includes at least a start reporting message and an end reporting message; the unlocking module is further configured to: determining the playing time length of the target video according to the reporting time stamp corresponding to the initial reporting message and the reporting time stamp corresponding to the end reporting message; and when the playing time is greater than or equal to a time threshold, determining that the playing process of the target video meets the preset playing condition, and unlocking the specific video clip.
In some embodiments, the apparatus further comprises: the first setting module is used for setting an unlocking counter corresponding to the video and a total unlocking counter corresponding to the terminal login account; the determining module is used for determining the current unlocking times recorded by the unlocking counter and the current total unlocking times recorded by the total unlocking counter when the video clip unlocking request is obtained; a disable response module to when at least one of the following conditions is met: and forbidding to respond to the video clip unlocking request when the current unlocking times reach an unlocking time threshold and the current total unlocking times reach a total unlocking time threshold.
In some embodiments, the apparatus further comprises: the second setting module is used for setting the expiration time of the unlocking counter and the total unlocking counter; the initialization module is used for initializing the current unlocking times of the unlocking counter and the current total unlocking times of the total unlocking counter to be zero when the expiration time is reached; and the counting module is used for adding one to the unlocking times of the unlocking counter and adding one to the total unlocking times of the total unlocking counter when a specific video clip is successfully unlocked.
It should be noted that the description of the apparatus in the embodiment of the present application is similar to that of the method embodiment described above, and has similar beneficial effects to the method embodiment, and therefore, the description is not repeated. For technical details not disclosed in the embodiments of the apparatus, reference is made to the description of the embodiments of the method of the present application for understanding.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method of the embodiment of the present application.
Embodiments of the present application provide a storage medium having stored therein executable instructions, which when executed by a processor, will cause the processor to perform a method provided by embodiments of the present application, for example, the method as illustrated in fig. 4.
In some embodiments, the storage medium may be a computer-readable storage medium, such as a Ferroelectric Random Access Memory (FRAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a flash Memory, a magnetic surface Memory, an optical disc, or a Compact disc Read Only Memory (CD-ROM), and the like; or may be various devices including one or any combination of the above memories.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, and may be stored in a portion of a file that holds other programs or data, such as in one or more scripts in a hypertext Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code). As an example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices located at one site or distributed across multiple sites and interconnected by a communication network.
The above description is only an example of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims (13)

CN202110104272.6A2021-01-262021-01-26Video clip unlocking method, device, equipment and storage mediumActiveCN114793297B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110104272.6ACN114793297B (en)2021-01-262021-01-26Video clip unlocking method, device, equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110104272.6ACN114793297B (en)2021-01-262021-01-26Video clip unlocking method, device, equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN114793297Atrue CN114793297A (en)2022-07-26
CN114793297B CN114793297B (en)2023-11-03

Family

ID=82460405

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110104272.6AActiveCN114793297B (en)2021-01-262021-01-26Video clip unlocking method, device, equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN114793297B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2009101600A1 (en)*2008-02-152009-08-20Jacopo MangiavacchiApparatus and methods for content protection and distribution using alternate contents to provide access to protected primary content
US20100057576A1 (en)*2008-09-022010-03-04Apple Inc.System and method for video insertion into media stream or file
US20140130182A1 (en)*2012-11-022014-05-08Genesismedia LlcControlled Grant Of Access To Media Content
CN105913282A (en)*2016-04-122016-08-31乐视控股(北京)有限公司Advertisement publishing total amount control method, advertisement publishing total amount control device and advertisement server thereof
CN106101782A (en)*2016-05-192016-11-09天脉聚源(北京)传媒科技有限公司A kind of Open control method and device of channel authority
CN110516182A (en)*2019-08-262019-11-29上海连尚网络科技有限公司 A method and device for providing incentive video information
CN110782274A (en)*2019-09-272020-02-11上海连尚网络科技有限公司Method and device for providing motivational video information in reading application
CN111861645A (en)*2020-07-012020-10-30上海连尚网络科技有限公司 Paid electronic book unlocking method, device and computer readable medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2009101600A1 (en)*2008-02-152009-08-20Jacopo MangiavacchiApparatus and methods for content protection and distribution using alternate contents to provide access to protected primary content
US20100057576A1 (en)*2008-09-022010-03-04Apple Inc.System and method for video insertion into media stream or file
US20140130182A1 (en)*2012-11-022014-05-08Genesismedia LlcControlled Grant Of Access To Media Content
CN105913282A (en)*2016-04-122016-08-31乐视控股(北京)有限公司Advertisement publishing total amount control method, advertisement publishing total amount control device and advertisement server thereof
CN106101782A (en)*2016-05-192016-11-09天脉聚源(北京)传媒科技有限公司A kind of Open control method and device of channel authority
CN110516182A (en)*2019-08-262019-11-29上海连尚网络科技有限公司 A method and device for providing incentive video information
CN110782274A (en)*2019-09-272020-02-11上海连尚网络科技有限公司Method and device for providing motivational video information in reading application
CN111861645A (en)*2020-07-012020-10-30上海连尚网络科技有限公司 Paid electronic book unlocking method, device and computer readable medium

Also Published As

Publication numberPublication date
CN114793297B (en)2023-11-03

Similar Documents

PublicationPublication DateTitle
US20220224679A1 (en)Authenticated Session Management Across Multiple Electronic Devices Using A Virtual Session Manager
KR102118840B1 (en) Trusted login methods, servers, and systems
EP3467692B1 (en)Message permission management method and device, and storage medium
US11625460B1 (en)Security platform
US8051491B1 (en)Controlling use of computing-related resources by multiple independent parties
US10693859B2 (en)Restricting access for a single sign-on (SSO) session
US9626137B2 (en)Image forming apparatus, server device, information processing method, and computer-readable storage medium
US9225704B1 (en)Unified management of third-party accounts
CN110585715A (en)Game data processing method, device, equipment and storage medium based on block chain
US12265644B1 (en)Device management and security through a distributed ledger system
WO2021003751A1 (en)Single-account multi-identity login method and apparatus, server, and storage medium
US20130152173A1 (en)Method, apparatus, and computer-readable medium for content access authorization
US20080097998A1 (en)Data file access control
CN105659558A (en)Multiple resource servers with single, flexible, pluggable OAuth server and OAuth-protected RESTful OAuth consent management service, and mobile application single sign on OAuth service
US20140365526A1 (en)Content management apparatus and content management method
US9916308B2 (en)Information processing system, document managing server, document managing method, and storage medium
CN105338005A (en)Login method and system based on account group and login client
CN102611709A (en)Access control method and system for third party resources
US20190268643A1 (en)Method, apparatus, and computer-readable medium for content access authorization
CN110601852B (en)Authentication and authorization method and system for electronic equipment of voice conversation platform
CN106331775B (en)Equipment connection method, device and intelligent television system
CN114793297A (en)Video clip unlocking method, device, equipment and storage medium
CN114491418B (en)Software licensing method and electronic equipment
KR101918710B1 (en)Server and method for authorizing user to service
KR20110111258A (en) Method and apparatus for providing a service through watching advertisement using DRM

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp