CN106899865A - A kind of encryption method and device, decryption method and device and security system - Google Patents

A kind of encryption method and device, decryption method and device and security system Download PDF

Info

Publication number
CN106899865A
CN106899865A CN201710168398.3A CN201710168398A CN106899865A CN 106899865 A CN106899865 A CN 106899865A CN 201710168398 A CN201710168398 A CN 201710168398A CN 106899865 A CN106899865 A CN 106899865A
Authority
CN
China
Prior art keywords
played
contents
encrypted
user account
encryption
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.)
Pending
Application number
CN201710168398.3A
Other languages
Chinese (zh)
Inventor
张毅军
陆艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wanwei Yunshi (shanghai) Digital Technology Co Ltd
Original Assignee
Wanwei Yunshi (shanghai) Digital Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wanwei Yunshi (shanghai) Digital Technology Co Ltd filed Critical Wanwei Yunshi (shanghai) Digital Technology Co Ltd
Priority to CN201710168398.3A priority Critical patent/CN106899865A/en
Publication of CN106899865A publication Critical patent/CN106899865A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/194Transmission of image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/258Client 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/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client
    • H04N21/6334Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key
    • H04N21/63345Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key by transmitting keys

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Graphics (AREA)
  • Storage Device Security (AREA)

Abstract

The purpose of the embodiment of the present invention is to provide a kind of encryption method and device, decryption method and device and security system, including:Solicited message of the mobile terminal to 3D contents to be played is received, the solicited message includes 3D content attribute informations to be played and user account information;According to the 3D content attribute informations to be played, determine whether the 3D contents to be played are the first encrypted content;After it is determined that the 3D contents to be played are first encrypted contents, according to the user account information, determine whether user account has viewing authority;After it is determined that the user account has the viewing authority, the 3D contents to be played are encrypted, obtain encryption 3D and play content, and for the encryption 3D plays content generation licensing, the licensing is encrypted, obtain encrypted permission card.The invention also discloses corresponding encryption device, decryption method and device, security system.

Description

