CN108052494B - Cartoon book generation method, electronic device and computer storage medium - Google Patents

Cartoon book generation method, electronic device and computer storage medium Download PDF

Info

Publication number
CN108052494B
CN108052494B CN201711466706.7A CN201711466706A CN108052494B CN 108052494 B CN108052494 B CN 108052494B CN 201711466706 A CN201711466706 A CN 201711466706A CN 108052494 B CN108052494 B CN 108052494B
Authority
CN
China
Prior art keywords
cartoon
target user
template
target
book
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
CN201711466706.7A
Other languages
Chinese (zh)
Other versions
CN108052494A (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.)
Shenzhen Zhangyue Animation Technology Co ltd
Original Assignee
Zhangyue Technology 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 Zhangyue Technology Co Ltd filed Critical Zhangyue Technology Co Ltd
Priority to CN201711466706.7A priority Critical patent/CN108052494B/en
Publication of CN108052494A publication Critical patent/CN108052494A/en
Application granted granted Critical
Publication of CN108052494B publication Critical patent/CN108052494B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Abstract

The invention discloses a cartoon book generation method, electronic equipment and a computer storage medium, wherein the method comprises the following steps: acquiring reading behavior data of a target user; determining a target cartoon template matched with a target user from preset cartoon templates according to the reading behavior data; and generating the reading behavior data of the target user into a cartoon book based on the target cartoon template. Therefore, according to the scheme of the invention, the personalized comic book which is exclusive to the target user is generated for the target user according to the acquired reading behavior data of the target user within a period of time, so that the reading experience of the target user is improved.

Description

