CN111191152A - News data display method and device - Google Patents
News data display method and device Download PDFInfo
- Publication number
- CN111191152A CN111191152A CN201911362981.3A CN201911362981A CN111191152A CN 111191152 A CN111191152 A CN 111191152A CN 201911362981 A CN201911362981 A CN 201911362981A CN 111191152 A CN111191152 A CN 111191152A
- Authority
- CN
- China
- Prior art keywords
- news data
- news
- feature vector
- preset database
- searching
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 230000001815 facial effect Effects 0.000 claims abstract description 50
- 239000013598 vector Substances 0.000 claims abstract description 44
- 238000012545 processing Methods 0.000 claims abstract description 29
- 230000008569 process Effects 0.000 claims description 10
- 230000011218 segmentation Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000007480 spreading Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000005111 flow chemistry technique Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9538—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/172—Classification, e.g. identification
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Computation (AREA)
- Evolutionary Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Life Sciences & Earth Sciences (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The disclosure relates to a news data display method and device. The method comprises the following steps: obtaining login information of a user, wherein the login information comprises a face picture; carrying out face recognition processing on the face picture to generate a face feature vector; searching in a preset database to determine news data based on the facial feature vector; and carrying out classified display on the news data according to the corresponding category attributes. The news data display method and the device can provide personalized news information display requirements for users, and improve the work efficiency of news picture retrieval and use during news editing and generation.
Description
Technical Field
The disclosure relates to the field of computer information processing, in particular to a news data display method and device.
Background
The main work content of news editing is to integrate complicated and complicated information and position real-time information with spreading value, so that the social function of news is effectively exerted. News editing also requires specific control over news information. As a selection process of news information, leaders of all levels of editing parts, such as journalists, editors, responsibility editors, editorial review, main editors and the like, all exert personal influence on the selection of the news information. News editors not only report news facts in organizations, but also express evaluations of news facts as subjects responsible for social responsibility. The speech of the editing part adopts a large number of indirect modes, news propagation content and key selection, selection of expression modes and styles of reporters, titles and summaries, selection of processing modes, program lengths and broadcasting times in sound image recording and editing, collocation of positions in program arrangement and other news and the like are directly or indirectly expressed, the attitude and the position of tendency of the user are directly or indirectly expressed, and understanding and judgment of the audience on news facts are influenced.
At present, social spreading of messages is faster and faster, hotspots are more and more, and a large number of news are layered endlessly, so that great workload is brought to news editing. How to rapidly acquire news data concerned by the news editing device and improve the news editing efficiency is a problem to be solved urgently.
Therefore, a new method and apparatus for displaying news data are needed.
The above information disclosed in this background section is only for enhancement of understanding of the background of the disclosure and therefore it may contain information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
In view of this, the present disclosure provides a news data display method and apparatus, which can provide personalized news information display requirements for users, and improve work efficiency of news image retrieval and use during news editing and generation.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the present disclosure, a method for displaying news data is provided, the method including: obtaining login information of a user, wherein the login information comprises a face picture; carrying out face recognition processing on the face picture to generate a face feature vector; searching in a preset database to determine news data based on the facial feature vector; and carrying out classified display on the news data according to the corresponding category attributes.
In an exemplary embodiment of the present disclosure, the login information further includes a user identification code, and the method further includes: searching in a preset database based on the user identification code to determine news data; and carrying out classified display on the news data according to the corresponding category attributes.
In an exemplary embodiment of the present disclosure, the login information further includes a keyword, and the method further includes: searching in a preset database based on the keywords to determine news data; and carrying out classified display on the news data according to the corresponding category attributes.
In an exemplary embodiment of the present disclosure, further comprising: constructing the preset database based on the corresponding relation between the index words and the plurality of news data; wherein the index words comprise facial feature vectors and/or user identification codes and/or keywords.
In an exemplary embodiment of the present disclosure, constructing the preset database based on correspondence between index words and a plurality of news data includes: acquiring a plurality of news data, wherein the news data comprise character information, video information and picture information; determining an index word; determining at least one index tag for the plurality of news data to generate a corresponding relationship between an index word and the plurality of news data; and constructing the preset database according to the corresponding relation.
In an exemplary embodiment of the present disclosure, determining an index word includes: and carrying out facial recognition on the video information and/or the picture information in the plurality of news data to determine the corresponding index words.
In an exemplary embodiment of the present disclosure, performing a face recognition process on the face picture to generate a facial feature vector includes: carrying out face recognition processing on the face picture to generate an initial face feature vector; carrying out similarity comparison on the initial facial feature vector and a preset facial feature vector in a preset database; and determining the facial feature vector according to the similarity comparison result.
According to an aspect of the present disclosure, there is provided a news data presentation apparatus, the apparatus including: the system comprises an information module, a display module and a control module, wherein the information module is used for acquiring login information of a user, and the login information comprises a face picture; the recognition module is used for carrying out facial recognition processing on the facial picture to generate a facial feature vector; the first searching module is used for searching in a preset database to determine news data based on the facial feature vector; and the first display module is used for displaying the news data in a classified manner according to the corresponding category attributes.
In an exemplary embodiment of the present disclosure, the login information further includes a user identification code, and the apparatus further includes: the second searching module is used for searching in a preset database based on the user identification code to determine news data; and the second display module is used for displaying the news data in a classified manner according to the corresponding category attributes.
In an exemplary embodiment of the present disclosure, the login information further includes a keyword, and the apparatus further includes: the third searching module is used for searching in a preset database based on the keyword to determine news data; and the third display module is used for displaying the news data in a classified manner according to the corresponding category attributes.
According to an aspect of the present disclosure, an electronic device is provided, the electronic device including: one or more processors; storage means for storing one or more programs; when executed by one or more processors, cause the one or more processors to implement a method as above.
According to an aspect of the disclosure, a computer-readable medium is proposed, on which a computer program is stored, which program, when being executed by a processor, carries out the method as above.
According to the news data display method and device, login information of a user is obtained, wherein the login information comprises a face picture; carrying out face recognition processing on the face picture to generate a face feature vector; searching in a preset database to determine news data based on the facial feature vector; and the news data is displayed in a classified mode according to the corresponding category attributes, so that personalized news information display requirements can be provided for users, and the work efficiency of news picture retrieval and use is improved during news editing and generation.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings. The drawings described below are merely some embodiments of the present disclosure, and other drawings may be derived from those drawings by those of ordinary skill in the art without inventive effort.
Fig. 1 is a system block diagram illustrating a news data presentation method and apparatus according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a news data presentation method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a news data presentation method according to another exemplary embodiment.
Fig. 4 is a flowchart illustrating a news data presentation method according to another exemplary embodiment.
Fig. 5 is a block diagram illustrating a news data presentation device according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 7 is a block diagram illustrating a computer-readable medium in accordance with an example embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one element from another. Thus, a first component discussed below may be termed a second component without departing from the teachings of the disclosed concept. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It is to be understood by those skilled in the art that the drawings are merely schematic representations of exemplary embodiments, and that the blocks or processes shown in the drawings are not necessarily required to practice the present disclosure and are, therefore, not intended to limit the scope of the present disclosure.
Fig. 1 is a system block diagram illustrating a news data presentation method and apparatus according to an exemplary embodiment.
As shown in fig. 1, the system architecture 10 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a shopping application, a web browser application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server that provides various services, such as a background management server that supports news-editing-type websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the news query request, and feed back the processing result (e.g., news data, news display data, and the like) to the terminal device.
The server 105 may, for example, obtain login information of the user, where the login information includes a facial picture; the server 105 may, for example, perform facial recognition processing on the facial picture to generate a facial feature vector; server 105 may search a preset database to determine news data, e.g., based on the facial feature vector; the server 105 may, for example, present the news data in a sorted manner according to their corresponding category attributes.
The server 105 may also, for example, obtain login information of the user, where the login information includes a user identification code; server 105 may also search a preset database, for example, based on the user identification code, to determine news data; the server 105 may also present the news data in categories according to their corresponding category attributes, for example.
The server 105 may also, for example, obtain login information of the user, where the login information includes a keyword; server 105 may also search in a preset database, for example, based on the keywords, to determine news data; the server 105 may also present the news data in categories according to their corresponding category attributes, for example.
The server 105 may be a single entity server, or may be composed of a plurality of servers, for example, it should be noted that the news data presentation method provided by the embodiment of the present disclosure may be executed by the terminal devices 101, 102, 103 or the server 105, and accordingly, the news data presentation apparatus may be disposed in the terminal devices 101, 102, 103 or the server 105. And the page end for providing news editing web browsing to the user is generally located in the terminal equipment 101, 102, 103.
Fig. 2 is a flowchart illustrating a news data presentation method according to an exemplary embodiment. The news data presentation method 20 includes at least steps S202 to S208.
As shown in fig. 2, in S202, login information of a user is acquired, where the login information includes a face picture. The user can log in through the mobile terminal, and the mobile terminal is provided with a device capable of carrying out facial recognition, such as a camera. When the user logs in, the camera acquires a real-time facial image of the user as login information of the user.
In S204, the face image is subjected to face recognition processing, and a face feature vector is generated. Can include the following steps: carrying out face recognition processing on the face picture to generate an initial face feature vector; carrying out similarity comparison on the initial facial feature vector and a preset facial feature vector in a preset database; and determining the facial feature vector according to the similarity comparison result.
Face recognition is a biometric technique for identifying an identity based on facial feature information of a person. A series of related technologies, also commonly called face recognition and face recognition, are used to collect images or video streams containing faces by using a camera or a video camera, automatically detect and track the faces in the images, and then perform face recognition on the detected faces.
More specifically, the face recognition algorithm may include: a face-based Feature point recognition algorithm (Feature-based recognition algorithms); an identification algorithm (application-based recognition algorithms) based on the whole face image; template-based recognition algorithms (Template-based recognitionalgorithms); an algorithm (Recognition algorithms using neural networks) for Recognition using a neural network, and the like, in the embodiment of the present disclosure, face Recognition may be performed specifically by a Recognition algorithm based on a face feature point.
In S206, a search is performed in a preset database to determine news data based on the facial feature vector. The preset database may be constructed based on correspondence between index words and a plurality of news data; the index words comprise facial feature vectors and/or user identification codes and/or keywords; wherein the news data may include resources such as news manuscripts, videos, pictures, and the like.
In S208, the news data is classified and displayed according to the corresponding category attribute. More specifically, the news data may be classified into different categories, such as "entertainment", "real-life", "house property", etc., in the preset database, and the news data may be classified and displayed according to different category labels when displayed at the user end.
In a specific application embodiment, the user a may be a news reporter, and when the user a logs in a website for assisting news processing, the website may search, according to the facial recognition data of the user a, related news data with the facial feature vector of the user a in a preset database, and further display the news data on the terminal of the user a.
In a specific application embodiment, the user B may be a news editor, and when the user B logs in a website for assisting news processing, the website may search the user identification code of the user B as a search word in a preset database, search out news data in which all the users B participate in editing, and display the news data on a terminal of the user B.
According to the news data display method, login information of a user is obtained, wherein the login information comprises a face picture; carrying out face recognition processing on the face picture to generate a face feature vector; searching in a preset database to determine news data based on the facial feature vector; and the news data is displayed in a classified mode according to the corresponding category attributes, so that personalized news information display requirements can be provided for users, and the work efficiency of news picture retrieval and use is improved during news editing and generation.
It should be clearly understood that this disclosure describes how to make and use particular examples, but the principles of this disclosure are not limited to any details of these examples. Rather, these principles can be applied to many other embodiments based on the teachings of the present disclosure.
Fig. 3 is a flowchart illustrating a news data presentation method according to another exemplary embodiment. The flow shown in fig. 3 is a detailed description that is complementary to the flow shown in fig. 2.
As shown in fig. 3, in S302, login information of a user is obtained, where the login information includes a user identification code and/or a keyword.
The user identification code can be a registered user name or a mobile phone identification code of the user; the keywords may be words input by the user.
In S304, news data is determined by searching in a preset database based on the user identification code. The news data and the user identification codes can be searched in a preset database according to the incidence relation of the news data and the user identification codes, and a search result is generated.
In S306, news data is determined by searching in a preset database based on the keyword. The search can be performed in a preset database according to the incidence relation between the news data and the used keywords, and a search result is generated.
In S308, the news data is classified and displayed according to the corresponding category attribute.
Fig. 4 is a flowchart illustrating a news data presentation method according to another exemplary embodiment. The flow shown in fig. 4 is a detailed description of "building a preset database".
As shown in fig. 4, in S402, a plurality of news data including text information, video information, and picture information are acquired.
In S404, an index word is determined. The method comprises the following steps: and carrying out facial recognition on the video information and/or the picture information in the plurality of news data to determine the corresponding index words.
More specifically, when resources such as news manuscripts, videos and pictures are uploaded, faces in the resources can be automatically identified, and corresponding marks are formed.
In one embodiment, further comprising: uploading resources such as news propaganda manuscripts, videos and pictures to a resource library, storing the resources in a data center, using a word segmentation technology after service packaging to segment words of resource names and resource detailed text contents to form a word library, wherein the segmented words can be used as keywords of the news data.
It should be noted that the keywords, the user feature vectors, and the user identification codes of the same news data may include a plurality of keywords.
The news propaganda manuscript can be processed by a Chinese word segmentation method to obtain key words. Chinese word segmentation is a process of recombining continuous word sequences into word sequences according to a certain specification. Existing word segmentation algorithms can be divided into three major categories: a word segmentation method based on character string matching, a word segmentation method based on understanding and a word segmentation method based on statistics. Whether the method is combined with the part-of-speech tagging process or not can be divided into a simple word segmentation method and an integrated method combining word segmentation and tagging.
In the embodiment of the disclosure, the word segmentation processing of the news data can be performed by a word segmentation method based on character string matching, the word segmentation method based on character string matching passes through an initial sufficiently large dictionary, then the character string to be segmented is matched with elements in the dictionary, and if the matching is successful, the word is segmented. The algorithm is simple and quick, and can meet the requirement of processing a large amount of news data in the preset data in the disclosure.
According to different scanning directions, the character string matching word segmentation method can be divided into positive phase matching and reverse phase matching; the matching priorities according to different lengths can be divided into a maximum matching and a minimum matching.
At S406, at least one index tag is determined for the plurality of news data to generate a correspondence between an index word and the plurality of news data. An index tag is determined for the news data, and the index tag can be at least one of a user feature vector, a user identification code and a keyword.
In S408, the preset database is constructed according to the corresponding relationship.
Through the news data display method, a plurality of users can share the used news resource management function, provincial centralized management of news resources is realized, the preset database can provide simple and efficient information retrieval service, and the sharing value of the news resources is greatly improved.
Those skilled in the art will appreciate that all or part of the steps implementing the above embodiments are implemented as computer programs executed by a CPU. When executed by the CPU, performs the functions defined by the above-described methods provided by the present disclosure. The program may be stored in a computer readable storage medium, which may be a read-only memory, a magnetic or optical disk, or the like.
Furthermore, it should be noted that the above-mentioned figures are only schematic illustrations of the processes involved in the methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 5 is a block diagram illustrating a news data presentation device according to an exemplary embodiment. As shown in fig. 5, the news data presentation apparatus 50 includes: an information module 502, an identification module 504, a first search module 506, a first presentation module 508, a second search module 510, a second presentation module 512, a third search module 514, and a third presentation module 516.
The information module 502 is configured to obtain login information of a user, where the login information includes a facial picture;
the recognition module 504 is configured to perform facial recognition processing on the facial image to generate a facial feature vector;
the first search module 506 is configured to search a preset database to determine news data based on the facial feature vector; and
the first displaying module 508 is configured to display the news data in a classified manner according to the corresponding category attribute.
The second searching module 510 is configured to search a preset database based on the user identifier to determine news data; and
the second displaying module 512 is configured to display the news data in a classified manner according to the corresponding category attribute.
The third searching module 514 is configured to search in a preset database based on the keyword to determine news data; and
the third displaying module 516 is configured to display the news data in a classified manner according to the corresponding category attribute.
According to the news data display device, login information of a user is obtained, wherein the login information comprises a face picture; carrying out face recognition processing on the face picture to generate a face feature vector; searching in a preset database to determine news data based on the facial feature vector; and the news data is displayed in a classified mode according to the corresponding category attributes, so that personalized news information display requirements can be provided for users, and the work efficiency of news picture retrieval and use is improved during news editing and generation.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment.
An electronic device 600 according to this embodiment of the disclosure is described below with reference to fig. 6. The electronic device 600 shown in fig. 6 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 that connects the various system components (including the storage unit 620 and the processing unit 610), a display unit 640, and the like.
Wherein the storage unit stores program code executable by the processing unit 610 to cause the processing unit 610 to perform steps according to various exemplary embodiments of the present disclosure described in the above-mentioned electronic prescription flow processing method section of the present specification. For example, the processing unit 610 may perform the steps as shown in fig. 2, 3, 4.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203.
The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The electronic device 600 may also communicate with one or more external devices 600' (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, as shown in fig. 7, the technical solution according to the embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the above method according to the embodiment of the present disclosure.
The software product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The computer readable medium carries one or more programs which, when executed by a device, cause the computer readable medium to perform the functions of: obtaining login information of a user, wherein the login information comprises a face picture; carrying out face recognition processing on the face picture to generate a face feature vector; searching in a preset database to determine news data based on the facial feature vector; and carrying out classified display on the news data according to the corresponding category attributes.
Those skilled in the art will appreciate that the modules described above may be distributed in the apparatus according to the description of the embodiments, or may be modified accordingly in one or more apparatuses unique from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Exemplary embodiments of the present disclosure are specifically illustrated and described above. It is to be understood that the present disclosure is not limited to the precise arrangements, instrumentalities, or instrumentalities described herein; on the contrary, the disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (10)
1. A news data display method is characterized by comprising the following steps:
obtaining login information of a user, wherein the login information comprises a face picture;
carrying out face recognition processing on the face picture to generate a face feature vector;
searching in a preset database to determine news data based on the facial feature vector; and
and classifying and displaying the news data according to the corresponding category attributes.
2. The method of claim 1, wherein the login information further includes a user identification code, the method further comprising:
searching in a preset database based on the user identification code to determine news data; and
and classifying and displaying the news data according to the corresponding category attributes.
3. The method of claim 1, wherein the login information further includes a keyword, the method further comprising:
searching in a preset database based on the keywords to determine news data; and
and classifying and displaying the news data according to the corresponding category attributes.
4. The method of claim 1, further comprising:
constructing the preset database based on the corresponding relation between the index words and the plurality of news data;
wherein the index words comprise facial feature vectors and/or user identification codes and/or keywords.
5. The method of claim 4, wherein constructing the preset database based on correspondence between index words and a plurality of news data comprises:
acquiring a plurality of news data, wherein the news data comprise character information, video information and picture information;
determining an index word;
determining at least one index tag for the plurality of news data to generate a corresponding relationship between an index word and the plurality of news data;
and constructing the preset database according to the corresponding relation.
6. The method of claim 5, wherein determining an index word comprises:
and carrying out facial recognition on the video information and/or the picture information in the plurality of news data to determine the corresponding index words.
7. The method of claim 1, wherein subjecting the facial picture to a facial recognition process to generate a facial feature vector comprises:
carrying out face recognition processing on the face picture to generate an initial face feature vector;
carrying out similarity comparison on the initial facial feature vector and a preset facial feature vector in a preset database; and
and determining the facial feature vector according to the similarity comparison result.
8. A news data presentation apparatus, comprising:
the system comprises an information module, a display module and a control module, wherein the information module is used for acquiring login information of a user, and the login information comprises a face picture;
the recognition module is used for carrying out facial recognition processing on the facial picture to generate a facial feature vector;
the first searching module is used for searching in a preset database to determine news data based on the facial feature vector; and
and the first display module is used for displaying the news data in a classified manner according to the corresponding category attributes.
9. The apparatus of claim 8, wherein the login information further includes a user identification code, the apparatus further comprising:
the second searching module is used for searching in a preset database based on the user identification code to determine news data; and
and the second display module is used for displaying the news data in a classified manner according to the corresponding category attributes.
10. The apparatus of claim 8, wherein the login information further includes a keyword, the apparatus further comprising:
the third searching module is used for searching in a preset database based on the keyword to determine news data; and
and the third display module is used for displaying the news data in a classified manner according to the corresponding category attributes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911362981.3A CN111191152A (en) | 2019-12-26 | 2019-12-26 | News data display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911362981.3A CN111191152A (en) | 2019-12-26 | 2019-12-26 | News data display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111191152A true CN111191152A (en) | 2020-05-22 |
Family
ID=70705836
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911362981.3A Pending CN111191152A (en) | 2019-12-26 | 2019-12-26 | News data display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111191152A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106227874A (en) * | 2016-07-29 | 2016-12-14 | 中国传媒大学 | A kind of mobile news client based on UCL |
CN109241299A (en) * | 2018-09-25 | 2019-01-18 | 腾讯科技(深圳)有限公司 | Multimedia resource searching method, device, storage medium and equipment |
CN109446421A (en) * | 2018-10-22 | 2019-03-08 | 四川虹美智能科技有限公司 | A kind of method, apparatus and system pushing news information by refrigerator display screen |
-
2019
- 2019-12-26 CN CN201911362981.3A patent/CN111191152A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106227874A (en) * | 2016-07-29 | 2016-12-14 | 中国传媒大学 | A kind of mobile news client based on UCL |
CN109241299A (en) * | 2018-09-25 | 2019-01-18 | 腾讯科技(深圳)有限公司 | Multimedia resource searching method, device, storage medium and equipment |
CN109446421A (en) * | 2018-10-22 | 2019-03-08 | 四川虹美智能科技有限公司 | A kind of method, apparatus and system pushing news information by refrigerator display screen |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107256267B (en) | Query method and device | |
US9626159B2 (en) | Automatic generation of task scripts from web browsing interaction history | |
US9923860B2 (en) | Annotating content with contextually relevant comments | |
US9720904B2 (en) | Generating training data for disambiguation | |
CN113806588B (en) | Method and device for searching video | |
Wang et al. | Similarity-based visualization of large image collections | |
TWI709905B (en) | Data analysis method and data analysis system thereof | |
WO2024099171A1 (en) | Video generation method and apparatus | |
KR102322212B1 (en) | Apparatus and method for recommending learning contents | |
CN114625699A (en) | Identification and reconstruction of previously presented material | |
CN117312535A (en) | Method, device, equipment and medium for processing problem data based on artificial intelligence | |
US10910014B2 (en) | Method and apparatus for generating video | |
CN111382262A (en) | Method and apparatus for outputting information | |
CN116308704A (en) | Product recommendation method, device, electronic equipment, medium and computer program product | |
US20230298627A1 (en) | Video data size reduction | |
CN113743973B (en) | Method and device for analyzing market hotspot trend | |
CN116030375A (en) | Video feature extraction and model training method, device, equipment and storage medium | |
CN111191152A (en) | News data display method and device | |
CN114912003A (en) | Document searching method and device, computer equipment and storage medium | |
CN113420042A (en) | Data statistics method, device, equipment and storage medium based on presentation | |
CN111666522A (en) | Information processing method, device, equipment and storage medium | |
CN110147488B (en) | Page content processing method, processing device, computing equipment and storage medium | |
US11520839B2 (en) | User based network document modification | |
CN113672794B (en) | Page generation method, device and medium | |
CN110659402A (en) | Automatically providing information in an application |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200522 |
|
RJ01 | Rejection of invention patent application after publication |