A kind of encryption method and device, decryption method and device and security system
Technical field
The present invention relates to security technology area, in particular to a kind of encryption method and device, decryption method and device And security system.
Background technology
As the arrival of Internet era, 3D technology are constantly ripe, various 3D players are occurred in that, 3D contents are by wireless The channels such as communication network represent the media information for more shaking, having more visual impact to user in terminals such as mobile phone, flat boards. The propagation for being produced as 3D contents of stream media technology is provided convenience, but this media file is also easily illegally duplicated and divides A kind of hair, it is desirable to provide safeguard protection to the media file.For conventional encryption technique, only in traditional wide TV market is broadcast, present content supplier increasingly refines to copyright management, and demand more and more higher, for 3D contents Copyright protection, the need for conventional encryption technique cannot meet the market business.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of encryption method and device, decryption method and device And security system, to try hard to solve the problems, such as or at least alleviate above.
In a first aspect, the embodiment of the present application provides a kind of encryption method, perform in the server, including:
Solicited message of the mobile terminal to 3D contents to be played is received, the solicited message includes 3D contents attributes to be played Information and user account information;
According to the 3D content attribute informations to be played, determine whether the 3D contents to be played are the first encrypted content;
After it is determined that the 3D contents to be played are first encrypted contents, according to the user account information, it is determined that Whether user account has viewing authority;
After it is determined that the user account has the viewing authority, the 3D contents to be played are encrypted, Obtain encryption 3D and play content, and for the encryption 3D plays content generation licensing, the licensing is encrypted, Obtain encrypted permission card.
Alternatively, in the method according to the invention, it is described it is determined that the 3D contents to be played are first encryptions After content, according to the user account information, determine whether user account has viewing authority, including:
According to the user account information, determine whether the user account is legal account;
After it is determined that the user account is the legal account, determine whether the user account has viewing authority.
Alternatively, in the method according to the invention, the solicited message at least also includes mobile terminal attribute information.
It is alternatively, in the method according to the invention, described after it is determined that the user account has the viewing authority, The 3D contents to be played are encrypted, encryption 3D are obtained and is played content, including:
After it is determined that the user account has viewing authority, determine whether the 3D contents to be played are in the second encryption Hold;
After it is determined that the 3D contents to be played are not second encrypted contents, believed according to the mobile terminal attribute Breath, generates key, and the 3D contents to be played are encrypted using the key, obtains the encryption 3D and plays interior Hold.
Alternatively, in the method according to the invention, it is described for the encryption 3D plays content generation licensing, to described Licensing is encrypted, and obtains encrypted permission card, including:
According to the mobile terminal attribute information, the licensing is encrypted, obtains the encrypted permission card.
Second aspect, embodiments herein provides a kind of decryption method, performs in the terminal, including:
Playing request of the user to 3D contents to be played is received, the playing request is believed including 3D contents attributes to be played Breath;
According to the 3D content attribute informations to be played, determine whether the 3D contents to be played are that encryption is played in 3D Hold;
After it is determined that the 3D contents to be played play 3D contents for the encryption, sending encrypted permission card to server please Ask;
After the encrypted permission card is received, cipher key acquisition request is sent to the server;
After the key is received, the 3D contents to be played are decrypted and played.
Alternatively, in the method according to the invention, the playing request includes user account information, described it is determined that institute After 3D contents to be played are stated for the encryption broadcasting 3D contents, encrypted permission card request is sent to server, including:
According to the user account information, determine whether user account has viewing authority;
After it is determined that the user account has the viewing authority, sending the encrypted permission card to the server please Ask.
The third aspect, the embodiment of the present application provides a kind of encryption device, resides in server, including:
Request reception unit, for receiving solicited message of the mobile terminal to 3D contents to be played, the request packet Include 3D content attribute informations to be played and user account information;
Requesting processing, for according to the 3D content attribute informations to be played, determining that the 3D contents to be played are No is the first encrypted content;
Authority determining unit, for after it is determined that the 3D contents to be played are first encrypted contents, according to described User account information, determines whether user account has viewing authority;
Ciphering unit, for after it is determined that the user account has the viewing authority, to the 3D contents to be played It is encrypted, obtains encryption and play 3D contents, and for 3D contents generation licensing is played in the encryption, to the licensing It is encrypted, obtains encrypted permission card.
Alternatively, in a device in accordance with the invention, the authority determining unit is additionally operable to:
According to the user account information, determine whether the user account is legal account;
After it is determined that the user account is the legal account, determine whether the user account has viewing authority.
Alternatively, in a device in accordance with the invention, the solicited message at least also includes mobile terminal attribute information.
Alternatively, in a device in accordance with the invention, the ciphering unit is additionally operable to:
After it is determined that the user account has viewing authority, determine whether the 3D contents to be played are in the second encryption Hold;
After it is determined that the 3D contents to be played are not second encrypted contents, believed according to the mobile terminal attribute Breath, generates key, and the 3D contents to be played are encrypted using the key, obtains the encryption and plays in 3D Hold.
Alternatively, in a device in accordance with the invention, the ciphering unit is additionally operable to:
According to the mobile terminal attribute information, the licensing is encrypted, obtains the encrypted permission card.
Fourth aspect, the embodiment of the present application provides a kind of decryption device, resides in mobile terminal, including:
Request reception unit, for receiving playing request of the user to 3D contents to be played, the playing request includes treating Play 3D content attribute informations;
Content processing unit, for according to the 3D content attribute informations to be played, determining that the 3D contents to be played are No is encryption broadcasting 3D contents;
License request unit, for after it is determined that the 3D contents to be played play 3D contents for the encryption, to clothes Business device sends encrypted permission card request;
Key acquiring unit, for after the encrypted permission card is received, sending key acquisition to the server please Ask;
Content processing unit is played, for after the key is received, being decrypted simultaneously to the 3D contents to be played Play.
Alternatively, in a device in accordance with the invention, the playing request includes user account information, and the licensing please Unit is asked to be additionally operable to:
According to the user account information, determine whether user account has viewing authority;
After it is determined that the user account has the viewing authority, sending the encrypted permission card to the server please Ask.
5th aspect, embodiments herein provides a kind of security system, including encryption device and decryption device as above.
Technology according to the present invention scheme, server enters according to the request of the mobile terminal for receiving to 3D contents to be played Row encryption, and correspondence generation licensing, it is ensured that the security of 3D contents to be played, for data transfer provides safety guarantee, carry The experience of user high.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be attached to what is used needed for embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is a kind of flow chart of encryption method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of decryption method provided in an embodiment of the present invention;
Fig. 3 is a kind of structure chart of encryption device provided in an embodiment of the present invention;
Fig. 4 is a kind of structure chart for decrypting device provided in an embodiment of the present invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention Middle accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only It is a part of embodiment of the invention, rather than whole embodiments.The present invention generally described and illustrated in accompanying drawing herein is real The component for applying example can be arranged and designed with a variety of configurations.Therefore, it is of the invention to what is provided in the accompanying drawings below The detailed description of embodiment is not intended to limit the scope of claimed invention, but is merely representative of selected reality of the invention Apply example.Based on embodiments of the invention, the institute that those skilled in the art are obtained on the premise of creative work is not made There is other embodiment, belong to the scope of protection of the invention.
It should be noted that employed in the present embodiment " more than ", " below " include the value of itself, as more than etc. In, the meaning that is less than or equal to.
Fig. 1 is the flow chart of the encryption method of one embodiment provided in an embodiment of the present invention.As shown in figure 1, the method Perform in the server, start from step S110.
In step s 110, solicited message of the mobile terminal to 3D contents to be played is received, solicited message includes to be played 3D content attribute informations and user account information.Wherein, 3D contents to be played can be but not limited to 3D videos, 2D/3D pictures Deng.3D content attribute informations to be played include title, size, title, the artist of 3D contents to be played of 3D contents to be played Name, copyright statement, title image, URL and other URL etc. that licensing can be obtained.User account information includes using Family account, password, user's pet name, user gradation (such as domestic consumer, VIP user) etc..It being understood, however, that the present invention is not It is limited to this.
In the step s 120, according to 3D content attribute informations to be played, determine whether 3D contents to be played are the first encryption Content, for example, the first encrypted content can refer to whether the 3D contents to be played are VIP member's viewing content.
In one embodiment, after the solicited message for receiving account, e.g., user wishes to watch film server《Ah It is all to reach》, server receive with《A Fanda》Related information such as programm name, copyright information, whether after VIP films, according to In above- mentioned information whether VIP films one determine whether the film is encrypted content, if A Fanda be free video, directly Broadcasting is connect, if it is VIP films to cross A Fanda, follow-up operation is carried out, it is described below.
In step s 130, after it is determined that 3D contents to be played are the first encrypted contents, according to user account information, it is determined that Whether user account has viewing authority.
In one embodiment, according to user account information, determine whether user account is legal account;It is determined that with Family account watches authority after legal account, to determine whether user account has.Wherein, whether legal account refers generally to the user It is member.
It is same to be watched with user《A Fanda》As a example by illustrate, receiving user to the watching request of A Fanda and determining A Fanda be encrypted content after, according to user account information such as whether determining the identity of user with user account.If current User account is visitor's identity (non-member's identity), then video playback (or allowing to be to see a few minutes) is not carried out, if currently User account is membership, i.e., legal account, further, judge the user account whether have viewing authority, such as according to Family grade judges whether the user account has viewing authority, if the user account is domestic consumer, determines the user account Without viewing authority, if the user account is VIP user, determine that the user account has viewing authority.
In step S140, after it is determined that user account has the viewing authority, 3D contents to be played are encrypted Treatment, obtains encryption 3D and plays content, and for encryption 3D plays content generation licensing, licensing is encrypted, and obtains To encrypted permission card.The packaging ciphering 3D of generation play content with such as Windows Media Audio (extending entitled .wma) or Windows Media Vedio (the entitled .wmv of extension) are preserved.
In one embodiment, solicited message at least also includes the sequence of mobile terminal attribute information such as mobile terminal Number, MAC Address etc., after it is determined that user account has viewing authority, determine whether 3D contents to be played are the second encrypted content; After it is determined that 3D contents to be played are not the second encrypted contents, according to mobile terminal attribute information, key is generated, using described close Key is encrypted to 3D contents to be played, obtains encryption 3D and plays content.And according to mobile terminal attribute information, to described Licensing is encrypted, and obtains encrypted permission card.
User account be VIP accounts and user's request viewing VIP videos such as《A Fanda》When, judge that A Fanda films are No to have carried out encryption, in order to guarantee data security, VIP videos can be encrypted such as to enter title again before user is transferred to Row encryption, because the video name after encryption has specific such as numeral or monogram, can be judged by the title of the video should Whether video has been encrypted.If the video is unencryption video, key can be obtained by such as key management system, or according to shifting The sequence number of dynamic terminal, to above-mentioned sequence number process and obtains key using hash algorithm, Obfuscating Algorithms or RSA Algorithm, no Cross it should be appreciated that the present invention is not only restricted to the limitation of above-mentioned algorithm.3D contents to be played are encrypted using the key, Finally give encryption 3D and play content, for example, according to key using triple DEAs (such as symmetrical 3DES algorithms) to regarding Frequency file carries out section encryption, and is preserved on server such as 3D memory storage servers, and viewing is downloaded to provide user at any time. In addition, can increase encryption 3D plays the ageing of content, it is 1 month such as to set the timeliness of the 3D encrypted contents, timeliness failure Afterwards, server can be encrypted again.After encryption 3D broadcasting contents are obtained, licensing is generated, according to the sequence of mobile terminal Number, the sequence number of mobile terminal process obtaining key using hash algorithm or Obfuscating Algorithms, using the key to license Card is encrypted, and finally gives encrypted permission card.It being understood, however, that the above-mentioned algorithm that is encrypted is only schematical, All algorithms that can be encrypted are all within the scope of the present invention.
Fig. 2 is the flow chart of the decryption method of one embodiment provided in an embodiment of the present invention.As shown in Fig. 2 the method Perform in the terminal, start from step S210.
In step S210, playing request of the user to 3D contents to be played is received, playing request is included in 3D to be played Hold attribute information.When user watches video by mobile terminal, user can click on choosing by mobile phone touch input or mouse Video is selected, playing request is generated according to the 3D contents to be played of the selection of user.
In step S220, according to 3D content attribute informations to be played, determine whether 3D contents to be played are that encryption is played 3D contents.Wherein, the title of 3D content attribute informations to be played including 3D contents to be played, whether VIP videos, playing duration, Programme information etc..
In step S230, after it is determined that 3D contents to be played play 3D contents for encryption, send encryption to server and permitted Request can be demonstrate,proved.Encrypted permission card request include 3D content attribute informations such as title to be played, whether the information such as VIP videos, take Business device sends corresponding encrypted permission and demonstrate,proves according to 3D content attribute informations to be played, to mobile terminal.When mobile terminal is by answering Played for the first time during such as video with (APP), mobile terminal can obtain the licensing for playing current video to server.Permitted in acquisition Before can demonstrate,proving, mobile terminal can detect current video with the presence or absence of licensing, if being not detected by the licensing of current video, move Dynamic terminal can point out user to be registered, the legitimacy for judging user.It is legal in the user for confirming current mobile terminal After user, user may browse through the video to be watched, server can according to user class in mobile terminal (or viewing authority) and The expense situation of user account carries out issuing for licensing (License).It is made up of two parts in License:Decruption key And authority information.Authority information is stated using such as XML format, wherein can describe the License and allowing the time for using, playing Number of times, user change clock after whether allow play etc. information.Mobile terminal can read License after obtaining the License In authority information, use scope and the cycle of user are controlled according to authority information, and ensure the storage safety of License.
In one embodiment, playing request includes user account information, and user account information includes user account, close Code, user class etc., according to user account information such as user class, determine whether user account has viewing authority;It is determined that After user account has viewing authority, encrypted permission card request is sent to the server.
In step S240, after encrypted permission card is received, the user Gen Mi that mobile terminal is prestored using itself Key is decrypted to licensing, further, key such as 3D videos cipher key acquisition request is sent to server.Wherein, key is obtained Request includes 3D content attribute informations to be played, server after the cipher key acquisition request for receiving mobile terminal, according to treating 3D content attribute informations are played, key is sent to above-mentioned mobile terminal.
In step s 250, after the key is received, 3D contents to be played are decrypted and are played.
In one embodiment, user using mobile terminal such as mobile phone watch video when, user can by mobile phone showing Display screen select the video to be watched such as A Fanda, mobile terminal after the watching request for receiving user, first according to video Attribute information, judges whether the video is that content such as VIP videos are played in encryption.If A Fanda is VIP videos, according to user's account User class in the information of family determines whether user has viewing authority.
User class generally comprises visitor's identity, regular member and senior member (VIP), if the user account is visitor Identity or regular member, then the user account is without viewing authority, when only the user account is senior member, user's account Family just can user's viewing authority.
It is determined that user account have viewing authority after, mobile terminal to server send encrypted permission card request, should plus Close license request include 3D content attribute informations to be played 3D content names for example to be played, whether VIP videos etc., server The 3D content attribute informations to be played sent according to mobile terminal return to the corresponding encrypted permission such as video and demonstrate,prove.Mobile terminal is received To after above-mentioned encrypted permission card, treatment is decrypted to above-mentioned encrypted permission card, such as mobile terminal is according to the user for prestoring Root key is first decrypted to encrypted permission card.After the above-mentioned encrypted permission card of mobile terminal successful decryption, mobile terminal is to clothes Business device send cipher key acquisition request, the cipher key acquisition request include 3D content attribute informations such as video name to be played, whether VIP videos etc., server is sent to mobile terminal corresponding key according to 3D content attribute informations to be played, and mobile terminal connects After receiving key, the header file in 3D content-datas bag to be played is read, confirm the Key Sequence Number of AES and use, utilized The key of acquisition is decrypted to 3D contents to be played and processes and play.
Technology according to the present invention scheme, server enters according to the request of the mobile terminal for receiving to 3D contents to be played Row encryption, and correspondence generation encrypted permission card, it is ensured that the security of 3D contents to be played, for data transfer provides safety guarantor Barrier, improves the experience of user.
Fig. 3 is a kind of structure chart of encryption device provided in an embodiment of the present invention.As described in Figure 3, the device resides in clothes In business device, including:Request reception unit 310, requesting processing 320, authority determining unit 330 and ciphering unit 340.
Request reception unit 310 is used to receive solicited message of the mobile terminal to 3D contents to be played, the solicited message At least include 3D content attribute informations to be played, user account information and mobile terminal attribute information.
Requesting processing 320 is used for according to the 3D content attribute informations to be played, determines the 3D contents to be played Whether it is the first encrypted content.
Authority determining unit 330 is used for after it is determined that the 3D contents to be played are first encrypted contents, according to institute User account information is stated, determines whether user account has viewing authority.Wherein, authority determining unit 330 can also be according to institute User account information is stated, determines whether the user account is legal account;It is determined that the user account is the legal account Behind family, determine whether the user account has viewing authority.
Ciphering unit 340 is used for after it is determined that the user account has the viewing authority, in the 3D to be played Appearance is encrypted, and obtains encryption and plays 3D contents, and for 3D contents generation licensing is played in the encryption, to the license Card is encrypted, and obtains encrypted permission card.Wherein, ciphering unit 340 is additionally operable to it is determined that the user account has sight After seeing authority, determine whether the 3D contents to be played are the second encrypted content;It is determined that the 3D contents to be played are not institutes After stating the second encrypted content, according to the mobile terminal attribute information, key is generated, using the key to the 3D to be played Content is encrypted, and obtains the encryption and plays 3D contents.According to the mobile terminal attribute information, to the licensing It is encrypted, obtains the encrypted permission card.
Fig. 4 is according to a kind of structure chart for decrypting device provided in an embodiment of the present invention.As shown in figure 4, the device is resident In the terminal, including:Request reception unit 410, content processing unit 420, license request unit 430, key are obtained Unit 440 and broadcasting content processing unit 450.
Request reception unit 410 is used to receive playing request of the user to 3D contents to be played, and the playing request is at least Including 3D content attribute informations to be played and user account information.
Content processing unit 420 is used for according to the 3D content attribute informations to be played, determines the 3D contents to be played Whether it is that 3D contents are played in encryption.
License request unit 430 is used for after it is determined that the 3D contents to be played play 3D contents for the encryption, to Server sends encrypted permission card request.Wherein, license request unit 430 is additionally operable to according to the user account information, really Determine whether user account has viewing authority;After it is determined that the user account has the viewing authority, to the server Send the encrypted permission card request.
Key acquiring unit 440 is used for after the encrypted permission card is received, and sending key to the server obtains Request.
Playing content processing unit 450 is used for after the key is received, and the 3D contents to be played are decrypted And play.
A kind of encryption device that the embodiment of the present invention is provided, decryption device can be specific hardware or peace in equipment Loaded on software or firmware in equipment etc..The technique effect of the device that the embodiment of the present invention is provided, its realization principle and generation Identical with preceding method embodiment, to briefly describe, device embodiment part does not refer to part, refers to preceding method embodiment Middle corresponding contents.It is apparent to those skilled in the art that, for convenience and simplicity of description, described above is The specific work process of system, device and unit, may be referred to the corresponding process in above method embodiment, no longer go to live in the household of one's in-laws on getting married herein State.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, can be by other sides Formula is realized.Device embodiment described above is only schematical, for example, the division of the unit, only one kind are patrolled Collect function to divide, there can be other dividing mode when actually realizing, but for example, multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some communication interfaces Connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in the embodiment that the present invention is provided can be integrated in a processing unit, also may be used Being that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it need not be further defined and explained in subsequent accompanying drawing, additionally, term " the One ", " second ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Finally it should be noted that:Embodiment described above, specific embodiment only of the invention, is used to illustrate the present invention Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light Change is readily conceivable that, or equivalent is carried out to which part technical characteristic;And these modifications, change or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of embodiment of the present invention technical scheme.Should all cover in protection of the invention Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (15)