Cartoon book generation method, electronic device and computer storage medium
Technical Field
The invention relates to the field of electronic books, in particular to a comic book generation method, electronic equipment and a computer storage medium.
Background
With the advance of computer technology and network era, electronic books have gained wide acceptance in the production and life process. Especially, with the popularization of mobile terminals such as mobile phones and the rapid development of electronic book readers, users are more and more interested in reading electronic books.
When a user reads an electronic book using an electronic reader, the user may have various reading behaviors. Firstly, because the reading preferences of users are different, the types of the users for reading the electronic books are different, for example, some users like reading martial arts and mythical books, and some users like reading famous biography; second, some users like to annotate, comment on, or post ideas about the book being read while reading the electronic book. However, at present, there is no better application for the reading behavior generated by the user in the reading process, and the reading interest and the reading experience of the user cannot be improved according to the reading behavior of the user.
Disclosure of Invention
In view of the above, the present invention has been made to provide a comic book generation method, an electronic device, and a computer storage medium that overcome or at least partially solve the above-mentioned problems.
According to an aspect of the present invention, there is provided a comic book generation method, including: acquiring reading behavior data of a target user; determining a target cartoon template matched with a target user from preset cartoon templates according to the reading behavior data; and generating the reading behavior data of the target user into a cartoon book based on the target cartoon template.
According to another aspect of the present invention, there is provided an electronic apparatus including: the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the following operations: acquiring reading behavior data of a target user; determining a target cartoon template matched with a target user from preset cartoon templates according to the reading behavior data; and generating the reading behavior data of the target user into a cartoon book based on the target cartoon template.
According to yet another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to: acquiring reading behavior data of a target user; determining a target cartoon template matched with a target user from preset cartoon templates according to the reading behavior data; and generating the reading behavior data of the target user into a cartoon book based on the target cartoon template.
According to the cartoon book generation method, the electronic equipment and the computer storage medium, reading behavior data of the target user within a period of time are obtained, the cartoon template matched with the reading behavior data of the target user is selected according to the reading behavior of the target user, and the reading behavior data of the target user is generated into the personalized cartoon book which is exclusive to the target user on the basis of the selected cartoon template, so that the reading experience of the target user is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a comic book generation method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a comic book generation method according to a second embodiment of the present invention;
fig. 3 shows a flowchart of a comic book generation method according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating a comic book generation method according to a fourth embodiment of the present invention;
fig. 5 is a flowchart illustrating a comic book generation method according to a fifth embodiment of the present invention;
fig. 6 shows a flowchart of a comic book generation method according to a sixth embodiment of the present invention;
fig. 7 shows a schematic structural diagram of an electronic device according to an eighth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Fig. 1 shows a flowchart of a comic book generation method according to an embodiment of the present invention, which is used for generating a personalized comic book, which is specific to a user, for the user according to reading behavior data of the user. As shown in fig. 1, the method comprises the steps of:
and step S101, reading behavior data of the target user is obtained.
With the advance of the network era, the types and contents of books on the internet are more and more abundant, more and more users like to read the books on the internet through mobile terminals such as mobile phones or electronic book readers, each user browses or reads a large number of different books according to the reading preference of the user, and some users like to label, comment or release some ideas on the contents in the books even in the reading process, so that each user can generate a large amount of reading behavior data within a period of time.
The reading behavior data of the user is acquired periodically, wherein the acquisition period can be preset through a configuration file, and for example, the reading behavior data of the user in the period can be acquired every two months, including but not limited to acquiring the browsing or reading condition of the user and the behavior of the user in making ideas on the book or commenting on the content in the book.
And S102, determining a target cartoon template matched with a target user from preset cartoon templates according to the reading behavior data.
Various cartoon templates are preset for each user in the electronic equipment, including but not limited to multi-role interaction type cartoon templates, personage name type cartoon templates and user role type cartoon templates, wherein each cartoon template is associated with reading behaviors of the target user. The embodiment of the invention does not limit the types of the cartoon templates.
Therefore, the target cartoon template matched with the target user can be determined from the preset numerous cartoon templates according to the reading behavior data of the target user. According to the priority of the cartoon template preset based on the preference of the target user, the cartoon template with high priority is preferentially provided for the target user, namely the preferred cartoon template is preferentially provided for the user.
And step S103, generating a cartoon book by using the reading behavior data of the target user based on the target cartoon template.
After determining a target cartoon template matched with a target user, extracting required elements in the target cartoon template from reading behavior data of the target user according to the target cartoon template, illustratively, extracting images of a host male in a book read by the target user and a symbolic language of the host male, or extracting some field-leaving actions representative of the host male in the book. And generating a cartoon book which is exclusive to the user for the user according to the target cartoon template and the extracted elements.
According to the cartoon book generation method, reading behavior data of the target user within a period of time are obtained, the cartoon template matched with the reading behavior data is selected according to the reading behavior of the target user, and the reading behavior data of the target user is generated into the personalized cartoon book which is exclusive to the target user on the basis of the selected cartoon template, so that the reading experience of the target user is improved.
Example two
Fig. 2 shows a flowchart of an electronic book recommendation method according to a second embodiment of the present invention. The embodiment is applied to a situation that a system generates a comic book by reading behavior data of a user within a period of time based on a multi-role interaction type comic template, as shown in fig. 2, the method includes:
step S201, reading behavior data of the target user is obtained.
Step S202, according to the reading behavior data, if the reading books of the target user comprise at least two books, determining that the target cartoon template matched with the target user is a multi-role interactive cartoon template.
Since the reading preference and the reading speed of each user are different, some users may read too many books in a period of time, for example, many hallucinations in the network, the number of chapters updated by the author every day is fixed, and if one user has a high reading speed, the user may read other similar novels while waiting for reading after all chapters updated by the author are read. Therefore, according to the reading behavior data, if the reading book of the target user comprises at least two books, the target cartoon template matched with the target user is determined to be the multi-role interaction type cartoon template.
In step S203, a plurality of portrait images and commonly used phrases thereof in at least two books read by the target user are extracted.
And extracting elements required by the cartoon template from a plurality of books read by the target user according to the determined multi-role interaction type cartoon template, wherein the elements comprise a plurality of main characters, main character portrait and commonly used words thereof in each book and the field action or habitual action of the main characters. Illustratively, the main characters and the relations thereof in the book can be extracted through the brief introduction or book tags of the book read by the target user, and meanwhile, the texts describing the images, common expressions, departure actions and habitual actions of the main characters in the book are extracted, and semantic analysis is performed to obtain the images, common expressions, departure actions and habitual actions of a plurality of main characters in the book read by the target user.
Step S204, generating a cartoon book based on the multi-role interaction cartoon template, the multiple character figures and the commonly used words thereof, wherein the cartoon book at least comprises scenes of the multiple characters in conversation by the commonly used words.
Based on the multi-role interaction cartoon template, after elements required by the cartoon template are obtained, cartoons of respective unique outgoing actions or habitual actions can be simultaneously put out by utilizing respective commonly used phrases for dialogue according to a plurality of characters of one book read by a user; a plurality of main characters in a plurality of books read by the target user may be drawn by a comic using the commonly used phrases to simultaneously present unique leaving actions or habitual actions. Therefore, the generation of the cartoon book which is exclusive to the target user and personalized is finished for the target user.
Step S205, generating a cartoon book based on the multi-role interaction cartoon template, the plurality of character figures and common expressions thereof and the user head figures and common expressions thereof provided by the target user in advance, wherein the cartoon book at least comprises scenes of conversation between the plurality of characters and the target user by the respective common expressions.
Besides extracting required elements based on the multi-role interaction cartoon template, user head portraits, common expressions and actions of the user can be extracted from data provided by the user, and when the cartoon is generated by the aid of the images, the common expressions and the actions of main characters in a book read by the user, the head portraits, the common expressions and the actions of the user are added to generate the cartoon formed by the user and a plurality of main characters in one book or a plurality of books.
According to the cartoon book generation method, after the user determines the multi-role interaction type cartoon template matched with the user, according to the type cartoon template, required elements are extracted from one or more books read by the user, and the required elements can also be extracted from data provided by the user in advance, so that a personalized cartoon book which is exclusive to the user is generated for the user based on the type cartoon template and the extracted elements, and the reading interest and the reading experience of the user are improved.
EXAMPLE III
Fig. 3 is a flowchart illustrating a comic book generation method according to a third embodiment of the present invention, where this embodiment is applied to a case where a system generates a comic book from reading behavior data of a user over a period of time based on a personage name class comic book template. As shown in fig. 3, the method comprises the steps of:
step S301, reading behavior data of the target user is obtained.
Step S302, according to the reading behavior data, if the reading books of the target user comprise celebrity biographies or famous book books, determining the target cartoon template matched with the target user as a character famous cartoon template.
The reading preferences of each target user are different, so that the types of books read by the target users are different, for example, some target users like martial arts to read, some target users like mysterious hallucinations to read, some target users like women's books to read, and some target users like famous books to read. And matching the cartoon template associated with the target book type according to the book type read by the target user. Illustratively, if the reading book of the target user includes a celebrity biography or a celebrity book, the target comic template matching the target user is determined to be a character celebrity comic template.
Step S303, extracting the master portrait and at least one sentence of the master portrait in the celebrity biographies or the famous-class books read by the target user.
Based on the cartoon template of the character name class, elements required by the template of the character name class are extracted, including extracting a master public portrait and at least one sentence name of the master public portrait. Illustratively, texts describing the master character and the habitual action in the book read by the target user are extracted, semantic analysis is carried out, and the portrait of the master character doing different actions is obtained. If the user marks or comments on some words in the read celebrity biography or the noun book, the words can be extracted as the noun; if the user has no comments, but other users have comments on some words in the book, the words can be extracted as the nominal words.
Step S304, generating a cartoon book based on the cartoon template of the name languages of the characters, the master official photo and at least one sentence of the name languages of the master official photo, wherein the cartoon book at least comprises the scene of the name languages of the master official photo.
And generating the cartoon of which the name languages are spoken under the condition that the host and the official make habitual actions according to the character name language type cartoon template and the extracted elements.
According to the cartoon book generation method, after the user determines the character name language type cartoon template matched with the user, required elements are extracted from books read by the user according to the cartoon template. Therefore, an individualized cartoon book which is exclusive to the user is generated for the user based on the cartoon template and the extracted elements, and the reading interest and the reading experience of the user are improved.
Example four
Fig. 4 is a flowchart illustrating a comic book generation method according to a fourth embodiment of the present invention, where this embodiment is applied to a case where a system generates a comic book from reading behavior data of a user over a period of time based on a user role comic template. As shown in fig. 4, the method comprises the steps of:
step S401, reading behavior data of the target user is obtained.
Step S402, according to the reading behavior data, if the target user performs preset operation on the read book, determining that the target cartoon template matched with the target user is a user role type cartoon template, wherein the preset operation comprises at least one of marking, commenting or publishing ideas.
Each target user likes to mark, comment or release ideas on the favorite content when reading due to different reading preferences or reading habits, and therefore the target cartoon template matched with the target user is determined to be the user role type cartoon template.
Step S403, obtaining the content of the target subject of the preset operation performed by the target user on the read book from the reading behavior data.
The elements required by the template are extracted according to the user role type cartoon template, comments or published ideas of a user on some contents in the book in a period of time are mainly extracted, and for example, part of representative user comments or published ideas of the user can be extracted according to a time sequence.
Step S404, based on the cartoon template of the user role class, generating a cartoon book according to the user head portrait and the object content provided by the target user in advance, wherein the cartoon book at least comprises a scene in which the target user performs the preset operation on the object content of the book read by the target user.
For the template, a user head portrait and a user habitual action are extracted from data provided by a user in advance, and a cartoon which is used for commenting or publishing ideas on the content of a read book while a target user does a certain action is generated by combining the user comments or ideas extracted in the previous step.
According to the cartoon book generation method, after the user determines the user role type cartoon template matched with the user role type cartoon template, required elements are extracted from data provided by the user in advance and the read book according to the cartoon template. Therefore, an individualized cartoon book which is exclusive to the user is generated for the user based on the cartoon template and the extracted elements, and the reading interest and the reading experience of the user are improved.
EXAMPLE five
Fig. 5 is a flowchart of a comic book generation method according to a fifth embodiment of the present invention, where the present embodiment is used for generating a comic book by connecting various related templates in series when different templates are related. As shown in fig. 5, the method comprises the steps of:
step S501, reading behavior data of the target user is obtained.
Step S502, according to the reading behavior data, determining target cartoon templates matched with target users from preset cartoon templates, wherein the number of the target cartoon templates matched with the target users is at least two.
In this embodiment, the cartoon template includes, but is not limited to, a multi-role interaction type cartoon template, a personage name type cartoon template, and a user role type cartoon template, and multiple cartoon templates may be preset. Due to the difference of reading preference or reading habit of each target user, some target users may match a plurality of target cartoon templates at the same time, for example, if the target users read a plurality of celebrity biographies within a period of time and make a lot of labels, comments or release personal ideas on the contents in the book in the reading process, it is determined that the target users match the persona noulli templates and the user role cartoon templates at the same time.
And S503, connecting the at least two target cartoon templates in series to obtain a serial template.
And (3) performing series integration on a plurality of target cartoon templates matched with the target user at the same time, and regenerating a series template special for the target user, for example, recombining a name cartoon template and a role cartoon template to generate a new series template.
And step S504, generating the reading behavior data of the target user into a cartoon book based on the serial template.
Based on the concatenated template, elements required by the template are extracted, such as a main public figure, a habitual action and at least one sentence in the biography of the celebrity, and a user figure, the habitual action, a comment of the user on the content in the book and a published idea are extracted from the user data. And generating a cartoon for evaluating the protagonist after the protagonist gives the name of the protagonist by the user role under the condition that the protagonist and the user make habitual actions according to the series template and the extracted elements.
According to the cartoon book generation method, when the target user is determined to be matched with the multiple target cartoon templates at the same time, the multiple cartoon templates are connected in series to generate a new serial template for the target user, and required elements are extracted from data provided by the user in advance and read books according to the cartoon templates. Therefore, an individualized cartoon book which is exclusive to the user is generated for the user based on the cartoon template and the extracted elements, and the reading interest and the reading experience of the user are improved.
EXAMPLE six
Fig. 6 shows a flowchart of a comic book generation method according to a sixth embodiment of the present invention, which is applied to a case where a target user likes a comic template. As shown in fig. 6, the method comprises the steps of:
step S601, reading behavior data of the target user is obtained.
Step S602, according to the reading behavior data, determining a target cartoon template matched with a target user from preset cartoon templates.
And step S603, generating a cartoon book by using the reading behavior data of the target user based on the target cartoon template.
Step S604, determining the type of the cartoon template liked by the target user according to the staying time of the target user in different cartoons generated based on different preset cartoon templates or the sharing behavior of the target user to the different cartoons, so as to generate the cartoons based on the type of the cartoon template liked by the target user.
When the target user reads the cartoon book generated by the system for the target user according to the reading behavior of the target user, the staying time of the target user on each cartoon page is recorded, and the longer the staying time is, the more the target user likes the cartoon page, namely, the more the target user likes the cartoon template corresponding to the cartoon page, the weight of the cartoon template is increased, and then the template which is not liked by the target user is preferentially used for generating the cartoon. In addition, the sharing behavior of the target user can be recorded, if the user shares a certain cartoon, the target user is determined to like the cartoon template corresponding to the cartoon, and the weight of the cartoon template is increased.
According to the cartoon book generation method, after the reading behavior data of the target user is generated into the cartoon book, the retention time of the target user on each page of the cartoon book or the sharing behavior of the target user is recorded, so that the cartoon template liked by the target user is determined, the cartoon template liked by the target user is used preferentially to generate the personalized cartoon book for the target user, and the reading interest and the reading experience of the user are improved.
EXAMPLE seven
The seventh embodiment of the present invention further provides a non-volatile computer storage medium, where the computer storage medium stores at least one executable instruction, and the computer executable instruction may execute the electronic book recommendation method in any of the above method embodiments.
The executable instructions may be specifically configured to cause the processor to:
acquiring reading behavior data of a target user;
determining a target cartoon template matched with a target user from preset cartoon templates according to the reading behavior data;
and generating the reading behavior data of the target user into a cartoon book based on the target cartoon template.
In an optional mode, the preset cartoon template comprises a multi-role interaction type cartoon template, a figure name language type cartoon template and a user role type cartoon template.
In an alternative, the executable instructions further cause the processor to:
and according to the reading behavior data, if the reading books of the target user comprise at least two books, determining that the target cartoon template matched with the target user is a multi-role interactive cartoon template.
In an alternative, the executable instructions further cause the processor to:
extracting a plurality of portrait figures and commonly used phrases thereof in at least two books read by a target user;
generating a cartoon book based on the multi-role interaction cartoon template, the plurality of character figures and commonly used words thereof, wherein the cartoon book at least comprises scenes of the plurality of characters in conversation by the commonly used words; or
And generating a cartoon book based on the multi-role interaction cartoon template, the plurality of character figures and common words thereof and a user head figure and common words thereof provided by the target user in advance, wherein the cartoon book at least comprises scenes of conversation between the plurality of characters and the target user by using the respective common words.
In an alternative, the executable instructions further cause the processor to:
and according to the reading behavior data, if the reading books of the target user comprise celebrity biographies or famous book books, determining the target cartoon template matched with the target user as a character famous cartoon template.
In an alternative, the executable instructions further cause the processor to:
extracting master public images and at least one sentence of the famous sentences in the celebrity biographies or the famous-language books read by the target user;
and generating a cartoon book based on the cartoon template of the name languages of the characters, the master public portrait and at least one sentence of the name languages of the master public portrait, wherein the cartoon book at least comprises scenes of the name languages of the master public.
In an alternative, the executable instructions further cause the processor to:
and according to the reading behavior data, if the target user performs preset operation on the read book, determining that the target cartoon template matched with the target user is a user role type cartoon template, wherein the preset operation comprises at least one of marking, commenting or publishing ideas.
In an alternative, the executable instructions further cause the processor to:
acquiring the object content of the preset operation of the reading book by the target user from the reading behavior data;
and generating a cartoon book according to the user head portrait and the object content which are provided by the target user in advance based on the user role cartoon template, wherein the cartoon book at least comprises a scene of the target user performing the preset operation on the object content of the read book.
In an alternative, where the target caricature templates matching the target user are at least two, the executable instructions further cause the processor to:
connecting the at least two target cartoon templates in series to obtain a serial template;
and generating the reading behavior data of the target user into a cartoon book based on the serial template.
In an alternative, the executable instructions further cause the processor to:
and determining the type of the cartoon template liked by the target user according to the staying time of the target user in different cartoons generated based on different preset cartoon templates or the sharing behavior of the target user to the different cartoons so as to generate the cartoons based on the type of the cartoon template liked by the target user.
Example eight
Fig. 7 is a schematic structural diagram of an electronic device according to an eighth embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 7, the electronic device may include: a processor (processor)702, a Communications Interface 704, a memory 706, and a communication bus 708.
Wherein:
the processor 702, communication interface 704, and memory 706 communicate with each other via a communication bus 708.
A communication interface 704 for communicating with network elements of other devices, such as clients or other servers.
The processor 702 is configured to execute the program 710, and may specifically execute relevant steps in the above-described electronic book recommendation method embodiment.
In particular, the program 710 may include program code that includes computer operating instructions.
The processor 702 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
The memory 706 stores a program 710. The memory 706 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 710 may specifically be used to cause the processor 702 to perform the following operations:
acquiring reading behavior data of a target user;
determining a target cartoon template matched with a target user from preset cartoon templates according to the reading behavior data;
and generating the reading behavior data of the target user into a cartoon book based on the target cartoon template.
In an optional mode, the preset cartoon template comprises a multi-role interaction type cartoon template, a figure name language type cartoon template and a user role type cartoon template.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
and according to the reading behavior data, if the reading books of the target user comprise at least two books, determining that the target cartoon template matched with the target user is a multi-role interactive cartoon template.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
extracting a plurality of portrait figures and commonly used phrases thereof in at least two books read by a target user;
generating a cartoon book based on the multi-role interaction cartoon template, the plurality of character figures and commonly used words thereof, wherein the cartoon book at least comprises scenes of the plurality of characters in conversation by the commonly used words; or
And generating a cartoon book based on the multi-role interaction cartoon template, the plurality of character figures and common words thereof and a user head figure and common words thereof provided by the target user in advance, wherein the cartoon book at least comprises scenes of conversation between the plurality of characters and the target user by using the respective common words.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
and according to the reading behavior data, if the reading books of the target user comprise celebrity biographies or famous book books, determining the target cartoon template matched with the target user as a character famous cartoon template.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
extracting master public images and at least one sentence of the famous sentences in the celebrity biographies or the famous-language books read by the target user;
and generating a cartoon book based on the cartoon template of the name languages of the characters, the master public portrait and at least one sentence of the name languages of the master public portrait, wherein the cartoon book at least comprises scenes of the name languages of the master public.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
and according to the reading behavior data, if the target user performs preset operation on the read book, determining that the target cartoon template matched with the target user is a user role type cartoon template, wherein the preset operation comprises at least one of marking, commenting or publishing ideas.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
acquiring the object content of the preset operation of the reading book by the target user from the reading behavior data;
and generating a cartoon book according to the user head portrait and the object content which are provided by the target user in advance based on the user role cartoon template, wherein the cartoon book at least comprises a scene of the target user performing the preset operation on the object content of the read book.
In an alternative manner, the target caricature templates matched with the target user are at least two, and the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
connecting the at least two target cartoon templates in series to obtain a serial template;
and generating the reading behavior data of the target user into a cartoon book based on the serial template.
In an optional manner, the program 710 may be further specifically configured to cause the processor 702 to perform the following operations:
and determining the type of the cartoon template liked by the target user according to the staying time of the target user in different cartoons generated based on different preset cartoon templates or the sharing behavior of the target user to the different cartoons so as to generate the cartoons based on the type of the cartoon template liked by the target user.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (15)

