CN106953828B - EPUB hybrid protection method and system based on mobile network - Google Patents

EPUB hybrid protection method and system based on mobile network Download PDF

Info

Publication number
CN106953828B
CN106953828B CN201610007208.5A CN201610007208A CN106953828B CN 106953828 B CN106953828 B CN 106953828B CN 201610007208 A CN201610007208 A CN 201610007208A CN 106953828 B CN106953828 B CN 106953828B
Authority
CN
China
Prior art keywords
content
file
digital content
information
epub
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
Application number
CN201610007208.5A
Other languages
Chinese (zh)
Other versions
CN106953828A (en
Inventor
唐秋月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chinese Academy Of Press And Publication
Col Group Co ltd
Original Assignee
Chinese Academy Of Press And Publication
Chineseall Digital Publishing Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chinese Academy Of Press And Publication, Chineseall Digital Publishing Group Co ltd filed Critical Chinese Academy Of Press And Publication
Priority to CN201610007208.5A priority Critical patent/CN106953828B/en
Publication of CN106953828A publication Critical patent/CN106953828A/en
Application granted granted Critical
Publication of CN106953828B publication Critical patent/CN106953828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network 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/045Network 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 an EPUB hybrid protection method and system based on a mobile network, and relates to the technical field of confidentiality. The copyright protection of the segmented encryption and the segmented authorization realizes that the user pays corresponding fees according to reading amount of how many chapters the user reads, namely, the user can pay according to the reading amount of the user completely, the effect that the reading amount is equal to the purchasing amount is achieved, and the economic waste of the user is avoided. Meanwhile, the mode of spreading the digital content by copying is changed, the protection strength of the digital content is improved, controllable and controllable spreading and effective utilization of the digital content are guaranteed, and the healthy development of the information environment is promoted.

Description

EPUB hybrid protection method and system based on mobile network
Technical Field
The invention relates to the technical field of confidentiality, in particular to an EPUB hybrid protection method and system based on a mobile network.
Background
EPUB is a completely open and free e-book standard, belonging to a content that can be "automatically rearranged": the text content can be displayed in a manner most suitable for reading according to the characteristics of the reading device. It comprises the following components: the e-book contents are XHTML files, the description is XML, and is a ZIP file containing the above files. That is, the EPUB metadata is XML and the EPUB content is XHTML. Since the text content can be displayed in a manner most suitable for reading according to the characteristics of the reading device (screen size, different platforms), EPUB is also gradually becoming the mainstream e-book reading format of each terminal type (phone, pad, etc.).
The EPUB resource format includes three main specifications [1 ]:
ops (open Publication structure) 2.0: defining the layout of the content;
OPF (open Packaging Format) 2.0: defining an XML-based epub file structure;
OCF (OEBPS Container Format) 1.0: and collecting all related files into a ZIP compressed file.
Since the digital era is entered, people's lives are surrounded by ubiquitous digital products, EPUB electronic books are gradually becoming the mainstream electronic reading format of terminals, and the problem of intellectual property protection specific to the network era is becoming more and more prominent. EPUB is an unencrypted, unpinned, XML-based electronic book document, "unencrypted" (unencrypted) meaning that the document is not digitally encrypted, and anyone can open (unzip) and edit the EPUB formatted document. Since unencrypted EPUB resources can be freely distributed without authorization, knowledge copyright protection of EPUB electronic resources is a subject to be researched and discussed.
At present, an electronic book content copyright protection mechanism (EEA) in an EPUB format is proposed by researching the EPUB document format and a related information encryption algorithm and combining symmetric encryption DES and asymmetric encryption RSA.
In the EEA encryption process, the advantages of an asymmetric encryption algorithm and a symmetric key algorithm are combined, firstly, a symmetric encryption algorithm DES key (DES key) is used for encrypting the data content, then, a key (Private key) in an RSA (rivest-Shamir-Adleman) is used for encrypting the key (DES key) of the symmetric algorithm, and a generated Result (Result) is stored in an EPUB license file, wherein the license file is a new file added on the basis of an EPUB structure.
The EEA encryption process is roughly divided into four steps:
(1) encrypting resource content
The user requests the relevant EPUB file, the server side analyzes the EPUB file, the EPUB content is read, the content is encrypted by using a DES symmetric encryption algorithm, the encrypted content is rewritten into the corresponding XHTML content file, and the encryption Key DES Key is used as the input of the second step.
(2) Encrypting symmetric keys
When each terminal user requests for EPUB digital resources, the server generates a pair of corresponding Private Key (Private Key) and Public Key (Public Key), the Public Key is transmitted to the user terminal to store the Private Key for decryption of the electronic book, and the Private Key is stored in the server-side database for encryption of the electronic book. And carrying out asymmetric encryption operation by utilizing a stored Private Key (Private Key) aiming at the symmetric algorithm Key (DESKey) generated in the first step to generate a Result (Result).
(3) Generating new EPUBs
Firstly, the internal structure of the EPUB is improved, a License file is added, and then the Result (Result) generated in the second step is stored in the License file.
(4) EPUB resource publishing
And (3) issuing the newly generated encrypted EPUB electronic book and sending the electronic book to a terminal user, wherein the resource has a copyright protection function, and because the resource content information is encrypted ciphertext, the License file content in the EPUB can be viewed and read only by analyzing the License file content by using a corresponding Public Key (Public Key).
The technical scheme is that after symmetric and asymmetric combined encryption is carried out on digital content in an EPUB format, a newly generated encrypted EPUB electronic book is issued and sent to a terminal user. And after the terminal acquires the resource content, performing decryption operation, wherein the acquired result is the original electronic book content of the EPUB, and the EPUB content can be finally presented at the terminal. The technical scheme performs copyright protection on the EPUB content to a great extent, but has certain limitation, which is mainly shown in that:
the technical scheme aims at the encryption and decryption of the whole EPUB file, and can not meet the personalized requirements of users. In actual use, a user needs to buy and read a specific book chapter according to own preference and demand, and the technical scheme cannot meet the demand of the user. The user can only read the content that the user wants by purchasing the whole digital content, and the corresponding fee is paid for the content that the user does not want to read, which brings economic waste to the user.
The technical scheme aims at the medium of the traditional Internet, and the content format is an EPUB2.0 content file. With the rise and rapid development of the mobile internet, mobile reading is becoming the most important reading mode at present. The appearance and application of the EPUB3.0 standard also enable mobile reading to become more diversified, and increase rich content display modes such as audio, video and mathematical formulas. The scheme has no special processing in the aspect of EPUB3.0 format content aiming at the mobile network, and has certain limitation.
The technical scheme only has encryption of EPUB content and a decryption algorithm of the terminal, does not have complete system, platform and terminal application, and has certain difficulty in implementation and application of the scheme.
Disclosure of Invention
The present invention is directed to a method and system for EPUB hybrid protection based on a mobile network, so as to solve the foregoing problems in the prior art.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
an EPUB protection method based on a mobile network comprises a segment encryption method and a segment decryption method;
the segmented encryption method comprises the following steps:
s1a, acquiring content segments needing to be encrypted in the digital content file to obtain content segment information;
s2a, inserting the content segment information into the preset position of the digital content file to obtain a plurality of content segments;
s3a, analyzing the digital elements in each content segment, and determining the digital content to be encrypted in each content segment;
s4a, encrypting the digital content to be encrypted in each content segment to obtain a ciphertext;
and S5a, replacing the ciphertext with the encrypted prompt message, and storing the ciphertext in a specified file.
The segmented decryption method comprises the following steps:
s1b, analyzing the format of the digital content file, and determining the insertion position of the content segmentation information;
s2b, reading the content segmentation information from the insertion position;
s3b, determining each encrypted content segment according to the content segment information;
s4b, decrypting the encrypted digital content in each encrypted content segment to obtain the authorized digital content.
Preferably, S1a is to perform structure identification on the digital content file according to the user segmentation policy, determine content segments that need to be encrypted in the digital content file, and obtain content segment information.
Preferably, the user segmentation policy is: and performing layout identification processing by taking chapters as sections.
Preferably, in S2a, the content segment information is inserted into the master node of the digital content file.
Preferably, in S3a, the analyzing the digital element in each content segment is performed as follows: and analyzing the digital elements in each content segment, removing the digital elements sharing parts with other content segments, and only keeping the digital elements belonging to the content segment, or analyzing the data elements belonging to the content segment to obtain the digital content needing to be encrypted in the content segment.
Further, the method comprises a segmentation authorization method and a segmentation analysis method:
the segmented authorization method comprises the following steps: the server side segments the digital content file to obtain segmented content, and inserts one or more pieces of charging information into the segmented content;
the segmentation analysis method comprises the following steps: and the client analyzes the charging information, judges whether the user pays, allows the user to use the digital content if the user pays, and returns a prompt payment information if the user pays.
Preferably, the charging information includes: the system comprises charging point position information, a charging point charging code or/and a server side receiving code, wherein the charging point charging code corresponds to the charging point position information, the charging point charging code represents a once-charged fee, and the server side receiving code is used for sending the charging point charging code to a corresponding service server.
Preferably, the storage manner of the charging information includes: storing the charging information in a file header, and adding all the charging information into the beginning position of the digital content; storing in file paragraphs, adding charging information to the beginning of each segment for digital content that has been segmented into segments; or, stored in a file, the billing information is packaged with the digital content in a separate file.
Further, still include: a server side controls and processes the EPUB file and a client side controls and processes the EPUB file;
the method for controlling and processing the EPUB file by the server side comprises the following steps:
performing structure identification on an EPUB file needing warehousing processing, judging whether the format of the EPUB file is EPUB2.0 or EPUB3.0, and recording corresponding identification information in a configuration file;
for the EPUB3.0 file, analyzing the number of multimedia files in the digital content file and the insertion positions of the multimedia files in the EPUB digital content, and storing the corresponding relation between the names of all the multimedia files and the insertion positions in the configuration file;
generating a new EPUB digital content file by the EPUB digital content file after the encryption of the segments and the configuration file, and sending the new EPUB digital content file to a terminal user;
the method for controlling and processing the EPUB file by the client comprises the following steps:
after receiving the EPUB digital content, the client analyzes the configuration file, and analyzes the configuration file by adopting a method corresponding to a storage mode according to different storage modes of the configuration file information to obtain configuration information;
the digital content file is authorized and decrypted in a segmented mode, and the digital content in the EPUB2.0 file format is not processed; for digital content in an EPUB3.0 file format, the network condition of the client is analyzed before reading each segment.
A mobile network-based EPUB hybrid protection system, comprising:
the content management server is used for manufacturing and warehousing the digital content in an EPUB format, encrypting the digital content in a segmented manner, and adding charging information into the digital content, wherein the charging information comprises position information of each charging point for carrying out segmented charging on the digital content; simultaneously adding digital content format information and corresponding relation of video and audio file positions and names in the digital content into the digital content;
the business management server is used for content distribution, sale and statistics inquiry background management functions; the user acquires the digital content made by the content server, analyzes the charging information and the reading configuration, and when the user uses the digital content to the position corresponding to the position information of each charging point, the user is allowed to continue using the digital content after the user pays according to the user payment information corresponding to the position information of the charging point; otherwise, prompting the user to pay and receiving the confirmation of the user to pay, recording the user payment information as the paid information, allowing the user to continue using the digital content, sending the charging point charging code corresponding to the charging point position information to the service server according to the receiving code of the service server end, and deducting the corresponding fee of the charging point from the account bound by the user by the service server.
The invention has the beneficial effects that:
(1) the segmentation control technology of the invention realizes that the user pays corresponding fee according to how many chapters are read, namely, the user can pay according to the reading amount of the user, the effect that the reading amount is equal to the purchasing amount is achieved, and the economic waste of the user is avoided. The mode is easier to be approved by users, so that the attraction of digital reading to the users is improved, and the development of the digital reading industry is promoted.
(2) Aiming at the characteristics of the mobile terminal, the digital certificate consists of the version information of the encryption tool and the secret key information, the complexity of management and authorization and the flow of the mobile terminal are reduced, and the same safe encryption channel is adopted for transmitting the digital certificate, so that the universality is improved, and the implementation cost is reduced. Meanwhile, for the file content of the EPUB3.0, when the network condition is good (such as under 3G and 4G, WiFi networks), the audio and video information is displayed, and when the network condition is not good (such as under 2G networks), the audio and video information is not displayed, so that the flow of the mobile terminal is reduced, the display efficiency of the digital content is improved, and the reading fluency of a user is improved.
(3) The invention designs a set of complete digital content copyright protection system in an EPUB format and client reading software, which comprises modules of content checking and warehousing, content registration encryption, content distribution and the like and electronic terminal reading software suitable for a mobile network. The invention can support the copyright protection of the segmented encryption and the segmented authorization, changes the mode of once spreading the digital content by copying, improves the protection intensity of the digital content, ensures the controllable and controllable spreading and effective utilization of the digital content, and promotes the healthy development of the information environment.
Drawings
FIG. 1 is a schematic flow diagram of a segment encryption method;
FIG. 2 is a flow chart of a segment decryption method;
fig. 3 is a flow chart of a client parsing method.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
Example one
The embodiment of the invention provides an EPUB protection method based on a mobile network, which comprises a sectional encryption method and a sectional decryption method;
the segmented encryption method comprises the following steps:
s1a, acquiring content segments needing to be encrypted in the digital content file to obtain content segment information;
s2a, inserting the content segment information into the preset position of the digital content file to obtain a plurality of content segments;
s3a, analyzing the digital elements in each content segment, and determining the digital content to be encrypted in each content segment;
s4a, encrypting the digital content to be encrypted in each content segment to obtain a ciphertext;
and S5a, replacing the ciphertext with the encrypted prompt message, and storing the ciphertext in a specified file.
The segmented decryption method comprises the following steps:
s1b, analyzing the format of the digital content file, and determining the insertion position of the content segmentation information;
s2b, reading the content segmentation information from the insertion position;
s3b, determining each encrypted content segment according to the content segment information;
s4b, decrypting the encrypted digital content in each encrypted content segment to obtain the authorized digital content.
S1a may be configured to perform structure identification on the digital content file according to a user segmentation policy, determine content segments that need to be encrypted in the digital content file, and obtain content segment information.
In this embodiment, the user segmentation policy may be: and performing layout identification processing by taking chapters as sections.
In S2a, the content segmentation information may be inserted into the master node of the digital content file.
In S3a, the analyzing the digital elements in each content segment may be performed as follows: and analyzing the digital elements in each content segment, removing the digital elements sharing parts with other content segments, and only keeping the digital elements belonging to the content segment, or analyzing the data elements belonging to the content segment to obtain the digital content needing to be encrypted in the content segment.
In the above method, the actual operation process of the segment encryption method may be as shown in fig. 1, and the specific process may be:
1. and carrying out structure identification on the EPUB file according to a user segmentation strategy, and determining content segmentation needing to be encrypted in the EPUB file to obtain content segmentation information. For digital content in EPUB format, the segmentation policy for the user is segmented by chapters. Through the layout recognition processing, for example, a range of the first chapter is 5 to 12 pages, a range of the second chapter is 13 to 20 pages, and the like.
2. Analyzing the format of the digital content file, determining the preset position of the digital content where the content segmentation information is inserted, and inserting the content segmentation information into the preset position of the digital content file.
The predetermined position of the digital content file can be a user-defined data part, and for the digital content file in the EPUB format, a user-defined file can be directly inserted into the digital content file main node. Therefore, in the present invention, the obtained content segmentation information is inserted into the main node of the digital content file, and the insertion may be specifically in the following form: XML, adding content segmentation information in the XML file, and describing the correspondence between each segment and each chapter range as follows:
<Segment SegId=“1”PageRange=“[5-12]”>
<Segment SegId=“2”PageRange=“[13-20]”>
<Segment SegId=“3”PageRange=“[21-40]”>
……
3. the digital elements in each content segment are analyzed to determine the digital content in each content segment that needs to be encrypted. The method comprises the following two analysis methods:
analyzing digital elements in each content segment, removing digital elements sharing parts with other content segments, and only retaining data elements belonging to the content segment; it should be noted that since some common resources, such as font resources, may be shared among multiple segments, it is necessary to exclude these resources from the encryption range in order not to affect the normal use of other segments. Can be realized by the following ways, including:
(1) when the attribute of the data element in the digital content carries a flag indicating whether the data element is a shared data element, the attribute of the data element in the content segment is directly searched, the shared data is removed, and only the data element belonging to the content segment is reserved.
(2) When the attribute of the data element in the digital content does not carry the flag indicating whether the data element is the shared data element, all the digital content needs to be scanned to obtain the data element belonging to the sharing, the shared data element in the content segment is removed, and only the data element belonging to the content segment is reserved.
And secondly, analyzing the data elements only belonging to the content segment to obtain the digital content needing to be encrypted in the content segment. It should be noted that, the data elements of the content segment also include structural elements, and in order to ensure the original format of the digital content, only the digital content in the segment is encrypted, but the structural elements are not encrypted, for example, when the following data < tag > value </tag > exists in the content segment, only the value is determined to be the digital content to be encrypted, and the inherent structures of < tag > and </tag > are not required to be encrypted.
4. The digital content to be encrypted in each segment of content is encrypted.
Any encryption method in the prior art can be adopted during encryption, for example, a symmetric encryption algorithm can be adopted to encrypt the digital content to be encrypted in each content segment. In addition, when the digital content to be encrypted in each content segment is encrypted, the digital content may be encrypted by using an equal-length encryption algorithm or by using an unequal-length encryption algorithm. When the encryption algorithm with different lengths is adopted for encryption, after the encryption, the ciphertext needs to be adjusted by using a preset adjusting algorithm, and the file format of the encrypted digital content file can be ensured. When the encryption algorithm with equal length is adopted for encryption, after the encryption, the ciphertext does not need to be adjusted by using a preset adjusting algorithm, and the file format of the encrypted digital content file can be ensured. Therefore, in order to ensure the original format of the encrypted digital content file and simplify the encryption operation, a better encryption scheme is to encrypt the digital content by using an equal-length encryption algorithm.
5. And replacing part of encrypted ciphertext in the content segment with the encrypted prompt message, and storing the encrypted part of ciphertext in a specified file.
Wherein, the replacing of the encrypted ciphertext by the encrypted prompt message and the saving of the replaced ciphertext to the specified file include: determining prompt information content, and replacing ciphertext content with equal length in the original ciphertext (the length of the prompt information content should be smaller than that of the ciphertext); the replaced ciphertext part (or the position of the replacement part) may be stored in the segment information part, may be stored in an authorized use certificate, or may be stored in any other position where information may be stored.
In the above method, the actual operation process of the segment decryption method may be as shown in fig. 2, and the specific process may be:
1. the NCX file of the EPUB file is analyzed, an insertion position of the content segment information is determined, and the content segment information is read from the insertion position. It should be noted that, in the predetermined digital content file, the portion of the content that can be written by the user is the user-defined data portion, and although the specific location of the user-defined data portion in the digital content file is not known, the data portion into which the content segmentation information is inserted is determined, so that if the content segmentation information is to be obtained, only the format of the digital content needs to be analyzed to determine the location of the specific portion in the digital content file, that is, the location of the content segmentation information insertion can be determined.
2. Each encrypted content segment is determined based on the content segment information.
3. And acquiring the replaced ciphertext from the specified file, and replacing the corresponding part of the ciphertext with the replaced ciphertext to obtain the encrypted ciphertext.
If the replaced ciphertext is stored in the authorized use certificate, acquiring the ciphertext from the authorized use certificate; if the replaced ciphertext is stored in the content segmentation information, acquiring the ciphertext from the content segmentation information; if the content is stored in the other digital file, the content is acquired from the other digital content file.
4. And respectively decrypting the digital content in each encrypted content segment to obtain the authorized digital content.
When the digital content encrypted in each encrypted content segment is decrypted, the decryption mode and the decryption key depend on the specific encryption mode and encryption key in encryption.
In the invention, after the digital content to be encrypted in each segment is encrypted, part of ciphertext is replaced by the prompt message, thereby avoiding messy codes when the ciphertext is displayed and achieving the purpose of friendly display.
The EPUB hybrid protection method based on the mobile network provided by the embodiment of the invention can also comprise a segmentation authorization method and a segmentation analysis method:
the segmented authorization method comprises the following steps: the server side segments the digital content file to obtain segmented content, and inserts one or more pieces of charging information into the segmented content;
the segmentation analysis method comprises the following steps: and the client analyzes the charging information, judges whether the user pays, allows the user to use the digital content if the user pays, and returns a prompt payment information if the user pays.
The digital content is authorized in sections by adopting a method of setting a plurality of charging points. Digital content received by a client is divided into segments as needed and one or more billing information is inserted therein.
And by means of the segmented authorization, the user can pay for the interested digital content in a segmented manner according to the needs. The digital content is segmented and inserted with one or more billing information as needed. When the user uses the digital content to the position corresponding to each charging point position information, determining that the user is allowed to continue using the digital content after paying according to the user payment information corresponding to the charging point position information; otherwise, prompting the user to pay and receiving the confirmation of the user to pay, setting the user payment information as the payment is already paid, and allowing the user to continue using the digital content. The client device obtains the digital content and analyzes the charging information, and the process of payment authorization is completed through the system.
Wherein the charging information may include: the system comprises charging point position information, a charging point charging code or/and a server side receiving code, wherein the charging point charging code corresponds to the charging point position information, the charging point charging code represents a once-charged fee, and the server side receiving code is used for sending the charging point charging code to a corresponding service server.
In actual use, the charging information of each charging point location information may include:
(1) the position information of a charging point for carrying out sectional charging on the digital content, and when a user reads the digital content, the position of the user needing to pay is obtained according to the position information of the charging point;
(2) the system also comprises charging point charging codes corresponding to the position information of each charging point, each charging code represents the charge charged once, and a user can pay through different charging point charging codes. The charging codes of the charging points can be the same or different.
(3) The service server receives the code. Sending the charging point charging code to a corresponding service server through the code; each charging point can also have the same service server terminal receiving code, and the charging point charging code can be sent to the same service server for processing, or the charging point charging code can be directly sent to the service server for payment without setting the code.
The charging information of each charging point position information can also comprise the sending times, and because the set charging point charging codes are different and the charging conditions of the digital content are different, the charging condition can not be met by the once attached fee of each charging point charging code sometimes, so the sending times are increased according to the actual condition, and the fee to be charged is accumulated by a plurality of methods.
In an actual operation process, the segmentation analysis method is shown in fig. 3, and specifically may be:
(1) the client analyzes the charging information by adopting a method corresponding to the storage mode according to different charging information storage modes, the client automatically analyzes and extracts the charging information, and the digital content before the first charging point is authorized freely and can be freely used by consumers.
(2) When the user uses the digital content to each charging point position, determining that the user is allowed to continue using the digital content after paying according to the corresponding user payment information; otherwise, prompting the user to pay and receiving the user confirmation payment, recording the user payment information corresponding to the charging point position information as the payment is paid, and allowing the user to continue using the digital content. The specific process is as follows:
when the user uses the digital content to the position corresponding to each charging point position information, determining that the user is allowed to continue using the digital content after paying according to the user payment information corresponding to the charging point position information; otherwise, the client pops up prompt information of 'continuous use and ordering is needed', after the user confirms, the client receives the code according to the service server end, the charging point charging code corresponding to the charging point position information is sent to the service server, the client directly sets that the charging point is already charged according to the information of successful local sending, the charge corresponding to the charging point is deducted from the account of the digital content purchaser, and the user obtains the authorization of the section of digital content. Or the client sends the charging code of the charging point corresponding to the charging point position information to the service server according to the receiving code of the service server and marks that the payment is paid after the service server returns the successful deduction. And deduct the corresponding charge of the charging point from the account bound by the digital content buyer to ensure that the user obtains the authorization of the piece of digital content.
Wherein, the storage mode of the charging information comprises: storing the charging information in a file header, and adding all the charging information into the beginning position of the digital content; storing in file paragraphs, adding charging information to the beginning of each segment for digital content that has been segmented into segments; or, stored in a file, the billing information is packaged with the digital content in a separate file.
The EPUB hybrid protection method based on the mobile network provided by the embodiment of the invention can further comprise the following steps: a server side controls and processes the EPUB file and a client side controls and processes the EPUB file;
the method for controlling and processing the EPUB file by the server side comprises the following steps:
performing structure identification on an EPUB file needing warehousing processing, judging whether the format of the EPUB file is EPUB2.0 or EPUB3.0, and recording corresponding identification information in a configuration file;
for the EPUB3.0 file, analyzing the number of multimedia files in the digital content file and the insertion positions of the multimedia files in the EPUB digital content, and storing the corresponding relation between the names of all the multimedia files and the insertion positions in the configuration file;
generating a new EPUB digital content file by the EPUB digital content file after the encryption of the segments and the configuration file, and sending the new EPUB digital content file to a terminal user;
the method for controlling and processing the EPUB file by the client comprises the following steps:
after receiving the EPUB digital content, the client analyzes the configuration file, and analyzes the configuration file by adopting a method corresponding to a storage mode according to different storage modes of the configuration file information to obtain configuration information;
the digital content file is authorized and decrypted in a segmented mode, and the digital content in the EPUB2.0 file format is not processed; for digital content in an EPUB3.0 file format, the network condition of the client is analyzed before reading each segment.
In the actual operation process, the control processing process of the server side on the EPUB file may be:
1. and carrying out structure recognition on the EPUB file needing warehousing processing, determining whether the file format of the EPUB file is EPUB2.0 or EPUB3.0, and recording corresponding identification information in a configuration file.
2. For the EPUB3.0 file, the number of multimedia files such as audio and video in the digital content file and the insertion position of each multimedia file are analyzed, and the corresponding relation between the multimedia file name and the insertion position of the file in the EPUB digital content is stored in a configuration file.
3. And generating new EPUB books by the book contents, the configuration files and the like after the segmentation encryption, and sending the new EPUB books to the terminal user. The supported client network environments include 2G, 3G, 4G operator networks and WLAN wireless networks.
In the actual operation process, the control processing process of the client to the EPUB file is as follows:
1. after receiving the EPUB digital content, the client analyzes the configuration file, analyzes the configuration by adopting a method corresponding to a storage mode according to different storage modes of the configuration file information, and automatically analyzes and extracts the configuration information.
2. The digital content file is authorized and decrypted in a segmented mode, and the digital content in the EPUB2.0 file format is not processed; for the digital content in the EPUB3.0 file format, before reading each segment, analyzing the network conditions of the client, including the network environment, the uplink and downlink speed and the like. According to different network environments and transmission speeds, the segmented digital content is flexibly controlled:
(1) if the network environment is a mobile operator network (such as 2G, 3G, 4G), the video and audio information in the segmented digital content is hidden by default, and the user can display the multimedia information and read the multimedia information normally through setting. By hiding the multimedia file information in each segmented digital content by default, the method can avoid the use of a large amount of data traffic in the mobile operator network by the user, and reduce the use cost of the user.
(2) If the network environment is a WIFI network environment and the uplink and downlink transmission speed is low, the video and audio information in the segmented digital content is hidden by default, and a user can display the multimedia information and read the multimedia information normally through setting. When the network environment is poor, the multimedia file information in each segmented digital content is hidden by default, so that the display efficiency of the digital content is improved, and the reading fluency of a user is improved.
(3) If the network environment is a WIFI network environment and the uplink and downlink transmission speed is high, all video and audio information in the segmented digital content is displayed by default, and a user can hide the multimedia information through setting.
Example two
The embodiment of the invention provides an EPUB hybrid protection system based on a mobile network, which comprises:
the content management server is used for manufacturing and warehousing the digital content in an EPUB format, encrypting the digital content in a segmented manner, and adding charging information into the digital content, wherein the charging information comprises position information of each charging point for carrying out segmented charging on the digital content; simultaneously adding digital content format information and corresponding relation of video and audio file positions and names in the digital content into the digital content;
the business management server is used for content distribution, sale and statistics inquiry background management functions; the user acquires the digital content made by the content server, analyzes the charging information and the reading configuration, and when the user uses the digital content to the position corresponding to the position information of each charging point, the user is allowed to continue using the digital content after the user pays according to the user payment information corresponding to the position information of the charging point; otherwise, prompting the user to pay and receiving the confirmation of the user to pay, recording the user payment information as the paid information, allowing the user to continue using the digital content, sending the charging point charging code corresponding to the charging point position information to the service server according to the receiving code of the service server end, and deducting the corresponding fee of the charging point from the account bound by the user by the service server.
By adopting the technical scheme disclosed by the invention, the following beneficial effects are obtained:
(1) the segmentation control technology of the invention realizes that the user pays corresponding fee according to how many chapters are read, namely, the user can pay according to the reading amount of the user, the effect that the reading amount is equal to the purchasing amount is achieved, and the economic waste of the user is avoided. The mode is easier to be approved by users, so that the attraction of digital reading to the users is improved, and the development of the digital reading industry is promoted.
(2) Aiming at the characteristics of the mobile terminal, the digital certificate consists of the version information of the encryption tool and the secret key information, the complexity of management and authorization and the flow of the mobile terminal are reduced, and the same safe encryption channel is adopted for transmitting the digital certificate, so that the universality is improved, and the implementation cost is reduced. Meanwhile, for the file content of the EPUB3.0, when the network condition is good (such as under 3G and 4G, WiFi networks), the audio and video information is displayed, and when the network condition is not good (such as under 2G networks), the audio and video information is not displayed, so that the flow of the mobile terminal is reduced, the display efficiency of the digital content is improved, and the reading fluency of a user is improved.
(3) The invention designs a set of complete digital content copyright protection system in an EPUB format and client reading software, which comprises modules of content checking and warehousing, content registration encryption, content distribution and the like and electronic terminal reading software suitable for a mobile network. The invention can support the copyright protection of the segmented encryption and the segmented authorization, changes the mode of once spreading the digital content by copying, improves the protection intensity of the digital content, ensures the controllable and controllable spreading and effective utilization of the digital content, and promotes the healthy development of the information environment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
It should be understood by those skilled in the art that the timing sequence of the method steps provided in the above embodiments may be adaptively adjusted according to actual situations, or may be concurrently performed according to actual situations.
All or part of the steps in the methods according to the above embodiments may be implemented by a program instructing related hardware, where the program may be stored in a storage medium readable by a computer device and used to execute all or part of the steps in the methods according to the above embodiments. The computer device, for example: personal computer, server, network equipment, intelligent mobile terminal, intelligent home equipment, wearable intelligent equipment, vehicle-mounted intelligent equipment and the like; the storage medium, for example: RAM, ROM, magnetic disk, magnetic tape, optical disk, flash memory, U disk, removable hard disk, memory card, memory stick, network server storage, network cloud storage, etc.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The use of the phrase "including a" does not exclude the presence of other, identical elements in the process, method, article, or apparatus that comprises the same element, whether or not the same element is present in all of the same element.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements should also be considered within the scope of the present invention.

Claims (7)

1. An EPUB hybrid protection method based on a mobile network is characterized by comprising a segmented encryption method and a segmented decryption method;
the segmented encryption method comprises the following steps:
s1a, acquiring content segments needing to be encrypted in the digital content file to obtain content segment information;
s2a, inserting the content segment information into the preset position of the digital content file to obtain a plurality of content segments;
s3a, analyzing the digital elements in each content segment, and determining the digital content to be encrypted in each content segment;
s4a, encrypting the digital content to be encrypted in each content segment to obtain a ciphertext;
s5a, replacing the ciphertext with the encrypted prompt message, and storing the ciphertext into a designated file;
the segmented decryption method comprises the following steps:
s1b, analyzing the format of the digital content file, and determining the insertion position of the content segmentation information;
s2b, reading the content segmentation information from the insertion position;
s3b, determining each encrypted content segment according to the content segment information;
s4b, decrypting the encrypted digital content in each encrypted content segment to obtain authorized digital content;
the method also comprises a segmentation authorization method and a segmentation analysis method:
the segmented authorization method comprises the following steps: the server side segments the digital content file to obtain segmented content, and inserts one or more pieces of charging information into the segmented content;
the segmentation analysis method comprises the following steps: the client analyzes the charging information, judges whether the user pays, if so, allows the user to use the digital content, otherwise, returns a prompt payment information;
further comprising: a server side controls and processes the EPUB file and a client side controls and processes the EPUB file;
the method for controlling and processing the EPUB file by the server side comprises the following steps:
performing structure identification on an EPUB file needing warehousing processing, judging whether the format of the EPUB file is EPUB2.0 or EPUB3.0, and recording corresponding identification information in a configuration file;
for the EPUB3.0 file, analyzing the number of multimedia files in the digital content file and the insertion positions of the multimedia files in the EPUB digital content, and storing the corresponding relation between the names of all the multimedia files and the insertion positions in the configuration file;
generating a new EPUB digital content file by the EPUB digital content file after the encryption of the segments and the configuration file, and sending the new EPUB digital content file to a terminal user;
the method for controlling and processing the EPUB file by the client comprises the following steps:
after receiving the EPUB digital content, the client analyzes the configuration file, and analyzes the configuration file by adopting a method corresponding to a storage mode according to different storage modes of the configuration file information to obtain configuration information;
the digital content file is authorized and decrypted in a segmented mode, and the digital content in the EPUB2.0 file format is not processed; for the digital content in the EPUB3.0 file format, analyzing the network condition of the client before reading each segment; when the network is a mobile operator network or a WIFI network environment and the uplink and downlink transmission speed is low, hiding video and audio information in segmented data content by default; and when the network is in a WIFI network environment and the uplink and downlink transmission speed is high, displaying the video and audio information in the segmented data content by default.
2. The EPUB hybrid protection method based on mobile network according to claim 1, wherein S1a is configured to identify the structure of the digital content file according to the user segmentation policy, determine the content segments to be encrypted in the digital content file, and obtain the content segment information.
3. The mobile network based EPUB hybrid protection method of claim 2, wherein the user segmentation policy is: and performing layout identification processing by taking chapters as sections.
4. The mobile network-based EPUB hybrid protection method according to claim 1, wherein the content segment information is inserted into the master node of the digital content file in S2 a.
5. The mobile network-based EPUB hybrid protection method according to claim 1, wherein in S3a, the analyzing the digital element in each of the content segments is performed as follows: and analyzing the digital elements in each content segment, removing the digital elements sharing parts with other content segments, and only keeping the digital elements belonging to the content segment, or analyzing the data elements belonging to the content segment to obtain the digital content needing to be encrypted in the content segment.
6. The mobile network-based EPUB hybrid protection method according to claim 1, wherein the charging information includes: the system comprises charging point position information, a charging point charging code or/and a server side receiving code, wherein the charging point charging code corresponds to the charging point position information, the charging point charging code represents a once-charged fee, and the server side receiving code is used for sending the charging point charging code to a corresponding service server.
7. The EPUB hybrid protection method based on mobile network as claimed in claim 1, wherein the storage manner of the charging information comprises: storing the charging information in a file header, and adding all the charging information into the beginning position of the digital content; storing in file paragraphs, adding charging information to the beginning of each segment for digital content that has been segmented into segments; or, stored in a file, the billing information is packaged with the digital content in a separate file.
CN201610007208.5A 2016-01-06 2016-01-06 EPUB hybrid protection method and system based on mobile network Active CN106953828B (en)

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 CN106953828A (en) 2017-07-14
CN106953828B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019078878A1 (en) 2017-10-20 2019-04-25 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
CN114969843B (en) * 2022-08-03 2022-11-01 确信信息股份有限公司 Signature and verification seal method, system, storage medium and equipment supporting document style protection

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8818896B2 (en) * 2002-09-09 2014-08-26 Sony Corporation Selective encryption with coverage encryption

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN106953828A (en) 2017-07-14

Similar Documents

Publication Publication Date Title
US9536058B2 (en) Apparatus and method for managing digital copyright on EPUB-based content, and apparatus and method for providing EPUB-based content according to user&#39;s right
EP2836982B1 (en) Digital content delivery
EP2891109B1 (en) A video file encryption and decryption method, device, and mobile terminal
TW569130B (en) Data providing device and method, data processing device and method and program storage media
CN100472550C (en) Method for generating licence and method and apparatus for providing contents using the same
US20050033700A1 (en) Method and apparatus for creating and rendering an advertisement
CN107729352A (en) page resource loading method and terminal device
CN103400064B (en) For file encryption and the method and apparatus of deciphering
US20130275765A1 (en) Secure digital document distribution with real-time sender control of recipient document content access rights
US20080262922A1 (en) Contents, teaser advertisement generating method, and content providing method
CN106953828B (en) EPUB hybrid protection method and system based on mobile network
JP2010129096A (en) Method and system for providing content service
CN102047239B (en) Defining, distributing and presenting device experiences
CN103780631A (en) System and method for digital rights management using a standard rendering engine
CN102819704A (en) Document copyright protection method for intelligent terminal
CN102004762B (en) Generate the method and apparatus of e-book and download the method and apparatus of e-book
CN106557707A (en) A kind of method and system for processing document data
US20070150967A1 (en) License acquiring system, server apparatus and terminal apparatus
CN103577458A (en) Control method and corresponding control device for displaying webpage according to terminal type
KR101953090B1 (en) Contents distribution management system and method using blockchain technology
CN109784987B (en) Picture copyright profit method and device
KR102512633B1 (en) System for providing cloud based document template service
CN106130951B (en) Application store service management method and device
CN110866229B (en) Multi-platform account authority unified management method and system
KR102051425B1 (en) Apparatus and method for integrated management of advertisement platform

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