CN110896489B - Authentication method, device, equipment and storage medium - Google Patents
Authentication method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110896489B CN110896489B CN201911128110.5A CN201911128110A CN110896489B CN 110896489 B CN110896489 B CN 110896489B CN 201911128110 A CN201911128110 A CN 201911128110A CN 110896489 B CN110896489 B CN 110896489B
- Authority
- CN
- China
- Prior art keywords
- live broadcast
- client
- notification message
- live
- broadcast data
- 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 76
- 230000005540 biological transmission Effects 0.000 claims abstract description 154
- 238000004590 computer program Methods 0.000 claims description 7
- 230000000694 effects Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 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/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
- 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
- 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/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- 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/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
- H04N21/25875—Management of end-user data involving end-user authentication
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Power Engineering (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Graphics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses an authentication method, an authentication device, authentication equipment and a storage medium. The method comprises the following steps: receiving a first notification message sent by a live broadcast platform server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client; when the preset authentication triggering condition is met, receiving a second notification message sent by the live broadcast platform server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client; and judging whether the content of the first notification message and the content of the second notification message accord with a preset rule, if not, sending a live broadcast data transmission forbidding instruction to the live broadcast platform server. The method and the device have the advantages that the safety of the live broadcast process is improved, and the effect of simpler authentication process is realized.
Description
Technical Field
The embodiment of the invention relates to a live network broadcast technology, in particular to an authentication method, device, equipment and storage medium.
Background
At present, with the development of computer technology, networks are directly showing in the field of vision of the public. The network live broadcast is carried out by utilizing the internet and a streaming media technology.
However, in practice, the network address sent by the live platform server to the anchor client is easily invaded or leaked by hackers, and the benefit of the anchor is damaged. The existing live webcast verification method is to perform verification before the anchor login, however, in the actual execution of the method, a large amount of background logic needs to be changed, so that a large amount of programmers are needed to modify the background logic, the workload is large, and the cost is high.
Therefore, a low-cost authentication method is needed to improve the security of the live broadcast process.
Disclosure of Invention
The invention provides an authentication method, an authentication device, authentication equipment and a storage medium, which are used for improving the safety of a live broadcast process and realizing the effect of simpler authentication process.
In a first aspect, an embodiment of the present invention provides an authentication method, which is applied to an authentication server, where the authentication server is connected to a live platform server, and the live platform server is connected to a client, where the method includes:
receiving a first notification message sent by a live broadcast platform server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client;
when the preset authentication triggering condition is met, receiving a second notification message sent by the live broadcast platform server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client;
and judging whether the content of the first notification message and the content of the second notification message accord with a preset rule, if not, sending a live broadcast data transmission forbidding instruction to the live broadcast platform server.
In a second aspect, an embodiment of the present invention further provides an authentication method, which is applied to a live broadcast platform server, where the live broadcast platform server is connected to the authentication server, and the live broadcast platform server is further connected to a client, and the method includes:
after receiving a live data transmission request sent by a client, issuing a live data target address to the client; the live data transmission request comprises request identity information of a client;
sending a first notification message to an authentication server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client;
receiving live broadcast data uploaded by a client, and acquiring a live broadcast data transmission address of the client and transmission identity information of the client;
sending a second notification message to the authentication server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client;
and if a live broadcast data transmission forbidding instruction is received, stopping the client from uploading the live broadcast data.
In a third aspect, an embodiment of the present invention further provides an authentication device, which is applied to an authentication server, where the authentication server is connected to a live platform server, and the live platform server is connected to a client, where the authentication device includes:
the first notification message receiving module is used for receiving a first notification message sent by a live broadcast platform server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client;
the second notification message receiving module is used for receiving a second notification message sent by the live broadcast platform server when the preset authentication triggering condition is met; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client;
and the authentication module is used for judging whether the content of the first notification message and the content of the second notification message accord with a preset rule or not, and if not, sending a live broadcast data transmission forbidding instruction to the live broadcast platform server.
In a fourth aspect, an embodiment of the present invention further provides an authentication device, which is applied to a live broadcast platform server, where the live broadcast platform server is connected to the authentication server, the live broadcast platform server is further connected to a client, and the authentication device includes:
the live broadcast data transmission request receiving module is used for receiving a live broadcast data transmission request sent by the client and then sending a live broadcast data target address to the client; the live data transmission request comprises request identity information of a client;
the first notification message sending module is used for sending a first notification message to the authentication server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client;
the transmission identity information acquisition module is used for receiving the live broadcast data uploaded by the client and acquiring a live broadcast data transmission address of the client and transmission identity information of the client;
the second notification message sending module is used for sending a second notification message to the authentication server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client;
and the instruction receiving module is used for stopping the client from uploading the live data if receiving the live data transmission forbidding instruction.
In a fifth aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the authentication method according to any one of the embodiments of the present invention when executing the program.
In a sixth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the authentication method according to any one of the embodiments of the present invention.
The embodiment of the invention is applied to an authentication server, the authentication server is connected with a live broadcast platform server, the live broadcast platform server is connected with a client, and the method comprises the following steps: receiving a first notification message sent by a live broadcast platform server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client; when the preset authentication triggering condition is met, receiving a second notification message sent by the live broadcast platform server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client; and judging whether the content of the first notification message and the content of the second notification message accord with a preset rule or not, if not, sending a live broadcast data transmission forbidding instruction to the live broadcast platform server so as to improve the safety of the live broadcast process and realize the effect of simpler authentication process.
Drawings
Fig. 1 is a schematic flowchart of an authentication method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an authentication process provided in an embodiment of the present invention;
fig. 3 is a flowchart illustrating an authentication method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an authentication apparatus according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an authentication apparatus according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus provided in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a schematic flowchart of an authentication method according to an embodiment of the present invention, where the present embodiment is applicable to a case where a main broadcast account is stolen in a live webcast process, and the method may be executed by an authentication device, and the device may be implemented in a software and/or hardware manner and may be integrated in an electronic device, and fig. 2 is a schematic diagram illustrating a structure of an authentication process, where the authentication server is connected to a live platform server, and the live platform server is connected to a client, where the authentication server is used to identify whether the live webcast process is safe, and the live platform server is used to receive and store data information uploaded by the client. The execution main body of the first embodiment is an authentication server, and specifically includes the following steps:
s110, receiving a first notification message sent by a live broadcast platform server.
In this embodiment, the live platform server is a server for storing the content uploaded by the user, and after the user a uploads the content to the live platform server, the user B can obtain the content uploaded by the user a by accessing the live platform server. The content of the first notification message includes a live data target address issued by the live platform server to the client and request identity information of the client, the live data target address is issued by the authentication server to the user, and the live data target address may be a URL address. The request identity information of the client is the type of APP used by the client, account information of the APP and the IP address of the client.
And S120, receiving a second notification message sent by the live broadcast platform server when the preset authentication triggering condition is met.
In this embodiment, optionally, if callback notification information of the live broadcast platform server is received, it is determined that the preset authentication triggering condition is met. And after receiving the callback information, the live broadcast platform server receives a second notification message sent to the authentication server by the live broadcast platform server. And the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client. The client live broadcast data transmission address is a transmission address for uploading live broadcast data by a user, and the transmission identity information of the client is the type of APP used by the user, account information of the APP and the actual IP address of the client when actual data are uploaded.
S130, judging whether the content of the first notification message and the content of the second notification message accord with a preset rule, if not, sending a live broadcast data transmission forbidding instruction to the live broadcast platform server.
In this embodiment, an association protocol may be preset between the content of the first notification message and the content of the second notification message or a preset password may be set, and if the content of the first notification message and the content of the second notification message conform to the preset association protocol or the preset password, it is determined that the user is normally logged in. If the content of the first notification message and the content of the second notification message do not accord with a preset association protocol or a preset password, the authentication server sends a live broadcast data transmission prohibition instruction to the live broadcast platform server, the live broadcast platform server can stop the user of the client to perform data transmission, and the client can display a character of 'live broadcast end'.
In this technical solution, optionally, the determining whether the content of the first notification message and the content of the second notification message conform to a preset rule, and if not, sending a command to prohibit live data transmission to the live platform server includes:
judging whether the target address of the live broadcast data in the first notification message is the same as the transmission address of the live broadcast data in the second notification message; and judging whether the request identity information of the client in the first notification message is the same as the transmission identity information of the client in the second notification message;
and if the difference exists, sending a live broadcast data transmission forbidding instruction to the live broadcast platform server.
In this embodiment, the determining whether the content of the first notification message and the content of the second notification message conform to a preset rule in preset rules may further be: whether the live data target address is the same as the live data transmission address or not is judged, and specifically, the judgment can be carried out through the composition of different bits in the live data target address and the live data transmission address. When the target address of the live broadcast data is consistent with the transmission address of the live broadcast data, whether the request identity information is the same as the transmission identity information or not is further judged, if the request identity information is different from the transmission identity information, the account information of the user at the client side is indicated to be stolen, and a live broadcast data transmission instruction is prohibited to be sent to the live broadcast platform server, so that the loss of the user is avoided.
In this technical solution, optionally, the determining whether the target address of the live data in the first notification message is the same as the live data transmission address in the second notification message includes:
judging whether a generation timestamp of a live broadcast data target address in the first notification message is the same as a generation timestamp of a live broadcast data transmission address in the second notification message;
if the live broadcast data in the first notification message is the same as the live broadcast data in the second notification message, the target address of the live broadcast data in the first notification message is the same as the transmission address of the live broadcast data in the second notification message;
and if the two data transmission commands are different, sending a live broadcast data transmission prohibition command to the live broadcast platform server.
Whether the live data target address generation timestamp is consistent with the live data transmission address generation timestamp can be judged, whether the live data target address generation timestamp and the live data transmission address generation timestamp are the same can be judged, if the timestamps are different, the live data transmission address is forged, and a live data transmission prohibition instruction is sent to the live broadcast platform server.
The embodiment of the invention is applied to an authentication server, the authentication server is connected with a live broadcast platform server, the live broadcast platform server is connected with a client, and the method comprises the following steps: receiving a first notification message sent by a live broadcast platform server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client; when the preset authentication triggering condition is met, receiving a second notification message sent by the live broadcast platform server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client; and judging whether the content of the first notification message and the content of the second notification message accord with a preset rule or not, if not, sending a live broadcast data transmission forbidding instruction to the live broadcast platform server so as to improve the safety of the live broadcast process and realize the effect of simpler authentication process.
Example two
Fig. 3 is a schematic flowchart of an authentication method according to a second embodiment of the present invention, where the present embodiment is applicable to a situation where a anchor account is stolen in a live webcast process, and the method may be executed by an authentication device, where the authentication device may be implemented in a software and/or hardware manner and may be integrated in an electronic device, and an execution main body of the second embodiment is a live webcast platform server, and specifically includes the following steps:
s310, after receiving a live data transmission request sent by a client, sending a live data target address to the client; the live data transmission request comprises request identity information of the client.
The user sends the request of live broadcast data transmission to the live broadcast platform server at the client, wherein the request of live broadcast data transmission carries the request identity information of the client, exemplarily, the APP type and the APP account information of the client. And after receiving the live broadcast data transmission request, the live broadcast platform server issues a live broadcast data target address to the client.
S320, sending the first notification message to an authentication server.
In this embodiment, the content of the first notification message includes a live broadcast data target address issued by the live broadcast platform server to the client and request identity information of the client.
S330, receiving the live broadcast data uploaded by the client, and acquiring a live broadcast data transmission address of the client and transmission identity information of the client.
The user uploads live broadcast data to the live broadcast platform server through the client, and obtains a live broadcast data transmission address of the client and transmission identity information of the client through the live broadcast data uploaded by the client.
S340, sending the second notification message to the authentication server.
In this embodiment, the content of the second notification message includes a live data transmission address of the client and transmission identity information of the client.
And S350, if the direct broadcast data transmission forbidding instruction is received, stopping the client from uploading the direct broadcast data.
This technical scheme, optional, if receive forbid live broadcast data transmission instruction, stop the client and upload live broadcast data, include:
and when the content of the first notification message is different from the content of the second notification message, receiving a live broadcast data transmission prohibition instruction, and stopping the client from uploading live broadcast data.
The embodiment of the invention is applied to a live broadcast platform server, the live broadcast platform server is connected with an authentication server, the live broadcast platform server is also connected with a client, and the method comprises the following steps: after receiving a live data transmission request sent by a client, issuing a live data target address to the client; the live data transmission request comprises request identity information of a client; sending a first notification message to an authentication server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client; receiving live broadcast data uploaded by a client, and acquiring a live broadcast data transmission address of the client and transmission identity information of the client; sending a second notification message to the authentication server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client; and if a live broadcast data transmission forbidding instruction is received, stopping the client from uploading live broadcast data so as to improve the safety of the live broadcast process and realize the effect of simpler authentication process.
EXAMPLE III
Fig. 4 is a schematic structural diagram of an authentication apparatus according to a third embodiment of the present invention. The authentication device provided by the embodiment of the invention can execute the authentication method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. The execution main body of the embodiment of the present invention is an authentication server, and as shown in fig. 4, the apparatus includes:
a first notification message receiving module 401, configured to receive a first notification message sent by a live broadcast platform server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client.
A second notification message receiving module 402, configured to receive a second notification message sent by the live broadcast platform server when a preset authentication trigger condition is met; and the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client.
And an authentication module 403, configured to determine whether the content of the first notification message and the content of the second notification message meet a preset rule, and if not, send a live broadcast data transmission prohibition instruction to the live broadcast platform server.
The authentication module 403 is specifically configured to determine whether a target address of live data in the first notification message is the same as a transmission address of live data in the second notification message; and judging whether the request identity information of the client in the first notification message is the same as the transmission identity information of the client in the second notification message;
and if the difference exists, sending a live broadcast data transmission forbidding instruction to the live broadcast platform server.
The authentication module 403 is specifically configured to determine whether a generation timestamp of a live data target address in the first notification message is the same as a generation timestamp of a live data transmission address in the second notification message;
if the live broadcast data in the first notification message is the same as the live broadcast data in the second notification message, the target address of the live broadcast data in the first notification message is the same as the transmission address of the live broadcast data in the second notification message;
and if the two data transmission commands are different, sending a live broadcast data transmission prohibition command to the live broadcast platform server.
And the preset authentication triggering condition determining module is used for determining that the preset authentication triggering condition is met if callback notification information of the live broadcast platform server is received.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Example four
Fig. 5 is a schematic structural diagram of an authentication apparatus according to a fourth embodiment of the present invention. The authentication device provided by the embodiment of the invention can execute the authentication method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. The execution subject of the embodiment of the present invention is a live platform server, and as shown in fig. 5, the apparatus includes:
a live data transmission request receiving module 501, configured to receive a live data transmission request sent by a client, and then send a live data target address to the client; the live data transmission request comprises request identity information of a client;
a first notification message sending module 502, configured to send a first notification message to the authentication server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client;
a transmission identity information obtaining module 503, configured to receive live broadcast data uploaded by the client, and obtain a transmission address of the live broadcast data of the client and transmission identity information of the client;
a second notification message sending module 504, configured to send a second notification message to the authentication server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client;
and the instruction receiving module 505 is configured to stop the client from uploading the live data if an instruction for prohibiting live data transmission is received.
The instruction receiving module 505 is specifically configured to receive a live broadcast data transmission prohibition instruction and stop the client from uploading live broadcast data when the content of the first notification message is different from the content of the second notification message.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
EXAMPLE five
Fig. 6 is a schematic structural diagram of an apparatus according to a fifth embodiment of the present invention, and fig. 6 is a schematic structural diagram of an exemplary apparatus suitable for implementing the embodiment of the present invention. The device 12 shown in fig. 6 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present invention.
As shown in FIG. 6, device 12 is in the form of a general purpose computing device. The components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments described herein.
The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing an authentication method provided by the embodiment of the present invention, where the authentication method is applied to an authentication server, the authentication server is connected to a live platform server, and the live platform server is connected to a client, and the method includes:
receiving a first notification message sent by a live broadcast platform server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client;
when the preset authentication triggering condition is met, receiving a second notification message sent by the live broadcast platform server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client;
and judging whether the content of the first notification message and the content of the second notification message accord with a preset rule, if not, sending a live broadcast data transmission forbidding instruction to the live broadcast platform server.
Or the authentication method provided by the embodiment of the invention is applied to a live broadcast platform server, the live broadcast platform server is connected with the authentication server, the live broadcast platform server is also connected with a client, and the method comprises the following steps:
after receiving a live data transmission request sent by a client, issuing a live data target address to the client; the live data transmission request comprises request identity information of a client;
sending a first notification message to an authentication server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client;
receiving live broadcast data uploaded by a client, and acquiring a live broadcast data transmission address of the client and transmission identity information of the client;
sending a second notification message to the authentication server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client;
and if a live broadcast data transmission forbidding instruction is received, stopping the client from uploading the live broadcast data.
EXAMPLE six
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program (or called computer-executable instruction) is stored, and when the program is executed by a processor, the authentication method according to any embodiment of the present invention can be implemented, where the program is applied to an authentication server, the authentication server is connected to a live platform server, and the live platform server is connected to a client, where the method includes:
receiving a first notification message sent by a live broadcast platform server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client;
when the preset authentication triggering condition is met, receiving a second notification message sent by the live broadcast platform server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client;
and judging whether the content of the first notification message and the content of the second notification message accord with a preset rule, if not, sending a live broadcast data transmission forbidding instruction to the live broadcast platform server.
Or the authentication method provided by the embodiment of the invention is applied to a live broadcast platform server, the live broadcast platform server is connected with the authentication server, the live broadcast platform server is also connected with a client, and the method comprises the following steps:
after receiving a live data transmission request sent by a client, issuing a live data target address to the client; the live data transmission request comprises request identity information of a client;
sending a first notification message to an authentication server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client;
receiving live broadcast data uploaded by a client, and acquiring a live broadcast data transmission address of the client and transmission identity information of the client;
sending a second notification message to the authentication server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client;
and if a live broadcast data transmission forbidding instruction is received, stopping the client from uploading the live broadcast data.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (8)
1. An authentication method is applied to an authentication server, the authentication server is connected with a live platform server, the live platform server is connected with a client, and the method comprises the following steps:
receiving a first notification message sent by a live broadcast platform server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client;
when the preset authentication triggering condition is met, receiving a second notification message sent by the live broadcast platform server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client;
judging whether the content of the first notification message and the content of the second notification message accord with a preset rule or not, and if not, sending a live broadcast data transmission prohibition instruction to the live broadcast platform server;
the live broadcast data target address is a live broadcast URL address, and the request identity information of the client is identity information used when the live broadcast URL address is requested;
the judging whether the content of the first notification message and the content of the second notification message meet a preset rule or not, and if not, sending a live broadcast data transmission prohibition instruction to the live broadcast platform server, including:
judging whether the target address of the live broadcast data in the first notification message is the same as the transmission address of the live broadcast data in the second notification message; and judging whether the request identity information of the client in the first notification message is the same as the transmission identity information of the client in the second notification message;
and if the difference exists, sending a live broadcast data transmission forbidding instruction to the live broadcast platform server.
2. The method of claim 1, wherein determining whether the live data destination address in the first notification message is the same as the live data transport address in the second notification message comprises:
judging whether a generation timestamp of a live broadcast data target address in the first notification message is the same as a generation timestamp of a live broadcast data transmission address in the second notification message;
if the live broadcast data in the first notification message is the same as the live broadcast data in the second notification message, the target address of the live broadcast data in the first notification message is the same as the transmission address of the live broadcast data in the second notification message;
and if the two data transmission commands are different, sending a live broadcast data transmission prohibition command to the live broadcast platform server.
3. The method of claim 1, wherein if callback notification information of the live platform server is received, it is determined that a preset authentication trigger condition is met.
4. An authentication method is applied to a live broadcast platform server, the live broadcast platform server is connected with the authentication server, the live broadcast platform server is also connected with a client, and the method comprises the following steps:
after receiving a live data transmission request sent by a client, issuing a live data target address to the client; the live data transmission request comprises request identity information of a client;
sending a first notification message to an authentication server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client;
receiving live broadcast data uploaded by a client, and acquiring a live broadcast data transmission address of the client and transmission identity information of the client;
sending a second notification message to the authentication server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client;
if a live broadcast data transmission forbidding instruction is received, stopping the client from uploading live broadcast data;
if receiving a direct broadcast data transmission forbidding instruction, stopping the client from uploading the direct broadcast data, comprising:
and when the content of the first notification message is different from the content of the second notification message, receiving a live broadcast data transmission prohibition instruction, and stopping the client from uploading live broadcast data.
5. An authentication device, applied to an authentication server, wherein the authentication server is connected to a live platform server, and the live platform server is connected to a client, the device comprising:
the first notification message receiving module is used for receiving a first notification message sent by a live broadcast platform server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client;
the second notification message receiving module is used for receiving a second notification message sent by the live broadcast platform server when the preset authentication triggering condition is met; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client;
the authentication module is used for judging whether the content of the first notification message and the content of the second notification message accord with a preset rule or not, and if not, sending a live broadcast data transmission forbidding instruction to the live broadcast platform server;
the live broadcast data target address is a live broadcast URL address, and the request identity information of the client is identity information used when the live broadcast URL address is requested;
the authentication module is specifically configured to determine whether a target address of live data in the first notification message is the same as a transmission address of live data in the second notification message; and judging whether the request identity information of the client in the first notification message is the same as the transmission identity information of the client in the second notification message.
6. The utility model provides an authentication device which characterized in that is applied to live platform server, live platform server is connected with authentication server, live platform server still is connected with the customer end, and the device includes:
the live broadcast data transmission request receiving module is used for receiving a live broadcast data transmission request sent by the client and then sending a live broadcast data target address to the client; the live data transmission request comprises request identity information of a client;
the first notification message sending module is used for sending a first notification message to the authentication server; the content of the first notification message comprises a live broadcast data target address issued to a client by the live broadcast platform server and request identity information of the client;
the transmission identity information acquisition module is used for receiving the live broadcast data uploaded by the client and acquiring a live broadcast data transmission address of the client and transmission identity information of the client;
the second notification message sending module is used for sending a second notification message to the authentication server; the content of the second notification message comprises a live broadcast data transmission address of the client and transmission identity information of the client;
the instruction receiving module is used for stopping the client from uploading the live data if receiving a live data transmission prohibition instruction;
the instruction receiving module is specifically configured to receive a live broadcast data transmission prohibition instruction and stop the client from uploading live broadcast data when the content of the first notification message is different from the content of the second notification message.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the authentication method according to any one of claims 1-3 or 4 when executing the program.
8. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the authentication method according to any one of claims 1 to 3 or claim 4.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911128110.5A CN110896489B (en) | 2019-11-18 | 2019-11-18 | Authentication method, device, equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911128110.5A CN110896489B (en) | 2019-11-18 | 2019-11-18 | Authentication method, device, equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110896489A CN110896489A (en) | 2020-03-20 |
| CN110896489B true CN110896489B (en) | 2021-08-27 |
Family
ID=69786633
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911128110.5A Active CN110896489B (en) | 2019-11-18 | 2019-11-18 | Authentication method, device, equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110896489B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111698231B (en) * | 2020-06-02 | 2022-06-24 | 浙江宇视科技有限公司 | Address data management method, apparatus, device, and storage medium |
| CN112565801B (en) * | 2020-11-30 | 2023-06-20 | 北京达佳互联信息技术有限公司 | Data transmission method, device, electronic equipment, server and storage medium |
| CN113691516A (en) * | 2021-08-16 | 2021-11-23 | 深圳市商汤科技有限公司 | Streaming media data transmission method and device, electronic equipment and storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107094261A (en) * | 2017-03-17 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | The authorization check method and device of video playback |
| CN108322449A (en) * | 2018-01-09 | 2018-07-24 | 武汉斗鱼网络科技有限公司 | A kind of method, storage medium, equipment and system for preventing video flowing stolen |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9179296B2 (en) * | 2009-03-03 | 2015-11-03 | Mobilitie, Llc | System and method for device authentication in a dynamic network using wireless communication devices |
| US8548206B2 (en) * | 2011-01-20 | 2013-10-01 | Daon Holdings Limited | Methods and systems for capturing biometric data |
-
2019
- 2019-11-18 CN CN201911128110.5A patent/CN110896489B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107094261A (en) * | 2017-03-17 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | The authorization check method and device of video playback |
| CN108322449A (en) * | 2018-01-09 | 2018-07-24 | 武汉斗鱼网络科技有限公司 | A kind of method, storage medium, equipment and system for preventing video flowing stolen |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110896489A (en) | 2020-03-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111416811B (en) | Unauthorized vulnerability detection method, system, equipment and storage medium | |
| US10681028B2 (en) | Controlling access to resources on a network | |
| US10382470B2 (en) | Interacting with a remote server over a network to determine whether to allow data exchange with a resource at the remote server | |
| KR102158754B1 (en) | Method and apparatus for operating on smart network interface card | |
| US9537865B1 (en) | Access control using tokens and black lists | |
| US20160300044A1 (en) | Anti-debugging method | |
| US20220043901A1 (en) | Method of data transfer between hosted applications | |
| CN110896489B (en) | Authentication method, device, equipment and storage medium | |
| CN112600928A (en) | File transmission method and device, electronic equipment and medium | |
| US9965624B2 (en) | Log analysis device, unauthorized access auditing system, computer readable medium storing log analysis program, and log analysis method | |
| CN109710695A (en) | The identification of transactions requests validity and initiating method, device, equipment and medium | |
| CN113961836A (en) | Page jump method and device, electronic equipment and storage medium | |
| CN113918999B (en) | Method and device for establishing safe ferry channel, network disk and storage medium | |
| CN103975567A (en) | Two-factor authentication method and virtual machine device | |
| CN112464176B (en) | Authority management method and device, electronic equipment and storage medium | |
| US20190158346A1 (en) | Techniques for accessing logical networks via a virtualized gateway | |
| CN106997322B (en) | Method and apparatus for automated testing | |
| CN109246082B (en) | Data transmission method and device, electronic equipment and storage medium | |
| CN111901289B (en) | Identity authentication method, device, equipment and storage medium | |
| CN110855658B (en) | Service login method, device, equipment and storage medium | |
| CN114925406B (en) | Data verification method, device and computer program product | |
| CN111062053A (en) | Method, device, equipment and medium for processing biological characteristic data | |
| CN113596600B (en) | Security management method, device, equipment and storage medium for live broadcast embedded program | |
| CN111475779B (en) | Image processing methods, devices, equipment and storage media | |
| CN105339928A (en) | Website server request rerouting |
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 |