CN108769749B - Method for determining data embezzlement, client and server - Google Patents
Method for determining data embezzlement, client and server Download PDFInfo
- Publication number
- CN108769749B CN108769749B CN201810333816.4A CN201810333816A CN108769749B CN 108769749 B CN108769749 B CN 108769749B CN 201810333816 A CN201810333816 A CN 201810333816A CN 108769749 B CN108769749 B CN 108769749B
- Authority
- CN
- China
- Prior art keywords
- server
- client
- video
- data
- key value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000004044 response Effects 0.000 claims abstract description 38
- 238000003860 storage Methods 0.000 claims description 16
- 238000004422 calculation algorithm Methods 0.000 claims description 5
- 230000002159 abnormal effect Effects 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims description 2
- 230000006399 behavior Effects 0.000 description 72
- 230000000875 corresponding effect Effects 0.000 description 26
- 238000004590 computer program Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 21
- 230000004048 modification Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000001680 brushing effect Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44204—Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1408—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
- H04L63/1425—Traffic logging, e.g. anomaly detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/254—Management at additional data server, e.g. shopping server, rights management server
- H04N21/2541—Rights Management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
- H04N21/44222—Analytics of user selections, e.g. selection of programs or purchase activity
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- General Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the application discloses a method for determining embezzlement data, which is used for determining embezzlement data. The method in the embodiment of the application comprises the following steps: the client responds to the operation of a user and generates a video request; the client adds authentication information into the corresponding video stream address according to the video request to obtain a first key value; the client sends the first key value to a server, and the first key value is used for matching the server with the calculated second key value; the client receives a video response sent by the server; and the client plays the corresponding video according to the video response.
Description
Technical Field
The present application relates to the field of information processing, and in particular, to a method, a client, and a server for determining data to be embezzled.
Background
At present, short videos are increasingly popular with people. Some video websites also provide video uploading and playing functions. The video shooter or editor can provide short video content and place the short video content on a video website, and the video website can reward a video provider according to the viewing times or sharing times of the uploaded video. The more people watch the video content, the more the video content is watched, or the sharing times indicate that the video content is more popular with the audiences, so that the corresponding rewards of the video website are more. However, many illegal hackers steal the video watching times or sharing times to forge the false watching times or sharing times so as to obtain income, and certain loss is caused to the video website.
Disclosure of Invention
The embodiment of the application provides a method for determining data embezzlement, a client and a server, which are used for determining the data embezzlement.
In view of this, a first aspect of the embodiments of the present application provides a method for determining pirated data, which may include:
the client responds to the operation of a user and generates a video request;
the client adds authentication information into the corresponding video stream address according to the video request to obtain a first key value;
the client sends the first key value to a server, and the first key value is used for matching the server with the calculated second key value;
the client receives a video response sent by the server;
and the client plays the corresponding video according to the video response.
Optionally, in some embodiments of the present application, the method may further include:
the client collects user behavior data, equipment information and equipment IP address information;
the client encrypts the user behavior data, the equipment information and the equipment IP address information;
and the client sends the encrypted user behavior data, the equipment information and the equipment IP address information to the server.
Optionally, in some embodiments of the present application, the method may further include:
the client records the unique identifier of the equipment and the viewing record information;
the client sends the unique device identification and the viewing record information to the server, and the unique device identification and the viewing record information are used for the server to determine the pirate data.
A second aspect of the embodiments of the present application provides a method for determining pirated data, which may include:
the server receives a first key value sent by the client;
the server matches a second key value calculated by the server according to the first key value, wherein the second key value is calculated by the server in advance according to the data reported by the client;
and if the matching is successful, the server sends a video response to the client, and the video response is used for playing the corresponding video by the client.
Optionally, in some embodiments of the present application, the method may further include:
the server sends the encrypted user behavior data, the equipment information and the equipment IP address information to the client;
and the server determines the embezzled data according to the encrypted user behavior data, the encrypted equipment information and the encrypted equipment IP address information.
Optionally, in some embodiments of the present application, the method may further include:
the server records the total amount of downloaded video stream data;
and if the total amount is not within the preset range, the server determines the video stream data as embezzled data.
Optionally, in some embodiments of the present application, the method may further include:
the server receives the unique equipment identifier and the viewing record information sent by the client;
and the server determines to steal the data according to the unique identifier of the equipment and the viewing record information.
A third aspect of the embodiments of the present application provides a client, which may include:
the receiving module is used for responding to the operation of a user and generating a video request; receiving a video response sent by the server;
the processing module is used for adding authentication information into the corresponding video stream address according to the video request to obtain a first key value;
a sending module, configured to send the first key value to a server, where the first key value is used for matching between the server and a calculated second key value; and playing the corresponding video according to the video response.
Alternatively, in some embodiments of the present application,
the processing module is also used for acquiring user behavior data, equipment information and equipment IP address information; encrypting the user behavior data, the equipment information and the equipment IP address information;
the sending module is further configured to send the encrypted user behavior data, the encrypted device information, and the encrypted device IP address information to the server.
Alternatively, in some embodiments of the present application,
the processing module is also used for recording the unique identifier of the equipment and watching the recorded information;
the sending module is further configured to send the device unique identifier and the viewing record information to the server, where the device unique identifier and the viewing record information are used by the server to determine to steal the data.
A fourth aspect of the embodiments of the present application provides a server, which may include:
the receiving module is used for receiving a first key value sent by the client;
the processing module is used for matching a second key value calculated by the server according to the first key value, wherein the second key value is calculated by the server in advance according to the data reported by the client;
and the sending module is used for sending a video response to the client if the matching is successful, wherein the video response is used for playing the corresponding video by the client.
Alternatively, in some embodiments of the present application,
the sending module is further configured to send the encrypted user behavior data, the device information, and the device IP address information to the client;
and the processing module is also used for determining the embezzled data according to the encrypted user behavior data, the encrypted equipment information and the encrypted equipment IP address information.
Alternatively, in some embodiments of the present application,
the receiving module is also used for receiving the unique equipment identifier and the viewing record information sent by the client;
the processing module is also used for determining embezzlement data according to the unique identifier of the equipment and the viewing record information.
A fifth aspect of the present invention provides an electronic device, comprising a memory, and a processor, wherein the processor is configured to implement the steps of the method for determining pirate data according to any one of the above when executing a computer management-like program stored in the memory.
A sixth aspect of the invention provides a computer readable storage medium having stored thereon a computer management like program, which when executed by a processor, performs the steps of the method of determining ripped data as described in any one of the above.
It should be noted that the technical solutions of the present application, which are essential or contributing to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product stored in a storage medium for storing computer software instructions for the client or the server, which contains a program designed for the client or the server to execute the above aspects.
The storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
According to the technical scheme, the embodiment of the application has the following advantages:
in the embodiment of the application, a client responds to the operation of a user to generate a video request; the client adds authentication information into the corresponding video stream address according to the video request to obtain a first key value; the client sends the first key value to a server, and the first key value is used for matching the server with the calculated second key value; the client receives a video response sent by the server; and the client plays the corresponding video according to the video response. If the server receives this first key value, it can be determined that the access data of the user's access request is not pirated data. A method of determining ripped data is provided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained according to the drawings.
FIG. 1 is a schematic diagram of an embodiment of a method for determining pirated data in an embodiment of the present application;
FIG. 2 is a schematic diagram of an embodiment of a client in an embodiment of the present application;
FIG. 3 is a schematic diagram of an embodiment of a server in an embodiment of the present application;
FIG. 4 is a schematic diagram of another embodiment of a client in the embodiment of the present application;
FIG. 5 is a schematic diagram of an embodiment of a computer-readable storage medium in an embodiment of the present application;
FIG. 6 is a schematic diagram of another embodiment of a server in the embodiment of the present application;
fig. 7 is a schematic diagram of an embodiment of a computer-readable storage medium in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a method for determining embezzlement data, a video website and a server, which are used for determining embezzlement data.
For a person skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. The embodiments in the present application shall fall within the protection scope of the present application.
In response to the above-identified deficiencies in the art or needs for improvement, the present invention provides a method for determining ripped data to verify viewing of short videos. I.e. to prevent some hackers from misappropriating the number of plays or views of the video.
The present invention identifies behavior in determining a swipe from a number of perspectives. Wherein the invention is also applicable to commonly used anti-brush strategies. Firstly, user behavior operation information exists for normally watching a short video, and short video playing page operation is entered, wherein the short video playing page operation comprises information such as a clicked short video list page and watching duration records. Meanwhile, for the watching user, the viewer device unique Identification (ID) is counted, and the device unique ID can distinguish whether the viewer device unique Identification (ID) is from one device or a plurality of devices. Meanwhile, Internet Protocol (IP) addresses of the same video viewer device (i.e., client) are counted, and a large number of users from the same IP address are suspicious users. The client collects user behavior operations of a user in the whole video website, wherein the user behavior operations comprise page click paths, button operations, mouse clicks, keyboard operations and the like. The data is reported to a big data background of a video website, namely a big data server, and the user behavior is subjected to portrait so as to search for the embezzled suspicious user. Thereby subtracting the suspicious user from the viewing record count of the portion of users to reduce the behavior of the pirate brushing.
The following examples further illustrate the practice of the present invention. The method comprises the following steps:
101. the client collects user behavior data.
The user behavior data may include, but is not limited to, user behavior data of page information and user behavior data of button information. That is, the client collecting the user behavior data may include: the method comprises the steps that a client side collects user behavior data of page information added to a video website; or, the client adds the collection of user behavior data of button information to the video website.
(1) And collecting user behavior data of page information of the video website. For the video website in the invention, firstly, the user behavior data of the page information is collected at the user equipment (also called terminal). The user behavior data of the page information may include page clicking operation of the user, sliding operation on the page, mouse moving operation, keyboard operation, and other information, and may also include page staying time. Or, when the user watches the video, the user clicks the button operation information of the page, records the clicking behavior of the page button, and also records the information such as the clicked coordinate position. Or recording the jump operation information of each page during page operation.
A page identification may be defined for each page so that the page viewed by the viewer can be distinguished, as well as from which page to jump. The collection of the user behavior data of the page information can be reported to a server of a video website background, and the server stores the data so as to facilitate subsequent data analysis. Meanwhile, in order to prevent the reported information from being cracked and forged by hackers, the invention classifies the user behavior data of the page information and can encrypt the user behavior data of the page information, thereby improving the safety of the data and ensuring that the reported information is not easy to forge.
It is assumed that a unique identification ID can be assigned to each page.
Then, the encryption method for reporting the user behavior data of the page information may be as follows:
Md5key=Md5.Create(timestamp+ID);
first, the video website may generate a data-encrypted key value, which is then calculated from the page ID and the current timestamp to obtain an Md5 value. Therefore, the key value is different for different pages at different times, so that when the user behavior data of the page information is encrypted, even if the user behavior data of the same original page information is encrypted, the user behavior data of the encrypted final page information is always changed. Therefore, the data security can be greatly improved.
EncryptData=Tea.Encrypt(Md5key,data);
In the invention, a Tea encryption algorithm can be adopted to encrypt the user behavior data of the page information, and an encryption interface can be Tea.
Wherein, the Md5key is the key value used by the encryption calculated before.
And the data is the user behavior data of the acquired page information and packaged together.
And finally, when the user behavior data of the page information is reported, the encrypted EncryptData, the timestamp and the current page ID value are reported.
After the big data server, which may also be referred to as a server for short, acquires the encrypted data, the same method may be used to decrypt the encrypted data to obtain the user behavior data of the original page information.
(2) And collecting user behavior data of button information for the video website.
For each page played on the video website, the page has some indication information of the button, and the client side in the invention can collect the operation information of the button, button clicking events, button clicking positions and the like of the user. Typically, for a normal user, the button click may be at a different screen coordinate each time, whereas for a script-swiped hacker the button position is likely to be a fixed exact position. The client side collects the user behavior data of the button information and reports the user behavior data to the server, and the server can analyze the user behavior by utilizing the user behavior data of the button information and identify the behavior of script operation.
It can be understood that the client terminal can classify the user behavior data of the button information collected by the video website, and can encrypt the user behavior data of the button information, so that the security of the data is improved, and the reported information is not easy to forge. Specifically, reference may be made to the encryption method in (1) above, which is not described herein again.
102. The client sends the user behavior data to the server.
That is, the collection of the user behavior data of the client page information of the video website and the report of the encrypted data can be completed through the steps 101 and 102. And the collection of user behavior data of the client button information of the video website and the report of the encrypted data can also be finished.
103. The client collects the device information.
For the video of the video website watched by the user, the client side in the invention can also collect the relevant information of the equipment, also can be referred to as equipment information for short. The device-related information may include a device type, wherein the device type is a global wide area network (ww an) or world wide WEB (WEB) terminal, a Personal Computer (PC) client, an Android device, an IOS device, and the like. For each device, the client collects information including a device type, a unique device ID, device hardware, and the like, as much as possible, such as a Central Processing Unit (CPU) model, a serial number, and the like.
It should be noted that, the client encrypts the acquired device information by using the above encryption method, and reports the encrypted device information to the server, and the specific encryption process may refer to the description in the foregoing, which is not described herein again.
104. The client sends the device information to the server.
That is, the collection and report of the device information of the video watched by the user can be completed through steps 103 and 104.
105. The client collects the IP address information of the equipment.
For a large number of viewing times, it is likely that the video is continuously requested to be viewed on the same device. Then, there are a large number of behaviors that the same IP address is used for watching, and then the IP address of the device reported by the client is likely to help the big data query to inquire the condition of a large number of IP aggregates, and is the IP address that is suspicious to watch.
106. The client sends the device IP address information to the server.
Namely, the collection and report of the device IP address information are completed through steps 105 and 106.
107. The client records the relevant data accessed by the interface.
The client records the relevant data accessed by the interface, and may include: the client responds to the operation of the user and generates an access request; and the client records access data according to the access request, wherein the access data comprises room information, video list information and a video watching address.
For example, for a user watching a video normally, the client requests the relevant data by accessing the interface of the video website. For example, room information is acquired, video list information is acquired, a video viewing address is acquired, and the like. Then, for the access of the interfaces, the client records the access information of each user, so that the behavior of the user can be correlated when the access information is reported to the big data server for analysis. The absence of such data may indicate illegal hacking.
108. The client sends the relevant data accessed by the interface to the server.
I.e. the recording of information accessed by the video web site interface is completed by steps 107 and 108.
109. The server adds authentication to the video stream address.
Specifically, the method may include: the client responds to the operation of a user and generates a video request; the client adds authentication information into the corresponding video stream address according to the video request to obtain a first key value; the client sends the first key value to a server, and the first key value is used for matching the server with the calculated second key value; the server receives a first key value sent by the client; the server matches a second key value calculated by the server according to the first key value, wherein the second key value is calculated by the server in advance according to the data reported by the client; and if the matching is successful, the server sends a video response to the client, and the video response is used for playing the corresponding video by the client. The client receives a video response sent by the server; and the client plays the corresponding video according to the video response.
For all users watching the video to see the video, the users must request the watching address of the video, so as to pull the video stream through the watching address of the video for playing. The invention can add authentication algorithm to the request of the video stream address to improve the threshold of stealing video watching times of non-platform users. Normal users will generally have an authentication record of the requested video stream address, i.e. the authentication result is correct. And if the record is not authenticated, the record can be regarded as a record of embezzlement. Meanwhile, for a Content Delivery Network (CDN) of a video stream server, a video address is generated once and can be used once, the same video stream address is limited by viewing duration, and the video stream address is valid for how many minutes.
The specific authentication algorithm is as follows:
when a client requests a video stream watching address, the client carries a token of a client login video website, a room number roomid of the client, a current timestamp information time, a device unique deviceID of the client and a user unique uid information of the client. And calculating an authentication key value through the information, wherein the key value can be uploaded to a server, the server calculates whether the authentication value of the client is legal or not according to the information reported by the client, if the authentication value is legal, a correct viewing address is issued, and otherwise, the request is rejected.
The specific implementation mode is as follows:
Key=Md5.create(token+roomid+time+deviceID+uid);
the MD5 value is calculated by concatenating the information to obtain the key value for authentication.
The client requests the video stream viewing address to carry the key value, and similarly, the server also calculates the key value in the same way, so as to judge whether the key value of the client is legal or not.
Namely, the acquisition and the report of the IP address information of the audience are finished through the step.
110. The client records the device unique identification.
For the client viewed by the user, the invention records the viewing record and the unique equipment identifier of the user at the client. First, a device unique ID is generated, stored on the client, and the ID of the video and the viewing time and duration are recorded for the video being viewed. If the same client side performs embezzlement, multiple records which are watched at the same time are generated, and the data is reported to big data for analysis, so that the embezzlement behavior can be identified.
111. And the client sends the unique equipment identification to the server.
That is, recording of the user viewing data and the device unique ID information to the viewing device is completed through steps 110 and 111.
112. And recording the downloading of the watching video code rate of the client at the server.
For a normal audience to watch a video, a video stream is pulled from a Content Delivery Network (CDN) server of a corresponding video website, then the CDN records video stream data of each line, calculates watching duration of the CDN, and calculates a total amount of video stream data downloaded in total for the watching duration according to the watching duration and watching resolution, where the calculation method is obtained by multiplying the duration by a code rate.
Then, the CDN server calculates, for each viewer who views the record, the total amount of the normal downloaded video stream data thereof, and is compatible with an error within a certain range, and then viewers who are not within this range can be regarded as all abnormal views, so that an illegal view record can be identified from the video stream download data of the CDN server.
Namely, the action of downloading data from the CDN video stream to identify the user to swipe the watching record is completed through the step.
113. And the server analyzes data statistics and identifies the user behavior for embezzlement.
For a large amount of data reported by the client, the big data server can analyze the data, identify the behavior of embezzlement and search abnormal data by comparing the aggregation of the data.
For example, if a large amount of viewing behavior is from the same IP address, it can be determined that the number of views at the IP address belongs to the pirated data, and the server can subtract the number of views at the IP address.
For example, a large amount of user behavior data is collected and reported, or data is reported abnormally.
Namely, the step is used for analyzing the data by the big data and searching for abnormal embezzlement behaviors.
It should be noted that, in the embodiment of the present application, the steps 101-108, 110-112 are optional steps. Also, the timing of steps 101, 103, 105, and 110 is not limited, and the timing of steps 102, 104, 106, and 111 is not limited.
The above describes an embodiment of the method in the present invention, and the following describes a client and a server in the present invention separately.
As shown in fig. 2, fig. 2 is a schematic diagram of an embodiment of a client in the present invention, which may include:
a receiving module 201, configured to generate a video request in response to an operation of a user; receiving a video response sent by a server;
the processing module 202 is configured to add authentication information to a corresponding video stream address according to the video request to obtain a first key value;
a sending module 203, configured to send a first key value to the server, where the first key value is used for matching between the server and the calculated second key value; and playing the corresponding video according to the video response.
Alternatively, in some embodiments of the present application,
the processing module 202 is further configured to collect user behavior data, device information, and device IP address information; encrypting user behavior data, equipment information and equipment IP address information;
the sending module 203 is further configured to send the encrypted user behavior data, the device information, and the device IP address information to the server.
Alternatively, in some embodiments of the present application,
the processing module 202 is further configured to record the unique device identifier and view the recording information;
the sending module 203 is further configured to send the device unique identifier and the viewing record information to the server, where the device unique identifier and the viewing record information are used by the server to determine the pirated data.
As shown in fig. 3, fig. 3 is a schematic diagram of an embodiment of a client in the present invention, which may include:
a receiving module 301, configured to receive a first key value sent by a client;
a processing module 302, configured to match, according to the first key value, a second key value calculated by the server, where the second key value is calculated by the server in advance according to data reported by the client;
the sending module 303 is configured to send a video response to the client if the matching is successful, where the video response is used for the client to play a corresponding video.
Alternatively, in some embodiments of the present application,
the receiving module 301 is further configured to receive encrypted user behavior data, device information, and device IP address information sent by the client;
the processing module 302 is further configured to determine to steal the data according to the encrypted user behavior data, the device information, and the device IP address information.
Alternatively, in some embodiments of the present application,
the receiving module 301 is further configured to receive the device unique identifier and the viewing record information sent by the client;
the processing module 302 is further configured to determine to steal the data according to the unique device identifier and the viewing record information.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating an embodiment of a client according to the present invention.
As shown in fig. 4, an embodiment of the present invention provides a client, which includes a memory 410, a processor 420, and a computer program 411 stored on the memory 420 and running on the processor 420, and when the processor 420 executes the computer program 411, the following steps may be implemented:
responding to the operation of a user and generating a video request;
adding authentication information into the corresponding video stream address according to the video request to obtain a first key value;
sending the first key value to a server, the first key value being used for matching by the server with the calculated second key value;
receiving a video response sent by the server;
and playing the corresponding video according to the video response.
Optionally, in some embodiments of the present application, the processor 420, when executing the computer program 411, may further implement the following steps:
collecting user behavior data, equipment information and equipment IP address information;
encrypting the user behavior data, the equipment information and the equipment IP address information;
and sending the encrypted user behavior data, the encrypted equipment information and the encrypted equipment IP address information to the server.
In this specific implementation process, when the processor 420 executes the computer program 411, any of the embodiments corresponding to fig. 1 may be implemented.
Since the client described in this embodiment is a device used in implementing a method for determining to steal data in the embodiment of the present invention, based on the method described in the embodiment of the present invention, those skilled in the art can understand the specific implementation manner of the client in this embodiment and various variations thereof, so that how to implement the method in the embodiment of the present invention by the client is not described in detail herein, and as long as the device used in implementing the method in the embodiment of the present invention by the person skilled in the art belongs to the scope of the present invention to be protected.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating an embodiment of a computer-readable storage medium according to the present invention.
As shown in fig. 5, the present embodiment provides a computer-readable storage medium, on which a computer program 511 is stored, and the computer program 511, when executed by a processor, can implement the following steps:
responding to the operation of a user and generating a video request;
adding authentication information into the corresponding video stream address according to the video request to obtain a first key value;
sending the first key value to a server, the first key value being used for matching by the server with the calculated second key value;
receiving a video response sent by the server;
and playing the corresponding video according to the video response.
Optionally, in some embodiments of the present application, the computer program 511, when executed by the processor, may further implement the following steps:
collecting user behavior data, equipment information and equipment IP address information;
encrypting the user behavior data, the equipment information and the equipment IP address information;
and sending the encrypted user behavior data, the encrypted equipment information and the encrypted equipment IP address information to the server.
Referring to fig. 6, fig. 6 is a schematic diagram of an embodiment of a server according to the present invention.
As shown in fig. 6, an embodiment of the present invention provides a server, which includes a memory 610, a processor 620, and a computer program 611 stored in the memory 620 and operable on the processor 620, and when the processor 620 executes the computer program 611, the following steps can be implemented:
receiving a first key value sent by a client;
according to the first key value, matching with a second key value calculated by the server, wherein the second key value is calculated by the server in advance according to the data reported by the client;
and if the matching is successful, sending a video response to the client, wherein the video response is used for playing the corresponding video by the client.
Optionally, in some embodiments of the present application, the processor 620 may further implement the following steps when executing the computer program 611:
the encrypted user behavior data, the equipment information and the equipment IP address information are sent to the client;
and determining the embezzled data according to the encrypted user behavior data, the encrypted equipment information and the encrypted equipment IP address information.
In this specific implementation process, when the processor 620 executes the computer program 611, any of the embodiments corresponding to fig. 1 may be implemented.
Since the client described in this embodiment is a device used in implementing a method for determining to steal data in the embodiment of the present invention, based on the method described in the embodiment of the present invention, those skilled in the art can understand the specific implementation manner of the client in this embodiment and various variations thereof, so that how to implement the method in the embodiment of the present invention by the client is not described in detail herein, and as long as the device used in implementing the method in the embodiment of the present invention by the person skilled in the art belongs to the scope of the present invention to be protected.
Referring to fig. 7, fig. 7 is a schematic diagram illustrating an embodiment of a computer-readable storage medium according to the present invention.
As shown in fig. 7, the present embodiment provides a computer-readable storage medium, on which a computer program 711 is stored, which computer program 711, when executed by a processor, may implement the following steps:
receiving a first key value sent by a client;
according to the first key value, matching with a second key value calculated by the server, wherein the second key value is calculated by the server in advance according to the data reported by the client;
and if the matching is successful, sending a video response to the client, wherein the video response is used for playing the corresponding video by the client.
Optionally, in some embodiments of the present application, the computer program 711 when executed by the processor may further implement the following steps:
receiving encrypted user behavior data, equipment information and equipment IP address information sent by the client;
and determining the embezzled data according to the encrypted user behavior data, the encrypted equipment information and the encrypted equipment IP address information.
It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to relevant descriptions of other embodiments for parts that are not described in detail in a certain embodiment.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (5)
1. A method of determining ripped data, comprising:
the client responds to the operation of a user and generates a video request;
the client adds authentication information into the corresponding video stream address according to the video request to obtain a first key value;
the client sends the first key value to a server, and the first key value is used for matching the server with the calculated second key value;
the client receives a video response sent by the server;
the client plays the corresponding video according to the video response;
wherein the first key value being used for the server to match the calculated second key value comprises, if the first key value does not match the server with the calculated second key value or there is no matching record, then it is determined that the video recording is embezzled;
the method further comprises the following steps:
the client acquires user behavior data, equipment information and equipment IP address information, wherein the equipment information comprises one or more of equipment type, equipment unique ID and equipment hardware; the user behavior data comprises operation information of a user on a button, a button clicking event and a button clicking position;
the client encrypts the user behavior data, the device information and the device IP address information, and the client encrypts the user behavior data, specifically: distributing a unique identification ID for each page, calculating an Md5 value by the page ID and the current timestamp, and encrypting the user behavior data by taking the Md5 value as a key value of a Tea encryption algorithm;
the client sends the encrypted user behavior data, the encrypted equipment information and the encrypted equipment IP address information to the server;
the method further comprises the following steps:
the server judges whether the button clicking positions are on the same screen coordinates;
if the button clicking positions are on the same screen coordinate, the server identifies the brush stealing behavior;
the client records the relevant data accessed by the interface, and the relevant data comprises: the client responds to the operation of the user and generates an access request; the client records access data according to the access request, wherein the access data comprises room information, video list information and a video watching address;
the client sends the related data to the server;
the server judges whether the user access information lacks the related data;
if the user behavior data lack the related data, the server identifies embezzlement behavior;
recording the downloading of the watching video code rate of the client at the server;
the video website records each piece of video stream data, calculates the watching time length, and can calculate the total downloaded video stream data amount of the watching time length according to the watching time length and the watching resolution ratio.
2. A method of determining ripped data, comprising:
the server receives a first key value sent by the client;
the server matches a second key value calculated by the server according to the first key value, wherein the second key value is calculated by the server in advance according to the data reported by the client;
if the matching is successful, the server sends a video response to the client, and the video response is used for the client to play a corresponding video;
if the first key value is not matched with the server and the calculated second key value or a matching record is lacked, the video record is considered to be embezzled;
the method further comprises the following steps:
the server sends the encrypted user behavior data, the equipment information and the equipment IP address information to the client;
the server determines the embezzled data according to the encrypted user behavior data, the encrypted equipment information and the encrypted equipment IP address information, and specifically comprises the following steps: the server determines embezzled data by analyzing the user behavior data, the equipment information and the equipment IP address information;
the method further comprises the following steps:
the server judges whether the button clicking positions are on the same screen coordinates;
if the button clicking positions are on the same screen coordinate, the server identifies the brush stealing behavior;
the client records the relevant data accessed by the interface, and the relevant data comprises: the client responds to the operation of the user and generates an access request; the client records access data according to the access request, wherein the access data comprises room information, video list information and a video watching address;
the client sends the related data to the server;
the server judges whether the user access information lacks the related data;
if the user access information lacks the related data, the server identifies embezzlement behavior;
recording the downloading of the watching video code rate of the client at the server;
the video website records each piece of video stream data, calculates the watching time length, and can calculate the total downloaded video stream data amount of the watching time length according to the watching time length and the watching resolution ratio.
3. A client that performs the method of claim 1, comprising:
the receiving module is used for responding to the operation of a user and generating a video request; receiving a video response sent by the server;
the processing module is used for adding authentication information into the corresponding video stream address according to the video request to obtain a first key value;
a sending module, configured to send the first key value to a server, where the first key value is used for matching between the server and a calculated second key value; playing a corresponding video according to the video response;
wherein the first key value being used for the server to match the calculated second key value comprises, if the first key value does not match the server with the calculated second key value or there is no matching record, then it is determined that the video recording is embezzled; the processing module is also used for acquiring user behavior data, equipment information and equipment IP address information; encrypting the user behavior data, the equipment information and the equipment IP address information; wherein the device information comprises one or more of a device type, a device unique ID and device hardware; the client encrypts the user behavior data, specifically: distributing a unique identification ID for each page, calculating an Md5 value by the page ID and the current timestamp, and encrypting the user behavior data by taking the Md5 value as a key value of a Tea encryption algorithm;
recording the downloading of the watching video code rate of the client at the server;
the video website records each piece of video stream data, calculates the watching time length, and can calculate the total downloaded video stream data amount of the watching time length according to the watching time length and the watching resolution ratio, the calculation method is time length multiplying code rate, the server calculates the total downloaded video stream data amount of each watching record normally, and is compatible with errors in a certain range, if the total downloaded video stream data amount is not in the range, the server can be regarded as abnormal watching; the sending module is further configured to send the encrypted user behavior data, the encrypted device information, and the encrypted device IP address information to the server.
4. A server that performs the method of claim 2, comprising:
the receiving module is used for receiving a first key value sent by the client;
the processing module is used for matching a second key value calculated by the server according to the first key value, wherein the second key value is calculated by the server in advance according to the data reported by the client;
the sending module is used for sending a video response to the client if the matching is successful, wherein the video response is used for playing a corresponding video by the client;
if the first key value is not matched with the server and the calculated second key value or a matching record is lacked, the video record is considered to be embezzled;
the sending module is further configured to send the encrypted user behavior data, the device information, and the device IP address information to the client;
the processing module is further configured to determine the embezzled data according to the encrypted user behavior data, the encrypted device information, and the encrypted device IP address information, and specifically includes: the server determines embezzled data by analyzing the user behavior data, the equipment information and the equipment IP address information;
recording the downloading of the watching video code rate of the client at the server;
the video website records each piece of video stream data, calculates the watching time length, and can calculate the total downloaded video stream data amount of the watching time length according to the watching time length and the watching resolution ratio.
5. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810333816.4A CN108769749B (en) | 2018-04-13 | 2018-04-13 | Method for determining data embezzlement, client and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810333816.4A CN108769749B (en) | 2018-04-13 | 2018-04-13 | Method for determining data embezzlement, client and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108769749A CN108769749A (en) | 2018-11-06 |
CN108769749B true CN108769749B (en) | 2021-11-09 |
Family
ID=64010750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810333816.4A Active CN108769749B (en) | 2018-04-13 | 2018-04-13 | Method for determining data embezzlement, client and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108769749B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111585940B (en) * | 2019-02-18 | 2021-12-17 | 华为技术有限公司 | Resource management method and related equipment thereof |
CN111931159B (en) * | 2020-08-11 | 2023-04-07 | 福建天晴在线互动科技有限公司 | Method and system for verifying validity of webpage data interface |
CN113067808B (en) * | 2021-03-15 | 2022-07-05 | 上海哔哩哔哩科技有限公司 | Data processing method, live broadcast method, authentication server and live broadcast data server |
CN113268690B (en) * | 2021-04-15 | 2023-08-29 | 微梦创科网络科技(中国)有限公司 | Method and system for safely filtering website short video playing information |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013053278A1 (en) * | 2011-10-14 | 2013-04-18 | 腾讯科技(深圳)有限公司 | Network security identification method, security detection server, client and system |
CN105354451A (en) * | 2014-08-20 | 2016-02-24 | 腾讯科技(深圳)有限公司 | Access authentication method and system |
CN106993201A (en) * | 2017-03-17 | 2017-07-28 | 武汉斗鱼网络科技有限公司 | The authorization check method and device of video playback |
CN107040799A (en) * | 2017-03-17 | 2017-08-11 | 武汉斗鱼网络科技有限公司 | The authorization check method and device of video playback |
CN107094261A (en) * | 2017-03-17 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | The authorization check method and device of video playback |
CN107566200A (en) * | 2016-06-30 | 2018-01-09 | 阿里巴巴集团控股有限公司 | A kind of monitoring method, apparatus and system |
-
2018
- 2018-04-13 CN CN201810333816.4A patent/CN108769749B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013053278A1 (en) * | 2011-10-14 | 2013-04-18 | 腾讯科技(深圳)有限公司 | Network security identification method, security detection server, client and system |
CN105354451A (en) * | 2014-08-20 | 2016-02-24 | 腾讯科技(深圳)有限公司 | Access authentication method and system |
CN107566200A (en) * | 2016-06-30 | 2018-01-09 | 阿里巴巴集团控股有限公司 | A kind of monitoring method, apparatus and system |
CN106993201A (en) * | 2017-03-17 | 2017-07-28 | 武汉斗鱼网络科技有限公司 | The authorization check method and device of video playback |
CN107040799A (en) * | 2017-03-17 | 2017-08-11 | 武汉斗鱼网络科技有限公司 | The authorization check method and device of video playback |
CN107094261A (en) * | 2017-03-17 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | The authorization check method and device of video playback |
Also Published As
Publication number | Publication date |
---|---|
CN108769749A (en) | 2018-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108769749B (en) | Method for determining data embezzlement, client and server | |
US11055429B2 (en) | Key providing method, video playing method, server and client | |
JP7019744B2 (en) | Methods and equipment for collecting distributed user information for media impressions and search terms | |
CN107454441B (en) | A kind of method, live streaming Platform Server and the computer readable storage medium of detection direct broadcasting room brush popularity behavior | |
US9646140B2 (en) | Method and apparatus for protecting online content by detecting noncompliant access patterns | |
CN105450724B (en) | Method, apparatus, and tangible computer-readable storage medium for monitoring a media presentation device | |
US8359657B2 (en) | Method and apparatus for enabling secure distribution of digital content | |
CN108737110B (en) | Data encryption transmission method and device for preventing replay attack | |
CN108881966B (en) | Information processing method and related equipment | |
CN110958239B (en) | Method and device for verifying access request, storage medium and electronic device | |
WO2019071859A1 (en) | Method and apparatus for preventing gift swiping on live broadcast platform | |
CN108650526B (en) | Identification method, computer equipment and storage medium | |
CN107124420A (en) | Auth method and device | |
CN108259183B (en) | Attention method, attention device, attention electronic equipment and attention medium | |
CN108200450B (en) | A kind of determination method, apparatus, electronic equipment and medium for paying close attention to legitimacy | |
CN110381375B (en) | Method for determining data embezzlement, client and server | |
CN108206961B (en) | Method for calculating popularity of live broadcast platform and related equipment | |
US20120210128A1 (en) | Information processing apparatus, information processing method and program | |
CN110380843B (en) | Information processing method and related equipment | |
WO2018176816A1 (en) | Video requesting and playing method and device | |
EP4084485A1 (en) | Methods, systems, and devices for detecting over-the-top piracy | |
CN110381342B (en) | Information processing method and related equipment | |
CN108769748B (en) | Information processing method and related equipment | |
CN118250490A (en) | Video encryption method for preventing downloading of educational resource video | |
CN115208648A (en) | Login token generation method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240108 Address after: Room 8434, Building 3, No. 3 Xijing Road, Badachu High tech Park, Shijingshan District, Beijing, 100000 Patentee after: Beijing Jinxin Ruitong Technology Co.,Ltd. Address before: 430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building Patentee before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |