Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the accompanying drawings and examples, so that how to implement the embodiments of the present invention by using technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
As used in the specification and in the claims, certain terms are used to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This specification and claims do not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. "substantially" means within an acceptable error range, and a person skilled in the art can solve the technical problem within a certain error range to substantially achieve the technical effect. Furthermore, the term "coupled" is intended to encompass any direct or indirect electrical coupling. Thus, if a first device couples to a second device, that connection may be through a direct electrical coupling or through an indirect electrical coupling via other devices and couplings. The following description is of the preferred embodiment for carrying out the invention, and is made for the purpose of illustrating the general principles of the invention and not for the purpose of limiting the scope of the invention. The scope of the present invention is defined by the appended claims.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
Fig. 1 is a flowchart illustrating an information prompting method for communication content according to an embodiment of the present application;
101. in the communication process of user equipment and other user equipment, when preset operation aiming at the user equipment is detected, keywords of communication contents of both parties are acquired;
in the embodiment of the invention, the user equipment comprises electronic equipment such as a mobile phone, a computer, an Ipad and the like;
the communication process between the user equipment and other user equipment refers to a process in which the user equipment and other user equipment communicate through any application with a communication function, wherein the application with the communication function includes, for example, a dial-up communication application program, an instant communication application program, and the like.
In the embodiment of the present invention, the preset operation for the user equipment is detected, which includes but is not limited to the following operations:
detecting a shaking operation for the user device; or
Detecting a preset gesture operation aiming at a touch screen of the user equipment; or
Detecting an interface icon operation for the user equipment.
In an optional implementation manner of the embodiment of the present invention, in a communication process between a user equipment and another user equipment, if the communication process is communication through a dial-up communication application, the obtaining a keyword of communication content of both parties includes:
the user equipment performs voice recognition on locally input voice to obtain a character record corresponding to the voice; correspondingly storing the character records and the recording time to form single-party communication content; uploading the single-party communication content and the telephone numbers of the other user equipment to a server, combining the single-party communication content uploaded by the user equipment and the other user equipment respectively according to the recording time by the server to obtain two-party communication content, and sending the two-party communication content to the user equipment; and performing semantic analysis on the two-party communication content sent by the server to obtain keywords of the two-party communication content.
It should be noted that, the server is any server capable of performing text integration analysis according to the single-party voice content uploaded by the clients of both parties of the call to obtain the voice content functions of both parties; moreover, in the embodiment, the user equipment and other user equipment both need to register their respective user accounts in the server (for example, 360 servers) through the server, where the user account is bound to the phone number of the user equipment, and the implementation process of registering the account is not described in detail in the present invention.
In an optional implementation manner of the embodiment of the present invention, in a communication process between a user equipment and another user equipment, if the communication process is communication through a dial-up communication application, the obtaining a keyword of communication content of both parties includes:
the user equipment records the two-party call voice, and performs voice recognition on the record to obtain the two-party communication content;
and performing semantic analysis on the two-party communication content to obtain a keyword of the two-party communication content.
In an optional implementation manner of the embodiment of the present invention, in a communication process between a user equipment and another user equipment, if the communication process is communication through an instant messaging program, the obtaining a keyword of communication content of both parties includes:
the user equipment stores the communication content sent to the other user equipment through the instant communication program, receives the communication content sent to the user equipment by the other user equipment through the instant communication program, and obtains the communication content of both parties;
and performing semantic analysis on the two-party communication content to obtain a keyword of the two-party communication content.
For example, when the communication content of the two parties of the user is a question about which restaurant to go to eat, the keyword of the communication content of the two parties can be the restaurant; when the communication content of the two parties of the user is the fact that the user takes the hot pot for the blessing residence, the keyword of the communication content of the two parties can be the address of the blessing residence; when how the two-party communication content of the user buys the special price air ticket, the keyword of the two-party communication content can be the air ticket or the flight.
102. Matching the keywords of the two-party communication content with a keyword library;
in the embodiment of the invention, the keyword library comprises a plurality of keywords, and each keyword at least corresponds to one application program locally installed by the user equipment; in practical applications, the keywords correspond to the identification of the application program.
For example, table 1 is a mapping relationship table between keywords in the keyword library and the application:
keyword
|
Identification of applications
|
Restaurant
|
Application identification for public comment
|
Air ticket, flight and train
|
Application identification of where net to go
|
Parks, scenic spots and roads
|
Application identification of Google map |
103. When the keywords of the two-party communication content are matched with the keywords in the keyword library, starting an application program corresponding to the matched keywords;
in specific implementation, when the keywords of the two-party communication content are matched with the keywords in the keyword library in step 103, a prompt indicating whether to start the application program corresponding to the matched keywords may be displayed on a communication interface, so that a user may select to start or not start the application program corresponding to the matched keywords according to the prompt; and when the user selects the option to start, starting the application program corresponding to the matched keyword, and when the user selects the option not to start, closing the prompt of whether to start or not.
104. And searching information through the started application program according to the keywords of the two-party communication content.
For example, when the keyword of the two-party communication content is a restaurant and matches with the restaurant in the keyword library, the application program for mass comment can be started to search the mass comment of the restaurant, so that the user can check the mass comment of the restaurant to select a proper restaurant.
According to the technical scheme, the keywords can be obtained through analysis according to the communication content of the two parties of the user in the communication process, the keywords of the communication content of the two parties are matched with the keywords in the preset keyword library, when the matching is successful, the application program corresponding to the successfully matched keywords can be started, and information search is carried out through the started application program according to the keywords of the communication content of the two parties. When the two parties of the user communicate with each other and need to search information by means of other application programs, the communication application program which is in communication does not need to be quitted, the related application programs can be automatically started for information search according to the communication content of the two parties, the communication efficiency of the two parties of the user can be improved, and the user experience is greatly improved.
Fig. 2 is a flowchart illustrating an information prompting method for communication content according to an embodiment of the present application; as shown in fig. 2, includes:
201. in the communication process of user equipment and other user equipment, when preset operation aiming at the user equipment is detected, keywords of communication contents of both parties are acquired;
step 201 may refer to step 101 in the embodiment shown in fig. 1 when the step 201 is implemented specifically, and is not described herein again.
202. Matching the keywords of the two-party communication content with a keyword library;
step 202 may refer to step 101 in the embodiment shown in fig. 1 when the step is implemented specifically, and is not described herein again.
203. When the keywords of the two-party communication content are not matched with the keywords in the keyword library, acquiring a communication record generated when the user equipment and the other user equipment communicate through all communication application programs;
wherein the communication application comprises a dial-up communication application and/or an instant messaging application;
in the embodiment of the invention, the communication records generated when the user equipment communicates with other user equipment through all communication application programs comprise historical chat records generated through instant messaging application programs such as QQ or WeChat, or historical conversation contents of both parties generated through dialing communication application programs;
among them, the instant messaging application program such as QQ or wechat usually stores the chat records inputted between the user equipment and other user equipments;
the history call content generated by the dial-up communication application is usually stored in the server corresponding to the user accounts of the two parties.
204. Performing data mining on the communication record to obtain associated keywords associated with the keywords of the two-party communication content;
in the embodiment of the present invention, data mining generally refers to a process of automatically searching for information hidden in a large amount of data such as communication records and having special relationships, and the mining process is generally implemented by various methods such as statistics, online analysis and processing, information retrieval, machine learning, expert system (depending on past rules of thumb), pattern recognition, and the like, which is not limited in any way by the present invention.
For example, the two-party communication content is about gathering in old and old places, the keyword of the double-party communication content obtained through the semantic analysis can be the old place, and when the keyword is matched with the keyword library, the keyword corresponding to the old place is not matched, so that through the embodiment of the invention, the historical chatting records of the communication application programs such as telephone, QQ or WeChat and the like can be mined, and when the old place pointed by the two-party users is the late place, the late place can be determined as the related keyword of the old place.
205. Matching the associated keywords with a keyword library;
for example, matching the associated keyword "hindsea" obtained by data mining with the keyword library can be successfully matched with a place in the keyword library.
206. When the associated keywords are matched with the keywords in the keyword library, displaying a prompt for judging whether to start the application program corresponding to the matched keywords on a communication interface so that a user can select to start or not start the application program corresponding to the matched keywords according to the prompt;
in the embodiment of the invention, when the user selects the start option, the application program corresponding to the matched keyword is started, and when the user selects the non-start option, the prompt of whether to start or not can be closed.
207. Starting an application program corresponding to the matched keyword according to a starting option selected by a user;
for example, if the associated keyword "hindsea" is successfully matched with a place in the keyword library, a corresponding map application may be launched according to the user selection.
208. And searching information through the started application program according to the associated keywords.
For example, according to the associated keyword "the sea", the sea is searched on the map, the route of the sea is given on the map, the traffic jam condition is informed, and how long ahead the trip needs to be planned is prompted.
According to the technical scheme, the method and the device for searching the information can achieve the purposes that the two parties of the user can obtain the keywords according to the analysis of the communication content of the two parties in the communication process, the keywords of the communication content of the two parties are matched with the keywords in the preset keyword library, when the matching is unsuccessful, the two parties of the user can further conduct data mining on the communication records of all communication application programs to obtain the associated keywords related to the keywords of the communication content of the two parties, then the associated keywords are matched with the keywords in the preset keyword library, when the matching is successful, the application programs corresponding to the successfully matched keywords can be started, and the information searching is conducted through the started application programs according to the associated keywords. When the two parties of the user communicate with each other and need to search information by means of other application programs, the communication application program which is in communication does not need to be quitted, related application programs can be automatically started for information search according to the communication content of the two parties and the data mining of the communication records, the communication efficiency of the two parties of the user can be improved, and the user experience degree is greatly improved.
Fig. 3 is a schematic structural diagram of an information prompting apparatus related to communication content according to an embodiment of the present application, which is located on a user equipment side, and as shown in fig. 3, includes:
an obtaining module 31, configured to, in a communication process between a user equipment and another user equipment, obtain a keyword of communication content of both parties when a preset operation for the user equipment is detected;
a matching module 32, configured to match a keyword of the two-party communication content with a keyword library, where the keyword library includes a plurality of keywords, and each keyword corresponds to at least one application installed locally on the user equipment;
a starting module 33, configured to start an application corresponding to the matched keyword when the keyword of the two-party communication content matches the keyword in the keyword library;
and the searching module 34 is configured to perform information search through the started application program according to the keyword of the content of the two-party communication.
Optionally, the obtaining module 31 is specifically configured to:
carrying out voice recognition on voice input locally by the user equipment to obtain a character record corresponding to the voice;
correspondingly storing the character records and the recording time to form single-party communication content;
uploading the single-party communication content and the telephone numbers of the other user equipment to a server, combining the single-party communication content uploaded by the user equipment and the other user equipment respectively according to the recording time by the server to obtain two-party communication content, and sending the two-party communication content to the user equipment;
and performing semantic analysis on the two-party communication content sent by the server to obtain keywords of the two-party communication content.
Optionally, the obtaining module 31 is specifically configured to:
recording the conversation voice of both parties of the user equipment, and carrying out voice recognition on the recording to obtain the communication content of both parties;
and performing semantic analysis on the two-party communication content to obtain a keyword of the two-party communication content.
Optionally, the obtaining module 31 is specifically configured to:
storing the communication content sent by the user equipment to the other user equipment through the instant communication program, and receiving the communication content sent by the other user equipment to the user equipment through the instant communication program to obtain the communication content of the two parties;
and performing semantic analysis on the two-party communication content to obtain a keyword of the two-party communication content.
Optionally, the apparatus further includes:
and the prompt module 35 is configured to display a prompt indicating whether to start the application program corresponding to the matched keyword on the communication interface, so that the user selects to start or not start the application program corresponding to the matched keyword according to the prompt.
Optionally, the obtaining module 31 is further configured to obtain a communication record generated when the user equipment communicates with the other user equipment through all communication applications when the keyword of the two-party communication content does not match the keyword in the keyword library, where the communication applications include a dial-up communication application and/or an instant communication application;
the obtaining module 31 is further configured to perform data mining on the communication record to obtain associated keywords associated with the keywords of the two-party communication content;
the matching module 32 is further configured to match the associated keyword with the keyword library;
the prompting module 35 is further configured to display a prompt indicating whether to start the application program corresponding to the matched keyword on a communication interface when the associated keyword matches the keyword in the keyword library, so that a user can select to start or not start the application program corresponding to the matched keyword according to the prompt.
The starting module 33 is further configured to start an application program corresponding to the matched keyword according to a starting option selected by the user;
the search module 34 is further configured to perform information search through the started application program according to the associated keyword.
Optionally, the apparatus further includes a detection module 36, specifically configured to:
detecting a shaking operation for the user device; or
Detecting a preset gesture operation aiming at a touch screen of the user equipment; or
Detecting an interface icon operation for the user equipment.
The apparatus shown in fig. 3 may perform the method described in any of the embodiments of fig. 1-2, and the implementation principle and technical effect thereof are not described again.
a1, an information prompting method about communication content, suitable for user equipment, comprising:
in the communication process of user equipment and other user equipment, when preset operation aiming at the user equipment is detected, keywords of communication contents of both parties are acquired;
matching the keywords of the two-party communication content with a keyword library, wherein the keyword library comprises a plurality of keywords, and each keyword at least corresponds to one application program locally installed by the user equipment;
when the keywords of the two-party communication content are matched with the keywords in the keyword library, starting an application program corresponding to the matched keywords;
and searching information through the started application program according to the keywords of the two-party communication content.
a2, the method according to a1, wherein in the communication process between the user equipment and other user equipment, if the communication process is communication through a dial-up communication application, the obtaining keywords of the content of the two parties' communication includes:
the user equipment performs voice recognition on locally input voice to obtain a character record corresponding to the voice;
correspondingly storing the character records and the recording time to form single-party communication content;
uploading the single-party communication content and the telephone numbers of the other user equipment to a server, combining the single-party communication content uploaded by the user equipment and the other user equipment respectively according to the recording time by the server to obtain two-party communication content, and sending the two-party communication content to the user equipment;
and performing semantic analysis on the two-party communication content sent by the server to obtain keywords of the two-party communication content.
a3, the method according to a1, wherein in the communication process between the user equipment and other user equipment, if the communication process is communication through a dial-up communication application, the obtaining keywords of the content of the two parties' communication includes:
the user equipment records the two-party call voice, and performs voice recognition on the record to obtain the two-party communication content;
and performing semantic analysis on the two-party communication content to obtain a keyword of the two-party communication content.
a4, the method according to a1, wherein in the communication process between the user equipment and other user equipment, if the communication process is through an instant messaging program, the obtaining keywords of the content of both sides communication includes:
the user equipment stores the communication content sent to the other user equipment through the instant communication program, receives the communication content sent to the user equipment by the other user equipment through the instant communication program, and obtains the communication content of both parties;
and performing semantic analysis on the two-party communication content to obtain a keyword of the two-party communication content.
a5, the method of any one of a1-a4, when the keyword of the two-way communication content matches a keyword in the keyword library, comprising:
and displaying a prompt for judging whether to start the application program corresponding to the matched keyword on a communication interface so that the user can select to start or not to start the application program corresponding to the matched keyword according to the prompt.
a6, the method according to any of a1-a4, further comprising, after matching the keyword of the two-way communication content with a keyword library:
when the keywords of the two-party communication content are not matched with the keywords in the keyword library, acquiring a communication record generated when the user equipment and the other user equipment communicate through all communication application programs, wherein the communication application programs comprise a dial-up communication application program and/or an instant communication application program;
performing data mining on the communication record to obtain associated keywords associated with the keywords of the two-party communication content;
matching the associated keywords with a keyword library;
and when the associated keywords are matched with the keywords in the keyword library, displaying a prompt for judging whether to start the application program corresponding to the matched keywords on a communication interface so that a user can select to start or not start the application program corresponding to the matched keywords according to the prompt.
Starting an application program corresponding to the matched keyword according to a starting option selected by a user;
and searching information through the started application program according to the associated keywords.
a7, the method of a1, the detecting a preset operation for the user equipment comprising:
detecting a shaking operation for the user device; or
Detecting a preset gesture operation aiming at a touch screen of the user equipment; or
Detecting an interface icon operation for the user equipment.
b8, an information prompting device about communication content, suitable for user equipment, comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring keywords of communication contents of both parties when preset operation aiming at user equipment is detected in the communication process of the user equipment and other user equipment;
the matching module is used for matching the keywords of the communication contents of the two parties with a keyword library, the keyword library comprises a plurality of keywords, and each keyword at least corresponds to one application program locally installed on the user equipment;
the starting module is used for starting an application program corresponding to the matched keyword when the keyword of the two-party communication content is matched with the keyword in the keyword library;
and the searching module is used for searching information through the started application program according to the keywords of the communication contents of the two parties.
b9, the apparatus according to b8, wherein the acquiring module is specifically configured to:
carrying out voice recognition on voice input locally by the user equipment to obtain a character record corresponding to the voice;
correspondingly storing the character records and the recording time to form single-party communication content;
uploading the single-party communication content and the telephone numbers of the other user equipment to a server, combining the single-party communication content uploaded by the user equipment and the other user equipment respectively according to the recording time by the server to obtain two-party communication content, and sending the two-party communication content to the user equipment;
and performing semantic analysis on the two-party communication content sent by the server to obtain keywords of the two-party communication content.
b10, the apparatus according to b8, wherein the acquiring module is specifically configured to:
recording the conversation voice of both parties of the user equipment, and carrying out voice recognition on the recording to obtain the communication content of both parties;
and performing semantic analysis on the two-party communication content to obtain a keyword of the two-party communication content.
b11, the apparatus according to b8, wherein the acquiring module is specifically configured to:
storing the communication content sent by the user equipment to the other user equipment through the instant communication program, and receiving the communication content sent by the other user equipment to the user equipment through the instant communication program to obtain the communication content of the two parties;
and performing semantic analysis on the two-party communication content to obtain a keyword of the two-party communication content.
b12, the apparatus of any one of b8-b11, further comprising:
and the prompt module is used for displaying a prompt for judging whether to start the application program corresponding to the matched keyword on a communication interface so that a user can select to start or not to start the application program corresponding to the matched keyword according to the prompt.
b13, the device of any one of b8-b 11:
the obtaining module is further configured to obtain a communication record generated when the user equipment communicates with the other user equipment through all communication application programs when the keywords of the two-party communication content are not matched with the keywords in the keyword library, where the communication application programs include a dial-up communication application program and/or an instant communication application program;
the acquisition module is further used for carrying out data mining on the communication record to obtain associated keywords associated with the keywords of the communication contents of the two parties;
the matching module is also used for matching the associated keywords with the keyword library;
and the prompting module is also used for displaying a prompt for judging whether to start the application program corresponding to the matched keyword on a communication interface when the associated keyword is matched with the keyword in the keyword library so that a user can select to start or not start the application program corresponding to the matched keyword according to the prompt.
The starting module is also used for starting an application program corresponding to the matched keyword according to a starting option selected by a user;
and the searching module is also used for searching information through the started application program according to the associated keywords.
b14, the apparatus of claim b8, further comprising a detection module, in particular for:
detecting a shaking operation for the user device; or
Detecting a preset gesture operation aiming at a touch screen of the user equipment; or
Detecting an interface icon operation for the user equipment.
The foregoing description shows and describes several preferred embodiments of the invention, but as aforementioned, it is to be understood that the invention is not limited to the forms disclosed herein, but is not to be construed as excluding other embodiments and is capable of use in various other combinations, modifications, and environments and is capable of changes within the scope of the inventive concept as expressed herein, commensurate with the above teachings, or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.