CN106953828A - A kind of EPUB hybrid protection method and systems based on mobile network - Google Patents
A kind of EPUB hybrid protection method and systems based on mobile network Download PDFInfo
- Publication number
- CN106953828A CN106953828A CN201610007208.5A CN201610007208A CN106953828A CN 106953828 A CN106953828 A CN 106953828A CN 201610007208 A CN201610007208 A CN 201610007208A CN 106953828 A CN106953828 A CN 106953828A
- Authority
- CN
- China
- Prior art keywords
- content
- digital content
- epub
- file
- user
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
- H04L63/045—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply hybrid encryption, i.e. combination of symmetric and asymmetric encryption
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Storage Device Security (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of EPUB hybrid protection method and systems based on mobile network, it is related to secrecy technology field.The copyright protection that sectional encryption segmentation is authorized, realizes user reads how many chapters and sections, and just paying corresponding expense, i.e. user can be paid according to the amount of reading of oneself completely, reached the effect that amount of reading is equal with purchase volume, it is to avoid the waste of user economically.Meanwhile, the pattern by copy propagation digital content is changed, the protection intensity of digital content is improved, having ensured that digital content is controllable can propagate and utilize pipe and effectively, promote information environment sound development.
Description
Technical field
The present invention relates to secrecy technology field, more particularly to a kind of EPUB hybrid protection sides based on mobile network
Method and system.
Background technology
EPUB is a kind of complete opening and free e-book standard, and belong to one kind " can rearrange " automatically
Content:Word content can be shown according to the characteristic of arrangement for reading in the way of being most suitable for reading.It
Composition is:EBook content is all XHTML file, description be all XML, and be one include above-mentioned text
The ZIP file of part.I.e. EPUB metadata is XML, and EPUB contents are XHTML.Because its word content can root
According to the characteristic (screen size, different platform) of arrangement for reading, shown in the way of being most suitable for reading, EPUB
The mainstream electronic book for being increasingly becoming each terminal type (phone, pad etc.) reads form.
EPUB resource formats include three main specifications [1]:
OPS(Open Publication Structure)2.0:Define the space of a whole page of content;
OPF(Open Packaging Format)2.0:Define the .epub archives knots based on XML
Structure;
OCF(OEBPS Container Format)1.0:All associated documents are collected to ZIP and compress shelves
Among case.
Since digital Age is entered, the life of people is surrounded by ubiquitous digital product, EPUB electricity
The philosophical works is just progressively turning into terminal mainstream electronic reading form, intellectual property protection problem specific to cybertimes
Also become increasingly conspicuous.EPUB is a kind of non-encrypted, on-fixed format, the e-book document based on XML, " non-
Encryption " (unencrypted) refers to does not carry out digital encryption to document, any to open (unzip) per capita
With editor's EPUB format files.Because the EPUB resources of unencryption can carry out unwarranted wireless freedom
Propagate, so, the knowledge copyright protection of EPUB e-sourcings, which turns into one, is worth research and the problem inquired into.
At present, by studying EPUB document formats and related Information Encryption Algorithm, symmetric cryptography DES is utilized
It is combined with asymmetric encryption RSA, proposes a kind of EPUB forms eBook content copyright protection regime (EEA).
In EEA ciphering process, the advantage of rivest, shamir, adelman and symmetric key algorithm will be combined, first with
Symmetric encipherment algorithm DES keys (DES key) encrypted digital content in itself, is then calculated with asymmetric encryption
The key (DES key) of key (Private key) cryptographic symmetrical algorithm in method RSA, the result of generation
(Result) in deposit EPUB license files, wherein license files are added on EPUB architecture basics
Plus new file.
EEA ciphering process is roughly divided into four steps:
(1) resource content is encrypted
The related EPUB files of user's request, server end parsing EPUB files, read EPUB contents, utilize
DES symmetric encipherment algorithms are to content-encrypt, and the content after encryption is re-write in corresponding XHTML content files,
Encryption key DES Key as second step input.
(2) encrypted symmetric key
Each terminal user can produce a pair of corresponding private keys when asking EPUB digital resources by server
(Private Key) and public key (Public Key), public key, which is transmitted to user terminal and preserve, is used for electronics
The decryption of book, private key, which is stored in server-side database, is used for the encrypted work of e-book.Produced for the first step
Symmetry algorithm key (DES Key) utilize storage private key (Private Key) carry out asymmetric encryption
Operation, produces result (Result).
(3) new EPUB is generated
EPUB internal structures are improved first, increase a License file, the result for then producing second step
(Result) in deposit License files.
(4) EPUB resources are issued
By the EPUB e-book issue after newly-generated encryption, terminal user is sent to, now resource has possessed
Copyright protection function, because resource content information is the dark text after encryption, it is necessary to utilize corresponding public key
License file contents in (Public Key) parsing EPUB could be checked and read.
The technical scheme is directed to after the encryption that the digital content of EPUB forms carries out symmetrical and asymmetric combination,
By the EPUB e-book issue after newly-generated encryption, terminal user is sent to.Terminal is obtaining resource content
Afterwards, operation is decrypted, the result got is exactly the original eBook contents of EPUB, EPUB contents are final
It can be presented in terminal.This technical scheme has largely carried out copyright protection to EPUB contents,
But have some limitations, it is mainly manifested in:
The technical scheme is directed to the encryption and decryption of whole EPUB files, it is impossible to meet the individual demand of user.
Actual in use, user needs to buy and read specific books chapters and sections according to oneself hobby and demand,
The technical scheme can not meet this demand of user.User can only be by buying the digital content of whole,
Oneself desired content can be read, corresponding expense will also be paid to the content for oneself being not desired to read, brought
The waste of user economically.
The medium that the technical scheme is directed to is conventional internet, and content format is EPUB2.0 content files.With
The rise and fast development of mobile Internet, current mobile reading gradually become topmost reading method.
The appearance and application of EPUB3.0 specifications, also make mobile reading become more diversification, add audio, video
The abundant content revealing mode with mathematical formulae etc..The program is in the EPUB3.0 format contents for mobile network
Aspect, without specially treated, has some limitations.
The decipherment algorithm of encryption and terminal of the technical scheme only to EPUB contents, not complete system,
Platform and terminal applies, above have certain difficulty in the implementation and application of scheme.
The content of the invention
It is an object of the invention to provide a kind of EPUB hybrid protection method and systems based on mobile network, from
And solve foregoing problems present in prior art.
To achieve these goals, the technical solution adopted by the present invention is as follows:
A kind of EPUB guard methods based on mobile network, including sectional encryption method and segmentation decryption method;
The sectional encryption method comprises the following steps:
S1a, obtains the content section for needing to be encrypted in digital content file, obtains content section information;
S2a, the content section information is inserted the precalculated position of the digital content file, obtains in multiple
Hold segmentation;
Digital element in S3a, each content section of analysis, it is determined that being needed in each content section
The digital content of encryption;
S4a, is encrypted to the digital content that encryption is needed in each content section, obtains ciphertext;
S5a, replaces with encryption prompt message, and the ciphertext is saved in specified file by the ciphertext.
The segmentation decryption method comprises the following steps:
S1b, analyzes digital content file form, determines content section information insertion location;
S2b, the content section information is read from the insertion position;
S3b, the content section for determining each to encrypt according to the content section information;
S4b, the digital content encrypted in the content section of each encryption is decrypted, authorized number
Word content.
Preferably, S1a is to carry out structure recognition to digital content file according to customer segment strategy, determine number
The content section being encrypted is needed in word content file, content section information is obtained.
Preferably, the customer segment strategy is:Template recognition processing is carried out by section of chapters and sections.
Preferably, in S2a, the content section information is inserted to the host node of the digital content file.
Preferably, in S3a, the digital element in each content section of analysis, in the following way
Implemented:Digital element in each content section is analyzed, will be with other guide segmentation altogether
The digital element for enjoying part is removed, and only retains the digital element for belonging to this content section, or, to only belonging to this
The data element of content section is analyzed, and obtaining needs the digital content of encryption in the content section.
Further, also including segmentation authorization method and piecewise analytic method:
The segmentation authorization method includes:Digital content file is segmented by service end, obtains segmented content,
One or more pay imformations are inserted in the segmented content;
The piecewise analytic method includes:Client is parsed to the pay imformation, whether judges user
It has been paid that, if it is, allowing user to use digital content, otherwise, return to prompting payment information.
Preferably, the pay imformation includes:Charge dot position information, toll site accounting code or/and service
Device end receives code, and the toll site accounting code is corresponding with the charge dot position information, and the charge
Point accounting code represents a fee charged, and the received server-side code is based on by the toll site
Expense code is sent to corresponding service server.
Preferably, the storage mode of the pay imformation includes:File header is stored in, by whole pay imformations
Add the beginning location in digital content;File paragraph is stored in, the digital content for having been segmented into section,
Pay imformation is added every section of beginning;Or, being stored with file mode, by pay imformation with independent
Together with file mode is bundled to digital content.
Further, also include:Server end is to the control process method and client of EPUB files to EPUB
The control process method of file;
The server end comprises the following steps to the control process method of EPUB files:
To needing the EPUB files for being put in storage processing to carry out structure recognition, judging the form of the EPUB files is
EPUB2.0 or EPUB3.0, and by corresponding identification information recording in configuration file;
For EPUB3.0 files, the quantity and each multimedia of the multimedia file in digital content file are parsed
Insertion position of the file in EPUB digital contents, and by the title of all multimedia files and it is described insert
The corresponding relation for entering position is stored into the configuration file;
EPUB digital content files after sectional encryption and the configuration file are generated in new EPUB numerals
Hold file, be sent to terminal user;
The client comprises the following steps to the control process method of EPUB files:
Client parses configuration file, stored according to profile information after EPUB digital contents are received
Mode it is different, configuration file is parsed using the method corresponding with storage mode, obtained with confidence
Breath;
Digital content file is segmented and authorized and segmentation decryption, for the digital content of EPUB2.0 file formats,
Do not process;For the digital content of EPUB3.0 file formats, before each segmentation is read, parsing visitor
The network condition at family end.
A kind of EPUB hybrid protection systems based on mobile network, including:
Content management server, for the making storage of the digital content of EPUB forms, to digital content segments
Encryption, and pay imformation is added in digital content, the pay imformation to digital content including carrying out segmentation meter
Each charge dot position information taken;Added simultaneously in digital content in digital content format information and numeral
Video, audio file location and title corresponding relation in appearance;
Service managing server, for content distribution, sale and statistical query back-stage management function;User obtains
The digital content for taking content server to make, and parse pay imformation and read configuration, when user uses numeral
When content is to each charge dot position information corresponding position, according to the corresponding user of charge dot position information
Payment information determines that user allows user to be continuing with the digital content after having paid;Otherwise prompting user pays
Take and receive user and confirm after paying, by user charges information record to have paid, and allow user after
It is continuous to use digital content, and code is received according to service server end will charge the corresponding receipts of dot position information
Expense point accounting code deducts the charge in being sent to service server, the account that service server is bound from user
The corresponding expense of point.
The beneficial effects of the invention are as follows:
(1) Discrete control technology of the invention, realizes user reads how many chapters and sections, just pays corresponding expense,
I.e. user can be paid according to the amount of reading of oneself completely, reach the effect that amount of reading is equal with purchase volume
Really, it is to avoid the waste of user economically.This mode is easier to obtain the accreditation of user, so as to can also carry
Attraction of the digital reading to user is risen, promotes the development of digital reading industry.
(2) present invention is directed to the characteristic of mobile terminal, and digital certificate is believed by Encryption Tool version information and key
Breath composition, is reduced management and authorizes complexity and mobile terminal flow, and entered using same safe encrypted tunnel
The transmission of row digital certificate, improves universality, reduces implementation cost.Meanwhile, for EPUB3.0 text
Part content, when network condition is good (under such as 3G, 4G, WiFi network), shows Voice & Video information,
In the case of network condition bad (such as 2G networks), Voice & Video information is not shown, movement is reduced
Terminal flow, improves the displaying efficiency of digital content, the fluency that lifting user reads.
(3) present invention devises the digital content copyright protection system and client of the EPUB forms of complete set
Ocr software, including the module such as content auditing storage, content registration encryption, content distribution and suitable for movement
The electric terminal ocr software of network.The present invention can support the copyright protection that sectional encryption segmentation is authorized, and change
The pattern once by copy propagation digital content is become, has improved the protection intensity of digital content, ensured
Digital content is controllable can be propagated and utilize pipe and effectively, promote information environment sound development.
Brief description of the drawings
Fig. 1 is sectional encryption method flow schematic diagram;
Fig. 2 is segmentation decryption method schematic flow sheet;
Fig. 3 is client analytic method schematic flow sheet.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with accompanying drawing, to this
Invention is further elaborated.It should be appreciated that embodiment described herein is only to solve
The present invention is released, is not intended to limit the present invention.
Embodiment one
The embodiments of the invention provide a kind of EPUB guard methods based on mobile network, including sectional encryption side
Method and segmentation decryption method;
The sectional encryption method comprises the following steps:
S1a, obtains the content section for needing to be encrypted in digital content file, obtains content section information;
S2a, the content section information is inserted the precalculated position of the digital content file, obtains in multiple
Hold segmentation;
Digital element in S3a, each content section of analysis, it is determined that being needed in each content section
The digital content of encryption;
S4a, is encrypted to the digital content that encryption is needed in each content section, obtains ciphertext;
S5a, replaces with encryption prompt message, and the ciphertext is saved in specified file by the ciphertext.
The segmentation decryption method comprises the following steps:
S1b, analyzes digital content file form, determines content section information insertion location;
S2b, the content section information is read from the insertion position;
S3b, the content section for determining each to encrypt according to the content section information;
S4b, the digital content encrypted in the content section of each encryption is decrypted, authorized number
Word content.
Wherein, S1a can be to carry out structure recognition to digital content file according to customer segment strategy, it is determined that
The content section being encrypted is needed in digital content file, content section information is obtained.
In the present embodiment, the customer segment strategy can be:Template recognition processing is carried out by section of chapters and sections.
In S2a, the content section information can be inserted to the host node of the digital content file.
In S3a, the digital element in each content section of analysis can be carried out in the following way
Implement:Digital element in each content section is analyzed, will be with the shared portion of other guide segmentation
The digital element divided is removed, and only retains the digital element for belonging to this content section, or, to only belonging to this content
The data element of segmentation is analyzed, and obtaining needs the digital content of encryption in the content section.
In the above method, the actual mechanical process of sectional encryption method can be with as shown in figure 1, detailed process can be with
For:
1st, structure recognition is carried out to EPUB files according to customer segment strategy, determine to need in the EPUB files into
The content section of row encryption, obtains content section information.For the digital content of EPUB forms, point of user
Section strategy is using chapters and sections as section.Handled by template recognition, the scope for for example obtaining chapter 1 is 5-12 pages, the
Two chapter scopes are 13-20 pages etc..
2nd, digital content file form is analyzed, determines that the content section information inserts the predetermined of the digital content
Position, and the content section information is inserted to the precalculated position of the digital content file.
Wherein, the precalculated position of the digital content file can be user customized data part, and for
For the digital content file of EPUB forms, a user can be inserted directly on its digital content file host node
Customized file.Therefore in the present invention, the content section information of acquisition is inserted to the main section of digital content file
On point, specifically can form as follows insertion:Entitled Segment.xml file is inserted on the primary node,
In the XML file, content section information is added, every section of description and the corresponding relation of often chapters and sections scope are as follows:
<Segment SegId=" 1 " PageRange=" [5-12] ">
<Segment SegId=" 2 " PageRange=" [13-20] ">
<Segment SegId=" 3 " PageRange=" [21-40] ">
……
3rd, the digital element in each content section is analyzed, it is determined that needing the numeral of encryption in each content section
Content.Including following two analysis methods:
Method one, is analyzed the digital element in each content section, will be shared with other guide segmentation
Partial digital element is removed, and only retains the data element for belonging to this content section;It should be noted that by
In some public resources, such as font resource, it may be shared in multiple sections, in order to not influence other sections
It is normal to be encrypted using, it is necessary to which these resources are excluded outside scope.It can be accomplished by the following way, wrap
Include:
(1) when carried in the attribute of the data element in digital content whether be shared data element mark
When, data element attribute in the content section is directly searched, shared data are removed, only retains and belongs to this
The data element of content section.
(2) when do not carried in the attribute of the data element in digital content whether be shared data element mark
, it is necessary to scan whole digital contents during will, acquisition belongs to shared data element, by content section
Shared data element is removed, and only retains the data element for belonging to this content section.
Method two, is analyzed the data element for only belonging to this content section, and obtain needs in the content section
The digital content to be encrypted.It should be noted that the data element of content section also includes structural element, it is
Ensure original format of digital content, then only encrypt the digital content in being segmented, without cryptographic structure
Element, such as when there are following data in content section<tag>value</tag>When, only determine that value is
The digital content of encryption is needed, and<tag>With</tag>Intrinsic structure need not be encrypted.
4th, the digital content that encryption is needed in each content section is encrypted.
Wherein, any encryption method of the prior art can be used during encryption, it is for instance possible to use right
Claim AES that the digital content for needing encryption in each content section is encrypted.In addition, to each interior
Holding needs the digital content of encryption when being encrypted in segmentation, can be encrypted using isometric AES,
It can also be encrypted using the AES of Length discrepancy.When being encrypted using the AES of Length discrepancy,
After encryption, it is necessary to be adjusted using predetermined adjustment algorithm to ciphertext, the number after encryption just can guarantee that
Literary friend's format of word content file.When being encrypted using isometric AES, after encryption, no
Need to use predetermined adjustment algorithm to be adjusted ciphertext, also can guarantee that the digital content file after encryption
Literary friend's format.So, in order to ensure original format of the digital content file after encryption, and simplify encryption
Operation, preferable encipherment scheme is that digital content is encrypted using isometric AES.
5th, the part ciphertext after being encrypted in content section is replaced with into encryption prompt message, and by after the encryption
Part ciphertext be saved in specified file.
Wherein, the ciphertext by after Partial encryption replaces with encryption prompt message, and close by what is be replaced
Text is saved in specified file, including:Prompt message content is determined, is replaced in original cipher text isometric
Ciphertext content (prompt message content-length should be less than ciphertext length);Wherein it is described be replaced cipher text part (or
Replace the position of part) segment information part can be stored in, it can also be stored in and license in certificate, also
It can be stored in the optional position that other can deposit information.
In the above method, the actual mechanical process for being segmented decryption method can be with as shown in Fig. 2 detailed process can be with
For:
1st, the NCX files of EPUB files are analyzed, the insertion position of content section information is determined, and from insertion
Position reading of content segment information.It should be noted that in predetermined number content file, user is writable
The part of content is user customized data part, although do not know the user customized data part in numeral
Particular location in content file, but what the data division of content section information insertion was to determine, therefore
To obtain content section information, it is only necessary to analyze the form of digital content, determining should in digital content file
The position of specific part, you can determine the position of content section information insertion.
2nd, the content section each encrypted is determined according to content section information.
3rd, the ciphertext being replaced is obtained from the specified file, and the ciphertext being replaced is replaced into ciphertext
Appropriate section, obtain encrypted cipher text.
Wherein, license in certificate, obtained from certificate is licensed if the ciphertext being replaced is stored in
Take;If the ciphertext being replaced is stored in content section information, obtained from content section information;If
It is stored in other digital document contents, then is obtained from other digital content files.
4th, the digital content in the content section of each encryption is decrypted respectively, it is authorized after numeral
Content.
Wherein, when the digital content encrypted in respectively to the content section of each encryption is decrypted, decryption
Mode and decruption key depend on the specific cipher mode and encryption key during encryption.
In the present invention, after the digital content that encryption is needed in each segmentation being encrypted, by part ciphertext
Replace with prompt message, it is to avoid ciphertext mess code occurs when showing, reach the friendly purpose of display.
EPUB hybrid protection methods provided in an embodiment of the present invention based on mobile network, can also include segmentation
Authorization method and piecewise analytic method:
The segmentation authorization method includes:Digital content file is segmented by service end, obtains segmented content,
One or more pay imformations are inserted in the segmented content;
The piecewise analytic method includes:Client is parsed to the pay imformation, whether judges user
It has been paid that, if it is, allowing user to use digital content, otherwise, return to prompting payment information.
Wherein, segmentation is authorized carries out segmentation mandate using the method for the multiple toll sites of setting by digital content.Visitor
The digital content that family end is received is divided into section as needed, and inserts one or more pay imformations wherein.
Authorized by being segmented, realize user according to oneself needing to carry out segmentation paying to digital content interested.
By digital content segments and insert one or more pay imformations as needed.When user is arrived using digital content
During each charge dot position information correspondence position, according to the corresponding user charges information of charge dot position information
Determine that user allows user to be continuing with digital content after having paid;Otherwise user charges are pointed out and are received
User is confirmed after paying, and user charges information is set to pay, and allow user to be continuing with numeral
Content.Client device obtains digital content and simultaneously parses pay imformation, is completed charge mandate by the system
Process.
Wherein, the pay imformation can include:Charge dot position information, toll site accounting code or/and clothes
Business device end receives code, and the toll site accounting code is corresponding with the charge dot position information, and the receipts
Expense point accounting code represents a fee charged, and the received server-side code is used for the toll site
Accounting code is sent to corresponding service server.
In actually used, the pay imformation of each charge dot position information can be included:
(1) digital content carries out the charge dot position information of block meter rate, the root when user reads digital content
The position for needing to pay is known according to the charge dot position information;
(2) also comprising the corresponding toll site accounting code of each charge dot position information, each accounting code generation
Fee charged of table, user can be paid by different toll site accounting codes.Each toll site meter
Taking code can be with identical, can also be different.
(3) service server end receives code.Toll site accounting code is sent to by the code corresponding
Service server;Each toll site can also possess identical service server end and receive code, will can receive
Expense point accounting code is issued same service server and handled, or without setting the code directly by receipts
Expense point accounting code is sent to service server and paid.
The pay imformation of each charge dot position information can also include transmission times, due to the toll site of setting
Accounting code is different, and the charge situation of digital content is also different, therefore sometimes each toll site accounting code
Once appended expense can not meet charge situation, so need to increase the number of times sent according to actual conditions,
The accumulation of multiple method is to need fee charged.
In actual mechanical process, piecewise analytic method is as shown in figure 3, be specifically as follows:
(1) mode that client can be stored according to pay imformation is different, using the side corresponding with storage mode
Method is parsed to pay imformation, and client parses and extracts pay imformation automatically, first toll site it
Preceding digital content is freely authorized, and consumer freely uses altogether.
(2) when user uses digital content to each toll site position, believed according to corresponding user charges
Breath determines that user allows user to be continuing with digital content after having paid;Otherwise user charges are pointed out and are received
Confirm to user after paying, the corresponding user charges information record of the dot position information that will charge is to have paid,
And allow user to be continuing with digital content.Detailed process is as follows:
When user charges dot position information correspondence position using digital content to each, according to toll site position
Confidence ceases corresponding user charges information and determines that user allows user to be continuing with digital content after having paid;
Otherwise the prompt message of client ejection " be continuing with need order ", after user confirms, client according to
Service server end receives code, and the corresponding toll site accounting code of the dot position information that will charge is sent to business
After server, client directly sets toll site to pay according to successful information is locally sent, and from
The corresponding expense of the toll site is deducted in the account of digital content purchase person, user is obtained the piece of digital content
Mandate.Or, client will be charged according to service server end reception code, and dot position information is corresponding to be received
Point accounting code of paying is sent to service server and after service server is returned and withholdd successfully, and mark is
Pay.And the corresponding expense of toll site is deducted in the account bound from digital content purchase person, obtain user
The mandate of the piece of digital content.
Wherein, the storage mode of the pay imformation includes:File header is stored in, whole pay imformations are added
Enter the beginning location in digital content;File paragraph is stored in, the digital content for having been segmented into section,
Pay imformation is added every section of beginning;Or, being stored with file mode, by pay imformation with independent
Together with file mode is bundled to digital content.
EPUB hybrid protection methods provided in an embodiment of the present invention based on mobile network, can also include:Clothes
Device end be engaged in the control process method of the control process method and client of EPUB files to EPUB files;
The server end comprises the following steps to the control process method of EPUB files:
To needing the EPUB files for being put in storage processing to carry out structure recognition, judging the form of the EPUB files is
EPUB2.0 or EPUB3.0, and by corresponding identification information recording in configuration file;
For EPUB3.0 files, the quantity and each multimedia of the multimedia file in digital content file are parsed
Insertion position of the file in EPUB digital contents, and by the title of all multimedia files and it is described insert
The corresponding relation for entering position is stored into the configuration file;
EPUB digital content files after sectional encryption and the configuration file are generated in new EPUB numerals
Hold file, be sent to terminal user;
The client comprises the following steps to the control process method of EPUB files:
Client parses configuration file, stored according to profile information after EPUB digital contents are received
Mode it is different, configuration file is parsed using the method corresponding with storage mode, obtained with confidence
Breath;
Digital content file is segmented and authorized and segmentation decryption, for the digital content of EPUB2.0 file formats,
Do not process;For the digital content of EPUB3.0 file formats, before each segmentation is read, parsing visitor
The network condition at family end.
In actual mechanical process, server end can be to the control process process of EPUB files:
1st, to needing the EPUB files for being put in storage processing to carry out structure recognition, the tray of the EPUB files is determined
Formula is EPUB2.0 or EPUB3.0, and corresponding identification information recording is in configuration file.
2nd, for EPUB3.0 files, the multimedia file such as audio, video in parsing digital content file
Quantity and the position of each multimedia file insertion, and by multimedia file name and file in EPUB digital contents
Insertion position corresponding relation store into configuration file.
The 3rd, book content and configuration file after sectional encryption etc. generated to new EPUB books, end is sent to
End subscriber.Wherein, the client network environment of support include 2G, 3G, 4G carrier network and WLAN without
Gauze network.
In actual mechanical process, client is as follows to the control process process of EPUB files:
1st, client parses configuration file, deposited according to profile information after EPUB digital contents are received
The mode of storage is different, configuration is parsed using the method corresponding with storage mode, client is solved automatically
Analyse and extract configuration information.
2nd, digital content file is segmented and authorized and segmentation decryption, in the numeral of EPUB2.0 file formats
Hold, do not process;For the digital content of EPUB3.0 file formats, before each segmentation is read, solution
Analyse the network condition of client, including residing network environment, up-downgoing speed etc..According to different network rings
Border and transmission speed, are flexibly controlled the segmentation digital content:
(1) if residing network environment is mobile operator networks (such as 2G, 3G, 4G), default hidden rises
Video and audio-frequency information in the segmentation digital content, user can show these multimedia messages by setting
And normal reading.By default hidden, each is segmented the multimedia document information in digital content, can avoid
User uses substantial amounts of data traffic in mobile operator networks, reduces the cost of use of user.
(2) if residing network environment is WIFI network environment and slower downstream transmission speed, also give tacit consent to hidden
The video and audio-frequency information in the segmentation digital content are hidden, user can show these multimedias by setting
Information and normal reading.When network environment is poor, by default hidden, each is segmented many in digital content
Media file information, improves the displaying efficiency of digital content, the fluency that lifting user reads.
(3) if residing network environment is WIFI network environment and downstream transmission speed, acquiescence is aobvious
Show videos and audio-frequency information all in the segmentation digital content, it is many that user can hide these by setting
Media information.
Embodiment two
The embodiments of the invention provide a kind of EPUB hybrid protection systems based on mobile network, including:
Content management server, for the making storage of the digital content of EPUB forms, to digital content segments
Encryption, and pay imformation is added in digital content, the pay imformation to digital content including carrying out segmentation meter
Each charge dot position information taken;Added simultaneously in digital content in digital content format information and numeral
Video, audio file location and title corresponding relation in appearance;
Service managing server, for content distribution, sale and statistical query back-stage management function;User obtains
The digital content for taking content server to make, and parse pay imformation and read configuration, when user uses numeral
When content is to each charge dot position information corresponding position, according to the corresponding user of charge dot position information
Payment information determines that user allows user to be continuing with the digital content after having paid;Otherwise prompting user pays
Take and receive user and confirm after paying, by user charges information record to have paid, and allow user after
It is continuous to use digital content, and code is received according to service server end will charge the corresponding receipts of dot position information
Expense point accounting code deducts the charge in being sent to service server, the account that service server is bound from user
The corresponding expense of point.
By using above-mentioned technical proposal disclosed by the invention, following beneficial effect has been obtained:
(1) Discrete control technology of the invention, realizes user reads how many chapters and sections, just pays corresponding expense,
I.e. user can be paid according to the amount of reading of oneself completely, reach the effect that amount of reading is equal with purchase volume
Really, it is to avoid the waste of user economically.This mode is easier to obtain the accreditation of user, so as to can also carry
Attraction of the digital reading to user is risen, promotes the development of digital reading industry.
(2) present invention is directed to the characteristic of mobile terminal, and digital certificate is believed by Encryption Tool version information and key
Breath composition, is reduced management and authorizes complexity and mobile terminal flow, and entered using same safe encrypted tunnel
The transmission of row digital certificate, improves universality, reduces implementation cost.Meanwhile, for EPUB3.0 text
Part content, when network condition is good (under such as 3G, 4G, WiFi network), displaying Voice & Video letter
Breath, in the case of network condition bad (such as 2G networks), Voice & Video information is not shown, is reduced
Mobile terminal flow, improves the displaying efficiency of digital content, the fluency that lifting user reads.
(3) present invention devises the digital content copyright protection system and client of the EPUB forms of complete set
Ocr software, including the module such as content auditing storage, content registration encryption, content distribution and suitable for movement
The electric terminal ocr software of network.The present invention can support the copyright protection that sectional encryption segmentation is authorized, and change
The pattern once by copy propagation digital content is become, has improved the protection intensity of digital content, ensured
Digital content is controllable can be propagated and utilize pipe and effectively, promote information environment sound development.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed
All be between the difference with other embodiment, each embodiment identical similar part mutually referring to.
Those skilled in the art should be understood that the sequential for the method and step that above-described embodiment is provided can be according to reality
Situation carries out accommodation, also can concurrently be carried out according to actual conditions.
All or part of step in the method that above-described embodiment is related to can instruct the hard of correlation by program
Part is completed, and described program can be stored in the storage medium that computer equipment can be read, for performing
All or part of step described in the various embodiments described above method.The computer equipment, for example:Individual calculus
Machine, server, the network equipment, intelligent mobile terminal, intelligent home device, wearable intelligent equipment, car
Carry smart machine etc.;Described storage medium, for example:RAM, ROM, magnetic disc, tape, CD, sudden strain of a muscle
Deposit, USB flash disk, mobile hard disk, storage card, memory stick, webserver storage, network cloud storage etc..
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms are only
Only be used for by an entity or operation with another entity or operate make a distinction, and not necessarily require or
Imply between these entities or operation there is any this actual relation or order.Moreover, term " comprising ",
A series of "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that including key elements
Process, method, commodity or equipment not only include those key elements, but also including being not expressly set out
Other key elements, or also include for this process, method, commodity or the intrinsic key element of equipment.
In the case of there is no more limitations, the key element limited by sentence " including one ... ", it is not excluded that including institute
Also there is other identical element in process, method, commodity or the equipment of stating key element.
The above is only the preferred embodiment of the present invention, it is noted that for the common skill of the art
For art personnel, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, this
A little improvements and modifications should also regard protection scope of the present invention.
Claims (10)
1. a kind of EPUB guard methods based on mobile network, it is characterised in that including sectional encryption method and
It is segmented decryption method;
The sectional encryption method comprises the following steps:
S1a, obtains the content section for needing to be encrypted in digital content file, obtains content section information;
S2a, the content section information is inserted the precalculated position of the digital content file, obtains in multiple
Hold segmentation;
Digital element in S3a, each content section of analysis, it is determined that being needed in each content section
The digital content of encryption;
S4a, is encrypted to the digital content that encryption is needed in each content section, obtains ciphertext;
S5a, replaces with encryption prompt message, and the ciphertext is saved in specified file by the ciphertext.
The segmentation decryption method comprises the following steps:
S1b, analyzes digital content file form, determines content section information insertion location;
S2b, the content section information is read from the insertion position;
S3b, the content section for determining each to encrypt according to the content section information;
S4b, the digital content encrypted in the content section of each encryption is decrypted, authorized number
Word content.
2. the EPUB hybrid protection methods according to claim 1 based on mobile network, it is characterised in that
S1a is to carry out structure recognition to digital content file according to customer segment strategy, determine in digital content file
The content section being encrypted is needed, content section information is obtained.
3. the EPUB hybrid protection methods according to claim 2 based on mobile network, it is characterised in that
The customer segment strategy is:Template recognition processing is carried out by section of chapters and sections.
4. the EPUB hybrid protection methods according to claim 1 based on mobile network, it is characterised in that
In S2a, the content section information is inserted to the host node of the digital content file.
5. the EPUB hybrid protection methods according to claim 1 based on mobile network, it is characterised in that
In S3a, the digital element in each content section of analysis is implemented in the following way:It is right
Digital element in each content section is analyzed, and the numeral of shared part will be segmented with other guide
Element is removed, and only retains the digital element for belonging to this content section, or, the number to only belonging to this content section
Analyzed according to element, obtaining needs the digital content of encryption in the content section.
6. the EPUB hybrid protection methods according to claim 1 based on mobile network, it is characterised in that
Also include segmentation authorization method and piecewise analytic method:
The segmentation authorization method includes:Digital content file is segmented by service end, obtains segmented content,
One or more pay imformations are inserted in the segmented content;
The piecewise analytic method includes:Client is parsed to the pay imformation, whether judges user
It has been paid that, if it is, allowing user to use digital content, otherwise, return to prompting payment information.
7. the EPUB hybrid protection methods according to claim 6 based on mobile network, it is characterised in that
The pay imformation includes:Charge dot position information, toll site accounting code or/and received server-side code,
The toll site accounting code is corresponding with the charge dot position information, and the toll site accounting code is represented
Fee charged, the received server-side code is used to the toll site accounting code being sent to pair
The service server answered.
8. the EPUB hybrid protection methods according to claim 6 based on mobile network, it is characterised in that
The storage mode of the pay imformation includes:File header is stored in, whole pay imformations are added in numeral
The beginning location of appearance;File paragraph is stored in, the digital content for having been segmented into section, by pay imformation
Add every section of beginning;Or, stored with file mode, by pay imformation with individual files mode with
Digital content is bundled to together.
9. the EPUB hybrid protection methods according to claim 6 based on mobile network, its feature exists
In also including:Server end is to the control process method and client of EPUB files to EPUB files
Control process method;
The server end comprises the following steps to the control process method of EPUB files:
To needing the EPUB files for being put in storage processing to carry out structure recognition, judging the form of the EPUB files is
EPUB2.0 or EPUB3.0, and by corresponding identification information recording in configuration file;
For EPUB3.0 files, the quantity and each multimedia of the multimedia file in digital content file are parsed
Insertion position of the file in EPUB digital contents, and by the title of all multimedia files and it is described insert
The corresponding relation for entering position is stored into the configuration file;
EPUB digital content files after sectional encryption and the configuration file are generated in new EPUB numerals
Hold file, be sent to terminal user;
The client comprises the following steps to the control process method of EPUB files:
Client parses configuration file, stored according to profile information after EPUB digital contents are received
Mode it is different, configuration file is parsed using the method corresponding with storage mode, obtained with confidence
Breath;
Digital content file is segmented and authorized and segmentation decryption, for the digital content of EPUB2.0 file formats,
Do not process;For the digital content of EPUB3.0 file formats, before each segmentation is read, parsing visitor
The network condition at family end.
10. a kind of EPUB hybrid protection systems based on mobile network, it is characterised in that including:
Content management server, for the making storage of the digital content of EPUB forms, to digital content segments
Encryption, and pay imformation is added in digital content, the pay imformation to digital content including carrying out segmentation meter
Each charge dot position information taken;Added simultaneously in digital content in digital content format information and numeral
Video, audio file location and title corresponding relation in appearance;
Service managing server, for content distribution, sale and statistical query back-stage management function;User obtains
The digital content for taking content server to make, and parse pay imformation and read configuration, when user uses numeral
When content is to each charge dot position information corresponding position, according to the corresponding user of charge dot position information
Payment information determines that user allows user to be continuing with the digital content after having paid;Otherwise prompting user pays
Take and receive user and confirm after paying, by user charges information record to have paid, and allow user after
It is continuous to use digital content, and code is received according to service server end will charge the corresponding receipts of dot position information
Expense point accounting code deducts the charge in being sent to service server, the account that service server is bound from user
The corresponding expense of point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610007208.5A CN106953828B (en) | 2016-01-06 | 2016-01-06 | EPUB hybrid protection method and system based on mobile network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610007208.5A CN106953828B (en) | 2016-01-06 | 2016-01-06 | EPUB hybrid protection method and system based on mobile network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106953828A true CN106953828A (en) | 2017-07-14 |
CN106953828B CN106953828B (en) | 2021-02-26 |
Family
ID=59465640
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610007208.5A Active CN106953828B (en) | 2016-01-06 | 2016-01-06 | EPUB hybrid protection method and system based on mobile network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106953828B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113570367A (en) * | 2021-07-29 | 2021-10-29 | 杭州领扬科技有限公司 | Scientific and technological achievement safe transaction method and system based on block chain technology |
CN114969843A (en) * | 2022-08-03 | 2022-08-30 | 确信信息股份有限公司 | Signature and verification seal method, system, storage medium and equipment supporting document style protection |
US11604890B2 (en) | 2017-10-20 | 2023-03-14 | Hewlett Packard Enterprise Development Lp | Accessing information based on privileges |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050192904A1 (en) * | 2002-09-09 | 2005-09-01 | Candelore Brant L. | Selective encryption with coverage encryption |
CN101150585A (en) * | 2007-11-15 | 2008-03-26 | 北大方正集团有限公司 | A method, system and client device for controlling digital content |
CN102096674A (en) * | 2009-12-11 | 2011-06-15 | 华为技术有限公司 | Method, equipment and system for releasing and downloading electronic book |
CN102780556A (en) * | 2011-05-09 | 2012-11-14 | 北大方正集团有限公司 | Method and device for encrypting and decrypting digital content section by section |
CN104113425A (en) * | 2014-07-17 | 2014-10-22 | 普联技术有限公司 | Charge mode setting and detecting method, MiFi equipment and mobile terminal |
CN104462283A (en) * | 2014-11-26 | 2015-03-25 | 北京奇虎科技有限公司 | Method, device and client for requesting webpage elements in mobile terminal |
CN104602227A (en) * | 2015-02-02 | 2015-05-06 | 携程计算机技术(上海)有限公司 | Network-adaptive mobile application data loading method |
-
2016
- 2016-01-06 CN CN201610007208.5A patent/CN106953828B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050192904A1 (en) * | 2002-09-09 | 2005-09-01 | Candelore Brant L. | Selective encryption with coverage encryption |
CN101150585A (en) * | 2007-11-15 | 2008-03-26 | 北大方正集团有限公司 | A method, system and client device for controlling digital content |
CN102096674A (en) * | 2009-12-11 | 2011-06-15 | 华为技术有限公司 | Method, equipment and system for releasing and downloading electronic book |
CN102780556A (en) * | 2011-05-09 | 2012-11-14 | 北大方正集团有限公司 | Method and device for encrypting and decrypting digital content section by section |
CN104113425A (en) * | 2014-07-17 | 2014-10-22 | 普联技术有限公司 | Charge mode setting and detecting method, MiFi equipment and mobile terminal |
CN104462283A (en) * | 2014-11-26 | 2015-03-25 | 北京奇虎科技有限公司 | Method, device and client for requesting webpage elements in mobile terminal |
CN104602227A (en) * | 2015-02-02 | 2015-05-06 | 携程计算机技术(上海)有限公司 | Network-adaptive mobile application data loading method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11604890B2 (en) | 2017-10-20 | 2023-03-14 | Hewlett Packard Enterprise Development Lp | Accessing information based on privileges |
CN113570367A (en) * | 2021-07-29 | 2021-10-29 | 杭州领扬科技有限公司 | Scientific and technological achievement safe transaction method and system based on block chain technology |
CN114969843A (en) * | 2022-08-03 | 2022-08-30 | 确信信息股份有限公司 | Signature and verification seal method, system, storage medium and equipment supporting document style protection |
Also Published As
Publication number | Publication date |
---|---|
CN106953828B (en) | 2021-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2813967B1 (en) | Apparatus and method for managing digital copyright for epub-based content, and apparatus and method for providing epub-based content according to user authority | |
KR100394924B1 (en) | Copyright management device, electronic-production sales device, electronic-book display device, key information management device, and electronic-production distribution management system in which these devices are connected via communication lines | |
EP2225691B1 (en) | Device and method for digital right management | |
EP0567800A1 (en) | Data processing system and method to enforce payment of royalties when copying softcopy books | |
EP2836982B1 (en) | Digital content delivery | |
KR100441580B1 (en) | Accounting apparatus, information receiving apparatus, and communication system | |
CN102982259B (en) | Encrypted content key control device | |
US8826036B1 (en) | Ebook encryption using variable keys | |
CN103020682B (en) | Books Quick Response Code identification generation apparatus, Quick Response Code identification recognition device and system | |
CN101313327A (en) | Method and apparatus for establishing usage rights for digital content to be created in the future | |
CN109428710A (en) | Data transmission method, device, storage medium and processor | |
CN105809042A (en) | Information protection method and device, information display method and device, and terminal | |
US20080097923A1 (en) | Method and apparatus for providing digital rights management content and license, and method and apparatus for using digital rights management content | |
CN103294961A (en) | Method and device for file encrypting/decrypting | |
CN101408962A (en) | Portable digital content device and methods for use therewith | |
CN101512479A (en) | Selective access to portions of digital content | |
CN1936780A (en) | Information processing apparatus, verification processing apparatus, and control methods thereof | |
CN107180197A (en) | file operation method and device | |
CN106557707A (en) | A kind of method and system for processing document data | |
CN111553443B (en) | Training method and device for referee document processing model and electronic equipment | |
CN107306254A (en) | Digital literary property protection method and system based on double layer encryption | |
CN102780556A (en) | Method and device for encrypting and decrypting digital content section by section | |
CN106953828A (en) | A kind of EPUB hybrid protection method and systems based on mobile network | |
CN103246996A (en) | Method, system, price enquiring system, terminal and checking system for realizing discount consumption | |
EP3018913B1 (en) | Media player |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 100007 no.905, 9th floor, building 2, 28 Andingmen East Street, Dongcheng District, Beijing Patentee after: COL Group Co.,Ltd. Patentee after: CHINESE ACADEMY OF PRESS AND PUBLICATION Address before: 100007 no.905, 9th floor, building 2, 28 Andingmen East Street, Dongcheng District, Beijing Patentee before: CHINESEALL DIGITAL PUBLISHING GROUP CO.,LTD. Patentee before: CHINESE ACADEMY OF PRESS AND PUBLICATION |