1. A comic book generation method, the method comprising:
acquiring reading behavior data of a target user aiming at the contents of the electronic books;
determining a target cartoon template matched with a target user from preset cartoon templates according to the reading behavior data; the preset cartoon template comprises a multi-role interaction type cartoon template, a figure name class cartoon template and a user role type cartoon template; the target cartoon template matched with the target user is at least two target cartoon templates;
connecting the at least two target cartoon templates in series to obtain a serial template, and generating the reading behavior data of the target user into a cartoon book based on the serial template;
according to the reading behavior data, determining a target cartoon template matched with a target user from preset cartoon templates, wherein the target cartoon template comprises the following steps:
according to the reading behavior data, if the reading books of the target user comprise at least two books, determining that the target cartoon template matched with the target user is a multi-role interactive cartoon template;
according to the reading behavior data, if the reading books of the target user comprise celebrity biographies or famous-language books, determining that the target cartoon template matched with the target user is a character famous-language cartoon template;
and according to the reading behavior data, if the target user performs preset operation on the read book, determining that the target cartoon template matched with the target user is a user role type cartoon template, wherein the preset operation comprises at least one of marking, commenting or publishing ideas.
2. The method of claim 1, wherein generating the reading behavior data of the target user into the comic book based on the multi-role interaction-like comic template comprises:
extracting a plurality of portrait figures and commonly used phrases thereof in at least two books read by a target user;
generating a cartoon book based on the multi-role interaction cartoon template, the plurality of character figures and commonly used words thereof, wherein the cartoon book at least comprises scenes of the plurality of characters in conversation by the commonly used words; or
And generating a cartoon book based on the multi-role interaction cartoon template, the plurality of character figures and common words thereof and a user head figure and common words thereof provided by the target user in advance, wherein the cartoon book at least comprises scenes of conversation between the plurality of characters and the target user by using the respective common words.
3. The method of claim 1, wherein generating the reading behavior data of the target user into the comic book based on the personage-dialect-like comic template comprises:
extracting master public images and at least one sentence of the famous sentences in the celebrity biographies or the famous-language books read by the target user;
and generating a cartoon book based on the cartoon template of the name languages of the characters, the master public portrait and at least one sentence of the name languages of the master public portrait, wherein the cartoon book at least comprises scenes of the name languages of the master public.
4. The method of claim 1, wherein generating the reading behavior data of the target user into the comic book based on the user role type comic template comprises:
acquiring the object content of the preset operation of the reading book by the target user from the reading behavior data;
and generating a cartoon book according to the user head portrait and the object content which are provided by the target user in advance based on the user role cartoon template, wherein the cartoon book at least comprises a scene of the target user performing the preset operation on the object content of the read book.
5. The method of claim 1, after generating the comic book, further comprising:
and determining the type of the cartoon template liked by the target user according to the staying time of the target user in different cartoons generated based on different preset cartoon templates or the sharing behavior of the target user to the different cartoons so as to generate the cartoons based on the type of the cartoon template liked by the target user.
6. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
acquiring reading behavior data of a target user aiming at the contents of the electronic books;
determining a target cartoon template matched with a target user from preset cartoon templates according to the reading behavior data; the preset cartoon template comprises a multi-role interaction type cartoon template, a figure name class cartoon template and a user role type cartoon template; the target cartoon template matched with the target user is at least two target cartoon templates;
connecting the at least two target cartoon templates in series to obtain a serial template, and generating the reading behavior data of the target user into a cartoon book based on the serial template;
according to the reading behavior data, determining a target cartoon template matched with a target user from preset cartoon templates, wherein the target cartoon template comprises the following steps:
according to the reading behavior data, if the reading books of the target user comprise at least two books, determining that the target cartoon template matched with the target user is a multi-role interactive cartoon template;
according to the reading behavior data, if the reading books of the target user comprise celebrity biographies or famous-language books, determining that the target cartoon template matched with the target user is a character famous-language cartoon template;
and according to the reading behavior data, if the target user performs preset operation on the read book, determining that the target cartoon template matched with the target user is a user role type cartoon template, wherein the preset operation comprises at least one of marking, commenting or publishing ideas.
7. The electronic device of claim 6, wherein generating the reading behavior data of the target user into the comic book based on the multi-role interaction-like comic template comprises:
extracting a plurality of portrait figures and commonly used phrases thereof in at least two books read by a target user;
generating a cartoon book based on the multi-role interaction cartoon template, the plurality of character figures and commonly used words thereof, wherein the cartoon book at least comprises scenes of the plurality of characters in conversation by the commonly used words; or
And generating a cartoon book based on the multi-role interaction cartoon template, the plurality of character figures and common words thereof and a user head figure and common words thereof provided by the target user in advance, wherein the cartoon book at least comprises scenes of conversation between the plurality of characters and the target user by using the respective common words.
8. The electronic device of claim 6, wherein generating the reading behavior data of the target user into the comic book based on the personage-name-class comic template comprises:
extracting master public images and at least one sentence of the famous sentences in the celebrity biographies or the famous-language books read by the target user;
and generating a cartoon book based on the cartoon template of the name languages of the characters, the master public portrait and at least one sentence of the name languages of the master public portrait, wherein the cartoon book at least comprises scenes of the name languages of the master public.
9. The electronic device of claim 6, wherein generating the reading behavior data of the target user into the comic book based on the user role type comic template comprises:
acquiring the object content of the preset operation of the reading book by the target user from the reading behavior data;
and generating a cartoon book according to the user head portrait and the object content which are provided by the target user in advance based on the user role cartoon template, wherein the cartoon book at least comprises a scene of the target user performing the preset operation on the object content of the read book.
10. The electronic device of claim 6, further comprising, after generating the comic book:
and determining the type of the cartoon template liked by the target user according to the staying time of the target user in different cartoons generated based on different preset cartoon templates or the sharing behavior of the target user to the different cartoons so as to generate the cartoons based on the type of the cartoon template liked by the target user.
11. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
acquiring reading behavior data of a target user aiming at the contents of the electronic books;
determining a target cartoon template matched with a target user from preset cartoon templates according to the reading behavior data; the preset cartoon template comprises a multi-role interaction type cartoon template, a figure name class cartoon template and a user role type cartoon template; the target cartoon template matched with the target user is at least two target cartoon templates;
connecting the at least two target cartoon templates in series to obtain a serial template, and generating the reading behavior data of the target user into a cartoon book based on the serial template;
according to the reading behavior data, determining a target cartoon template matched with a target user from preset cartoon templates, wherein the target cartoon template comprises the following steps:
according to the reading behavior data, if the reading books of the target user comprise at least two books, determining that the target cartoon template matched with the target user is a multi-role interactive cartoon template;
according to the reading behavior data, if the reading books of the target user comprise celebrity biographies or famous-language books, determining that the target cartoon template matched with the target user is a character famous-language cartoon template;
and according to the reading behavior data, if the target user performs preset operation on the read book, determining that the target cartoon template matched with the target user is a user role type cartoon template, wherein the preset operation comprises at least one of marking, commenting or publishing ideas.
12. The computer storage medium of claim 11, wherein generating the reading behavior data of the target user into the comic book based on the multi-role interaction-like comic template comprises:
extracting a plurality of portrait figures and commonly used phrases thereof in at least two books read by a target user;
generating a cartoon book based on the multi-role interaction cartoon template, the plurality of character figures and commonly used words thereof, wherein the cartoon book at least comprises scenes of the plurality of characters in conversation by the commonly used words; or
And generating a cartoon book based on the multi-role interaction cartoon template, the plurality of character figures and common words thereof and a user head figure and common words thereof provided by the target user in advance, wherein the cartoon book at least comprises scenes of conversation between the plurality of characters and the target user by using the respective common words.
13. The computer storage medium of claim 11, wherein generating the reading behavior data of the target user into the comic book based on the personage-name-class comic template comprises:
extracting master public images and at least one sentence of the famous sentences in the celebrity biographies or the famous-language books read by the target user;
and generating a cartoon book based on the cartoon template of the name languages of the characters, the master public portrait and at least one sentence of the name languages of the master public portrait, wherein the cartoon book at least comprises scenes of the name languages of the master public.
14. The computer storage medium of claim 11, wherein generating the reading behavior data of the target user into the comic book based on the user role class comic template comprises:
acquiring the object content of the preset operation of the reading book by the target user from the reading behavior data;
and generating a cartoon book according to the user head portrait and the object content which are provided by the target user in advance based on the user role cartoon template, wherein the cartoon book at least comprises a scene of the target user performing the preset operation on the object content of the read book.
15. The computer storage medium of claim 11, after generating the comic book, further comprising:
and determining the type of the cartoon template liked by the target user according to the staying time of the target user in different cartoons generated based on different preset cartoon templates or the sharing behavior of the target user to the different cartoons so as to generate the cartoons based on the type of the cartoon template liked by the target user.
CN201711466706.7A 2017-12-28 2017-12-28 Cartoon book generation method, electronic device and computer storage medium Active CN108052494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711466706.7A CN108052494B (en) 2017-12-28 2017-12-28 Cartoon book generation method, electronic device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711466706.7A CN108052494B (en) 2017-12-28 2017-12-28 Cartoon book generation method, electronic device and computer storage medium

