CN108491471B - Text information processing method and mobile terminal - Google Patents

Text information processing method and mobile terminal Download PDF

Info

Publication number
CN108491471B
CN108491471B CN201810186595.2A CN201810186595A CN108491471B CN 108491471 B CN108491471 B CN 108491471B CN 201810186595 A CN201810186595 A CN 201810186595A CN 108491471 B CN108491471 B CN 108491471B
Authority
CN
China
Prior art keywords
text information
source text
pieces
source
messages
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810186595.2A
Other languages
Chinese (zh)
Other versions
CN108491471A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810186595.2A priority Critical patent/CN108491471B/en
Publication of CN108491471A publication Critical patent/CN108491471A/en
Application granted granted Critical
Publication of CN108491471B publication Critical patent/CN108491471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a text information processing method and a mobile terminal, wherein the method is applied to the mobile terminal and comprises the following steps: acquiring at least two continuously issued source text messages; determining that there is an association between the at least two source text messages; and generating target text information for replying the at least two source text information according to the relevance. The target text information used for replying is automatically generated according to the source text information with relevance, so that the user can conveniently reply and participate in interaction, the user is prevented from manually editing the information or performing operations such as copying and pasting, and the replying efficiency is greatly improved.

Description

Text information processing method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a text information processing method and a mobile terminal.
Background
With the development of science and technology, mobile terminals such as mobile phones and tablet computers have higher and higher utilization rate in various aspects such as work, study and daily communication of people.
When a user uses an instant messaging tool, a news client, a forum client and other applications, many people often interact, commonly known as follow-up stairs.
At present, if a user wants to participate in replying, the user generally performs operations such as manually editing information or copying and pasting, and then replies to participate in interaction, so that the efficiency is low and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides a text information processing method and a mobile terminal, and aims to solve the problem of low efficiency of manual information editing and multi-person interaction.
In order to solve the technical problem, the invention is realized as follows:
a text information processing method is applied to a mobile terminal and comprises the following steps:
acquiring at least two continuously issued source text messages;
determining whether there is an association between the at least two source text messages;
and if the at least two pieces of source text information have relevance, generating target text information for replying the at least two pieces of source text information.
An embodiment of the present invention further provides a mobile terminal, including:
the source text information acquisition module is used for acquiring at least two pieces of source text information which are continuously issued;
a relevance determination module for determining whether there is a relevance between the at least two source text messages;
and the target text information generating module is used for generating target text information for replying the at least two pieces of source text information if the at least two pieces of source text information have relevance.
The embodiment of the invention provides a mobile terminal, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein the computer program realizes the steps of the text information processing method when being executed by the processor.
The embodiment of the invention provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the text information processing method are realized.
In the embodiment of the invention, at least two pieces of continuously issued source text information are acquired, if the relevance between the at least two pieces of source text information is determined, the target text information for replying the at least two pieces of source text information can be generated according to the relevance, and the target text information for replying is generated aiming at the source text information with the relevance, so that a user can conveniently reply and participate in interaction, the user is prevented from manually editing the information or manually copying, pasting and the like, and the replying efficiency is improved.
Drawings
Fig. 1 is a flowchart of a text message processing method according to an embodiment of the present invention.
Fig. 2 is a flowchart of another embodiment of a text message processing method according to the present invention.
Fig. 3 is a flowchart of a text message processing method according to another embodiment of the present invention.
Fig. 4 is a block diagram of an embodiment of a mobile terminal of the present invention.
Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of an embodiment of a text information processing method of the present invention is shown, which may specifically include the following steps:
step 101, at least two pieces of source text information which are continuously issued are obtained.
In a specific implementation, the embodiments of the present invention may be applied to a mobile terminal, such as a mobile phone, a tablet computer, a personal digital assistant, a wearable device (such as glasses, a watch, etc.), and the like.
The operating systems of these mobile terminals may include Android (Android), IOS, Windows phone, Windows, and the like.
In these operating systems, various applications, such as an instant messenger, a news client, a forum client, a microblog client, and the like, may be installed to meet various needs of users.
If the applications are detected to be started on the mobile terminal, the pages of the applications can be detected, at least two pieces of source text information which are continuously issued are obtained, and the source text information is stored in the memory.
The continuous publishing may refer to the publishing of the source text messages sequentially without interruption.
In one example, at least two consecutively received messenger messages may be extracted as source text information in a conversation window of an instant messenger.
In this example, the user performs double chat and group chat with other users in the instant messenger, and at least two communication messages continuously sent by other users are acquired in a conversation window of the chat as source text information.
In another example, at least two post information of consecutive replies may be extracted as source text information in a reply page of a news client.
In this example, a user views news on a news client, and replies post information to the news on a reply page where at least two post information of consecutive replies are extracted as source text information.
Of course, the above-mentioned obtaining manner of the source text information is only an example, and when the embodiment of the present invention is implemented, other obtaining manners of the source text information may be set according to an actual situation, for example, at least two pieces of comment information continuously replied for a certain piece of microblog information are extracted at the microblog client as the source text information, and the like, which is not limited in this embodiment of the present invention. In addition, besides the above-mentioned obtaining method of the source text information, a person skilled in the art may also adopt other obtaining methods of the source text information according to actual needs, and the embodiment of the present invention is not limited to this.
Step 102, determining whether there is a correlation between the at least two source text messages.
In the embodiment of the present invention, if at least two pieces of source text information that are continuously published are extracted, the at least two pieces of source text information may be extracted from the memory, and the relevance analysis may be performed on the at least two pieces of source text information.
If it is determined that there is an association between at least two source text messages, indicating that there may be an interaction between multiple users, such as a follow-up building, processing may continue.
Processing may be stopped if it is determined that there is no correlation between at least two source text messages, indicating that there may not be an interaction between multiple users.
Step 103, if the at least two source text messages have relevance, generating target text messages for replying the at least two source text messages.
In a specific implementation, the relevance analysis may be performed on at least two source text messages, the target text message used for replying is generated, and the relevance between the at least two source text messages and the target text message is maintained.
In the embodiment of the invention, at least two pieces of continuously issued source text information are acquired, if the relevance between the at least two pieces of source text information is determined, the target text information for replying the at least two pieces of source text information can be generated according to the relevance, and the target text information for replying is generated aiming at the source text information with the relevance, so that a user can conveniently reply and participate in interaction, the user is prevented from manually editing the information or manually copying, pasting and the like, and the replying efficiency is improved.
Referring to fig. 2, a flowchart of another embodiment of the text information processing method of the present invention is shown, and specifically may include the following steps:
step 201, at least two pieces of source text information which are continuously issued are obtained.
Step 202, determining whether the contents of the at least two source text messages are the same.
Step 203, if the contents of the at least two source text messages are the same, determining that there is a correlation between the at least two source text messages.
Step 204, if the contents of the at least two source text messages are the same, setting the source text messages as target text messages.
In an embodiment of the present invention, at least two source text messages may be compared.
If the content of at least two source text messages is the same, it can indicate that there is an association between at least two source text messages.
In this case, any one of the source text information may be set as the target text information, keeping the same content between the source text information and the target text information.
For example, in the group chat of the instant messenger, one of the users sends the communication message "@ xiaoming and sends a red packet celebration, and then the other user sends the communication message" @ xiaoming and sends a red packet celebration, and the two communication messages have relevance, at this time, "@ xiaoming and a red packet celebration can be set as the target text information.
Step 205, if the contents of the at least two source text messages are not the same, performing semantic analysis on the at least two source text messages.
And step 206, when the semantic rule of the at least two pieces of source text information is identified, judging that the at least two pieces of source text information have relevance.
Step 207, if there is a semantic rule in the at least two source text messages, obtaining text messages located behind the at least two source text messages based on the semantic rule, and using the text messages as target text messages.
Semantic Analysis (Semantic Analysis) may be performed on the at least two source text information if the contents of the at least two source text information are not the same.
Semantic analysis is a branch of Artificial Intelligence (Artificial Intelligence), is a plurality of core tasks of natural language processing technology, relates to multiple subjects such as linguistics, computational linguistics, machine learning and cognitive languages, and is helpful for promoting the rapid development of other natural language processing tasks.
Semantic analysis refers to learning and understanding semantic contents represented by a text by using various methods, and any understanding of a language can be classified into the category of semantic analysis.
A text segment is usually composed of words, sentences and paragraphs, and the semantic analysis can be further decomposed into vocabulary level semantic analysis, sentence level semantic analysis and chapter level semantic analysis according to different language units of the comprehension object.
Generally speaking, vocabulary-level semantic analysis focuses on how to obtain or distinguish the semantics of words, sentence-level semantic analysis attempts to analyze the expressed semantics of an entire sentence, and chapter semantic analysis aims at studying the inherent structure of natural language text and understanding the semantic relationships between text elements (which may be sentence clauses or paragraphs).
Briefly, the goal of semantic analysis is to realize automatic semantic analysis in each language unit (including vocabulary, sentences, chapters, etc.) by establishing an effective model and system, thereby realizing understanding of the true semantics of the whole text expression.
In the embodiment of the invention, if the semantic analysis identifies that the at least two pieces of source text information have semantic rules, the semantic rules can indicate that the at least two pieces of source text information have relevance.
At this time, a server at the cloud end can be connected, text information behind at least two pieces of source text information is retrieved through natural language processing and is used as target text information, and the semantic rule is kept between the source text information and the target text information.
For example, if the semantic rule is idiom-on, the idiom with the last word of the above one idiom (source text information) as the first word can be retrieved as the target text information.
For another example, if the semantic rule is a lyric, a lyric next to the previous lyric (source text information) may be retrieved as the target text information.
For another example, if the semantic rule is poetry, a poetry next to the previous poetry (source text information) may be retrieved as target text information.
In the embodiment of the invention, at least two pieces of source text information are compared firstly, then semantic analysis is carried out, the same relevance conforming to the semantic rule and the like is found out, the scenes with relevance such as 'tracing and building' and the like can be widely identified, the identification precision is higher, and the practicability is improved.
Referring to fig. 3, a flowchart of another embodiment of the text information processing method of the present invention is shown, and specifically may include the following steps:
step 301, at least two pieces of source text information which are continuously issued are obtained.
Step 302, determining whether there is a correlation between the at least two source text messages.
Step 303, if there is a correlation between the at least two source text messages, generating a target text message for replying the at least two source text messages.
And step 304, if the cursor is detected to be positioned in the edit box, displaying the target text information.
Step 305, when the target text information is triggered, inputting the target text information into the edit box.
In the embodiment of the present invention, if the user intends to reply to at least two source text messages, the corresponding edit box is usually clicked, and the input method is called, so that the cursor is located in the edit box.
At this time, a floating window may be generated in the vicinity of the position (e.g., upper side, lower side, etc.) of the candidate bar of the edit box or the input method, and the target text information may be displayed in the floating window.
If the target text message is triggered, for example, the user clicks the target text message, or a certain button is provided for the user to click, etc., indicating that the target text message is required by the user, the target text message may be input into the edit box, and the user may reply directly.
Of course, if the target text information is not required by the user, the user inputs the corresponding text information in the interface of the input method, and at this time, the target text information can be cancelled from being displayed.
In the embodiment of the invention, after the target text information used for replying at least two source text information with relevance is generated, if the cursor is detected to be positioned in the editing box, the target text information is displayed, and when the target text information is triggered, the target text information is input into the editing box, so that a user can directly reply by using the template text information, and the simplicity and convenience of operation are greatly improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, which shows a block diagram of an embodiment of the mobile terminal of the present invention, the mobile terminal 400 shown in fig. 4 may specifically include the following modules:
a source text information obtaining module 401, configured to obtain at least two pieces of source text information that are continuously published;
an association determining module 402, configured to determine whether there is an association between the at least two source text messages;
a target text message generating module 403, configured to generate a target text message for replying to the at least two source text messages if there is a correlation between the at least two source text messages.
In an embodiment of the present invention, the source text information obtaining module 401 includes:
the communication message extraction submodule is used for extracting at least two continuously received communication messages in a conversation window of the instant communication tool to be used as source text information;
alternatively, the first and second electrodes may be,
and the post information extraction submodule is used for extracting at least two post information which are continuously replied from a reply page of the news client as source text information.
In one embodiment of the present invention, the association determining module 402 comprises:
the same judgment submodule is used for judging whether the contents of the at least two pieces of source text information are the same or not;
and the first judgment sub-module is used for judging that the at least two pieces of source text information have relevance if the contents of the at least two pieces of source text information are the same.
In an embodiment of the present invention, the association determining module 402 further includes:
the semantic analysis submodule is used for performing semantic analysis on the at least two pieces of source text information if the contents of the at least two pieces of source text information are different;
and the second judging submodule is used for judging that the at least two pieces of source text information have relevance when the semantic rule of the at least two pieces of source text information is identified.
In an embodiment of the present invention, the target text information generating module 403 includes:
and the target text information setting submodule is used for setting the source text information as the target text information if the contents of the at least two pieces of source text information are the same.
In an embodiment of the present invention, the target text information generating module 403 includes:
and the text information acquisition sub-module is used for acquiring the text information behind the at least two pieces of source text information as the target text information based on the semantic rule if the at least two pieces of source text information have the semantic rule.
In one embodiment of the present invention, further comprising:
the target text information display module is used for displaying the target text information if the cursor is detected to be positioned in the edit box;
and the target text information input module is used for inputting the target text information into the edit box when the target text information is triggered.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
In the embodiment of the invention, at least two pieces of continuously issued source text information are acquired, if the relevance between the at least two pieces of source text information is determined, the target text information for replying the at least two pieces of source text information can be generated according to the relevance, and the target text information for replying is generated aiming at the source text information with the relevance, so that a user can conveniently reply and participate in interaction, the user is prevented from manually editing the information or manually copying, pasting and the like, and the replying efficiency is improved.
Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 510 is configured to obtain at least two source text messages that are issued consecutively; determining whether there is an association between the at least two source text messages; and if the at least two pieces of source text information have relevance, generating target text information for replying the at least two pieces of source text information.
In the embodiment of the invention, at least two pieces of continuously issued source text information are acquired, if the relevance between the at least two pieces of source text information is determined, the target text information for replying the at least two pieces of source text information can be generated according to the relevance, and the target text information for replying is generated aiming at the source text information with the relevance, so that a user can conveniently reply and participate in interaction, the user is prevented from manually editing the information or manually copying, pasting and the like, and the replying efficiency is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when being executed by the processor 510, the computer program implements each process of the above-mentioned text information processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned text information processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A text information processing method applied in a mobile terminal is characterized by comprising the following steps:
acquiring at least two continuously issued source text messages;
determining whether there is an association between the at least two source text messages; the relevance is used for judging whether the interaction between multiple users exists currently;
if the at least two source text messages have relevance, generating target text messages for replying the at least two source text messages;
the acquiring of the at least two continuously published source text messages includes:
extracting at least two continuously received communication messages from a conversation window of the instant messaging tool to serve as source text information;
alternatively, the first and second electrodes may be,
and extracting at least two post information of continuous replies from a reply page of the news client as source text information.
2. The method of claim 1, wherein the determining whether there is an association between the at least two source text messages comprises:
if the contents of the at least two source text messages are the same, judging that the at least two source text messages have relevance;
the generating of the target text information for replying to the at least two source text information comprises:
and if the contents of the at least two pieces of source text information are the same, setting the source text information as target text information.
3. The method of claim 1, wherein the determining that there is an association between the at least two source text messages further comprises:
if the contents of the at least two source text messages are different, performing semantic analysis on the at least two source text messages;
and when the semantic regularity of the at least two source text messages is identified, judging that the at least two source text messages have relevance.
4. The method of claim 3, wherein the generating the target text message for replying to the at least two source text messages according to the relevance comprises:
and if the at least two pieces of source text information have semantic rules, acquiring text information behind the at least two pieces of source text information based on the semantic rules to serve as target text information.
5. A mobile terminal, comprising:
the source text information acquisition module is used for acquiring at least two pieces of source text information which are continuously issued;
a relevance determination module for determining whether there is a relevance between the at least two source text messages; the relevance is used for judging whether the interaction between multiple users exists currently;
the target text information generating module is used for generating target text information for replying the at least two pieces of source text information if the at least two pieces of source text information have relevance;
the source text information acquisition module comprises:
the communication message extraction submodule is used for extracting at least two continuously received communication messages in a conversation window of the instant communication tool to be used as source text information;
alternatively, the first and second electrodes may be,
and the post information extraction submodule is used for extracting at least two post information which are continuously replied from a reply page of the news client as source text information.
6. The mobile terminal of claim 5, wherein the association determining module comprises:
the first judgment sub-module is used for judging that the at least two pieces of source text information have relevance if the contents of the at least two pieces of source text information are the same;
the target text information generation module includes:
and the target text information setting submodule is used for setting the source text information as the target text information if the contents of the at least two pieces of source text information are the same.
7. The mobile terminal of claim 5, wherein the association determining module further comprises:
the semantic analysis submodule is used for performing semantic analysis on the at least two pieces of source text information if the contents of the at least two pieces of source text information are different;
and the second judging submodule is used for judging that the at least two pieces of source text information have relevance when the semantic rule of the at least two pieces of source text information is identified.
8. The mobile terminal of claim 7, wherein the target text information generating module comprises:
and the text information acquisition sub-module is used for acquiring the text information behind the at least two pieces of source text information as the target text information based on the semantic rule if the at least two pieces of source text information have the semantic rule.
CN201810186595.2A 2018-03-07 2018-03-07 Text information processing method and mobile terminal Active CN108491471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810186595.2A CN108491471B (en) 2018-03-07 2018-03-07 Text information processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810186595.2A CN108491471B (en) 2018-03-07 2018-03-07 Text information processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108491471A CN108491471A (en) 2018-09-04
CN108491471B true CN108491471B (en) 2020-11-20

