CN115830188A - Title cover automatic generation method, system, equipment and computer readable storage medium - Google Patents
Title cover automatic generation method, system, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN115830188A CN115830188A CN202211626719.7A CN202211626719A CN115830188A CN 115830188 A CN115830188 A CN 115830188A CN 202211626719 A CN202211626719 A CN 202211626719A CN 115830188 A CN115830188 A CN 115830188A
- Authority
- CN
- China
- Prior art keywords
- text
- picture
- information
- cover
- article information
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000012163 sequencing technique Methods 0.000 claims description 13
- 238000003780 insertion Methods 0.000 claims description 9
- 230000037431 insertion Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 7
- 230000000694 effects Effects 0.000 abstract description 8
- 230000006870 function Effects 0.000 description 8
- 238000004458 analytical method Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 239000000463 material Substances 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N Silicium dioxide Chemical compound O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application relates to the technical field of internet, in particular to a title cover automatic generation method, a system, equipment and a computer readable storage medium, wherein the method comprises the steps of obtaining article information; the article information comprises one or more of a cover picture, a text picture and text information; acquiring the priority order of a cover picture, a text picture and text information; and matching the picture corresponding to the article information with the highest priority as a cover picture of the article information according to the priority order based on the article information and the priority order. The method and the device have the effects of reducing the time and labor required when the article is matched with the cover picture, and improving the operation working efficiency.
Description
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, a system, a device, and a computer-readable storage medium for automatically generating a title cover.
Background
In the process that the number of application program users is gradually increased, articles displayed by the APP and PC end homepage information flows need to be prompted, and application program operators need to match the new and edited articles with a cover page image to perform a better prompting function. When the operation adds the image-text data in the background, the cover drawings of the image-texts need to be searched in advance, after other image-texts are obtained from the database, the cover drawings need to be matched with the image-texts one by one, the time consumption for searching the cover drawings is far more than that of other contents of the article in many times, and a large amount of manpower and material resources are consumed by the workload of the part.
Therefore, the prior art needs to be improved based on the above problems.
Disclosure of Invention
The invention aims to provide an automatic title cover generation method, and aims to solve the problems that much time and labor are needed to be consumed and the efficiency is low when an article is matched with a cover map.
The purpose of the application is realized by the following technical scheme:
an automatic title cover generation method comprises the following steps:
acquiring article information; the article information comprises one or more of a cover picture, a text picture and text information;
acquiring the priority sequence of a cover page picture, a text picture and text information;
and matching the picture corresponding to the article information with the highest priority as a cover picture of the article information according to the priority order based on the article information and the priority order.
By adopting the technical scheme, the article information is acquired, the priority formed by the three parts in the article information is compared, the image acquisition is carried out from high to low according to the priority sequence, the acquired image is set as the cover map, when the article information is not manually uploaded, the cover map related to the article information content is identified at the background through the technology and is automatically associated with the current article information, the time and the labor are reduced, and the cover map is matched with the article information, so that the operation working efficiency is greatly improved.
The invention in a preferred example may be further configured to: based on the article information and the priority order, according to the priority order, the step of matching the picture corresponding to the article information with the highest priority as the cover picture of the article information comprises the following steps:
judging whether a cover page picture exists in the article information;
when a cover picture exists in the article information, keeping the cover picture of the article information unchanged;
when the cover picture does not exist in the article information, judging whether the article information comprises a text picture or not;
when the article information comprises a text picture, setting the text picture as a cover picture of the article information;
when the article information does not include the text picture, judging whether the article information includes text information or not;
when the article information comprises text information, setting the associated picture as a cover picture of the article information based on the associated picture of the text information;
and if the article information does not comprise the text information, prompting error information.
By adopting the technical scheme, the article information is retrieved from high to low according to the priority order, whether the cover map with the highest priority exists is judged, and if the cover map exists, the cover map in the article information is not changed. If the cover map does not exist, the pictures are sequentially extracted according to other priorities to be set as the cover map, the pictures can be extracted step by step to serve as the cover map, and the corresponding cover map can be matched with the article information more accurately. The accuracy of matching the cover drawings by operators as article information is improved, and the efficiency is improved.
The present invention in a preferred example may be further configured to: when the article information comprises a text picture, the step of setting the text picture as a cover picture of the article information comprises the following steps:
acquiring the insertion positions of all text pictures in article information;
setting sequencing serial numbers of all the text pictures according to the reading logic sequence based on the insertion positions of all the text pictures in the article information;
and selecting the text picture with the minimum sequence number as a cover picture of the article information based on the sequencing sequence numbers of all the set text pictures.
By adopting the technical scheme, when the cover picture does not exist in the article information, the text picture in the article information is preferentially extracted as the cover picture, when a plurality of text pictures exist in the article information, the plurality of text pictures in the article information can be sequenced, and the first picture in the article content, namely the text picture with the minimum sequence number, is extracted as the cover picture.
The present invention in a preferred example may be further configured to: when the article information includes text information, the step of setting the associated picture as a cover picture of the article information based on the associated picture of the text information includes:
acquiring text information; the text information comprises a text body, an associated link of the text body, service words and hot words matched with the text body, and key words;
acquiring a text body, an associated link of the text body, service words and hot words matched with the text body and the priority order of keywords;
and matching the associated picture of the text information with the highest priority as a cover picture of the article information according to the priority order based on the text information and the priority order.
By adopting the technical scheme, when the cover picture and the text picture do not exist in the article information, the related picture in the text information is preferentially extracted as the cover picture, the pictures are extracted step by step as the cover picture according to the priorities among the text, the related links, the service words, the hot words and the keywords in the text information, and when the picture is extracted at a certain priority as the cover picture, the next priority is not extracted. The images are extracted according to the priority, the cover page images can be matched with the article information more accurately, the existing images in the database are matched through automatic identification of connection association links, business words and hot words, and the operation working efficiency is greatly improved.
The present invention in a preferred example may be further configured to: based on the text information and the priority order, according to the priority order, the step of matching the associated picture of the text information with the highest priority as the cover picture of the article information comprises the following steps:
acquiring an associated link of a text;
and acquiring picture information corresponding to the link information based on the link information of the associated link, and setting the picture information corresponding to the associated link as a cover page of the article information.
When the link information of the associated link does not exist, acquiring service words and hot words matched with the text body;
and based on the service words and the hot words matched with the acquired text information, when the service words and the hot words matched with the text information are matched with the service words and the hot words of the image information stored in the database, setting the image information stored corresponding to the matched service words and the hot words as a cover picture of the article information.
By adopting the technical scheme, the article information is retrieved from high to low according to the priority sequence, the priority of the associated link of the text is higher than the service words and the hot words matched with the text, and if the associated link exists, the picture information corresponding to the associated link is set as the cover page of the article information. And if the associated link does not exist, extracting the picture according to the matching of the service words and the hot words and the rest of priorities and setting the extracted picture as a cover picture. The method has the advantages that the pictures can be extracted step by step to serve as cover pictures, corresponding cover pictures can be matched for the article information more accurately, the accuracy of matching the cover pictures by operators as the article information is improved, and the efficiency is improved.
The present invention in a preferred example may be further configured to: based on the text information and the priority order, according to the priority order, the step of matching the associated picture of the text information with the highest priority as the cover picture of the article information further comprises the following steps:
when the associated link of the text, the matched service words and the hot words do not exist, acquiring keywords manually added by a user or extracted by identifying text information;
based on the keywords manually added or extracted by the user for text body identification, when the keywords extracted by text body identification are matched with the keywords of the image information stored in the database, the image information corresponding to the matched keywords is set as a cover picture of the article information.
By adopting the technical scheme, when the association link, the service word and the hot word of the text information do not exist, the keywords manually set by the user can be obtained or the extracted keywords are identified and matched with the keywords in the database, and when the matching is consistent, the pictures with consistent keywords in the database are correspondingly extracted as the cover pictures, so that the keywords can be quickly and accurately matched with the article information.
The present invention in a preferred example may be further configured to: the method further comprises the following steps:
acquiring picture information stored in a database;
and associating the service words, the hot words and the keywords as labels to the corresponding picture information based on the picture information.
By adopting the technical scheme, the picture information and the associated labels or keywords thereof in the database can be continuously updated and increased, so that the picture information in the database can be adapted to various article information, the service words, the hot words and the keywords can be associated to the picture information as the labels, when the labels associated with the picture information are more, the picture information can be triggered more accurately, the time for searching and comparing calculation is reduced, and the matching is quicker.
The second purpose of the application is to provide an automatic title cover generation system.
The second application object of the present application is achieved by the following technical scheme: an automatic title cover generation system comprising:
the article information acquisition module is used for acquiring article information; the article information comprises one or more of a cover page picture, a text picture and text information; the priority acquisition module is used for acquiring the priority sequence of the front cover picture, the text picture and the text information;
and the matching module is used for matching the picture corresponding to the article information with the highest priority as a cover picture of the article information according to the priority order based on the article information and the priority order.
By adopting the technical scheme, the article information is acquired, the priority formed by the three parts in the article information is compared, the image acquisition is carried out from high to low according to the priority sequence, the acquired image is set as the cover map, when the article information is not manually uploaded, the cover map related to the article information content is identified at the background through the technology and is automatically associated with the current article information, the time and the labor are reduced, and the cover map is matched with the article information, so that the operation working efficiency is greatly improved.
The third purpose of the application is to provide a title cover automatic generation device.
The third objective of the present application is achieved by the following technical solutions:
an automatic title cover generation device comprises a memory and a processor, wherein the memory is stored with a computer program which can be loaded by the processor and executes the automatic title cover generation method.
The fourth purpose of the present application is to provide a computer-readable storage medium.
The fourth application purpose of the present application is achieved by the following technical solutions:
a computer-readable storage medium in which a computer program capable of being loaded by a processor and executing the above-described title cover automatic generation method is stored.
In summary, the present application includes at least one of the following beneficial technical effects:
1. by acquiring the article information, comparing the priority formed by the three parts in the article information, acquiring the images from high to low according to the priority sequence, setting the acquired images as cover pictures, identifying the cover pictures related to the article information content in the background through the technology when the article information is not manually uploaded, and automatically associating the cover pictures with the current article information, the time and the labor are reduced, the cover pictures are matched with the article information, and the operation working efficiency is greatly improved.
2. And searching the article information from high to low according to the priority order, judging whether the cover map with the highest priority exists, and if the cover map exists, not changing the cover map in the article information. If the cover map does not exist, the pictures are sequentially extracted according to other priorities to be set as the cover map, the pictures can be extracted step by step to serve as the cover map, and the corresponding cover map can be matched with the article information more accurately. The accuracy of matching the cover drawings by operators as article information is improved, and the efficiency is improved.
3. The image information in the database and the associated labels or keywords thereof can be continuously updated and increased, so that the image information in the database can be adapted to various article information, the service words, the hot words and the keywords can be associated to the image information as the labels, when the image information is associated with more labels, the image information can be triggered more accurately, the retrieval comparison calculation time is reduced, and the matching is quicker.
Drawings
FIG. 1 is a flow chart of the steps of a method for automatically generating a title cover.
Fig. 2 is a block diagram of a flow chart of an automatic title cover creation system.
Reference numerals
100. An article information acquisition module; 200. a priority acquisition module; 300. and a matching module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship, unless otherwise specified.
The embodiments of the present application will be described in further detail with reference to the drawings.
The embodiment of the application provides an automatic title cover generation method, and with reference to fig. 1, the main flow of the method is described as follows:
s1: acquiring article information; the article information comprises one or more of a cover picture, a text picture and text information;
the article information comprises a cover page picture, a text picture and text information, and the article information input by a user or exported from a database is acquired.
S2: acquiring the priority order of a cover picture, a text picture and text information;
after the acquisition is completed, the front cover picture, the text picture and the text information contained in the article information are subjected to priority sequencing, wherein the priority sequencing comprises the following steps from high to low: cover drawings, text pictures and text information.
S3: and matching the picture corresponding to the article information with the highest priority as a cover picture of the article information according to the priority order based on the article information and the priority order.
And if only one article information is contained, directly setting the corresponding picture as a cover picture according to the article information. And when the article information contains a plurality of articles, sorting the priority of the article information, extracting pictures based on the priority to set as a cover picture, and when the corresponding pictures matched with the article information with higher priority are set as the cover picture, stopping extracting the pictures of the article information with lower priority to set as the cover picture.
Specifically, in some possible embodiments, the step of matching, based on the article information and the priority order, the picture corresponding to the article information with the highest priority as the cover picture of the article information according to the priority order includes:
judging whether a cover page picture exists in the article information;
when a cover picture exists in the article information, keeping the cover picture of the article information unchanged;
when the cover picture does not exist in the article information, judging whether the article information comprises a text picture or not;
when the article information comprises a text picture, setting the text picture as a cover picture of the article information;
when the article information does not include the text picture, judging whether the article information includes text information or not;
when the article information comprises text information, setting the associated picture as a cover picture of the article information based on the associated picture of the text information;
and if the article information does not comprise the text information, prompting error information.
The front cover picture, the text picture and the text information are sequentially sorted from high priority to low priority. The method comprises the steps of firstly judging from a cover picture with the highest priority in article information, and judging whether the cover picture exists in the article information. When the cover picture exists, the cover picture in the article information is not changed, and the computer does not extract the picture and sets the picture as the cover picture. And when the cover picture does not exist, continuously judging to a lower priority according to the priority sequence. By judging whether text pictures exist in the article information or not, when the text pictures exist, the text pictures are extracted and set as cover pictures, and when the text pictures do not exist, the pictures are extracted according to the text information in the lowest priority order to serve as the cover pictures. By judging whether text information exists in the article information or not, when the text information exists, extracting pictures related to the text information and setting the pictures as a cover picture, and when the text information does not exist, a user does not input effective article information to a background, and the error prompt information of the cover picture with the pictures set as the article information cannot be automatically generated is prompted.
Specifically, in some possible embodiments, when the article information includes a text image, the step of setting the text image as a cover picture of the article information includes:
acquiring the insertion positions of all text pictures in article information;
setting sequencing serial numbers of all the text pictures according to the reading logic sequence based on the insertion positions of all the text pictures in the article information;
and selecting the text picture with the minimum sequence number as a cover picture of the article information based on the sequencing sequence numbers of all the set text pictures.
The article information comprises one or more text pictures, and when the number of the text pictures is only one, the text pictures are extracted to be used as a cover picture of the article information. When a plurality of text pictures exist, the plurality of text pictures in the article information are sorted from top to bottom and from left to right according to the reading logic sequence of the user, the head of the article information is usually the title information, and the titles are summarized or representatively shown in the attached drawings, so that the picture with the smallest sort, namely the first arrangement serial number 1 of the article is extracted and is set as the cover picture.
Specifically, in some possible embodiments, when the article information includes text information, the step of setting, based on an associated picture of the text information, the associated picture as a cover page of the article information includes:
acquiring text information; the text information comprises a text body, an associated link of the text body, service words and hot words matched with the text body, and key words;
acquiring a text body, an associated link of the text body, service words and hot words matched with the text body and the priority order of keywords;
and matching the associated picture of the text information with the highest priority as a cover page picture of the article information according to the priority order based on the text information and the priority order.
When the article information does not contain a cover picture and a text picture, acquiring text information in the article information, wherein the text information comprises a text body, an associated link, a service word, a hot word and a keyword. The priority of the text information is ordered from high to low as follows: and associating links, business words, hot words and keywords. And sequencing the priority of the various text messages, associating the pictures based on the priority, and extracting the pictures to set as a cover page picture. And when the text information with higher priority is associated with the corresponding picture and the corresponding picture is matched to be set as the cover picture, stopping associating the corresponding picture with the text information with lower priority and extracting the picture to be set as the cover picture.
Specifically, in some possible embodiments, the step of matching, based on the text information and the priority order, the associated picture of the text information with the highest priority as the cover page of the article information according to the priority order includes:
acquiring an associated link of a text body;
and acquiring picture information corresponding to the link information based on the link information of the associated link, and setting the picture information corresponding to the associated link as a cover page of the article information.
When the link information of the associated link does not exist, acquiring service words and hot words matched with the text body;
and based on the obtained service words and hot words matched with the text information, when the service words and hot words matched with the text information are matched with the service words and hot words of the image information stored in the database, setting the image information stored corresponding to the matched service words and hot words as a cover page of the article information.
The ordering from high to low according to the priority of the text information is as follows: the method comprises the steps of firstly obtaining an associated link of text information, obtaining corresponding link information through the associated link, if the link information comprises corresponding picture information, extracting the corresponding picture information to set as a cover picture, if the link information comprises a plurality of picture information, searching the plurality of associated links in the text information in a logic sequence from top to bottom and from left to right according to a reading logic sequence of a user, and selecting a first picture in a first corresponding searched associated link as the cover picture. When no associated link or no picture information in the link information is acquired, retrieving the service words and hot words with lower priority, retrieving the logic sequence of the service words and hot words in the text information from top to bottom and from left to right according to the reading logic sequence of a user when the service words and hot words are multiple, selecting the first service word or hot word corresponding to the retrieval, comparing and matching the service words and hot words in a computer database, extracting the picture with the label matching the service words and hot words in the database when the service words and hot words of the text information are consistent with the service words and hot words in the database, setting the picture as a cover map, and selecting and retrieving the second service words and hot words according to the reading sequence when the service words and hot words are inconsistent with the service words and hot words in the database until the cover map is matched or the next priority level is set.
Specifically, in some possible embodiments, the step of matching, based on the text information and the priority order, the associated picture of the text information with the highest priority as the cover picture of the article information further includes:
when the associated link of the text, the matched service words and the hot words do not exist, acquiring keywords manually added by a user or extracted by identifying text information;
based on the keywords manually added or extracted by the user for text body identification, when the keywords extracted by text body identification are matched with the keywords of the image information stored in the database, the image information corresponding to the matched keywords is set as a cover picture of the article information.
When the association link, the service words and the hot words cannot support the extraction of the pictures as the cover pictures, the pictures of the keyword labels corresponding to the computer database can be retrieved by acquiring the keywords manually input by the user, the corresponding pictures are extracted and set as the cover pictures, when the user inputs a plurality of keywords, the pictures in the database can be accurately and quickly retrieved, and the corresponding pictures are extracted and used as the cover pictures. Or the text in the search text information can be automatically identified, the text is identified as the keyword by default and the picture of the label corresponding to the keyword is extracted through the triggering times of the keyword label in the computer database, and the picture is set as the cover picture.
Specifically, in some possible embodiments, the method further includes:
acquiring picture information stored in a database;
and associating the service words, the hot words and the keywords as labels to the corresponding picture information based on the picture information.
The uploaded pictures are obtained in database gallery management, label association of the uploaded pictures by a user is synchronously obtained when the uploaded pictures are obtained, and the labels comprise business words, hot words, keywords and the like. Through enriching the associated tags corresponding to the picture information in the database, the user can quickly and accurately match the corresponding picture information through inputting the tags. For example, a landscape picture is associated with keywords of sunlight, sand, sea and the like, and when the keywords in the text information are matched with the keywords of the picture in the database, the landscape picture can be extracted from the database and used as a cover picture; when business words and hot words such as tourism and vacation are identified in text information in related article information of tourism enterprises and the like, the priority of the business words and the hot words is higher than that of the keywords, database retrieval is performed by the business words and the hot word labels preferentially, and the landscape picture is extracted and set as a cover picture.
Based on the scenes in the foregoing embodiment, after the cover map is set successfully, the user is required to confirm whether the cover map meets the requirements, and if so, the user is required to confirm that the cover map meets the requirements. And acquiring confirmation information of the user, finally setting the cover map, automatically skipping to a keyword node of the input user if the requirement is not met, and matching the keyword with the keyword in the database according to the acquired keyword input by the user until the cover map is successfully set.
In another embodiment of the present application, an automatic title cover generation system is disclosed, wherein referring to fig. 2, the automatic title cover generation system includes:
an article information obtaining module 100, configured to obtain article information;
the priority acquisition module 200: acquiring the priority order of a cover picture, a text picture and text information;
the matching module 300: and matching the picture corresponding to the article information with the highest priority as a cover picture of the article information according to the priority order based on the article information and the priority order.
In the title cover automatic generation system provided by this embodiment, because the functions of the modules themselves and the logical connection between the modules can realize the steps of the foregoing embodiment, the same technical effects as those of the foregoing embodiment can be achieved, and for the principle analysis, reference may be made to the related description of the steps of the title cover automatic generation method, which will not be described herein again.
In some possible embodiments, the matching module 300 comprises:
the book cover image judging unit is used for judging whether a book cover image exists in the article information or not, and when the book cover image exists in the article information, the book cover image of the article information is kept unchanged;
the text image acquisition unit is used for judging whether the article information comprises a text image or not when a cover picture does not exist in the article information;
the text picture judging unit is used for setting the text picture as a cover picture of the article information when the article information comprises the text picture;
the text information acquisition unit is used for judging whether the article information comprises text information or not when the article information does not comprise a text picture;
the text information judging unit is used for setting the associated picture as a cover picture of the article information based on the associated picture of the text information when the article information comprises the text information;
and the prompting unit is used for prompting error information if the article information does not comprise text information.
In the title cover automatic generation system provided by this embodiment, because the functions of the modules themselves and the logical connection between the modules can realize the steps of the foregoing embodiment, the same technical effects as those of the foregoing embodiment can be achieved, and for the principle analysis, reference may be made to the related description of the steps of the title cover automatic generation method, which will not be described herein again.
In some possible embodiments, the text picture determination unit includes:
an insertion position acquisition subunit: the method comprises the steps of acquiring the insertion positions of all text pictures in article information;
the sequencing subunit is used for setting sequencing serial numbers of all the text pictures according to the reading logic sequence based on the insertion positions of all the text pictures in the article information;
and the text picture selecting subunit is used for selecting the text picture with the minimum sequence number as a cover picture of the article information based on the sequencing sequence numbers of all the set text pictures.
The title cover automatic generation system provided by this embodiment can realize the steps of the previous embodiments due to the functions of the modules and the logical connection among each other, therefore, the same technical effects as those of the foregoing embodiment can be achieved, and for the principle analysis, reference may be made to the foregoing description of the steps of the title cover automatic generation method, which will not be repeated herein.
In some possible embodiments, the text information determination unit includes:
the text information acquisition subunit is used for acquiring text information; the text information comprises a text body, an associated link of the text body, service words and hot words matched with the text body, and key words;
the text information sequencing subunit is used for acquiring the text body, the associated link of the text body, the service words and the hot words matched with the text body and the priority sequence of the keywords;
and the text information matching subunit is used for matching the associated picture of the text information with the highest priority as a cover picture of the article information according to the priority order based on the text information and the priority order.
In the title cover automatic generation system provided by this embodiment, because the functions of the modules themselves and the logical connection between the modules can realize the steps of the foregoing embodiment, the same technical effects as those of the foregoing embodiment can be achieved, and for the principle analysis, reference may be made to the related description of the steps of the title cover automatic generation method, which will not be described herein again.
In some possible embodiments, the system further comprises:
the image information acquisition module is used for acquiring image information stored in the database;
and the association module is used for associating the service words, the hot words and the keywords as labels to the corresponding picture information based on the picture information.
In the title cover automatic generation system provided by this embodiment, because the functions of the modules themselves and the logical connection between the modules can realize the steps of the foregoing embodiment, the same technical effects as those of the foregoing embodiment can be achieved, and for the principle analysis, reference may be made to the related description of the steps of the title cover automatic generation method, which will not be described herein again.
The embodiment of the application further provides automatic title cover generation equipment, which comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes the automatic title cover generation method.
The embodiment of the application also provides a computer readable storage medium, wherein a computer program capable of being loaded by a processor and executing the title cover automatic generation method is stored.
In the storage medium provided by this embodiment, after the computer program is loaded and executed on the processor, the steps of the foregoing embodiment are implemented, so that the same technical effects as those of the foregoing embodiment can be achieved, and for principle analysis, reference may be made to the related description of the steps of the foregoing method, which will not be repeated herein.
The storage medium includes, for example: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
In the description of the specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms first, second, etc. may be used to either explicitly or implicitly include at least one of the features. In the description of the present invention, "plurality" means at least two, for example, two, three, etc., unless explicitly defined otherwise, for descriptive purposes only and not for indicating or implying relative importance or implicitly indicating the number of technical features indicated.
Thus, any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
The embodiments of the present invention are preferred embodiments of the present application, and the scope of protection of the present application is not limited by the embodiments, so: all equivalent changes made according to the structure and principle of the present application shall be covered by the protection scope of the present application.
Claims (10)
1. An automatic title cover generation method is characterized by comprising the following steps:
acquiring article information; the article information comprises one or more of a cover picture, a text picture and text information;
acquiring the priority order of a cover picture, a text picture and text information;
and matching the picture corresponding to the article information with the highest priority as a cover picture of the article information according to the priority order based on the article information and the priority order.
2. The method of claim 1, wherein the step of matching the picture corresponding to the article information with the highest priority as the cover picture of the article information according to the priority order based on the article information and the priority order comprises:
judging whether a cover page picture exists in the article information;
when a cover picture exists in the article information, keeping the cover picture of the article information unchanged;
when the cover picture does not exist in the article information, judging whether the article information comprises a text picture or not;
when the article information comprises a text picture, setting the text picture as a cover picture of the article information;
when the article information does not comprise the text picture, judging whether the article information comprises text information or not;
when the article information comprises text information, setting the associated picture as a cover picture of the article information based on the associated picture of the text information;
and if the article information does not comprise the text information, prompting error information.
3. The method of claim 2, wherein when the article information includes a text image, the step of setting the text image as a cover image of the article information comprises:
acquiring the insertion positions of all text pictures in article information;
setting sequencing serial numbers of all the text pictures according to the reading logic sequence based on the insertion positions of all the text pictures in the article information;
and selecting the text picture with the minimum sequence number as a cover picture of the article information based on the sequencing sequence numbers of all the set text pictures.
4. The method of claim 2, wherein when the article information includes text information, the step of setting the associated picture as a cover picture of the article information based on the associated picture of the text information comprises:
acquiring text information; the text information comprises a text body, an associated link of the text body, service words and hot words matched with the text body, and key words;
acquiring a text body, an associated link of the text body, service words and hot words matched with the text body and the priority order of keywords;
and matching the associated picture of the text information with the highest priority as a cover picture of the article information according to the priority order based on the text information and the priority order.
5. The method of claim 4, wherein the step of matching the associated picture of the text message with the highest priority as the cover picture of the article message according to the priority order based on the text message and the priority order comprises:
acquiring an associated link of a text;
acquiring picture information corresponding to the link information based on the link information of the associated link, and setting the picture information corresponding to the associated link as a cover page of the article information;
when the link information of the associated link does not exist, acquiring service words and hot words matched with the text;
and based on the service words and the hot words matched with the acquired text information, when the service words and the hot words matched with the text information are matched with the service words and the hot words of the image information stored in the database, setting the image information stored corresponding to the matched service words and the hot words as a cover picture of the article information.
6. The method of claim 4, wherein the step of matching the associated picture of the text message with the highest priority as the cover picture of the article message according to the priority order based on the text message and the priority order further comprises:
when the associated link of the text, the matched service word and the hot word do not exist, acquiring a keyword manually added by a user or extracted by identifying text information;
based on the keywords manually added or extracted by the user for text body identification, when the keywords extracted by text body identification are matched with the keywords of the image information stored in the database, the image information corresponding to the matched keywords is set as a cover picture of the article information.
7. The method of claim 1, wherein the method further comprises:
acquiring picture information stored in a database;
and associating the service words, the hot words and the keywords as labels to the corresponding picture information based on the picture information.
8. An automatic title cover generation system, comprising:
the article information acquisition module is used for acquiring article information; the article information comprises one or more of a cover page picture, a text picture and text information;
the priority acquisition module is used for acquiring the priority sequence of the front cover picture, the text picture and the text information;
and the matching module is used for matching the picture corresponding to the article information with the highest priority as a cover page of the article information according to the priority order and based on the article information and the priority order.
9. An automatic title cover generation device, comprising: comprising a memory and a processor, the memory storing a computer program that can be loaded by the processor and that executes the method of automatically generating a title cover according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program capable of being loaded by a processor and executing the method of automatically generating a title cover according to any one of claims 1 to 7 is stored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211626719.7A CN115830188A (en) | 2022-12-17 | 2022-12-17 | Title cover automatic generation method, system, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211626719.7A CN115830188A (en) | 2022-12-17 | 2022-12-17 | Title cover automatic generation method, system, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115830188A true CN115830188A (en) | 2023-03-21 |
Family
ID=85516412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211626719.7A Withdrawn CN115830188A (en) | 2022-12-17 | 2022-12-17 | Title cover automatic generation method, system, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115830188A (en) |
-
2022
- 2022-12-17 CN CN202211626719.7A patent/CN115830188A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101579634B1 (en) | Automatic discovery of popular landmarks | |
CN109144954B (en) | Resource recommendation method and device for editing document and electronic equipment | |
US8775918B2 (en) | System and method for automatic improvement of electronic presentations | |
CN109344230B (en) | Code library file generation, code search, coupling, optimization and migration method | |
CN106055554A (en) | Electronic photo album classification method, system and terminal | |
US7970769B2 (en) | Apparatus and method for optimized index search | |
US20070136680A1 (en) | System and method for selecting pictures for presentation with text content | |
CN108255915A (en) | File management method and device and machine-readable storage medium | |
CN109508448A (en) | Short information method, medium, device are generated based on long article and calculate equipment | |
US20050171965A1 (en) | Contents reuse management apparatus and contents reuse support apparatus | |
CN107145538A (en) | List data querying method, device and system | |
JP2009140361A (en) | Data-managing device and data-processing method | |
US8881007B2 (en) | Method and system for visual cues to facilitate navigation through an ordered set of documents | |
CN110489032B (en) | Dictionary query method for electronic book and electronic equipment | |
KR100706389B1 (en) | Image search method and apparatus considering a similarity among the images | |
CN108921193B (en) | Picture input method, server and computer storage medium | |
US7672958B2 (en) | Method and system to identify records that relate to a pre-defined context in a data set | |
CN112698866B (en) | Code line life cycle tracing method based on Git and electronic device | |
CN106372123B (en) | Tag-based related content recommendation method and system | |
US11797551B2 (en) | Document retrieval apparatus, document retrieval system, document retrieval program, and document retrieval method | |
CN116662327B (en) | Data fusion cleaning method for database | |
CN115830188A (en) | Title cover automatic generation method, system, equipment and computer readable storage medium | |
US7702186B1 (en) | Classification and retrieval of digital photo assets | |
JP4787590B2 (en) | Collection search method, collection search system and collection search program | |
JP2006251975A (en) | Text sorting method and program by the method, and text sorter |
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 | ||
CB02 | Change of applicant information |
Address after: 518000 2201, block D, building 1, Chuangzhi Yuncheng bid section 1, Liuxian Avenue, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province Applicant after: Qizhi Technology Co.,Ltd. Address before: 518000 2201, block D, building 1, Chuangzhi Yuncheng bid section 1, Liuxian Avenue, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province Applicant before: Qizhi Network Technology Co.,Ltd. |
|
CB02 | Change of applicant information | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20230321 |
|
WW01 | Invention patent application withdrawn after publication |