[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115412745A - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN115412745A
CN115412745A CN202210966736.9A CN202210966736A CN115412745A CN 115412745 A CN115412745 A CN 115412745A CN 202210966736 A CN202210966736 A CN 202210966736A CN 115412745 A CN115412745 A CN 115412745A
Authority
CN
China
Prior art keywords
information
question
reply
answer
question information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210966736.9A
Other languages
Chinese (zh)
Other versions
CN115412745B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202210966736.9A priority Critical patent/CN115412745B/en
Publication of CN115412745A publication Critical patent/CN115412745A/en
Application granted granted Critical
Publication of CN115412745B publication Critical patent/CN115412745B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • G06F40/35Discourse or dialogue representation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4758End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for providing answers, e.g. voting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses an information processing method and electronic equipment, wherein the information processing method comprises the following steps of: acquiring a plurality of first information and second information; wherein the first information and the second information originate from different electronic devices. Extracting question information from the first information, and searching answer information corresponding to each question information from the second information, wherein the question information is characters, and the answer information is audio and/or video; and establishing a mapping relation between the question information and the response information when the response information corresponding to the question information exists in the second information. According to the method and the device, the question information is extracted from the first information, the response information corresponding to each question information is searched from the second information, and the mapping relation between the question information and the response information is established, so that the purpose of automatically establishing the mapping relation between the question information and the response information is achieved, the problem that multiple responses are carried out on the same question information is avoided, and the question-answering efficiency is improved.

Description

Information processing method and electronic equipment
Technical Field
The present application relates to the field of information processing technologies, and in particular, to an information processing method and an electronic device.
Background
During the live broadcast, the viewer can input text information in the chat frame to ask a question, and the anchor answers after receiving the text information input by the viewer. However, the audience who enters later can not know whether the questions that other audiences have already provided are answered by the anchor, and can not know the answer that the anchor carries out to the questions more, so that the questions that the anchor has already answered can be provided, the anchor needs to answer to repeated questions for many times, the live broadcast effect of the anchor and the experience of watching live broadcast by the audience are all reduced, and meanwhile, the processing resources of the electronic equipment can be wasted.
Disclosure of Invention
An object of the embodiments of the present application is to provide a file display method and an electronic device, which can automatically establish a mapping relationship between question information and answer information, avoid multiple answers to the same question information, and improve question answering efficiency.
In a first aspect, an embodiment of the present application provides an information processing method, including:
acquiring a plurality of first information and second information; wherein the first information and the second information originate from different electronic devices;
extracting question information from the first information, and searching answer information corresponding to each question information from the second information, wherein the question information is characters, and the answer information is audio and/or video;
and establishing a mapping relation between the question information and the response information when the response information corresponding to the question information exists in the second information.
In a possible implementation, the extracting the question information from the first information includes:
performing semantic analysis on each piece of first information to determine candidate information, wherein the candidate information comprises a question identifier;
and carrying out duplicate removal processing on the candidate information to obtain the problem information.
In a possible implementation manner, the searching for the answer information corresponding to each question information from the second information includes:
performing semantic analysis on the second information to divide the second information into a plurality of second sub information;
and searching the reply information corresponding to each question information from the second sub information.
In a possible implementation manner, the searching, from the second sub-information, for the answer information corresponding to each question information includes:
performing semantic analysis on the question information and each second sub-information to determine one or more second sub-information associated with the question information;
and under the condition that a plurality of second sub-information associated with the question information is available, performing one or more of splicing, sorting, de-duplication and filling on the plurality of second sub-information to obtain the reply information corresponding to each question information.
In a possible implementation manner, the information processing method further includes:
determining that the relationship between each reply information is the same or opposite when a plurality of reply information corresponding to the question information are provided;
in the case that the relationship between each reply message is the same, determining a reply message based on the reply duration and the reply word number corresponding to the reply message;
in the case where the relationship between each of the reply messages is reversed, one reply message is determined based on the reply time corresponding to each of the reply messages.
In a possible implementation manner, the information processing method further includes:
setting a first tag for the question information when answer information corresponding to the question information exists in the second information;
and setting a second label for the question information when the second information does not contain the reply information corresponding to the question information.
In a possible implementation manner, the information processing method further includes:
generating a question-answer list comprising the first mapping relation based on the acquisition time of the question information and/or the occurrence number of the question information;
and displaying through the first device and/or the second device.
In a possible implementation manner, the information processing method further includes:
continuously acquiring first information;
displaying the question information in a first form under the condition that the question-answer list comprises the question information in the first information;
displaying the question information in a second form under the condition that the question information in the first information is not included in the question-answer list;
the question information and the question-answer list exist in different display interfaces.
In a possible implementation manner, the information processing method further includes:
continuously acquiring second information;
and updating the question-answer list based on the response information when the second information comprises the response information corresponding to the question information.
In a second aspect, an embodiment of the present application further provides an electronic device, including:
an acquisition module configured to acquire a plurality of first information and second information; wherein the first information and the second information originate from different electronic devices;
the extraction module is configured to extract question information from the first information and search answer information corresponding to each question information from the second information, wherein the question information is text, and the answer information is audio and/or video;
the establishing module is configured to establish a mapping relation between the question information and the reply information under the condition that the reply information corresponding to the question information exists in the second information.
In a third aspect, an embodiment of the present application further provides a storage medium, where the computer readable storage medium stores a computer program, and the computer program is executed by a processor to perform the following steps:
acquiring a plurality of first information and second information; wherein the first information and the second information originate from different electronic devices.
Extracting question information from the first information, and searching answer information corresponding to each question information from the second information, wherein the question information is characters, and the answer information is audio and/or video;
and establishing a mapping relation between the question information and the answer information when the answer information corresponding to the question information exists in the second information.
In a fourth aspect, an embodiment of the present application further provides an electronic device, where the electronic device includes: a processor and a memory, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over a bus when an electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of:
acquiring a plurality of first information and second information; wherein the first information and the second information originate from different electronic devices.
Extracting question information from the first information, and searching reply information corresponding to each question information from the second information, wherein the question information is characters, and the reply information is audio and/or video;
and establishing a mapping relation between the question information and the response information when the response information corresponding to the question information exists in the second information.
According to the method and the device, the question information is extracted from the first information, the response information corresponding to each question information is searched from the second information, and the mapping relation between the question information and the response information is established under the condition that the response information corresponding to the question information exists in the second information, so that the purpose of automatically establishing the mapping relation between the question information and the response information is achieved, the problem that multiple responses are carried out on the same question information is avoided, and the question and answer efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flow chart illustrating an information processing method provided by the present application;
fig. 2 is a flowchart illustrating extracting problem information from first information in an information processing method provided by the present application;
fig. 3 is a flowchart illustrating a method for processing information according to the present application, in which reply information corresponding to each question information is searched from second information;
FIG. 4 illustrates a schematic diagram of a user interface provided for implementing the present application;
FIG. 5 shows a flow chart of another information processing method provided herein;
FIG. 6 is a schematic diagram illustrating an electronic device according to the present disclosure;
fig. 7 shows a schematic structural diagram of another electronic device provided in the present application.
Detailed Description
Various aspects and features of the present application are described herein with reference to the drawings.
It should be understood that various modifications may be made to the embodiments of the present application. Accordingly, the foregoing description should not be considered as limiting, but merely as exemplifications of embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the application.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with a general description of the application given above and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment, given as a non-limiting example, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application of unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
For the understanding of the present application, an information processing method provided in the present application will be described in detail first. The information processing method provided by the embodiment of the application can automatically establish the mapping relation between the question information and the reply information, avoids multiple replies aiming at the same question information, and improves the question answering efficiency.
As shown in fig. 1, which is a flowchart of an information processing method provided in an embodiment of the present application, specific steps include S101-S103.
S101, acquiring a plurality of first information and second information; wherein the first information and the second information originate from different electronic devices.
As an example, the first information is derived from a first device, and the second information is derived from a second device, although the first device and the second device may be one or more devices, and the first device and the second device are communicatively connected. For example, in a live scene, an electronic device corresponding to a viewer watching a live broadcast is a first device, an electronic device corresponding to a main broadcast and an assistant person of the main broadcast and the like conducting the live broadcast is a second device, the viewer and the main broadcast can communicate through the first device and the second device, for example, the viewer plays a reward, asks a question and the like, and the main broadcast replies after receiving the question of the viewer.
The method comprises the steps of collecting first information sent by first equipment and second information sent by second equipment in real time. Of course, in the embodiment of the present application, the server is taken as an execution subject to explain, and when the first device is taken as the execution subject, only the first device needs to acquire the second information sent by the second device, and similarly, when the second device is taken as the execution subject, only the second device needs to acquire the first information sent by the first device.
S102, extracting question information from the first information, and searching reply information corresponding to each question information from the second information, wherein the question information is characters, and the reply information is audio and/or video.
In specific implementation, an extraction model is constructed and trained by using rules such as semantic analysis, segmentation of speech segments, semantic similarity and the like, so as to extract question information from first information through the extraction model, and answer information corresponding to each question information is searched from second information, for example, information carrying characters, words, punctuations and the like representing questions in the first information is used as the question information, and information corresponding to the semantics of the question information in the second information is used as the answer information corresponding to the question information and the like. Wherein, the question information is characters, and the reply information is audio and/or video.
Of course, it is also possible to train the first model for the first information and train the second model for the second information, that is, the input of the first model is the first information and the output is the question information, the input of the second model is the question information and the second information, and the output is the answer information, etc. The embodiment of the present application is not particularly limited in this respect, as long as the question information can be extracted from the first information and the reply information corresponding to each question information can be searched from the second information.
And S103, establishing a mapping relation between the question information and the response information when the response information corresponding to the question information exists in the second information.
In a specific implementation, the second information may or may not include reply information corresponding to the question information. Based on this, in the case where there is response information corresponding to the question information in the second information, a mapping relationship between the question information and the response information is established.
According to the embodiment of the application, the purpose of automatically establishing the mapping relation between the question information and the reply information is achieved through the scheme, the problem that the same question information is replied for many times can be avoided, and the question answering efficiency is improved.
Optionally, in a case where there is response information corresponding to the question information in the second information, in addition to establishing a mapping relationship between the question information and the response information, a first tag may be set to the question information, where the first tag identifies that a response has been made to the question information. Likewise, in a case where there is no response information corresponding to the question information in the second information, a second tag is set to the question information, the second tag identifying that a response has been made to the question information. Therefore, the anchor can clearly know the problem information which is responded and the problem information which is not responded based on the first label and the second label, and then the anchor can respond to the problem information which is not responded in a targeted manner, the problem information which is not responded is not required to be screened out manually by auxiliary personnel of the anchor or the anchor, time and labor are saved, and the response efficiency is improved.
Optionally, fig. 2 shows a flowchart of a method for extracting question information from the first information, where the specific steps include S201 and S202.
S201, performing semantic analysis on each piece of first information, and determining candidate information, wherein the candidate information comprises a question identifier.
And S202, carrying out duplicate removal processing on the candidate information to obtain problem information.
Optionally, a semantic recognition algorithm or a pre-trained first model may be used to perform semantic analysis on each piece of first information to determine candidate information, where the candidate information includes a question identifier, that is, a word, a punctuation mark, and the like that characterize a question. It should be noted that the candidate information may be a part of the first information, that is, a part of the first information after the first information is divided.
There are cases where the candidate information is close to or the same as each other, and also in order to avoid making a reply to the same question information multiple times, after the candidate information is obtained, the candidate information is subjected to deduplication processing to obtain the question information. Optionally, after the candidate information is obtained, semantic similarity between the candidate information is calculated, and a plurality of candidate information with semantic similarity greater than a preset similarity are screened, for example, only one candidate information is reserved as the problem information according to the number of words, the time before and after the generation, and other mechanisms.
Optionally, fig. 3 shows a flowchart of a method for searching reply information corresponding to each question information from the second information, where the specific steps include S301 and S302.
S301, performing semantic analysis on the second information to divide the second information into a plurality of second sub information.
S302, searching the reply information corresponding to each question information from the second sub information.
Similarly, each piece of second information may be subjected to semantic analysis by using a semantic recognition algorithm or a pre-trained second model to divide the second information into a plurality of pieces of second sub information, for example, to calculate semantic relevance between preceding and following sentences, and to divide the second information whose semantic relevance does not satisfy a condition (for example, the semantic relevance is greater than a preset relevance) into two pieces of second sub information.
After the second information is divided into a plurality of second sub-information, semantic analysis is performed on the problem information and each second sub-information, for example, a semantic correspondence degree between the problem information and each second sub-information, a similarity of a scene to which the semantics belong, and the like are calculated, so as to determine one or more second sub-information associated with the problem information, and of course, there may be no second sub-information associated with the problem information.
It is contemplated that the anchor may have made at least one response to the same question information and that multiple responses may exist in different points in time, in different second information or second sub-information, or even that the multiple responses are not identical. For example, after the anchor replies to the question information a at 10.
Further, when there are a plurality of second sub-information associated with the question information, the plurality of second sub-information are subjected to one or more of splicing, sorting, deduplication and padding, so as to obtain the response information corresponding to each question information. For example, semantic similarity calculation may be performed on the plurality of second sub-information, duplicate removal may be performed when the semantic similarity is greater than a preset similarity, then, the remaining second sub-information is sequenced and spliced according to a time sequence, then, semantic recognition is performed on the spliced information, and filling of connecting terms is performed at a connection of the two second sub-information, so that the finally obtained reply information is smoother. Of course, all the second sub-information may also be directly sequenced and spliced to obtain the reply information, which is not specifically limited in the embodiment of the present application.
In order to ensure the accuracy of the response information corresponding to the question information in consideration of the possible differences in responses to the same question information, in the case where there are a plurality of response information corresponding to the question information, the relationship between each of the response information is determined to be the same or opposite by calculating the semantic similarity between the response information, for example, in the case where the semantic similarity is greater than the first similarity, the relationship between two of the response information is determined to be the same, in the case where the semantic similarity is less than the second similarity, the relationship between two of the response information is determined to be opposite, and of course, the second similarity is less than the first similarity.
In the case where the relationship between each of the reply information is the same, that is, the semantics of the plurality of reply information are substantially the same, at this time, one reply information may be determined based on the reply time length corresponding to the reply information and the number of reply words, for example, the reply information with the longest reply time length may be used as the reply information corresponding to the question information, the reply information with the largest number of reply words may also be used as the reply information corresponding to the question information, and the like, and of course, the plurality of reply information may also be used as the reply information corresponding to the question information for the viewer to view.
In the case where the relationship between each of the reply information is opposite, that is, the semantics of the plurality of reply information differ greatly, at this time, one reply information is determined based on the reply time corresponding to each reply information, and for example, the reply information corresponding to the reply time with the smallest time interval of the current time is taken as the reply information corresponding to the question information.
In the embodiment of the application, after the mapping relation between the question information and the answer information is established, a question-answer list comprising a first mapping relation can be generated based on the acquisition time of the question information and/or the occurrence times of the question information; for example, the question and answer list is generated by arranging the first mapping relationship according to the sequence of the acquisition time of the question information, or by counting the occurrence times of each question information, and sequencing according to the descending order of the occurrence times.
After the question and answer list is obtained, the question and answer list is displayed through the first equipment and/or the second equipment. The question-answer list is displayed through the first equipment, so that a viewer can know the question information which is already answered, the same question information is prevented from being provided by different viewers, the viewer can directly obtain the answer information corresponding to the question information, and the obtaining efficiency of the answer information is greatly improved. The question and answer list is displayed through the second equipment, so that the anchor can know the question information which is already answered and the question information which is not already answered, multiple answers aiming at the same question information are avoided, the question and answer efficiency is improved, meanwhile, the question information provided by a viewer is prevented from being omitted, and the sensitivity of the viewer is improved.
When the question and answer list and the live broadcast interface are displayed through the first device and/or the second device, the question and answer list and the live broadcast interface may be displayed with reference to a user interface schematic diagram shown in fig. 4, that is, the interface where the question and answer list is located and the live broadcast interface are displayed in the user interface side by side, and of course, the question and answer list and the live broadcast interface may be arranged left and right as shown in fig. 4, or arranged up and down, and the like, which is not specifically limited in this embodiment of the application.
Fig. 5 also shows another information processing method, in which the steps include S501-S505.
S501, first information is continuously acquired.
S502, displaying the question information in a first form under the condition that the question-answer list comprises the question information in the first information.
And S503, displaying the question information in a second form under the condition that the question information in the first information is not included in the question and answer list.
S504, second information is continuously acquired.
S505, when the second information includes response information corresponding to the question information, the question and answer list is updated based on the response information.
In a specific implementation, the first device may continuously and sporadically transmit the first information, or the first device that initially establishes a communication connection with the second device (for example, the first device entering a live room in the middle of live broadcast) transmits the first information, and based on this situation, the first information may be continuously acquired, and the question information may be extracted in real time according to the method shown in steps S201 and S202.
After extracting the question information in the first information, determining whether the question-answer list includes the question information in the first information, and displaying the question information in a first form, for example, in a regular (such as a regular script, a song script and the like) font, a light (such as a gray, a yellow and the like) font and the like, under the condition that the question-answer list includes the question information in the first information; under the condition that the question and answer list does not include the question information in the first information, the question information is displayed in a second form, for example, the question information is displayed in a special (such as bold, inclined and the like) font, a dark (such as black, red and the like) font and the like, so that whether the question information needs to be answered or not can be clearly determined by a viewer and/or an anchor broadcaster, the manual screening of the anchor for the question information needing to be answered is not needed, time and labor are saved, the answering efficiency is improved, meanwhile, the problem information needing to be answered is avoided being missed, and the experience degree of the viewer is greatly improved.
Moreover, in the case where the first device is in communication connection with the second device, the second information may be continuously acquired, and the reply information corresponding to the continuously acquired question information may be extracted in real time according to the methods shown in steps S301 and S302.
In a case where the second information includes answer information corresponding to the question information, the question-answer list is updated based on the answer information, and optionally, in a case where the answer information corresponding to the question information is determined, a mapping relationship between the question information and the answer information is established, and the question-answer list is updated based on the mapping relationship, so that the question information and the answer information in the question-answer list are more complete and comprehensive.
It should be noted that the steps shown in fig. 5 are not in the specific order of implementation, and may also execute S501-S503 and S504-S505 simultaneously in parallel.
In the embodiment of the present application, in the process of continuously obtaining question information and displaying the question information in the first form or the second form, it may be set that the question information and the question and answer list exist in different display interfaces, as shown in fig. 4, the question information is displayed in a live broadcast interface, the question and answer list is displayed in a separate interface other than the live broadcast interface, and of course, the question and answer list may also be displayed in other forms, as long as a viewer and/or a host can conveniently and quickly determine question information that needs to be answered and question information that does not need to be answered, which is not specifically limited in the embodiment of the present application.
Based on the same inventive concept, a second aspect of the present application further provides an electronic device corresponding to the information processing method, and since the principle of solving the problem of the electronic device in the present application is similar to that of the information processing method in the present application, reference may be made to implementation of the method for the electronic device, and repeated parts are not described again.
Fig. 6 shows a schematic diagram of an electronic device provided in an embodiment of the present application, which specifically includes:
an obtaining module 601 configured to obtain a plurality of first information and second information; wherein the first information and the second information originate from different electronic devices;
an extracting module 602, configured to extract question information from the first information, and search for answer information corresponding to each question information from the second information, where the question information is text, and the answer information is audio and/or video;
an establishing module 603 configured to establish a mapping relationship between the question information and the reply information in a case where reply information corresponding to the question information exists in the second information.
In another embodiment, when the extracting module 602 extracts the question information from the first information, the method specifically includes:
performing semantic analysis on each piece of first information to determine candidate information, wherein the candidate information comprises a question mark;
and carrying out duplicate removal processing on the candidate information to obtain the problem information.
In another embodiment, when the extracting module 602 searches the reply information corresponding to each question information from the second information, the method specifically includes:
performing semantic analysis on the second information to divide the second information into a plurality of second sub information;
and searching the reply information corresponding to each question information from the second sub-information.
In another embodiment, when the extracting module 602 searches the reply information corresponding to each question information from the second sub information, the method specifically includes:
performing semantic analysis on the question information and each second sub-information to determine one or more second sub-information associated with the question information;
and under the condition that a plurality of second sub-information associated with the question information is available, performing one or more of splicing, sorting, de-duplication and filling on the plurality of second sub-information to obtain the reply information corresponding to each question information.
In yet another embodiment, the electronic device further comprises a determination module 604 configured to:
determining that the relationship between each reply information is the same or opposite when a plurality of reply information corresponding to the question information are provided;
in the case that the relationship between each reply message is the same, determining a reply message based on the reply duration and the reply word number corresponding to the reply message;
in the case where the relationship between each of the reply messages is reversed, a reply message is determined based on the reply time corresponding to each of the reply messages.
In yet another embodiment, the electronic device further comprises a setup module 605 configured to:
setting a first label for the question information under the condition that answer information corresponding to the question information exists in the second information;
and setting a second label for the question information when the second information does not contain the reply information corresponding to the question information.
In yet another embodiment, the electronic device further comprises a generation module 606 configured to:
generating a question-answer list comprising the first mapping relation based on the acquisition time of the question information and/or the occurrence number of the question information;
and displaying through the first device and/or the second device.
In yet another embodiment, the electronic device further comprises a presentation module 607 configured to:
continuously acquiring first information;
displaying the question information in a first form under the condition that the question-answer list comprises the question information in the first information;
displaying the question information in a second form under the condition that the question information in the first information is not included in the question and answer list;
the question information and the question-answer list exist in different display interfaces.
In yet another embodiment, the electronic device further includes an update module 608 configured to:
continuously acquiring second information;
and updating the question and answer list based on the answer information under the condition that the second information comprises answer information corresponding to the question information.
According to the method and the device, the question information is extracted from the first information, the response information corresponding to each question information is searched from the second information, and the mapping relation between the question information and the response information is established under the condition that the response information corresponding to the question information exists in the second information, so that the purpose of automatically establishing the mapping relation between the question information and the response information is achieved, the problem that multiple responses are carried out on the same question information is avoided, and the question and answer efficiency is improved.
An embodiment of the present application provides a storage medium, where the storage medium is a computer-readable medium, and stores a computer program, and the computer program, when executed by a processor, implements a method provided in any embodiment of the present application, and includes the following steps S11 to S13:
s11, acquiring a plurality of first information and second information; wherein the first information and the second information originate from different electronic devices;
s12, extracting question information from the first information, and searching reply information corresponding to each question information from the second information, wherein the question information is characters, and the reply information is audio and/or video;
and S13, under the condition that answer information corresponding to the question information exists in the second information, establishing a mapping relation between the question information and the answer information.
According to the method and the device, the question information is extracted from the first information, the response information corresponding to each question information is searched from the second information, and the mapping relation between the question information and the response information is established under the condition that the response information corresponding to the question information exists in the second information, so that the purpose of automatically establishing the mapping relation between the question information and the response information is achieved, the problem that multiple responses are carried out on the same question information is avoided, and the question and answer efficiency is improved.
An electronic device provided in an embodiment of the present application may be as shown in fig. 7, where the electronic device at least includes a memory 701 and a processor 702, the memory 701 stores a computer program, and the processor 702 implements the method provided in any embodiment of the present application when executing the computer program in the memory 701. Illustratively, the electronic device computer program steps are as follows S21 to S23:
s21, acquiring a plurality of first information and second information; wherein the first information and the second information originate from different electronic devices;
s22, extracting question information from the first information, and searching reply information corresponding to each question information from the second information, wherein the question information is characters, and the reply information is audio and/or video;
s23, under the condition that answer information corresponding to the question information exists in the second information, establishing a mapping relation between the question information and the answer information.
According to the method and the device for establishing the mapping relationship between the question information and the answer information, the question information is extracted from the first information, the answer information corresponding to each question information is searched from the second information, and the mapping relationship between the question information and the answer information is established under the condition that the answer information corresponding to the question information exists in the second information, so that the purpose of automatically establishing the mapping relationship between the question information and the answer information is achieved, the problem that multiple times of answers are carried out on the same question information is avoided, and the question answering efficiency is improved.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes. Optionally, in this embodiment, the processor executes the method steps described in the above embodiments according to the program code stored in the storage medium. Optionally, for a specific example in this embodiment, reference may be made to the examples described in the above embodiment and optional implementation, and this embodiment is not described herein again. It will be apparent to those skilled in the art that the modules or steps of the present application described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a memory device and executed by a computing device, and in some cases, the steps shown or described may be executed out of order, or separately as integrated circuit modules, or multiple modules or steps thereof may be implemented as a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
Moreover, although exemplary embodiments have been described herein, the scope thereof includes any and all embodiments based on the present application with equivalent elements, modifications, omissions, combinations (e.g., of various embodiments across), adaptations or alterations. The elements of the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application, which examples are to be construed as non-exclusive. It is intended, therefore, that the specification and examples be considered as exemplary only, with a true scope and spirit being indicated by the following claims and their full scope of equivalents.
The above description is intended to be illustrative and not restrictive. For example, the above-described examples (or one or more versions thereof) may be used in combination with each other. For example, other embodiments may be utilized by those of ordinary skill in the art upon reading the foregoing description. In addition, in the above detailed description, various features may be grouped together to streamline the application. This should not be interpreted as an intention that a disclosed feature not claimed is essential to any claim. Rather, subject matter of the present application may lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the detailed description as examples or embodiments, with each claim standing on its own as a separate embodiment, and it is contemplated that these embodiments may be combined with each other in various combinations or permutations. The scope of the application should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The embodiments of the present application have been described in detail, but the present application is not limited to these specific embodiments, and those skilled in the art can make various modifications and changes based on the concept of the present application, and these modifications and changes should fall within the scope of the present application.

Claims (10)

1. An information processing method comprising:
acquiring a plurality of first information and second information; wherein the first information and the second information originate from different electronic devices;
extracting question information from the first information, and searching answer information corresponding to each question information from the second information, wherein the question information is characters, and the answer information is audio and/or video;
and establishing a mapping relation between the question information and the answer information when the answer information corresponding to the question information exists in the second information.
2. The information processing method according to claim 1, wherein the extracting of the question information from the first information includes:
performing semantic analysis on each piece of first information to determine candidate information, wherein the candidate information comprises a question mark;
and carrying out duplicate removal processing on the candidate information to obtain the problem information.
3. The information processing method according to claim 1, wherein the searching for the reply information corresponding to each of the question information from the second information includes:
performing semantic analysis on the second information to divide the second information into a plurality of second sub information;
and searching the reply information corresponding to each question information from the second sub-information.
4. The information processing method according to claim 3, wherein the searching for the response information corresponding to each question information from the second sub-information includes:
performing semantic analysis on the question information and each second sub-information to determine one or more second sub-information associated with the question information;
and under the condition that a plurality of second sub-information associated with the question information is available, performing one or more of splicing, sorting, de-duplication and filling on the plurality of second sub-information to obtain the reply information corresponding to each question information.
5. The information processing method according to claim 3 or 4, further comprising:
determining that the relationship between each reply information is the same or opposite when a plurality of reply information corresponding to the question information are provided;
in the case that the relationship between each of the reply messages is the same, determining a reply message based on the reply time length and the number of reply words corresponding to the reply message;
in the case where the relationship between each of the reply messages is reversed, a reply message is determined based on the reply time corresponding to each of the reply messages.
6. The information processing method according to claim 1 or 3, further comprising:
setting a first tag for the question information when answer information corresponding to the question information exists in the second information;
and setting a second label for the question information when the second information does not contain the reply information corresponding to the question information.
7. The information processing method according to claim 1, further comprising:
generating a question-answer list comprising the first mapping relation based on the acquisition time of the question information and/or the occurrence number of the question information;
and displaying through the first device and/or the second device.
8. The information processing method according to claim 6, further comprising:
continuously acquiring first information;
displaying the question information in a first form under the condition that the question-answer list comprises the question information in the first information;
displaying the question information in a second form under the condition that the question information in the first information is not included in the question and answer list;
the question information and the question-answer list exist in different display interfaces.
9. The information processing method according to claim 7, further comprising:
continuously acquiring second information;
and updating the question-answer list based on the response information when the second information comprises the response information corresponding to the question information.
10. An electronic device, comprising:
an acquisition module configured to acquire a plurality of first information and second information; wherein the first information and the second information originate from different electronic devices;
the extracting module is configured to extract question information from the first information and search reply information corresponding to each question information from the second information, wherein the question information is text, and the reply information is audio and/or video;
the establishing module is configured to establish a mapping relation between the question information and the reply information when the reply information corresponding to the question information exists in the second information.
CN202210966736.9A 2022-08-12 2022-08-12 Information processing method and electronic equipment Active CN115412745B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210966736.9A CN115412745B (en) 2022-08-12 2022-08-12 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210966736.9A CN115412745B (en) 2022-08-12 2022-08-12 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN115412745A true CN115412745A (en) 2022-11-29
CN115412745B CN115412745B (en) 2024-02-27

Family

ID=84160292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210966736.9A Active CN115412745B (en) 2022-08-12 2022-08-12 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN115412745B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649404A (en) * 2015-11-04 2017-05-10 陈包容 Session scene database creation method and apparatus
CN108595494A (en) * 2018-03-15 2018-09-28 腾讯科技(深圳)有限公司 The acquisition methods and device of reply message
CN109902158A (en) * 2019-01-24 2019-06-18 平安科技(深圳)有限公司 Voice interactive method, device, computer equipment and storage medium
CN111401922A (en) * 2020-03-09 2020-07-10 联想(北京)有限公司 Question and answer information processing method and device and computer equipment
CN113139039A (en) * 2021-05-06 2021-07-20 京东数字科技控股股份有限公司 Dialogue data processing method, device, equipment and storage medium
CN113821612A (en) * 2021-07-14 2021-12-21 腾讯科技(深圳)有限公司 Information searching method and device
CN114430490A (en) * 2022-01-20 2022-05-03 阿里巴巴(中国)有限公司 Live question and answer and interface display method and computer storage medium
CN114547244A (en) * 2022-02-17 2022-05-27 北京沃东天骏信息技术有限公司 Method and apparatus for determining information
CN114817488A (en) * 2021-01-29 2022-07-29 腾讯科技(深圳)有限公司 Information processing method and device in live broadcast, electronic equipment and storage medium
CN114880449A (en) * 2022-05-17 2022-08-09 平安科技(深圳)有限公司 Reply generation method and device of intelligent question answering, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649404A (en) * 2015-11-04 2017-05-10 陈包容 Session scene database creation method and apparatus
CN108595494A (en) * 2018-03-15 2018-09-28 腾讯科技(深圳)有限公司 The acquisition methods and device of reply message
CN109902158A (en) * 2019-01-24 2019-06-18 平安科技(深圳)有限公司 Voice interactive method, device, computer equipment and storage medium
CN111401922A (en) * 2020-03-09 2020-07-10 联想(北京)有限公司 Question and answer information processing method and device and computer equipment
CN114817488A (en) * 2021-01-29 2022-07-29 腾讯科技(深圳)有限公司 Information processing method and device in live broadcast, electronic equipment and storage medium
CN113139039A (en) * 2021-05-06 2021-07-20 京东数字科技控股股份有限公司 Dialogue data processing method, device, equipment and storage medium
CN113821612A (en) * 2021-07-14 2021-12-21 腾讯科技(深圳)有限公司 Information searching method and device
CN114430490A (en) * 2022-01-20 2022-05-03 阿里巴巴(中国)有限公司 Live question and answer and interface display method and computer storage medium
CN114547244A (en) * 2022-02-17 2022-05-27 北京沃东天骏信息技术有限公司 Method and apparatus for determining information
CN114880449A (en) * 2022-05-17 2022-08-09 平安科技(深圳)有限公司 Reply generation method and device of intelligent question answering, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115412745B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
CN110020437B (en) Emotion analysis and visualization method combining video and barrage
CN110837579A (en) Video classification method, device, computer and readable storage medium
CN106844685B (en) Method, device and server for identifying website
CN108269128B (en) Advertisement putting method, device, equipment and storage medium
US20160133148A1 (en) Intelligent content analysis and creation
CN110781668B (en) Text information type identification method and device
CN107679070B (en) Intelligent reading recommendation method and device and electronic equipment
CN112699645B (en) Corpus labeling method, apparatus and device
CN112541095B (en) Video title generation method and device, electronic equipment and storage medium
CN113254708A (en) Video searching method and device, computer equipment and storage medium
CN112995690B (en) Live content category identification method, device, electronic equipment and readable storage medium
CN111241276A (en) Topic searching method, device, equipment and storage medium
CN112991848A (en) Remote education method and system based on virtual reality
CN111192170B (en) Question pushing method, device, equipment and computer readable storage medium
CN112784022A (en) Government affair FAQ knowledge base automatic construction method and device and electronic equipment
CN110111011B (en) Teaching quality supervision method and device and electronic equipment
CN114283349A (en) Data processing method and device, computer equipment and storage medium
CN115412745B (en) Information processing method and electronic equipment
CN118170878A (en) Intelligent question-answering method and system based on large model and knowledge base
CN110929519B (en) Entity attribute extraction method and device
CN115103225B (en) Video clip extraction method, device, electronic equipment and storage medium
CN118277518A (en) Question answering method, device, equipment and medium
CN112131374B (en) Text recognition method, device and server
CN114501163B (en) Video processing method, device and storage medium
CN109284364B (en) Interactive vocabulary updating method and device for voice microphone-connecting interaction

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