CN113542812B - 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
- CN113542812B CN113542812B CN202110608050.8A CN202110608050A CN113542812B CN 113542812 B CN113542812 B CN 113542812B CN 202110608050 A CN202110608050 A CN 202110608050A CN 113542812 B CN113542812 B CN 113542812B
- Authority
- CN
- China
- Prior art keywords
- check code
- terminal
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000012795 verification Methods 0.000 claims abstract description 45
- 238000010276 construction Methods 0.000 claims description 9
- 238000012544 monitoring process Methods 0.000 abstract description 7
- 230000007246 mechanism Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 4
- 238000013475 authorization Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 238000003491 array Methods 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
- 230000008569 process Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
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 application 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 play address of a video stream to be shared from a server through a first terminal; when a first terminal sends a first playing address to a 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 a 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, wherein the second check code is acquired 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. The application introduces a verification mechanism in video stream sharing, ensures that video streams are safely shared and played in a controllable range of users, prevents privacy leakage of the users, and can be widely applied to the technical field of video monitoring.
Description
Technical Field
The application relates to the technical field of video monitoring, in particular to a video stream secure sharing method, a system, a device and a storage medium.
Background
Currently, mobile terminals such as mobile phones and tablets are used for watching video monitoring in a mainstream mode, and the mobile terminals are convenient to use because of low operation threshold. Meanwhile, many users are willing to share the monitoring points of the users to other users for watching, displaying the business environment and negotiating business, or displaying the home environment and sharing experience, and particularly, the sharing of the monitoring video stream is very common in the scenes of real estate renting, remote goods watching and the like. However, the video sharing has a small risk, and under the condition that the information network is so developed nowadays, the existing video sharing method has the problem of privacy disclosure caused by malicious secondary sharing by people, and is quite unsafe.
Disclosure of Invention
The present application aims to solve at least one of the technical problems existing in the prior art to a certain extent.
Therefore, an objective of the embodiments of the present application is to provide a secure video stream sharing method.
Another objective of the embodiments of the present application is to provide a video stream secure sharing system.
In order to achieve the technical purpose, the technical scheme adopted by the embodiment of the application comprises the following steps:
in a first aspect, an embodiment of the present application provides a video stream secure sharing method, including the following steps:
acquiring a first play address of a video stream to be shared from a server through a first terminal;
when the first terminal sends the first play address to a 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;
when a 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, wherein the second check code is acquired 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 application, the video stream secure sharing method 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, generating a plurality of first check codes through the first terminal, and sending the first check codes to the server;
and constructing a check code library according to the first check code.
Further, in an embodiment of the present application, the step of verifying the second check code according to the first check code, and if verification is successful, sending, by the server, the video stream to be shared to the second terminal specifically includes:
traversing and inquiring the check code library, and if the first check code which is the same as the second check code exists in the check code library, verifying successfully, otherwise, failing to verify;
and when the verification is successful, acquiring a video stream to be shared according to the first play address, and further sending the video stream to be shared to the second terminal through the server.
Further, in an embodiment of the present application, 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.
Further, in an embodiment of the present application, the video stream to be shared is a video stream photographed by a target camera in real time.
In a second aspect, an embodiment of the present application provides a video stream secure sharing system, including:
the address acquisition module is used for acquiring a first play 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 play 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 by the second terminal according to the first playing address, and sending a second check code to the server by the second terminal, wherein the second check code is acquired 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 server is used for sending the video stream to be shared to the second terminal.
Further, in an embodiment of the present application, the video stream security sharing system further includes a check code library construction module, where the check code library construction 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 play 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 one embodiment of the present application, 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 application provides a video stream secure sharing device, including:
at least one processor;
at least one memory for storing at least one program;
the at least one program, when executed by the at least one processor, causes the at least one processor to implement a video stream secure sharing method as described above.
In a fourth aspect, an embodiment of the present application further provides a computer readable storage medium, in which a program executable by a processor is stored, where the program executable by the processor is configured to perform a video stream secure sharing method as described above when executed by the processor.
The advantages and benefits of the application 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 application.
According to the embodiment of the application, the first playing address of the video stream to be shared is obtained from the server through the first terminal, the first terminal shares the first playing address with the terminal to be shared, and meanwhile, a first check code is generated and 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 terminal sends the second check code which is obtained together when the second terminal obtains the first playing address to the server, and further verifies the second check code 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 system for sharing the video stream, a verification mechanism is introduced in the video stream sharing process, random verification codes are automatically generated and sent to the terminal to be shared when video stream playing addresses are shared each time, verification codes of the terminal are verified through the server each time video stream playing is requested, and because only the initial first terminal can send the generated verification codes to the server, verification of the video stream after secondary sharing cannot be successful, safe sharing and playing of the video stream in a controllable range of a user are finally guaranteed, privacy leakage of the user is prevented, and the video stream sharing method and the system are quite safe.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will refer to the drawings that are needed in the embodiments of the present application, and it should be understood that the drawings in the following description are only for convenience and clarity to describe some embodiments in the technical solutions of the present application, and other drawings may be obtained according to these drawings without any inventive effort for those skilled in the art.
Fig. 1 is a flowchart of a video stream secure sharing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a video stream secondary sharing failure verification process according to an embodiment of the present application;
fig. 3 is a block diagram of a video stream secure sharing system according to an embodiment of the present application;
fig. 4 is a block diagram of a video stream secure sharing device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the application. The step numbers in the following embodiments are set for convenience of illustration only, and the order between the steps is not limited in any way, and the execution order of the steps in the embodiments may be adaptively adjusted according to the understanding of those skilled in the art.
In the description of the present application, the plurality means two or more, and if the description is made to the first and second for the purpose of distinguishing technical features, it should not be construed as indicating or implying relative importance or implicitly indicating the number of the 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 obtains a video stream playing address shared by others, the shared user can directly request to play the video stream to a server through the address, and the general flow is as follows:
(1) The 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 WeChat or WeChat;
(4) The terminal of the user B requests the server to play the video stream through the address;
(5) The server obtains the real-time video stream from the camera and sends it to the user B's terminal.
It can be appreciated that in the current video stream sharing method, only the video stream playing address needs to be acquired to see the video stream shared by others, so that there is a risk of disclosure of privacy of the user caused by secondary sharing, for example, the user B may share the video stream playing address to the user C, and the user C may 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 application provides a video stream secure sharing method, which specifically includes the following steps:
s101, acquiring a first play address of a video stream to be shared from a server through a first terminal;
s102, when a first terminal sends a first play address to a 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 a server;
s103, 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 acquired when the second terminal receives the first playing address;
and S104, verifying the second check code according to the first check code, and if verification is successful, sending the video stream to be shared to the second terminal through the server.
According to the embodiment of the application, 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, verification codes of the terminal are verified through the server each time video stream playing is requested, and because only the initial first terminal can send the generated verification codes to the server, verification of the video stream after secondary sharing cannot be successful, safe sharing and playing of the video stream in a controllable range of a user are finally ensured, privacy leakage of the user is prevented, and the video stream sharing method is quite safe.
It can be understood that the second terminal may be a terminal (i.e. a terminal to be shared) where the first terminal directly shares the first play address, or may be a terminal where the first play address is obtained through another terminal (not the first terminal); when each terminal shares the video stream playing address, a random check code needs to be generated and sent to the next terminal, however, only the first terminal which directly obtains the video stream playing address from the server initially 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 be successfully verified at the server, and the terminal which is shared by two or more times can not be successfully verified.
Fig. 2 is a schematic flow chart of a video stream two-time sharing method according to an embodiment of the application. One embodiment of the application is described below in connection with 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 play address to the terminal a;
(3) The user A shares a first playing address with the terminal B of the user B through the terminal a, randomly generates a first check code and simultaneously sends the first check code to the terminal B and the server;
(4) The terminal b requests the server to play the target video stream through the first play 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 through primary sharing;
(7) The user B shares the first playing address with the terminal C of the user C through the terminal B, randomly generates a second check code at the same time, 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 play address and sends the second check code to the server;
(9) The server verifies the second check code, and as the second check code is different from the check code sent to the server by the terminal a, the verification fails, and the terminal c cannot play the target video stream, so that the video stream cannot be successfully played through secondary sharing.
Further, as an 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, generating a plurality of first check codes through the first terminal, and sending the first check codes 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 plurality of terminals to be shared, a random check code is generated for each sharing and sent to the server, so that a check code library can be built in the server, and the follow-up verification and management of the check codes are facilitated.
Further, as an optional implementation manner, the second check code is verified according to the first check code, and if verification is successful, the step S104 of sending, by the server, the video stream to be shared to the second terminal specifically includes:
s1041, performing traversal inquiry in a check code library, and if a first check code which is the same as a second check code exists in the check code library, verifying successfully, otherwise, failing to verify;
and S1042, when verification is successful, acquiring a video stream to be shared according to the first play address, and further sending the video stream to be shared to the second terminal through the server.
Further as an 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 that obtains the video stream playing address through the first terminal is equivalent to obtaining the authorization, when the video sharing, that is, the authorization, needs to be cancelled for a certain user or terminal, the first terminal can send a command for cancelling the sharing to the server, and the server deletes the corresponding check code in the check code library, so that the user or terminal cannot watch the target video stream next time. The embodiment of the application can add or delete the check codes 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 manner, the video stream to be shared is a video stream photographed by the target camera in real time.
Specifically, the video stream to be shared in the embodiment of the application can be a video stream shot by the target camera in real time, or can be a video stream stored in a server, and can be defined differently in combination with different application scenes. In the technical field of video monitoring, a real-time video stream acquired by a camera mostly contains personal privacy of a user, and secondary sharing can cause privacy leakage of the user.
Referring to fig. 3, an embodiment of the present application provides a video stream secure sharing system, including:
the address acquisition module is used for acquiring a first play 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 play 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 according to the first playing address by the second terminal, and sending a second check code to the server through the second terminal, wherein the second check code is a check code obtained when the second terminal receives the first playing address;
and the verification module is used for verifying the second verification code according to the first verification code, and if the verification is successful, the video stream to be shared is sent to the second terminal through the server.
Further as an optional implementation manner, the video stream security sharing system further includes a check code library construction module, where the check code library construction 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 play address to the 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 as an optional embodiment, 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.
The content in the method embodiment is applicable to the system embodiment, the functions specifically realized by the system embodiment are the same as those of the method embodiment, and the achieved beneficial effects are the same as those of the method embodiment.
Referring to fig. 4, an embodiment of the present application provides a video stream secure sharing device, including:
at least one processor;
at least one memory for storing at least one program;
the at least one program, when executed by the at least one processor, causes the at least one processor to implement a video stream secure sharing method as described above.
The content in the method embodiment is applicable to the embodiment of the device, and the functions specifically realized by the embodiment of the device are the same as those of the method embodiment, and the obtained beneficial effects are the same as those of the method embodiment.
The embodiment of the application also provides a computer readable storage medium, in which a program executable by a processor is stored, the program executable by the processor is used for executing the video stream secure sharing method.
The computer readable storage medium of the embodiment of the application can execute the video stream security sharing method provided by the embodiment of the method of the application, and can execute the steps of any combination implementation of the embodiment of the method, thereby having the corresponding functions and beneficial effects of the method.
Embodiments of the present application also disclose a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions may be read from a computer-readable storage medium by a processor of a computer device, and executed by the processor, to cause the computer device to perform the method shown in fig. 1.
In some 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 flowcharts of the present application 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 a larger operation are performed independently.
Furthermore, while the present application has been described in the context of functional modules, it should be appreciated that, unless otherwise indicated, one or more of the functions and/or features described above 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 separate physical devices or software modules. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary to an understanding of the present application. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be apparent to those skilled in the art from consideration of their attributes, functions and internal relationships. Accordingly, one of ordinary skill in the art can implement the application as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative and are not intended to be limiting upon the scope of the application, which is to be defined in 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 stand-alone product, may be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or a part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above-described method of the various embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing 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). In addition, the computer-readable medium may even be paper or other suitable medium upon which the program described above is printed, as the program described above may 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 is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the foregoing description of the present specification, reference has been made to the terms "one embodiment/example", "another embodiment/example", "certain embodiments/examples", and the like, 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 application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. 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 application have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the application, the scope of which is defined by the claims and their equivalents.
While the preferred embodiment of the present application has been described in detail, the present application is not limited to the above embodiments, and various equivalent modifications and substitutions can be made by those skilled in the art without departing from the spirit of the present application, and these equivalent modifications and substitutions are intended to be included in the scope of the present application as defined in the appended claims.
Claims (10)
1. The video stream safe sharing method is characterized by comprising the following steps of:
acquiring a first play address of a video stream to be shared from a server through a first terminal;
when the first terminal sends the first play address to a 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;
when a 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, wherein the second check code is acquired when the second terminal receives the first playing address;
verifying the second check code according to the first check code, and if verification is successful, sending the video stream to be shared to the second terminal through the server;
the first check code is an automatically generated random check code, when the second check code is the same as the first check code, verification is successful, and the automatically generated random check code cannot be sent to the server when the terminal to be shared again shares the first playing address.
2. The method for securely sharing video streams according to claim 1, further comprising the step of constructing a check code library, which specifically comprises:
when the first terminal sends the first playing address to a plurality of terminals to be shared, generating a plurality of first check codes through the first terminal, and sending the first check codes to the server;
and constructing a check code library according to the first check code.
3. The method for securely sharing video streams according to claim 2, wherein the step of verifying the second check code according to the first check code, and if verification is successful, sending the video stream to be shared to the second terminal through the server specifically includes:
traversing and inquiring the check code library, and if the first check code which is the same as the second check code exists in the check code library, verifying successfully, otherwise, failing to verify;
and when the verification is successful, acquiring a video stream to be shared according to the first play address, and further sending the video stream to be shared to the second terminal through the server.
4. The video stream secure sharing method according to claim 2, further comprising the steps of:
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.
5. A video stream secure sharing method according to any one of claims 1 to 4, wherein: 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 play 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 play 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 by the second terminal according to the first playing address, and sending a second check code to the server by the second terminal, wherein the second check code is acquired when the second terminal receives the first playing address;
the verification module is used for verifying the second check code according to the first check code, and if verification is successful, the video stream to be shared is sent to the second terminal through the server;
the first check code is an automatically generated random check code, when the second check code is the same as the first check code, verification is successful, and the automatically generated random check code cannot be sent to the server when the terminal to be shared again shares the first playing address.
7. The video stream secure sharing system of claim 6, further comprising a check code library construction module, the check code library construction module comprising:
the sending unit is used for generating a plurality of first check codes through the first terminal when the first terminal sends the first play 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 video stream secure sharing system of 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;
the at least one program, when executed by the at least one processor, causes the at least one processor to implement a video stream secure sharing method as claimed in any one of claims 1 to 5.
10. A computer readable storage medium, in which a processor executable program is stored, characterized in that the processor executable program is for performing a video stream secure sharing method according to any of claims 1 to 5 when being executed by a processor.
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 |
PCT/CN2021/140526 WO2022252579A1 (en) | 2021-06-01 | 2021-12-22 | Method, system, and apparatus for securely sharing video stream, 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 |
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 CN113542812A (en) | 2021-10-22 |
CN113542812B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113542812B (en) * | 2021-06-01 | 2023-09-29 | 天翼物联科技有限公司 | Video stream secure sharing method, system, device and storage medium |
WO2023092473A1 (en) * | 2021-11-26 | 2023-06-01 | 京东方科技集团股份有限公司 | Display substrate and preparation method therefor, and display device |
Citations (6)
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 |
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 (5)
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 |
US9916241B2 (en) * | 2015-08-14 | 2018-03-13 | Netapp, Inc. | Storage controller caching using symmetric storage class memory devices |
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 (6)
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
GB202319883D0 (en) | 2024-02-07 |
CN113542812A (en) | 2021-10-22 |
WO2022252579A1 (en) | 2022-12-08 |
GB2623225A (en) | 2024-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110536146B (en) | Live broadcast method and device based on cloud game and storage medium | |
US11451843B2 (en) | Authenticated content discovery | |
CN113542812B (en) | Video stream secure sharing method, system, device and storage medium | |
US10448082B2 (en) | Information exchanging method and device, audio terminal and computer-readable storage medium | |
US20240040174A1 (en) | Managing concurrent content playback | |
CN110096857B (en) | Authority management method, device, equipment and medium for block chain system | |
US8561152B2 (en) | Target-based access check independent of access request | |
US8880651B2 (en) | Method and system for efficient download of data package | |
US20180255359A1 (en) | Method for sharing a captured video clip and electronic device | |
US20170127151A1 (en) | Method and Device for Protecting Video Digital Copyrights | |
US20050163483A1 (en) | Piracy prevention system | |
US10904251B2 (en) | Blockchain-based copyright protection method and apparatus, and electronic device | |
US20100146534A1 (en) | System and Method to Authenticate a Set-Top Box Device | |
WO2020233139A1 (en) | Block chain-based copyright protection method and apparatus, and electronic device | |
US10387872B2 (en) | Browser-based payment for content | |
US11991170B2 (en) | User authentication through registered device communications | |
CN1934862A (en) | Application controlled remote storage. | |
WO2019001082A1 (en) | Authentication method and device for video stream address | |
US20190251242A1 (en) | Method and apparatus for user authentication | |
US9117480B1 (en) | Device for estimating playback time and handling a cumulative playback time permission | |
CN111726694A (en) | Interactive video recovery playing method and device, electronic equipment and storage medium | |
CN108718421A (en) | A kind of requesting song control system and method | |
CN109753769B (en) | Software authorization method and system based on block chain | |
CN109635532A (en) | A kind of picture pick-up device and its binding method | |
CN111083497B (en) | Video screenshot 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 |