Publications (2)

Publication Number Publication Date
CN108052494A CN108052494A (en) 2018-05-18
CN108052494B true CN108052494B (en) 2021-09-14

Family

ID=62128930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711466706.7A Active CN108052494B (en) 2017-12-28 2017-12-28 Cartoon book generation method, electronic device and computer storage medium

Country Status (1)

Country Link
CN (1) CN108052494B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166641A (en) * 2014-08-06 2014-11-26 方卿 Electronic book generating method and device
CN104809632A (en) * 2015-05-07 2015-07-29 北京字节跳动科技有限公司 Template-based dynamic advertisement generation method and template-based dynamic advertisement generation device
CN105205141A (en) * 2015-09-20 2015-12-30 杭州电子科技大学 Personalized customization method of electronic book
CN106095742A (en) * 2016-06-20 2016-11-09 北京金山安全软件有限公司 Text content generation method and server
CN106970898A (en) * 2017-03-31 2017-07-21 百度在线网络技术(北京)有限公司 Method and apparatus for generating article

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933789B (en) * 2015-12-30 2023-06-20 阿里巴巴集团控股有限公司 Travel attack generation method and generation system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166641A (en) * 2014-08-06 2014-11-26 方卿 Electronic book generating method and device
CN104809632A (en) * 2015-05-07 2015-07-29 北京字节跳动科技有限公司 Template-based dynamic advertisement generation method and template-based dynamic advertisement generation device
CN105205141A (en) * 2015-09-20 2015-12-30 杭州电子科技大学 Personalized customization method of electronic book
CN106095742A (en) * 2016-06-20 2016-11-09 北京金山安全软件有限公司 Text content generation method and server
CN106970898A (en) * 2017-03-31 2017-07-21 百度在线网络技术(北京)有限公司 Method and apparatus for generating article

