CN109635194A - Method and apparatus for generating information - Google Patents

Method and apparatus for generating information Download PDF

Info

Publication number
CN109635194A
CN109635194A CN201811516978.8A CN201811516978A CN109635194A CN 109635194 A CN109635194 A CN 109635194A CN 201811516978 A CN201811516978 A CN 201811516978A CN 109635194 A CN109635194 A CN 109635194A
Authority
CN
China
Prior art keywords
event
information
data
data acquisition
pushed
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
Application number
CN201811516978.8A
Other languages
Chinese (zh)
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.)
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 CN201811516978.8A priority Critical patent/CN109635194A/en
Publication of CN109635194A publication Critical patent/CN109635194A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the present application discloses the method and apparatus for generating information.One specific embodiment of this method includes: to obtain data from preset website;The data of acquisition are divided, at least two data acquisition systems are obtained;The affair character information of at least two events is generated based at least two data acquisition system;According to the affair character information of at least two event, the event degree of correlation information between at least two event is generated.The embodiment realizes data the tissue in a manner of event, and obtains the event degree of correlation information between event.

Description

Method and apparatus for generating information
Technical field
The invention relates to field of computer technology, and in particular to the method and apparatus for generating information.
Background technique
With the rapid proliferation of internet, internet have become people's publication, obtain, communication events information most attaches most importance to The channel wanted.People can receive the information of magnanimity by internet, and the information of these magnanimity brings convenient same When also result in information repetition, information overload etc. negative effect.For example, different news sites is equal when some event occurs It can be reported as to this, but people do not need the different news of repeat reading to learn the event in fact.Therefore, by information with The form of event is organized, and be can be convenient people and is more efficiently obtained information.And event be not generally it is self-existent, Some events are relative to each other, then it needs to be determined that between event the degree of correlation method.
Summary of the invention
The embodiment of the present application proposes the method and apparatus for generating information.
In a first aspect, the embodiment of the present application provides a kind of method for generating information, this method comprises: from preset Website obtains data;The data of acquisition are divided, at least two data acquisition systems are obtained;Based on above-mentioned at least two data set Symphysis at least two events affair character information;According to the affair character information of above-mentioned at least two event, generate above-mentioned Event degree of correlation information between at least two events.
In some embodiments, the above-mentioned affair character that at least two events are generated based on above-mentioned at least two data acquisition system Information, comprising: for the data acquisition system in above-mentioned at least two data acquisition system, determine whether the data in the data acquisition system are used for Description event;In response to determining that the data in the data acquisition system for describing event, are counted according to included in the data acquisition system According to generation affair character information.
In some embodiments, the above-mentioned affair character information according to above-mentioned at least two event generates above-mentioned at least two Event degree of correlation information between a event, comprising: for two events in above-mentioned at least two event, calculate two things Similarity between the affair character information of part, obtains calculated result, using calculated result as the event between two events Degree of correlation information.
In some embodiments, the above method further include: by the affair character information of event in above-mentioned at least two event As the content of event node, at least two event nodes are obtained;According to the thing between above-mentioned at least two event generated Part degree of correlation information generates the side of above-mentioned at least two event node, obtains event map.
In some embodiments, the above method further include: determine whether the content of pages that user is browsed is used to describe thing Part;In response to determining that the content of pages that user is browsed is used to describe event, described in the content of pages that user is browsed Event is as object event, and determines the object event characteristic information of object event;Determine preset information to be pushed The affair character information of event corresponding to information to be pushed in set, according to above-mentioned object event characteristic information and letter to be pushed The degree of correlation information of the affair character information of event corresponding to information to be pushed in breath set, from information to be pushed set really Fixed at least one information to be pushed is pushed.
Second aspect, the embodiment of the present application provide a kind of for generating the device of information, and device includes: acquiring unit, It is configured to obtain data from preset website;Division unit is configured to divide the data of acquisition, obtains at least two A data acquisition system;First generation unit is configured to generate the thing of at least two events based on above-mentioned at least two data acquisition system Part characteristic information;Second generation unit, is configured to the affair character information according to above-mentioned at least two event, and generation is above-mentioned extremely Event degree of correlation information between few two events.
In some embodiments, above-mentioned first generation unit is further configured to: for above-mentioned at least two data set Data acquisition system in conjunction, determines whether the data in the data acquisition system are used to describe event;In response to determining in the data acquisition system Data for describing event, generate affair character information according to data included in the data acquisition system.
In some embodiments, above-mentioned second generation unit is further configured to: in above-mentioned at least two event Two events, calculate the similarity between the affair character information of two events, obtain calculated result, calculated result is made For the event degree of correlation information between two events.
In some embodiments, above-mentioned apparatus further include: node generation unit is configured to above-mentioned at least two event Content of the affair character information of middle event as event node, obtains at least two event nodes;Map generation unit is matched It is set to according to the event degree of correlation information between above-mentioned at least two event generated, generates above-mentioned at least two event node Side, obtain event map.
In some embodiments, above-mentioned apparatus further include: determination unit is configured to determine in the page that user is browsed Whether hold for describing event;Information determination unit is configured in response to determine that the content of pages that user is browsed is used to retouch Event is stated, using event described in the content of pages that user is browsed as object event, and determines the target of object event Affair character information;Push unit is configured to determine in preset information to be pushed set corresponding to information to be pushed Event affair character information, according to above-mentioned object event characteristic information and in information to be pushed set information to be pushed institute it is right The degree of correlation information of the affair character information for the event answered, from information to be pushed set determine at least one information to be pushed into Row push.
The third aspect, the embodiment of the present application provide a kind of equipment, which includes: one or more processors;Storage Device is stored thereon with one or more programs, when said one or multiple programs are executed by said one or multiple processors When, so that said one or multiple processors realize the method as described in implementation any in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, In, the method as described in implementation any in first aspect is realized when which is executed by processor.
Method and apparatus provided by the embodiments of the present application for generating information, by obtaining at least one from preset website Data then divides at least one data of acquisition, obtains at least one data acquisition system, be then based at least one Data acquisition system generates the affair character information of at least one event, is finally generated according to the affair character information of at least one event Event degree of correlation information between at least one event to realize data the tissue in a manner of event, and obtains event Between event degree of correlation information.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that one embodiment of the application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for generating information of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the method for generating information of the application;
Fig. 4 is the flow chart according to another embodiment of the method for generating information of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the device for generating information of the application;
Fig. 6 is adapted for the structural schematic diagram for the computer system for realizing the equipment of the embodiment of the present application.
Specific 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 Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can the method for generating information using the embodiment of the present application or the device for generating information Exemplary system architecture 100.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications can be installed, such as web browser is answered on terminal device 101,102,103 With, shopping class application, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard When part, the various electronic equipments of information input, including but not limited to smart phone, plate are can be with display screen and supported Computer, pocket computer on knee and desktop computer etc..When terminal device 101,102,103 is software, can install In above-mentioned cited electronic equipment.Multiple softwares or software module may be implemented into (such as providing distributed clothes in it Business), single software or software module also may be implemented into.It is not specifically limited herein.
Server 105 can be to provide the server of various services, such as receiving terminal apparatus 101,102,103 inputs The background server of site information.Background server can grab data from the corresponding website of site information received, and right It grabs obtained data to carry out the processing such as analyzing, to generate information.
It should be noted that server 105 can be hardware, it is also possible to software.It, can when server 105 is hardware To be implemented as the distributed server cluster that multiple servers form, individual server also may be implemented into.When server 105 is When software, multiple softwares or software module (such as providing Distributed Services) may be implemented into, also may be implemented into single Software or software module.It is not specifically limited herein.
It should be noted that the method provided by the embodiment of the present application for generating information can pass through terminal device 101, it 102,103 executes, can also be executed by server 105.Correspondingly, it can be set for generating the device of information in end In end equipment 101,102,103, also it can be set in server 105.The application to place without limitation.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the process of one embodiment of the method for generating information according to the application is shown 200.The method for being used to generate information, comprising the following steps:
Step 201, data are obtained from preset website.
In the present embodiment, for generate the method for information executing subject (such as terminal device shown in FIG. 1 101, 102,103 or server 105) can be obtained by wired connection mode or radio connection from preset website it is a plurality of Data.Herein, above-mentioned preset website can be sets according to actual needs, as an example, above-mentioned preset website can To be Domestic News website.For example, executing subject can be grabbed from preset multiple Domestic News websites more in real time first News data.And then duplicate removal processing is carried out to a plurality of news data of acquisition, that is, identical data are removed, to obtain A plurality of data.
Step 202, the data of acquisition are divided, obtains at least two data acquisition systems.
In the present embodiment, executing subject can divide the data that step 201 obtains, to obtain at least two Data acquisition system.Wherein, the data in each data acquisition system are for describing same event or for non-thing similar in contents Part content.Herein, non-event content refers to the content for being not intended to description event, for example, about " how health preserving tea is drunk ", The content of the description such as " autumn how preventing cold " articles is non-event content.As an example, for the event of amusement circles " performer XX family is sudden and violent ", executing subject can obtain a plurality of for reporting the news data of the event from multiple news websites.Later, The a plurality of news data for being used to report the event can be divided into same data acquisition system by executing subject.As another example, For non-event content " health preserving tea ", executing subject can obtain a plurality of for introducing the data of " health preserving tea " from multiple websites. Later, a plurality of data for being used to introduce " health preserving tea " can be divided into same data acquisition system by executing subject.In practice, master is executed Body can will be used to describe the number of similar events or similar non-event content using clustering algorithm or existing sorting algorithm According to being divided into same data acquisition system.
Step 203, the affair character information of at least two events is generated based at least two data acquisition systems.
In the present embodiment, the data of each data acquisition system in above-mentioned at least two data acquisition system are mutually worked together for describing Part is used for non-event content similar in contents.Executing subject can analyze each data acquisition system, to obtain The affair character information of at least two events.Herein, the affair character information of event can include but is not limited to: event occurs Time, venue location point, event participate in entity information, event trigger word, event generic etc..Herein, event is joined It can refer to the name of the party of participation event with entity information.By taking event " matinée idol XX drink-driving " as an example, the event Event participate in entity information can refer to " XX ".Event trigger word can be used for the predicate of identified event, be the basic of event One of element.For example, event " YY is born in the city A ", wherein " birth " is exactly the event trigger word of the event.It at this stage, can be with Event trigger word is known by modes such as Statistics-Based Method, rule-based method, methods based on machine learning Not, details are not described herein again.Event generic can be domain classification belonging to self-explanatory characters' part.For example, event generic It can include but is not limited to international, finance, amusement, society etc..At this stage, the affiliated class of event can be obtained by sorting algorithm Not.
In some optional implementations of the present embodiment, step 202 specific as follows can be carried out: at least two Data acquisition system in data acquisition system, determines whether the data in the data acquisition system are used to describe event.In response to determining the data Data in set generate affair character information for describing event, according to data included in the data acquisition system.
In this implementation, the data in certain data acquisition systems in above-mentioned at least two data acquisition system may not be use In description event, for example, certain news data for introducing how to drink health preserving tea, then this news data is not intended to description thing Part.Therefore, executing subject is firstly the need of judging that the data in each of above-mentioned at least two data acquisition system data acquisition system are It is no to be used to describe event.In practice, a number can be judged by sorting algorithm (such as sorting algorithm based on machine learning) According to whether for describing event.If the data in the data acquisition system are not intended to description event, executing subject is not needed pair Data in the data acquisition system are handled;If data in the data acquisition system for describing event, executing subject according to Data included in the data acquisition system generate affair character information.
Step 204, according to the affair character information of at least two events, the event generated between at least two events is related Spend information.
In the present embodiment, the affair character letter of executing subject at least two events according to obtained in step 203 Breath generates the event degree of correlation information between at least two events.As an example, for any in above-mentioned at least two event The affair character information of two events can be carried out text by the affair character information of two events, above-mentioned executing subject Match, the event degree of correlation information of the two events is determined according to matching result.Here, event degree of correlation information can be with numerical value Form indicates.In general, the higher event degree of correlation for showing the two events of matching degree is higher, event degree of correlation information is corresponding Numerical value it is also bigger.
In some optional implementations of the present embodiment, above-mentioned steps 204 can specifically carry out as follows: at least Two events in two events, calculate the similarity between the affair character information of two events, obtain calculated result, will Calculated result is as the event degree of correlation information between two events.
In this implementation, for any two event in above-mentioned at least two event, above-mentioned executing subject can be with The similarity between the affair character information of the two events is calculated, obtains calculated result, and using calculated result as the two Event degree of correlation information between event.
As an example, affair character information may include that event participates in entity information, event trigger word and the affiliated class of event Not.In this way, for any two event in above-mentioned at least two event, above-mentioned executing subject can calculate the thing of an event Part characteristic information (participating in entity information, event trigger word and event generic including event) is special with the event of another event Similarity between reference breath (participating in entity information, event trigger word and event generic including event), for example, Jie Kade Distance (Jaccard Distance), manhatton distance (Manhattan Distance), Minkowski Distance (Minkowski Distance), cosine similarity (Cosine Similarity) etc..Later, using calculated result as this Event similarity information between two events.
In some optional implementations of the present embodiment, the above-mentioned method for generating information can also include following Content:
Firstly, obtaining at least two using the affair character information of event at least two events as the content of event node A event node.
In this implementation, above-mentioned executing subject can be by the event of each of above-mentioned at least two event event Content of the characteristic information as the event node for the event, to obtain at least two event nodes.
Then, according to the event degree of correlation information between at least two event generated, at least two event sections are generated The side of point, obtains event map.
In this implementation, above-mentioned executing subject can be related according to the event between at least two event generated Information is spent, the side of at least two event nodes is generated, to obtain event map.For example, to the thing of two events of Mr. Yu Part node, executing subject can using the event degree of correlation information between the two events as the event node of the two events it Between side.
With continued reference to the signal that Fig. 3, Fig. 3 are according to the application scenarios of the method for generating information of the present embodiment Figure.In the application scenarios of Fig. 3, server 301 can obtain data from preset website first.Later, server 301 can be with The data of acquisition are divided, at least two data acquisition systems are obtained.Then, server 301 can be based at least two data Set generates the affair character information of at least two events.Finally, server 301 can be special according to the event of at least two events Reference breath, generates the event degree of correlation information between at least two events.
The method provided by the above embodiment of the application realizes data the tissue in a manner of event, and obtain event it Between degree of correlation information.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of the method for generating information.The use In the process 400 for the method for generating information, comprising the following steps:
Step 401, determine whether the content of pages that user is browsed is used to describe event.
In the present embodiment, the method for generating information runs executing subject (such as terminal shown in FIG. 1 thereon Equipment 101,102,103 and server 105) it can determine whether the content of pages that user is browsed is used to describe event.As Example, executing subject can grab the page data for the page that user is browsed first, then judge the page by sorting algorithm Whether data are used to describe event.
Step 402, in response to determining that the content of pages that user is browsed is used to describe event, the page that user is browsed Event described in content is as object event, and determines the object event characteristic information of object event.
In the present embodiment, in response to determining that the content of pages that user is browsed is used to describe event, above-mentioned executing subject Can be using event described in the content of pages that user is browsed as object event, and object event is extracted from content of pages Affair character information as object event characteristic information.Herein, the affair character information of event can include but is not limited to: Time To Event, venue location point, event participate in entity information, event trigger word, event generic etc..
Step 403, determine that the event of event corresponding to information to be pushed in preset information to be pushed set is special Reference breath, according to the affair character of event corresponding to information to be pushed in object event characteristic information and information to be pushed set The degree of correlation information of information determines that at least one information to be pushed is pushed from information to be pushed set.
In the present embodiment, a plurality of information to be pushed can be previously stored in executing subject, this plurality of information to be pushed It can be used for describing event.In this way, executing subject can determine that each information to be pushed institute in a plurality of information to be pushed is right The affair character information for the event answered.Later, executing subject can be according to object event characteristic information and information to be pushed set The degree of correlation information of the affair character information of event corresponding to middle each information to be pushed, from information to be pushed set really Fixed at least one information is pushed.For example, executing subject can be treated by the descending sequence of degree of correlation information and be pushed away A plurality of information to be pushed in information aggregate is sent to be ranked up, then, the information to be pushed for choosing preset quantity position before coming carries out Push.Herein, the affair character information of object event characteristic information with event corresponding to a certain information to be pushed is calculated Degree of correlation information specific implementation can refer to step 204, details are not described herein again.
The method provided by the above embodiment of the application is when carrying out information push, by information to be pushed in a manner of event Tissue makes to push away so that the event for the content of pages description for browsing event described in the information of push with user matches The information sent is more targeted.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind for generating letter One embodiment of the device of breath, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which can specifically answer For in various electronic equipments.
As shown in figure 5, the present embodiment includes: acquiring unit 501, division unit for generating the device 500 of information 502, the first generation unit 503 and the second generation unit 504.Wherein, acquiring unit 501 is configured to obtain from preset website Data;Division unit 502 is configured to divide the data of acquisition, obtains at least two data acquisition systems;First generates list Member 503 is configured to generate the affair character information of at least two events based on above-mentioned at least two data acquisition system;Second generates Unit 504 is configured to the affair character information according to above-mentioned at least two event, generates between above-mentioned at least two event Event degree of correlation information.
In the present embodiment, for generating acquiring unit 501, the generation of division unit 502, first of the device 500 of information The specific processing of unit 503 and the second generation unit 504 and its brought technical effect can refer to Fig. 2 corresponding embodiment respectively Middle step 201, step 202, the related description of step 203 and step 204, details are not described herein.
In some optional implementations of the present embodiment, above-mentioned first generation unit 503 is further configured to: right Data acquisition system in above-mentioned at least two data acquisition system, determines whether the data in the data acquisition system are used to describe event;It rings It is special that event should be generated according to data included in the data acquisition system in determining the data in the data acquisition system for describing event Reference breath.
In some optional implementations of the present embodiment, above-mentioned second generation unit 504 is further configured to: right Two events in above-mentioned at least two event, calculate the similarity between the affair character information of two events, obtain Calculated result, using calculated result as the event degree of correlation information between two events.
In some optional implementations of the present embodiment, above-mentioned apparatus 500 further include: node generation unit is (in figure It is not shown), it is configured to obtain using the affair character information of event in above-mentioned at least two event as the content of event node At least two event nodes;Map generation unit (not shown) is configured to according to above-mentioned at least two thing generated Event degree of correlation information between part generates the side of above-mentioned at least two event node, obtains event map.
In some optional implementations of the present embodiment, above-mentioned apparatus 500 further include: determination unit (is not shown in figure Out), it is configured to determine whether the content of pages that user is browsed is used to describe event;Information determination unit (does not show in figure Out), it is configured in response to determine that the content of pages that user is browsed is used to describe event, the content of pages that user is browsed Described event is as object event, and determines the object event characteristic information of object event;Push unit (does not show in figure Out), it is configured to determine the affair character letter of event corresponding to information to be pushed in preset information to be pushed set Breath, according to the affair character of event corresponding to information to be pushed in above-mentioned object event characteristic information and information to be pushed set The degree of correlation information of information determines that at least one information to be pushed is pushed from information to be pushed set.
Below with reference to Fig. 6, it illustrates the knots of the computer system 600 for the equipment for being suitable for being used to realize the embodiment of the present application Structure schematic diagram.Equipment shown in Fig. 6 is only an example, should not function to the embodiment of the present application and use scope bring and appoint What is limited.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 and Execute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, 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 comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media 611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution 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 storage medium either the two any combination.Computer readable storage medium for example can be --- but Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination. The more specific example of computer readable storage medium can include but is not limited to: have one or more conducting wires electrical connection, Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In this application, computer readable storage medium, which can be, any include or stores The tangible medium of program, the program can be commanded execution system, device or device use or in connection.And In the application, computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believed 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 other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use In by the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc., Huo Zheshang Any appropriate combination stated.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof Machine program code, described program design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is 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 also can be set in the processor, for example, can be described as: a kind of processor packet Include acquiring unit, division unit, the first generation unit and the second generation unit.Wherein, the title of these units is in certain situation Under do not constitute restriction to the unit itself, for example, acquiring unit is also described as " obtaining data from preset website Unit ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should Device: data are obtained from preset website;The data of acquisition are divided, at least two data acquisition systems are obtained;Based on above-mentioned At least two data acquisition systems generate the affair character information of at least two events;According to the affair character of above-mentioned at least two event Information generates the event degree of correlation information between above-mentioned at least two event.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (12)

