CN107885872B - Method and device for generating information - Google Patents

Method and device for generating information Download PDF

Info

Publication number
CN107885872B
CN107885872B CN201711207384.4A CN201711207384A CN107885872B CN 107885872 B CN107885872 B CN 107885872B CN 201711207384 A CN201711207384 A CN 201711207384A CN 107885872 B CN107885872 B CN 107885872B
Authority
CN
China
Prior art keywords
information
search
search result
terminal device
user
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.)
Active
Application number
CN201711207384.4A
Other languages
Chinese (zh)
Other versions
CN107885872A (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.)
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 CN201711207384.4A priority Critical patent/CN107885872B/en
Publication of CN107885872A publication Critical patent/CN107885872A/en
Application granted granted Critical
Publication of CN107885872B publication Critical patent/CN107885872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9032Query formulation
    • G06F16/90332Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Abstract

The embodiment of the application discloses a method and a device for generating information. One embodiment of the method comprises the following steps: acquiring search information which is sent by a first terminal device and input by a user; transmitting first search result information related to the search information to the first terminal equipment, wherein the first search result information comprises characters or pictures and links associated with the characters or the pictures; responding to the fact that characters or pictures displayed on the first terminal equipment are clicked, and sending a page display instruction to the first terminal equipment, wherein the first terminal equipment responds to the received page display instruction, and displays a link page associated with the link; and in response to acquiring the communication information sent by the first terminal equipment to the second terminal equipment through the link page, generating second search result information based on the communication information and the search information. This embodiment increases the flexibility of information generation.

Description