Family

ID=63341718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810186595.2A Active CN108491471B (en) 2018-03-07 2018-03-07 Text information processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108491471B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977210B (en) * 2019-03-25 2022-05-31 联想(北京)有限公司 Information reply method, device and equipment
CN110109608B (en) * 2019-05-17 2020-12-29 北京达佳互联信息技术有限公司 Text display method, text display device, text display terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294373A (en) * 2015-05-15 2017-01-04 阿里巴巴集团控股有限公司 Review information answering method and device
CN106844734A (en) * 2017-02-13 2017-06-13 长沙军鸽软件有限公司 A kind of method for automatically generating session reply content
CN103269310B (en) * 2012-12-18 2017-08-25 北京奇虎科技有限公司 The dissemination method and system of group's exchange of information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9570090B2 (en) * 2015-05-26 2017-02-14 Google Inc. Dialog system with automatic reactivation of speech acquiring mode
US10223440B2 (en) * 2015-06-29 2019-03-05 International Business Machines Corporation Question and answer system emulating people and clusters of blended people

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103269310B (en) * 2012-12-18 2017-08-25 北京奇虎科技有限公司 The dissemination method and system of group's exchange of information
CN106294373A (en) * 2015-05-15 2017-01-04 阿里巴巴集团控股有限公司 Review information answering method and device
CN106844734A (en) * 2017-02-13 2017-06-13 长沙军鸽软件有限公司 A kind of method for automatically generating session reply content