1. a kind of method for generating information, comprising:
Data are obtained from preset website;
The data of acquisition are divided, at least two data acquisition systems are obtained;
The affair character information of at least two events is generated based at least two data acquisition system;
According to the affair character information of at least two event, the event degree of correlation letter between at least two event is generated Breath.
2. described to generate at least two things based at least two data acquisition system according to the method described in claim 1, wherein The affair character information of part, comprising:
For the data acquisition system at least two data acquisition system, determine whether the data in the data acquisition system are used to describe thing Part;In response to determining that the data in the data acquisition system for describing event, are generated according to data included in the data acquisition system Affair character information.
3. according to the method described in claim 1, wherein, the affair character information according at least two event is raw At the event degree of correlation information between at least two event, comprising:
For two events at least two event, calculate similar between the affair character information of two events Degree, obtains calculated result, using calculated result as the event degree of correlation information between two events.
4. according to the method described in claim 1, wherein, the method also includes:
Using the affair character information of event at least two event as the content of event node, at least two events are obtained Node;
According to the event degree of correlation information between at least two event generated, at least two event node is generated Side, obtain event map.
5. according to the method described in claim 1, wherein, the method also includes:
Determine whether the content of pages that user is browsed is used to describe event;
In response to determining that the content of pages that user is browsed is used to describe event, described in the content of pages that user is browsed Event is as object event, and determines the object event characteristic information of object event;
The affair character information for determining event corresponding to information to be pushed in preset information to be pushed set, according to institute State the phase of object event characteristic information with the affair character information of event corresponding to information to be pushed in information to be pushed set Pass degree information determines that at least one information to be pushed is pushed from information to be pushed set.
6. a kind of for generating the device of information, comprising:
Acquiring unit is configured to obtain data from preset website;
Division unit is configured to divide the data of acquisition, obtains at least two data acquisition systems;
First generation unit is configured to generate the affair character letter of at least two events based at least two data acquisition system Breath;
Second generation unit is configured to the affair character information according at least two event, generates described at least two Event degree of correlation information between event.
7. device according to claim 6, wherein first generation unit is further configured to:
For the data acquisition system at least two data acquisition system, determine whether the data in the data acquisition system are used to describe thing Part;In response to determining that the data in the data acquisition system for describing event, are generated according to data included in the data acquisition system Affair character information.
8. device according to claim 6, wherein second generation unit is further configured to:
For two events at least two event, calculate similar between the affair character information of two events Degree, obtains calculated result, using calculated result as the event degree of correlation information between two events.
9. device according to claim 6, wherein described device further include:
Node generation unit is configured to using the affair character information of event at least two event as event node Content obtains at least two event nodes;
Map generation unit is configured to according to the event degree of correlation information between at least two event generated, raw At the side of at least two event node, event map is obtained.
10. device according to claim 6, wherein described device further include:
Determination unit, is configured to determine whether the content of pages that user is browsed is used to describe event;
Information determination unit is configured in response to determine that the content of pages that user is browsed is used to describe event, by user institute Event described in the content of pages of browsing is as object event, and determines the object event characteristic information of object event;
Push unit is configured to determine the thing of event corresponding to information to be pushed in preset information to be pushed set Part characteristic information, according to event corresponding to information to be pushed in the object event characteristic information and information to be pushed set The degree of correlation information of affair character information determines that at least one information to be pushed is pushed from information to be pushed set.
11. a kind of equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as method as claimed in any one of claims 1 to 5.
12. a kind of computer-readable medium, is stored thereon with computer program, wherein real when described program is executed by processor Now such as method as claimed in any one of claims 1 to 5.
CN201811516978.8A 2018-12-12 2018-12-12 Method and apparatus for generating information Pending CN109635194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811516978.8A CN109635194A (en) 2018-12-12 2018-12-12 Method and apparatus for generating information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811516978.8A CN109635194A (en) 2018-12-12 2018-12-12 Method and apparatus for generating information

