A video stream authentication system and method

By introducing an authentication system and a key database into the video stream processing system, the validity period of the operation key is parsed and verified, which solves the problem of insufficient video processing request permission management and realizes orderly management and conflict avoidance of video operations.

CN116033192BActive Publication Date: 2025-11-28EHANG INTELLIGENT EQUIP GUANGZHOU CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211629679.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-19
Publication Date
2025-11-28
Estimated Expiration
2042-12-19

AI Technical Summary

Technical Problem

Existing video streaming solutions fail to effectively manage permissions for video processing requests, leading to potential conflicts between these requests.

Method used

Design a video stream authentication system, including a video stream server, an authentication system, and a key database. The system determines whether video operation is allowed by parsing the operation key and querying its validity period.

Benefits of technology

It enables orderly management of video operations and avoids conflicts between multiple video operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116033192B_ABST
    Figure CN116033192B_ABST
Patent Text Reader

Abstract

The application discloses a video stream authentication system and method, and belongs to the technical field of data processing, wherein the video stream authentication system comprises a video stream server, an authentication system and a key database which are sequentially and communicatively connected. According to the technical scheme, only when the operation key carried by the video operation request can be inquired in the key database and is within the valid period, the corresponding video operation is allowed, so that the ordered management of the video operation can be realized by reasonably setting the valid period of the operation key, and the conflict between multiple video operations is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing, in particular to a video stream authentication system and method. BACKGROUND

[0002] Now the open source video stream server (such as ZLMediakit video stream server) basically only focuses on the conversion of video stream, and mostly only provides an event entry for permission control, but does not provide the function of key management. At present, video processing requests are increasing, for example, in the unmanned aerial vehicle industry, with the explosive growth of unmanned aerial vehicle applications, the scene of pushing live video stream to the cloud and playing the video stream of the cloud in the video playing end is everywhere, if the permission management is not performed on various video processing requests, conflicts between various video processing requests are easy to cause, therefore, a scheme for performing permission management on video processing requests is urgently needed. SUMMARY

[0003] Therefore, the embodiments of the present application aim to provide a video stream authentication system and method to solve the technical problem that the current video stream processing scheme does not perform permission management on video processing requests, which leads to conflicts between various video processing requests.

[0004] The technical scheme adopted by the present application to solve the above technical problem is as follows:

[0005] According to an aspect of the embodiments of the present application, a video stream authentication system is provided, which comprises a video stream server, an authentication system and a key database which are sequentially connected in communication;

[0006] The video stream server is configured to receive a video operation request, parse an operation key from the video operation request, and generate an operation callback event corresponding to the video operation request and including the operation key, and output the operation callback event to the authentication system, and then determine whether to allow the video operation corresponding to the video operation request according to an authentication result returned by the authentication system;

[0007] The authentication system is configured to receive the operation callback event, parse the operation key from the operation callback event, and query the operation key in the key database, and generate an authentication result indicating whether the authentication is passed according to whether the operation key can be queried and whether it is within a valid period, and return the authentication result to the video stream server;

[0008] The key database is configured to store the operation key and its corresponding valid period.

[0009] Optionally, the video stream server comprises a ZLMediakit video stream server.

[0010] Optionally, the video operation comprises a push operation and / or a play operation.

[0011] According to another aspect of the embodiments of the present application, a video stream authentication method is provided, which comprises:

[0012] When receiving a video operation request, the video stream server parses an operation key therefrom and generates an operation callback event corresponding to the video operation request and including the operation key, and outputs the operation callback event to an authentication system;

[0013] When receiving the operation callback event, the authentication system parses the operation key therefrom, queries the operation key in a key database, and if the operation key is queried and is within a valid period, generates an authentication result of passing authentication, otherwise generates an authentication result of failing authentication, and returns the authentication result to the video stream server;

[0014] The video stream server receives the authentication result and determines whether to allow the video operation corresponding to the video operation request according to the authentication result.