Also Published As

Publication number Publication date
CN108491471A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN110418208B (en) Subtitle determining method and device based on artificial intelligence
CN110798397B (en) File sending method and device and electronic equipment
CN108494947B (en) Image sharing method and mobile terminal
CN108334196B (en) File processing method and mobile terminal
CN109388456B (en) Head portrait selection method and mobile terminal
CN109412932B (en) Screen capturing method and terminal
CN111614544B (en) Message processing method and electronic equipment
CN109543014B (en) Man-machine conversation method, device, terminal and server
CN109753202B (en) Screen capturing method and mobile terminal
CN110971510A (en) Message processing method and electronic equipment
CN109189303B (en) Text editing method and mobile terminal
CN111125307A (en) Chat record query method and electronic equipment
KR102511456B1 (en) Character input method and terminal
CN108491471B (en) Text information processing method and mobile terminal
CN109063076B (en) Picture generation method and mobile terminal
CN110750198A (en) Expression sending method and mobile terminal
CN108710521B (en) Note generation method and terminal equipment
CN108595107B (en) Interface content processing method and mobile terminal
CN108765522B (en) Dynamic image generation method and mobile terminal
CN108520760B (en) Voice signal processing method and terminal
CN107819936B (en) Short message classification method, mobile terminal and storage medium
CN111597435B (en) Voice search method and device and electronic equipment
CN107957789B (en) Text input method and mobile terminal
CN110825475A (en) Input method and electronic equipment
CN111353422B (en) Information extraction method and device and electronic equipment

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