CN105450853A - Method and apparatus for preventing wrong sending of chatting information, and mobile terminal - Google Patents

Method and apparatus for preventing wrong sending of chatting information, and mobile terminal Download PDF

Info

Publication number
CN105450853A
CN105450853A CN201510742233.3A CN201510742233A CN105450853A CN 105450853 A CN105450853 A CN 105450853A CN 201510742233 A CN201510742233 A CN 201510742233A CN 105450853 A CN105450853 A CN 105450853A
Authority
CN
China
Prior art keywords
message
user
chat
sent
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510742233.3A
Other languages
Chinese (zh)
Other versions
CN105450853B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510742233.3A priority Critical patent/CN105450853B/en
Publication of CN105450853A publication Critical patent/CN105450853A/en
Application granted granted Critical
Publication of CN105450853B publication Critical patent/CN105450853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and apparatus for preventing wrong sending of chatting information, and a mobile terminal. The method comprises: whether entrance into a multi-user multi-group chatting scene is carried out; if so, a monitoring prevention mode is started; to-be-sent text information of a user is obtained; a key word is extracted from the to-be-sent text information; statistics of the number of times of matching of the key word in all social chatting App program conversations is carried out; whether the number of times of matching in other social chatting App program conversations exceeds an early-warning threshold value and whether the number of times of matching in other social chatting App program conversations exceeds the number of times of matching in a current conversion are compared; if so, an early-warning prompting message is pushed and the user is queried whether the to-be-sent text information is sent; and otherwise, the to-be-sent text information is sent immediately. With the method, because a plurality of conversation windows occurring simultaneously are monitored, wrong information sending is prevented before occurrence, thereby effectively reducing the probability of wrong sending of a message, avoiding the misunderstanding embarrassment, and improving the user experience.

Description