[0015] Optionally, the video stream server comprises a ZLMediakit video stream server.

[0016] Optionally, the video operation comprises a push operation and / or a play operation.

[0017] Optionally, when the video operation is a push operation, the video operation request is a push operation request sent by a UAV to the video stream server.

[0018] Optionally, the video stream server receives the authentication result and determines whether to allow the video operation corresponding to the video operation request according to the authentication result comprises:

[0019] The video stream server receives the authentication result and determines whether to allow the UAV to push a video stream to the video stream server according to the authentication result.

[0020] Optionally, when the video operation is a play operation, the video operation request is a play operation request sent by a video player to the video stream server.

[0021] Optionally, the video stream server receives the authentication result and determines whether to allow the video operation corresponding to the video operation request according to the authentication result comprises:

[0022] The video stream server receives the authentication result and determines whether to allow the video player to play a video stream according to the authentication result.

[0023] The video stream authentication system and method provided by the embodiment of the present application, when the video stream server receives a video operation request, parses an operation key from the video operation request, and generates an operation callback event corresponding to the video operation request and including the operation key, and outputs the operation callback event to the authentication system; the authentication system, when receiving the operation callback event, parses the operation key from the operation callback event, and queries the operation key in the key database, if the operation key can be queried and is within a valid period, generates an authentication result of passing authentication, otherwise generates an authentication result of failing authentication, and returns the authentication result to the video stream server; the video stream server receives the authentication result, and determines whether to allow the video operation corresponding to the video operation request according to the authentication result. By using the technical scheme, only when the operation key carried by the video operation request can be queried in the key database and is within the valid period, the corresponding video operation is allowed, so that the ordered management of the video operation can be realized by reasonably setting the valid period of the operation key, and the conflict between multiple video operations is avoided. BRIEF DESCRIPTION OF DRAWINGS

[0024] The present application will be further described below in conjunction with the accompanying drawings and embodiments. In the drawings:

[0025] Figure 1 is a structural schematic diagram of a video stream authentication system provided by an embodiment of the present application;

[0026] Figure 2 is a flowchart of a video stream authentication method provided by an embodiment of the present application;

[0027] Figure 3 is a flowchart of another video stream authentication method provided by an embodiment of the present application;

[0028] Figure 4 is a flowchart of still another video stream authentication method provided by an embodiment of the present application. DETAILED DESCRIPTION

[0029] It should be understood that the specific embodiments described herein are merely intended to explain the present application, and are not intended to limit the present application.

[0030] Embodiment One

[0031] Figure 1 is a structural schematic diagram of a video stream authentication system provided by an embodiment of the present application. In order to solve the technical problem that the current video stream processing scheme does not perform permission management on the video processing request, and thus easily causes the conflict between various video processing requests, the embodiment proposes a video stream authentication system, which includes a video stream server 100, an authentication system 200 and a key database 300 which are sequentially and communicatively connected;

[0032] The video stream server 100 is configured to receive a video operation request, parse an operation key from the video operation request, and generate an operation callback event corresponding to the video operation request and including the operation key, and output the operation callback event to the authentication system 200, and then determine whether to allow a video operation corresponding to the video operation request according to an authentication result returned by the authentication system 200;

[0033] The authentication system 200 is configured to receive the operation callback event, parse the operation key from the operation callback event, and query the operation key in the key database 300, and generate an authentication result indicating whether authentication is passed according to whether the operation key can be queried and whether the operation key is within a valid period, and return the authentication result to the video stream server 100.

[0034] The key database 300 is configured to store the operation key and a corresponding valid period of the operation key.