Publications (1)

Publication Number Publication Date
CN109635194A true CN109635194A (en) 2019-04-16

Family

ID=66072952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811516978.8A Pending CN109635194A (en) 2018-12-12 2018-12-12 Method and apparatus for generating information

Country Status (1)

Country Link
CN (1) CN109635194A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110807104A (en) * 2019-11-08 2020-02-18 上海秒针网络科技有限公司 Method and device for determining abnormal information, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095762A (en) * 2016-02-05 2016-11-09 中科鼎富(北京)科技发展有限公司 A kind of news based on ontology model storehouse recommends method and device
US10102291B1 (en) * 2015-07-06 2018-10-16 Google Llc Computerized systems and methods for building knowledge bases using context clouds
CN108763333A (en) * 2018-05-11 2018-11-06 北京航空航天大学 A kind of event collection of illustrative plates construction method based on Social Media
CN108959370A (en) * 2018-05-23 2018-12-07 哈尔滨工业大学 The community discovery method and device of entity similarity in a kind of knowledge based map

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10102291B1 (en) * 2015-07-06 2018-10-16 Google Llc Computerized systems and methods for building knowledge bases using context clouds
CN106095762A (en) * 2016-02-05 2016-11-09 中科鼎富(北京)科技发展有限公司 A kind of news based on ontology model storehouse recommends method and device
CN108763333A (en) * 2018-05-11 2018-11-06 北京航空航天大学 A kind of event collection of illustrative plates construction method based on Social Media
CN108959370A (en) * 2018-05-23 2018-12-07 哈尔滨工业大学 The community discovery method and device of entity similarity in a kind of knowledge based map

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110807104A (en) * 2019-11-08 2020-02-18 上海秒针网络科技有限公司 Method and device for determining abnormal information, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN109460513A (en) Method and apparatus for generating clicking rate prediction model
CN108052613B (en) Method and device for generating page
CN108388674A (en) Method and apparatus for pushed information
CN108595628A (en) Method and apparatus for pushed information
CN106911697A (en) Access rights method to set up, device, server and storage medium
CN106354856B (en) Artificial intelligence-based deep neural network enhanced search method and device
US11244153B2 (en) Method and apparatus for processing information
CN107911449A (en) Method and apparatus for pushed information
CN107526718A (en) Method and apparatus for generating text
CN104115142A (en) Device specific folders for bookmarks synchronization
CN113971243A (en) Data processing method, system, equipment and storage medium applied to questionnaire survey
CN107977678A (en) Method and apparatus for output information
CN109873756A (en) Method and apparatus for sending information
CN109101309A (en) For updating user interface method and device
CN107885872B (en) Method and device for generating information
CN108880923A (en) The method and apparatus that policer operation applied to application server is requested
CN110188113A (en) Method, device and storage medium for comparing data by using complex expression
CN109885564A (en) Method and apparatus for sending information
CN110851582A (en) Text processing method and system, computer system and computer readable storage medium
CN109635194A (en) Method and apparatus for generating information
CN110110184A (en) Information query method, system, computer system and storage medium
CN109150928A (en) Method and apparatus for handling request
CN109614603A (en) Method and apparatus for generating information
CN109271397A (en) Method and apparatus for handling information
CN109213916A (en) Method and apparatus for generating information

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190416