A kind of method, device and mobile terminal preventing chat message mistake to send out
Technical field
The present invention relates to the communication technical field of mobile terminal, particularly a kind of method, device and mobile terminal preventing chat message mistake to send out.
Background technology
Social software is used to chat, it is the social mode that mobile phone users does not almost stop repetition every day, the rate of installing and using of social software is very high, mobile phone users can realize the instant communication on the Internet or mobile network by the P-2-P technology of social software, sometimes with several good friend or several group chatting while of needs, and content or different topics.
Text chat function is instant messaging App application program is substantially the most also most important function.When mobile phone users is want to initiate to chat with good friend or contact person, generally can by clicking the head portrait of good friend on chat window interface or contact person, in the dialog box ejected, then inputting word information is clicked transmission and can be pushed out.
The APP application such as to chat from the social software of QQ, MSN etc. before to instantly popular micro-letter, rice, text chat function is all provided, meets the instant messaging requirement of the point-to-point Word message of user.But, user when using the chat of above-mentioned social software, sometimes need simultaneously with several good friend or several group chatting, and content or different topics.In this case; frequent meeting occurs misplaying word and situation about being sent by the Word message of mistake in chat process; the message that such as occurs again accidentally sending out wrong, just issued good friend or the group of another topic with the topic of good friend's chat, consequence can be very awkward.Although some social software provides the function of destruction operation, cancel not in time, the other side sees message, and the effect of mending the fold after the sheep is lost is also little, preferably can prevent to send out mistake.
Summary of the invention
The object of the invention is to overcome the shortcoming of prior art and deficiency, a kind of method, device and the mobile terminal that prevent chat message mistake to send out are provided.
According to disclosed embodiment, the first method of the present invention proposes a kind of method of preventing chat message mistake to send out, and comprises the following steps:
Detect and whether enter many people's many group chattings sights, if detect, then start monitoring avoidance mode;
Obtain the text message to be sent of user;
Keyword is extracted from described text message to be sent;
Add up the matching times of described keyword in each social chat App application program conversation;
Whether the matching times in social chat App application program conversation described in comparison other each exceedes early warning threshold values, and compare other each described in matching times in social chat App application program conversation whether exceed matching times in current social activity chat App application program conversation, if all exceed, then push early warning reminder message inquiry user and whether send out wrong described text message to be sent, otherwise, send described text message to be sent at once.
Further, whether described detection enters many people's many group chattings sights and is specially:
Whether exceeded by the number of sessions of carrying out more simultaneously and open threshold threshold and detect and determine whether to enter many people's many group chattings sights.
Further, the text message to be sent of described acquisition user is specially:
When user uses social chat App application program to carry out text event detection, judge whether user is ready for sending text message;
When described judged result indicating user is ready for sending text, obtain the text message to be sent of user.
Further, whether the described user of judgement is ready for sending text message and comprises:
Detect the time that user stops input text information, after user stops the time of input text information to exceed Preset Time, judge that user is ready for sending text;
Or after user's inputting punctuation mark being detected, judge that user is ready for sending text;
Or when detecting that user passes through the trigger action of social chat App application program transmission text, judge that user is ready for sending text message.
Further, describedly from described text message to be sent, extract keyword be specially:
Method by searching the preset everyday expressions table of comparison from described text message to be sent extracts keyword.
Further, described from described text message to be sent, extract keyword before, also comprise:
Receive and preserve described everyday expressions table.
Further, the matching times of the described keyword of described statistics in each social chat App application program conversation is specially:
Transfer the nearest N bar chat record in each social chat App application program conversation current;
Described keyword is mated respectively in the nearest N bar session chat record of each social chat App application program;
Add up the matching times of described keyword in each social chat App application program conversation respectively.
Further, the matching times of described keyword in certain social chat App application program conversation is calculated by matching algorithm, and described matching algorithm is specially:
Suppose to mate nearest N bar message registration, described keyword is designated as Qi=N-i at the weights of i-th message registration, and the number of times that described keyword occurs at i-th message registration is designated as Ci, then the matching times of described keyword in this session is designated as wherein i=1,2 ..., N; I value is less, the message registration that the expression time more closes on, and i value is larger, represents the message registration that the time is far away.
Further, described propelling movement early warning reminder message inquiry user if reply instruction not send out mistake, then sends described text message to be sent after whether sending out wrong described text message to be sent at once; If replying instruction sends out wrong, then cancel described text message to be sent at once.
According to disclosed embodiment, the second method of the present invention proposes a kind of device preventing chat message mistake to send out, and comprising:
Sight detection module, for detecting whether enter many people's many group chattings sights, if detect, then starts monitoring avoidance mode;
Text message acquisition module, for obtaining the text message to be sent of user;
Keyword-extraction module, for extracting keyword from described text message to be sent;
Matching times statistical module, for adding up the matching times of described keyword in each social chat App application program conversation;
Relatively warning module, with compare other each described in matching times in social chat App application program conversation whether exceed early warning threshold values, and compare other each described in matching times in social chat App application program conversation whether exceed matching times in current social activity chat App application program conversation, if all exceed, then push early warning reminder message inquiry user and whether send out wrong described text message to be sent, otherwise, send described text message to be sent at once.
Further, described text message acquisition module comprises:
First judging unit, when carrying out text event detection for using social chat App application program user, judges whether user is ready for sending text message;
Obtain text unit, for when described judged result indicating user is ready for sending text, obtain the text message to be sent of user.
Further, described keyword-extraction module comprises:
Comparison extraction unit, for extracting keyword by the method for searching the preset everyday expressions table of comparison from described text message to be sent.
Further, described device also comprises:
Everyday expressions table preset module, for receiving and preserving described everyday expressions table.
Further, described matching times statistical module comprises:
Transfer unit, for transferring the nearest N bar chat record in each social chat App application program conversation current;
Matching unit, for mating described keyword respectively in the nearest N bar session chat record of each social chat App application program;
Statistic unit, adds up the matching times of described keyword in each social chat App application program conversation respectively.
Further, described device also comprises:
Reply and confirm module, for reply described compare that warning module pushes about the inquiry user whether sending out wrong described text message to be sent, if reply instruction not send out mistake, then go to and describedly compare warning module and send described text message to be sent at once; If replying instruction sends out wrong, then cancel described text message to be sent at once.
According to disclosed embodiment, third aspect present invention proposes a kind of mobile terminal, and described mobile terminal comprises above-mentioned a kind of device preventing chat message mistake to send out.
The present invention has following advantage and effect relative to prior art:
1) a kind of method of preventing chat message mistake to send out disclosed by the invention, the method by the simultaneous multiple session window of monitoring, the situation of content of can preventing to send out wrong, to a certain extent the reduction user probability of sending out message wrong.
2) information mistake is sent out prevention when not occurring by a kind of method of preventing chat message mistake to send out disclosed by the invention, and achieve the most effective mode of solving error, avert misconceptions embarrassment, promotes Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram preventing chat message mistake to send out disclosed in the present embodiment one;
Fig. 2 is the method flow diagram that disclosed in the present embodiment one, another prevention chat message mistake is sent out;
Fig. 3 is the method flow diagram that disclosed in the present embodiment one, another prevention chat message mistake is sent out;
Fig. 4 is the method flow diagram that disclosed in the present embodiment one, another prevention chat message mistake is sent out;
Fig. 5 is the method flow diagram that disclosed in the present embodiment one, another kind of prevention chat message mistake is sent out;
Fig. 6 is a kind of device composition frame chart preventing chat message mistake to send out disclosed in the present embodiment two;
Fig. 7 is the device composition frame chart that disclosed in the present embodiment two, another prevention chat message mistake is sent out;
Fig. 8 is the device composition frame chart that disclosed in the present embodiment two, another prevention chat message mistake is sent out;
Fig. 9 is the device composition frame chart that disclosed in the present embodiment two, another prevention chat message mistake is sent out;
Figure 10 is the device composition frame chart that disclosed in the present embodiment two, another kind of prevention chat message mistake is sent out.
Embodiment
The technological means realized for making the present invention, creation characteristic, reach object and effect is easy to understand, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Term " first ", " second ", " the 3rd " and " the 4th " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing different object, instead of for describing particular order.In addition, term " comprises " and " having " and their any distortion, and intention is to cover not exclusive comprising.Such as contain the process of series of steps or unit, method, system, product or equipment and be not defined in the step or unit listed, but also comprise the step or unit do not listed alternatively, or also comprise alternatively for other intrinsic step of these processes, method, product or equipment or unit.
To be described in detail respectively according to embodiment below.
Embodiment one
Refer to Fig. 1, Fig. 1 is a kind of method flow diagram preventing chat message mistake to send out in the present embodiment one.A kind of method of preventing chat message mistake to send out shown in Fig. 1, be applied to intelligent mobile terminal, by the simultaneous multiple session window of monitoring mobile terminal, the situation of content of can preventing to send out wrong occurs, wherein said intelligent mobile terminal includes but not limited to the terminal equipment of mobile phone, notebook computer, panel computer and palm equipment for surfing the net, multimedia equipment, stream media equipment, mobile internet device (MID, mobileinternetdevice), wearable device or other types.
As shown in Figure 1, a kind of described method of preventing chat message mistake to send out specifically comprises the following steps:
Whether step S101, detection enter many people's many group chattings sights, if detect, then start monitoring avoidance mode;
The use of current mobile terminal is more and more universal, and the operation that the instant messaging App application program input characters that uses such as note, QQ, micro-letter, rice to chat etc. carries out information interchange almost at every moment is all repeated to use.The initial step of the method that the present embodiment disclosed prevention chat message mistake is sent out is whether mobile terminal detection user enters many people's many group chattings sights, enters many people multigroup group Chat mode, then start monitoring avoidance mode if detect.
In preferred implementation further, described step S101, detect whether enter many people's many group chattings sights, if detect, then start monitoring avoidance mode and be specially:
Step S1011, whether to be exceeded by the number of sessions of carrying out more simultaneously and open threshold threshold and detect and determine whether to enter many people's many group chattings sights.
The process step figure of the method that the prevention chat message mistake specifically comprising this sub-step is sent out can with reference to shown in accompanying drawing 3.
Open the simultaneous session quantity that threshold threshold representative judges to enter many people's many group chattings sights, can be set in advance according to the operation use habit of counting user by engineering development personnel, exemplary, it is 3 that threshold threshold is opened in setting, namely when the quantity of user's simultaneous session reaches more than 3 or 3, then judge that user enters many people's many group chattings sights.
It is pointed out that the number of sessions of carrying out while described number of sessions of simultaneously carrying out comprises the social activity chat App application program of all unlatchings, instead of the number of sessions of carrying out while only referring to some social activity chat App application programs.Namely be now in the social activity chat App application program of adding up current all unlatchings while the number of sessions of carrying out, comprise such as micro-letter, QQ, note, rice and to chat etc. App application program, then make comparisons with unlatching threshold threshold and judge, when being more than or equal to unlatching threshold threshold, then judge that mobile terminal enters many people's many group chattings sights.
The text message to be sent of step S102, acquisition user;
When user uses the social activity of mobile terminal chat App application program to chat, obtained the text to be sent of user by application programming interface API (ApplicationProgrammingInterface), obtain the to be sent text of user in mobile terminal social activity chat App session window.
Another preferred embodiment in, as shown in Figure 2, described step S102, the text message to be sent obtaining user specifically comprise following sub-step to the method flow step that the present embodiment disclosed prevention chat message mistake is sent out:
Step S1021, when user uses social chat App application program to carry out text event detection, judge whether user is ready for sending text message;
Step S1022, when described judged result indicating user is ready for sending text, obtain the text message to be sent of user.
Particularly, can judge whether user is ready for sending text message in the following manner:
Detect the time that user stops input text information, after user stops the time of input text information to exceed Preset Time, judge that user is ready for sending text.The statistical law that above-mentioned Preset Time is inputted according to user by engineers and technicians is selected, such as 3S.
Or after user's inputting punctuation mark being detected, judge that user is ready for sending text.Such as, when usual user adds fullstop, exclamation mark, question mark after having inputted text message, according to the statistical law of input habit, user is now generally the input operation terminating this text message and also prepares to enter next step transmit operation.
Or when detecting that user passes through the trigger action of social chat App application program transmission text, judge that user is ready for sending text message.
Exemplaryly above enumerate several judgment mode, do not form the restriction to technical solution of the present invention, what the technical scheme of the present invention's protection can be similar is generalized in other judgment mode.
Step S103, from described text message to be sent, extract keyword.
Keyword has application in many fields, on network, has search engine and Text Classification.In actual life, in bookstore, there is a lot of application.What can draw it mild says, each corner of life be dissolved in keyword, becomes a part indispensable in life.
Since keyword is so practical, that corresponding keyword extraction technology also grows up gradually.Originally, the extraction of keyword is all artificial carrying out, and sums up its keyword after reading artificial exactly, and the accuracy rate of this method is very high, but efficiency very low, larger shortcoming to incorporate Computerized intelligent simultaneously.
Concrete, extract keyword by following method in the method that the present embodiment disclosed prevention chat message mistake is sent out:
Step S1031, from described text message to be sent by search the preset everyday expressions table of comparison method extract keyword.
Concrete, a preset everyday expressions table, record be daily chat time the word that occurs of high-frequency or word, as " you ", " I ", " yes ", " good " etc.; The statement that will send filters these everyday expressions, and the keyword being then designated as extraction stayed goes to mate in message registration.The method only does text search comparison, and efficiency is higher.In performance permission situation, engineering development personnel can replace the method, extract keyword as used the modes such as semantic analysis.
Accordingly, also comprise the following steps: in the method that the present embodiment disclosed prevention chat message mistake is sent out
Step S103X, reception preserve described everyday expressions table.
This step is the preparation process of a kind of method of preventing chat message mistake to send out of first Application, be equivalent to the operating basis extracting keyword, only complete after everyday expressions table arranges, just can apply a kind of method of preventing chat message mistake to send out and extract keyword from described text message to be sent, herein, preset everyday expressions table is that engineers and technicians input in advance according to choosing after user's Using statistics, can certainly carry out real-time statistics renewal according to the input of user.
The process step figure of the method that the prevention chat message mistake specifically comprising above-mentioned sub-step is sent out can with reference to shown in accompanying drawing 4.
Step S104, add up the matching times of described keyword in each social chat App application program conversation.
Concrete steps are as follows:
Step S1041, the nearest N bar chat record transferred in each social chat App application program conversation current;
Step S1042, described keyword to be mated respectively in the nearest N bar session chat record of each social chat App application program;
Step S1043, add up the matching times of described keyword in each social chat App application program conversation respectively.
Above-mentioned matching algorithm is as follows: every bar of a session records weights, and in chronological sequence weights increase progressively, and the weights that namely time is nearest are the highest.Suppose to mate nearest N bar message registration, described keyword is designated as Qi=N-i at the weights of i-th message registration, and the number of times that described keyword occurs at i-th message registration is designated as Ci, then the matching times of described keyword in this session is designated as wherein i=1,2 ..., N; I value is less, the message registration that the expression time more closes on, and i value is larger, represents the message registration that the time is far away.
Add up the matching times of described keyword in each social chat App application program conversation in this step respectively, wherein each social chat App application program conversation comprises current sessions and other non-present session.
Exemplary, suppose to mate 5 nearest message registrations (now N=5), then temporally from the nearly weights to every bar message registration far away be 5 to 1 respectively; Then above-mentioned weights are multiplied by keyword and appear at number of times in certain session in nearest 5 message registrations, as occurred 2 times in nearest 1st article of message registration, nearest 2nd article of message registration occurs 1 time, in other nearest 3rd article, the 4th article, the 5th article message registration, occurrence number is zero, then the matching times of described keyword in this session is 5*2+4*1+3*0+2*0+1*0=14.
Step S105: compare other each described in matching times in social chat App application program conversation whether exceed early warning threshold values, and compare other each described in matching times in social chat App application program conversation whether exceed matching times in current social activity chat App application program conversation, if all exceed, then push early warning reminder message inquiry user and whether send out wrong described text message to be sent, otherwise, send described text message to be sent at once.
Concrete, this step compare other each described in matching times in social chat App application program conversation whether exceed early warning threshold values, and compare other each described in matching times in social chat App application program conversation whether exceed matching times in current social activity chat App application program conversation, relatively can carry out for twice simultaneously, also can carry out successively, such as when the first time result that is above of comparative result, carry out second time again to compare, the number of times when matching in other sessions is only had to be greater than certain early warning threshold values, and the number of times matched in other sessions is greater than the number of times matched in current sessions, then push early warning reminder message and more meet other sessions for the text message that reminding user is to be sent, whether inquiry user sends out session wrong.Otherwise then described text message to be sent immediately.Described threshold value of warning is rule of thumb set by engineering development personnel, exemplary, and described early warning threshold values is taken as 10, and above-mentioned value does not form the restriction to the technical program.
Accordingly, also comprise the following steps: after step S105 in the method that the present embodiment disclosed prevention chat message mistake is sent out
Whether step S1051, propelling movement early warning reminder message inquiry user send out wrong described text message to be sent, do not send out mistake, then send described text message to be sent at once if reply; Send out if reply wrong, then cancel described text message to be sent at once, the content of text messages retaining editor treats next step operational processes of user.
The process step figure of the method that the prevention chat message mistake specifically comprising above-mentioned sub-step is sent out can with reference to shown in accompanying drawing 5.
In sum, disclosed in the present embodiment, a kind of method of preventing chat message mistake to send out is by the simultaneous multiple session window of monitoring, carry out Keywords matching number of times statistics and compare, the situation of content of can preventing to send out wrong, reducing the probability that user sends out message wrong to a certain extent.Information mistake is sent out prevention when not occurring by the method that this prevention chat message mistake is sent out, and achieve the most effective mode of solving error, avert misconceptions embarrassment, promotes Consumer's Experience.
Embodiment two
In order to realize mobile terminal prevention in session window due to situation that content is sent out in carelessness wrong, reduce the object of the probability that user sends out message wrong to a certain extent, present embodiment discloses a kind of device and the mobile terminal that prevent wrong of chat message, the device that this prevention chat message mistake is sent out can be run on each terminal equipment (such as mobile phone, panel computer, palm equipment for surfing the net) in software unit, the unit that hardware cell or software and hardware combine, also can be integrated in described terminal equipment as independently suspension member or run in the application system of described terminal equipment.
Fig. 6 shows the composition structured flowchart of a kind of device preventing chat message mistake to send out that second embodiment of the invention provides, and for convenience of description, illustrate only the part relevant to the embodiment of the present invention.
As shown in Figure 6, the device that the present embodiment two disclosed prevention chat message mistake is sent out, comprises following modules: sight detection module 201, text message acquisition module 202, keyword-extraction module 203, matching times statistical module 204 and compare warning module 205.
1, sight detection module 201, for detecting whether enter many people's many group chattings sights, if detect, then starts monitoring avoidance mode.
Wherein, whether this module is exceeded by the number of sessions of carrying out more simultaneously and opens threshold threshold and detect and determine whether to enter many people's many group chattings sights.
Open the simultaneous session quantity that threshold threshold representative judges to enter many people's many group chattings sights, can be set in advance according to the operation use habit of counting user by engineering development personnel, exemplary, it is 3 that threshold threshold is opened in setting, namely when the quantity of user's simultaneous session reaches more than 3 or 3, then judge that user enters many people's many group chattings sights.
It is pointed out that the number of sessions of carrying out while described number of sessions of simultaneously carrying out comprises the social activity chat App application program of all unlatchings, instead of the number of sessions of carrying out while only referring to some social activity chat App application programs.
2, text message acquisition module 202, for obtaining the text message to be sent of user.
Described text message acquisition module 202 specifically comprises:
First judging unit 2021, when carrying out text event detection for using social chat App application program user, judges whether user is ready for sending text message.
Particularly, described first judging unit can judge whether user is ready for sending text message in the following manner:
Detect the time that user stops input text information, after user stops the time of input text information to exceed Preset Time, judge that user is ready for sending text.The statistical law that above-mentioned Preset Time is inputted according to user by engineers and technicians is selected, such as 3S.
Or after user's inputting punctuation mark being detected, judge that user is ready for sending text.Such as, when usual user adds fullstop, exclamation mark, question mark after having inputted text message, according to the statistical law of input habit, user is now generally the input operation terminating this text message and also prepares to enter next step transmit operation.
Or when detecting that user passes through the trigger action of social chat App application program transmission text, judge that user is ready for sending text message.
Obtain text unit 2022, for when described judged result indicating user is ready for sending text, obtain the text message to be sent of user.
The structure composition frame chart of the device that the prevention chat message mistake comprising above-mentioned first judging unit 2021 in the present embodiment and obtain text unit 2022 is sent out can with reference to shown in accompanying drawing 7.
3, keyword-extraction module 203, for extracting keyword from described text message to be sent.
Wherein, described keyword-extraction module 203 comprises:
Comparison extraction unit 2031, for extracting keyword by the method for searching the preset everyday expressions table of comparison from described text message to be sent.
The concrete course of work of above-mentioned comparison extraction unit 2031 is as follows: according to a preset in advance everyday expressions table, record in everyday expressions table be daily chat time high-frequency occur word or word, as " you ", " I ", " yes ", " good " etc.; The statement that will send filters these everyday expressions, and the keyword being then designated as extraction stayed goes to mate in message registration.The method only does text search comparison, and efficiency is higher.In performance permission situation, engineering development personnel can replace the method, extract keyword as used the modes such as semantic analysis.
Another preferred embodiment in, disclosed in the present embodiment two a kind of prevent chat message mistake send out device also comprise:
Everyday expressions table preset module 203X, for receiving and preserving described everyday expressions table.
When using first with a kind of device preventing chat message mistake to send out, must be received in the terminal by everyday expressions table preset module 203X, preserve and everyday expressions table described in initialization, everyday expressions table is equivalent to the operating basis extracting keyword, after only completing everyday expressions table Initialize installation, just can apply a kind of device preventing chat message mistake to send out and extract keyword from described text message to be sent, herein, preset everyday expressions table is that engineers and technicians are according to choosing input in advance after user's Using statistics, real-time statistics renewal can certainly be carried out according to the input of user.
The structure composition frame chart of the device that the prevention chat message mistake comprising above-mentioned comparison extraction unit 2031 and everyday expressions table preset module 203X in the present embodiment is sent out can with reference to shown in accompanying drawing 8.
4, matching times statistical module 204, for adding up the matching times of described keyword in each social chat App application program conversation.
Above-mentioned matching times statistical module specifically comprises the following units:
2041, unit is transferred, for transferring the nearest N bar chat record in each social chat App application program conversation current.
2042, matching unit, for mating described keyword respectively in the nearest N bar session chat record of each social chat App application program.
The matching times of described keyword in certain social chat App application program conversation is calculated by matching algorithm, and described matching algorithm is specially:
Suppose to mate nearest N bar message registration, described keyword is designated as Qi=N-i at the weights of i-th message registration, and the number of times that described keyword occurs at i-th message registration is designated as Ci, then the matching times of described keyword in this session is designated as wherein i=1,2 ..., N; I value is less, the message registration that the expression time more closes on, and i value is larger, represents the message registration that the time is far away.
Exemplary, suppose to mate 5 nearest message registrations (now N=5), then temporally from the nearly weights to every bar message registration far away be 5 to 1 respectively; Then above-mentioned weights are multiplied by keyword and appear at number of times in certain session in nearest 5 message registrations, as occurred 2 times in nearest 1st article of message registration, nearest 2nd article of message registration occurs 1 time, in other nearest 3rd article, the 4th article, the 5th article message registration, occurrence number is zero, then the matching times of described keyword in this session is 5*2+4*1+3*0+2*0+1*0=14.
2043, statistic unit, adds up the matching times of described keyword in each social chat App application program conversation respectively.
The structure composition frame chart comprising the device that the above-mentioned prevention chat message mistake transferring unit 2041, matching unit 2042 and statistic unit 2042 is sent out in the present embodiment can with reference to shown in accompanying drawing 9.
5, warning module 205 is compared, with compare other each described in matching times in social chat App application program conversation whether exceed early warning threshold values, and compare other each described in matching times in social chat App application program conversation whether exceed matching times in current social activity chat App application program conversation, if all exceed, then push early warning reminder message inquiry user and whether send out wrong described text message to be sent, otherwise, send described text message to be sent at once.
Another preferred embodiment in, the wrong transmitting apparatus of described one prevention chat message also comprises:
Reply and confirm module 206, for reply described compare that warning module pushes about the inquiry user whether sending out wrong described text message to be sent, if reply instruction not send out mistake, then go to and describedly compare warning module and send described text message to be sent at once; If replying instruction sends out wrong, then cancel described text message to be sent at once.
Comprise above-mentioned reply in the present embodiment and confirm that the structure composition frame chart of the device that the prevention chat message mistake of module 206 is sent out can with reference to shown in accompanying drawing 10.
The embodiment of the present invention also provides a kind of mobile terminal, specifically comprises device as shown in Figures 5 to 9.
Based on same inventive concept, a kind of device and mobile terminal preventing wrong of chat message that the embodiment of the present invention provides, similar to a kind of aforementioned method of preventing chat message mistake to send out in the principle of dealing with problems, therefore the enforcement of this device and mobile terminal can see the enforcement of preceding method, the module of foregoing description and the specific works process of unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In sum, a kind of device and mobile terminal preventing wrong of chat message disclosed in the embodiment of the present invention two, the modules of this device, unit matching works, simultaneous multiple session window can be monitored simultaneously, after extracting the keyword of text message to be sent, keyword match is carried out to each App application program conversation window, early warning information is sent in time for Outlier match situation, the situation of content of can effectively preventing to send out wrong, reduce the probability that user sends out message wrong to a certain extent, information mistake is sent out prevention when not occurring, achieve the most effective mode of solving error.
It should be noted that in said apparatus or terminal embodiment, included modules and unit are carry out dividing according to function logic, but are not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each module and unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In several embodiments that the application provides, should be understood that disclosed equipment and method can realize by another way.Such as, terminal embodiment described above is only schematic, such as, the division of described module or unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of module or unit or communication connection can be electrical, machinery or other form.
In addition, each functional module in each embodiment of the present invention or unit can be integrated in a processing module or unit, also can be that the independent physics of modules or unit exists, also can two or more modules or unit be integrated in a module or unit.
Above-described embodiment is the present invention's preferably execution mode; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (16)