[0035] Specifically, the push stream operation request carries a push stream key, and optionally, the operation key corresponds to a subject sending the video operation request and a video operation type, that is, the subject uses the operation key for authentication when sending the video operation request. The video operation includes a push stream operation and / or a broadcast stream operation, or other types of video operations, and the embodiments do not limit the specific types of video operations. Those skilled in the art can understand that only the push stream operation or the broadcast stream operation of the same video stream can be authenticated and managed, or both the push stream operation and the broadcast stream operation of the same video stream can be authenticated and managed, and the embodiments do not limit this. The video stream server 100 is configured to receive a video operation request, parse an operation key therefrom, and generate an operation callback event corresponding to the video operation request and including the operation key, and output the operation callback event to the authentication system 200. Then, according to an authentication result returned by the authentication system 200, it is determined whether to allow a video operation corresponding to the video operation request; that is, when the video stream server 100 receives a video operation request, it requests the authentication system 200 to authenticate the current video operation request by outputting an operation callback event to the authentication system 200. Only when the authentication system 200 returns an authentication result that the authentication is passed, the video stream server 100 allows the video operation corresponding to the video operation request, otherwise, the video stream server 100 rejects the video operation corresponding to the video operation request. The authentication system 200 is configured to receive the operation callback event, parse the operation key therefrom, and query the operation key in the key database 300. According to whether the operation key can be queried and whether it is within a valid period, an authentication result of whether the authentication is passed is generated, and the authentication result is returned to the video stream server 100; that is, the authentication system 200 parses the operation key corresponding to the operation callback event from the operation callback event, and then queries whether the operation key exists in the key database 300 and whether the operation key is within a valid period. Only when the operation key can be queried and it is within a valid period, an authentication result that the authentication is passed is generated, so as to control the video stream server 100 to allow the video operation corresponding to the current video operation request. By using the video stream authentication system, only when the operation key carried by the video operation request can be queried in the key database 300 and it is within a valid period, the corresponding video operation is allowed, so as to realize the orderly management of the video operation by reasonably setting the valid period of the operation key, and avoid the conflict between multiple video operations, for example, the valid period of the operation key corresponding to a certain type of video operation of a certain video operation request subject is set to 10:00-10:10 am, and the valid period of the operation key corresponding to a certain type of video operation of another video operation request subject is set to 10:20-10:30 am. In this way, the conflict between multiple video operations can be effectively avoided.

[0036] Optionally, the video stream server 100 comprises a ZLMediakit video stream server 100.

[0037] In particular, the ZLMediakit video stream server 100 is an open source video stream server 100.

[0038] Taking the ZLMediakit video stream server 100 as the video stream server 100 and the push stream operation of the unmanned aerial vehicle as the video operation as an example, a video stream authentication system comprising a ZLMediakit video stream server, an authentication system 200 and a push stream key database 300 which are sequentially connected in communication is built, and a web interface URL of the authentication system 200 is configured to a configuration file of the ZLMediakit video stream server. When the ZLMediakit video stream server receives a push stream operation request sent by the unmanned aerial vehicle, the push stream key is parsed from the push stream operation request, and the push stream callback event is triggered before the push stream starts, and the push stream callback event is output to the authentication system 200 by calling the web interface of the authentication system 200. When the authentication system 200 receives the push stream callback event, the push stream key is parsed therefrom, and the push stream key is queried in the push stream key database 300, if the push stream key can be queried and is within the validity period, an authentication result of passing authentication is generated, otherwise an authentication result of failing authentication is generated, and the authentication result is returned to the ZLMediakit video stream server, for example, the authentication result can adopt a flag bit mode. When the ZLMediakit video stream server receives the authentication result of passing authentication, the unmanned aerial vehicle is allowed to push the video stream to itself, that is, the unmanned aerial vehicle pushes the video stream successfully, and when the ZLMediakit video stream server receives the authentication result of failing authentication, the unmanned aerial vehicle is refused to push the video stream to itself, that is, the unmanned aerial vehicle fails to push the video stream. Therefore, only when the push stream key carried by the push stream operation request of the unmanned aerial vehicle can be queried in the push stream key database 300 and is within the validity period, the unmanned aerial vehicle is allowed to push the video stream, so that the orderly management of the push stream operation can be realized by reasonably setting the validity period of the push stream key, and the conflict between multiple video operations can be avoided.

