CN102149018B - Safe protection processing method and system applying HSML (Hot Spot Markup Language) analyzing engine - Google Patents
Safe protection processing method and system applying HSML (Hot Spot Markup Language) analyzing engine Download PDFInfo
- Publication number
- CN102149018B CN102149018B CN 201010569426 CN201010569426A CN102149018B CN 102149018 B CN102149018 B CN 102149018B CN 201010569426 CN201010569426 CN 201010569426 CN 201010569426 A CN201010569426 A CN 201010569426A CN 102149018 B CN102149018 B CN 102149018B
- Authority
- CN
- China
- Prior art keywords
- hsml
- document
- user
- encryption
- resolved
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Abstract
The invention provides a safe protection processing system applying an HSML (Hot Spot Markup Language) analyzing engine, comprising a user interaction interface, a configuring file, an HSML analyzing unit and an HSML encrypting and decrypting unit. At the same time, the invention further provides a safe protection processing method applying the HSML analyzing engine. Aiming at the shortage of the HSML analyzing engine of a digital television, a function of data encryption is added for the safe protection processing system applying the HSML analyzing engine, and thus the user information can be protected from stealing and revealing, which is an improvement in information safety aspect.
Description
Technical field
The present invention relates to digital home technical field, be specifically related to a kind of safe protection treatment method and system of the HSML of application analytics engine.The invention belongs to interactive TV page marks language (HSML) category.
Background technology
Fast development along with social informatization, interactive television and multimedia technology become the focus that people pay close attention to already, China plan whole nation in 2015 stops the broadcast of simulated television, thereby realizes that the digital television broadcasting TV is wired, satellite and the wireless whole nation cover.Cable television digital, can greatly increase the program capacity, colourful specialization, variation, objectification program are provided, more clearly picture quality and graceful tonequality are provided, the user can also enjoy the service of various informations when enjoying radio and television services.The exploitation of miscellaneous service and development need to be carried out standard to digital interactive TV service information on services, help the information butt joint between provider and the numerous content and service provider.
Markup language of digital television interactive service (HSML) standard is expanded the XML language, formulation is for the markup language of digital television interactive service, business presents and information interaction is described to carrying out towards the digital television interactive service of the integration of three networks in realization, be convenient to adopt Intel Virtualization Technology that needed cross-domain sharing with the Integration Services content carried out the function extraction with abstract, in order to break through this bottleneck of current interactive service content and the high degree of coupling of digital TV platform, realize the high speed development of the high-end value-added service of sized enterprises in chinese DTV industry.
Along with the user of home network is increasing; when people realize resource-sharing by home gateway, also experience information security issue and become increasingly conspicuous, how to individual privacy; the safety of commercial information and database is protected, and has become a problem that needs concern.At present, markup language of digital television interactive service (HSML) is mainly paid close attention to the expansion of interaction content, can't satisfy the requirement aspect information security.
The present invention is directed to digital television interactive service language (HSML) analytics engine deficiency in this respect, the function of having added data encryption can protect user profile not stolen and reveal by others, is an improvement aspect information security.
Summary of the invention
The invention provides a kind of analytics engine of safe markup language of digital television interactive service (HSML), the word order user carries out the database encryption and decryption to the HSML document.The present invention can partly carry out encryption and decryption to HSML in a disclosed document, guaranteed the safety of user profile.
The present invention is achieved by the following technical programs:
Described a kind of safe protection treatment system that uses the HSML analytics engine comprises User Interface, configuration file, HSML resolution unit, HSML encryption/decryption element.
Described User Interface provides the interface of user and HSML analytics engine, upwards receives user's order, can call the HSML analytics engine downwards and realize user's request.
Described configuration file provides and has loaded the information of HSML document, the password of document encryption and decryption, and some other user's operation information.The HSML analytics engine is resolved and encryption and decryption document according to configuration file.
Described HSML resolution unit has adopted the DOM analysis mode, and can whether judge successfully resolved, if successfully resolved is then carried out next step operation, if unsuccessful, then again resolves, and repetitive operation surpasses three times and then resolves unsuccessfully.
Described HSML encryption/decryption element, whether the user can select the HSML documentation section to be encrypted by User Interface after having edited document.Deciphering then judges by reading configuration file whether document is encrypted according to the HSML analytics engine, if encrypt, then calls the HSML encryption/decryption element and deciphers.
Described encipher-decipher method adopts symmetric key to carry out encryption and decryption.According to the demand of user in configuration file, by encryption key and the cryptographic algorithm of appointment the element in the XML document is encrypted during encryption, adopts the mode of expressly replacing.User's employed key when encrypting is decrypted encrypted document during deciphering.
By the present invention is directed to digital television interactive service language (HSML) analytics engine deficiency in this respect, the function of having added data encryption can protect user profile not stolen and reveal by others, is an improvement aspect information security.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the structure chart of the safe protection treatment system of a kind of HSML of application analytics engine of the present invention;
Fig. 2 is that user of the present invention is to the flow chart of HSML file encryption;
Fig. 3 is that user of the present invention is to the flow chart of HSML document deciphering.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtain under the creative work prerequisite.
As shown in Figure 1, use the overall structure block diagram of the safe protection treatment system of HSML analytics engine for the present invention is a kind of.This system comprises: User Interface 101, configuration file 102, HSML resolution unit 103, HSML encryption/decryption element 104.
User Interface 101: the interface of user and HSML analytics engine is provided, has upwards received user's order, can call the HSML analytics engine downwards and realize user's request.The user can proceed as follows by User Interface: select whether the HSML document is encrypted, inputs encryption and decryption password etc.
Configuration file 102: provide and loaded the information of HSML document, the password of document encryption and decryption, and some other user's operation information.The HSML analytics engine is determined the HSML document module that needs load according to the information of configuration file, and carries out encryption and decryption according to the key in the configuration file.Simultaneously, the required plaintext of symmetric cryptography also is kept in the configuration file.
HSML resolution unit 103: by DOM the HSML document is resolved to tree structure in the internal memory, then parse label and content according to Xpath, for other cell processing.After handling, more scattered element is reassembled into the HSML document.After having resolved document, can whether judge successfully resolved, if successfully resolved is then carried out next step operation, if unsuccessful, then again resolve that repetitive operation surpasses three times and then resolves unsuccessfully.
HSML encryption/decryption element 104: adopt symmetric key to carry out encryption and decryption.According to the demand of user in configuration file, by encryption key and the cryptographic algorithm of appointment the element in the XML document is encrypted during encryption, adopts the mode of expressly replacing.User's employed key when encrypting is decrypted encrypted document during deciphering.Whether the user can select the HSML documentation section to be encrypted by User Interface after having edited document.Deciphering then judges by reading configuration file whether document is encrypted according to the HSML analytics engine, if encrypt, then calls the HSML encryption/decryption element and deciphers.
In order further to understand the operational process of system of the present invention, use encrypting step below in conjunction with the flow chart explanation of the HSML file encryption of Fig. 2:
Such as step 201, the user opens the HSML document, and beginning HSML resolves encryption flow.
Such as step 202, read configuration file, need to determine the functional module of loading.
Such as step 203, document is resolved, by DOM the HSML document is resolved to tree structure in the internal memory, then parse label and content according to Xpath, for other cell processing.
Such as step 204, resolved behind the document whether judge successfully resolved, if successfully resolved is then carried out next step operation, if unsuccessful, then again to resolve, repetitive operation surpasses three times then resolves unsuccessfully, returns.
Such as step 205, whether the user selects the HSML document to be encrypted by User Interface, encrypts, and does not encrypt if then enter step 206., then directly enters step 207.
Such as step 206, the user inputs password, and the HSML analytics engine reads the plaintext in the configuration file, according to described password document is carried out plaintext and replaces.
Such as step 207, after handling, more scattered element is reassembled into the HSML document.
As shown in Figure 3, the user is to the flow chart of HSML document deciphering:
Such as step 301, the user opens the HSML document, and beginning HSML resolves the deciphering flow process.
Such as step 302, read configuration file, need to determine the functional module of loading.
Such as step 303, judge whether document is encrypted, then enter step 304 pair document and be decrypted if encrypted.If unencryption then directly enters step 305HSML document and resolves.
Such as step 304, the user inputs password by User Interface.The HSML analytics engine is decrypted document by reading configuration file.
Such as step 305, document is resolved, by DOM the HSML document is resolved to tree structure in the internal memory, then parse label and content according to Xpath, for other cell processing.
Such as step 306, resolved behind the document whether judge successfully resolved, if successfully resolved is then carried out next step operation, if unsuccessful, then again to resolve, repetitive operation surpasses three times then resolves unsuccessfully, returns.
Such as step 307, after handling, more scattered element is reassembled into the HSML document.
Need to prove, the contents such as the information interaction between said apparatus and intrasystem each unit, implementation since with the inventive method embodiment based on same design, particular content can referring to the narration among the inventive method embodiment, repeat no more herein.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the relevant hardware of instruction finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read OnlyMemory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than the safe protection treatment method and system of a kind of HSML of application analytics engine that the embodiment of the invention is provided, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (3)
1. safe protection treatment system that uses the HSML analytics engine, it is characterized in that: this system comprises User Interface, configuration file, HSML resolution unit, HSML encryption/decryption element;
Described User Interface provides the interface of user and HSML analytics engine, upwards receives user's order, can call the HSML analytics engine downwards and realize user's request;
Described configuration file provides in the configuration file and has loaded the information of HSML document, the password of document encryption and decryption, and some other user's operation information; The HSML analytics engine is resolved and encryption and decryption document according to configuration file;
Described HSML resolution unit has adopted the DOM analysis mode, and can whether judge successfully resolved, if successfully resolved is then carried out next step operation, if unsuccessful, then again resolves, and repetitive operation surpasses three times and then resolves unsuccessfully;
Described HSML encryption/decryption element, whether the user can select the HSML documentation section to be encrypted by User Interface after having edited document; Deciphering then judges by reading configuration file whether document is encrypted according to the HSML analytics engine, if encrypt, then calls the HSML encryption/decryption element and deciphers.
2. system according to claim 1 is characterized in that: this system adopts symmetric key to carry out encryption and decryption; According to the demand of user in configuration file, by encryption key and the cryptographic algorithm of appointment the element in the XML document is encrypted during encryption, adopts the mode of expressly replacing; User's employed key when encrypting is decrypted encrypted document during deciphering.
3. safe protection treatment method of using the HSML analytics engine is characterized in that: the method comprises that using the HSML analytics engine carries out file encryption and two flow processs of deciphering, and concrete steps are as follows:
Using the HSML analytics engine, to carry out the process step of file encryption as follows:
Step 11, the user opens the HSML document, and beginning HSML resolves encryption flow;
Step 12 reads configuration file, need to determine the functional module of loading;
Step 13 is resolved document, by DOM the HSML document is resolved to tree structure in the internal memory, then parses label and content according to Xpath, for other cell processing;
Step 14 has resolved behind the document whether judge successfully resolved, if successfully resolved is then carried out next step operation, if unsuccessful, then again resolves, and repetitive operation surpasses three times then resolves unsuccessfully, returns;
Step 15, whether the user selects the HSML document to be encrypted by User Interface, encrypts, and does not encrypt if then enter step 16., then directly enters step 17.;
Step 16, the user inputs password, and the HSML analytics engine reads the plaintext in the configuration file, according to described password document is carried out plaintext and replaces;
Step 17 after handling, is reassembled into the HSML document with scattered element again;
Using the HSML analytics engine, to carry out the process step of document deciphering as follows:
Step 21, the user opens the HSML document, and beginning HSML resolves the deciphering flow process;
Step 22 reads configuration file, need to determine the functional module of loading;
Step 23 judges whether document is encrypted, then enters step 24 pair document and is decrypted if encrypted; If unencryption then directly enters step 25HSML document and resolves;
Step 24, the user inputs password by User Interface; The HSML analytics engine is decrypted document by reading configuration file;
Step 25 is resolved document, by DOM the HSML document is resolved to tree structure in the internal memory, then parses label and content according to Xpath, for other cell processing;
Step 26 has resolved behind the document whether judge successfully resolved, if successfully resolved is then carried out next step operation, if unsuccessful, then again resolves, and repetitive operation surpasses three times then resolves unsuccessfully, returns;
Step 27 after handling, is reassembled into the HSML document with scattered element again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010569426 CN102149018B (en) | 2010-11-30 | 2010-11-30 | Safe protection processing method and system applying HSML (Hot Spot Markup Language) analyzing engine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010569426 CN102149018B (en) | 2010-11-30 | 2010-11-30 | Safe protection processing method and system applying HSML (Hot Spot Markup Language) analyzing engine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102149018A CN102149018A (en) | 2011-08-10 |
CN102149018B true CN102149018B (en) | 2013-04-24 |
Family
ID=44422974
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010569426 Active CN102149018B (en) | 2010-11-30 | 2010-11-30 | Safe protection processing method and system applying HSML (Hot Spot Markup Language) analyzing engine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102149018B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104980769A (en) * | 2015-06-29 | 2015-10-14 | 安徽广电信息网络股份有限公司 | Multi-way digital television subscription method |
CN113051231A (en) * | 2019-12-27 | 2021-06-29 | 北京国双科技有限公司 | File analysis method and device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101137040A (en) * | 2006-07-31 | 2008-03-05 | 北京华旗资讯数码科技有限公司 | System and method for obtaining network information based on cable digital television network |
CN101158896A (en) * | 2007-08-31 | 2008-04-09 | 南京联创科技股份有限公司 | Service assemblage based on MVC and method for page moulding development WEB platform |
CN101655799A (en) * | 2008-08-20 | 2010-02-24 | 北京闻言科技有限公司 | Method for quickly loading HTML DOM |
CN101742068A (en) * | 2009-12-22 | 2010-06-16 | 上海全景数字技术有限公司 | Method for downloading and updating terminal interface |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9094463B2 (en) * | 2008-02-29 | 2015-07-28 | Telefonaktiebolaget L M Ericsson (Publ) | Technique for performing signaling conversion between HTTP and SIP domains |
-
2010
- 2010-11-30 CN CN 201010569426 patent/CN102149018B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101137040A (en) * | 2006-07-31 | 2008-03-05 | 北京华旗资讯数码科技有限公司 | System and method for obtaining network information based on cable digital television network |
CN101158896A (en) * | 2007-08-31 | 2008-04-09 | 南京联创科技股份有限公司 | Service assemblage based on MVC and method for page moulding development WEB platform |
CN101655799A (en) * | 2008-08-20 | 2010-02-24 | 北京闻言科技有限公司 | Method for quickly loading HTML DOM |
CN101742068A (en) * | 2009-12-22 | 2010-06-16 | 上海全景数字技术有限公司 | Method for downloading and updating terminal interface |
Also Published As
Publication number | Publication date |
---|---|
CN102149018A (en) | 2011-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106331751B (en) | A kind of online encrypted slice video broadcasting method based on iOS operating system | |
CN103067174B (en) | Digital signature method and system completed in mobile operating system | |
CN109479164B (en) | Method and medium for providing online media content via satellite broadcast system | |
CN103003821A (en) | Method and apparatus for providing drm service | |
US8488786B2 (en) | Security method and device for managing access to multimedia contents | |
JP2011019222A (en) | Processing recordable content in stream | |
JP5710160B2 (en) | Process recordable content in the stream | |
CN105430431B (en) | multimedia data playing method and device | |
CN104298896B (en) | Digital copyright protecting and distribution method and system | |
CN106375834A (en) | Offline playing method and apparatus of online encrypted slice videos based on iOS operating system | |
US20090202079A1 (en) | Method, apparatus and computer program product for providing mobile broadcast service protection | |
CN101171860B (en) | Security method and device for managing access to multimedia contents | |
CN103428583A (en) | Stream media file protection method and digital television terminal | |
CN101916350B (en) | Method and system for protecting terminal reading contents | |
Wang et al. | CS-DRM: a cloud-based SIM DRM scheme for mobile internet | |
CN110611830A (en) | Video processing method, device, equipment and medium | |
US8145270B2 (en) | Smart card and method for generating response message to be delivered to mobile terminal supporting mobile broadcast, and mobile terminal therefor | |
CN100589377C (en) | Multimedia business protection and key management method based on portable terminal | |
CN102149018B (en) | Safe protection processing method and system applying HSML (Hot Spot Markup Language) analyzing engine | |
CN103442020B (en) | The method sharing digital license authorization certificate between terminal unit | |
CN107919958B (en) | Data encryption processing method, device and equipment | |
US20130104163A1 (en) | Encryption method for television service of mobile terminal, mobile terminal and server | |
WO2007068263A1 (en) | Device, system and method for allowing authorised access to a digital content | |
CN103002322A (en) | Method and device for providing relevant information of non-authorized content for subscribers | |
CN107770130B (en) | Multimedia content acquisition method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
DD01 | Delivery of document by public notice |
Addressee: Guangdong Xinghai Digital Home Industry Technology Research Institute Co., Ltd. Document name: Notification to Pay the Fees |
|
DD01 | Delivery of document by public notice |