1. a method of preventing chat message mistake to send out, is characterized in that, comprise the following steps:
Detect and whether enter many people's many group chattings sights, if detect, then start monitoring avoidance mode;
Obtain the text message to be sent of user;
Keyword is extracted from described text message to be sent;
Add up the matching times of described keyword in each social chat App application program conversation;
Whether the matching times in social chat App application program conversation described in comparison other each exceedes early warning threshold values, and compare other each described in matching times in social chat App application program conversation whether exceed matching times in current social activity chat App application program conversation, if all exceed, then push early warning reminder message inquiry user and whether send out wrong described text message to be sent, otherwise, send described text message to be sent at once.
2. a kind of method of preventing chat message mistake to send out according to claim 1, it is characterized in that, whether described detection enters many people's many group chattings sights is specially:
Whether exceeded by the number of sessions of carrying out more simultaneously and open threshold threshold and detect and determine whether to enter many people's many group chattings sights.
3. a kind of method of preventing chat message mistake to send out according to claim 1, it is characterized in that, the text message to be sent of described acquisition user is specially:
When user uses social chat App application program to carry out text event detection, judge whether user is ready for sending text message;
When described judged result indicating user is ready for sending text, obtain the text message to be sent of user.
4. a kind of method of preventing chat message mistake to send out according to claim 3, it is characterized in that, whether the described user of judgement is ready for sending text message comprises:
Detect the time that user stops input text information, after user stops the time of input text information to exceed Preset Time, judge that user is ready for sending text;
Or after user's inputting punctuation mark being detected, judge that user is ready for sending text;
Or when detecting that user passes through the trigger action of social chat App application program transmission text, judge that user is ready for sending text message.
5. a kind of method of preventing chat message mistake to send out according to claim 1, is characterized in that, describedly from described text message to be sent, extracts keyword be specially:
Method by searching the preset everyday expressions table of comparison from described text message to be sent extracts keyword.
6. according to claim 5 a kind of prevent chat message mistake send out method, it is characterized in that, described from described text message to be sent, extract keyword before, also comprise:
Receive and preserve described everyday expressions table.
7. a kind of method of preventing chat message mistake to send out according to claim 1, is characterized in that, the matching times of the described keyword of described statistics in each social chat App application program conversation is specially:
Transfer the nearest N bar chat record in each social chat App application program conversation current;
Described keyword is mated respectively in the nearest N bar session chat record of each social chat App application program;
Add up the matching times of described keyword in each social chat App application program conversation respectively.
8. a kind of method of preventing chat message mistake to send out according to claim 7, is characterized in that, the matching times of described keyword in certain social chat App application program conversation is calculated by matching algorithm, and described matching algorithm is specially:
Suppose to mate nearest N bar message registration, described keyword is designated as Qi=N-i at the weights of i-th message registration, and the number of times that described keyword occurs at i-th message registration is designated as Ci, then the matching times of described keyword in this session is designated as wherein i=1,2 ..., N; I value is less, the message registration that the expression time more closes on, and i value is larger, represents the message registration that the time is far away.
9. a kind of method of preventing chat message mistake to send out according to claim 1, it is characterized in that, described propelling movement early warning reminder message inquiry user if reply instruction not send out mistake, then sends described text message to be sent after whether sending out wrong described text message to be sent at once; If replying instruction sends out wrong, then cancel described text message to be sent at once.
10. the device preventing chat message mistake to send out, is characterized in that, comprising:
Sight detection module, for detecting whether enter many people's many group chattings sights, if detect, then starts monitoring avoidance mode;
Text message acquisition module, for obtaining the text message to be sent of user;
Keyword-extraction module, for extracting keyword from described text message to be sent;
Matching times statistical module, for adding up the matching times of described keyword in each social chat App application program conversation;
Relatively warning module, with compare other each described in matching times in social chat App application program conversation whether exceed early warning threshold values, and compare other each described in matching times in social chat App application program conversation whether exceed matching times in current social activity chat App application program conversation, if all exceed, then push early warning reminder message inquiry user and whether send out wrong described text message to be sent, otherwise, send described text message to be sent at once.
11. a kind of devices preventing chat message mistake to send out according to claim 10, it is characterized in that, described text message acquisition module comprises:
First judging unit, when carrying out text event detection for using social chat App application program user, judges whether user is ready for sending text message;
Obtain text unit, for when described judged result indicating user is ready for sending text, obtain the text message to be sent of user.
12. a kind of devices preventing chat message mistake to send out according to claim 10, it is characterized in that, described keyword-extraction module comprises:
Comparison extraction unit, for extracting keyword by the method for searching the preset everyday expressions table of comparison from described text message to be sent.
13. a kind of devices preventing chat message mistake to send out according to claim 10, it is characterized in that, described device also comprises:
Everyday expressions table preset module, for receiving and preserving described everyday expressions table.
14. a kind of devices preventing chat message mistake to send out according to claim 10, it is characterized in that, described matching times statistical module comprises:
Transfer unit, for transferring the nearest N bar chat record in each social chat App application program conversation current;
Matching unit, for mating described keyword respectively in the nearest N bar session chat record of each social chat App application program;
Statistic unit, adds up the matching times of described keyword in each social chat App application program conversation respectively.
15. a kind of devices preventing chat message mistake to send out according to claim 10, it is characterized in that, described device also comprises:
Reply and confirm module, for reply described compare that warning module pushes about the inquiry user whether sending out wrong described text message to be sent, if reply instruction not send out mistake, then go to and describedly compare warning module and send described text message to be sent at once; If replying instruction sends out wrong, then cancel described text message to be sent at once.
16. 1 kinds of mobile terminals, is characterized in that, described mobile terminal comprises a kind of device preventing chat message mistake to send out described in any one of claim 10 to 15.
CN201510742233.3A 2015-11-02 2015-11-02 A kind of method, device and mobile terminal preventing chat message and mistaking Active CN105450853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510742233.3A CN105450853B (en) 2015-11-02 2015-11-02 A kind of method, device and mobile terminal preventing chat message and mistaking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510742233.3A CN105450853B (en) 2015-11-02 2015-11-02 A kind of method, device and mobile terminal preventing chat message and mistaking