[0039] The video stream authentication system of the embodiment of the application comprises a video stream server 100, an authentication system 200 and a key database 300 which are sequentially connected in communication; the video stream server 100 is configured to receive a video operation request, parse an operation key from the video operation request, generate an operation callback event corresponding to the video operation request and comprising the operation key, and output the operation callback event to the authentication system 200, and then determine whether to allow a video operation corresponding to the video operation request according to an authentication result returned by the authentication system 200; the authentication system 200 is configured to receive the operation callback event, parse the operation key from the operation callback event, query the operation key in the key database 300, generate an authentication result indicating whether the authentication is passed according to whether the operation key can be queried and whether the operation key is within a valid period, and return the authentication result to the video stream server 100; and the key database 300 is configured to store the operation key and a valid period corresponding to the operation key. With the video stream authentication system, the corresponding video operation is allowed only when the operation key carried by the video operation request can be queried in the key database 300 and the operation key is within the valid period, so that the ordered management of the video operation can be realized by reasonably setting the valid period of the operation key, and the conflict among multiple video operations can be avoided.

[0040] Embodiment two

[0041] Figure 2 is a flowchart of a video stream authentication method provided by the embodiment of the application. The method of the embodiment is automatically run by the video stream authentication system of Embodiment One, wherein each step can be performed in the order shown in the flowchart or simultaneously according to actual conditions, and the application does not limit the order. The video stream authentication method provided by the application comprises the following steps:

[0042] In step S110, the video stream server parses an operation key from a video operation request when receiving the video operation request, and generates an operation callback event corresponding to the video operation request and comprising the operation key, and outputs the operation callback event to the authentication system.

[0043] In step S120, the authentication system parses the operation key from the operation callback event when receiving the operation callback event, queries the operation key in the key database, generates an authentication result indicating that the authentication is passed if the operation key can be queried and the operation key is within a valid period, otherwise generates an authentication result indicating that the authentication is not passed, and returns the authentication result to the video stream server.

[0044] In step S130, the video stream server receives the authentication result, and determines whether to allow a video operation corresponding to the video operation request according to the authentication result.

[0045] Through the above embodiment, first, the video stream server parses the operation key from the video operation request when receiving the video operation request, and generates an operation callback event corresponding to the video operation request including the operation key and outputs the operation callback event to the authentication system; then, the authentication system parses the operation key from the operation callback event when receiving the operation callback event, and queries the operation key in the key database, if the operation key can be queried and is within the valid period, an authentication result of passing authentication is generated, otherwise an authentication result of failing authentication is generated, and the authentication result is returned to the video stream server; finally, the video stream server receives the authentication result, and determines whether to allow the video operation corresponding to the video operation request according to the authentication result.

[0046] In the embodiment, first, it needs to be pointed out that in the prior art, the video stream processing scheme does not manage the video processing request, which leads to the technical problem that conflicts between various video processing requests are easily caused. Therefore, in order to solve the above technical problem, in the embodiment, the video stream server parses the operation key from the video operation request when receiving the video operation request, and generates an operation callback event corresponding to the video operation request including the operation key and outputs the operation callback event to the authentication system; the authentication system parses the operation key from the operation callback event when receiving the operation callback event, and queries the operation key in the key database, if the operation key can be queried and is within the valid period, an authentication result of passing authentication is generated, otherwise an authentication result of failing authentication is generated, and the authentication result is returned to the video stream server; the video stream server receives the authentication result, and determines whether to allow the video operation corresponding to the video operation request according to the authentication result. The video stream authentication method only allows the corresponding video operation when the operation key carried by the video operation request can be queried in the key database and is within the valid period, so that the ordered management of the video operation can be realized by reasonably setting the valid period of the operation key, and the conflicts between multiple video operations are avoided.