Also Published As

Publication number Publication date
CN108052494A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN102662961B (en) Method, apparatus and terminal unit for matching semantics with image
CN103399885B (en) Mining method and device of POI (point of interest) representing images and server
US20160164815A1 (en) Terminal device and data processing method thereof
CN105094775B (en) Webpage generation method and device
CN102760170A (en) Electronic book note-taking method based on screenshot
CN107004020B (en) Terminal device and data processing method thereof
JP2017084340A (en) Tag processing method and tag processing device
CN106021394A (en) Website construction method and apparatus
JP4833216B2 (en) Video production device and video production method
CN108304376B (en) Text vector determination method and device, storage medium and electronic device
WO2014042962A1 (en) Determining additional information associated with geographic location information
CN109508448A (en) Short information method, medium, device are generated based on long article and calculate equipment
CN111046158A (en) Question-answer matching method, model training method, device, equipment and storage medium
CN106294480A (en) A kind of file layout change-over method, device and examination question import system
CN116385584A (en) Poster generation method, device and system and computer readable storage medium
CN109615671A (en) A kind of character library sample automatic generation method, computer installation and readable storage medium storing program for executing
US11308029B2 (en) File saving method and electronic device
CN108052494B (en) Cartoon book generation method, electronic device and computer storage medium
US8266208B2 (en) Method and system for sharing documents among members of an online community
CN116755688A (en) Component processing method, device, computer equipment and storage medium
CN114841178A (en) Method, device, electronic equipment and storage medium for realizing session translation
CN107729499A (en) Information processing method, medium, system and electronic equipment
CN114691926A (en) Information display method and electronic equipment
CN104572598A (en) Typesetting method and device for digitally published product
JP2022187507A (en) Technical research support device, technical research support method and technical research support program

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220825

Address after: 518054-13098, 13th floor, main tower of marine center, No. 59, Linhai Avenue, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong

Patentee after: Shenzhen ZhangYue Animation Technology Co.,Ltd.

Address before: 100023 2029e, 2nd floor, East Sihui building, 1008-b, Huihe South Street, Sihui East, Chaoyang District, Beijing

Patentee before: ZHANGYUE TECHNOLOGY Co.,Ltd.