Publications (2)

Publication Number Publication Date
CN105450853A true CN105450853A (en) 2016-03-30
CN105450853B CN105450853B (en) 2018-11-23

Family

ID=55560607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510742233.3A Active CN105450853B (en) 2015-11-02 2015-11-02 A kind of method, device and mobile terminal preventing chat message and mistaking

Country Status (1)

Country Link
CN (1) CN105450853B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073662A (en) * 2016-11-11 2018-05-25 阿里巴巴集团控股有限公司 The exchange method and equipment of a kind of customer service system
CN108111399A (en) * 2017-12-27 2018-06-01 广东欧珀移动通信有限公司 Method, apparatus, terminal and the storage medium of Message Processing
CN109120498A (en) * 2017-06-22 2019-01-01 北京小米移动软件有限公司 Send the method and device of information
CN109716328A (en) * 2016-12-15 2019-05-03 华为技术有限公司 A kind of method and device of information alert
CN111158838A (en) * 2019-12-31 2020-05-15 联想(北京)有限公司 Information processing method and device
CN112578975A (en) * 2020-12-23 2021-03-30 维沃移动通信有限公司 Information processing method and device and electronic equipment
US11153242B2 (en) 2018-11-19 2021-10-19 International Business Machines Corporation Automated prevention of sending objectionable content through electronic communications
CN114900504A (en) * 2022-06-13 2022-08-12 重庆回形针信息技术有限公司 Problem solution tracking system, method and storage medium based on subject

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834809A (en) * 2010-05-18 2010-09-15 华中科技大学 Internet instant message communication system
US20120265521A1 (en) * 2005-05-05 2012-10-18 Scott Miller Methods and systems relating to information extraction
CN102868812A (en) * 2012-09-05 2013-01-09 东莞宇龙通信科技有限公司 Terminal and information-sending control method
CN104618598A (en) * 2015-01-30 2015-05-13 广东欧珀移动通信有限公司 Message sending method and device and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120265521A1 (en) * 2005-05-05 2012-10-18 Scott Miller Methods and systems relating to information extraction
CN101834809A (en) * 2010-05-18 2010-09-15 华中科技大学 Internet instant message communication system
CN102868812A (en) * 2012-09-05 2013-01-09 东莞宇龙通信科技有限公司 Terminal and information-sending control method
CN104618598A (en) * 2015-01-30 2015-05-13 广东欧珀移动通信有限公司 Message sending method and device and mobile terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073662A (en) * 2016-11-11 2018-05-25 阿里巴巴集团控股有限公司 The exchange method and equipment of a kind of customer service system
CN109716328A (en) * 2016-12-15 2019-05-03 华为技术有限公司 A kind of method and device of information alert
US11381527B2 (en) 2016-12-15 2022-07-05 Huawei Technologies Co., Ltd. Information prompt method and apparatus
CN109120498A (en) * 2017-06-22 2019-01-01 北京小米移动软件有限公司 Send the method and device of information
CN108111399A (en) * 2017-12-27 2018-06-01 广东欧珀移动通信有限公司 Method, apparatus, terminal and the storage medium of Message Processing
US11153242B2 (en) 2018-11-19 2021-10-19 International Business Machines Corporation Automated prevention of sending objectionable content through electronic communications
CN111158838A (en) * 2019-12-31 2020-05-15 联想(北京)有限公司 Information processing method and device
CN112578975A (en) * 2020-12-23 2021-03-30 维沃移动通信有限公司 Information processing method and device and electronic equipment
CN114900504A (en) * 2022-06-13 2022-08-12 重庆回形针信息技术有限公司 Problem solution tracking system, method and storage medium based on subject
CN114900504B (en) * 2022-06-13 2023-08-18 重庆回形针信息技术有限公司 Issue resolution tracking system, method and storage medium based on issue