[0047] The above steps will be specifically described in combination with the specific embodiments.

[0048] In step S110, the video stream server parses the operation key from the video operation request when receiving the video operation request, and generates an operation callback event corresponding to the video operation request including the operation key and outputs the operation callback event to the authentication system.

[0049] Specifically, the video operation request carries a corresponding operation key. Optionally, the operation key corresponds to a subject sending the video operation request and a video operation type, that is, the subject uses the operation key for authentication when sending the video operation request. The video operation includes a push stream operation and / or a broadcast stream operation, or other types of video operations. The specific type of video operation is not limited in this embodiment. Those skilled in the art can understand that only the push stream operation or the broadcast stream operation of the same video stream can be authenticated and managed, or both the push stream operation and the broadcast stream operation of the same video stream can be authenticated and managed. This embodiment does not limit this. When the video stream server receives the video operation request, it outputs an operation callback event to the authentication system to request the authentication system to authenticate the current video operation request.

[0050] Optionally, the video stream server includes a ZLMediakit video stream server.

[0051] In step S120, the authentication system parses the operation key from the operation callback event when receiving the operation callback event, and queries the operation key in the key database. If the operation key can be queried and is within the valid period, an authentication pass authentication result is generated, otherwise an authentication fail authentication result is generated, and the authentication result is returned to the video stream server.

[0052] Specifically, the authentication system parses the operation key corresponding to the operation callback event from the operation callback event, and then queries whether the operation key exists in the key database and whether the operation key is within the valid period. Only when the operation key can be queried and is within the valid period, an authentication pass authentication result is generated, so as to control the video stream server to allow the video operation corresponding to the current video operation request.

[0053] In step S130, the video stream server receives the authentication result and determines whether to allow the video operation corresponding to the video operation request according to the authentication result.

[0054] Specifically, the video stream server allows the video operation corresponding to the video operation request only when the authentication system returns an authentication pass authentication result, otherwise, the video operation corresponding to the video operation request is rejected. Using the video stream authentication method, only when the operation key carried by the video operation request can be queried in the key database and is within the valid period, the corresponding video operation is allowed, so that the ordered management of the video operation can be realized by reasonably setting the valid period of the operation key, and the conflict between multiple video operations is avoided.

[0055] In the video stream authentication method of the embodiment, when receiving a video operation request, a video stream server parses an operation key from the video operation request and generates an operation callback event corresponding to the video operation request and including the operation key, and outputs the operation callback event to an authentication system; when receiving the operation callback event, the authentication system parses the operation key from the operation callback event, queries the operation key in a key database, and if the operation key can be queried and is within a valid period, generates an authentication result of passing authentication, otherwise generates an authentication result of failing authentication, and returns the authentication result to the video stream server; the video stream server receives the authentication result and determines whether to allow the video operation corresponding to the video operation request according to the authentication result. The video stream authentication method only allows the corresponding video operation when the operation key carried by the video operation request can be queried in the key database and is within the valid period, so that the ordered management of the video operation can be realized by reasonably setting the valid period of the operation key, and the conflict between multiple video operations can be avoided.

[0056] Embodiment Three

[0057] Based on the above embodiment, Figure 3 is a flowchart of another video stream authentication method provided by the embodiment, which is described by taking a push stream operation request sent by a UAV to a video stream server as an example. The method comprises the following steps:

[0058] In step S210, the UAV sends a push stream operation request to the video stream server.

[0059] Specifically, the push stream operation request carries a push stream key.

[0060] In step S220, the video stream server parses the push stream key from the push stream operation request and generates a push stream callback event corresponding to the push stream operation request and including the push stream key, and outputs the push stream callback event to an authentication system.

[0061] In step S230, the authentication system parses the push stream key from the push stream callback event and queries the push stream key in a push stream key database.

