CN107644084A - Method and apparatus for generating information - Google Patents

Method and apparatus for generating information Download PDF

Info

Publication number
CN107644084A
CN107644084A CN201710867243.9A CN201710867243A CN107644084A CN 107644084 A CN107644084 A CN 107644084A CN 201710867243 A CN201710867243 A CN 201710867243A CN 107644084 A CN107644084 A CN 107644084A
Authority
CN
China
Prior art keywords
information
target information
checked
reverse side
mentioned
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.)
Granted
Application number
CN201710867243.9A
Other languages
Chinese (zh)
Other versions
CN107644084B (en
Inventor
聂晓萌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710867243.9A priority Critical patent/CN107644084B/en
Publication of CN107644084A publication Critical patent/CN107644084A/en
Application granted granted Critical
Publication of CN107644084B publication Critical patent/CN107644084B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application discloses the method and apparatus for generating information.One embodiment of this method includes:Obtain the target information set of measurement information to be checked;Obtain the characteristic key words of each bar target information in the target information set, the characteristic key words are used to characterize degree of support of the target information to the information authenticity to be detected, and the characteristic key words include positive feature keyword and negative attribute keyword;The characteristic key words contained based on each bar target packet in the target information set determine whether the measurement information to be checked is type I information;In response to determining that the measurement information to be checked is type I information, in the target information set, target information comprising negative attribute keyword is defined as to the reverse side target information of the measurement information to be checked.The embodiment realizes the judgement for the authenticity for treating detection information, and obtains the reverse side target information of measurement information to be checked.

Description

Method and apparatus for generating information
Technical field
The application is related to field of computer technology, and in particular to Internet technical field, more particularly, to generates information Method and apparatus.
Background technology
With the development of internet and the raising of popularity, increasing user starts internet accustomed to using and obtained Information, for example, the information that user can be wanted to know about by search engine inquiry.However, there is substantial amounts of ballad on internet Information is sayed, for example, hot information " can not on a Chinese passport go by air at home ", " bit coin extorts poisoning intrusion apple hand Machine ", " one, which bleeds, can survey cancer " etc. are rumour information, and this kind of rumour information is due to largely being forwarded and shared so that they Ranking is very high in search engine, often comes preceding several positions of search result, and user is often before the row's of will be considered that search result The information credibility in face is high, therefore, can listen indiscriminately to rumors.The propagation of rumour information pollutes network environment, has upset civil order, The serious consequence that can possibly even cause some can not predict, can not retrieve.Lack at this stage to propagating information on network Authenticity is judged, and the method for information of refuting a rumour is generated for unreal information.
The content of the invention
The purpose of the application is to propose a kind of improved method and apparatus for generating information, to solve background above The technical problem that technology segment is mentioned.
In a first aspect, the embodiment of the present application provides a kind of method for generating information, this method includes:Obtain to be checked The target information set of measurement information, wherein, the target information in above-mentioned target information set is related to above-mentioned measurement information to be checked Info web;The characteristic key words of each bar target information in above-mentioned target information set are obtained, wherein, features described above is crucial Word is used to characterize degree of support of the target information to above-mentioned information authenticity to be detected, and features described above keyword includes positive feature Keyword and negative attribute keyword;The characteristic key words contained based on each bar target packet in above-mentioned target information set are true Whether fixed above-mentioned measurement information to be checked is type I information;, will be above-mentioned in response to determining that above-mentioned measurement information to be checked is type I information Target information in target information set, comprising negative attribute keyword is defined as the reverse side target letter of above-mentioned measurement information to be checked Breath.
In certain embodiments, the above method also includes:Collect the reverse side target information of at least one measurement information to be checked, it is raw Into reverse side target information set.
In certain embodiments, the above method also includes:Search according to being received from terminal obtains at least one with information Search result;Respectively by the search result in above-mentioned search information and above-mentioned at least one search result and above-mentioned reverse side target Reverse side target information in information aggregate is matched;In response to above-mentioned search information and/or above-mentioned at least one search knot Search result in fruit matches with the reverse side target information in above-mentioned reverse side target information set, pushes and prompts to above-mentioned terminal Information.
In certain embodiments, the above method also includes:Receive the prompt message that above-mentioned terminal is sent and check request, its In, above-mentioned prompt message checks that request is that above-mentioned terminal checks operation generation according to user for what above-mentioned prompt message performed 's;It is above-mentioned to check that request acquisition reverse side target information from above-mentioned reverse side target information set is sent to according to above-mentioned prompt message Terminal, so that above-mentioned terminal is shown.
In certain embodiments, it is above-mentioned in response in above-mentioned search information and/or above-mentioned at least one search result Search result matches with the reverse side target information in above-mentioned reverse side target information set, and prompt message is pushed to above-mentioned terminal, Including:Match in response to above-mentioned search information and the reverse side target information in above-mentioned reverse side target information set, to above-mentioned Terminal pushes the first prompt message for being shown in the search box of above-mentioned terminal;In response in above-mentioned at least one search result Search result match with reverse side target information in above-mentioned reverse side target information set, pushed to above-mentioned terminal for above-mentioned The second prompt message that the search results pages of terminal are shown.
In certain embodiments, the feature critical that above-mentioned each bar target packet based in above-mentioned target information set contains Word determines whether above-mentioned measurement information to be checked is type I information, including:Believe for every target in above-mentioned target information set Breath, perform following operate:By the spy in the keyword included in this target information and feature critical set of words set in advance Sign keyword is matched, and determines the characteristic key words included in this target information, wherein, in features described above keyword set Each bar characteristic key words be previously provided with score value;The support journey of above-mentioned measurement information to be checked is determined based on degree of support Score factor Score is spent, wherein, above-mentioned degree of support Score factor includes at least one of following:Target information in above-mentioned target information set The score value of included negative attribute keyword and the source confidence level of each target information, the mesh for including negative attribute keyword Mark the bar number of information;Determine whether above-mentioned measurement information to be checked is first kind letter according to the degree of support score of above-mentioned measurement information to be checked Breath.
In certain embodiments, the above-mentioned degree of support score according to above-mentioned measurement information to be checked determines above-mentioned measurement information to be checked Whether it is type I information, including:Judge whether the degree of support score of above-mentioned measurement information to be checked is less than threshold value set in advance, If it is less than, it is determined that above-mentioned measurement information to be checked is type I information.
Second aspect, the embodiment of the present application provide a kind of device for being used to generate information, and the device includes:First obtains Unit, for obtaining the target information set of measurement information to be checked, wherein, target information in above-mentioned target information set be with it is upper State the related info web of measurement information to be checked;Second acquisition unit, for obtaining each bar target in above-mentioned target information set The characteristic key words of information, wherein, features described above keyword is used to characterize target information to above-mentioned information authenticity to be detected Degree of support, features described above keyword include positive feature keyword and negative attribute keyword;First determining unit, for base The characteristic key words that each article of target packet in above-mentioned target information set contains determine whether above-mentioned measurement information to be checked is One category information;Second determining unit, for being type I information in response to the above-mentioned measurement information to be checked of determination, by above-mentioned target information Target information in set, comprising negative attribute keyword is defined as the reverse side target information of above-mentioned measurement information to be checked.
In certain embodiments, said apparatus also includes:Generation unit, for collecting the anti-of at least one measurement information to be checked Area Objects information, generate reverse side target information set.
In certain embodiments, said apparatus also includes:First receiving unit, for being used according to the search received from terminal Information obtains at least one search result;First matching unit, for respectively by above-mentioned search information and above-mentioned at least one Search result in search result is matched with the reverse side target information in above-mentioned reverse side target information set;Push unit, For believing in response to the search result in above-mentioned search information and/or above-mentioned at least one search result and above-mentioned reverse side target Reverse side target information in breath set matches, and prompt message is pushed to above-mentioned terminal.
In certain embodiments, said apparatus also includes:Second receiving unit, the prompting sent for receiving above-mentioned terminal Information inspection is asked, wherein, above-mentioned prompt message checks that request is that above-mentioned terminal performs according to user for above-mentioned prompt message Check operation generation;Transmitting element, for checking request from above-mentioned reverse side target information set according to above-mentioned prompt message Middle acquisition reverse side target information is sent to above-mentioned terminal, so that above-mentioned terminal is shown.
In certain embodiments, above-mentioned push unit includes:First prompt message push unit, for being searched in response to above-mentioned Rope information matches with the reverse side target information in above-mentioned reverse side target information set, is pushed to above-mentioned terminal for above-mentioned The first prompt message that the search box of terminal is shown;Second prompt message push unit, for being searched in response to above-mentioned at least one Search result in hitch fruit matches with reverse side target information in above-mentioned reverse side target information set, pushes and uses to above-mentioned terminal In the second prompt message for showing of search results pages in above-mentioned terminal.
In certain embodiments, above-mentioned first determining unit includes:Second matching unit, for for above-mentioned target information Every target information in set, perform following operate:By the keyword included in this target information and spy set in advance Characteristic key words in sign keyword set are matched, and determine the characteristic key words included in this target information, wherein, on Each bar characteristic key words stated in feature critical set of words are previously provided with score value;3rd determining unit, for based on support journey Degree Score factor determines the degree of support score of above-mentioned measurement information to be checked, wherein, above-mentioned degree of support Score factor includes following At least one of:Target information in above-mentioned target information set includes the score value and each target letter of negative attribute keyword The bar number of the source confidence level of breath, the target information comprising negative attribute keyword;4th determining unit, for being treated according to above-mentioned The degree of support score of detection information determines whether above-mentioned measurement information to be checked is type I information.
In certain embodiments, above-mentioned 4th determining unit is further used for:Judge the support journey of above-mentioned measurement information to be checked Whether degree score is less than threshold value set in advance, if be less than, it is determined that above-mentioned measurement information to be checked is type I information.
The third aspect, the embodiment of the present application provide a kind of server, and the server includes:One or more processors; Storage device, for storing one or more programs, when said one or multiple programs are held by said one or multiple processors During row so that the method for said one or the realization of multiple processors as described in any implementation in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable recording medium, are stored thereon with computer journey Sequence, it is characterised in that the side as described in any implementation in first aspect is realized when the computer program is executed by processor Method.
The method and apparatus for generating information that the embodiment of the present application provides, the target letter of measurement information to be checked is obtained first Breath set, the characteristic key words of each bar target information in above-mentioned target information set are then obtained, wherein, features described above is crucial Word is used to characterize degree of support of the target information to above-mentioned information authenticity to be detected, afterwards based in above-mentioned target information set The characteristic key words that contain of each bar target packet determine whether above-mentioned measurement information to be checked is type I information, finally, in response to It is type I information to determine above-mentioned measurement information to be checked, by mesh in above-mentioned target information set, including negative attribute keyword Mark information is defined as the reverse side target information of above-mentioned measurement information to be checked, and the present embodiment is based on each bar target in target information set The characteristic key words that information is included, the authenticity for treating detection information are judged, and obtain the reverse side mesh of measurement information to be checked Mark information.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is the flow chart for being used to generate one embodiment of the method for information according to the application;
Fig. 3 is the schematic diagram for being used to generate an application scenarios of the method for information according to the application;
Fig. 4 is the structural representation for being used to generate one embodiment of the device of information according to the application;
Fig. 5 is adapted for the structural representation of the computer system of the server for realizing the embodiment of the present application.
Embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Be easy to describe, illustrate only in accompanying drawing to about the related part of invention.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the method for being used to generate information that can apply the application or the implementation of the device for generating information The exemplary system architecture 100 of example.
As shown in figure 1, system architecture 100 can include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 provide communication link medium.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted with using terminal equipment 101,102,103 by network 104 with server 105, to receive or send out Send message etc..Various client applications, such as web browser applications, purchase can be installed on terminal device 101,102,103 Species application, searching class application, JICQ, mailbox client, social platform software etc..
Terminal device 101,102,103 can have a display screen and a various electronic equipments that supported web page browses, bag Include but be not limited to smart mobile phone, tablet personal computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio aspect 4) it is player, on knee portable Computer and desktop computer etc..
Server 105 can be to provide the server of various services, such as carry out the data analytics server of data analysis. Data analytics server can carry out the processing such as analyzing to search behavior data of the network user etc., judge the true of measurement information to be checked Reality, and generate information of refuting a rumour for unreal information.
It should be noted that the method for being used to generate information that the embodiment of the present application is provided typically is held by server 105 OK, correspondingly, it is generally positioned at for generating the device of information in server 105.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realizing need Will, can have any number of terminal device, network and server.
With continued reference to Fig. 2, it illustrates the flow for being used to generate one embodiment of the method for information according to the application 200.This is used for the method for generating information, comprises the following steps:
Step 201, the target information set of measurement information to be checked is obtained.
In the present embodiment, electronic equipment (such as the service shown in Fig. 1 thereon is run for generating the method for information Device 105) target information can be used as from the internet acquisition info web related to measurement information to be checked by web crawlers.At this In, above-mentioned measurement information to be checked can be the information manually set, for example, the word manually set, or passage.It is above-mentioned Measurement information to be checked can also be that above-mentioned electronic equipment is analyzed to obtain to the search behavior data of magnanimity netizen in setting duration Information, for example, statistical analysis can will be carried out search key used in the magnanimity network user in setting duration, and will search The info web of the search result of the search key of setting position and these search keys is (for example, net before rope number comes Page keyword, the title of webpage displayed content, webpage displayed content summary etc.) it is used as measurement information to be checked.Optionally, on Stating measurement information to be checked can be including at least one of following:Netizen is searched for information (for example, search key, search statement etc. Deng), above-mentioned netizen searches for corresponding to information the website links of search result, above-mentioned netizen searches for and knot is searched for corresponding to information Info web corresponding to the website links of fruit, wherein, above-mentioned info web can include but is not limited to Web Page Key Words, webpage institute Title, the webpage displayed content summary of display content.
Step 202, the characteristic key words of each bar target information in target information set are obtained.
In the present embodiment, above-mentioned electronic equipment can obtain each bar in above-mentioned target information set by various modes The characteristic key words of target information, for example, above-mentioned electronic equipment can be wrapped each bar target information in target information set The phrase contained contrasts with default feature critical set of words, so as to obtain the characteristic key words of each bar target information.Features described above Keyword can be used for characterizing target information to the degree of support of above-mentioned information authenticity to be detected, and features described above keyword can be with Including positive feature keyword and negative attribute keyword.Positive feature keyword can be for example " correct ", " credible ", " for The word very " etc. being supported to the authenticity of above-mentioned measurement information to be checked, negative attribute keyword can be such as " refuting a rumour ", The word that " being false ", " insincere ", " misreading " etc. are opposed to the authenticity of above-mentioned measurement information to be checked.
Step 203, the characteristic key words contained based on each bar target packet in target information set determine letter to be detected Whether breath is type I information.
In the present embodiment, the spy that above-mentioned electronic equipment can contain according to each bar target packet in target information set Sign keyword determines whether above-mentioned measurement information to be checked is type I information, and herein, above-mentioned type I information can refer to rumour Information, for example, above-mentioned electronic equipment can be respectively to the target for including positive feature keyword in above-mentioned target information set Information and target information including negative attribute keyword carry out statistical analysis, and are determined according to statistic analysis result above-mentioned to be checked Whether measurement information is rumour information, for example, according to statistical result, it is determined that the target information including negative attribute keyword is above-mentioned When shared ratio exceedes proportion threshold value set in advance in target information set, it is believed that above-mentioned measurement information to be checked is rumour Information.
In some optional implementations of the present embodiment, step 203 can specifically include:
Firstly, for every target information in above-mentioned target information set, above-mentioned electronic equipment can perform following behaviour Make:By the characteristic key words progress in the keyword included in this target information and feature critical set of words set in advance Match somebody with somebody, determine the characteristic key words included in this target information, wherein, each bar feature critical in features described above keyword set Word is previously provided with score value, and the characteristic key words in features described above keyword set can be according to being actually needed artificial setting 's.Herein, each characteristic key words that can be characterized in advance in keyword set set score value, for example, can be by reverse side The score value of characteristic key words is arranged to negative, and different score values is set for different negative attribute keywords, such as, " ward off The stronger negative attribute keyword of opposing extent such as ballad ", " being false " can set relatively low score value, " misreading ", " doubtful " Deng the weaker negative attribute keyword of opposing extent, of a relatively high score value can be set.In another example positive feature can be closed The score value of keyword is arranged to positive number, and different score values is set for different positive feature keywords, such as, " correct ", " for The stronger positive feature keyword of degree of support such as very " can set higher score value, and the degree of support such as " being probably " is weaker Positive feature keyword can set relatively low score value;
Then, above-mentioned electronic equipment can determine the degree of support of above-mentioned measurement information to be checked based on degree of support Score factor Score, obtained for example, score corresponding to each degree of support Score factor can be calculated to (for example, using weighted calculation method etc.) To the degree of support score of above-mentioned measurement information to be checked.Wherein, above-mentioned degree of support Score factor includes at least one of following:It is above-mentioned Target information in target information set include negative attribute keyword score value and each target information source it is credible The bar number of degree, target information comprising negative attribute keyword, can be each target letter according to the source of each target information herein Breath setting source confidence level, source confidence level can be the form of numerical value, for example, can be by from each machine-operated, each mechanism of government The source confidence level for the target information that official website (for example, Ministry of Civil Affairs official website, Ministry of Industry and Information official website) etc. obtains is set compared with high score Value, the source for the target information that will be obtained from each online media sites (such as the website such as the www.xinhuanet.com, People's Daily, Sina News) is credible Decile value during degree is set, the source confidence level for the target information that will be obtained from social networks (such as the website such as Sina weibo) are set Relatively low score value;
Finally, above-mentioned electronic equipment can determine above-mentioned letter to be detected according to the degree of support score of above-mentioned measurement information to be checked Whether breath is type I information, and above-mentioned type I information can refer to rumour information.
In some optional implementations, the above-mentioned degree of support score according to above-mentioned measurement information to be checked determines above-mentioned treat Whether detection information is type I information, can specifically be included:Above-mentioned electronic equipment may determine that the branch of above-mentioned measurement information to be checked Whether the degree score of holding is less than threshold value set in advance, if be less than, it is determined that and above-mentioned measurement information to be checked is type I information, on It can be that basis is actually needed the threshold value manually set to state threshold value set in advance.
Step 204, in response to determining that measurement information to be checked is type I information, by it is in target information set, include reverse side The target information of characteristic key words is defined as the reverse side target information of measurement information to be checked.
In the present embodiment, in response to determining that above-mentioned measurement information to be checked is type I information, above-mentioned electronic equipment can incite somebody to action In the above-mentioned target information set, target information comprising negative attribute keyword is defined as the reverse side mesh of above-mentioned measurement information to be checked Mark information.Reverse side target information may be considered the information of refuting a rumour of above-mentioned measurement information to be checked, and above-mentioned electronic equipment can also extract The relevant informations such as the title of reverse side target information, summary, website links.
In some optional implementations of the present embodiment, the above method can also include:Above-mentioned electronic equipment can be with Collect the reverse side target information of at least one measurement information to be checked, generate reverse side target information set.
In some optional implementations of the present embodiment, the above method can also comprise the following steps:
First, above-mentioned electronic equipment can obtain at least one search result according to from the search that terminal receives with information, Wherein, above-mentioned search can be that user is used to carry out the information of information search by what terminal inputted with information, such as can be Search term or search statement etc..Generally, after search is inputted search box by user with information, server can be believed according to the search Cease to terminal feedback search result page, search results pages and include the list of a search result, each search result typically wraps The link of title, search result web page containing search result web page and one section it is brief and with search information match On webpage word make a summary etc..
Then, above-mentioned electronic equipment can be respectively by searching in above-mentioned search information and above-mentioned at least one search result Hitch fruit is matched with the reverse side target information in above-mentioned reverse side target information set.Herein, above-mentioned electronic equipment can be with Respectively by one in above-mentioned search information and above-mentioned at least one search result, several (for example, coming search result list Preceding setting several of position) or whole search results carried out one by one with each reverse side target information in reverse side target information set Matching.For example, above-mentioned electronic equipment can be by each bar reverse side in above-mentioned search information and above-mentioned reverse side target information set Target information contrasts respectively, and according to comparing result determine the reverse side target information and search information whether matching.Example again Such as, above-mentioned electronic equipment can be by the title of the search result in above-mentioned at least one search result and reverse side target information set In the title of each bar reverse side target information contrasted, and determine whether to match according to comparing result.
Finally, in response to the search result in above-mentioned search information and/or above-mentioned at least one search result with it is above-mentioned Reverse side target information in reverse side target information set matches, and prompt message is pushed to above-mentioned terminal.
In some optional implementations, it is above-mentioned in response to above-mentioned search information and/or it is above-mentioned at least one search As a result the search result in matches with the reverse side target information in above-mentioned reverse side target information set, is carried to the push of above-mentioned terminal Show information, can specifically include:
Match in response to above-mentioned search information and the reverse side target information in above-mentioned reverse side target information set, it is above-mentioned Electronic equipment can push the first prompt message for being shown in the search box of above-mentioned terminal to above-mentioned terminal, for example, above-mentioned First prompt message can be the information being shown in the form of floating layer, button etc. in the search box of above-mentioned terminal, herein, floating layer The feedback information layer that a period of time disappears automatically after occurring can be referred to.Above-mentioned first prompt message can be used for prompt user, And guide user to carry out further information search, for example, when server confirm the information " one bleed survey cancer " of user's input with When reverse side target information in above-mentioned reverse side target information set matches, it can be pushed to terminal and be similar to " rumour prompting:Have <One, which bleeds, surveys cancer>Information of refuting a rumour " the first prompt message, user can by click on first prompt message obtain with " one, which bleeds, surveys cancer " related information of refuting a rumour.
In response to reverse side mesh in the search result in above-mentioned at least one search result and above-mentioned reverse side target information set Mark information match, above-mentioned electronic equipment can be pushed to above-mentioned terminal for shown in the search results pages of above-mentioned terminal the Two prompt messages, above-mentioned second prompt message can be used to guide user by performing assigned operation (such as slide, mouse Mark drag operation etc.) search result to match with reverse side target information is replaced, for example, when server confirmation is above-mentioned When certain search result at least one search result matches with reverse side target information in above-mentioned reverse side target information set, It can be pushed to terminal and be similar to " search result may be rumour information, and information of refuting a rumour can be checked in the direction of arrows by sliding ", User can be by performing corresponding slide, the information that makes to refute a rumour (or title, summary, the net for webpage corresponding to information of refuting a rumour Location etc.) replace the search result.
In some optional implementations, the above method can also include:Above-mentioned electronic equipment receives above-mentioned end first The prompt message that end is sent checks request, wherein, above-mentioned prompt message checks request to be above-mentioned terminal is directed to according to user above-mentioned What prompt message performed checks operation generation;Then, it is above-mentioned to be checked request from above-mentioned reverse side according to above-mentioned prompt message Reverse side target information is obtained in target information set and is sent to above-mentioned terminal, so that above-mentioned terminal is shown.
With continued reference to Fig. 3, Fig. 3 is the signal for being used to generate the application scenarios of the method for information according to the present embodiment Figure.In Fig. 3 application scenarios, server obtains the target information set of measurement information to be checked first;Afterwards, target letter is obtained The characteristic key words of each bar target information in breath set;Then, contained based on each bar target packet in the target information set Characteristic key words determine whether the measurement information to be checked is rumour information;Finally, in response to determining that the measurement information to be checked is rumour Information, in target information set, target information comprising negative attribute keyword is defined as to the reverse side of the measurement information to be checked Target information.Collect the reverse side target information of a plurality of measurement information to be checked, generate reverse side target information set.When user passes through terminal 301 to server send search information " one, which bleeds, surveys cancer " when, server can be searched the search with information and based on this Rope is matched with least one search result that information obtains with the reverse side target information in reverse side target information set.Service Device is in response in the search result in the search information and above-mentioned at least one search result and reverse side target information set Reverse side target information matches, and pushes prompt message to terminal 301, terminal can show the prompting in search box and search results pages Information, will be as shown in Figure 3.
What the method that above-described embodiment of the application provides was included based on each bar target information in target information set Characteristic key words, the authenticity for treating detection information are judged, and obtain the reverse side target information of measurement information to be checked.
With further reference to Fig. 4, as the realization to method shown in above-mentioned each figure, it is used to generate letter this application provides one kind One embodiment of the device of breath, the device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and the device can specifically answer For in various electronic equipments.
As shown in figure 4, the device 400 for being used to generate information of the present embodiment includes:First acquisition unit 401, second are obtained Take unit 402, the first determining unit 403 and the second determining unit 404.First acquisition unit 401 is used to obtain measurement information to be checked Target information set, wherein, the target information in above-mentioned target information set is the webpage related to above-mentioned measurement information to be checked Information;Second acquisition unit 402 is used for the characteristic key words for obtaining each bar target information in above-mentioned target information set, its In, features described above keyword is used to characterize degree of support of the target information to above-mentioned information authenticity to be detected, and features described above is closed Keyword includes positive feature keyword and negative attribute keyword;First determining unit 403 is used to be based on above-mentioned target information collection The characteristic key words that each bar target packet in conjunction contains determine whether above-mentioned measurement information to be checked is type I information;Second determines Unit 404 is used in response to determining that above-mentioned measurement information to be checked is type I information, by it is in above-mentioned target information set, comprising anti- The target information of region feature keyword is defined as the reverse side target information of above-mentioned measurement information to be checked.
In the present embodiment, for the first acquisition unit 401 of the device 400 that generates information, second acquisition unit 402, The specific processing of first determining unit 403 and the second determining unit 404 and its caused technique effect can be right with reference to figure 2 respectively The related description of step 201 in embodiment, step 202, step 203 and step 204 is answered, will not be repeated here.
In some optional implementations of the present embodiment, said apparatus also includes:Generation unit (not shown), For collecting the reverse side target information of at least one measurement information to be checked, reverse side target information set is generated.
In some optional implementations of the present embodiment, said apparatus also includes:First receiving unit (does not show in figure Go out), for obtaining at least one search result with information according to the search received from terminal;First matching unit (does not show in figure Go out), for respectively by the search result in above-mentioned search information and above-mentioned at least one search result and above-mentioned reverse side target Reverse side target information in information aggregate is matched;Push unit (not shown), for believing in response to above-mentioned search Search result in breath and/or above-mentioned at least one search result and the reverse side target information in above-mentioned reverse side target information set Match, prompt message is pushed to above-mentioned terminal.
In some optional implementations of the present embodiment, said apparatus also includes:Second receiving unit (does not show in figure Go out), request is checked for receiving the prompt message that above-mentioned terminal is sent, wherein, above-mentioned prompt message checks that request is above-mentioned end What operation generated checked in end according to user for what above-mentioned prompt message performed;Transmitting element (not shown), for basis Above-mentioned prompt message checks that request obtains reverse side target information from above-mentioned reverse side target information set and is sent to above-mentioned terminal, with It is shown for above-mentioned terminal.
In some optional implementations of the present embodiment, above-mentioned push unit includes:The push of first prompt message is single First (not shown), in response to the reverse side target information in above-mentioned search information and above-mentioned reverse side target information set Match, the first prompt message for being shown in the search box of above-mentioned terminal is pushed to above-mentioned terminal;Second prompt message pushes away Unit (not shown) is sent, for believing in response to the search result in above-mentioned at least one search result and above-mentioned reverse side target Breath set in reverse side target information match, to above-mentioned terminal push for shown in the search results pages of above-mentioned terminal second Prompt message.
In some optional implementations of the present embodiment, above-mentioned first determining unit 403 includes:Second matching unit (not shown), for for every target information in above-mentioned target information set, performing following operate:By this target The keyword included in information is matched with the characteristic key words in feature critical set of words set in advance, determines the entry The characteristic key words included in mark information, wherein, each bar characteristic key words in features described above keyword set are previously provided with Score value;3rd determining unit (not shown), for determining the branch of above-mentioned measurement information to be checked based on degree of support Score factor Degree score is held, wherein, above-mentioned degree of support Score factor includes at least one of following:Target in above-mentioned target information set Information includes the score value of negative attribute keyword and the source confidence level of each target information, comprising negative attribute keyword Target information bar number;4th determining unit (not shown), for being obtained according to the degree of support of above-mentioned measurement information to be checked Divide and determine whether above-mentioned measurement information to be checked is type I information.
In some optional implementations of the present embodiment, above-mentioned 4th determining unit is further used for:Judge above-mentioned Whether the degree of support score of measurement information to be checked is less than threshold value set in advance, if be less than, it is determined that above-mentioned measurement information to be checked For type I information.
Below with reference to Fig. 5, it illustrates suitable for for realizing the computer system 500 of the server of the embodiment of the present application Structural representation.Server shown in Fig. 5 is only an example, should not be to the function and use range band of the embodiment of the present application Carry out any restrictions.
As shown in figure 5, computer system 500 includes CPU (CPU, Central Processing Unit) 501, its can according to the program being stored in read-only storage (ROM, Read Only Memory) 502 or from storage part 506 programs being loaded into random access storage device (RAM, Random Access Memory) 503 and perform it is various appropriate Action and processing.In RAM 503, also it is stored with system 500 and operates required various programs and data.CPU 501、ROM 502 and RAM 503 is connected with each other by bus 504.Input/output (I/O, Input/Output) interface 505 is also connected to Bus 504.
I/O interfaces 505 are connected to lower component:Storage part 506 including hard disk etc.;And including such as LAN (locals Net, Local Area Network) card, modem etc. NIC communications portion 507.Communications portion 507 passes through Communication process is performed by the network of such as internet.Driver 508 is also according to needing to be connected to I/O interfaces 505.Detachable media 509, such as disk, CD, magneto-optic disk, semiconductor memory etc., as needed be arranged on driver 508 on, in order to from The computer program read thereon is mounted into storage part 506 as needed.
Especially, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being carried on computer-readable medium On computer program, the computer program include be used for execution flow chart shown in method program code.In such reality To apply in example, the computer program can be downloaded and installed by communications portion 507 from network, and/or from detachable media 509 are mounted.When the computer program is performed by CPU (CPU) 501, perform what is limited in the present processes Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or Computer-readable recording medium either the two any combination.Computer-readable recording medium for example can be --- but Be not limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination. The more specifically example of computer-readable recording medium can include but is not limited to:Electrical connection with one or more wires, Portable computer diskette, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type may be programmed read-only deposit Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In this application, computer-readable recording medium can any be included or store The tangible medium of program, the program can be commanded the either device use or in connection of execution system, device.And In the application, computer-readable signal media can include believing in a base band or as the data that a carrier wave part is propagated Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but not It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer Any computer-readable medium beyond readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use In by instruction execution system, device either device use or program in connection.Included on computer-readable medium Program code any appropriate medium can be used to transmit, include but is not limited to:Wirelessly, electric wire, optical cable, RF etc., Huo Zheshang Any appropriate combination stated.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, the part of the module, program segment or code include one or more use In the executable instruction of logic function as defined in realization.It should also be noted that marked at some as in the realization replaced in square frame The function of note can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actually It can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also to note Meaning, the combination of each square frame and block diagram in block diagram and/or flow chart and/or the square frame in flow chart can be with holding Function as defined in row or the special hardware based system of operation are realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit can also be set within a processor, for example, can be described as:A kind of processor bag Include first acquisition unit, second acquisition unit, the first determining unit and the second determining unit.Wherein, the title of these units exists The restriction to the unit in itself is not formed in the case of certain, for example, first acquisition unit is also described as " obtaining to be checked The unit of the target information set of measurement information ".
As on the other hand, present invention also provides a kind of computer-readable medium, the computer-readable medium can be Included in device described in above-described embodiment;Can also be individualism, and without be incorporated the device in.Above-mentioned calculating Machine computer-readable recording medium carries one or more program, when said one or multiple programs are performed by the device so that should Device:The target information set of measurement information to be checked is obtained, wherein, the target information in above-mentioned target information set is to be treated with above-mentioned The related info web of detection information;The characteristic key words of each bar target information in above-mentioned target information set are obtained, wherein, Features described above keyword is used to characterize degree of support of the target information to above-mentioned information authenticity to be detected, features described above keyword Including positive feature keyword and negative attribute keyword;Contained based on each bar target packet in above-mentioned target information set Characteristic key words determine whether above-mentioned measurement information to be checked is type I information;In response to determining that above-mentioned measurement information to be checked is the first kind Information, in the above-mentioned target information set, target information comprising negative attribute keyword is defined as above-mentioned measurement information to be checked Reverse side target information.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to the technology that the particular combination of above-mentioned technical characteristic forms Scheme, while should also cover in the case where not departing from foregoing invention design, carried out by above-mentioned technical characteristic or its equivalent feature The other technical schemes for being combined and being formed.Such as features described above has similar work(with (but not limited to) disclosed herein The technical scheme that the technical characteristic of energy is replaced mutually and formed.

Claims (16)

  1. A kind of 1. method for generating information, it is characterised in that methods described includes:
    The target information set of measurement information to be checked is obtained, wherein, the target information in the target information set is to be treated with described The related info web of detection information;
    The characteristic key words of each bar target information in the target information set are obtained, wherein, the characteristic key words are used for Degree of support of the target information to the information authenticity to be detected is characterized, the characteristic key words include positive feature keyword With negative attribute keyword;
    The characteristic key words contained based on each bar target packet in the target information set determine that the measurement information to be checked is No is type I information;
    In response to determining that the measurement information to be checked is type I information, by it is in the target information set, include negative attribute The target information of keyword is defined as the reverse side target information of the measurement information to be checked.
  2. 2. according to the method for claim 1, it is characterised in that methods described also includes:
    Collect the reverse side target information of at least one measurement information to be checked, generate reverse side target information set.
  3. 3. according to the method for claim 2, it is characterised in that methods described also includes:
    At least one search result is obtained according to from the search that terminal receives with information;
    Respectively by the search result in the search information and at least one search result and the reverse side target information Reverse side target information in set is matched;
    Believe in response to the search result in the search information and/or at least one search result and the reverse side target Reverse side target information in breath set matches, and prompt message is pushed to the terminal.
  4. 4. according to the method for claim 3, it is characterised in that methods described also includes:
    Receive the prompt message that the terminal is sent and check request, wherein, the prompt message checks that request is the terminal root Check what operation generated for what the prompt message performed according to user;
    Check that request obtains reverse side target information from the reverse side target information set and is sent to institute according to the prompt message Terminal is stated, so that the terminal is shown.
  5. 5. according to the method for claim 3, it is characterised in that it is described in response to the search information and/or it is described extremely Search result in a few search result matches with the reverse side target information in the reverse side target information set, to described Terminal pushes prompt message, including:
    Match in response to the search information and the reverse side target information in the reverse side target information set, to the end End push is used for the first prompt message shown in the search box of the terminal;
    Believe in response to reverse side target in the search result at least one search result and the reverse side target information set Manner of breathing is matched, and the second prompt message for being shown in the search results pages of the terminal is pushed to the terminal.
  6. 6. according to the method for claim 1, it is characterised in that each bar target based in the target information set The characteristic key words that packet contains determine whether the measurement information to be checked is type I information, including:
    For every target information in the target information set, following operate is performed:By what is included in this target information Keyword is matched with the characteristic key words in feature critical set of words set in advance, determines to include in this target information Characteristic key words, wherein, each bar characteristic key words in the feature critical set of words are previously provided with score value;
    The degree of support score of the measurement information to be checked is determined based on degree of support Score factor, wherein, the degree of support obtains Factor is divided to include at least one of following:Target information in the target information set includes point of negative attribute keyword The bar number of the source confidence level of value and each target information, target information comprising negative attribute keyword;
    Determine whether the measurement information to be checked is type I information according to the degree of support score of the measurement information to be checked.
  7. 7. according to the method for claim 6, it is characterised in that the degree of support score according to the measurement information to be checked Determine whether the measurement information to be checked is type I information, including:
    Judge whether the degree of support score of the measurement information to be checked is less than threshold value set in advance, if be less than, it is determined that institute It is type I information to state measurement information to be checked.
  8. 8. a kind of device for being used to generate information, it is characterised in that described device includes:
    First acquisition unit, for obtaining the target information set of measurement information to be checked, wherein, the mesh in the target information set Mark information is the info web related to the measurement information to be checked;
    Second acquisition unit, for obtaining the characteristic key words of each bar target information in the target information set, wherein, institute Characteristic key words are stated to be used to characterize degree of support of the target information to the information authenticity to be detected, the characteristic key words bag Include positive feature keyword and negative attribute keyword;
    First determining unit, the characteristic key words for being contained based on each bar target packet in the target information set are determined Whether the measurement information to be checked is type I information;
    Second determining unit, for being type I information in response to the determination measurement information to be checked, by the target information set In, the target information comprising negative attribute keyword be defined as the reverse side target information of the measurement information to be checked.
  9. 9. device according to claim 8, it is characterised in that described device also includes:
    Generation unit, for collecting the reverse side target information of at least one measurement information to be checked, generate reverse side target information set.
  10. 10. device according to claim 9, it is characterised in that described device also includes:
    First receiving unit, for obtaining at least one search result with information according to the search received from terminal;
    First matching unit, for respectively by the search result in the search information and at least one search result with Reverse side target information in the reverse side target information set is matched;
    Push unit, in response to the search result in the search information and/or at least one search result with Reverse side target information in the reverse side target information set matches, and prompt message is pushed to the terminal.
  11. 11. device according to claim 10, it is characterised in that described device also includes:
    Second receiving unit, request is checked for receiving the prompt message that the terminal is sent, wherein, the prompt message is checked Request is that the terminal checks operation generation according to user for what the prompt message performed;
    Transmitting element, for checking that request obtains reverse side target from the reverse side target information set according to the prompt message Information is sent to the terminal, so that the terminal is shown.
  12. 12. device according to claim 10, it is characterised in that the push unit includes:
    First prompt message push unit, in response to the search information with it is anti-in the reverse side target information set Area Objects information match, the first prompt message for being shown in the search box of the terminal is pushed to the terminal;
    Second prompt message push unit, in response to the search result at least one search result and the reverse side Reverse side target information matches in target information set, is pushed to the terminal for being shown in the search results pages of the terminal The second prompt message.
  13. 13. device according to claim 8, it is characterised in that first determining unit includes:
    Second matching unit, for for every target information in the target information set, performing following operate:By this The keyword included in target information is matched with the characteristic key words in feature critical set of words set in advance, it is determined that should The characteristic key words included in bar target information, wherein, each bar characteristic key words in the feature critical set of words are set in advance It is equipped with score value;
    3rd determining unit, for determining the degree of support score of the measurement information to be checked based on degree of support Score factor, its In, the degree of support Score factor includes at least one of following:Target information in the target information set includes instead The source confidence level of the score value of region feature keyword and each target information, target information comprising negative attribute keyword Bar number;
    4th determining unit, for according to the degree of support score of the measurement information to be checked determine the measurement information to be checked whether be Type I information.
  14. 14. device according to claim 13, it is characterised in that the 4th determining unit is further used for:
    Judge whether the degree of support score of the measurement information to be checked is less than threshold value set in advance, if be less than, it is determined that institute It is type I information to state measurement information to be checked.
  15. 15. a kind of server, including:
    One or more processors;
    Storage device, for storing one or more programs,
    When one or more of programs are by one or more of computing devices so that one or more of processors Realize the method as described in any in claim 1-7.
  16. 16. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program quilt The method as described in any in claim 1-7 is realized during computing device.
CN201710867243.9A 2017-09-22 2017-09-22 Method and apparatus for generating information Active CN107644084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710867243.9A CN107644084B (en) 2017-09-22 2017-09-22 Method and apparatus for generating information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710867243.9A CN107644084B (en) 2017-09-22 2017-09-22 Method and apparatus for generating information

Publications (2)

Publication Number Publication Date
CN107644084A true CN107644084A (en) 2018-01-30
CN107644084B CN107644084B (en) 2021-05-04

Family

ID=61112104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710867243.9A Active CN107644084B (en) 2017-09-22 2017-09-22 Method and apparatus for generating information

Country Status (1)

Country Link
CN (1) CN107644084B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130132851A1 (en) * 2011-11-22 2013-05-23 International Business Machines Corporation Sentiment estimation of web browsing user
CN103235818A (en) * 2013-04-27 2013-08-07 北京百度网讯科技有限公司 Information push method and device based on webpage emotion tendentiousness
CN104679739A (en) * 2013-11-27 2015-06-03 江苏华御信息技术有限公司 Method for controlling spreading of unreal information
CN106599286A (en) * 2016-12-23 2017-04-26 北京奇虎科技有限公司 Information monitoring rumor refuting realization method and apparatus, and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130132851A1 (en) * 2011-11-22 2013-05-23 International Business Machines Corporation Sentiment estimation of web browsing user
CN103235818A (en) * 2013-04-27 2013-08-07 北京百度网讯科技有限公司 Information push method and device based on webpage emotion tendentiousness
CN104679739A (en) * 2013-11-27 2015-06-03 江苏华御信息技术有限公司 Method for controlling spreading of unreal information
CN106599286A (en) * 2016-12-23 2017-04-26 北京奇虎科技有限公司 Information monitoring rumor refuting realization method and apparatus, and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
董坚峰: "面向公共危机预警的网络舆情分析研究", 《中国博士学位论文全文数据库(信息科技辑)》 *

Also Published As

Publication number Publication date
CN107644084B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN107679211A (en) Method and apparatus for pushed information
CN107346336B (en) Information processing method and device based on artificial intelligence
CN108804450B (en) Information pushing method and device
Opara et al. HTMLPhish: Enabling phishing web page detection by applying deep learning techniques on HTML analysis
CN107491547A (en) Searching method and device based on artificial intelligence
CN108153901A (en) The information-pushing method and device of knowledge based collection of illustrative plates
CN107944025A (en) Information-pushing method and device
CN106383875B (en) Man-machine interaction method and device based on artificial intelligence
CN109543058B (en) Method, electronic device, and computer-readable medium for detecting image
CN107577807A (en) Method and apparatus for pushed information
CN107622135A (en) Method and apparatus for display information
CN109976995B (en) Method and apparatus for testing
CN107577737A (en) Method and apparatus for pushed information
CN111107048A (en) Phishing website detection method and device and storage medium
CN107731229A (en) Method and apparatus for identifying voice
CN106993030A (en) Information-pushing method and device based on artificial intelligence
US20140164296A1 (en) Chatbot system and method with entity-relevant content from entity
CN107526718A (en) Method and apparatus for generating text
CN109618236A (en) Video comments treating method and apparatus
CN107977678A (en) Method and apparatus for output information
CN108073708A (en) Information output method and device
CN112307464A (en) Fraud identification method and device and electronic equipment
CN107766498A (en) Method and apparatus for generating information
CN107832298A (en) Method and apparatus for output information
CN110321705A (en) Method, apparatus for generating the method, apparatus of model and for detecting file

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant