CN113542812A - Video stream secure sharing method, system, device and storage medium - Google Patents
Video stream secure sharing method, system, device and storage medium Download PDFInfo
- Publication number
- CN113542812A CN113542812A CN202110608050.8A CN202110608050A CN113542812A CN 113542812 A CN113542812 A CN 113542812A CN 202110608050 A CN202110608050 A CN 202110608050A CN 113542812 A CN113542812 A CN 113542812A
- Authority
- CN
- China
- Prior art keywords
- terminal
- check code
- video stream
- server
- shared
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000012795 verification Methods 0.000 claims abstract description 44
- 238000010276 construction Methods 0.000 claims description 7
- 238000012544 monitoring process Methods 0.000 abstract description 7
- 230000007246 mechanism Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 11
- 238000013475 authorization Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 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/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2347—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
-
- 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/12—Applying verification of the received information
-
- 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/254—Management at additional data server, e.g. shopping server, rights management server
- H04N21/2541—Rights Management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/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/25808—Management of client data
- H04N21/25816—Management of client data involving client authentication
-
- 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/27—Server based end-user applications
- H04N21/274—Storing end-user multimedia data in response to end-user request, e.g. network recorder
- H04N21/2747—Remote storage of video programs received via the downstream path, e.g. from the server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/414—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
- H04N21/41407—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4627—Rights management associated to the content
-
- 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/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/637—Control signals issued by the client directed to the server or network components
- H04N21/6377—Control signals issued by the client directed to the server or network components directed to server
- H04N21/63775—Control signals issued by the client directed to the server or network components directed to server for uploading keys, e.g. for a client to communicate its public key to the server
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Graphics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a video stream secure sharing method, a system, a device and a storage medium, wherein the method comprises the following steps: acquiring a first playing address of a video stream to be shared from a server through a first terminal; when the first terminal sends a first playing address to the terminal to be shared, a first check code is generated through the first terminal, and the first check code is respectively sent to the terminal to be shared and the server; when the second terminal sends a video stream playing request to the server according to the first playing address, a second check code is sent to the server through the second terminal, and the second check code is obtained when the second terminal receives the first playing address; and verifying the second check code according to the first check code, and if the verification is successful, sending the video stream to be shared to the second terminal through the server. According to the invention, a verification mechanism is introduced in video stream sharing, so that the video stream is safely shared and played within a user-controllable range, the privacy of a user is prevented from being revealed, and the method can be widely applied to the technical field of video monitoring.
Description
Technical Field
The invention relates to the technical field of video monitoring, in particular to a method, a system, a device and a storage medium for video stream secure sharing.
Background
At present, video monitoring by using mobile terminals such as mobile phones and tablets is becoming a current mainstream mode, and the mobile terminals are very convenient to use due to low operation threshold. Meanwhile, many users also prefer to share their own monitoring points to other users for watching, or show operator environments and negotiation services, or show home environments and sharing experiences, and especially in the scenes of house renting, remote goods watching and the like, the sharing of monitoring video streams is very common. However, there is not little risk in video sharing, and under the condition that the information network is developed like this, the existing video sharing method has the problem that privacy is leaked due to malicious secondary sharing by people, and is very unsafe.
Disclosure of Invention
The present invention aims to solve at least to some extent one of the technical problems existing in the prior art.
Therefore, an object of the embodiments of the present invention is to provide a secure and reliable method for safely sharing a video stream.
Another object of the embodiments of the present invention is to provide a system for securely sharing video streams.
In order to achieve the technical purpose, the technical scheme adopted by the embodiment of the invention comprises the following steps:
in a first aspect, an embodiment of the present invention provides a method for safely sharing a video stream, including the following steps:
acquiring a first playing address of a video stream to be shared from a server through a first terminal;
when the first terminal sends the first playing address to a terminal to be shared, a first check code is generated through the first terminal, and the first check code is sent to the terminal to be shared and the server respectively;
when the second terminal sends a video stream playing request to the server according to the first playing address, sending a second check code to the server through the second terminal, wherein the second check code is obtained when the second terminal receives the first playing address;
and verifying the second check code according to the first check code, and if the verification is successful, sending the video stream to be shared to the second terminal through the server.
Further, in an embodiment of the present invention, the method for safely sharing video streams further includes a step of constructing a check code library, which specifically includes:
when the first terminal sends the first playing address to a plurality of terminals to be shared, a plurality of first check codes are generated through the first terminal, and the first check codes are sent to the server;
and constructing a check code library according to the first check code.
Further, in an embodiment of the present invention, the step of verifying the second check code according to the first check code, and if the verification is successful, sending the video stream to be shared to the second terminal through the server specifically includes:
traversing query is carried out on the check code library, when a first check code which is the same as the second check code exists in the check code library, the verification is successful, otherwise, the verification is failed;
and when the verification is successful, acquiring the video stream to be shared according to the first playing address, and then sending the video stream to be shared to the second terminal through the server.
Further, in an embodiment of the present invention, the method for securely sharing a video stream further includes the following steps:
and when the first terminal sends a sharing canceling instruction to the server, deleting a corresponding first check code in the check code library according to the sharing canceling instruction.
Further, in an embodiment of the present invention, the video stream to be shared is a video stream captured by the target camera in real time.
In a second aspect, an embodiment of the present invention provides a video stream secure sharing system, including:
the address acquisition module is used for acquiring a first playing address of the video stream to be shared from the server through the first terminal;
the verification code generation module is used for generating a first verification code through the first terminal when the first terminal sends the first playing address to the terminal to be shared, and sending the first verification code to the terminal to be shared and the server respectively;
the request module is used for sending a video stream playing request to the server through the second terminal when the second terminal sends the video stream playing request to the server according to the first playing address, and the second check code is obtained when the second terminal receives the first playing address;
and the verification module is used for verifying the second check code according to the first check code, and if the verification is successful, the video stream to be shared is sent to the second terminal through the server.
Further, in an embodiment of the present invention, the video stream secure sharing system further includes a check code library constructing module, where the check code library constructing module includes:
the sending unit is used for generating a plurality of first check codes through the first terminal when the first terminal sends the first playing address to a plurality of terminals to be shared and sending the first check codes to the server;
and the construction unit is used for constructing a check code library according to the first check code.
Further, in an embodiment of the present invention, the video stream secure sharing system further includes:
and the check code deleting module is used for deleting the corresponding first check code in the check code library according to the sharing canceling instruction when the first terminal sends the sharing canceling instruction to the server.
In a third aspect, an embodiment of the present invention provides a video stream secure sharing apparatus, including:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, the at least one program causes the at least one processor to implement a method for secure sharing of video streams as described above.
In a fourth aspect, the present invention further provides a computer-readable storage medium, in which a processor-executable program is stored, where the processor-executable program is used to execute a video stream security sharing method as described above when executed by a processor.
Advantages and benefits of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention:
the method includes the steps that a first playing address of a video stream to be shared is obtained from a server through a first terminal, a first check code is generated when the first terminal shares the first playing address with the terminal to be shared, and the first check code is sent to the terminal to be shared and the server; when the second terminal sends a video stream playing request to the server according to the first playing address, the second check code which is obtained when the second terminal obtains the first playing address is sent to the server, the second check code is verified according to the first check code, and if and only if the verification is successful, the video stream to be shared is sent to the second terminal through the server. According to the method and the device, a verification mechanism is introduced in video stream sharing, random verification codes are automatically generated and sent to the terminal to be shared when video stream playing addresses are shared each time, the verification codes of the terminal are verified through the server when video stream playing is requested each time, and only the initial first terminal can send the generated verification codes to the server, so that the video stream cannot be verified successfully after secondary sharing, the video stream is finally guaranteed to be safely shared and played in a user-controllable range, privacy of a user is prevented from being leaked, and the method and the device are very safe.
Drawings
In order to more clearly illustrate the technical solution in the embodiment of the present invention, the following description is made on the drawings required to be used in the embodiment of the present invention, and it should be understood that the drawings in the following description are only for convenience and clarity of describing some embodiments in the technical solution of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart illustrating steps of a method for securely sharing a video stream according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating that the video stream cannot be successfully verified through the second sharing according to the embodiment of the present invention;
fig. 3 is a block diagram illustrating a video stream secure sharing system according to an embodiment of the present invention;
fig. 4 is a block diagram of a video stream secure sharing apparatus according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. The step numbers in the following embodiments are provided only for convenience of illustration, the order between the steps is not limited at all, and the execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art.
In the description of the present invention, the meaning of a plurality is two or more, if there is a description to the first and the second for the purpose of distinguishing technical features, it is not understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the precedence of the indicated technical features. Furthermore, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art.
In the current video stream sharing method, after a shared user acquires a video stream playing address shared by others, the shared user can directly request a server to play a video stream through the address, and the general flow is as follows:
(1) a user A requests a video stream playing address from a server through a terminal of the user A;
(2) the server returns a video stream playing address to the terminal of the user A;
(3) the user A shares the video stream playing address to the terminal of the user B through the WeChat or the winged letter;
(4) the terminal of the user B requests the server to play the video stream through the address;
(5) the server acquires the real-time video stream from the camera and sends it to the terminal of user B.
It can be appreciated that, in the current video stream sharing method, the video stream shared by others can be seen only by acquiring the video stream playing address, so that a risk of revealing user privacy due to secondary sharing exists, for example, the user B can share the video stream playing address to the user C, and the user C can see the monitoring video stream shared by the user a according to the video stream playing address. It can be seen that the existing video stream sharing method is not secure.
Referring to fig. 1, an embodiment of the present invention provides a method for safely sharing a video stream, which specifically includes the following steps:
s101, acquiring a first playing address of a video stream to be shared from a server through a first terminal;
s102, when the first terminal sends a first playing address to the terminal to be shared, generating a first check code through the first terminal, and respectively sending the first check code to the terminal to be shared and the server;
s103, when the second terminal sends a video stream playing request to the server according to the first playing address, sending a second check code to the server through the second terminal, wherein the second check code is obtained when the second terminal receives the first playing address;
and S104, verifying the second check code according to the first check code, and if the verification is successful, sending the video stream to be shared to the second terminal through the server.
According to the embodiment of the invention, a verification mechanism is introduced in video stream sharing, a random verification code is automatically generated and sent to a terminal to be shared when a video stream playing address is shared each time, the verification code of the terminal is verified through a server when the video stream is requested to be played each time, and only an initial first terminal can send the generated verification code to the server, so that the video stream cannot be successfully verified after being secondarily shared, the video stream is finally ensured to be safely shared and played within a user-controllable range, the privacy of a user is prevented from being leaked, and the method is very safe.
It can be understood that the second terminal may be a terminal (i.e., a terminal to be shared) in which the first terminal directly shares the first broadcast address, or a terminal in which the first broadcast address is obtained through another terminal (not the first terminal); when each terminal shares a video stream playing address, a random check code needs to be generated and sent to the next terminal, however, only the first terminal which initially directly obtains the video stream playing address from the server can send the generated check code to the server, so that only the terminal which directly obtains the first playing address from the first terminal can successfully verify at the server, and the terminal which passes through secondary or more than secondary sharing cannot successfully verify.
Fig. 2 is a schematic flow chart illustrating that the video stream cannot be successfully verified through the second sharing according to the embodiment of the present invention. One embodiment of the present invention is described below with reference to fig. 2:
(1) a user A requests a first playing address of a target video stream from a server through a terminal a;
(2) the server returns a first playing address to the terminal a;
(3) the method comprises the steps that a user A shares a first playing address to a terminal B of a user B through a terminal a, randomly generates a first check code, and simultaneously sends the first check code to the terminal B and a server;
(4) the terminal b requests the server to play the target video stream through the first playing address and sends the first check code to the server;
(5) the server verifies the first check code, the verification is successful, and a real-time video stream is obtained from the target camera;
(6) the server sends the real-time video stream to a terminal b, and the terminal b plays the real-time video stream, so that the video stream can be successfully played after being shared for the first time;
(7) the user B shares the first playing address with the terminal C of the user C through the terminal B, simultaneously generates a second check code at random, and sends the second check code to the terminal C (not to the server);
(8) the terminal c requests the server to play the target video stream through the first playing address and sends the second check code to the server;
(9) the server verifies the second check code, and the second check code is different from the check code sent to the server by the terminal a, so that the verification fails, the terminal c cannot play the target video stream, and the video stream cannot be successfully played by secondary sharing.
As a further optional implementation manner, the video stream secure sharing method further includes a step of constructing a check code library, which specifically includes:
when a first terminal sends a first playing address to a plurality of terminals to be shared, a plurality of first check codes are generated through the first terminal, and the first check codes are sent to a server;
and constructing a check code library according to the first check code.
Specifically, when the first terminal shares the video playing address with the multiple terminals to be shared, a random check code is generated every time the video playing address is shared and sent to the server, so that a check code library can be established in the server, and subsequent verification and management of the check code are facilitated.
As a further optional implementation manner, the second check code is verified according to the first check code, and if the verification is successful, the step S104 of sending the video stream to be shared to the second terminal through the server specifically includes:
s1041, performing traversal query on the check code library, and if a first check code identical to a second check code exists in the check code library, the verification is successful, otherwise, the verification is failed;
and S1042, when the verification is successful, obtaining the video stream to be shared according to the first playing address, and then sending the video stream to be shared to the second terminal through the server.
As a further optional implementation manner, the video stream secure sharing method further includes the following steps:
and when the first terminal sends a sharing canceling instruction to the server, deleting the corresponding first check code in the check code library according to the sharing canceling instruction.
Specifically, the terminal to be shared, which acquires the video stream playing address through the first terminal, is equivalent to obtaining authorization, when video sharing needs to be cancelled for a certain user or terminal, that is, the authorization is cancelled, a sharing cancellation instruction is sent to the server through the first terminal, the server deletes the corresponding check code in the check code library, and the user or terminal cannot view the target video stream next time. The embodiment of the invention can add or delete the check code in the check code library through the first terminal at any time, thereby realizing the maintenance of the check code library and the authorization management of different terminals.
Further as an optional implementation, the video stream to be shared is a video stream shot by the target camera in real time.
Specifically, the video stream to be shared in the embodiment of the present invention may be a video stream shot by a target camera in real time, or a video stream stored in a server, and may have different definitions in combination with different application scenarios. In the technical field of video monitoring, most of real-time video streams acquired by a camera contain personal privacy of users, and the privacy of the users can be revealed through secondary sharing.
Referring to fig. 3, an embodiment of the present invention provides a video stream secure sharing system, including:
the address acquisition module is used for acquiring a first playing address of the video stream to be shared from the server through the first terminal;
the verification code generation module is used for generating a first verification code through the first terminal when the first terminal sends a first playing address to the terminal to be shared, and respectively sending the first verification code to the terminal to be shared and the server;
the request module is used for sending a video stream playing request to the server through the second terminal when the second terminal sends the video stream playing request to the server according to the first playing address, and the second check code is obtained when the second terminal receives the first playing address;
and the verification module is used for verifying the second check code according to the first check code, and if the verification is successful, the video stream to be shared is sent to the second terminal through the server.
As a further optional implementation manner, the video stream secure sharing system further includes a check code library construction module, where the check code library construction module includes:
the device comprises a sending unit, a server and a receiving unit, wherein the sending unit is used for generating a plurality of first check codes through a first terminal when the first terminal sends a first playing address to a plurality of terminals to be shared and sending the first check codes to the server;
and the construction unit is used for constructing a check code library according to the first check code.
As a further optional implementation manner, the video stream secure sharing system further includes:
and the check code deleting module is used for sending a sharing canceling instruction to the server when the first terminal sends the sharing canceling instruction, and deleting the corresponding first check code in the check code library according to the sharing canceling instruction.
The contents in the above method embodiments are all applicable to the present system embodiment, the functions specifically implemented by the present system embodiment are the same as those in the above method embodiment, and the beneficial effects achieved by the present system embodiment are also the same as those achieved by the above method embodiment.
Referring to fig. 4, an embodiment of the present invention provides a video stream secure sharing apparatus, including:
at least one processor;
at least one memory for storing at least one program;
when the at least one program is executed by the at least one processor, the at least one program causes the at least one processor to implement the method for secure sharing of video streams.
The contents in the above method embodiments are all applicable to the present apparatus embodiment, the functions specifically implemented by the present apparatus embodiment are the same as those in the above method embodiments, and the advantageous effects achieved by the present apparatus embodiment are also the same as those achieved by the above method embodiments.
An embodiment of the present invention further provides a computer-readable storage medium, in which a processor-executable program is stored, and when the processor-executable program is executed by a processor, the processor-executable program is configured to perform the above-mentioned video stream secure sharing method.
The computer-readable storage medium of the embodiment of the invention can execute the video stream security sharing method provided by the embodiment of the method of the invention, can execute any combination implementation steps of the embodiment of the method, and has corresponding functions and beneficial effects of the method.
The embodiment of the invention also discloses a computer program product or a computer program, which comprises computer instructions, and the computer instructions are stored in a computer readable storage medium. The computer instructions may be read by a processor of a computer device from a computer-readable storage medium, and executed by the processor to cause the computer device to perform the method illustrated in fig. 1.
In alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flow charts of the present invention are provided by way of example in order to provide a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed and in which sub-operations described as part of larger operations are performed independently.
Furthermore, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the above-described functions and/or features may be integrated in a single physical device and/or software module, or one or more of the functions and/or features may be implemented in a separate physical device or software module. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary for an understanding of the present invention. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be understood within the ordinary skill of an engineer, given the nature, function, and internal relationship of the modules. Accordingly, those skilled in the art can, using ordinary skill, practice the invention as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative of and not intended to limit the scope of the invention, which is defined by the appended claims and their full scope of equivalents.
The above functions, if implemented in the form of software functional units and sold or used as a separate product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Further, the computer readable medium could even be paper or another suitable medium upon which the above described program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the foregoing description of the specification, reference to the description of "one embodiment/example," "another embodiment/example," or "certain embodiments/examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A video stream secure sharing method is characterized by comprising the following steps:
acquiring a first playing address of a video stream to be shared from a server through a first terminal;
when the first terminal sends the first playing address to a terminal to be shared, a first check code is generated through the first terminal, and the first check code is sent to the terminal to be shared and the server respectively;
when the second terminal sends a video stream playing request to the server according to the first playing address, sending a second check code to the server through the second terminal, wherein the second check code is obtained when the second terminal receives the first playing address;
and verifying the second check code according to the first check code, and if the verification is successful, sending the video stream to be shared to the second terminal through the server.
2. The method according to claim 1, wherein the method for safely sharing video streams further comprises a step of constructing a check code library, which specifically includes:
when the first terminal sends the first playing address to a plurality of terminals to be shared, a plurality of first check codes are generated through the first terminal, and the first check codes are sent to the server;
and constructing a check code library according to the first check code.
3. The method according to claim 2, wherein the step of verifying the second check code according to the first check code, and if the verification is successful, sending the video stream to be shared to the second terminal through the server specifically includes:
traversing query is carried out on the check code library, when a first check code which is the same as the second check code exists in the check code library, the verification is successful, otherwise, the verification is failed;
and when the verification is successful, acquiring the video stream to be shared according to the first playing address, and then sending the video stream to be shared to the second terminal through the server.
4. The method according to claim 2, wherein the method further comprises the following steps:
and when the first terminal sends a sharing canceling instruction to the server, deleting a corresponding first check code in the check code library according to the sharing canceling instruction.
5. The method according to any one of claims 1 to 4, wherein: and the video stream to be shared is a video stream shot by the target camera in real time.
6. A video stream secure sharing system, comprising:
the address acquisition module is used for acquiring a first playing address of the video stream to be shared from the server through the first terminal;
the verification code generation module is used for generating a first verification code through the first terminal when the first terminal sends the first playing address to the terminal to be shared, and sending the first verification code to the terminal to be shared and the server respectively;
the request module is used for sending a video stream playing request to the server through the second terminal when the second terminal sends the video stream playing request to the server according to the first playing address, and the second check code is obtained when the second terminal receives the first playing address;
and the verification module is used for verifying the second check code according to the first check code, and if the verification is successful, the video stream to be shared is sent to the second terminal through the server.
7. The system according to claim 6, wherein the system further comprises a check code library construction module, and the check code library construction module comprises:
the sending unit is used for generating a plurality of first check codes through the first terminal when the first terminal sends the first playing address to a plurality of terminals to be shared and sending the first check codes to the server;
and the construction unit is used for constructing a check code library according to the first check code.
8. The system according to claim 7, further comprising:
and the check code deleting module is used for deleting the corresponding first check code in the check code library according to the sharing canceling instruction when the first terminal sends the sharing canceling instruction to the server.
9. A video stream secure sharing apparatus, comprising:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, the at least one program causes the at least one processor to implement a method for secure sharing of video streams as claimed in any one of claims 1 to 5.
10. A computer-readable storage medium in which a processor-executable program is stored, the processor-executable program, when executed by a processor, being configured to perform a video stream secure sharing method according to any one of claims 1 to 5.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110608050.8A CN113542812B (en) | 2021-06-01 | 2021-06-01 | Video stream secure sharing method, system, device and storage medium |
GB2319883.1A GB2623225A (en) | 2021-06-01 | 2021-12-22 | Method, system, and apparatus for securely sharing video stream, and storage medium |
PCT/CN2021/140526 WO2022252579A1 (en) | 2021-06-01 | 2021-12-22 | Method, system, and apparatus for securely sharing video stream, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110608050.8A CN113542812B (en) | 2021-06-01 | 2021-06-01 | Video stream secure sharing method, system, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113542812A true CN113542812A (en) | 2021-10-22 |
CN113542812B CN113542812B (en) | 2023-09-29 |
Family
ID=78095453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110608050.8A Active CN113542812B (en) | 2021-06-01 | 2021-06-01 | Video stream secure sharing method, system, device and storage medium |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN113542812B (en) |
GB (1) | GB2623225A (en) |
WO (1) | WO2022252579A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022252579A1 (en) * | 2021-06-01 | 2022-12-08 | 天翼物联科技有限公司 | Method, system, and apparatus for securely sharing video stream, and storage medium |
GB2622732A (en) * | 2021-11-26 | 2024-03-27 | Boe Technology Group Co Ltd | Display substrate and preparation method therefor, and display device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103327028A (en) * | 2013-07-09 | 2013-09-25 | 百度在线网络技术(北京)有限公司 | Method, system, server and clients for sharing services on mobile equipment |
CN104468683A (en) * | 2013-09-20 | 2015-03-25 | 财团法人资讯工业策进会 | Cloud storage server and management method thereof |
CN105827605A (en) * | 2016-03-16 | 2016-08-03 | 中国联合网络通信集团有限公司 | File sharing method and file sharing system |
CN107094261A (en) * | 2017-03-17 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | The authorization check method and device of video playback |
US20180165194A1 (en) * | 2015-08-14 | 2018-06-14 | Netapp, Inc. | Storage Controller Caching Using Symmetric Storage Class Memory Devices |
CN111182336A (en) * | 2019-10-28 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Video data playing processing method and device, server and terminal |
CN111193900A (en) * | 2018-11-15 | 2020-05-22 | 深圳技威时代科技有限公司 | Monitoring video sharing method and device and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103078881B (en) * | 2011-10-26 | 2016-05-11 | 腾讯科技(深圳)有限公司 | Internet resources Download Info share control system and method |
CN103916637B (en) * | 2014-04-15 | 2017-08-15 | 浙江宇视科技有限公司 | A kind of method and apparatus for safely sharing monitoring frontend |
US20170046529A1 (en) * | 2015-08-13 | 2017-02-16 | Sharewell Ltd | Apparatus system and method |
CN113542812B (en) * | 2021-06-01 | 2023-09-29 | 天翼物联科技有限公司 | Video stream secure sharing method, system, device and storage medium |
-
2021
- 2021-06-01 CN CN202110608050.8A patent/CN113542812B/en active Active
- 2021-12-22 WO PCT/CN2021/140526 patent/WO2022252579A1/en unknown
- 2021-12-22 GB GB2319883.1A patent/GB2623225A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103327028A (en) * | 2013-07-09 | 2013-09-25 | 百度在线网络技术(北京)有限公司 | Method, system, server and clients for sharing services on mobile equipment |
CN104468683A (en) * | 2013-09-20 | 2015-03-25 | 财团法人资讯工业策进会 | Cloud storage server and management method thereof |
US20180165194A1 (en) * | 2015-08-14 | 2018-06-14 | Netapp, Inc. | Storage Controller Caching Using Symmetric Storage Class Memory Devices |
CN105827605A (en) * | 2016-03-16 | 2016-08-03 | 中国联合网络通信集团有限公司 | File sharing method and file sharing system |
CN107094261A (en) * | 2017-03-17 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | The authorization check method and device of video playback |
CN111193900A (en) * | 2018-11-15 | 2020-05-22 | 深圳技威时代科技有限公司 | Monitoring video sharing method and device and storage medium |
CN111182336A (en) * | 2019-10-28 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Video data playing processing method and device, server and terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022252579A1 (en) * | 2021-06-01 | 2022-12-08 | 天翼物联科技有限公司 | Method, system, and apparatus for securely sharing video stream, and storage medium |
GB2623225A (en) * | 2021-06-01 | 2024-04-10 | E Surfing Iot Co Ltd | Method, system, and apparatus for securely sharing video stream, and storage medium |
GB2622732A (en) * | 2021-11-26 | 2024-03-27 | Boe Technology Group Co Ltd | Display substrate and preparation method therefor, and display device |
Also Published As
Publication number | Publication date |
---|---|
CN113542812B (en) | 2023-09-29 |
GB202319883D0 (en) | 2024-02-07 |
WO2022252579A1 (en) | 2022-12-08 |
GB2623225A (en) | 2024-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210051353A1 (en) | Managing concurrent content playback | |
US10084789B2 (en) | Peer to peer enterprise file sharing | |
US8880651B2 (en) | Method and system for efficient download of data package | |
US8112503B2 (en) | Content delivery method, server, and terminal | |
US20130232519A1 (en) | System and Method of Authorizing a Device in a Network System | |
CN113542812A (en) | Video stream secure sharing method, system, device and storage medium | |
US10904251B2 (en) | Blockchain-based copyright protection method and apparatus, and electronic device | |
US20050163483A1 (en) | Piracy prevention system | |
US9584508B2 (en) | Peer to peer enterprise file sharing | |
CN105939491A (en) | Video playing method and device | |
WO2020233139A1 (en) | Block chain-based copyright protection method and apparatus, and electronic device | |
US8504814B2 (en) | Resiliency against field-updated security elements | |
CN109660496A (en) | Acquisition, resource checksum and the dissemination method of check information, device and electronic equipment | |
US20090216980A1 (en) | Information storage system | |
CN112217910B (en) | Video service access method, device, network equipment and storage medium | |
CN109753769A (en) | A kind of software authorization method and system based on block chain | |
CN102497269B (en) | A kind of bill method for authenticating and system | |
US9979735B2 (en) | Devices, methods and systems for secure data transfers | |
CN109635532A (en) | A kind of picture pick-up device and its binding method | |
CN113068061B (en) | Live broadcast time length determination method and device, storage medium and electronic equipment | |
US9824213B2 (en) | Method and apparatus for assembling component in router | |
CN105847884B (en) | Method and device for controlling television user to use television | |
CN114827674B (en) | Network resource display method, device and system | |
CN112637639B (en) | Control method, system, equipment and medium of unified play control system | |
CN114584556B (en) | File transmission method and device |
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 |