1. a kind of encryption method, performs in the server, it is characterised in that including:
Solicited message of the mobile terminal to 3D contents to be played is received, the solicited message includes 3D content attribute informations to be played And user account information;
According to the 3D content attribute informations to be played, determine whether the 3D contents to be played are the first encrypted content;
After it is determined that the 3D contents to be played are first encrypted contents, according to the user account information, user is determined Whether account has viewing authority;
After it is determined that the user account has the viewing authority, the 3D contents to be played are encrypted, obtained Encryption 3D plays content, and for the encryption 3D plays content generation licensing, the licensing is encrypted, and obtains Encrypted permission is demonstrate,proved.
2. the method for claim 1, it is characterised in that it is described it is determined that the 3D contents to be played be described first plus After close content, according to the user account information, determine whether user account has viewing authority, including:
According to the user account information, determine whether the user account is legal account;
After it is determined that the user account is the legal account, determine whether the user account has viewing authority.
3. the method for claim 1, it is characterised in that the solicited message is at least also believed including mobile terminal attribute Breath.
4. method as claimed in claim 3, it is characterised in that described it is determined that the user account has the viewing authority Afterwards, the 3D contents to be played are encrypted, obtain encryption 3D and play content, including:
After it is determined that the user account has viewing authority, determine whether the 3D contents to be played are the second encrypted content;
It is raw according to the mobile terminal attribute information after it is determined that the 3D contents to be played are not second encrypted contents Into key, the 3D contents to be played are encrypted using the key, obtain the encryption 3D and play content.
5. method as claimed in claim 3, it is characterised in that described is that the encryption 3D plays content generation licensing, right The licensing is encrypted, and obtains encrypted permission card, including:
According to the mobile terminal attribute information, the licensing is encrypted, obtains the encrypted permission card.
6. a kind of decryption method, performs in the terminal, it is characterised in that including:
Playing request of the user to 3D contents to be played is received, the playing request includes 3D content attribute informations to be played;
According to the 3D content attribute informations to be played, determine whether the 3D contents to be played are that 3D contents are played in encryption;
After it is determined that the 3D contents to be played play 3D contents for the encryption, encrypted permission card request is sent to server;
After the encrypted permission card is received, cipher key acquisition request is sent to the server;
After the key is received, the 3D contents to be played are decrypted and played.
7. method as claimed in claim 6, it is characterised in that the playing request includes user account information, described true After the fixed 3D contents to be played play 3D contents for the encryption, encrypted permission card request is sent to server, including:
According to the user account information, determine whether user account has viewing authority;
After it is determined that the user account has the viewing authority, the encrypted permission card request is sent to the server.
8. a kind of encryption device, resides in server, it is characterised in that including:
Request reception unit, for receiving solicited message of the mobile terminal to 3D contents to be played, the solicited message includes treating Play 3D content attribute informations and user account information;
Requesting processing, for according to the 3D content attribute informations to be played, determine the 3D contents to be played whether be First encrypted content;
Authority determining unit, for after it is determined that the 3D contents to be played are first encrypted contents, according to the user Accounts information, determines whether user account has viewing authority;
Ciphering unit, for after it is determined that the user account has the viewing authority, being carried out to the 3D contents to be played Encryption, obtains encryption and plays 3D contents, and for 3D contents generation licensing is played in the encryption, the licensing is carried out Encryption, obtains encrypted permission card.
9. device as claimed in claim 8, it is characterised in that the authority determining unit is additionally operable to:
According to the user account information, determine whether the user account is legal account;
After it is determined that the user account is the legal account, determine whether the user account has viewing authority.
10. device as claimed in claim 8, it is characterised in that the solicited message is at least also believed including mobile terminal attribute Breath.
11. devices as claimed in claim 10, it is characterised in that the ciphering unit is additionally operable to:
After it is determined that the user account has viewing authority, determine whether the 3D contents to be played are the second encrypted content;
It is raw according to the mobile terminal attribute information after it is determined that the 3D contents to be played are not second encrypted contents Into key, the 3D contents to be played are encrypted using the key, obtain the encryption and play 3D contents.
12. devices as claimed in claim 10, it is characterised in that the ciphering unit is additionally operable to:
According to the mobile terminal attribute information, the licensing is encrypted, obtains the encrypted permission card.
A kind of 13. decryption devices, reside in mobile terminal, it is characterised in that including:
Request reception unit, for receiving playing request of the user to 3D contents to be played, the playing request includes to be played 3D content attribute informations;
Content processing unit, for according to the 3D content attribute informations to be played, determine the 3D contents to be played whether be 3D contents are played in encryption;
License request unit, for after it is determined that the 3D contents to be played play 3D contents for the encryption, to server Send encrypted permission card request;
Key acquiring unit, for after the encrypted permission card is received, cipher key acquisition request being sent to the server;
Content processing unit is played, for after the key is received, the 3D contents to be played being decrypted and being played.
14. devices as claimed in claim 13, it is characterised in that the playing request includes user account information, described to be permitted Request unit can be demonstrate,proved to be additionally operable to:
According to the user account information, determine whether user account has viewing authority;
After it is determined that the user account has the viewing authority, the encrypted permission card request is sent to the server.
15. a kind of security systems, it is characterised in that including encryption device and right as any one of claim 8-12 It is required that the decryption device described in 13 or 14.
CN201710168398.3A 2017-03-21 2017-03-21 A kind of encryption method and device, decryption method and device and security system Pending CN106899865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710168398.3A CN106899865A (en) 2017-03-21 2017-03-21 A kind of encryption method and device, decryption method and device and security system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710168398.3A CN106899865A (en) 2017-03-21 2017-03-21 A kind of encryption method and device, decryption method and device and security system

