Streaming media service method and system for customizing information security level
Through key agent technology and key relay servers, the authority control and information security issues of audio and video streaming services between different suppliers are solved, ensuring the security of streaming media services and the protection of user data, and achieving efficient information security management.
Patent Information
- Application Number
- CN202111072203.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-09-14
AI Technical Summary
Existing audio and video streaming services have problems in permission control and information security. Especially when streaming services and application services belong to different suppliers, permission control on the terminal application server is difficult to ensure the security of user data and business secrets. , and third-party login may lead to the risk of user information being leaked or being skimmed.
Using key agent technology, it provides streaming media service providers with a decryption key server through standard communication protocols (such as https). Keys are only exchanged server-to-server and end-user identity authentication is completed on the application server to ensure encryption. The key is only transmitted to the authorized party, and through the key relay server and access token mechanism, it is ensured that only legitimate users can decrypt the streaming media content.
It realizes streaming media services under different information security level requirements, ensuring that members’ personal information or business secrets will not be leaked, improving the security of streaming media services and avoiding the risk of user data leakage and business secrets leakage.
Smart Images

Figure CN115811625B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a streaming media service method and system for customizing information security levels, in particular to a streaming media service capable of preventing information leakage. Background Art
[0002] Video and audio streaming services are divided into live and video on demand. In the past, application service providers with such needs had to build their own hardware and software systems, including application software, streaming software, servers, Internet bandwidth, and colocation. In the era of cloud computing, virtual machines have begun to be used as cloud services (Infrastructure as a Service), solving the above-mentioned colocation problems.
[0003] Since the audio and video streaming service is a cloud application service, system developers need to develop not only software programs related to their applications, but also the more difficult audio and video streaming software. Moreover, developers also need to design the hardware and software architecture of large-scale and massive services to satisfy the good user experience of a large number of viewers, which is quite difficult for most software engineers. The Platform as a Service (Platform as a Service) of the audio and video streaming service can solve the above problems, allowing application software engineers to focus on their more familiar areas and directly use the audio and video streaming software, hosting, bandwidth, computer room and other services provided by the audio and video streaming service platform. Application software engineers only need to use dedicated or standard player software to present the streaming audio and video content on the terminal device of their application service software.
[0004] Since the audience of video streaming services is an important asset of application service providers, application service providers usually do not exchange any information related to end users with platform service providers for the purpose of protecting personal information and business secrets. Therefore, when end users must go through the login authorization procedure before they can watch, the application service software system must add login information permission control to the player program to ensure that only authorized users can watch; however, there is a disadvantage in controlling permissions with the player program. Anyone who can obtain the streaming URL can skip the player provided by the application service platform and use any player that supports the video streaming protocol to watch the video without authorization. Therefore, most practices are to encrypt the video and send it out, and provide the address of the decryption key server to the player, and then check the login and permission information of the application server in the decryption key server program.
[0005] This approach will create another problem when streaming media services and application services belong to different suppliers, that is, the issue of permission control on the terminal application server. As mentioned earlier, the audience of audio and video streaming services is an important asset of application service providers. The streaming media service platform cannot and will not own the account data of the terminal application server. Using a third party to log in will also have the risk of exposing user personal information or being eavesdropped, which will call the security of streaming media service providers into question.
[0006] In order to solve the above problems, the present invention has developed a streaming media service using key proxy technology. The provider of streaming media content (that is, the application service provider) uses a standard communication protocol (such as https) as a key server to provide decryption keys to its users. This key server is also called a key relay server. The key server of the streaming media service provider of the present invention and the key relay server of the application service provider will only exchange keys in a Server-to-Server manner. The terminal user's identity authentication or login behavior is completed in the online system of the application service provider. From now on, there is no need to worry about any personal information or business secrets being leaked by the streaming media service provider. Summary of the invention
[0007] In view of this, the present invention provides a streaming media service method and system with customized information security level, which can provide streaming media service according to the different information security requirements of the application server, and meet the requirements of the application server with high information security without leaking any personal information or business secrets of members.
[0008] The present invention provides a streaming media service method and system for customizing information security levels, and the process is as follows: 1. The application service system provides a server address URLA of a decryption key to the streaming media service system registration table, and the address belongs to the application service system; 2. The streaming media service system provides a decryption key server address URLS and an access token (token) that is exclusive to the application service system, and the token is confidential content, which is only known by the application service system and the streaming media service system and will not be transmitted on the terminal user's device or network; 3. When the player obtains the encrypted audio and video streaming media data from the streaming media service system, it also obtains the URLS of ... RLA, and then indirectly obtains the decryption key through URLA as a relay server; 4. URLA and the player belong to the same application service system. URLA can check the application server permissions of the terminal user. Only those who have the right to watch the video streaming media will transfer the key. If they do not have the permission, the key will be refused. Therefore, those without permission cannot illegally watch the streaming media content; 5. The URLA program is provided by the application system. The program accepts the player's request to provide the decryption key, but it does not have the decryption key, so it must obtain the decryption key from URLS in real time with a dedicated token. In order to ensure that the key can only be transmitted to this specific application service system, the URLS program will check whether the token is correct.
[0009] Preferably, the present invention provides a method and system for customized information security level streaming media service to meet the needs of an application server (operator) with different information security requirements, such as teaching videos of cram schools.
[0010] As mentioned above, at the beginning, the cram school has general requirements for information security, and the process is as follows: the cram school uploads a video file to a streaming media module, and the streaming media module divides the video file into several packet data; then these packet data are stored in a streaming media database corresponding to the application server; several terminal devices link to the streaming media database according to the streaming media database address published by the application server to obtain these packet data; a player application is executed on these terminal devices to decapsulate these packet data and play the video file.
[0011] As mentioned above, when the number of students in the online teaching system developed by the cram school is different from the number of streaming media viewers provided by this system (someone finds the streaming media URL from the online teaching software, and then enters this URL with general playback software to watch the class content for free); further, the cram school changes its information security requirements to intermediate requirements, and asks this system to provide encryption functions so that only the student members of this cram school can see it. Therefore, the cram school provides a member list and member information to the key server of this system, so that the key server can verify the member identity; the process is as follows: the streaming media module receives the video file uploaded by the cram school and divides the video file into multiple packet data; the streaming media module performs an encryption operation on these packet data, and stores a corresponding decryption key to a key server; further, a key address (URL S ) and store it in the streaming media database; these terminal devices obtain the packet data according to the streaming media database address provided by the cram school, and further according to the annotated URL S Connect to a key server (KeyAPI Server) belonging to a streaming media server; the streaming media server verifies based on a member list provided by the application server, and provides a decryption key to the terminal device if the verification is passed; run the player application on these terminal devices and decrypt and unpack these package data based on the decryption key to play the video file.
[0012] As mentioned above, the cram school is worried about the leakage of member data, so it changes the information security requirements to advanced requirements; the process is as follows: a management module requires an application server to input a key relay address (URL) where a key relay server (Key Relay Server) is located. A ); the streaming media module connects to the management module, receives a video file uploaded by the application server, and divides the video file into several packets; the streaming media module encrypts the packets and stores the decryption key in the key server; the streaming media module transmits an access token to the cram school, and the cram school obtains the decryption key from the key server based on the access token and stores it in the key relay server; after the encryption operation, the key relay address (URL) is further added A ) and store it in the streaming media database; these terminal devices link the streaming media database to obtain these packet data according to the streaming media database address provided by the cram school, and further according to the URL AConnect to the key relay server of the cram school; the cram school verifies and logs in the members by itself, and after the verification, it provides the decryption key to the terminal device. It is worth noting that the cram school does not need to provide any member data to the streaming media server, so as to achieve the effect of information security and confidentiality; the player application is executed on these terminal devices to decrypt and unpack these package data according to the decryption key and play the video file. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 is a schematic diagram of a streaming media service system with customized information security level of the present invention;
[0014] Figure 2 It is a schematic diagram of a streaming media service method for customizing information security levels of the present invention;
[0015] Figure 3 It is a schematic diagram of a streaming media service method for advocating customized information security level of a film according to the present invention;
[0016] Figure 4 It is a schematic diagram of a streaming media service method for customized information security level of live video of the present invention;
[0017] Figure 5 It is a schematic diagram of a streaming media service method for customizing information security levels of teaching videos of the present invention;
[0018] Figure 6 It is a flow chart of a preferred embodiment of the present invention.
[0019] Explanation of the accompanying drawings: streaming media service end 10; key server 110; management module 120; streaming media module 130; application server 20; key relay server 210; movie file 220; real-time movie 230; terminal device 30; streaming media service method steps S1-S15 for customized information security level; streaming media service method steps C10-C40 for customized information security level for advocacy movies; streaming media service method steps B10-B70 for customized information security level for live movies; streaming media service method steps A10-A80 for customized information security level for teaching movies; a preferred embodiment process steps D10-D110. DETAILED DESCRIPTION
[0020] The present invention provides a streaming media service method and system for customizing information security levels. The system configuration can refer to Figure 1 ,Include:
[0021] A first-class streaming media server 10 provides streaming media services, including:
[0022] A key server 110 (Key API Server) stores a decryption key;
[0023] A management module 120, which creates application server data for an application server 20;
[0024] A streaming media module 130, which divides a video file 220 or / and a real-time video 230 into a plurality of packet data and performs an encryption operation, and also provides an access token;
[0025] The application server 20 is connected to the streaming media server 10, including:
[0026] A key relay server 210 (Key Relay Server), which obtains the decryption key from the key server 110 based on an access token (Token), and the application server 20 has management authority over the key relay server 210; and
[0027] A plurality of terminal devices 30 are connected to the application server 20 and have a player application installed thereon.
[0028] The present invention provides a streaming media service method for customizing information security levels, which can refer to Figure 2 , the method steps are as follows:
[0029] S1. A streaming media server 10 comprises a streaming media module 130, which creates several streaming media databases for several application servers 20, and respectively corresponds to a streaming media database address;
[0030] S2. A key server 110 (Key API Server) of the streaming media server 10 is connected to the streaming media module 130, and provides a key address (URL) corresponding to the key server 110 S ), the streaming media server 10 has the management authority of the key server 110;
[0031] S3. A management module 120 of the streaming media server 10 is connected to the key server 110 to establish several application server data of these application servers 20, wherein the application server datagrams contain an application server type, an information security level and a contract content;
[0032] S4. If the information security level input by the application server 20 is Class A, the management module 120 further requires the application server 20 to input a key relay address (URL) of a key relay server 210 (Key Relay Server) A ), the application server 20 has the management authority of the key relay server 210;
[0033] S10 streaming media module 130 connection management module 120, receiving a video file (video file) 220 or / and a real-time video 230 uploaded by the application server 20, the streaming media module 130 will be the video file or / and the real-time video is divided into a number of packets of data;
[0034] S11. If the information security level is level C, proceed to step S15;
[0035] S12. The streaming media module 130 encrypts the packet data and stores the corresponding decryption key in the key server 110 (Key API Server);
[0036] S13. If the information security level is A, the streaming media module 130 transmits an access token to the application server 20. The application server 20 obtains the decryption key from the key server 110 (Key API Server) according to the access token and stores it in the key relay address (URL A ) in the key relay server 210 (Key RelayServer);
[0037] S14. After the streaming media module 130 encrypts the packet data, it further adds the key relay address 210 (URL) where the decryption key is located according to the information security level. A ) or / and key address 110 (URL S );as well as
[0038] S15. The packet data and / or the packet data with the URL added thereto are stored in the streaming media database according to the streaming media database address of the corresponding application server 20.
[0039] Preferably, in the above process steps of the present invention, it is worth noting that the key relay server 210 with information security level A is not set up in the streaming media server 10 of the present system, but is set up in the application program of the application server 20 itself.
[0040] Example 1: Promotional film
[0041] The present invention provides a streaming media service method for customizing information security levels, for a public welfare group (application server 20) to publish an advocacy film, which can refer to Figure 3 The information security level of the application server 20 is Class C (general), a first-class media database corresponds to a first-class media database address, and the process of the terminal devices 30 is as follows:
[0042] C10. A streaming media module 130 is connected to a management module 120, receiving a video file 220 uploaded by the application server 20, and the streaming media module 130 divides the video file 220 into several packets of data;
[0043] C20. These packet data are stored in the streaming media database corresponding to the streaming media database address of the application server 20;
[0044] C30 terminal device 30 according to the application server 20 released streaming media database address link streaming media database, obtain these packet data; and
[0045] C40. The terminal device 30 decapsulates the packaged data and plays the video file 220 by running the player application.
[0046] Example 2: Live video
[0047] The present invention provides a streaming media service method for customizing information security levels, which is used by a live broadcast terminal to publish a live broadcast video. Figure 4 The information security level of the live broadcast end (application server 20) is B (intermediate), the streaming media database corresponds to the streaming media database address, and the process of several terminal devices 30 is as follows:
[0048] B10. A streaming media module 130 is connected to a management module 120, receiving a real-time video 230 uploaded by the application server 20, and the streaming media module 130 divides the real-time video 230 into several packets of data;
[0049] B20 streaming media module 130 performs an encryption operation on these packet data, and stores the corresponding decryption key to a key server 110 (Key API Server);
[0050] B30. After the streaming media module 130 encrypts the packet data, it further adds the key address (URL) of the key server 110 (Key API Server) where the decryption key is located. S ), and store it in the streaming media database according to the streaming media database address corresponding to the application server 20;
[0051] B40 terminal device 30 according to the application server 20 provides streaming media database address link streaming media database, obtain these packet data, further in accordance with these packet data annotated URL S Connect to the key server 110 (Key API Server) to which the streaming media server belongs;
[0052] B50. A streaming media server 10 verifies the membership list provided by the application server 20, and if the verification is successful, the decryption key is provided to the terminal device 30;
[0053] B60 terminal device 30 by running the player application, and use the decryption key to decrypt the unsealed packet data, play the live video; and
[0054] B70. The streaming media server 10 collects member login information and provides a statistical report to the application server 20.
[0055] In the above embodiment, step B50 may also be that the streaming media server 10 submits the member login information to the application server 20 for verification after receiving the member login information.
[0056] Example 3: Teaching Video
[0057] The present invention provides a streaming media service method for customizing information security levels, which is used by a cram school to publish a teaching video. Figure 5 , the information security level of the cram school (application server 20) is A (high level), the first-stream media database corresponds to the first-stream media database address, and the process of the terminal devices 30 is as follows:
[0058] A10. A management module 120 requires the application server 20 to input a key relay server 210 (Key RelayServer) where a key relay address (URL A );
[0059] A20. A streaming media module 130 connects to the management module 120, receives a video file 220 uploaded by the application server 20, and the streaming media module 130 divides the video file 220 into several packets of data;
[0060] A30 streaming media module 130 performs an encryption operation on these packet data, and stores a decryption key corresponding to the decryption to a key server 110 (Key API Server);
[0061] A40. The streaming media module 130 transmits an access token (Token) to the application server 20, and the application server 20 obtains the decryption key from the key server 110 (Key API Server) according to the access token (Token) and stores it in the key relay address (URL A ) in the key relay server 210 (Key Relay Server);
[0062] A50. After the encryption operation is performed on these packets of data, the streaming media module 130 further adds the key relay address (URL) of the key relay server 210 (Key Relay Server) where the decryption key is located. A ), and store it in the streaming media database according to the streaming media database address corresponding to the application server 20;
[0063] A60. The terminal device 30 obtains the packet data by linking the streaming media database address provided by the application server 20, and further annotates the URL of the packet data according to the streaming media database address provided by the application server 20. A Connect to the key relay server 210 (Key Relay Server) to which the application server 20 belongs;
[0064] A70. The application server 20 verifies the login member by itself, and if the verification is passed, the decryption key is provided to the terminal device 30. It is worth noting that the application server 20 does not need to provide any member data to the streaming media server 10, thereby achieving the effect of information security and confidentiality; and
[0065] A80. The terminal device 30 runs the player application and uses the decryption key to decrypt and unpack the packaged data to play the movie file 220.
[0066] Embodiment 4: A preferred embodiment process
[0067] The present invention provides a streaming media service method and system for customizing information security levels. The preferred embodiment process is as follows:
[0068] D10. An application server 20 uploads a video file 220 or / and a real-time video 230 to a streaming media module 130 belonging to a streaming media server 10;
[0069] D20 streaming media module 130 the video file 220 or / and the real-time video 230 is divided into a number of data packets, further compared to the application server 20 of an information security level;
[0070] D30. If the information security level is level C, proceed to step D70;
[0071] D40 further performs an encryption operation on the packet data, and stores the corresponding decryption key to a key server 110 to which the streaming media server 20 belongs;
[0072] D50. If the information security level is A, the streaming media server 10 transmits an access token to the application server 20, and the application server 20 obtains the decryption key from the key server 110 according to the access token and stores it in a key relay address (URLA ) in a key relay server 210 corresponding to the packet data; after the encryption operation, the key relay address (URL) where the decryption key is located is further annotated A );
[0073] D60. If the information security level is level B, the streaming media module 130 performs encryption on these packets of data and further adds the key address (URL) where the decryption key is located. S );
[0074] D70 these packet data and / or these packet data after the annotation URL, according to the application server 20 corresponding to the streaming media database address is stored in a streaming media database;
[0075] D80 application server 20 of several members, in accordance with the application server 20 published streaming media database address on the terminal device 30, link to the streaming media database to obtain these packet data;
[0076] D90. If the information security level is A, the terminal device 30 follows the URL A Linking to the key relay server 210, the application server 20 verifies the member identity by itself. After the verification is passed, the key relay server 210 of the application server 20 provides the decryption key to the terminal device 30;
[0077] D100. If the information security level is B, the terminal device 30 follows the URL S Linking to the key server 110, the streaming media server 10 performs verification according to the member data provided by the application server 20, and after the verification is passed, the key server 110 of the streaming media server 10 provides the decryption key to the terminal device 30; and
[0078] D110. The terminal device 30 runs a player application and uses a decryption key to decrypt and unpack the packaged data to play the video file 220 and / or the real-time video 230.
[0079] It is worth noting that one embodiment of the present invention combines with a cloud service platform to solve the encryption of key delivery; mainly, the encrypted key delivery must be delivered to the end user through the to b customer, and its identity verification must inevitably go through the platform operator, so the to b customer will have the concern of being eavesdropped by the platform operator, but through the present invention, there is no such concern.
[0080] The above embodiments are only for illustrating the principles and effects of the present invention, and their purpose is to enable those familiar with the aforementioned technology to understand the contents of the present invention and implement them accordingly, but they are not intended to limit the present invention; therefore, those familiar with this technology can make equivalent modifications, changes and variations to the above embodiments without departing from the spirit of the present invention; the scope of rights of the present invention should be as listed in the scope of the patent application described below.
Claims
1. A streaming media service method for customizing information security levels, comprising the following steps: D10. An application server uploads a video file or / and a real-time video to a streaming media module on a streaming media server; D20. The streaming media module divides the video file or / and the real-time video into several packets of data, and further compares the information security level of the application server; if the information security level is A, the corresponding decryption key is a key relay address (URL A ); if the information security level is level B, the corresponding decryption key is a key address (URL S ), and if it is a C level, then there is no such URL; D40. The streaming media module performs an encryption operation on these packet data and stores the corresponding decryption key in a key server on the streaming media server; D50. If the information security level is A, the streaming media server sends an access token to the application server. The application server uses the access token to obtain the decryption key from the key server and stores it in the key relay address (URL A ) corresponding to a key relay server; after the encryption operation, these packet data are further annotated with the key relay address (URL) where the decryption key is located A ); D70. These packet data are stored in a first-class streaming media database according to the streaming media database address corresponding to the application server; D80. Several members of the application server link to the streaming database to obtain these packet data according to the streaming database address published by the application server on several terminal devices; D90. If the information security level is A, these terminal devices follow the URL A Link to the key relay server, the application server verifies the identity of these members by itself, and after the verification is passed, the key relay server of the application server will provide the decryption key to these terminal devices; as well as D110. These terminal devices run the player application and use the decryption key to decrypt and unpack the packaged data to play the video file and / or the real-time video.
2. According to the streaming media service method with customized information security level as described in claim 1, the key relay server with information security level of A is under the jurisdiction of the application server and has management authority.
3. According to the streaming media service method for customizing information security levels as described in claim 1, step D20 is also followed by step D30, and if the information security level is level C, step D70 is directly followed.
4. The streaming media service method for customizing information security level as claimed in claim 1, wherein step D40 is further followed by step D60, if the information security level is level B, the streaming media module encrypts the packet data and further adds a key address (URL) where the decryption key is located. S ); Step D80 is followed by step D100 if the information security level is B, the terminal device follows the URL S The key server is linked, and the streaming media server verifies according to the member data provided by the application server. After the verification is passed, the key server of the streaming media server provides the decryption key to the terminal device.
5. According to the streaming media service method for customizing information security levels as described in claim 4, after receiving the member login information, the streaming media server can also submit it to the application server for verification.
6. The streaming media service method for customizing information security levels as described in claim 3 or 4, wherein the streaming media service end counts member login information and provides a statistical report to the application service end.
7. A streaming media service system with customized information security level, comprising: A first-class streaming media server, providing streaming media services, including: a management module, establishing application server data for an application server; the application server data includes an information security level; the management module can compare the information security level of the application server; a streaming media module, connected to the management module to receive a video file uploaded by the application server, the streaming media module cuts a video file or / and a real-time video into a plurality of packet data and performs an encryption operation, and stores a decryption key corresponding to the decryption in a key server; The streaming media module transmits an access token to the application server. After the encryption operation is performed on the packet data, the streaming media module further adds the address (URL) where the decryption key is located, and stores it in a first-class streaming media database according to the address of the first-class streaming media database corresponding to the application server. The streaming media module compares the information security level of the application server, and if the information security level is A, a key relay address (URL) is added. A ), if it is level B, add a key address (URL S ), and if it is a C level, the URL is not added; A key server stores the decryption key and provides the key address (URL) to the streaming module to be annotated on the packet data; The application server can upload video files and / or real-time videos to the streaming media module of the streaming media server, and the application server includes: A key relay server obtains the decryption key from the key server of the streaming media server based on the access token, and sends the key relay address (URL A ) are provided to the streaming media module to be added to the packet data; and Several terminal devices are connected to the application server, and a player application is installed to decrypt and unpack these package data according to the decryption key, and play the video file or / and the real-time video sequence. If the information security level is A, the terminal device plays the video file according to the URL A The link key relay server requests the decryption key; if the information security level is B, the terminal device follows the URL S The link key server requests a decryption key, decrypts and unpacks the packet data according to the decryption key, and plays the video file and / or the real-time video.
8. In the streaming media service system with customized information security level as described in claim 7, the key relay server is set up in the application server's own system.
9. The streaming media service system for customizing information security level as claimed in claim 7, wherein after the streaming media module encrypts the packet data, if the information security level is A, the URL is added. A , If it is a B-level annotation URL S And if it is level C, the URL is not added.
10. The streaming media service system with customized information security level as claimed in claim 7, wherein when the terminal devices run the player application, the terminal devices A Request the key relay server to provide the decryption key according to the URL S Request the decryption key from the key server.
Citation Information
Patent Citations
Distributed data storage by means of authorisation token
US20170293766A1
KR1018371880000B1