Method and device for generating information
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to the technical field of Internet, and particularly relates to a method and a device for generating information.
Background
When searching using a search engine, the information is not sufficiently conveyed on the search result page, and the user often needs to perform further consultation and communication aiming at specific contents so as to know the specific conditions of the user in detail.
In the prior art, a user realizes consultation through 'search-floor page-consultation', and the path is overlong. The user jumps to the consultation page through the landing page, and the consultation page is different from the domain name of the search result page, so that the search engine at the end of the search result page cannot obtain the data of the consultation page. However, this data is important for policy optimization and model estimation of the search engine.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for generating information.
In a first aspect, embodiments of the present application provide a method for generating information, the method including: acquiring search information which is sent by a first terminal device and input by a user; transmitting first search result information related to the search information to the first terminal equipment, wherein the first search result information comprises characters or pictures and links associated with the characters or the pictures; responding to the fact that characters or pictures displayed on the first terminal equipment are clicked, and sending a page display instruction to the first terminal equipment, wherein the first terminal equipment responds to the received page display instruction, and displays a link page associated with the link; and in response to acquiring the communication information sent by the first terminal equipment to the second terminal equipment through the link page, generating second search result information based on the communication information and the search information.
In some embodiments, the method further comprises: acquiring characteristic information of the user, wherein the characteristic information comprises at least one of the following: the number of the search information related to the search information and input by the user at the first terminal device, the keyword of the search information related to the search information and input by the user at the first terminal device, the number of the information input by the user at the link page, and the keyword of the information input by the user at the link page; and determining whether to send preset information to the first terminal equipment according to the characteristic information.
In some embodiments, the method further comprises: acquiring closing time of the link page; and transmitting preset information to the first terminal equipment in response to determining that the difference between the current time and the closing time is greater than a preset duration.
In some embodiments, the method further comprises: and transmitting information preset for the communication information in response to the acquisition of the communication information.
In some embodiments, sending first search result information related to the search information to the first terminal device includes: inputting the search information into a pre-trained search result model to obtain first search result information, wherein the search result model is used for representing the corresponding relation between the search information and the search result information; and sending the first search result information to the first terminal equipment.
In some embodiments, the search result model is trained by: acquiring a sample data set, wherein the sample data comprises search information and search result information corresponding to the search information; and using a machine learning method, taking search information included in each sample data in the sample data set as input, taking search result information included in the sample data as output, and training to obtain a search result model.
In a second aspect, embodiments of the present application provide an apparatus for generating information, the apparatus comprising: the first acquisition unit is configured to acquire search information input by a user and sent by the first terminal equipment; a first sending unit configured to send first search result information related to the search information to the first terminal device, where the first search result information includes a text or a picture and a link associated with the text or the picture; the second sending unit is configured to send a page display instruction to the first terminal equipment in response to determining that the text or the picture displayed on the first terminal equipment is clicked, wherein the first terminal equipment displays a link page associated with the link in response to receiving the page display instruction; and the generating unit is configured to generate second search result information based on the communication information and the search information in response to acquiring the communication information sent by the first terminal device to the second terminal device through the link page.
In some embodiments, the apparatus further comprises: a second obtaining unit configured to obtain feature information of the user, where the feature information includes at least one of: the number of the search information related to the search information and input by the user at the first terminal device, the keyword of the search information related to the search information and input by the user at the first terminal device, the number of the information input by the user at the link page, and the keyword of the information input by the user at the link page; and the determining unit is configured to determine whether to send preset information to the first terminal equipment according to the characteristic information.
In some embodiments, the apparatus further comprises: a third obtaining unit configured to obtain a closing time of the link page; and a third sending unit configured to send preset information to the first terminal device in response to determining that the difference between the current time and the closing time is greater than a preset duration.
In some embodiments, the apparatus further comprises: and a fourth transmitting unit configured to transmit information preset for the communication information in response to acquisition of the communication information.
In some embodiments, the first transmitting unit includes: the acquisition module is configured to input the search information into a pre-trained search result model to acquire first search result information, wherein the search result model is used for representing the corresponding relation between the search information and the search result information; and the sending module is configured to send the first search result information to the first terminal equipment.
In some embodiments, the search result model is trained by: acquiring a sample data set, wherein the sample data comprises search information and search result information corresponding to the search information; and using a machine learning method, taking search information included in each sample data in the sample data set as input, taking search result information included in the sample data as output, and training to obtain a search result model.
In a third aspect, an embodiment of the present application provides an apparatus for generating information, including: one or more processors; and a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of any of the embodiments of the method for generating information described above.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium for generating information, having stored thereon a computer program which, when executed by a processor, implements a method as in any of the embodiments of the method for generating information described above.
According to the method and the device for generating the information, the first search result information related to the search information is sent through obtaining the search information, if the text or the picture displayed on the first terminal device and included in the first search result information is clicked, a page display instruction is sent to the first terminal device, and in response to obtaining the communication information sent to the second terminal device by the first terminal device through the link page, second search result information is generated based on the communication information and the search information, and flexibility of information generation is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings, in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a method for generating information according to the present application;
FIG. 3A is a schematic illustration of one application scenario of a method for generating information according to the present application;
FIG. 3B is a schematic diagram of yet another application scenario of a method for generating information according to the present application;
FIG. 3C is a schematic diagram of yet another application scenario of a method for generating information according to the present application;
FIG. 4 is a flow chart of yet another embodiment of a method for generating information according to the present application;
FIG. 5 is a schematic structural diagram of one embodiment of an apparatus for generating information according to the present application;
FIG. 6 is a schematic diagram of a computer system suitable for use in implementing embodiments of the present application.
Detailed Description
The present application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the methods for generating information or the apparatus for generating information of the present application may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or generate information or the like. Various communication client applications, such as a web browser application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, electronic book readers, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background web server providing support for web pages displayed on the terminal devices 101, 102, 103. The background web server may analyze and process the received data such as the search information, and feed back the processing result (e.g., the search result information) to the terminal device.
It should be noted that, the method for generating information provided in the embodiments of the present application is generally performed by the server 105, and accordingly, the apparatus for generating information is generally provided in the server 105.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for generating information according to the present application is shown. The method for generating information comprises the following steps:
step 201, obtaining search information input by a user and sent by a first terminal device.
In this embodiment, the electronic device (for example, the server shown in fig. 1) on which the method for generating information operates may acquire the search information input by the user and sent by the first terminal device through a wired connection manner or a wireless connection manner. The first terminal device may be a device (for example, a smart phone with a browser application installed) used by the user, which has an information sending function and is available for the user to input information. The search information may be information entered by a user at an input box of a browser or other application. The search information may be information characterizing that the user needs to search for information about him. The search information may be any text and combinations thereof. For example, the search information may be "English", "computer maintenance", and so on.
Referring to fig. 3A, a schematic diagram of an application scenario of a method for generating information according to the present application is shown. In fig. 3A, the search information input by the user on the first terminal device is "computer maintenance". The electronic device may then obtain the search information (i.e., "computer maintenance").
Step 202, sending first search result information related to the search information to the first terminal device, wherein the first search result information may include a text or a picture and a link associated with the text or the picture.
In this embodiment, based on the search information obtained in step 201, the electronic device (for example, the server shown in fig. 1) may send first search result information related to the search information to the first terminal device. The first search result information comprises characters or pictures and links associated with the characters or the pictures.
For example, when the search information is "english learning", the text included in the first search result information may be "english training", "english learning website", "japanese learning", or the like. The first search result information related to the search information may be a synonym or a paraphrase of the search information, or may be an expanded word or expanded information based on semantics of the search information. The above-mentioned techniques for determining the search result of the search information are well-known techniques widely studied and applied by those skilled in the relevant art (e.g., the field of search engine optimization) at present, and will not be described in detail herein.
It is understood that the links may be hyperlinks. The link may be associated with text or pictures included in the first search result information. When the user clicks on a text or picture, the first terminal device will display the page to which the link is linked.
With continued reference to fig. 3A, the electronic device sends first search result information 301 associated with the search information (e.g., computer maintenance) to the first terminal device. Wherein the first search result information 301 includes a consultation 3011 (i.e., text included in the first search result information 301) and a link (not shown in the figures) associated with the consultation 3011.
It should be noted that, the link included in the first search result information may not be displayed on the first terminal device, and the link may be used only for the interaction between the electronic device and the first terminal device.
And step 203, in response to determining that the text or the picture displayed on the first terminal device is clicked, sending a page display instruction to the first terminal device, wherein the first terminal device displays the link page associated with the link in response to receiving the page display instruction.
In this embodiment, the electronic device may send a page display instruction to the first terminal device in response to determining that the text or the picture displayed on the first terminal device is clicked, where the first terminal device displays the link page associated with the link in response to receiving the page display instruction.
The text or the picture displayed on the first terminal device is the text or the picture included in the first search result information.
With continued reference to fig. 3A, when the user clicks on "consultation" displayed on the first terminal device, the electronic device may determine that "consultation" is clicked. Then, the electronic device may send a page display instruction to the first terminal device. The first terminal device displays a link page (e.g., the page shown in fig. 3B) associated with the link in response to receiving the page display instruction. It should be noted that, the manner of displaying the link page is not limited to the above example, and other manners may be adopted to display the link page as needed. For example, the whole first search result information 301 shown in fig. 3A may be associated with a link, so as to click on any position of the area where the first search result information 301 is located, and the electronic device may send a page display instruction to the first terminal device. And displaying the link page after the first terminal device receives the page display instruction.
Optionally, after sending the page display instruction to the first terminal device, the electronic device may further send information related to the search information to the first terminal device according to the search information. Wherein, the first terminal device may display the received information on the link page after receiving the information related to the search information. Illustratively, if the search information is "what is the thyroid nodule treated? The electronic device may send information related to the search information to the first terminal device, which may be regularly followed if it is explicitly benign. Those diagnosed with malignancy or suspected malignancy should be treated surgically. The first terminal device may display the above information on the link page after receiving the information.
And step 204, in response to obtaining the communication information sent by the first terminal device to the second terminal device through the link page, generating second search result information based on the communication information and the search information.
In this embodiment, the electronic device may generate the second search result information based on the communication information and the search information in response to acquiring the communication information sent by the first terminal device to the second terminal device through the link page.
The method for generating the second search result information may be to splice characters of the communication information and the search information. For example, the communication information (e.g., data recovery) and the search information (e.g., computer maintenance) may be literally concatenated, and second search result information (e.g., computer maintenance data recovery) may be generated. It should be noted that, the manner of generating the second search result information may take different schemes according to actual needs. The second terminal device may be a device that communicates with the first terminal device, for example, when the user communicates text information with the customer service person through the link page using the first terminal device, the terminal device used by the customer service person may be the second terminal device.
As an example, the second terminal device may be installed with an instant messaging tool. The electronic equipment can realize the function of acquiring the communication information by calling the interface of the instant communication tool and after the user authorization. After the communication information is acquired, the electronic device may generate second search result information based on the communication information and the search information. Referring to fig. 3B, in fig. 3B, the user inputs the communication information "data recovery" (i.e., the communication information sent by the first terminal device to the second terminal device through the link page), and then the electronic device may acquire the communication information "data recovery", and then, based on the communication information "data recovery" and the search information (e.g., "computer maintenance" shown in fig. 3C), the electronic device may generate second search result information (e.g., second search information 302 shown in fig. 3C).
The technical scheme corresponding to the step of generating the second search result information based on the communication information and the search information can be applied to optimization of a search engine.
In some optional implementations of this embodiment, the electronic device may further obtain feature information of the user. Wherein the characteristic information includes at least one of: the number of the search information related to the search information input by the user at the first terminal device, the keyword of the search information related to the search information input by the user at the first terminal device, the number of the information input by the user at the link page, and the keyword of the information input by the user at the link page. Then, the electronic device may determine whether to send preset information to the first terminal device according to the feature information.
Wherein the search information related to the search information may include, but is not limited to, at least one of: synonyms for the search information, paraphrasing, expansion information for the search information, and the like. The keyword may be a noun in the search information, or may be a synonym or a paraphrase of the noun. For example, if the feature information includes the number of search information related to the search information input by the user at the first terminal device. For example, the feature information may be "the number of search information related to the search information: 100". The greater the number of search information associated with the search information, the greater the likelihood of communicating with the user, and the average number of search information for other users is 5. The characteristic information may characterize the user as having a strong willingness to communicate. And then, the electronic equipment can determine whether to send preset information to the first terminal equipment according to the characteristic information. In the application scenario, the feature information may indicate that the user has a stronger communication wish, so that the electronic device may determine to send preset information to the first terminal device. The preset information may be preset information. For example, the preset information may be "do you get satisfied with last session? Please ask if there are other questions? ".
In some optional implementations of this embodiment, the electronic device may further obtain a closing time of the link page. And the electronic equipment responds to the fact that the difference between the current time and the closing time is larger than the preset duration, and sends preset information to the first terminal equipment.
The preset time period may be a preset time period (for example, 2 hours). When the electronic device determines that the distance closing time exceeds the preset duration, preset information may be sent to the first terminal device (e.g. do you please go further for the last session.
In some optional implementations of this embodiment, the electronic device may further send information preset for the communication information in response to acquiring the communication information.
Wherein, the steps can be performed as follows:
first, the electronic device may sort all the communication information available for user input. For example, it can be classified into the following categories: programming classes, other classes, etc.
Then, the corresponding information may be set for each category. For example, information may be set for "programming class" program ape meditation idea … … later "; the message "you send" can be set for "other class" that we have received, immediately replying to you. Please wait for the patience.
Then, the electronic device may analyze the acquired communication information and classify the communication information. For example, if the communication is "English," the communication may be divided into "other classes.
Finally, the electronic device may send information preset for the communication information. For example, when the communication information is "english", the electronic device may send the information "the message you send we have received, and immediately reply to you. Please wait for the patience.
It should be noted that more categories may be divided according to actual needs, and corresponding information may be set for each category, or an intelligent chat tool (e.g., artificial intelligent chat software) may be embedded. It can be appreciated that when the customer service personnel is online, the customer service personnel can also reply to the communication information. Whereby more accurate information can be pushed to the user.
According to the method provided by the embodiment of the application, the search information is obtained, the first search result information related to the search information is sent, if the text or the picture displayed on the first terminal device and included in the first search result information is clicked, the page display instruction is sent to the first terminal device, and in response to the obtained communication information sent to the second terminal device by the first terminal device through the link page, the second search result information is generated based on the communication information and the search information, so that the flexibility of information generation is improved.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method for generating information is shown. The flow 400 of the method for generating information comprises the steps of:
step 401, acquiring search information input by a user and sent by a first terminal device.
In this embodiment, step 401 is substantially identical to step 201 in the corresponding embodiment of fig. 2, and will not be described herein.
Step 402, inputting the search information into a pre-trained search result model to obtain first search result information, and sending the first search result information to the first terminal device, wherein the first search result information includes a text or a picture and a link associated with the text or the picture.
In this embodiment, based on the search information obtained in step 401, the electronic device may input the search information into a pre-trained search result model to obtain first search result information, and send the first search result information to the first terminal device, where the first search result information includes a text or a picture and a link associated with the text or the picture. The search result model is used for representing the corresponding relation between the search information and the search result information.
For example, the search result model may be a correspondence table that is preset by a technician based on statistics of a large amount of search information and search result information and stores correspondence between a plurality of search information and search result information; the database storing a plurality of pieces of search information and search result information and their correspondence relation may be associated based on statistics of a large amount of search information and search result information.
In some optional implementations of this embodiment, the search result model may be trained by:
first, the electronic device may acquire a sample data set, where the sample data includes search information and search result information corresponding to the search information.
Then, using a machine learning method, the search information included in each sample data in the sample data set is used as input, the search result information included in the sample data is used as output, and the search result model is trained.
Step 403, in response to determining that the text or the picture displayed on the first terminal device is clicked, sending a page display instruction to the first terminal device, where the first terminal device displays the link page associated with the link in response to receiving the page display instruction.
In this embodiment, step 403 is substantially identical to step 203 in the corresponding embodiment of fig. 2, and will not be described herein.
And step 404, in response to obtaining the communication information sent by the first terminal device to the second terminal device through the link page, generating second search result information based on the communication information and the search information.
In this embodiment, step 404 is substantially identical to step 204 in the corresponding embodiment of fig. 2, and will not be described herein.
As can be seen from fig. 4, the flow 400 of the method for generating information in this embodiment highlights the step of generating the second search result information using the search result model, compared to the corresponding embodiment of fig. 2. Therefore, the scheme described in the embodiment can adopt more modes to generate the second search result information, so that more flexible information generation is realized.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present application provides an embodiment of an apparatus for generating information, where an embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 5, the apparatus 500 for generating information of the present embodiment includes: a first acquisition unit 501, a first transmission unit 502, a second transmission unit 503, and a generation unit 504. Wherein, the receiving unit 501 is configured to obtain search information input by a user and sent by a first terminal device; the first sending unit 502 is configured to send first search result information related to the search information to the first terminal device, where the first search result information includes a text or a picture and a link associated with the text or the picture; the second sending unit 503 is configured to send a page display instruction to the first terminal device in response to determining that the text or the picture displayed on the first terminal device is clicked, where the first terminal device displays a link page associated with the link in response to receiving the page display instruction; the generating unit 504 is configured to generate, in response to acquiring the communication information sent by the first terminal device to the second terminal device through the link page, second search result information based on the communication information and the search information.
In this embodiment, the first obtaining unit 501 may obtain, by a wired connection manner or a wireless connection manner, search information input by a user and sent by the first terminal device. The first terminal device may be a device (for example, a smart phone with a browser application installed) used by the user, which has an information sending function and is available for the user to input information. The search information may be information entered by a user at an input box of a browser or other application. The search information may be information characterizing that the user needs to search for information about him. The search information may be any text and combinations thereof. For example, the search information may be "English", "computer maintenance", and so on.
In this embodiment, based on the search information obtained by the first obtaining unit 501, the first sending unit 502 may send, to the first terminal device, first search result information related to the search information, where the first search result information includes a text or a picture and a link associated with the text or the picture.
For example, when the search information is "english learning", the text included in the first search result information may be "english training", "english learning web site", "japanese learning", or the like.
In this embodiment, based on the first search result information sent by the first sending unit 502, the second sending unit 503 may send a page display instruction to the first terminal device in response to determining that the text or the picture displayed on the first terminal device is clicked, where the first terminal device displays the link page associated with the link in response to receiving the page display instruction. The text or picture displayed on the first terminal device is the text or picture included in the first search result information.
In this embodiment, the generating unit 504 may generate the second search result information based on the communication information and the search information in response to acquiring the communication information sent by the first terminal device to the second terminal device through the link page.
The method for generating the second search result information may be to perform text concatenation on the communication information and the search information, so as to generate the second search result information. For example, the communication information (e.g., data recovery) and the search information (e.g., computer maintenance) may be literally concatenated, and second search result information (e.g., computer maintenance data recovery) may be generated. It should be noted that, the manner of generating the second search result information may adopt different schemes according to actual needs.
In some optional implementations of this embodiment, the apparatus may further include: the second obtaining unit (not shown in the figure) is configured to obtain feature information of the user, wherein the feature information includes at least one of the following: the number of the search information related to the search information and input by the user at the first terminal device, the keyword of the search information related to the search information and input by the user at the first terminal device, the number of the information input by the user at the link page, and the keyword of the information input by the user at the link page; a determining unit (not shown in the figure) is configured to determine whether to send preset information to the first terminal device based on the characteristic information. Wherein the search information related to the search information may include, but is not limited to: synonyms for the search information, paraphrasing, expansion information for the search information, and the like. The keyword may be a noun in the search information, or may be a synonym or a paraphrase of the noun.
In some optional implementations of this embodiment, the apparatus may further include: a third acquisition unit (not shown in the figure) configured to acquire a closing time of the link page; a third transmitting unit (not shown in the figure) is configured to transmit preset information to the first terminal device in response to determining that the difference between the current time and the closing time is greater than a preset duration. The preset time period may be a preset time period (for example, 2 hours). When it is determined that the distance closing time exceeds the preset time period, a third sending unit (not shown in the figure) may send preset information to the first terminal device.
In some optional implementations of this embodiment, the apparatus may further include: a fourth transmitting unit (not shown in the figure) is configured to transmit information preset for the communication information in response to acquisition of the communication information.
In some optional implementations of this embodiment, the first sending unit 502 may further include: the obtaining module (not shown in the figure) is configured to input the search information into a pre-trained search result model to obtain first search result information, wherein the search result model is used for representing the corresponding relation between the search information and the search result information; a transmitting module (not shown in the figure) is configured to transmit the first search result information to the first terminal device.
In some alternative implementations of the present embodiment, the search result model may be trained by: acquiring a sample data set, wherein the sample data comprises search information and search result information corresponding to the search information; and using a machine learning method, taking search information included in each sample data in the sample data set as input, taking search result information included in the sample data as output, and training to obtain a search result model.
In the apparatus provided in the foregoing embodiment of the present application, search information sent by a first terminal device and input by a user is acquired by a first acquiring unit 501, then a first sending unit 502 sends first search result information related to the search information to the first terminal device, where the first search result information includes a text or a picture and a link associated with the text or the picture, then a second sending unit 503 sends a page display instruction to the first terminal device in response to determining that the text or the picture displayed on the first terminal device is clicked, where the first terminal device displays a link page associated with the link in response to receiving the page display instruction, and finally a generating unit 504 generates second search result information based on the communication information and the search information in response to acquiring communication information sent by the first terminal device to the second terminal device through the link page, so as to implement generation of a search result by using the communication information, and improve flexibility of information generation.
Referring now to FIG. 6, there is illustrated a schematic diagram of a computer system 600 suitable for use in implementing a server of an embodiment of the present application. The server illustrated in fig. 6 is merely an example, and should not be construed as limiting the functionality and scope of use of the embodiments herein.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611. The above-described functions defined in the method of the present application are performed when the computer program is executed by a Central Processing Unit (CPU) 601.
It should be noted that, the computer readable medium described in the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by software, or may be implemented by hardware. The described units may also be provided in a processor, for example, described as: a processor includes a first acquisition unit, a first transmission unit, a second transmission unit, and a generation unit. The names of these units do not constitute a limitation on the unit itself in some cases, and for example, the first acquisition unit may also be described as "a unit that acquires search information input by a user and transmitted by the first terminal device".
As another aspect, the present application also provides a computer-readable medium that may be contained in the server described in the above embodiment; or may exist alone without being assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: acquiring search information which is sent by a first terminal device and input by a user; transmitting first search result information related to the search information to the first terminal equipment, wherein the first search result information comprises characters or pictures and links associated with the characters or the pictures; responding to the fact that characters or pictures displayed on the first terminal equipment are clicked, and sending a page display instruction to the first terminal equipment, wherein the first terminal equipment responds to the received page display instruction, and displays a link page associated with the link; and in response to acquiring the communication information sent by the first terminal equipment to the second terminal equipment through the link page, generating second search result information based on the communication information and the search information.
The foregoing description is only of the preferred embodiments of the present application and is presented as a description of the principles of the technology being utilized. It will be appreciated by persons skilled in the art that the scope of the invention referred to in this application is not limited to the specific combinations of features described above, but it is intended to cover other embodiments in which any combination of features described above or equivalents thereof is possible without departing from the spirit of the invention. Such as the above-described features and technical features having similar functions (but not limited to) disclosed in the present application are replaced with each other.

Claims (12)

1. A method for generating information, wherein the method comprises:
acquiring search information which is sent by a first terminal device and input by a user;
transmitting first search result information related to the search information to the first terminal equipment, wherein the first search result information comprises characters or pictures and links associated with the characters or the pictures;
responding to the fact that characters or pictures displayed on the first terminal equipment are clicked, and sending a page display instruction to the first terminal equipment, wherein the first terminal equipment responds to the received page display instruction, and displays a link page associated with the link;
In response to obtaining communication information sent by the first terminal device to the second terminal device through the link page, generating second search result information based on the communication information and the search information;
wherein the method further comprises:
acquiring characteristic information of the user, wherein the characteristic information comprises at least one of the following: the number of the search information related to the search information and input by the user at the first terminal device, the keyword of the search information related to the search information and input by the user at the first terminal device, the number of the information input by the user at the link page, and the keyword of the information input by the user at the link page;
and determining whether preset information is sent to the first terminal equipment according to the characteristic information.
2. The method of claim 1, wherein the method further comprises:
acquiring closing time of the link page;
and transmitting preset information to the first terminal equipment in response to the fact that the difference between the current time and the closing time is larger than the preset duration.
3. The method of claim 1, wherein the method further comprises:
And transmitting information preset for the communication information in response to the acquisition of the communication information.
4. The method of claim 1, wherein the transmitting, to the first terminal device, first search result information related to the search information comprises:
inputting the search information into a pre-trained search result model to obtain first search result information, wherein the search result model is used for representing the corresponding relation between the search information and the search result information;
and sending the first search result information to the first terminal equipment.
5. The method of claim 4, wherein the search result model is trained by:
acquiring a sample data set, wherein the sample data comprises search information and search result information corresponding to the search information;
and using a machine learning method, taking search information included in each sample data in the sample data set as input, taking search result information included in the sample data as output, and training to obtain a search result model.
6. An apparatus for generating information, wherein the apparatus comprises:
the first acquisition unit is configured to acquire search information input by a user and sent by the first terminal equipment;
A first sending unit configured to send first search result information related to the search information to the first terminal device, where the first search result information includes a text or a picture and a link associated with the text or the picture;
the second sending unit is configured to send a page display instruction to the first terminal equipment in response to determining that the text or the picture displayed on the first terminal equipment is clicked, wherein the first terminal equipment displays a link page associated with the link in response to receiving the page display instruction;
a generating unit configured to generate second search result information based on the communication information and the search information in response to acquiring the communication information sent by the first terminal device to the second terminal device through the link page;
wherein the apparatus further comprises:
a second obtaining unit configured to obtain feature information of the user, where the feature information includes at least one of: the number of the search information related to the search information and input by the user at the first terminal device, the keyword of the search information related to the search information and input by the user at the first terminal device, the number of the information input by the user at the link page, and the keyword of the information input by the user at the link page;
And the determining unit is configured to determine whether preset information is sent to the first terminal equipment according to the characteristic information.
7. The apparatus of claim 6, wherein the apparatus further comprises:
a third obtaining unit configured to obtain a closing time of the link page;
and the third sending unit is configured to send preset information to the first terminal equipment in response to determining that the difference between the current time and the closing time is greater than a preset duration.
8. The apparatus of claim 6, wherein the apparatus further comprises:
and a fourth transmitting unit configured to transmit information preset for the communication information in response to acquisition of the communication information.
9. The apparatus of claim 6, wherein the first transmitting unit comprises:
the obtaining module is configured to input the search information into a pre-trained search result model to obtain first search result information, wherein the search result model is used for representing the corresponding relation between the search information and the search result information;
and the sending module is configured to send the first search result information to the first terminal equipment.
10. The apparatus of claim 9, wherein the search result model is trained by:
Acquiring a sample data set, wherein the sample data comprises search information and search result information corresponding to the search information;
and using a machine learning method, taking search information included in each sample data in the sample data set as input, taking search result information included in the sample data as output, and training to obtain a search result model.
11. A server, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-5.
12. A computer readable storage medium having stored thereon a computer program, wherein the program when executed by a processor implements the method of any of claims 1-5.
CN201711207384.4A 2017-11-27 2017-11-27 Method and device for generating information Active CN107885872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711207384.4A CN107885872B (en) 2017-11-27 2017-11-27 Method and device for generating information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711207384.4A CN107885872B (en) 2017-11-27 2017-11-27 Method and device for generating information

Publications (2)

Publication Number Publication Date
CN107885872A CN107885872A (en) 2018-04-06
CN107885872B true CN107885872B (en) 2023-12-19

Family

ID=61775462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711207384.4A Active CN107885872B (en) 2017-11-27 2017-11-27 Method and device for generating information

Country Status (1)

Country Link
CN (1) CN107885872B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112348450B (en) * 2019-08-06 2023-02-17 上海指南猫网络科技有限公司 Method and device for generating schedule information
CN112395314A (en) * 2019-08-16 2021-02-23 北京大数医达科技有限公司 Method, electronic device and computer readable medium for searching information
CN111475722B (en) * 2020-03-31 2023-04-18 百度在线网络技术(北京)有限公司 Method and apparatus for transmitting information

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794291A (en) * 2009-06-03 2010-08-04 朱世康 Method and device for associating search and instant communication
CN102142033A (en) * 2010-05-20 2011-08-03 百度在线网络技术(北京)有限公司 Method and device for providing relative sub-link information in search result
JP2013050963A (en) * 2012-10-02 2013-03-14 Jamu:Kk Information retrieval support device, information retrieval support method, information retrieval support program and program storage medium
US8433703B1 (en) * 2003-12-22 2013-04-30 Google Inc. Recording user actions
CN103164404A (en) * 2011-12-08 2013-06-19 阿里巴巴集团控股有限公司 Search result display method and search result display device
CN103853831A (en) * 2014-03-10 2014-06-11 中国电子科技集团公司第二十八研究所 Personalized searching realization method based on user interest
CN103942268A (en) * 2010-05-31 2014-07-23 百度在线网络技术(北京)有限公司 Method and device for combining search and application and application interface
CN103986746A (en) * 2014-04-14 2014-08-13 北京百度网讯科技有限公司 Method and device enabling user to establish communication with third party
CN105160034A (en) * 2015-09-30 2015-12-16 北京奇虎科技有限公司 Information searching method and device
CN106096037A (en) * 2016-06-27 2016-11-09 北京百度网讯科技有限公司 Search Results polymerization based on artificial intelligence, device and search engine
CN107172151A (en) * 2017-05-18 2017-09-15 百度在线网络技术(北京)有限公司 Method and apparatus for pushed information

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060106793A1 (en) * 2003-12-29 2006-05-18 Ping Liang Internet and computer information retrieval and mining with intelligent conceptual filtering, visualization and automation
US7610276B2 (en) * 2006-09-22 2009-10-27 Advertise.Com, Inc. Internet site access monitoring
US10467677B2 (en) * 2011-09-28 2019-11-05 Nara Logics, Inc. Systems and methods for providing recommendations based on collaborative and/or content-based nodal interrelationships

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8433703B1 (en) * 2003-12-22 2013-04-30 Google Inc. Recording user actions
CN101794291A (en) * 2009-06-03 2010-08-04 朱世康 Method and device for associating search and instant communication
CN102142033A (en) * 2010-05-20 2011-08-03 百度在线网络技术(北京)有限公司 Method and device for providing relative sub-link information in search result
CN103942268A (en) * 2010-05-31 2014-07-23 百度在线网络技术(北京)有限公司 Method and device for combining search and application and application interface
CN103164404A (en) * 2011-12-08 2013-06-19 阿里巴巴集团控股有限公司 Search result display method and search result display device
JP2013050963A (en) * 2012-10-02 2013-03-14 Jamu:Kk Information retrieval support device, information retrieval support method, information retrieval support program and program storage medium
CN103853831A (en) * 2014-03-10 2014-06-11 中国电子科技集团公司第二十八研究所 Personalized searching realization method based on user interest
CN103986746A (en) * 2014-04-14 2014-08-13 北京百度网讯科技有限公司 Method and device enabling user to establish communication with third party
CN105160034A (en) * 2015-09-30 2015-12-16 北京奇虎科技有限公司 Information searching method and device
CN106096037A (en) * 2016-06-27 2016-11-09 北京百度网讯科技有限公司 Search Results polymerization based on artificial intelligence, device and search engine
CN107172151A (en) * 2017-05-18 2017-09-15 百度在线网络技术(北京)有限公司 Method and apparatus for pushed information

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
search GenBank: interactive orchestration and ad-hoc choreography of Web services in the exploration of the biomedical resources of the National Center For Biotechnology Information;Mrozek Dariusz等;《BMC BIOINFORMATICS》;第1-18页 *
基于Web 2.0的综合搜索引擎研究与实现;程陈;《中国优秀硕士学位论文全文数据库 信息科技辑》;I138-2072 *
服务搜索引擎中基于关键字的检索子系统的设计与实现;刘鹏;《中国优秀硕士学位论文全文数据库 信息科技辑》;I138-950 *

Also Published As

Publication number Publication date
CN107885872A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN109460513B (en) Method and apparatus for generating click rate prediction model
CN107679211B (en) Method and device for pushing information
CN108153901B (en) Knowledge graph-based information pushing method and device
CN107622135B (en) Method and apparatus for displaying information
CN108804450B (en) Information pushing method and device
CN107577807B (en) Method and device for pushing information
CN107241260B (en) News pushing method and device based on artificial intelligence
CN111125574B (en) Method and device for generating information
CN109359194B (en) Method and apparatus for predicting information categories
US11758088B2 (en) Method and apparatus for aligning paragraph and video
CN108280200B (en) Method and device for pushing information
CN108268450B (en) Method and apparatus for generating information
CN106528835B (en) Information acquisition method and device
CN109873756B (en) Method and apparatus for transmitting information
CN107885872B (en) Method and device for generating information
CN113971243A (en) Data processing method, system, equipment and storage medium applied to questionnaire survey
CN111061956A (en) Method and apparatus for generating information
CN110232920B (en) Voice processing method and device
CN108667915B (en) Information pushing system, method and device
CN114297476A (en) Questionnaire survey method, system, electronic equipment and storage medium based on user tags
CN109241409B (en) Method and device for sending and receiving information
US20190139432A1 (en) Methods and systems for animated walkthroughs in an online educational platform
CN113590756A (en) Information sequence generation method and device, terminal equipment and computer readable medium
CN109472028B (en) Method and device for generating information
CN111125502B (en) Method and device 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
GR01 Patent grant
GR01 Patent grant