Publications (1)

Publication Number Publication Date
CN106899865A true CN106899865A (en) 2017-06-27

Family

ID=59193948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710168398.3A Pending CN106899865A (en) 2017-03-21 2017-03-21 A kind of encryption method and device, decryption method and device and security system

Country Status (1)

Country Link
CN (1) CN106899865A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314781A (en) * 2018-12-11 2020-06-19 青岛海尔多媒体有限公司 Local file encryption method, device, equipment and storage medium
CN113055311A (en) * 2021-03-10 2021-06-29 中山大学 User grouping-based code caching method, system and device
CN115065843A (en) * 2022-07-22 2022-09-16 广州万协通信息技术有限公司 Video encryption and decryption processing method and system under security authentication

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333236A (en) * 2011-10-27 2012-01-25 中国华录集团有限公司 Video content encryption and decryption system
CN102546562A (en) * 2010-12-22 2012-07-04 腾讯科技(深圳)有限公司 Encrypting and decrypting method and system during transmission of data in web
CN102546609A (en) * 2010-12-15 2012-07-04 微软公司 Stream transmission with encrypted content
CN106375763A (en) * 2016-11-25 2017-02-01 合肥工业大学 Slepian-Wolf technology based video encryption-decryption method and encryption-decryption system thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546609A (en) * 2010-12-15 2012-07-04 微软公司 Stream transmission with encrypted content
CN102546562A (en) * 2010-12-22 2012-07-04 腾讯科技(深圳)有限公司 Encrypting and decrypting method and system during transmission of data in web
CN102333236A (en) * 2011-10-27 2012-01-25 中国华录集团有限公司 Video content encryption and decryption system
CN106375763A (en) * 2016-11-25 2017-02-01 合肥工业大学 Slepian-Wolf technology based video encryption-decryption method and encryption-decryption system thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314781A (en) * 2018-12-11 2020-06-19 青岛海尔多媒体有限公司 Local file encryption method, device, equipment and storage medium
CN113055311A (en) * 2021-03-10 2021-06-29 中山大学 User grouping-based code caching method, system and device
CN115065843A (en) * 2022-07-22 2022-09-16 广州万协通信息技术有限公司 Video encryption and decryption processing method and system under security authentication
CN115065843B (en) * 2022-07-22 2022-12-20 广州万协通信息技术有限公司 Video encryption and decryption processing method and system under security authentication