Also Published As

Publication number Publication date
CN105450853B (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN105450853A (en) Method and apparatus for preventing wrong sending of chatting information, and mobile terminal
CN102968439B (en) A kind of method and device pushing microblogging
CN101534261B (en) A method, device and system of recognizing spam information
CN108289053B (en) Control method, device and system for instant messaging session
CN103379460A (en) Method and terminal for processing voice message
CN108416041B (en) Voice log analysis method and system
CN103607516B (en) Short message operation, device and equipment
CN103020807A (en) Information display method and system
Ban et al. Deep-learnt features for Twitter spam detection
CN112770129B (en) Live broadcast-based group chat establishing method, device, server and medium
CN110120909B (en) Message transmission method and device, storage medium and electronic device
CN112947807A (en) Display method and device and electronic equipment
CN111460124B (en) Intelligent interaction method, intelligent interaction device and robot
CN105227431A (en) The method and apparatus of good friend or group is fast added in instant messaging
Jin et al. Filtering spam in Weibo using ensemble imbalanced classification and knowledge expansion
CN106878154A (en) Conversation message generation method and device, electronic equipment
Wang et al. Detection of compromised accounts for online social networks based on a supervised analytical hierarchy process
KR20190134100A (en) Method and apparatus for providing chatting service
CN107193795A (en) A kind of instant messaging new message notification method based on content
Wang et al. Profiling the followers of the most influential and verified users on Sina Weibo
CN106447507A (en) Social network information processing system and method
CN103297389A (en) Man-machine conversation method and device
CN102541409A (en) Method and system for carrying out multi-objective data sending by using IM (instant messaging) tool
CN102292945A (en) A message system for social networks
CN104268009A (en) Operational control method, device and electronic apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.