CN109885986A - A kind of data security protection method of amalgamation media content file - Google Patents
A kind of data security protection method of amalgamation media content file Download PDFInfo
- Publication number
- CN109885986A CN109885986A CN201910062369.8A CN201910062369A CN109885986A CN 109885986 A CN109885986 A CN 109885986A CN 201910062369 A CN201910062369 A CN 201910062369A CN 109885986 A CN109885986 A CN 109885986A
- Authority
- CN
- China
- Prior art keywords
- template
- data
- parsed
- content
- http
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000005267 amalgamation Methods 0.000 title claims abstract description 13
- 239000000126 substance Substances 0.000 claims description 4
- 238000003780 insertion Methods 0.000 description 3
- 230000037431 insertion Effects 0.000 description 3
- 230000007423 decrease Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Storage Device Security (AREA)
Abstract
The present invention relates to data security protecting technical field, especially a kind of data security protection method of amalgamation media content file includes the following steps, step S101: being write as template file according to WEB class description language grammer;Step S102: system reads each WEB class template and parses, and forms chained list in memory;Step S103: the http protocol head in the application of WEB class is parsed;Step S104: template lookup is carried out in template chained list in conjunction with character string multimode matching algorithm;Step S105: HTTP data portion is according to fixed format parsed;Step S106: the corresponding content of keyword is extracted;Step S107: the key content decoded is formatted, is then exported.After adopting the above method, the present invention is suitable for media content, protects the safety of intra-media file data.
Description
Technical field
The present invention relates to data security protecting technical field, the data safety of especially a kind of amalgamation media content file is protected
Maintaining method.
Background technique
The value of protection media content is one of the maximum challenge during media content is delivered.Do not protect correctly, it is interior
Hold the owner, content supplier and service provider to be just unwilling to issue their valuable media content.Past, digital version
Power management is widely used in content protecting.Valuable media content is encrypted using password format, to prevent in media
Hold and carries out unwarranted access.Only there is the talent of due authority can decrypt and access these contents media content.
But digital copyright management is a passively content protection measures, only uses encryption format in media content
Shi Caineng is effectively protected media content.When media content has been decrypted or when in original format, defencive function is just disappeared.
In original format, media content freely can be replicated and be issued.Therefore, it is necessary to a more initiative content protection technologies.It is main
Dynamic content protection technology can be used together with digital copyright management.
102656840 A of Chinese invention patent CN discloses a kind of system for carrying out safeguard protection to media content
And method, it includes: label load is embedded into media content, to generate the media content of insertion;To the media of insertion
Content application transformation, to generate the media content of encryption;Issue the media content of encryption.Label load be based on in media
Hold relevant perception information insertion.
Summary of the invention
The technical problem to be solved by the invention is to provide a kind of data security protection methods of amalgamation media content file.
In order to solve the above technical problems, a kind of data security protection method of amalgamation media content file of the invention, packet
Include following steps,
Step S101: referring to the characteristic of WEB application, write as template file according to WEB class description language grammer.
Step S102: system reads each WEB class template and parses, and forms chained list in memory;
Step S103: the http protocol head in the application of WEB class is parsed, and obtains the interior of URL, HOST, POST/GET
Hold.
Step S104: using URL, HOST, the POST/GET parsed, in conjunction with character string multimode matching algorithm in template strand
Template lookup is carried out in table;It is first compared with the HOST field that parses, url field is then subjected to precise alignment again, found out
The template matched.
Step S105: according to the template found, HTTP data portion according to fixed format (such as MIME format) is solved
Analysis, finds out keyword name and keyword content, and composed structure body, then forms chained list.
Step S106: the keyword defined in the template of successful match and the keyword parsed are compared, and extract
The corresponding content of keyword out.
Step S107: the key content decoded is formatted, is then exported.
Preferably, the step S103 specifically includes following steps,
Take out the data segment of HTTP data packet;
Judge that data segment is POST data or GET data;If it is POST data, then the HTTP of POST data packet is parsed
Header fields;If it is GET data, then the HTTP header field of GET data packet is parsed;
Corresponding template is searched according to the HTTP header field parsed;
Judge whether to find template;If it is found, then according to template type, successively according to specific format search data packet,
Useful HTTP data segment is extracted, and forms chained list;If do not found, it is determined that be unknown applications, export the information of HTTP;
The HTTP data segment chained list analytically gone out finds out the content field of template definition;
Export the WEB application name and content substance information parsed.
Preferably, template is divided into three parts by WEB class description language in the step S101, and first part is template identification
Part, second part are key content description section, and Part III is data type.
Preferably, the key content description section includes keyword, and the initial position of key content in the packet is closed
Key content-length.
Preferably, it is first compared, is then again carried out url field accurate with the HOST field parsed in the step S104
It compares, finds out matched template.
After adopting the above method, after adopting the above method, the present invention is suitable for print media's content, protects literary in media
The safety of number of packages evidence.The present invention is applied to the media content of extended formatting, such as: audio, static image, multimedia, etc., this
Class media content is required to protect, and prevents by unwarranted publication and/or display.
Detailed description of the invention
The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a kind of flow chart of the data security protection method of amalgamation media content file of the present invention.
Fig. 2 is the content flow schematic diagram of present invention parsing POST/GET.
Specific embodiment
As shown in Figure 1, a kind of data security protection method of amalgamation media content file of the invention, including following step
Suddenly,
Step S101: referring to the characteristic of WEB application, write as template file according to WEB class description language grammer.WEB class is retouched
Template file is divided into three parts by predicate speech, and first part is template identification division, the i.e. content of URL, HOST, POST/GET,
By analyzing obtained by certain class WEB application data packet HTTP header;Second part is key content description section, including keyword, is closed
The initial position of key content in the packet, key content length, by analyzing obtained by certain class WEB application data packet;Part III
It for data type, such as logs in, post, reply to the topic, exit, defined by protocol development person.
Step S102: system reads each WEB class template and parses, and forms chained list in memory.
Step S103: the http protocol head in the application of WEB class is parsed, and obtains the interior of URL, HOST, POST/GET
Hold.
As shown in Fig. 2, this step is specifically further comprising the steps of,
The data segment for first taking out HTTP data packet, then judges that data segment is POST data or GET data.If it is
POST data then parses the HTTP header field of POST data packet;If it is GET data, then the HTTP head of GET data packet is parsed
Portion's field.Corresponding template is searched then according to the HTTP header field parsed;Judge whether to find template;If looked for
It arrives, then useful HTTP data segment successively according to specific format search data packet is extracted, and organize chaining according to template type
Table;If do not found, it is determined that be unknown applications, export the information of HTTP.Finally, the HTTP data segment chained list analytically gone out is looked into
Find out the content field of template definition;Export the WEB application name and content substance information parsed.
Step S104: using URL, HOST, the POST/GET parsed, in conjunction with character string multimode matching algorithm in template strand
Template lookup is carried out in table;It is first compared with the HOST field that parses, url field is then subjected to precise alignment again, found out
The template matched.
Step S105: according to the template found, HTTP data portion according to fixed format (such as MIME format) is solved
Analysis, finds out keyword name and keyword content, and composed structure body, then forms chained list.
Step S106: the keyword defined in the template of successful match and the keyword parsed are compared, and extract
The corresponding content of keyword out.
Step S107: the key content decoded is formatted, is then exported.
The present invention is not only applicable to simple power system network environment, and overcomes the increase association with the application of WEB class
Discuss analysis personnel burden increase, with source code increase stability of power system decline, with the linear increasing of number of protocols
It is powered on the defect of the decline of Force system performance linear.Using invention, WEB class can satisfy using more and more electric system nets
The demand of protocol assembly under network environment.
Although specific embodiments of the present invention have been described above, those skilled in the art should be appreciated that this
It is merely illustrative of, various changes or modifications can be made to present embodiment, without departing from the principle and substance of the present invention,
Protection scope of the present invention is only limited by the claims that follow.
Claims (5)
1. a kind of data security protection method of amalgamation media content file, which is characterized in that include the following steps,
Step S101: referring to the characteristic of WEB application, write as template file according to WEB class description language grammer;
Step S102: system reads each WEB class template and parses, and forms chained list in memory;
Step S103: the http protocol head in the application of WEB class is parsed, and obtains the content of URL, HOST, POST/GET;
Step S104: using URL, HOST, the POST/GET parsed, in conjunction with character string multimode matching algorithm in template chained list
Carry out template lookup;
Step S105: according to the template found, HTTP data portion according to fixed format being parsed, finds out keyword name,
With keyword content, then and composed structure body forms chained list;
Step S106: the keyword defined in the template of successful match and the keyword parsed are compared, and extract pass
The corresponding content of key word;
Step S107: the key content decoded is formatted, is then exported.
2. a kind of data security protection method of amalgamation media content file described in accordance with the claim 1, which is characterized in that institute
It states step S103 and specifically includes following steps,
Take out the data segment of HTTP data packet;
Judge that data segment is POST data or GET data;If it is POST data, then the HTTP header of POST data packet is parsed
Field;If it is GET data, then the HTTP header field of GET data packet is parsed;
Corresponding template is searched according to the HTTP header field parsed;
Judge whether to find template;If it is found, then successively according to specific format search data packet being extracted according to template type
Useful HTTP data segment out, and form chained list;If do not found, it is determined that be unknown applications, export the information of HTTP;
The HTTP data segment chained list analytically gone out finds out the content field of template definition;
Export the WEB application name and content substance information parsed.
3. a kind of data security protection method of amalgamation media content file described in accordance with the claim 1, it is characterised in that: institute
It states in step S101 WEB class description language and template is divided into three parts, first part is template identification division, and second part is to close
Key contents describing portion, Part III are data type.
4. a kind of data security protection method of amalgamation media content file described in accordance with the claim 3, it is characterised in that:
The key content description section includes keyword, the initial position of key content in the packet, key content length.
5. a kind of data security protection method of amalgamation media content file described in accordance with the claim 1, it is characterised in that: institute
It states in step S104 and is first compared with the HOST field parsed, url field is then subjected to precise alignment again, finds out matched mould
Plate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910062369.8A CN109885986A (en) | 2019-01-23 | 2019-01-23 | A kind of data security protection method of amalgamation media content file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910062369.8A CN109885986A (en) | 2019-01-23 | 2019-01-23 | A kind of data security protection method of amalgamation media content file |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109885986A true CN109885986A (en) | 2019-06-14 |
Family
ID=66926626
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910062369.8A Pending CN109885986A (en) | 2019-01-23 | 2019-01-23 | A kind of data security protection method of amalgamation media content file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109885986A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112769864A (en) * | 2021-01-26 | 2021-05-07 | 北京鼎普科技股份有限公司 | HTTP (hyper text transport protocol) protocol information processing method and device and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098331A (en) * | 2010-12-29 | 2011-06-15 | 北京锐安科技有限公司 | Method and system for reducing WEB type application contents |
CN102664935A (en) * | 2012-04-06 | 2012-09-12 | 北京锐安科技有限公司 | Method and system for associated output of WEB class user behavior and user information |
-
2019
- 2019-01-23 CN CN201910062369.8A patent/CN109885986A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098331A (en) * | 2010-12-29 | 2011-06-15 | 北京锐安科技有限公司 | Method and system for reducing WEB type application contents |
CN102664935A (en) * | 2012-04-06 | 2012-09-12 | 北京锐安科技有限公司 | Method and system for associated output of WEB class user behavior and user information |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112769864A (en) * | 2021-01-26 | 2021-05-07 | 北京鼎普科技股份有限公司 | HTTP (hyper text transport protocol) protocol information processing method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Jager et al. | How to break XML encryption | |
Josefsson | The base16, base32, and base64 data encodings | |
US7359884B2 (en) | Method and apparatus for processing usage rights expressions | |
US8782431B2 (en) | Digital data authentication and security system | |
Nielson et al. | Validating firewalls in mobile ambients | |
US20050063545A1 (en) | Structured document signature device, structured document adaptation device and structured document verification device | |
CN114444033A (en) | Data security protection system and method based on Internet of things | |
US6324646B1 (en) | Method and system for securing confidential data in a computer network | |
CN103136459B (en) | A kind of copyright method and system of encrypted digital content | |
CN106557707B (en) | Method and system for processing document data | |
CN109495459B (en) | Media data encryption method, system, device and storage medium | |
KR20090016282A (en) | Digital rights management and method for partial encryption of content | |
US20130254549A1 (en) | Digital data authentication and security system | |
Josefsson | RFC 4648: the base16, base32, and base64 data encodings | |
Wen et al. | Two Zero-Watermark methods for XML documents | |
JP4447841B2 (en) | Method for IPMP scheme description for digital items in MPEG-21 architecture | |
US20130254555A1 (en) | Digital data authentication and security system | |
US20130254552A1 (en) | Digital data authentication and security system | |
CN107888591A (en) | The method and system that a kind of electronic data is saved from damage | |
CN109885986A (en) | A kind of data security protection method of amalgamation media content file | |
CN106529317A (en) | Web application encryption and decryption method based on Shadow DOM | |
Bhargavan et al. | A semantics for web services authentication | |
WO2011103886A1 (en) | A method for processing a soap message within a network and a network | |
Sinha et al. | A formal solution to rewriting attacks on SOAP messages | |
CN116561777A (en) | Data processing 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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190614 |
|
WD01 | Invention patent application deemed withdrawn after publication |