[0062] In step S240, the authentication system determines whether the push stream key can be queried and is within a valid period. If yes, step S250 is executed, otherwise, step S270 is executed.

[0063] Specifically, the authentication system can query the push stream key and it is within the valid period, indicating that this is the effective time for the UAV to push the stream, generating an authentication result of authentication passing, thereby allowing the UAV to push the video stream; the authentication system cannot query the push stream key, or although it can query the push stream key, but it is not within the valid period, indicating that this is not the effective time for the UAV to push the stream, generating an authentication result of authentication failing, thereby rejecting the UAV to push the video stream.

[0064] In step S250, the authentication system generates an authentication result of authentication passing, and returns the authentication result to the video stream server.

[0065] In step S260, the video stream server allows the UAV to push the video stream, and goes to step S290.

[0066] In step S270, the authentication system generates an authentication result of authentication failing, and returns the authentication result to the video stream server.

[0067] In step S280, the video stream server rejects the UAV to push the video stream.

[0068] In step S290, the process ends.

[0069] In the video stream authentication method of the embodiment, when the video stream server receives the push stream operation request sent by the UAV, the push stream key is parsed from the push stream operation request, and a push stream callback event corresponding to the push stream operation request is generated and output to the authentication system, including the push stream key; the authentication system parses the push stream key from the push stream callback event when receiving the push stream callback event, and queries the push stream key in the push stream key database; if the push stream key can be queried and it is within the valid period, an authentication result of authentication passing is generated, otherwise an authentication result of authentication failing is generated, and the authentication result is returned to the video stream server; the video stream server receives the authentication result, and determines whether to allow the UAV to perform the push stream operation according to the authentication result. The video stream authentication method only allows the UAV to perform the corresponding push stream operation when the push stream key carried by the push stream operation request sent by the UAV can be queried in the push stream key database and it is within the valid period, thereby realizing the orderly management of the push stream operation by reasonably setting the valid period of the push stream key, and avoiding the conflict between multiple video operations.

[0070] Embodiment Four

[0071] Based on the above embodiments, Figure 4is a flowchart of another video stream authentication method provided by an embodiment of the present application, which is described by taking a play stream operation request sent by a video player to a video stream server as an example, wherein the video player can be a webpage of a video stream authentication system. The method comprises:

[0072] Step S310: The video player sends a play stream operation request to the video stream server.

[0073] Specifically, the play stream operation request carries a play stream key.

[0074] Step S320: The video stream server parses the play stream key from the play stream operation request, and generates a play stream callback event corresponding to the play stream operation request and including the play stream key, and outputs the play stream callback event to an authentication system.

[0075] Step S330: The authentication system parses the play stream key from the play stream callback event, and queries the play stream key in a play stream key database.

[0076] Step S340: The authentication system determines whether the play stream key can be queried and is within a valid period, if yes, step S350 is executed, otherwise, step S370 is executed.

[0077] Specifically, if the authentication system can query the play stream key and the play stream key is within the valid period, it indicates that the time is the valid time for the video player to play the video stream, an authentication result of authentication passing is generated, so that the video player is allowed to play the video stream; if the authentication system cannot query the play stream key or can query the play stream key but the play stream key is not within the valid period, it indicates that the time is not the valid time for the video player to play the video stream, an authentication result of authentication failing is generated, so that the video player is refused to play the video stream.

[0078] Step S350: The authentication system generates an authentication result of authentication passing, and returns the authentication result to the video stream server.

[0079] Step S360: The video stream server allows the video player to play the video stream, and step S390 is executed.

[0080] Step S370: The authentication system generates an authentication result of authentication failing, and returns the authentication result to the video stream server.

[0081] Step S380: The video stream server refuses the video player to play the video stream.

[0082] Step S390: End.

