Digital product generation method and digital product generation device
Technical Field
The invention relates to the technical field of digital publishing, in particular to a digital product generation method and a digital product generation device.
Background
At present, the publishing unit has already explored its own advantages and profitability models for some time, and a digital process from data processing, data storage and data reorganization to product release application is formed.
In the publishing field, many publishing enterprises apply various content databases or resource libraries to realize integration and unified management of publishing resources, and realize electronization, fragmentation and metadata labeling of publications such as books and periodicals through digital processing.
However, in the related art, the material library in the publishing resource cannot be reused, which causes waste of the material library to a certain extent.
Therefore, how to realize the reutilization of the material library in the publishing resources so as to fully utilize the material library becomes an urgent problem to be solved.
Disclosure of Invention
The invention provides a new technical scheme based on the problems, and the material library in the published resources can be reused, so that the material library is fully utilized.
In view of the above, an aspect of the present invention provides a digital product generating method, including: receiving a new establishment instruction, establishing an empty digital product, and setting the attribute and the material range of the empty digital product; acquiring material data corresponding to the material range from a material library; integrating the material data into the empty digital product to generate a target digital product.
In the technical scheme, when an empty digital product (such as a theme database or an electronic book) is newly built, corresponding material data are acquired in a material library according to a set material range, and a target digital product is generated according to the acquired material data, so that the data in the material library is reused and added, and the data in the material library is fully utilized. In addition, the process of generating the target digital product is transparent, so that the generation of the target digital product is conveniently monitored.
The acquired material data includes, but is not limited to, one or a combination of the following: text material, picture material, audio material.
In the above technical solution, preferably, the material range includes one or a combination of the following: material types, classification systems to which the materials belong, material keywords, knowledge maps and material attributes.
In this embodiment, the range of materials includes, but is not limited to, one or a combination of the following: the method comprises the steps of obtaining material types, classification systems to which the materials belong, material keywords, knowledge maps and material attributes, so that the obtained material data can meet various requirements.
Wherein the material type is generally related to the service, such as entries, lemmas, pictures, audio, video, etc. 1 to N (N > ═ 1) material types can be set.
For the classification system to which the material belongs, generally, each material may have a plurality of classification systems, for example, the material is separated from the book, may be classified by using a graph method, may be classified by using the business of the publishing entity, and the like. A 1 to M (M > ═ 1) classification system can be set.
The material keywords are the subject word characteristics marked with the materials required by the digital product, and can be arranged in a plurality of numbers.
The knowledge graph is a special knowledge system, and the general knowledge graph can be used for carrying out semantic association on materials so as to realize semantic retrieval. The set knowledge graph can select the whole knowledge graph or the material resources marked by the knowledge points in the path length range of a certain knowledge point.
In any of the above technical solutions, preferably, the method further includes: if the material library is updated, the material data corresponding to the material range is obtained again in the updated material library; and updating the target digital product according to the re-acquired material data.
In the technical scheme, the material library is changed continuously, and the material library is added, deleted and changed after a period of time, so that the generated target digital product is updated, and the reliability of the generated target digital product is ensured.
In any one of the above technical solutions, preferably, the step of integrating the material data into the empty digital product to generate a target digital product specifically includes: receiving a digital product generation instruction, and analyzing the digital product generation instruction to select a target processing engine; integrating, by the target processing engine, the material data into the empty digital product to generate the target digital product.
In any of the above technical solutions, preferably, the method further includes: previewing, adjusting, or exporting the target digital product.
In the technical scheme, the generated target digital product can be previewed so that a user can judge whether the generated target digital product meets the requirement, and if the generated target digital product does not meet the requirement, the target digital product can be adjusted, wherein the operations comprise adjusting a directory structure in the target digital product, deleting materials and the like. The target digital product may also be exported to realize multi-channel utilization, for example, if the target digital product is a theme database, a data packet or a mirror database of the target digital product is exported, and if the target digital product is an electronic book, an electronic file in a format such as word, pdf, epub, or the like is exported.
Another aspect of the present invention provides a digital product generating apparatus, including: the system comprises a new building unit, a setting unit and a display unit, wherein the new building unit is used for receiving a new building instruction, building an empty digital product and setting the attribute and the material range of the empty digital product; the first acquisition unit is used for acquiring material data corresponding to the material range in a material library; and the generating unit is used for integrating the material data into the empty digital product to generate a target digital product.
In the technical scheme, when an empty digital product (such as a theme database or an electronic book) is newly built, corresponding material data are acquired in a material library according to a set material range, and a target digital product is generated according to the acquired material data, so that the data in the material library is reused and added, and the data in the material library is fully utilized. In addition, the process of generating the target digital product is transparent, so that the generation of the target digital product is conveniently monitored.
The acquired material data includes, but is not limited to, one or a combination of the following: text material, picture material, audio material.
In the above technical solution, preferably, the material range includes one or a combination of the following: material types, classification systems to which the materials belong, material keywords, knowledge maps and material attributes.
In this embodiment, the range of materials includes, but is not limited to, one or a combination of the following: the method comprises the steps of obtaining material types, classification systems to which the materials belong, material keywords, knowledge maps and material attributes, so that the obtained material data can meet various requirements.
Wherein the material type is generally related to the service, such as entries, lemmas, pictures, audio, video, etc. 1 to N (N > ═ 1) material types can be set;
for the classification system to which the material belongs, generally, each material may have a plurality of classification systems, for example, the material is separated from the book, may be classified by using a graph method, may be classified by using the business of the publishing entity, and the like. A 1 to M (M > ═ 1) classification system can be set.
The material keywords are the subject word characteristics marked with the materials required by the digital product, and can be arranged in a plurality of numbers.
The knowledge graph is a special knowledge system, and the general knowledge graph can be used for carrying out semantic association on materials so as to realize semantic retrieval. The set knowledge graph can select the whole knowledge graph or the material resources marked by the knowledge points in the path length range of a certain knowledge point.
In any of the above technical solutions, preferably, the method further includes: the second acquisition unit is used for acquiring the material data corresponding to the material range in the updated material library again if the material library is updated; and the updating unit is used for updating the target digital product according to the re-acquired material data.
In the technical scheme, the material library is changed continuously, and the material library is added, deleted and changed after a period of time, so that the generated target digital product is updated, and the reliability of the generated target digital product is ensured.
In any one of the above technical solutions, preferably, the generating unit includes: the selection subunit is used for receiving a digital product generation instruction and analyzing the digital product generation instruction to select a target processing engine; a generating subunit, configured to integrate, by the target processing engine, the material data into the empty digital product to generate the target digital product.
In any of the above technical solutions, preferably, the method further includes: and the processing unit is used for previewing, adjusting or exporting the target digital product.
In the technical scheme, the generated target digital product can be previewed so that a user can judge whether the generated target digital product meets the requirement, and if the generated target digital product does not meet the requirement, the target digital product can be adjusted, wherein the operations comprise adjusting a directory structure in the target digital product, deleting materials and the like. The target digital product may also be exported to realize multi-channel utilization, for example, if the target digital product is a theme database, a data packet or a mirror database of the target digital product is exported, and if the target digital product is an electronic book, an electronic file in a format such as word, pdf, epub, or the like is exported.
Through the technical scheme of the invention, the material library in the publishing resources can be reused, so that the material library is fully utilized.
Drawings
FIG. 1 shows a flow diagram of a digital product generation method according to one embodiment of the invention;
FIG. 2 shows a schematic block diagram of a digital product generation apparatus according to one embodiment of the present invention;
fig. 3 shows a schematic structural diagram of a digital product generating apparatus according to another embodiment of the present invention.
Detailed Description
So that the manner in which the above recited objects, features and advantages of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to the embodiments thereof which are illustrated in the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
FIG. 1 shows a flow diagram of a digital product generation method according to one embodiment of the invention.
As shown in fig. 1, a digital product generation method according to an embodiment of the present invention includes:
step 102, receiving a new establishment instruction, establishing an empty digital product, and setting the attribute and the material range of the empty digital product;
104, acquiring material data corresponding to the material range from a material library;
and 106, integrating the material data into the empty digital product to generate a target digital product.
In the technical scheme, when an empty digital product (such as a theme database or an electronic book) is newly built, corresponding material data are acquired in a material library according to a set material range, and a target digital product is generated according to the acquired material data, so that the data in the material library is reused and added, and the data in the material library is fully utilized. In addition, the process of generating the target digital product is transparent, so that the generation of the target digital product is conveniently monitored.
The acquired material data includes, but is not limited to, one or a combination of the following: text material, picture material, audio material.
In the above technical solution, preferably, the material range includes one or a combination of the following: material types, classification systems to which the materials belong, material keywords, knowledge maps and material attributes.
In this embodiment, the range of materials includes, but is not limited to, one or a combination of the following: the method comprises the steps of obtaining material types, classification systems to which the materials belong, material keywords, knowledge maps and material attributes, so that the obtained material data can meet various requirements.
Wherein the material type is generally related to the service, such as entries, lemmas, pictures, audio, video, etc. 1 to N (N > ═ 1) material types can be set;
for the classification system to which the material belongs, generally, each material may have a plurality of classification systems, for example, the material is separated from the book, may be classified by using a graph method, may be classified by using the business of the publishing entity, and the like. A 1 to M (M > ═ 1) classification system can be set.
The material keywords are the subject word characteristics marked with the materials required by the digital product, and can be arranged in a plurality of numbers.
The knowledge graph is a special knowledge system, and the general knowledge graph can be used for carrying out semantic association on materials so as to realize semantic retrieval. The set knowledge graph can select the whole knowledge graph or the material resources marked by the knowledge points in the path length range of a certain knowledge point.
In any of the above technical solutions, preferably, the method further includes: if the material library is updated, the material data corresponding to the material range is obtained again in the updated material library; and updating the target digital product according to the re-acquired material data.
In the technical scheme, the material library is changed continuously, and the material library is added, deleted and changed after a period of time, so that the generated target digital product is updated, and the reliability of the generated target digital product is ensured.
In any of the above technical solutions, preferably, step 106 specifically includes: receiving a digital product generation instruction, and analyzing the digital product generation instruction to select a target processing engine; integrating, by the target processing engine, the material data into the empty digital product to generate the target digital product.
In any of the above technical solutions, preferably, the method further includes: previewing, adjusting, or exporting the target digital product.
In the technical scheme, the generated target digital product can be previewed so that a user can judge whether the generated target digital product meets the requirement, and if the generated target digital product does not meet the requirement, the target digital product can be adjusted, wherein the operations comprise adjusting a directory structure in the target digital product, deleting materials and the like. The target digital product may also be exported to realize multi-channel utilization, for example, if the target digital product is a theme database, a data packet or a mirror database of the target digital product is exported, and if the target digital product is an electronic book, an electronic file in a format such as word, pdf, epub, or the like is exported.
Fig. 2 shows a schematic structural diagram of a digital product generation apparatus according to an embodiment of the present invention.
As shown in fig. 2, a digital product generating apparatus 200 according to an embodiment of the present invention includes: the system comprises a new establishing unit 202, a first obtaining unit 204 and a generating unit 206, wherein the new establishing unit 202 is used for receiving a new establishing instruction, establishing an empty digital product, and setting the attribute and the material range of the empty digital product; a first obtaining unit 204, configured to obtain material data corresponding to the material range from a material library; a generating unit 206, configured to integrate the material data into the empty digital product to generate a target digital product.
In the technical scheme, when an empty digital product (such as a theme database or an electronic book) is newly built, corresponding material data are acquired in a material library according to a set material range, and a target digital product is generated according to the acquired material data, so that the data in the material library is reused and added, and the data in the material library is fully utilized. In addition, the process of generating the target digital product is transparent, so that the generation of the target digital product is conveniently monitored.
The acquired material data includes, but is not limited to, one or a combination of the following: text material, picture material, audio material.
In the above technical solution, preferably, the material range includes one or a combination of the following: material types, classification systems to which the materials belong, material keywords, knowledge maps and material attributes.
In this embodiment, the range of materials includes, but is not limited to, one or a combination of the following: the method comprises the steps of obtaining material types, classification systems to which the materials belong, material keywords, knowledge maps and material attributes, so that the obtained material data can meet various requirements.
Wherein the material type is generally related to the service, such as entries, lemmas, pictures, audio, video, etc. 1 to N (N > ═ 1) material types can be set;
for the classification system to which the material belongs, generally, each material may have a plurality of classification systems, for example, the material is separated from the book, may be classified by using a graph method, may be classified by using the business of the publishing entity, and the like. A 1 to M (M > ═ 1) classification system can be set.
The material keywords are the subject word characteristics marked with the materials required by the digital product, and can be arranged in a plurality of numbers.
The knowledge graph is a special knowledge system, and the general knowledge graph can be used for carrying out semantic association on materials so as to realize semantic retrieval. The set knowledge graph can select the whole knowledge graph or the material resources marked by the knowledge points in the path length range of a certain knowledge point.
In any of the above technical solutions, preferably, the method further includes: a second obtaining unit 208, configured to, if the material library is updated, obtain material data corresponding to the material range again in the updated material library; and the updating unit 210 is used for updating the target digital product according to the retrieved material data.
In the technical scheme, the material library is changed continuously, and the material library is added, deleted and changed after a period of time, so that the generated target digital product is updated, and the reliability of the generated target digital product is ensured.
In any of the above technical solutions, preferably, the generating unit 206 includes: a selecting subunit 2062, configured to receive a digital product generating instruction, and parse the digital product generating instruction to select a target processing engine; a generating subunit 2064, configured to integrate the material data into the empty digital product through the target processing engine to generate the target digital product.
In any of the above technical solutions, preferably, the method further includes: a processing unit 212, configured to preview, adjust, or export the target digital product.
In the technical scheme, the generated target digital product can be previewed so that a user can judge whether the generated target digital product meets the requirement, and if the generated target digital product does not meet the requirement, the target digital product can be adjusted, wherein the operations comprise adjusting a directory structure in the target digital product, deleting materials and the like. The target digital product may also be exported to realize multi-channel utilization, for example, if the target digital product is a theme database, a data packet or a mirror database of the target digital product is exported, and if the target digital product is an electronic book, an electronic file in a format such as word, pdf, epub, or the like is exported.
Fig. 3 shows a schematic structural diagram of a digital product generating apparatus according to another embodiment of the present invention.
As shown in fig. 3, a digital product generating apparatus 300 according to another embodiment of the present invention includes: a digital product production module 302, a data gathering integration module 304, and a multi-channel generation output module 306.
The digital product fabrication module 302 includes: a new product unit 3022, an attribute labeling unit 3024, a setting range unit 3026, a product adjustment unit 3028, a product preview unit 3030, and a product export unit 3032. Therein, the new product unit 3022 is used to create an empty digital product, for example, an empty theme database or an empty e-book. The attribute labeling unit 3024 is used to set an attribute of the empty digital product, for example, a name and a category of the digital product. A setting range unit 3026, configured to set a material range of the digital product, for example, set a type of the material, a classification system to which the material belongs, a material keyword, and a knowledge graph, since the material library is constantly changed, the above four types all belong to a manner of dynamically acquiring material data. And material data can be directly obtained through material attributes. Generally, if the digital product is a theme database, the first four ways are used to obtain the material data, and if the digital product is an electronic book, the latter way is used to obtain the material data. A product adjusting unit 3028 for adjusting a target structure of the digital product or deleting material data after the digital product is generated. A product preview unit 3030, configured to preview the generated digital product, so that the user determines whether the requirement is met. And a product export unit 3032, configured to export the product to realize multi-channel utilization. Such as a theme database, export package or mirror database, electronic book export word, pdf, epub, etc. formatted electronic files. The adjustment, preview and export functions described above for digital products are implemented in relation to specific product categories.
The data gathering integration module 304 includes: a data retrieving unit 3042, a data buffering unit 3044, and a data packing unit 3046. The data retrieving unit 3042 retrieves material data corresponding to the material range from the material library. The data caching unit 3044 is configured to cache the retrieved material data corresponding to the material range. And a data packing unit 3046, configured to pack and arrange the buffered material data corresponding to the material range into a newly-created empty digital product, where the digital product with the material data is a target digital product.
The multi-channel generation output module 306 includes: a command parsing unit 3062 and an engine adaptation unit 3064. The command parsing unit 3062 is configured to parse the received digital product generation instruction to parse out what type of product the newly-built digital product is; an engine adaptation unit 3064, configured to select a corresponding engine in the engine factory according to the type of the digital product, so as to integrate the material data into the empty digital product through the selected engine to form a final digital product (i.e., a target digital product). For example, if the digital product is an electronic book, the electronic book generation engine is selected, and if the digital product is a theme database, the theme database engine is selected. After the final digital product is generated, the digital product is placed under a preset path, and the path is fed back to the monitoring main thread. The main thread writes the path into the final digital product information and modifies its state to a finished state.
The technical solution of the present invention is explained in detail by two examples below:
the first embodiment is as follows:
firstly, creating an empty theme database, selecting the category of the theme database and filling related information; secondly, setting material range of the theme database, wherein the setting range can be selected from one or more of setting of material type, setting of material knowledge system, setting of search term and setting of knowledge map. And thirdly, calling a theme library generation engine by the polymorphic generation engine to generate the theme library.
The steps of the theme database engine generating the theme database are as follows:
firstly, the method comprises the following steps: acquiring a preset empty mirror image theme bank WEB container and locally copying;
II, secondly: starting an empty WEB container of the mirror image theme library, calling a container preset interface, and determining that the container is available;
thirdly, the method comprises the following steps: calling a data collection and integration module, and acquiring material data according to a set material range;
fourthly, the method comprises the following steps: and importing the material data into an empty mirror image theme base WEB container through a container interface.
The mirror image theme base WEB container is formed by integrating software such as green version mysql, tomcat, jdk and the like and a theme base running system, can be started by one key, and does not need to set an environment. What the topic database engine needs to do is to import the content into an empty mirrored topic library WEB container to form the final topic database.
And after the importing is finished, the theme database engine changes the theme database making state, the preview function of the theme database is available, the product preview is clicked, and the page of the theme database is opened for browsing.
Finally, when the theme database is exported, a mirror theme library or a theme library data packet can be selected for exporting. The former can be directly deployed in the internal environment of the purchasing user, and the latter is used for online theme database data import or mirror theme database offline update.
Example two:
first, an empty electronic book is created, and necessary attributes are filled in. Secondly, an electronic book making interface is carried out, the cover, the prologue, the catalog, the postscript and other elaboration information of the electronic book are selected, and a catalog structure is set. And thirdly, performing combined search under the directory structure of the electronic book to obtain chapter material data. And a sequence adjustment is performed. And thirdly, calling the electronic book generation engine by the polymorphic generation engine to generate the electronic book. The electronic book generation engine firstly splices the chapter material data into an integral data in HTML format, then calls a document conversion engine to convert the HTML data into data in WORD format and data in EPUB format, and then converts the data in WORD format into data in PDF format through PDF Creator. When the electronic book is exported, the interface provides a plurality of electronic book formats for the user to select.
The technical scheme of the invention is explained in detail in the above with the help of the attached drawings, and the material library in the publishing resources can be reused by the technical scheme of the invention, so that the material library is fully utilized.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.