CN108491471A - A kind of processing method of text message, mobile terminal - Google Patents
A kind of processing method of text message, mobile terminal Download PDFInfo
- Publication number
- CN108491471A CN108491471A CN201810186595.2A CN201810186595A CN108491471A CN 108491471 A CN108491471 A CN 108491471A CN 201810186595 A CN201810186595 A CN 201810186595A CN 108491471 A CN108491471 A CN 108491471A
- Authority
- CN
- China
- Prior art keywords
- information
- source
- text information
- relevance
- texts
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
An embodiment of the present invention provides a kind of processing method of text message, mobile terminal, this method is applied in the terminal, including:Obtain at least two source text information continuously issued;Determine between at least two source texts information that there is relevance;The target text information for replying at least two source texts information is generated according to the relevance.For the source text information with relevance, it is automatically generated for the target text information replied, facilitates user to reply and participates in interactive, avoid user by manual editing's information, alternatively, the operations such as replicated, pasted, substantially increases the efficiency of reply.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of processing method of text message, mobile terminals.
Background technology
With the development of science and technology, the mobile terminals such as mobile phone, tablet computer, in the work of people, study, daily exchange
Etc. various aspects utilization rate it is also higher and higher.
When user uses instant messaging tools, news client, forum's client etc. in application, often more people carry out mutually
It is dynamic, it is commonly called as follow-up lid building.
Currently, if user wants participate in replying, generally by manual editing's information, alternatively, replicated,
The operations such as stickup, and then reply and participate in interactive, less efficient, poor user experience.
Invention content
The embodiment of the present invention provides a kind of processing method of text message, mobile terminal, to solve manual editing's information ginseng
The less efficient problem with multi-person interactive.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
A kind of processing method of text message, using in the terminal, including:
Obtain at least two source text information continuously issued;
Determine between at least two source texts information whether there is relevance;
If having relevance between at least two source texts information, generate for replying at least two source document
The target text information of this information.
The embodiment of the present invention additionally provides a kind of mobile terminal, including:
Source text data obtaining module, for obtaining at least two source text information continuously issued;
Whether relevance determining module has relevance for determining between at least two source texts information;
Target text information generating module is given birth to if for having relevance between at least two source texts information
At the target text information for replying at least two source texts information.
An embodiment of the present invention provides a kind of mobile terminal, including processor, memory and it is stored on the memory
And the computer program that can be run on the processor, when the computer program is executed by the processor described in realization
The step of processing method of text message.
An embodiment of the present invention provides a kind of computer readable storage medium, stored on the computer readable storage medium
Computer program, when the computer program is executed by processor the step of the processing method of the realization text message.
In embodiments of the present invention, at least two source text information continuously issued are obtained, however, it is determined that at least two source documents
There is relevance between this information, then can generate the target text for replying at least two source text information according to relevance
Information generates the target text information for reply for the source text information with relevance, facilitates user to reply participation mutual
It is dynamic, it avoids user by manual editing's information, alternatively, the operations such as replicated, pasted manually, improves the efficiency of reply.
Description of the drawings
Fig. 1 is the flow chart of the processing method embodiment of the text message of the present invention.
Fig. 2 is the flow chart of another embodiment of processing method of the text message of the present invention.
Fig. 3 is the flow chart of the another embodiment of processing method of the text message of the present invention.
Fig. 4 is the block diagram of the mobile terminal embodiment of the present invention.
A kind of hardware architecture diagram of Fig. 5 mobile terminals of each embodiment to realize the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, show the present invention text message processing method embodiment flow chart, can specifically include as
Lower step:
Step 101, at least two source text information continuously issued are obtained.
In the concrete realization, the embodiment of the present invention can be applied in the terminal, for example, mobile phone, tablet computer, individual
Digital assistants, wearable device (such as glasses, wrist-watch) etc..
The operating system of these mobile terminals may include Android (Android), IOS, WindowsPhone, Windows
Etc..
In these operating systems, various applications can be installed, for example, immediate communication tool, news client, forum visitor
Family end, microblogging client, etc., to meet the various demands of user.
Start these applications in mobile terminal if detecting, the page of these applications can be detected, the company of acquisition
At least two source text information of supervention cloth, in storage to memory.
So-called continuous publication can refer to successively issue in sequence between source text information, not interrupt.
In one example, at least two communications continuously received can be extracted in the session window of immediate communication tool
Message, as source text information.
In this example, user carries out double chat, group chatting in immediate communication tool and other users, in chat
At least two communication messages that other users continuously transmit are obtained in session window, as source text information.
In another example, at least two models continuously replied can be extracted in the money order receipt to be signed and returned to the sender page of news client
Information, as source text information.
In this example, user watches news in news client, and replys post information to news in the money order receipt to be signed and returned to the sender page,
The money order receipt to be signed and returned to the sender page extracts at least two post informations continuously replied, as source text information.
Certainly, the acquisition modes of above-mentioned source text information are intended only as example, when implementing the embodiment of the present invention, Ke Yigen
The acquisition modes of other source text information are set according to actual conditions, for example, being directed to certain micro-blog information in the extraction of microblogging client
At least two comment informations continuously replied, as source text information, etc., the embodiment of the present invention does not limit this.Separately
Outside, other than the acquisition modes of above-mentioned source text information, those skilled in the art can also use other sources according to actual needs
The acquisition modes of text message, the embodiment of the present invention also do not limit this.
Step 102, determine between at least two source texts information whether there is relevance.
It in embodiments of the present invention, can be from memory if being extracted at least two source text information continuously issued
Middle extraction at least two source texts information, the analysis to its being associated property.
If it is determined that having relevance between at least two source text information, indicate to may be currently between multi-user
Interaction, such as follow-up lid building can then continue to handle.
If it is determined that not having relevance between at least two source text information, indicate to may not be currently in multi-user
Between interaction, then can stop being handled.
Step 103, if having relevance between at least two source texts information, generate for reply it is described at least
The target text information of two source text information.
In the concrete realization, it can be directed to the analysis of at least two being associated property of source text information, generated for replying
Target text information, and keep the relevance between at least two source text information and target text information.
In embodiments of the present invention, at least two source text information continuously issued are obtained, however, it is determined that at least two source documents
There is relevance between this information, then can generate the target text for replying at least two source text information according to relevance
Information generates the target text information for reply for the source text information with relevance, facilitates user to reply participation mutual
It is dynamic, it avoids user by manual editing's information, alternatively, the operations such as replicated, pasted manually, improves the efficiency of reply.
With reference to Fig. 2, the flow chart of the processing method another kind embodiment of the text message of the present invention is shown, it specifically can be with
Include the following steps:
Step 201, at least two source text information continuously issued are obtained.
Step 202, judge whether the content of at least two source texts information is identical.
Step 203, if the content of at least two source texts information is identical, judge at least two source text
There is relevance between information.
Step 204, if the content of at least two source texts information is identical, the source text information is set to mesh
Mark text message.
In embodiments of the present invention, at least two source text information can be compared.
If the content of at least two source text information is identical, it can indicate have between at least two source text information
Relevance.
In this case, it is possible to set any source text information to target text information, source text information and mesh are kept
Content is identical between marking text message.
For example, in the group chatting of immediate communication tool, one of user sends communication message, and " Xiao Ming, hair are red
Packet is celebrated ", then another user sends communication message "@Xiao Ming sends out a red packet and celebrates ", the two communication messages
Between there is relevance, "@Xiao Ming sends out a red packet and celebrates " is used as target text information at this point it is possible to be arranged.
Step 205, if the content of at least two source texts information differs, at least two source text
Information carries out semantic analysis.
Step 206, when identifying that at least two source texts information has semantic rule, judgement described at least two
There is relevance between source text information.
Step 207, if at least two source texts information has semantic rule, it is located at based on the semantic rule acquisition
Text message after at least two source texts information, as target text information.
If the content of at least two source text information differs, at least two source text information can be carried out semantic
It analyzes (Semantic Analysis).
Semantic analysis is a branch of artificial intelligence (Artificial Intelligence), is natural language processing
Several core missions of technology are related to multiple subjects such as linguistics, computational linguistics, machine learning, and cognition language, semantic
Analysis task peomotes the fast development of other natural language processing tasks.
Semantic analysis refers to various methods, learns and understands the semantic content represented by one section of text, any to language
Understanding can be classified as the scope of semantic analysis.
One section of text is usually made of word, sentence and paragraph, according to the linguistic unit difference for understanding object, semantic analysis
It can be further broken into the semantic analysis of vocabulary grade, Sentence-level semantic analysis and chapter grade semantic analysis again.
In general, the semantic analysis of vocabulary grade is concerned with the semanteme for how obtaining or distinguishing word, Sentence-level semanteme point
Analysis then attempts to analyze the semanteme expressed by entire sentence, and discourse semantics analysis is intended to the immanent structure of research natural language text
And understand the semantic relation between text unit (can be sentence subordinate clause or paragraph).
Simply, the target of semantic analysis is exactly by establishing effective model and system, realizing in each language list
The automatic semantic analysis of position (including vocabulary, sentence and chapter etc.), to realize the true semanteme for understanding entire text representation.
In embodiments of the present invention, if identifying that at least two source text information have semantic rule by semantic analysis
When, then it can indicate that there is relevance between at least two source text information.
At this point it is possible to connect the server in high in the clouds, at least two source text information are located at by natural language processing retrieval
Text message later keeps keeping the semanteme to advise between source text information and target text information as target text information
Rule.
For example, if semantic rule is Chinese idiom building sequence, can retrieve the above Chinese idiom (source text information) last
Chinese idiom of a word as lead-in, as target text information.
In another example if semantic rule is the lyrics, a lyrics (source text information) next one can be retrieved
The sentence lyrics, as target text information.
In another example if semantic rule is poem, a poem (source text information) next one can be retrieved
Sentence poem, as target text information.
In embodiments of the present invention, at least two source text information are carried out first comparing between text, then carries out semanteme
Analysis, find out it is identical, meet the relevances such as semantic rule, can broadly cover identification " follow-up lid building " etc. with relevance
Scene, accuracy of identification is higher, improves practicability.
With reference to Fig. 3, the flow chart of another embodiment of the processing method of text message of the present invention is shown, it specifically can be with
Include the following steps:
Step 301, at least two source text information continuously issued are obtained.
Step 302, determine between at least two source texts information whether there is relevance.
Step 303, if having relevance between at least two source texts information, generate for reply it is described at least
The target text information of two source text information.
Step 304, if detect that cursor is located at edit box, the target text information is shown.
Step 305, when the target text information is triggered, by the target text information input to the edit box
In.
In embodiments of the present invention, if at least two source text information of user view pair is replied, phase is frequently clicked on
The edit box answered calls input method so that cursor is located in the edit box.
At this point it is possible near the positions such as the candidate bar of the edit box or input method (such as upside, downside), generate
One suspended window shows target text information in the suspended window.
If the target text information is triggered, for example, user clicks the target text information, determined alternatively, providing one
Button for user click, etc., indicate the target text information be user needed for, then can be by the target text information input extremely
In the edit box, user can directly reply.
Certainly, if the target text information is not needed for user, user inputs corresponding text in the interface of input method
This information, at this point it is possible to the revocation token target text information.
In embodiments of the present invention, the target text for replying at least two source text information with relevance is being generated
After this information, if if when detecting that cursor is located at edit box, target text information is shown, when target text information is touched
When hair, by target text information input to edit box, user can directly be replied using template text message, be carried significantly
The high simplicity of operation.
It should be noted that for embodiment of the method, for simple description, therefore it is all expressed as a series of action group
It closes, but those skilled in the art should understand that, the embodiment of the present invention is not limited by the described action sequence, because according to
According to the embodiment of the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
With reference to Fig. 4, show that the block diagram of the mobile terminal embodiment of the present invention, mobile terminal 400 shown in Fig. 4 specifically may be used
To include following module:
Source text data obtaining module 401, for obtaining at least two source text information continuously issued;
Whether relevance determining module 402 has relevance for determining between at least two source texts information;
Target text information generating module 403, if for having relevance between at least two source texts information,
Generate the target text information for replying at least two source texts information.
In one embodiment of the invention, the source text data obtaining module 401 includes:
Communication message extracting sub-module, for extracting continuously receive at least two in the session window of immediate communication tool
A communication message, as source text information;
Alternatively,
Post information extracting sub-module, for extracting continuously reply at least two in the money order receipt to be signed and returned to the sender page of news client
Post information, as source text information.
In one embodiment of the invention, the relevance determining module 402 includes:
Whether identical judging submodule, the content for judging at least two source texts information are identical;
First decision sub-module, if the content for at least two source texts information is identical, described in judgement extremely
There is relevance between few two source text information.
In one embodiment of the invention, the relevance determining module 402 further includes:
Semantic analysis submodule, if the content for at least two source texts information differs, to it is described extremely
Few two source text information carry out semantic analysis;
Second decision sub-module, for when identifying that at least two source texts information has semantic rule, judging
There is relevance between at least two source texts information.
In one embodiment of the invention, the target text information generating module 403 includes:
Submodule is arranged in target text information, if the content for at least two source texts information is identical, by institute
It states source text information and is set as target text information.
In one embodiment of the invention, the target text information generating module 403 includes:
Text message acquisition submodule, if there is semantic rule for at least two source texts information, based on described
Semantic rule obtains the text message being located at after at least two source texts information, as target text information.
In one embodiment of the invention, further include:
Target text information display module, if when for detecting that cursor is located at edit box, showing the target text letter
Breath;
Target text MIM message input module, for when the target text information is triggered, the target text to be believed
Breath is input in the edit box.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 3
Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, at least two source text information continuously issued are obtained, however, it is determined that at least two source documents
There is relevance between this information, then can generate the target text for replying at least two source text information according to relevance
Information generates the target text information for reply for the source text information with relevance, facilitates user to reply participation mutual
It is dynamic, it avoids user by manual editing's information, alternatively, the operations such as replicated, pasted manually, improves the efficiency of reply.
A kind of hardware architecture diagram of Fig. 5 mobile terminals of each embodiment to realize the present invention.
The mobile terminal 500 includes but not limited to:It is radio frequency unit 501, network module 502, audio output unit 503, defeated
Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor
The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, either combine certain components or
Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 510, for obtaining at least two source text information continuously issued;Determine described at least two
Whether there is relevance between source text information;If having relevance between at least two source texts information, use is generated
In the target text information for replying at least two source texts information.
In embodiments of the present invention, at least two source text information continuously issued are obtained, however, it is determined that at least two source documents
There is relevance between this information, then can generate the target text for replying at least two source text information according to relevance
Information generates the target text information for reply for the source text information with relevance, facilitates user to reply participation mutual
It is dynamic, it avoids user by manual editing's information, alternatively, the operations such as replicated, pasted manually, improves the efficiency of reply.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 501 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by radio communication system and network and other set
Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 502 and has accessed, and such as user is helped to receive
Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 503 can receive radio frequency unit 501 or network module 502 or in memory 509
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loud speaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited
Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike
Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output of mobile communication base station can be sent to via radio frequency unit 501 by being converted in the case of telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear
Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family is arranged and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and
Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071
Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area
It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments
5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it
On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touch
The type for touching event provides corresponding visual output on display panel 5061.Although in Figure 5, touch panel 5071 and display
Panel 5061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place does not limit.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal
Transmission data between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage
Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Reason device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511
Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in
On memory 509 and the computer program that can be run on the processor 510, the computer program are executed by processor 510
Each process of the processing method embodiment of the above-mentioned text messages of Shi Shixian, and identical technique effect can be reached, to avoid weight
Multiple, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each mistake of the processing method embodiment of above-mentioned text message when being executed by processor
Journey, and identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium
Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within the protection of the present invention.
Claims (10)
1. a kind of processing method of text message, using in the terminal, which is characterized in that including:
Obtain at least two source text information continuously issued;
Determine between at least two source texts information whether there is relevance;
If having relevance between at least two source texts information, generate for replying at least two source texts letter
The target text information of breath.
2. according to the method described in claim 1, it is characterized in that, described obtain at least two source texts letter continuously issued
Breath, including:
At least two communication messages continuously received are extracted in the session window of immediate communication tool, as source text information;
Alternatively,
At least two post informations continuously replied are extracted in the money order receipt to be signed and returned to the sender page of news client, as source text information.
3. method according to claim 1 or 2, which is characterized in that the determination at least two source texts information it
Between whether have relevance, including:
If the content of at least two source texts information is identical, judge have between at least two source texts information
Relevance;
Target text information of the generation for replying at least two source texts information, including:
If the content of at least two source texts information is identical, it sets the source text information to target text information.
4. method according to claim 1 or 2, which is characterized in that the determination at least two source texts information it
Between have relevance, further include:
If the content of at least two source texts information differs, at least two source texts information is carried out semantic
Analysis;
When identifying that at least two source texts information has semantic rule, judge at least two source texts information it
Between have relevance.
5. according to the method described in claim 4, it is characterized in that, it is described according to the relevance generate for reply it is described extremely
The target text information of few two source text information, including:
If at least two source texts information has semantic rule, is obtained based on the semantic rule and be located at described at least two
Text message after source text information, as target text information.
6. a kind of mobile terminal, which is characterized in that including:
Source text data obtaining module, for obtaining at least two source text information continuously issued;
Whether relevance determining module has relevance for determining between at least two source texts information;
Target text information generating module generates use if for having relevance between at least two source texts information
In the target text information for replying at least two source texts information.
7. the mobile terminal described according to claim 6 or 7, which is characterized in that the source text data obtaining module includes:
Communication message extracting sub-module, it is logical for extracting continuously receive at least two in the session window of immediate communication tool
Message is interrogated, as source text information;
Alternatively,
Post information extracting sub-module, for extracting at least two models continuously replied in the money order receipt to be signed and returned to the sender page of news client
Information, as source text information.
8. the mobile terminal described according to claim 6 or 7, which is characterized in that the relevance determining module includes:
First decision sub-module, if the content for at least two source texts information is identical, at least two described in judgement
There is relevance between a source text information;
The target text information generating module includes:
Submodule is arranged in target text information, if the content for at least two source texts information is identical, by the source
Text message is set as target text information.
9. the mobile terminal described according to claim 6 or 7, which is characterized in that the relevance determining module further includes:
Semantic analysis submodule, if the content for at least two source texts information differs, to described at least two
A source text information carries out semantic analysis;
Second decision sub-module, for when identifying that at least two source texts information has semantic rule, described in judgement
There is relevance between at least two source text information.
10. mobile terminal according to claim 9, which is characterized in that the target text information generating module includes:
Text message acquisition submodule is based on the semanteme if there is semantic rule for at least two source texts information
Rule obtains the text message being located at after at least two source texts information, as target text information.
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 true CN108491471A (en) | 2018-09-04 |
CN108491471B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109977210A (en) * | 2019-03-25 | 2019-07-05 | 联想(北京)有限公司 | A kind of information replying method, device and equipment |
CN110109608A (en) * | 2019-05-17 | 2019-08-09 | 北京达佳互联信息技术有限公司 | Text display method, device, terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160351206A1 (en) * | 2015-05-26 | 2016-12-01 | Speaktoit, Inc. | Dialog system with automatic reactivation of speech acquiring mode |
US20160378852A1 (en) * | 2015-06-29 | 2016-12-29 | International Business Machines Corporation | Question and answer system emulating people and clusters of blended people |
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 |
-
2018
- 2018-03-07 CN CN201810186595.2A patent/CN108491471B/en active Active
Patent Citations (5)
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 |
US20160351206A1 (en) * | 2015-05-26 | 2016-12-01 | Speaktoit, Inc. | Dialog system with automatic reactivation of speech acquiring mode |
US20160378852A1 (en) * | 2015-06-29 | 2016-12-29 | International Business Machines Corporation | Question and answer system emulating people and clusters of blended people |
CN106844734A (en) * | 2017-02-13 | 2017-06-13 | 长沙军鸽软件有限公司 | A kind of method for automatically generating session reply content |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109977210A (en) * | 2019-03-25 | 2019-07-05 | 联想(北京)有限公司 | A kind of information replying method, device and equipment |
CN110109608A (en) * | 2019-05-17 | 2019-08-09 | 北京达佳互联信息技术有限公司 | Text display method, device, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108491471B (en) | 2020-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109960813A (en) | A kind of interpretation method, mobile terminal and computer readable storage medium | |
CN108415652A (en) | A kind of text handling method and mobile terminal | |
CN108616446A (en) | A kind of message display method, mobile terminal | |
CN109857494A (en) | A kind of message prompt method and terminal device | |
CN109543014B (en) | Man-machine conversation method, device, terminal and server | |
CN108075966A (en) | A kind of message treatment method and mobile terminal | |
CN107862059A (en) | A kind of song recommendations method and mobile terminal | |
CN109308178A (en) | A kind of voice drafting method and its terminal device | |
CN110471589A (en) | Information display method and terminal device | |
CN108093130A (en) | A kind of method and mobile terminal for searching contact person | |
CN110069675A (en) | A kind of search method and mobile terminal | |
CN110149628A (en) | A kind of information processing method and terminal device | |
CN110096203A (en) | A kind of screenshot method and mobile terminal | |
CN109491632A (en) | A kind of resource sharing method and terminal | |
CN114357278A (en) | Topic recommendation method, device and equipment | |
CN108897482A (en) | A kind of information display method and terminal device | |
CN108491471A (en) | A kind of processing method of text message, mobile terminal | |
CN109348035A (en) | A kind of recognition methods of telephone number and terminal device | |
CN109063076A (en) | A kind of Picture Generation Method and mobile terminal | |
CN109032380A (en) | A kind of character input method and terminal | |
CN108632465A (en) | A kind of method and mobile terminal of voice input | |
CN108765522A (en) | A kind of dynamic image generation method and mobile terminal | |
CN108462794A (en) | A kind of method for information display and mobile terminal | |
CN108459813A (en) | A kind of searching method and mobile terminal | |
CN108388397A (en) | A kind of information processing method and terminal |
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 |