[0083] In the video stream authentication method of the embodiment of the present application, when receiving a play stream operation request sent by a video player, a video stream server parses a play stream key from the play stream operation request and generates a play stream callback event corresponding to the play stream operation request, wherein the play stream callback event includes the play stream key, and outputs the play stream callback event to an authentication system; when receiving the play stream callback event, the authentication system parses the play stream key from the play stream callback event, queries the play stream key in a play stream key database, generates an authentication result of passing authentication if the play stream key can be queried and is within a valid period, otherwise generates an authentication result of failing authentication, and returns the authentication result to the video stream server; the video stream server receives the authentication result and determines whether to allow the video player to perform a play stream operation according to the authentication result. The video stream authentication method only allows the video player to perform a corresponding play stream operation when the play stream key carried by the play stream operation request sent by the video player can be queried in the play stream key database and is within the valid period, so that the play stream operation can be orderly managed by reasonably setting the valid period of the play stream key, and conflicts between multiple video operations can be avoided.

[0084] The technical features in the above embodiments can be used in combination without causing contradiction or unfeasibility.

[0085] It should be noted that, in this document, the terms "comprising", "containing", or any other similar term are intended to encompass non-exclusive inclusion, so that a process, method, article, or apparatus that comprises a list of elements does not only include those elements, but also includes other elements not explicitly listed, or further includes elements inherent in such a process, method, article, or apparatus. Without more limitations, an element defined by the phrase "comprising a" does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

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

[0087] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative and not restrictive. Those skilled in the art can make many forms under the inspiration of the present application without departing from the purpose of the present application and the scope protected by the claims, and these all belong to the protection of the present application.

Claims

1. A video stream authentication system, characterized by, The system comprises a UAV, a video stream server, an authentication system and a key database connected in sequence; The UAV is configured to send a video operation request to the video stream server, wherein the video operation request is a push operation of the UAV; The video stream server is configured to receive the video operation request, parse the operation key from the video operation request, generate an operation callback event corresponding to the video operation request and comprising the operation key, and output the operation callback event to the authentication system, and then determine whether to allow the video operation corresponding to the video operation request according to an authentication result returned by the authentication system, wherein the operation key corresponds to a subject sending the video operation request and a video operation type, and the authentication result is used to determine whether to allow the UAV to perform the push operation; The authentication system is configured to receive the operation callback event, parse the operation key from the operation callback event, query the operation key in the key database, generate an authentication result indicating whether the authentication is passed according to whether the operation key can be queried and whether the operation key is within a valid period, and return the authentication result to the video stream server, so as to realize orderly management of the video operation by reasonably setting the valid period of the operation key, and avoid conflicts between multiple video operations; The key database is configured to store the operation key and the valid period corresponding to the operation key.

2. The video stream authentication system of claim 1, wherein, The video stream server comprises a ZLMediakit video stream server.

3. A method for authenticating a video stream, the method comprising: The method comprises: The video stream server is configured to receive a video operation request sent by a UAV, parse an operation key from the video operation request, generate an operation callback event corresponding to the video operation request and comprising the operation key, and output the operation callback event to an authentication system, wherein the video operation request is a push operation of the UAV, and the operation key corresponds to a subject sending the video operation request and a video operation type; The authentication system is configured to receive the operation callback event, parse the operation key from the operation callback event, query the operation key in the key database, generate an authentication result indicating whether the authentication is passed according to whether the operation key can be queried and whether the operation key is within a valid period, and return the authentication result to the video stream server, so as to realize orderly management of the video operation by reasonably setting the valid period of the operation key, and avoid conflicts between multiple video operations; The video stream server is configured to receive the authentication result, and determine whether to allow the video operation corresponding to the video operation request according to the authentication result, so as to realize orderly management of the video operation by reasonably setting the valid period of the operation key, and avoid conflicts between multiple video operations.

4. The method of claim 3, wherein, The video stream server comprises a ZLMediakit video stream server.

Citation Information

Patent Citations

  • Authentication system, method and device for video playing and computer equipment

    CN115396112A