CN107579968B - Video flowing address detection method, device and server - Google Patents
Video flowing address detection method, device and server Download PDFInfo
- Publication number
- CN107579968B CN107579968B CN201710766452.4A CN201710766452A CN107579968B CN 107579968 B CN107579968 B CN 107579968B CN 201710766452 A CN201710766452 A CN 201710766452A CN 107579968 B CN107579968 B CN 107579968B
- Authority
- CN
- China
- Prior art keywords
- field
- verified
- video flowing
- flowing address
- fields
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Abstract
The embodiment of the present invention provides a kind of video flowing address detection method, device and server.This method includes:Respond the acquisition request of video flowing address, corresponding video flowing address is sent to user terminal, and a String field is added in the agreement of video flowing address, include the control field and encrypted fields generated at random in String field, wherein, control field generates for control protocol field, and encrypted fields are used to that control field and protocol fields to be encrypted;The field to be verified that user terminal is sent according to String field is received, wherein, control field, encrypted fields and the protocol fields generated according to control field are included in field to be verified;Verifying field is treated to be verified;If authentication failed, the user account for running on the user terminal is identified as disabled user's account.The present invention more can truly count the quantity that brush is stolen in live streaming platform video flowing address, so as to provide accurate data on flows for live streaming platform.
Description
Technical field
The present invention relates to Internet technical field, in particular to a kind of video flowing address detection method, device and clothes
Business device.
Background technology
At present, the situation that its video flowing address of provider's generally existing of net cast content is obtained by third-party platform,
So as to do not have to by webcast website can direct viewing video content, the flow of webcast website is caused to reduce.It is for example, black
The authentication arithmetic of the video flowing address of platform can be broadcast live in visitor by Commissioning Analysis, crack the algorithm being born into video flowing address,
The final detection around live streaming platform.The quantity that video flowing address is stolen brush how is detected, is that those skilled in the art urgently solve
Certainly the technical issues of.
Invention content
In order to overcome above-mentioned deficiency of the prior art, the purpose of the present invention is to provide a kind of video flowing address detected sides
Method, device and server, server into the agreement of video flowing address for being sent to user terminal by adding a character string word
Section, and the field to be verified that user terminal generates is verified according to the dynamic protocol field of calculating, it can more truly
The quantity that brush is stolen in live streaming platform video flowing address is counted, so as to provide accurate data on flows for live streaming platform.
To achieve these goals, the technical solution that present pre-ferred embodiments use is as follows:
Present pre-ferred embodiments provide a kind of video flowing address detection method, applied to what is connect with user terminal communication
Server, the method includes:
The acquisition request of video flowing address is responded, corresponding video flowing address is sent, and in the video to user terminal
It flows in the agreement of address and adds a String field, the control field generated at random and encryption are included in the String field
Field, wherein, the control field generates for control protocol field, and the encrypted fields are used for control field and agreement word
Section is encrypted;
The field to be verified that the user terminal is sent according to the String field is received, wherein, the word to be verified
Include the control field, the encrypted fields and the protocol fields generated according to the control field in section;
The field to be verified is verified;
If authentication failed, the user account for running on the user terminal is identified as disabled user's account.
In present pre-ferred embodiments, the method further includes:
If not receiving the field to be verified that the user terminal is sent, the user account of the user terminal will be run on
It is identified as disabled user's account.
In present pre-ferred embodiments, the step that a String field is added in the agreement of the video flowing address
Suddenly, including:
The control field and the encrypted fields are generated according to the acquisition of video flowing address request at random, wherein,
When including the identification information of user terminal, the identification information of video flowing address, current time stamp, login in the acquisition request
At least one of Token;
One character string word is added in the agreement of the video flowing address according to the control field and the encrypted fields
Section.
In present pre-ferred embodiments, described the step of being verified to the field to be verified, including:
Corresponding protocol fields are generated according to the control field;
Corresponding dynamic protocol field is generated according to the control field, the protocol fields and the encrypted fields;
The field to be verified and the dynamic protocol field are compared, judge the field to be verified and described dynamic
Whether state protocol fields are consistent;
When consistent, the field validation to be verified passes through;And
When inconsistent, the field validation to be verified does not pass through.
In present pre-ferred embodiments, more set algorithms and the often corresponding coding of set algorithm are stored in the server
Information, the acquisition request of the response video flowing address, corresponding video flowing address is sent, and in the video to user terminal
The step of adding a String field in the agreement of address is flowed to include:
The server sends random data to the user terminal, so that the user terminal is according to the random data
The protocol fields are generated with the control field;
Described the step of corresponding protocol fields are generated according to the control field, including:
Corresponding coding information is selected according to the random data;
The corresponding protocol fields of the control field are calculated according to the corresponding target algorithm of the coding information.
In present pre-ferred embodiments, the mode that corresponding coding information is selected according to the random data, packet
It includes
Remainder is carried out to the random data, obtains corresponding coding information.
In present pre-ferred embodiments, the method further includes:
The server to user terminal when sending corresponding video flowing address, based on preset strategy in the video flowing
A String field is added in the agreement of address;
Wherein, the mode packet for adding a String field in the agreement of the video flowing address based on preset strategy
It includes:
Section in the agreement of the video flowing address of different live streaming room numbers to adding a String field in different times;
Or
In different times section according to live streaming room number live streaming popularity to live streaming room number video flowing address agreement
One String field of middle addition;Or
A String field is added in the agreement of the video flowing address of the suspicious live streaming room number of data.
Present pre-ferred embodiments also provide a kind of video flowing address detection method, applied to what is connect with server communication
User terminal, the method includes:
The video flowing address that server is sent is obtained, wherein, include a character string in the agreement of the video flowing address
Field includes the control field and encrypted fields generated at random in the String field, wherein, the control field is used for
Control protocol field generates, and the encrypted fields are used to that control field and protocol fields to be encrypted;
Field to be verified is generated according to the String field, wherein, include the control in the field to be verified
Field, the encrypted fields and the protocol fields generated according to the control field;
The field to be verified is sent to the server to verify.
Present pre-ferred embodiments also provide a kind of video flowing address detection device, are connect applied to user terminal communication
Server, described device includes:
For responding the acquisition of video flowing address request, corresponding video flowing address is sent to user terminal for sending module,
And a String field is added in the agreement of the video flowing address, the control generated at random is included in the String field
Field and encrypted fields processed, wherein, the control field generates for control protocol field, and the encrypted fields are used for control
Field and protocol fields are encrypted;
Receiving module, for receiving the field to be verified that the user terminal is sent according to the String field, wherein,
Include the control field, the encrypted fields and the agreement generated according to the control field in the field to be verified
Field;
Authentication module, for being verified to the field to be verified;
If the user account for running on the user terminal for authentication failed, is identified as disabled user by identification module
Account.
Present pre-ferred embodiments also provide a kind of server, and the server includes:
Memory;
Processor;And
Video flowing address detection device, described device are installed in the memory and including one or more by described
The software function module that device performs is managed, described device includes:
For responding the acquisition of video flowing address request, corresponding video flowing address is sent to user terminal for sending module,
And a String field is added in the agreement of the video flowing address, the control generated at random is included in the String field
Field and encrypted fields processed, wherein, the control field generates for control protocol field, and the encrypted fields are used for control
Field and protocol fields are encrypted;
Receiving module, for receiving the field to be verified that the user terminal is sent according to the String field, wherein,
Include the control field, the encrypted fields and the agreement generated according to the control field in the field to be verified
Field;
Authentication module, for being verified to the field to be verified;
If the user account for running on the user terminal for authentication failed, is identified as disabled user by identification module
Account.
In terms of existing technologies, the invention has the advantages that:
Video flowing address detection method provided in an embodiment of the present invention, device and server, server are receiving video
After the acquisition request for flowing address, a String field is added in the agreement of video flowing address sent to user terminal, then
The user terminal is verified according to the field to be verified that the String field is sent, it, will operation if authentication failed
Disabled user's account is identified as in the user account of the user terminal.Based on above-mentioned design, server is by being sent to user
A String field is added in the agreement of the video flowing address of terminal, and user terminal is given birth to according to the dynamic protocol field of calculating
Into field to be verified verified, more can truly count the quantity that brush is stolen in live streaming platform video flowing address, so as to
Accurate data on flows is provided for live streaming platform.
Description of the drawings
It in order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range, for those of ordinary skill in the art, without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of application scenarios schematic diagram of server that present pre-ferred embodiments provide;
Fig. 2 is a kind of block diagram of the server shown in Fig. 1;
Fig. 3 is a kind of flow diagram of video flowing address detection method that present pre-ferred embodiments provide;
Fig. 4 is a kind of flow diagram of each sub-steps that the step S210 shown in Fig. 3 includes;
Fig. 5 is another flow diagram of video flowing address detection method that present pre-ferred embodiments provide;
Fig. 6 is a kind of functional block diagram of video flowing address detection device that present pre-ferred embodiments provide.
Icon:100- servers;110- memories;120- processors;130- communication units;140- storage controls;
150- video flowing address detection devices;151- sending modules;152- receiving modules;153- authentication modules;154- identification modules;
200- user terminals.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Usually herein
The component of the embodiment of the present invention described and illustrated in place's attached drawing can be configured to arrange and design with a variety of different.
Therefore, below the detailed description of the embodiment of the present invention to providing in the accompanying drawings be not intended to limit it is claimed
The scope of the present invention, but be merely representative of the present invention selected embodiment.Based on the embodiments of the present invention, this field is common
All other embodiment that technical staff is obtained without creative efforts belongs to the model that the present invention protects
It encloses.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need to that it is further defined and explained in subsequent attached drawing.
Below in conjunction with the accompanying drawings, it elaborates to some embodiments of the present invention.In the absence of conflict, it is following
Feature in embodiment and embodiment can be combined with each other.
Referring to Fig. 1, a kind of application scenarios schematic diagram of the server 100 provided for present pre-ferred embodiments.This reality
It applies in example, the server 100 can be communicated to connect with user terminal 200.In a specific embodiment, the server
100 installation kits that can provide at least one live streaming APP (for example, bucket fish live streaming APP) suitable for various operating systems supply institute
User terminal 200 is stated to download.After the user terminal 200 is by server described in network access 100, can by the network from
Server 100 downloads the installation kit of the application program of the operating system suitable for the user terminal 200, by the application program
It is installed in the user terminal 200.
In the present embodiment, the user terminal 200 may be, but not limited to, PC (Personal Computer,
PC), laptop, tablet computer, personal digital assistant (Personal Digital Assistant, PDA), mobile Internet access
Equipment (Mobile Internet Device, MID) etc..The server 100 may be, but not limited to, Web site service
Device, database server, ftp (file transfer protocol, File Transfer Protocol) server etc..
Referring to Fig. 2, the block diagram for the server 100 shown in Fig. 1.In the embodiment of the present invention, the service
Device 100 can include memory 110, processor 120, communication unit 130 and storage control 140.The memory 110,
Processor 120, communication unit 130 and storage control 140 are directly or indirectly electrically connected between each other, to realize data
Transmission or interaction.For example, these elements can electrically be connected between each other by one or more communication bus or signal wire realization
It connects.Video flowing address detection device 150 is stored in memory 110, the video flowing address detection device 150 includes at least one
A software function module that can be stored in the form of software or firmware (Firmware) in the memory 110, the processing
Device 120 is stored in software program and module in memory 110 by operation, such as the video flowing address in the embodiment of the present invention
Detection device 150 so as to perform various functions application and data processing, that is, realizes the video flowing address in the embodiment of the present invention
Detection method.
Wherein, the memory 110 may include high speed random access memory, may also include nonvolatile memory, such as one
Or multiple magnetic storage devices, flash memory or other non-volatile solid state memories.In some instances, memory 110 can
Further comprise that, relative to the remotely located remote memory of processor 120, these remote memories can pass through network connection
To the server 100.The example of above-mentioned network can include but is not limited to internet, intranet, LAN, move and lead to
Letter net and combinations thereof.Wherein, for storing program, the processor 120 performs memory 110 after execute instruction is received
Described program.Further, various input/output devices are coupled to processor 120 and memory 110 by communication unit 130,
Software program and module in above-mentioned memory 110 may also include operating system, may include it is various for manage system appoint
Be engaged in (such as memory management, storage device control, power management etc.) component software and/or driving, and can with various hardware or
Component software mutually communicates, so as to provide the running environment of other component softwares.
The processor 120 can be a kind of IC chip, have the processing capacity of signal.Above-mentioned processor
120 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit
(Network Processor, NP) etc..It can also be digital signal processor (DSP), application-specific integrated circuit (ASIC), scene
Programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware group
Part.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be with
It is microprocessor or can also is any conventional processor etc..
The communication unit 130 can be used for establishing the communication link between the server 100 and the user terminal 200
It connects.
It is appreciated that structure shown in Fig. 2 is only to illustrate, the server 100 can also include more than shown in Fig. 2
Either less component or with the configuration different from shown in Fig. 2.Hardware, software may be used in each component shown in Fig. 2
Or combination is realized.
Referring to Fig. 3, Fig. 3 is a kind of flow signal for the video flowing address detection method that present pre-ferred embodiments provide
Figure, the server 100 of the method as shown in Figure 1 perform.It should be noted that method provided in an embodiment of the present invention is not to scheme
3 and particular order as described below for limitation.The idiographic flow of the method is as follows:
Step S110, the acquisition request of response video flowing address, corresponding video flowing address is sent to user terminal 200,
And add a String field in the agreement of the video flowing address.
In detail, in the present embodiment, the user terminal 200 can be after user account logs in direct broadcasting room to the service
Device 100 sends the acquisition request of video flowing address, is played out with obtaining corresponding video flowing address, wherein, the acquisition please
May include in asking the identification information (for example, equipment Serial Number) of user terminal 200, video flowing address identification information (for example, seeing
The room number for the direct broadcasting room seen), current time stamp and at least one of Token when logging in, preferably, user terminal
200 can by the identification information of above-mentioned user terminal 200, the identification information of video flowing address, current time stamp, log in when
The server 100 is sent to after Token packaging cipherings.The server 100 is in the video for receiving the transmission of user terminal 200
After the acquisition request for flowing address, corresponding video flowing address is sent, and in the agreement of the video flowing address to user terminal 200
One String field of middle addition.
Specifically, it may include thering is the control field and encrypted fields generated at random in the String field.Wherein, it is described
Control field generates for control protocol field, and the encrypted fields are used to that control field and protocol fields to be encrypted.
In a kind of specific embodiment of the present embodiment, the String field can be a string of character strings of 32, this section 32
Character string can control subsequent user terminal 200 to be sent to the protocol fields and protocol contents of server 100.It should be noted that
It is, if not having this String field in the video flowing address that server 100 issues, to illustrate that server 100 is not straight to this
It broadcasts room and opens the detection that brush quantity is stolen in video flowing address, if there is this String field, then illustrate to the live streaming room
Open the detection that brush quantity is stolen in video flowing address.
As a kind of embodiment, in 32 character strings, preceding 16 character strings can be used for controlling in entire agreement
Hold, rear 16 character strings can be used for preceding 16 character strings are encrypted.Wherein, preceding 16 character strings are used to generate entire association
Field is discussed, specifically, in preceding 16 character strings, first eight bits character string can be the control field, and rear eight bit character string can
With for the protocol fields generated according to the control field, and last sixteen bit character string can be the encrypted fields.
Optionally, the word added in the agreement for sending corresponding video flowing address to user terminal 200 in server 100
During according with string field, the mark of the user terminal 200 in being asked first according to the acquisition of the video flowing address is believed
At least one of Token when breath, the identification information of video flowing address, current time stamp, login generates the control at random
Field and the encrypted fields, then according to the control field and the encrypted fields in the agreement of the video flowing address
A String field is added, the control field and the encrypted fields namely user terminal are included in the String field
Include the control field and the encrypted fields in 200 String fields received.
In the present embodiment, it is randomly generated due to the control field, and protocol fields are according to the institute generated at random
State what control field was calculated, thus the protocol contents in each String field are also unfixed, meeting is with service
Device 100 controls to be modified by increasing String field in the agreement of existing video flowing address, without again increasing
Add an agreement, since the agreement there will not be any influence to existing capability, so having concealment, so as to be also not susceptible to
It is analyzed by hack.
Step S120 receives the field to be verified that the user terminal 200 is sent according to the String field.
Specifically, in the present embodiment, by taking the String field is above-mentioned 32 character strings as an example, the user terminal
200 16 character strings, the controls of 8 before then being taken out from from preceding 16 character strings before taking-up first from 32 character strings
Field, the protocol fields of eight after then being calculated according to the control field, then according to the control field, the protocol fields
With the encrypted fields generate field to be verified namely the first eight bits in preceding 16 character strings control field and according to
The rear 8 bit protocol field of preceding 8 control fields generation and the encrypted fields of rear 16 character strings generate described 32 to be tested
Demonstrate,prove field.
As a kind of embodiment, more set algorithms can be stored in the user terminal 200 and often set algorithm corresponds to
Coding information, when server 100 adds String field in the agreement of the video flowing address sent to user terminal 200,
A random data can also be sent to the user terminal 200 simultaneously, the user terminal 200 can be according to the random data
The protocol fields are generated with the control field.Optionally, the user terminal 200 can be selected according to the random data
Corresponding coding information as a kind of embodiment, can carry out remainder to the random data, obtain corresponding coding letter
Then breath calculates the corresponding protocol fields of the control field according to the corresponding target algorithm of the coding information.It is for example, described
The algorithm that user terminal 200 stores has 100 sets, and the random data that the server 100 issues is 1123, then user terminal 200
1123 complementations are obtained with the 23rd set of algorithm of selection to calculate the protocol fields.
It illustratively, can be using this HASH algorithms of CRC32 come to latter 8 if the control field of first 8 is 0
Protocol fields are calculated:
PrototypeSrc=CRC32 (8 bit protocol field)
Wherein, final preceding sixteen bit field can be obtained by carrying out CRC32 calculating to rear 8 bit protocol field.
PrototypeEncode=AES.Encode (PrototypeSrc, 16 bit protocol KTY fields).
If 8 are 1 before control field, rear 8 bit protocol field is calculated using this HASH algorithms of MD5:
PrototypeSrc=MD5 (8 bit protocol field)
Wherein, final preceding sixteen bit field can be obtained by carrying out MD5 calculating to rear 8 bit protocol field.
PrototypeEncode=AES.Encode (PrototypeSrc, 16 bit protocol KTY fields).
Certainly, it these are only example, specifically can select different algorithms that the control field of first 8 is calculated
Final protocol fields.Be randomly generated due to control field, computational algorithm be also it is randomly selected, can be with service
Different random data that device 100 issues and generate different protocol fields, so as to be changed as far as possible, so pole
With concealment, it is also not susceptible to be analyzed by hack.
Step S130 verifies the field to be verified.
In the present embodiment, the server 100 generates corresponding protocol fields according to the control field, wherein, it is described
Server 100 can use in same algorithm, such as server 100 with user terminal 200 can also be stored with more set algorithms
And the corresponding coding information of algorithm is often covered, corresponding coding is selected according to the random data issued to the user terminal 200
Information, such as remainder can be carried out to the random data, corresponding coding information is obtained, then according to the coding information pair
The target algorithm answered calculates the corresponding protocol fields of the control field, with according to the control field, the protocol fields and
The encrypted fields generate corresponding dynamic protocol field.Then, by the field to be verified and the dynamic protocol field into
Row compares, and judges whether the field to be verified and the dynamic protocol field are consistent:
When consistent, the field validation to be verified passes through.
When inconsistent, then the field validation to be verified does not pass through.
Based on above-mentioned design, server 100 can verify whether the field to be verified that user terminal 200 is reported is correct,
It may determine that whether the user account for running on the user terminal 200 is disabled user's account, so as to be provided for live streaming platform
Accurate data on flows.
The user account for running on the user terminal 200 if authentication failed, is identified as disabled user's account by step S140
Number.
In the present embodiment, the server 100 opens the room of verification namely in the agreement of the video flowing address
The room of String field is added to, these rooms are if not disabled user, then the user terminal 200 can then report institute
Field to be verified is stated, the user account for thinking to run on the user terminal 200 if the field to be verified is not reported is
Disabled user's account, the user account that identification runs on the user terminal 200 at this time are the user's (service for stealing video flowing address
Device 100 can exclude the situation that the user has had logged out direct broadcasting room).In addition, if the field validation to be verified reported is lost
It loses, server 100 can also identify that the user account for running on the user terminal 200 is the user for stealing video flowing address.
In the present embodiment, server 100 by adding a String field into the agreement of the video flowing address, and
It is verified, more can truly united according to the field to be verified that the dynamic protocol field of calculating generates user terminal 200
The quantity that brush is stolen in live streaming platform video flowing address is counted out, so as to provide accurate data on flows for live streaming platform.
Optionally, in order to enhance the concealment of this programme so that hacker is not easy to perceive the detection of server 100, institute
State server 100 can also be when sending corresponding video flowing address, based on preset strategy in the video to user terminal 200
It flows in the agreement of address and adds a String field.It for example, can section regarding to different live streaming room numbers in different times
A String field is added to be detected in the agreement of frequency stream address.Or can also in different times section according to straight
The live streaming popularity of room number is broadcast to adding a String field in the agreement for the video flowing address that room number is broadcast live to be detected,
Such as extra high live streaming room is opened to certain popularities.It or can also be in the video of the suspicious live streaming room number of data
It flows in the agreement of address and adds a String field to be detected, for example, it is especially high for popularity, but barrage amount is especially few
Live streaming room, then the inspection policies of this programme can be opened to the room.
Further, referring to Fig. 5, present pre-ferred embodiments also provide a kind of video flowing address detection method, application
In the user terminal 200 communicated to connect with server 100, the method includes:
Step S210 obtains the video flowing address that server 100 is sent.Wherein, it is wrapped in the agreement of the video flowing address
A String field has been included, the control field and encrypted fields generated at random is included in the String field, wherein, it is described
Control field generates for control protocol field, and the encrypted fields are used to that control field and protocol fields to be encrypted.
Step S220 generates field to be verified according to the String field.Wherein, include in the field to be verified
The control field, the encrypted fields and the protocol fields generated according to the control field.
The field to be verified is sent to the server 100 and verified by step S230.
Further, referring to Fig. 6, present pre-ferred embodiments also provide a kind of video flowing address detection device 150, institute
It states device and is installed on the memory 110 and include one or more software function modules that can be performed by the processor 120,
Described device includes:
For responding the acquisition of video flowing address request, corresponding video is sent to user terminal 200 for sending module 151
Address is flowed, and a String field is added in the agreement of the video flowing address.Include in the String field random
The control field and encrypted fields of generation, wherein, the control field generates for control protocol field, and the encrypted fields are used
It is encrypted in control field and protocol fields.
Receiving module 152, for receiving the word to be verified that the user terminal 200 is sent according to the String field
Section.Wherein, the control field, the encrypted fields are included in the field to be verified and are given birth to according to the control field
Into protocol fields.
Authentication module 153, for being verified to the field to be verified.
If identification module 154 for authentication failed, the user account for running on the user terminal 200 is identified as non-
Method user account.
The concrete operation method of each function module in the present embodiment can refer to corresponding steps in above method embodiment
Detailed description, it is no longer repeated herein.
In conclusion video flowing address detection method provided in an embodiment of the present invention, device and server 100, server
100 after the acquisition request for receiving video flowing address, add in the agreement of the video flowing address sent to user terminal 200
Then one String field verifies the user terminal 200 according to the field to be verified that the String field is sent,
If authentication failed, the user account for running on the user terminal 200 is identified as disabled user's account.Based on above-mentioned design,
Server 100 into the agreement of video flowing address for being sent to user terminal 200 by adding a String field, and according to meter
The field to be verified that the dynamic protocol field of calculation generates user terminal 200 is verified, more can truly be counted straight
The quantity that brush is stolen in platform video flowing address is broadcast, so as to provide accurate data on flows for live streaming platform.
In embodiment provided by the present invention, it should be understood that disclosed device and method, it can also be by other
Mode realize.Device and method embodiment described above is only schematical, for example, flow chart and frame in attached drawing
Figure shows the system frame in the cards of the system of multiple embodiments according to the present invention, method and computer program product
Structure, function and operation.In this regard, each box in flow chart or block diagram can represent a module, program segment or code
A part, the part of the module, program segment or code include one or more be used to implement as defined in logic function
Executable instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be with not
It is same as the sequence marked in attached drawing generation.For example, two continuous boxes can essentially perform substantially in parallel, they have
When can also perform in the opposite order, this is depended on the functions involved.It is also noted that in block diagram and/or flow chart
Each box and the box in block diagram and/or flow chart combination, the special of function or action as defined in performing can be used
Hardware based system realize or can be realized with the combination of specialized hardware and computer instruction.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion
Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is independent product sale or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially in other words
The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that an electronic equipment (can be personal
Computer, electronic equipment or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention.
It should be noted that herein, term " including ", " including " or its any other variant are intended to non-row
His property includes, so that process, method, article or equipment including a series of elements not only include those elements, and
And it further includes the other elements being not explicitly listed or further includes intrinsic for this process, method, article or equipment institute
Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including institute
State in process, method, article or the equipment of element that also there are other identical elements.
It is obvious to a person skilled in the art that the present invention is not limited to the details of above-mentioned exemplary embodiment, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Profit requirement rather than above description limit, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims
Variation is included within the present invention.Any reference numeral in claim should not be considered as to the involved claim of limitation.
Claims (9)
1. a kind of video flowing address detection method, applied to the server being connect with user terminal communication, which is characterized in that described
Method includes:
The acquisition request of video flowing address is responded, corresponding video flowing address is sent, and in the video flowing to user terminal
A String field is added in the agreement of location, the control field and encrypted word generated at random is included in the String field
Section, wherein, the control field generates for control protocol field, and the encrypted fields are used for control field and protocol fields
It is encrypted;
The field to be verified that the user terminal is sent according to the String field is received, wherein, in the field to be verified
Include the control field, the encrypted fields and the protocol fields generated according to the control field;
The field to be verified is verified, wherein, described the step of being verified to the field to be verified, including:
Corresponding protocol fields are generated according to the control field;
Corresponding dynamic protocol field is generated according to the control field, the protocol fields and the encrypted fields;
The field to be verified and the dynamic protocol field are compared, judge the field to be verified and dynamic association
Whether consistent discuss field;
When consistent, the field validation to be verified passes through;And
When inconsistent, the field validation to be verified does not pass through;
If authentication failed, the user account for running on the user terminal is identified as disabled user's account.
2. video flowing address detection method according to claim 1, which is characterized in that the method further includes:
If not receiving the field to be verified that the user terminal is sent, the user account for running on the user terminal is identified
For disabled user's account.
3. video flowing address detection method according to claim 1, which is characterized in that described in the video flowing address
A step of String field is added in agreement, including:
The control field and the encrypted fields are generated according to the acquisition of video flowing address request at random, wherein, it is described
It obtains when including the identification information of user terminal, the identification information of video flowing address, current time stamp, login in request
At least one of Token;
One String field is added in the agreement of the video flowing address according to the control field and the encrypted fields.
4. video flowing address detection method according to claim 1, which is characterized in that cover is stored in the server more
Algorithm and the often corresponding coding information of set algorithm, the acquisition request of the response video flowing address, to user terminal transmission pair
The video flowing address answered, and the step of adding a String field in the agreement of the video flowing address include:
The server sends random data to the user terminal, so that the user terminal is according to the random data and institute
It states control field and generates the protocol fields;
Described the step of corresponding protocol fields are generated according to the control field, including:
Corresponding coding information is selected according to the random data;
The corresponding protocol fields of the control field are calculated according to the corresponding target algorithm of the coding information.
5. video flowing address detection method according to claim 4, which is characterized in that described to be selected according to the random data
The mode of corresponding coding information is selected, including
Remainder is carried out to the random data, obtains corresponding coding information.
6. video flowing address detection method according to claim 1, which is characterized in that the method further includes:
The server to user terminal when sending corresponding video flowing address, based on preset strategy in the video flowing address
Agreement in add a String field;
Wherein, the mode for being added a String field in the agreement of the video flowing address based on preset strategy is included:
Section in the agreement of the video flowing address of different live streaming room numbers to adding a String field in different times;Or
In different times section according to live streaming room number live streaming popularity to live streaming room number video flowing address agreement in add
Add a String field;Or
A String field is added in the agreement of the video flowing address of the suspicious live streaming room number of data.
7. a kind of video flowing address detection method, applied to the user terminal being connect with server communication, which is characterized in that described
Method includes:
The video flowing address that server is sent is obtained, wherein, include a String field in the agreement of the video flowing address,
Include the control field and encrypted fields generated at random in the String field, wherein, the control field is used to control
Protocol fields generate, and the encrypted fields are used to that control field and protocol fields to be encrypted;
Field to be verified is generated according to the String field, wherein, include in the field to be verified the control field,
The encrypted fields and the protocol fields generated according to the control field;
The field to be verified is sent to the server to verify, so that the server is given birth to according to the control field
Into corresponding protocol fields;Corresponding dynamic association is generated according to the control field, the protocol fields and the encrypted fields
Discuss field;The field to be verified and the dynamic protocol field are compared, judge the field to be verified and described dynamic
Whether state protocol fields are consistent;When consistent, the field validation to be verified passes through;It is described to be verified and when inconsistent
Field validation does not pass through.
8. a kind of video flowing address detection device, applied to the server being connect with user terminal communication, which is characterized in that described
Device includes:
Sending module, for responding the acquisition of video flowing address request, to the corresponding video flowing address of user terminal transmission, and
A String field is added in the agreement of the video flowing address, the control word generated at random is included in the String field
Section and encrypted fields, wherein, the control field generates for control protocol field, and the encrypted fields are used for control field
It is encrypted with protocol fields;
Receiving module, for receiving the field to be verified that the user terminal is sent according to the String field, wherein, it is described
Include the control field, the encrypted fields and the agreement word generated according to the control field in field to be verified
Section;
Authentication module, for being verified to the field to be verified, wherein, it is described that the field to be verified verified
Mode, including:
Corresponding protocol fields are generated according to the control field;
Corresponding dynamic protocol field is generated according to the control field, the protocol fields and the encrypted fields;
The field to be verified and the dynamic protocol field are compared, judge the field to be verified and dynamic association
Whether consistent discuss field;
When consistent, the field validation to be verified passes through;And
When inconsistent, the field validation to be verified does not pass through;
If the user account for running on the user terminal for authentication failed, is identified as disabled user's account by identification module.
9. a kind of server, which is characterized in that the server includes:
Memory;
Processor;And
Video flowing address detection device, described device are installed in the memory and including one or more by the processor
The software function module of execution, described device include:
Sending module, for responding the acquisition of video flowing address request, to the corresponding video flowing address of user terminal transmission, and
A String field is added in the agreement of the video flowing address, the control word generated at random is included in the String field
Section and encrypted fields, wherein, the control field generates for control protocol field, and the encrypted fields are used for control field
It is encrypted with protocol fields;
Receiving module, for receiving the field to be verified that the user terminal is sent according to the String field, wherein, it is described
Include the control field, the encrypted fields and the agreement word generated according to the control field in field to be verified
Section;
Authentication module, for being verified to the field to be verified, wherein, it is described that the field to be verified verified
Mode, including:
Corresponding protocol fields are generated according to the control field;
Corresponding dynamic protocol field is generated according to the control field, the protocol fields and the encrypted fields;
The field to be verified and the dynamic protocol field are compared, judge the field to be verified and dynamic association
Whether consistent discuss field;
When consistent, the field validation to be verified passes through;And
When inconsistent, the field validation to be verified does not pass through;
If the user account for running on the user terminal for authentication failed, is identified as disabled user's account by identification module.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710766452.4A CN107579968B (en) | 2017-08-30 | 2017-08-30 | Video flowing address detection method, device and server |
PCT/CN2017/115485 WO2019041627A1 (en) | 2017-08-30 | 2017-12-11 | Method, apparatus, and server for detecting address of video stream, and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710766452.4A CN107579968B (en) | 2017-08-30 | 2017-08-30 | Video flowing address detection method, device and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107579968A CN107579968A (en) | 2018-01-12 |
CN107579968B true CN107579968B (en) | 2018-07-06 |
Family
ID=61030501
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710766452.4A Active CN107579968B (en) | 2017-08-30 | 2017-08-30 | Video flowing address detection method, device and server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107579968B (en) |
WO (1) | WO2019041627A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322469B (en) * | 2018-02-05 | 2019-07-19 | 北京百度网讯科技有限公司 | Information processing system, method and apparatus |
CN108881934B (en) * | 2018-04-10 | 2020-09-08 | 武汉斗鱼网络科技有限公司 | Barrage verification method, computer equipment and storage medium |
CN109729378B (en) * | 2019-01-28 | 2021-08-24 | 广州酷狗计算机科技有限公司 | Information processing method, method and device for getting benefits in live broadcast platform |
CN112149069A (en) * | 2019-06-27 | 2020-12-29 | 北京数安鑫云信息技术有限公司 | Generation method, use method and device of authorization check character string |
CN114143577B (en) * | 2021-11-26 | 2023-10-24 | 中电信数智科技有限公司 | Video acquisition method and system |
CN114466215B (en) * | 2022-02-10 | 2023-08-01 | 上海哔哩哔哩科技有限公司 | Data processing method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105577504A (en) * | 2014-10-08 | 2016-05-11 | 腾讯科技(深圳)有限公司 | Method and device for establishing communication channels |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025749B (en) * | 2011-01-18 | 2013-12-11 | 中国联合网络通信集团有限公司 | Anti-theft method of mobile streaming media service |
US8640229B1 (en) * | 2013-07-17 | 2014-01-28 | Wowza Media Systems, LLC | Token-based security for links to media streams |
CN104144160A (en) * | 2014-07-08 | 2014-11-12 | 北京彩云动力教育科技有限公司 | Online video resource downloading prevention method and system |
CN105721411A (en) * | 2015-05-15 | 2016-06-29 | 乐视云计算有限公司 | Method for preventing hotlinking, server and client terminalfor preventing hotlinking |
CN105516143B (en) * | 2015-12-10 | 2018-09-11 | 浙江省公众信息产业有限公司 | Anti-stealing link method, equipment and the system of Streaming Media |
CN105657456A (en) * | 2016-03-10 | 2016-06-08 | 腾讯科技(深圳)有限公司 | Processing method, device and system for multimedia data |
US9734373B1 (en) * | 2016-08-31 | 2017-08-15 | Vium, Inc. | Method of reading animal marks |
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 |
-
2017
- 2017-08-30 CN CN201710766452.4A patent/CN107579968B/en active Active
- 2017-12-11 WO PCT/CN2017/115485 patent/WO2019041627A1/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105577504A (en) * | 2014-10-08 | 2016-05-11 | 腾讯科技(深圳)有限公司 | Method and device for establishing communication channels |
Also Published As
Publication number | Publication date |
---|---|
CN107579968A (en) | 2018-01-12 |
WO2019041627A1 (en) | 2019-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107579968B (en) | Video flowing address detection method, device and server | |
US9432384B2 (en) | Methods and nodes for verification of data | |
CN108206972B (en) | Direct broadcasting room popularity processing method, device, server and storage medium | |
CN103607385A (en) | Method and apparatus for security detection based on browser | |
CN107465660B (en) | A kind of video flowing address method for authenticating and device | |
KR20180079423A (en) | Dynamic update of CAPTCHA Challenge | |
WO2019128378A1 (en) | User tracking method, server, and client | |
CN110446075A (en) | Encryption method and device, decryption method and device, electronic equipment | |
CN113709530B (en) | Resource downloading method, system, electronic equipment and storage medium | |
CN107104924A (en) | The verification method and device of website backdoor file | |
CN112165445B (en) | Method, device, storage medium and computer equipment for detecting network attack | |
CN105491004A (en) | Transaction relationship building method, device and system | |
CN103647652B (en) | A kind of method for realizing data transfer, device and server | |
CN110933675A (en) | Wireless sensor network authentication method, system and electronic equipment | |
CN110298691A (en) | Legality identification method, device and electronic equipment | |
CN104284215B (en) | A kind for the treatment of method and apparatus of video request | |
CN109639622B (en) | Offline application login method, terminal and server | |
CN105227532B (en) | A kind of blocking-up method and device of malicious act | |
CN117134979A (en) | Data communication method, device, equipment and medium | |
CN108235067A (en) | A kind of method for authenticating and device of video flowing address | |
CN113438134B (en) | Request message processing method, device, server and medium | |
CN106302479A (en) | A kind of single-point logging method for multi-service internet site and system | |
CN110855656A (en) | Plug-in flow proxy method, device and system capable of realizing application server protection | |
CN111786938B (en) | Method, system and electronic equipment for preventing malicious resource acquisition | |
CN107277054A (en) | A kind of method and system of data integrity validation |
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 |