Similar Documents

Publication Publication Date Title
US11706200B2 (en) Tracking and analyses of content presentation
US11055429B2 (en) Key providing method, video playing method, server and client
US9979992B2 (en) Systems and methods for securely providing adaptive bit rate streaming media content on-demand
CN106105133B (en) System and method about interim trusting relationship is established between network-based media services and digital Media renderer
US9794602B2 (en) Systems and methods for securely providing streaming media content on-demand
Lotspiech et al. Broadcast encryption's bright future
US20130276139A1 (en) Method and apparatus for accessing content protected media streams
JP2011526136A (en) Segmented media content copyright management
CN104735484B (en) A kind of method and device for playing video
CN104144160A (en) Online video resource downloading prevention method and system
CN112532629B (en) Data transmission method, device, equipment and medium
CN107145769A (en) A kind of digital rights management method about DRM, equipment and system
CN106899865A (en) A kind of encryption method and device, decryption method and device and security system
TW201215110A (en) System and method for privacy-preserving advertisement selection
CN108769749A (en) A kind of determining method, client and server for stealing brush data
CN107426589B (en) A kind of video request, video broadcasting method and device
CN102497269A (en) Bill authentication method and bill authentication system
CN110022483A (en) A kind of hiding present information processing method, electronic equipment and readable storage medium storing program for executing
CN110381375A (en) A kind of determining method, client and server for stealing brush data
EP4221086A1 (en) Computing system with device attestation feature
JP2011233153A (en) Content distribution system
CN102231854A (en) Multimedia broadcasting program recording method and data card equipment
WO2015189833A1 (en) Streaming of secure content in a home network
CN115665469A (en) Screen projection method and system
CN118301432A (en) Video watermark adding method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170627

RJ01 Rejection of invention patent application after publication