技术领域technical field
本发明涉及数据处理技术领域,更具体的说,是涉及一种无图新闻的自动配图展示方法及装置。The present invention relates to the technical field of data processing, and more specifically, relates to a method and device for automatically displaying news without pictures.
背景技术Background technique
新闻是广大群众获取社会资讯、了解国内外新近发生的有价值事实的重要途径。新闻可以通过报纸、电台、广播、电视台、网站等诸多媒体形式进行消息的传播,现已成为广大群众生活中不可或缺的一部分。News is an important way for the general public to obtain social information and understand the latest valuable facts at home and abroad. News can be disseminated through newspapers, radio stations, radio, television stations, websites and many other media forms, and has become an indispensable part of the lives of the masses.
以直观的角度来看,目前文档性的新闻分为有图新闻和无图新闻两种。有图新闻相较于无图新闻,往往具有更强的吸引力和感染力,并且能够帮助读者快速的了解新闻背后展现的题材,有利于提升读者的阅读体验。因此,在展示无图新闻前,自动为无图新闻配置上符合其主题的图片,是一件非常有意义的事情。From an intuitive point of view, the current documentary news is divided into two types: news with pictures and news without pictures. News with pictures is often more attractive and appealing than news without pictures, and can help readers quickly understand the subject matter behind the news, which is conducive to improving readers' reading experience. Therefore, before displaying news without pictures, it is very meaningful to automatically configure pictures that match the theme of news without pictures.
发明内容Contents of the invention
有鉴于此,本发明提供了一种无图新闻的自动配图展示方法及装置,以解决现有技术中无图新闻的展示不具备吸引力和感染力导致的用户阅读体验差的问题。In view of this, the present invention provides a method and device for automatically displaying news without pictures to solve the problem in the prior art that the display of news without pictures is not attractive and appealing, resulting in poor reading experience for users.
为实现上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:
一种无图新闻的自动配图展示方法,包括:A method for automatically displaying news without pictures, comprising:
根据预设算法为待展示新闻设置对应的主题标签;Set the corresponding topic tags for the news to be displayed according to the preset algorithm;
判断所述待展示新闻是否为有图新闻;judging whether the news to be displayed is news with pictures;
如果否,从补图库中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中;所述补图库为包括多个主题标签以及分别与主题标签对应的多个图片集合的图库;If not, select pictures corresponding to the subject tags of the news to be displayed from the supplementary gallery to add to the news to be displayed; the supplementary gallery is a collection of pictures that include a plurality of subject labels and are respectively corresponding to the subject labels gallery;
展示经过补图的所述待展示新闻。Display the news to be displayed after supplementing the image.
可选的,还包括:在判断所述待展示新闻为有图新闻时,将所述有图新闻的主题标签和对应的图片存入补图库。Optionally, the method further includes: when judging that the news to be displayed is news with pictures, storing the subject tags and corresponding pictures of the news with pictures into a supplementary library.
可选的,所述补图库中的图片包括端内图片和网络图片,所述端内图片为从有图新闻中摘选出的图片,所述网络图片为从网络中搜索相关主题获取的图片;则所述从补图库中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中包括:Optionally, the pictures in the supplementary gallery include in-device pictures and network pictures, the in-device pictures are pictures selected from news with pictures, and the network pictures are pictures obtained from searching related topics in the Internet ; Then, the selection of pictures corresponding to the theme tags of the news to be displayed from the supplementary gallery is added to the news to be displayed, including:
从补图库的端内图片中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中;Selecting pictures corresponding to the subject tags of the news to be displayed from the pictures in the supplementary gallery to add to the news to be displayed;
和/或and / or
从补图库的网络图片中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中。Selecting pictures corresponding to the subject tags of the news to be displayed from the network pictures in the supplementary gallery to add to the news to be displayed.
可选的,所述从补图库中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中,包括:Optionally, the selection of pictures corresponding to the subject tags of the news to be displayed from the supplementary gallery to add to the news to be displayed includes:
从补图库中选择一个或多个质量评分高的,与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中。Selecting one or more pictures with high quality scores from the complementary gallery and corresponding to the subject tags of the news to be displayed is added to the news to be displayed.
可选的,在所述根据预设算法为待展示新闻设置对应的主题标签前,还包括:Optionally, before setting the corresponding topic tags for the news to be displayed according to the preset algorithm, it also includes:
建立补图库。Build a supplementary library.
一种无图新闻的自动配图展示装置,包括:An automatic picture display device for news without pictures, comprising:
标签设置模块,用于根据预设算法为待展示新闻设置对应的主题标签;The label setting module is used to set the corresponding theme label for the news to be displayed according to the preset algorithm;
新闻判断模块,用于判断所述待展示新闻是否为有图新闻;A news judging module, used to judge whether the news to be displayed is news with pictures;
新闻补图模块,用于在新闻判断模块的判断结果为否时,从补图库中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中;所述补图库为包括多个主题标签以及分别与主题标签对应的多个图片集合的图库;News image supplement module, for when the judgment result of the news judgment module is no, select the picture corresponding to the subject label of the news to be displayed from the supplement gallery to fill in the news to be displayed; the supplement gallery includes A gallery of multiple hashtags and multiple image collections corresponding to the hashtags;
新闻展示模块,用于展示经过补图的所述待展示新闻。The news display module is used to display the news to be displayed after supplementing the image.
可选的,还包括:Optionally, also include:
图片摘取模块,用于在新闻判断模块判断出所述待展示新闻为有图新闻时,将所述有图新闻的主题标签和对应的图片存入补图库。The picture extraction module is used to store the subject tags and corresponding pictures of the news with pictures into the supplementary library when the news judging module judges that the news to be displayed is news with pictures.
可选的,所述补图库中的图片包括端内图片和网络图片,所述端内图片为从有图新闻中摘选出的图片,所述网络图片为从网络中搜索相关主题获取的图片;则所述新闻补图模块用于:Optionally, the pictures in the supplementary gallery include in-device pictures and network pictures, the in-device pictures are pictures selected from news with pictures, and the network pictures are pictures obtained from searching related topics in the Internet ; Then the news supplement map module is used for:
从补图库的端内图片中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中;Selecting pictures corresponding to the subject tags of the news to be displayed from the pictures in the supplementary gallery to add to the news to be displayed;
和/或and / or
从补图库的网络图片中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中。Selecting pictures corresponding to the subject tags of the news to be displayed from the network pictures in the supplementary gallery to add to the news to be displayed.
可选的,所述新闻补图模块具体用于:Optionally, the news supplement map module is specifically used for:
从补图库中选择一个或多个质量评分高的,与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中。Selecting one or more pictures with high quality scores from the complementary gallery and corresponding to the subject tags of the news to be displayed is added to the news to be displayed.
可选的,还包括:Optionally, also include:
图库建立模块,用于建立补图库。The library building module is used to create a complementary library.
经由上述的技术方案可知,与现有技术相比,本发明实施例公开了一种无图新闻的自动配图展示方法及装置,所述无图新闻的自动配图展示方法首先根据预设算法为待展示新闻设置对应的主题标签,然后在判断出待展示新闻为无图新闻时,从补图库中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中,再将经过补图的待展示新闻发往前端展示。该无图新闻的自动配图展示方法及装置,实现了自动为无图新闻进行对应主题的配图,从而使得最终展示出的新闻更加生动,更具备吸引力,加上配图的新闻同时能够帮助读者快速了解新闻题材,提升了读者的阅读体验。It can be seen from the above technical solutions that, compared with the prior art, the embodiment of the present invention discloses a method and device for automatically displaying news without pictures. The method for automatically displaying news without pictures is firstly based on a preset algorithm Set the corresponding theme label for the news to be displayed, and then when it is judged that the news to be displayed is news without pictures, select a picture corresponding to the theme label of the news to be displayed from the supplementary gallery to fill in the news to be displayed, and then Send the news to be displayed after supplementing the pictures to the front end for display. The automatic picture display method and device for news without pictures realizes automatically matching pictures with corresponding topics for news without pictures, so that the finally displayed news is more vivid and attractive, and the news with pictures can simultaneously Help readers quickly understand news topics and improve readers' reading experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.
图1为本发明实施例公开的无图新闻的自动配图展示方法的流程图;Fig. 1 is a flow chart of the method for automatically displaying news with pictures without pictures disclosed in the embodiment of the present invention;
图2为本发明实施例公开的无图新闻自动配图展示方法的第二流程图;Fig. 2 is a second flow chart of the method for automatically displaying news with pictures without pictures disclosed in the embodiment of the present invention;
图3为本发明实施例公开的无图新闻自动配图展示方法的第三流程图;Fig. 3 is a third flow chart of the method for automatically displaying news with pictures without pictures disclosed in the embodiment of the present invention;
图4为本发明实施例公开的无图新闻自动配图展示装置的结构示意图;Fig. 4 is a schematic structural diagram of a display device for automatically displaying news without pictures disclosed in an embodiment of the present invention;
图5为本发明实施例公开的无图新闻自动配图展示装置的第二结构图;Fig. 5 is a second structural diagram of a display device for automatically distributing pictures without pictures disclosed in an embodiment of the present invention;
图6为本发明实施例公开的无图新闻自动配图展示装置的第三结构图。Fig. 6 is a third structural diagram of the display device for automatically displaying news without pictures disclosed in the embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
图1为本发明实施例公开的无图新闻的自动配图展示方法的流程图,参见图1所示,所述方法可以包括:Fig. 1 is a flow chart of a method for automatically displaying news without pictures disclosed in an embodiment of the present invention. Referring to Fig. 1, the method may include:
步骤101:根据预设算法为待展示新闻设置对应的主题标签;Step 101: setting corresponding topic tags for the news to be displayed according to a preset algorithm;
其中,所述预设算法可以但不限制为关键词提取法和/或词频统计法。现有技术中,所有用于根据文档信息,通过一定的算法,对该文档进行归类或分类标记的方法,都可以应用于本实施例中的步骤101。Wherein, the preset algorithm may be, but not limited to, a keyword extraction method and/or a word frequency statistics method. In the prior art, all methods for classifying or classifying the document according to the document information and using a certain algorithm can be applied to step 101 in this embodiment.
步骤102:判断所述待展示新闻是否为有图新闻;如果否,进入步骤103;Step 102: judging whether the news to be displayed is news with pictures; if not, go to step 103;
步骤103:从补图库中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中;Step 103: select a picture corresponding to the subject tag of the news to be displayed from the supplementary library and add it to the news to be displayed;
其中,所述补图库为包括多个主题标签以及分别与主题标签对应的多个图片集合的图库。所述补图库中的图片资源可以是端内图片,所述端内图片为从有图新闻中摘选出的图片。补图库中的图片资源也可以是网络图片,所述网络图片为从网络中搜索相关主题获取的图片。当然,所述补图库可以同时包括端内图片和网络图片,以提升所述补图库的丰富性。Wherein, the supplementary gallery is a gallery including a plurality of subject tags and a plurality of picture collections respectively corresponding to the subject tags. The picture resource in the supplementary gallery may be an in-device picture, and the in-device picture is a picture selected from news with pictures. The picture resource in the supplementary gallery can also be a network picture, and the network picture is a picture obtained by searching for related topics in the network. Of course, the supplementary library may include in-device images and network images at the same time, so as to increase the richness of the complementary library.
基于上述内容,步骤103具体可以是:从补图库的端内图片中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中;和/或从补图库的网络图片中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中。Based on the above content, step 103 may specifically be: selecting a picture corresponding to the topic tag of the news to be displayed from the in-terminal pictures in the supplementary gallery to add to the news to be displayed; and/or selecting from the network pictures in the supplementary gallery Selecting pictures corresponding to the subject tags of the news to be displayed is added to the news to be displayed.
步骤104:展示经过补图的所述待展示新闻。Step 104: Display the news to be displayed after the image supplement.
经过补图的所述待展示新闻即为有图新闻,该经过补图处理的新闻在被投入内容库后,即可在终端的前端展示,供读者查看。The news to be displayed that has been supplemented with pictures is the news with pictures. After the news that has been supplemented with pictures is put into the content library, it can be displayed on the front end of the terminal for readers to view.
本实施例中,所述无图新闻的自动配图展示方法首先根据预设算法为待展示新闻设置对应的主题标签,然后在判断出待展示新闻为无图新闻时,从补图库中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中,再将经过补图的待展示新闻发往前端展示。该无图新闻的自动配图展示方法,实现了自动为无图新闻进行对应主题的配图,从而使得最终展示出的新闻更加生动,更具备吸引力,加上配图的新闻同时能够帮助读者快速了解新闻题材,提升了读者的阅读体验。In this embodiment, the method for automatically displaying news without pictures first sets a corresponding topic label for the news to be displayed according to a preset algorithm, and then selects the corresponding topic label from the supplementary library when it is judged that the news to be displayed is news without pictures. The picture corresponding to the subject tag of the news to be displayed is added to the news to be displayed, and then the news to be displayed after the supplemented picture is sent to the front end for display. The automatic picture display method for news without pictures realizes automatically matching pictures for corresponding topics for news without pictures, so that the finally displayed news is more vivid and attractive, and the news with pictures can help readers at the same time Quickly understand news topics and improve readers' reading experience.
在上述本发明公开的实施例的基础上,图2公开了无图新闻自动配图展示方法的第二流程图,如图2所示,所述无图新闻自动配图展示方法可以包括:On the basis of the above disclosed embodiments of the present invention, Fig. 2 discloses a second flow chart of a method for automatically displaying news with pictures without pictures. As shown in Fig. 2, the method for displaying news without pictures automatically with pictures may include:
步骤201:根据预设算法为待展示新闻设置对应的主题标签;Step 201: setting corresponding topic tags for the news to be displayed according to a preset algorithm;
步骤202:判断所述待展示新闻是否为有图新闻;如果是,进入步骤203,如果否,进入步骤204;Step 202: Determine whether the news to be displayed is news with pictures; if yes, go to step 203; if not, go to step 204;
步骤203:将所述有图新闻的主题标签和对应的图片存入补图库;Step 203: Store the subject tags and corresponding pictures of the news with pictures in the supplementary library;
所述补图库为包括多个主题标签以及分别与主题标签对应的多个图片集合的图库。步骤203的操作保证了对补图库中图片内容的不断更新和丰富,以使得后续在为无图新闻配图时具有更多的选择。The supplementary gallery is a gallery including a plurality of subject tags and a plurality of picture collections respectively corresponding to the subject tags. The operation of step 203 ensures continuous updating and enrichment of the content of pictures in the supplementary gallery, so that there are more choices when matching pictures for news without pictures.
步骤204:从补图库中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中;Step 204: select a picture corresponding to the subject tag of the news to be displayed from the supplementary library and add it to the news to be displayed;
步骤205:展示经过补图的所述待展示新闻。Step 205: Display the news to be displayed after the image supplement.
本实施例的无图新闻自动配图展示的方法,实现了自动为无图新闻进行对应主题的配图,从而使得最终展示出的新闻更加生动,更具备吸引力,提升了读者的阅读体验。且该方法在执行过程中会不断的将有图新闻中的图片存入补图库,丰富了补图库的内容,能够更好的支持后续为无图新闻配图的工作。The method for automatically displaying news without pictures with pictures in this embodiment realizes automatically matching pictures with corresponding topics for news without pictures, so that the finally displayed news is more vivid and attractive, and readers' reading experience is improved. Moreover, during the execution of this method, the pictures in news with pictures will be continuously stored in the supplementary gallery, which enriches the content of the supplementary gallery, and can better support the subsequent work of matching pictures for news without pictures.
图3为本发明实施例公开的无图新闻自动配图展示方法的第三流程图,参见图3,所述方法可以包括:Fig. 3 is a third flow chart of the method for automatically displaying news with pictures without pictures disclosed in the embodiment of the present invention. Referring to Fig. 3, the method may include:
步骤301:建立补图库;Step 301: building a complementary library;
所述补图库为包括多个主题标签以及分别与主题标签对应的多个图片集合的图库。最初在建立补图库时,其中的图片资源可以先从网络中获取,以避免后续在为无图新闻配图时没有合适的图片可用。至于后续补图库中图片资源的更新补充,可以继续从网络资源中获取,也可以如上面实施例中提到的,将有图新闻中的图片不断的存入补图库。The supplementary gallery is a gallery including a plurality of subject tags and a plurality of picture collections respectively corresponding to the subject tags. When building a supplementary gallery initially, the picture resources in it can be obtained from the Internet first, so as to avoid that there are no suitable pictures available when matching pictures for news without pictures. As for updating and supplementing picture resources in the Supplement Gallery, it can continue to be obtained from network resources, or as mentioned in the above embodiment, the pictures in the news with pictures can be continuously stored in the Supplement Gallery.
步骤302:根据预设算法为待展示新闻设置对应的主题标签;Step 302: setting corresponding topic tags for the news to be displayed according to a preset algorithm;
步骤303:判断所述待展示新闻是否为有图新闻;如果否,进入步骤304;Step 303: judging whether the news to be displayed is news with pictures; if not, go to step 304;
步骤304:从补图库中选择一个或多个质量评分高的,与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中;Step 304: Selecting one or more pictures with high quality scores from the complementary gallery and corresponding to the subject tags of the news to be displayed is added to the news to be displayed;
由于补图库中一个主题标签下的图片资源会很多,应用中不可能将所有图片都配到无图新闻里,因此本实施例中,具体的,可以根据用户需求设置选择一个或多个图片配置到无图新闻中。此外,从补图库中选取图片时,可以优先选择图片像素高、质量好的图片,以保证无图新闻的配图效果。Since there are many image resources under a topic tag in the supplementary gallery, it is impossible to assign all images to news without images in the application. Therefore, in this embodiment, one or more image configurations can be selected according to user needs. To No Picture News. In addition, when selecting pictures from the supplementary gallery, you can give priority to selecting pictures with high pixel resolution and good quality, so as to ensure the picture effect of news without pictures.
需要说明的是,步骤301建立补图库的步骤也可以在步骤根据预设算法为待展示新闻设置对应的主题标签之后,或在步骤判断所述待展示新闻是否为有图新闻之后,只要在步骤304之前即可。It should be noted that in step 301, the step of establishing a supplementary library can also be done after the step of setting the corresponding topic tags for the news to be displayed according to the preset algorithm, or after the step of judging whether the news to be displayed is news with pictures, as long as the step before 304.
步骤305:展示经过补图的所述待展示新闻。Step 305: Display the news to be displayed after the supplementary image.
本实施例中,无图新闻的自动配图展示方法首先建立补图库,为后续无图新闻的自动配图提供素材源,在选取配图的过程中,可以根据用户需求选取一个或多个质量好的图片配置到无图新闻中,满足不同用户的多样化需求。In this embodiment, the automatic picture display method for news without pictures first establishes a supplementary library to provide material sources for the automatic picture matching of news without pictures. In the process of selecting pictures, one or more quality pictures can be selected according to user needs Good pictures are allocated to news without pictures to meet the diverse needs of different users.
上述本发明公开的实施例中详细描述了方法,对于本发明的方法可采用多种形式的装置实现,因此本发明还公开了一种装置,下面给出具体的实施例进行详细说明。The method is described in detail in the above disclosed embodiments of the present invention. The method of the present invention can be realized by using various forms of devices. Therefore, the present invention also discloses a device, which will be described in detail in the following specific embodiments.
图4为本发明实施例公开的无图新闻自动配图展示装置的结构示意图,参见图4所示,所述无图新闻自动配图展示装置40可以包括:Fig. 4 is a schematic structural diagram of a display device for automatic picture distribution of news without pictures disclosed in an embodiment of the present invention. Referring to Fig. 4, the automatic picture distribution device for news without pictures 40 may include:
标签设置模块401,用于根据预设算法为待展示新闻设置对应的主题标签;A tag setting module 401, configured to set a corresponding topic tag for news to be displayed according to a preset algorithm;
其中,所述预设算法可以但不限制为关键词提取法和/或词频统计法。现有技术中,所有用于根据文档信息,通过一定的算法,对该文档进行归类或分类标记的方法,都可以应用于本实施例。Wherein, the preset algorithm may be, but not limited to, a keyword extraction method and/or a word frequency statistical method. In the prior art, all methods for classifying or classifying a document according to document information and using a certain algorithm can be applied to this embodiment.
新闻判断模块402,用于判断所述待展示新闻是否为有图新闻;A news judging module 402, configured to judge whether the news to be displayed is news with pictures;
新闻补图模块403,用于在新闻判断模块的判断结果为否时,从补图库中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中;News image supplement module 403, for when the judgment result of the news judgment module is no, select the picture corresponding to the subject tag of the news to be displayed from the supplement library and add it to the news to be displayed;
其中,所述补图库为包括多个主题标签以及分别与主题标签对应的多个图片集合的图库。所述补图库中的图片资源可以是端内图片,所述端内图片为从有图新闻中摘选出的图片。补图库中的图片资源也可以是网络图片,所述网络图片为从网络中搜索相关主题获取的图片。当然,所述补图库可以同时包括端内图片和网络图片,以提升所述补图库的丰富性。Wherein, the supplementary gallery is a gallery including a plurality of subject tags and a plurality of picture collections respectively corresponding to the subject tags. The picture resource in the supplementary gallery may be an in-device picture, and the in-device picture is a picture selected from news with pictures. The picture resource in the supplementary gallery can also be a network picture, and the network picture is a picture obtained by searching for related topics in the network. Of course, the supplementary library may include in-device images and network images at the same time, so as to increase the richness of the complementary library.
基于上述内容,新闻补图模块403具体可以用于:从补图库的端内图片中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中;和/或从补图库的网络图片中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中。Based on the above content, the news image supplement module 403 can be specifically configured to: select a picture corresponding to the subject tag of the news to be displayed from the in-terminal pictures in the supplement gallery to add to the news to be displayed; and/or select from the supplement gallery Select a picture corresponding to the subject tag of the news to be displayed from the network pictures of the network and add it to the news to be displayed.
新闻展示模块404,用于展示经过补图的所述待展示新闻。The news display module 404 is configured to display the news to be displayed through supplementary images.
经过补图的所述待展示新闻即为有图新闻,该经过补图处理的新闻在被投入内容库后,即可在终端的前端展示,供读者查看。The news to be displayed that has been supplemented with pictures is the news with pictures. After the news that has been supplemented with pictures is put into the content library, it can be displayed on the front end of the terminal for readers to view.
本实施例中,所述无图新闻的自动配图展示装置首先根据预设算法为待展示新闻设置对应的主题标签,然后在判断出待展示新闻为无图新闻时,从补图库中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中,再将经过补图的待展示新闻发往前端展示。该无图新闻的自动配图展示装置,实现了自动为无图新闻进行对应主题的配图,从而使得最终展示出的新闻更加生动,更具备吸引力,加上配图的新闻同时能够帮助读者快速了解新闻题材,提升了读者的阅读体验。In this embodiment, the device for automatically displaying news without pictures first sets a corresponding topic label for the news to be displayed according to a preset algorithm, and then selects a topic tag corresponding to the news from the complementary library when it is judged that the news to be displayed is news without pictures. The picture corresponding to the subject tag of the news to be displayed is added to the news to be displayed, and then the news to be displayed after the supplemented picture is sent to the front end for display. The automatic picture display device for news without pictures can automatically match pictures with corresponding topics for news without pictures, so that the news finally displayed is more vivid and attractive, and the news with pictures can help readers at the same time Quickly understand news topics and improve readers' reading experience.
图5公开了无图新闻自动配图展示装置的第二结构图,如图5所示,所述无图新闻自动配图展示装置50可以包括:Fig. 5 discloses the second structural diagram of the display device for automatically matching pictures without pictures. As shown in Fig. 5, the automatic picture matching display device 50 for news without pictures may include:
标签设置模块401,用于根据预设算法为待展示新闻设置对应的主题标签;A tag setting module 401, configured to set a corresponding topic tag for news to be displayed according to a preset algorithm;
新闻判断模块402,用于判断所述待展示新闻是否为有图新闻;A news judging module 402, configured to judge whether the news to be displayed is news with pictures;
图片摘取模块501,用于在新闻判断模块判断出所述待展示新闻为有图新闻时,将所述有图新闻的主题标签和对应的图片存入补图库;The picture extracting module 501 is used to store the subject tags and corresponding pictures of the news with pictures into the supplementary library when the news judging module judges that the news to be displayed is news with pictures;
所述补图库为包括多个主题标签以及分别与主题标签对应的多个图片集合的图库。所述图片摘取模块501的操作保证了对补图库中图片内容的不断更新和丰富,以使得后续在为无图新闻配图时具有更多的选择。The supplementary gallery is a gallery including a plurality of subject tags and a plurality of picture collections respectively corresponding to the subject tags. The operation of the picture extracting module 501 ensures the continuous update and enrichment of the content of pictures in the supplementary library, so that there are more choices when matching pictures for news without pictures.
新闻补图模块403,用于在新闻判断模块的判断结果为否时,从补图库中选取与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中;所述补图库为包括多个主题标签以及分别与主题标签对应的多个图片集合的图库;News picture supplement module 403, for when the judgment result of news judgment module is no, select the picture corresponding to the subject tag of the news to be displayed from the supplement gallery to fill in the news to be displayed; the supplement gallery is a gallery comprising multiple hashtags and multiple collections of images corresponding to the hashtags;
新闻展示模块404,用于展示经过补图的所述待展示新闻。The news display module 404 is configured to display the news to be displayed through supplementary images.
本实施例的无图新闻自动配图展示的装置,实现了自动为无图新闻进行对应主题的配图,从而使得最终展示出的新闻更加生动,更具备吸引力,提升了读者的阅读体验。且该装置在执行相应动作的过程中会不断的将有图新闻中的图片存入补图库,丰富了补图库的内容,能够更好的支持后续为无图新闻配图的工作。The device for automatically displaying news without pictures with pictures in this embodiment realizes automatically matching pictures with corresponding topics for news without pictures, so that the finally displayed news is more vivid and attractive, and the reading experience of readers is improved. And the device will continuously store the pictures in the news with pictures into the supplementary gallery during the execution of corresponding actions, which enriches the content of the supplementary gallery and can better support the follow-up work of matching pictures for news without pictures.
图6为本发明实施例公开的无图新闻自动配图展示装置的第三结构图,参见图6,所述无图新闻自动配图展示装置60可以包括:Fig. 6 is a third structural diagram of the display device for automatic picture distribution of news without pictures disclosed in the embodiment of the present invention. Referring to Fig. 6, the automatic picture distribution device for news without pictures 60 may include:
图库建立模块601,用于建立补图库;Library building module 601, used to create a complementary library;
所述补图库为包括多个主题标签以及分别与主题标签对应的多个图片集合的图库。最初在建立补图库时,其中的图片资源可以先从网络中获取,以避免后续在为无图新闻配图时没有合适的图片可用。至于后续补图库中图片资源的更新补充,可以继续从网络资源中获取,也可以如上面实施例中提到的,将有图新闻中的图片不断的存入补图库。The supplementary gallery is a gallery including a plurality of subject tags and a plurality of picture collections respectively corresponding to the subject tags. When initially building a supplementary library, the picture resources in it can be obtained from the Internet first, so as to avoid that there are no suitable pictures available when matching pictures for news without pictures. As for the update and supplement of picture resources in the supplementary gallery, it can continue to be obtained from network resources, or as mentioned in the above embodiment, the pictures in the news with pictures can be continuously stored in the supplementary gallery.
标签设置模块401,用于根据预设算法为待展示新闻设置对应的主题标签;A tag setting module 401, configured to set a corresponding topic tag for news to be displayed according to a preset algorithm;
新闻判断模块402,用于判断所述待展示新闻是否为有图新闻;A news judging module 402, configured to judge whether the news to be displayed is news with pictures;
新闻补图模块403,用于在新闻判断模块的判断结果为否时,从补图库中选择一个或多个质量评分高的,与所述待展示新闻的主题标签对应的图片补入所述待展示新闻中;News picture supplement module 403, for when the judgment result of the news judgment module is no, select one or more high quality scores from the supplement gallery, and the pictures corresponding to the theme tags of the news to be displayed are added to the waiting list. show news;
由于补图库中一个主题标签下的图片资源会很多,应用中不可能将所有图片都配到无图新闻里,因此本实施例中,具体的,可以根据用户需求设置选择一个或多个图片配置到无图新闻中。此外,从补图库中选取图片时,可以优先选择图片像素高、质量好的图片,以保证无图新闻的配图效果。Since there are a lot of picture resources under a topic tag in the supplementary gallery, it is impossible to assign all the pictures to news without pictures in the application. Therefore, in this embodiment, one or more picture configurations can be selected according to user needs. To No Picture News. In addition, when selecting pictures from the supplementary gallery, you can give priority to selecting pictures with high pixel resolution and good quality, so as to ensure the picture effect of news without pictures.
新闻展示模块404,用于展示经过补图的所述待展示新闻。The news display module 404 is configured to display the news to be displayed through supplementary images.
本实施例中,无图新闻的自动配图展示方法首先建立补图库,为后续无图新闻的自动配图提供素材源,在选取配图的过程中,可以根据用户需求选取一个或多个质量好的图片配置到无图新闻中,满足不同用户的多样化需求。In this embodiment, the method for displaying news without pictures automatically with pictures first establishes a supplementary library to provide material sources for the automatic picture matching of news without pictures. Good pictures are allocated to news without pictures to meet the diverse needs of different users.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related part, please refer to the description of the method part.
还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this article, relational terms such as first and second etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations Any such actual relationship or order exists between. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710151029.3ACN106951493A (en) | 2017-03-14 | 2017-03-14 | Automatic figure methods of exhibiting and device without figure news |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710151029.3ACN106951493A (en) | 2017-03-14 | 2017-03-14 | Automatic figure methods of exhibiting and device without figure news |
| Publication Number | Publication Date |
|---|---|
| CN106951493Atrue CN106951493A (en) | 2017-07-14 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710151029.3APendingCN106951493A (en) | 2017-03-14 | 2017-03-14 | Automatic figure methods of exhibiting and device without figure news |
| Country | Link |
|---|---|
| CN (1) | CN106951493A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109448073A (en)* | 2018-10-15 | 2019-03-08 | 北京搜狐新媒体信息技术有限公司 | A kind of picture extracts the method and system of double-colored gradual change |
| CN109948401A (en)* | 2017-12-20 | 2019-06-28 | 北京京东尚科信息技术有限公司 | Data processing method and its system for text |
| CN110209862A (en)* | 2019-05-22 | 2019-09-06 | 招商局金融科技有限公司 | Text matches drawing method, electronic device and computer readable storage medium |
| WO2020103899A1 (en)* | 2018-11-23 | 2020-05-28 | 连尚(新昌)网络科技有限公司 | Method for generating inforgraphic information and method for generating image database |
| CN112150174A (en)* | 2019-06-27 | 2020-12-29 | 百度在线网络技术(北京)有限公司 | Advertisement matching method and device and electronic equipment |
| CN113343012A (en)* | 2021-08-05 | 2021-09-03 | 人民网科技(北京)有限公司 | News matching method, device, equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102364473A (en)* | 2011-11-09 | 2012-02-29 | 中国科学院自动化研究所 | Network news retrieval system and method integrating geographic information and visual information |
| CN102819556A (en)* | 2012-06-28 | 2012-12-12 | 优视科技有限公司 | Method and device for viewing pictures |
| CN104239535A (en)* | 2014-09-22 | 2014-12-24 | 重庆邮电大学 | Method and system for matching pictures with characters, server and terminal |
| CN104965921A (en)* | 2015-07-10 | 2015-10-07 | 陈包容 | Information matching method |
| CN105677699A (en)* | 2015-12-18 | 2016-06-15 | 网易传媒科技(北京)有限公司 | Method and apparatus for generating news pages for user |
| CN106021442A (en)* | 2016-05-16 | 2016-10-12 | 江苏大学 | Network news outline extraction method |
| CN104731952B (en)* | 2015-03-31 | 2017-02-15 | 努比亚技术有限公司 | Method and device for checking pictures |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102364473A (en)* | 2011-11-09 | 2012-02-29 | 中国科学院自动化研究所 | Network news retrieval system and method integrating geographic information and visual information |
| CN102819556A (en)* | 2012-06-28 | 2012-12-12 | 优视科技有限公司 | Method and device for viewing pictures |
| CN104239535A (en)* | 2014-09-22 | 2014-12-24 | 重庆邮电大学 | Method and system for matching pictures with characters, server and terminal |
| CN104731952B (en)* | 2015-03-31 | 2017-02-15 | 努比亚技术有限公司 | Method and device for checking pictures |
| CN104965921A (en)* | 2015-07-10 | 2015-10-07 | 陈包容 | Information matching method |
| CN105677699A (en)* | 2015-12-18 | 2016-06-15 | 网易传媒科技(北京)有限公司 | Method and apparatus for generating news pages for user |
| CN106021442A (en)* | 2016-05-16 | 2016-10-12 | 江苏大学 | Network news outline extraction method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109948401A (en)* | 2017-12-20 | 2019-06-28 | 北京京东尚科信息技术有限公司 | Data processing method and its system for text |
| CN109448073A (en)* | 2018-10-15 | 2019-03-08 | 北京搜狐新媒体信息技术有限公司 | A kind of picture extracts the method and system of double-colored gradual change |
| WO2020103899A1 (en)* | 2018-11-23 | 2020-05-28 | 连尚(新昌)网络科技有限公司 | Method for generating inforgraphic information and method for generating image database |
| CN110209862A (en)* | 2019-05-22 | 2019-09-06 | 招商局金融科技有限公司 | Text matches drawing method, electronic device and computer readable storage medium |
| CN110209862B (en)* | 2019-05-22 | 2021-06-25 | 招商局金融科技有限公司 | Text matching method, electronic device and computer readable storage medium |
| CN112150174A (en)* | 2019-06-27 | 2020-12-29 | 百度在线网络技术(北京)有限公司 | Advertisement matching method and device and electronic equipment |
| CN112150174B (en)* | 2019-06-27 | 2024-04-02 | 百度在线网络技术(北京)有限公司 | Advertisement picture allocation method and device and electronic equipment |
| CN113343012A (en)* | 2021-08-05 | 2021-09-03 | 人民网科技(北京)有限公司 | News matching method, device, equipment and storage medium |
| CN113343012B (en)* | 2021-08-05 | 2022-03-04 | 人民网科技(北京)有限公司 | News matching method, device, equipment and storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| CN106951493A (en) | Automatic figure methods of exhibiting and device without figure news | |
| EP3316586B1 (en) | Method and device for extracting keywords from bullet screen information and pushing related information including a web link | |
| TWI519979B (en) | Information recommendation method and device thereof and information resource recommendation system | |
| CN102930522B (en) | A device and method for realizing image mosaic | |
| CN102930523B (en) | Picture processing system and picture splicing implementation method | |
| CN113746874B (en) | A voice package recommendation method, device, equipment and storage medium | |
| EP2461260A1 (en) | Visual treatment for a user interface in a content integration framework | |
| CN104079999A (en) | Video screenshot preview method and system used on smart television | |
| TW201812618A (en) | Search information processing method and apparatus | |
| CN113536137A (en) | Information display method and device and computer storage medium | |
| CN104270656B (en) | PUSH message delay process method and system, intelligent receiving terminal and mobile terminal | |
| CN103297313A (en) | Network information processing method and device | |
| CN104756102A (en) | Terminal and application program interaction method | |
| CN104468774A (en) | Data presentation method applied to could disk client side and could disk client side | |
| CN107092652A (en) | The air navigation aid and device of target pages | |
| CN106503026A (en) | A kind of method and apparatus of video data | |
| CN104462283A (en) | Method, device and client for requesting webpage elements in mobile terminal | |
| CN103838748A (en) | Method and system for showing browser new label page | |
| CN106850711A (en) | A kind of processing method of file-sharing, device, server and system | |
| CN104010223A (en) | Method and system for taking over terminal system for video playing | |
| CN106791912B (en) | A method and system for matching poster images | |
| CN104102328A (en) | Information processing method and information processing device | |
| CN103838474A (en) | Method for displaying label page newly created on browser and browser client-side | |
| CN107153674B (en) | A method and system for displaying live room information | |
| WO2023020093A1 (en) | Virtual gift display method and apparatus |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20170714 |