CN105095366A - Method and device for processing character messages - Google Patents

Method and device for processing character messages Download PDF

Info

Publication number
CN105095366A
CN105095366A CN201510369407.6A CN201510369407A CN105095366A CN 105095366 A CN105095366 A CN 105095366A CN 201510369407 A CN201510369407 A CN 201510369407A CN 105095366 A CN105095366 A CN 105095366A
Authority
CN
China
Prior art keywords
user
frequency
word message
relation identity
mark
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
CN201510369407.6A
Other languages
Chinese (zh)
Other versions
CN105095366B (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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510369407.6A priority Critical patent/CN105095366B/en
Publication of CN105095366A publication Critical patent/CN105095366A/en
Application granted granted Critical
Publication of CN105095366B publication Critical patent/CN105095366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/38Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/381Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using identifiers, e.g. barcodes, RFIDs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/38Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a method and device for processing character messages, and belongs to the technical field of computers. The method comprises acquiring a character message to be sent from a first user to a second user in an instant conversation interface of the first user and the second user; acquiring a relationship identifier between the first user and the second user when the character message containing preset sensitive words; and processing the character message according to the relationship identifier. The relationship identifier is used for representing the degree of familiarity between the first user and the second user. The method takes the degree of familiarity between the first user and the second user to account, whether a character message needs correcting or not is determined by the degree of familiarity, so a user can quickly send a character message to a familiar friend, and character message sent to an unfamiliar friend can be corrected by using the method.

Description

Word message disposal route and device
Technical field
The disclosure is directed to field of computer technology, specifically about word message disposal route and device.
Background technology
Written communication is exchange way conventional between friend, user can in terminal input characters message, word message is sent to a certain friend, checks word message by friend.But when input characters message, when user to have input the word of mistake due to reasons such as input speed are too fast, friend may misread the implication of this word message, and this can have influence on the interchange between two users.
In order to prevent the word of user's input error, be currently suggested a kind of error correction method, by setting up personalized error correcting model for user, constantly collect the input information of user and analyze, obtain the input habit information of user, and according to the input habit information of user, the personalized error correcting model set up is adjusted.Afterwards, when user have input the word of mistake, according to current personalized error correcting model, the wrong word of user's input can be corrected, the later correct word of correction is sent to friend.
Summary of the invention
In order to solve Problems existing in correlation technique, present disclose provides a kind of word message disposal route and device.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of word message disposal route, described method comprises:
In the instant session interface of first user and the second user, obtain described first user to be sent to the word message of described second user;
When comprising default responsive vocabulary in described word message, obtain the relation identity between described first user and described second user;
According to described relation identity, described word message is processed;
Wherein, described relation identity is for representing the familiarity between described first user and described second user.
In another embodiment, described relation identity is the first mark or the second mark, and the familiarity represented by described first mark is greater than the familiarity represented by described second mark.
In another embodiment, described according to described relation identity, described word message is processed, comprising:
When described relation identity is described first mark, send described word message to described second user; Or,
When described relation identity is described second mark, responsive vocabulary notice is carried out to described first user.
In another embodiment, described when described relation identity is described second mark, responsive vocabulary notice is carried out to described first user, comprising:
Display reminding window, described prompt window at least comprises one in information, delivery option and correction option, and described information comprises responsive vocabulary for pointing out in described word message;
When the confirmation operation to described delivery option being detected, send described word message to described second user; Or,
When the confirmation operation to described correction option being detected, in described instant session interface, obtain the word message after the correction of described first user.
In another embodiment, described method also comprises:
According to the history intersection record between described first user and described second user, determine the relation identity between described first user and described second user.
In another embodiment, described according to the history intersection record between described first user and described second user, determine the relation identity between described first user and described second user, comprising:
According to described history intersection record, determine the frequency of occurrences presetting responsive vocabulary in the reciprocal process of described first user and described second user;
According to the described frequency of occurrences, determine the relation identity between described first user and described second user.
In another embodiment, described according to the described frequency of occurrences, determine the relation identity between described first user and described second user, comprising:
When the described frequency of occurrences is greater than the first predetermined threshold value, the relation identity between described first user and described second user is defined as the first mark;
When the described frequency of occurrences is not more than described first predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark.
In another embodiment, described according to the history intersection record between described first user and described second user, determine the relation identity between described first user and described second user, comprising:
According to described history intersection record, determine in the reciprocal process of described first user and described second user, preset responsive vocabulary the frequency of occurrences and correction of frequency, described correction of frequency is for representing that described first user is when carrying out mutual with described second user, to the correction of frequency of default responsive vocabulary;
According to the described frequency of occurrences and described correction of frequency, determine the relation identity between described first user and described second user.
In another embodiment, described according to the described frequency of occurrences and described correction of frequency, determine the relation identity between described first user and described second user, comprising:
When the described frequency of occurrences is not more than the first predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark;
When the described frequency of occurrences is greater than described first predetermined threshold value, judge whether described correction of frequency is greater than the second predetermined threshold value; When described correction of frequency is greater than described second predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark; And when described correction of frequency is not more than described second predetermined threshold value, the relation identity between described first user and described second user is defined as the first mark.
According to the second aspect of disclosure embodiment, provide a kind of word message treating apparatus, described device comprises:
Message capturing module, in the instant session interface of first user and the second user, obtains described first user to be sent to the word message of described second user;
Identifier acquisition module, for when comprising default responsive vocabulary in described word message, obtains the relation identity between described first user and described second user;
Processing module, for according to described relation identity, processes described word message;
Wherein, described relation identity is for representing the familiarity between described first user and described second user.
In another embodiment, described relation identity is the first mark or the second mark, and the familiarity represented by described first mark is greater than the familiarity represented by described second mark.
In another embodiment, described processing module comprises:
First processing unit, during for being described first mark when described relation identity, sends described word message to described second user; Or,
Second processing unit, during for being described second mark when described relation identity, carries out responsive vocabulary notice to described first user.
In another embodiment, described second processing unit is also for display reminding window, and described prompt window at least comprises one in information, delivery option and correction option, and described information comprises responsive vocabulary for pointing out in described word message; When the confirmation operation to described delivery option being detected, send described word message to described second user; Or, when the confirmation operation to described correction option being detected, in described instant session interface, obtain the word message after the correction of described first user.
In another embodiment, described device also comprises:
Determination module, for according to the history intersection record between described first user and described second user, determines the relation identity between described first user and described second user.
In another embodiment, described determination module, also for according to described history intersection record, determines the frequency of occurrences presetting responsive vocabulary in the reciprocal process of described first user and described second user; According to the described frequency of occurrences, determine the relation identity between described first user and described second user.
In another embodiment, the relation identity between described first user and described second user also for when the described frequency of occurrences is greater than the first predetermined threshold value, is defined as the first mark by described determination module; When the described frequency of occurrences is not more than described first predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark.
In another embodiment, described determination module is also for according to described history intersection record, determine in the reciprocal process of described first user and described second user, preset responsive vocabulary the frequency of occurrences and correction of frequency, described correction of frequency is for representing that described first user is when carrying out mutual with described second user, to the correction of frequency of default responsive vocabulary; According to the described frequency of occurrences and described correction of frequency, determine the relation identity between described first user and described second user.
In another embodiment, the relation identity between described first user and described second user also for when the described frequency of occurrences is not more than the first predetermined threshold value, is defined as the second mark by described determination module; When the described frequency of occurrences is greater than described first predetermined threshold value, judge whether described correction of frequency is greater than the second predetermined threshold value; When described correction of frequency is greater than described second predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark; And when described correction of frequency is not more than described second predetermined threshold value, the relation identity between described first user and described second user is defined as the first mark.
According to the third aspect of disclosure embodiment, provide a kind of word message treating apparatus, described device comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
In the instant session interface of first user and the second user, obtain described first user to be sent to the word message of described second user;
When comprising default responsive vocabulary in described word message, obtain the relation identity between described first user and described second user;
According to described relation identity, described word message is processed;
Wherein, described relation identity is for representing the familiarity between described first user and described second user.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
An embodiment of the present disclosure, comprising: in the instant session interface of first user and the second user, obtains described first user to be sent to the word message of described second user.When comprising default responsive vocabulary in described word message, obtain the relation identity between described first user and described second user; According to described relation identity, described word message is processed.Wherein, described relation identity is for representing the familiarity between described first user and described second user.The disclosure is by pre-determining the relation identity between first user and the second user, when getting first user and will send to the word message of the second user, and when comprising default responsive vocabulary in this word message, obtain the relation identity between first user and the second user, according to this relation identity, this word message is processed.Take into account the familiarity between first user and the second user, according to this familiarity, determine whether will correct this word message.First user can be met to the demand being familiar with friend and sending fast word message, also can meet subtend and be unfamiliar with the demand that word message that friend sends carries out correcting.
Another embodiment of the present disclosure, described relation identity is the first mark or the second mark, and the familiarity represented by described first mark is greater than the familiarity represented by described second mark.The disclosure is by being divided into the first mark and the second mark by the relation identity between first user and friend, thus the friend of first user is divided into two classes: familiar friend and unfamiliar friend, then according to the relation identity between this first user and the second user, can determine that this second user is the friend that is familiar with of this first user or unfamiliar friend, then determine whether will correct this word message.First user can be met to the demand being familiar with friend and sending fast word message, also can meet subtend and be unfamiliar with the demand that word message that friend sends carries out correcting.
Another embodiment of the present disclosure, described according to described relation identity, described word message is processed, comprising: when described relation identity is described first mark, send described word message to described second user; Or, when described relation identity is described second mark, responsive vocabulary notice is carried out to described first user.The disclosure when the second user be first user be familiar with friend time, send word message directly to the second user, improve and send the speed of word message, meet the demand sending word message fast.And when the second user is the unfamiliar friend of first user, first user is pointed out, determine whether will correct this word message by first user, prevent this first user from sending the word message of mistake to unfamiliar friend, meet first user subtend and be unfamiliar with the word message that friend sends and carry out the demand of correcting.
Another embodiment of the present disclosure, it is described when described relation identity is described second mark, responsive vocabulary notice is carried out to described first user, comprise: display reminding window, described prompt window at least comprises one in information, delivery option and correction option, and described information comprises responsive vocabulary for pointing out in described word message; When the confirmation operation to described delivery option being detected, send described word message to described second user; Or, when the confirmation operation to described correction option being detected, in described instant session interface, obtain the word message after the correction of described first user.The disclosure, by display reminding window, makes first user can select to correct word message, also can select directly to send this word message, improve flexibility of operation.
Another embodiment of the present disclosure, also comprises: according to the history intersection record between described first user and described second user, determines the relation identity between described first user and described second user.The disclosure is by considering the history intersection record between first user and the second user, according to the relation identity between this history intersection record determination first user and second user, make this relation identity can embody familiarity between this first user and this second user exactly, improve accuracy.
Another embodiment of the present disclosure, described according to the history intersection record between described first user and described second user, determine the relation identity between described first user and described second user, comprise: according to described history intersection record, determine the frequency of occurrences presetting responsive vocabulary in the reciprocal process of described first user and described second user; According to the described frequency of occurrences, determine the relation identity between described first user and described second user.The disclosure is by considering that first user can send to the friend be familiar with the word message comprising responsive vocabulary, and the custom comprising the word message of responsive vocabulary is seldom sent to unfamiliar friend, according to the frequency of occurrences presetting responsive vocabulary in the reciprocal process of first user and the second user, determine the relation identity between first user and the second user, make this relation identity embody familiarity between this first user and this second user more exactly, improve accuracy.
Another embodiment of the present disclosure, described according to the described frequency of occurrences, determine the relation identity between described first user and described second user, comprise: when the described frequency of occurrences is greater than the first predetermined threshold value, the relation identity between described first user and described second user is defined as the first mark; When the described frequency of occurrences is not more than described first predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark.Present disclose provides and determine that this relation identity is the mode of the first mark or the second mark according to the frequency of occurrences presetting responsive vocabulary, by dividing relation identity, the friend of first user is divided into two classes: familiar friend and unfamiliar friend, so that follow-up according to this relation identity, process sending to the word message of friend.
Another embodiment of the present disclosure, described according to the history intersection record between described first user and described second user, determine the relation identity between described first user and described second user, comprise: according to described history intersection record, determine in the reciprocal process of described first user and described second user, preset responsive vocabulary the frequency of occurrences and correction of frequency, described correction of frequency is for representing that described first user is when carrying out mutual with described second user, to the correction of frequency of default responsive vocabulary; According to the described frequency of occurrences and described correction of frequency, determine the relation identity between described first user and described second user.The disclosure is by considering that first user can send to the friend be familiar with the word message comprising responsive vocabulary, and the custom comprising the word message of responsive vocabulary is seldom sent to unfamiliar friend, and this first user is after have sent the word message comprising default responsive vocabulary to unfamiliar friend, the custom can corrected the front default responsive vocabulary once sent, the frequency of occurrences and correction of frequency according to presetting responsive vocabulary in the reciprocal process of this first user and this second user determine relation identity, more be applicable to the input habit of user, the relation identity determined can embody the familiarity between first user and the second user more exactly.
Another embodiment of the present disclosure, described according to the described frequency of occurrences and described correction of frequency, determine the relation identity between described first user and described second user, comprise: when the described frequency of occurrences is not more than the first predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark; When the described frequency of occurrences is greater than described first predetermined threshold value, judge whether described correction of frequency is greater than the second predetermined threshold value; When described correction of frequency is greater than described second predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark; And when described correction of frequency is not more than described second predetermined threshold value, the relation identity between described first user and described second user is defined as the first mark.Present disclose provides and determine that this relation identity is the mode of the first mark or the second mark according to the frequency of occurrences and correction of frequency of presetting responsive vocabulary, by dividing relation identity, the friend of first user is divided into two classes: familiar friend and unfamiliar friend, so that follow-up according to this relation identity, process sending to the word message of friend.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of a kind of word message disposal route according to an exemplary embodiment;
Fig. 2 is the process flow diagram of a kind of word message disposal route according to an exemplary embodiment;
Fig. 3 is the block diagram of a kind of word message treating apparatus according to an exemplary embodiment;
Fig. 4 is the block diagram of a kind of device for word message process according to an exemplary embodiment.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearly understand, below in conjunction with embodiment and accompanying drawing, the disclosure is described in further details.At this, exemplary embodiment of the present disclosure and illustrating for explaining the disclosure, but not as to restriction of the present disclosure.
Disclosure embodiment provides a kind of word message disposal route and device, is described in detail to the disclosure below in conjunction with accompanying drawing.
Fig. 1 is the process flow diagram of a kind of word message disposal route according to an exemplary embodiment, and as shown in Figure 1, word message disposal route is used for, in terminal, comprising the following steps:
In a step 101, in the instant session interface of first user and the second user, this first user is obtained to be sent to the word message of this second user.
In a step 102, when comprising default responsive vocabulary in this word message, obtain the relation identity between this first user and this second user.
In step 103, according to this relation identity, this word message is processed.
Wherein, this relation identity is for representing the familiarity between this first user and this second user.
As a kind of embodiment, this relation identity be the first mark or second mark, this first mark represented by familiarity be greater than this second mark represented by familiarity.That is to say, when relation identity between first user and the second user is the first mark, represent that this first user and this second user are familiar with, when the relation identity between this first user and this second user is the second mark, represent that this first user and this second user are unfamiliar with.By pre-determining the relation identity between this first user and each friend, the friend of first user can be divided into two classes: familiar friend and unfamiliar friend.When first user will send word message to arbitrary friend, and when comprising default responsive vocabulary in this word message, according to the familiarity between this first user and this friend, this word message can be processed.
As another kind of embodiment, this relation identity can also be multiple marks such as the first mark, the second mark, the 3rd mark, namely the relation identity between this first user and friend can comprise the mark of 3 marks, 4 marks or other numbers, and the present embodiment does not limit this.Each mark represents different familiarity, and this familiarity represented by the first mark is greater than this familiarity represented by the second mark, and this familiarity represented by the second mark is greater than the familiarity represented by the 3rd mark, by that analogy.By determining multiple relation identity, familiarity between first user and friend can be divided into multiple gradient, when first user will send word message to arbitrary friend, and when comprising default responsive vocabulary in this word message, according to the familiarity between this first user and this friend, this word message can be processed.
The method that the present embodiment provides, by the relation identity between predefined first user and the second user, when getting first user and will send to the word message of the second user, and when comprising default responsive vocabulary in this word message, obtain the relation identity between first user and the second user, according to this relation identity, this word message is processed.Take into account the familiarity between first user and the second user, according to this familiarity, determine whether will correct this word message.First user can be met to the demand being familiar with friend and sending fast word message, also can meet subtend and be unfamiliar with the demand that word message that friend sends carries out correcting.
In another embodiment, this processes this word message according to this relation identity, comprising:
When this relation identity is this first mark, send this word message to this second user; Or,
When this relation identity is this second mark, responsive vocabulary notice is carried out to this first user.
In another embodiment, deserve this relation identity be this second identify time, responsive vocabulary notice is carried out to this first user, comprising:
Display reminding window, this prompt window at least comprises one in information, delivery option and correction option, and this information comprises responsive vocabulary for pointing out in this word message;
When the confirmation operation to this delivery option being detected, send this word message to this second user; Or,
When the confirmation operation to this correction option being detected, in this instant session interface, obtain the word message after the correction of this first user.
In another embodiment, the method also comprises:
According to the history intersection record between this first user and this second user, determine the relation identity between this first user and this second user.
In another embodiment, this is determined the relation identity between this first user and this second user according to the history intersection record between this first user and this second user, comprising:
According to this history intersection record, determine the frequency of occurrences presetting responsive vocabulary in the reciprocal process of this first user and this second user;
According to this frequency of occurrences, determine the relation identity between this first user and this second user.
In another embodiment, this is according to this frequency of occurrences, determines the relation identity between this first user and this second user, comprising:
When this frequency of occurrences is greater than the first predetermined threshold value, the relation identity between this first user and this second user is defined as the first mark;
When this frequency of occurrences is not more than this first predetermined threshold value, the relation identity between this first user and this second user is defined as the second mark.
In another embodiment, this is determined the relation identity between this first user and this second user according to the history intersection record between this first user and this second user, comprising:
According to this history intersection record, determine in the reciprocal process of this first user and this second user, preset responsive vocabulary the frequency of occurrences and correction of frequency, this correction of frequency is for representing that this first user is when carrying out mutual with this second user, to the correction of frequency of default responsive vocabulary;
According to this frequency of occurrences and this correction of frequency, determine the relation identity between this first user and this second user.
In another embodiment, this, according to this frequency of occurrences and this correction of frequency, is determined the relation identity between this first user and this second user, comprising:
When this frequency of occurrences is not more than the first predetermined threshold value, the relation identity between this first user and this second user is defined as the second mark;
When this frequency of occurrences is greater than this first predetermined threshold value, judge whether this correction of frequency is greater than the second predetermined threshold value; When this correction of frequency is greater than this second predetermined threshold value, the relation identity between this first user and this second user is defined as the second mark; And when this correction of frequency is not more than this second predetermined threshold value, the relation identity between this first user and this second user is defined as the first mark.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation embodiment of the present disclosure, this is no longer going to repeat them.
Fig. 2 is the process flow diagram of a kind of word message disposal route according to an exemplary embodiment, and as shown in Figure 2, this word message treatment method is used for, in terminal, comprising the following steps:
In step 201, this terminal obtains the customer relationship chain of first user, for each second user in this customer relationship chain, according to the history intersection record between this first user and this second user, determine the relation identity between this first user and this second user.
Wherein, this first user refers to the user of current this terminal of use, this terminal can identify based on first user, login appointed function is applied, this first user mark is used for determining this first user, can be the account, the pet name etc. of this first user, the application of this appointed function can be for office terminal contact person application or social to apply, the present embodiment does not limit this.This terminal can obtain the customer relationship chain of this first user, and this customer relationship chain comprises multiple user, and these users can think the friend of this first user.This customer relationship chain can comprise at least one item in the contact person in the address list of this terminal and the contact person in social application, and the present embodiment does not limit this.
This terminal can identify based on this first user, carries out alternately with the arbitrary user in this customer relationship chain, send message to this user or receive this user send message.Mutual message can comprise word message, image information, audio message etc., the present embodiment does not limit this.And this terminal according to message mutual between the user in this first user and this customer relationship chain, can generate history intersection record, comprises the multiple messages of this first user and this user interactions in this history intersection record.
In the present embodiment, using each user in this customer relationship chain as the second user, in order to know the familiarity between this first user and this second user, this terminal can obtain the history intersection record between this first user and this second user, this history intersection record comprises many word messages of this first user and this second user interactions, according to this history intersection record, the relation identity between this first user and this second user can be determined, represent the familiarity between this first user and this second user with this relation identity.
Wherein, this relation identity can comprise the first mark and second mark, this first mark represented by familiarity be greater than this second mark represented by familiarity.So, relation identity between this first user and this second user can be that the first mark or second identifies, if the relation identity between this first user and this second user is the first mark, represent that this first user and this second user are familiar with, if and the relation identity between this first user and this second user is the second mark, represent that this first user and this second user are unfamiliar with.
Consider that first user can send to the friend be familiar with the word message comprising responsive vocabulary, and seldom send the word message comprising responsive vocabulary to unfamiliar friend, according to this history intersection record, this terminal determines that this relation identity can comprise step 2011:
Step 2011, this terminal, according to this history intersection record, are determined the frequency of occurrences presetting responsive vocabulary in the reciprocal process of this first user and this second user, according to this frequency of occurrences, are determined the relation identity between this first user and this second user.
Wherein, this default responsive vocabulary refers to and is considered to indecency, uncultivated vocabulary, this is preset responsive vocabulary and can be determined according to dictionary in advance by this terminal, or send to this terminal after being determined according to dictionary in advance by server, and in application process, constantly can upgrade default responsive vocabulary, the present embodiment does not limit this.Or, preset indecency, the uncultivated network boom word that sensitive word Correspondent crosses Network Capture.
In the reciprocal process of first user and the second user, the frequency of occurrences presetting responsive vocabulary is higher, can think this first user and this second user more familiar, therefore, this terminal according to the frequency of occurrences presetting responsive vocabulary in the reciprocal process of this first user and this second user, can determine the relation identity of this first user and this second user.
Such as, this terminal can according to this history intersection record, obtain the total number of this first user and the mutual word message of this second user, and obtain the occurrence number presetting responsive vocabulary in this first user and the mutual word message of this second user, calculate the business between this occurrence number and this total number, as the frequency of occurrences of default responsive vocabulary.Wherein, this first user and the mutual word message of this second user comprise this first user and send to the word message of this second user and this second user to send to the word message of this first user.
Wherein, when obtaining the occurrence number presetting responsive vocabulary, can judge respectively this first user and the mutual every bar word message of this second user, obtain the occurrence number presetting responsive vocabulary in every bar word message, the occurrence number of occurrence number sum as default responsive vocabulary of responsive vocabulary will be preset in every bar word message.And for every bar word message, this terminal can obtain the keyword in this word message, adopt keyword match technology, judge whether the keyword in this word message mates with predetermined multiple default responsive vocabulary, when the arbitrary keyword in this word message and a certain default responsive terminology match, determine that comprising one in this word message presets responsive vocabulary, namely presets sensitive word remittance abroad now once.This terminal follow-up can also proceed coupling to other keywords in this word message, to determine the default responsive vocabulary number comprised in this word message, that is to say the occurrence number presetting responsive vocabulary in this word message.
This terminal can also according to this history intersection record, obtain the total number of the word message that this first user sends to this second user, and obtain the occurrence number presetting responsive vocabulary in the word message that this first user sends to this second user, calculate the business between this occurrence number and this total number, as the frequency of occurrences of default responsive vocabulary.
Wherein, when obtaining the occurrence number presetting responsive vocabulary, every bar word message of this second user can be sent to judge respectively to this first user, obtain the occurrence number presetting responsive vocabulary in every bar word message, the occurrence number of occurrence number sum as default responsive vocabulary of responsive vocabulary will be preset in every bar word message.
After determining the frequency of occurrences of default responsive vocabulary, this terminal can judge whether the frequency of occurrences that this presets responsive vocabulary is greater than the first predetermined threshold value, if this frequency of occurrences is greater than the first predetermined threshold value, represent that this first user and this second user often comprise the word message of default responsive vocabulary alternately, this first user and this second user comparatively familiar, then the relation identity between this first user and this second user is defined as this and first identifies.If this frequency of occurrences is not more than this first predetermined threshold value, represent that this first user and this second user comprise the word message of default responsive vocabulary seldom alternately, this first user and this second user are unfamiliar with, then the relation identity between this first user and this second user is defined as this and second identifies.Wherein, this first predetermined threshold value can be determined by carrying out statistics to the frequency of occurrences presetting responsive vocabulary in each user interaction process in this first user and this customer relationship chain, can be the mean value that this first user and the plurality of user preset the frequency of occurrences of responsive vocabulary in reciprocal process, this first predetermined threshold value can be 0.2,0.4 or other numerical value, and the present embodiment does not limit this.
In addition, if this first user is due to reasons such as input speed are too fast or input operation is unskilled, and the message comprising default responsive vocabulary is often sent to this second user, but when not in fact being familiar with this second user, this first user is after have sent the word message comprising default responsive vocabulary to this second user, resend new word message possibly, the front default responsive vocabulary once sent is corrected.For this reason, according to this history intersection record, this terminal determines that this relation identity can comprise step 2012:
Step 2012, this terminal are according to this history intersection record, determine in the reciprocal process of this first user and this second user, preset responsive vocabulary the frequency of occurrences and correction of frequency, according to this frequency of occurrences and this correction of frequency, determine the relation identity between this first user and this second user.
Wherein, this correction of frequency is for representing that this first user is when carrying out mutual with this second user, to the correction of frequency of default responsive vocabulary.When this first user sends word message to this second user, this terminal can detect this first user and correct the behavior presetting responsive vocabulary, obtain the correct frequency of this first user, and calculate the occurrence number presetting responsive vocabulary in the word message that this first user sends to this second user, calculate the business between this correct frequency and this occurrence number, as the correction of frequency of default responsive vocabulary.Wherein, the step and the above-mentioned steps 2011 that calculate the occurrence number presetting responsive vocabulary are similar, do not repeat them here.
When first user sends word message to the second user, the behavior presetting responsive vocabulary is corrected in order to detect first user, for every bar word message that this first user sends to this second user, this terminal can judge whether comprise default responsive vocabulary in this word message, if comprise default responsive vocabulary in this word message, obtain the word message of the preset number sent after this word message, judge whether to comprise in the word message of this preset number and preset the similar normal vocabulary of responsive vocabulary to this, the similar normal vocabulary of responsive vocabulary is preset to this if comprised in the word message of this preset number, represent that this first user is after have sent this and presetting responsive vocabulary, resend and preset the similar normal vocabulary of responsive vocabulary to this, the object sending this normal vocabulary is to correct this default responsive vocabulary, that is to say that this first user is corrected once default responsive vocabulary.Adopt aforesaid way, repeated detection can go out the behavior that this first user corrects default responsive vocabulary, determine the correct frequency of this first user.
Wherein, this normal vocabulary refers to the vocabulary except presetting except responsive vocabulary, and this preset number is pre-determined by this terminal, and can be the numerical value such as 1,2,3, the present embodiment limit this.
In the present embodiment, for Chinese vocabulary, when two different vocabulary phonetics are identical, can think that two vocabulary are similar.Then whether this terminal comprises when presetting the similar normal vocabulary of responsive vocabulary to this in the word message judging this preset number, the phonetic that this presets responsive vocabulary can be obtained, and search in the word message of this preset number, judge in the word message of this preset number, whether to comprise the phonetic vocabulary identical with the phonetic of this default responsive vocabulary, if comprised, then judge whether this vocabulary is default responsive vocabulary, if this vocabulary is not default responsive vocabulary, determines to comprise in the word message of this preset number and preset the similar normal vocabulary of responsive vocabulary to this.
Or for English glossary, the English alphabet comprised in two vocabulary is identical, but English alphabet put in order difference time, can think that two vocabulary are similar.Then whether this terminal comprises when presetting the similar normal vocabulary of responsive vocabulary to this in the word message judging this preset number, can search in the word message of this preset number, judge whether to comprise in the word message of this preset number the English alphabet presetting responsive vocabulary from this identical but English alphabet puts in order different vocabulary, if comprised, then judge whether this vocabulary is default responsive vocabulary, if this vocabulary is not default responsive vocabulary, determines to comprise in the word message of this preset number and preset the similar normal vocabulary of responsive vocabulary to this.
After the frequency of occurrences determining default responsive vocabulary and correction of frequency, whether this frequency of occurrences of this terminal judges is greater than the first predetermined threshold value, if this frequency of occurrences is not more than the first predetermined threshold value, represent that this first user and this second user comprise the word message of default responsive vocabulary seldom alternately, this first user and this second user are unfamiliar with, then directly relation identity between this first user and this second user is defined as this and second identifies.If this frequency of occurrences is greater than this first predetermined threshold value, represents that this first user and this second user often comprise the word message of default responsive vocabulary alternately, then judge whether this correction of frequency is greater than the second predetermined threshold value.If this correction of frequency is greater than this second predetermined threshold value; after representing that this first user have sent the word message comprising default responsive vocabulary to this second user; often can correct this default responsive vocabulary; this first user and this second user are unfamiliar with, then the relation identity between this first user and this second user is defined as this and second identifies.And if this correction of frequency is not more than this second predetermined threshold value, represent that this first user and this second user often comprise the word message of default responsive vocabulary alternately, and seldom the default responsive vocabulary sent is corrected, namely this first user and this second user are familiar with, then the relation identity between this first user and this second user is defined as this and first identifies.Wherein, this second predetermined threshold value can be determined by carrying out statistics to the correction of frequency presetting responsive vocabulary in each user interaction process in this first user and this customer relationship chain, can be the mean value that this first user and the plurality of user preset the correction of frequency of responsive vocabulary in reciprocal process, this second predetermined threshold value can be 0.5,0.6 or other numerical value, and the present embodiment does not limit this.
Such as, in the reciprocal process of this first user and this second user, the frequency of occurrences presetting responsive vocabulary is F, and correction of frequency is C, and this first predetermined threshold value is 0.2, and this second predetermined threshold value is 0.5, then can comprise following several situation when determining this relation identity:
(1) F≤0.2, determines that the relation identity between first user and the second user is the second mark;
(2)F>0.2:
(2-1) C≤0.5, determines that the relation identity between first user and the second user is the first mark;
(2-2) C>0.5, determines that the relation identity between first user and the second user is the second mark.
After determining the relation identity between this first user and each user, this terminal can store the relation identity between this first user and each user, in follow-up reciprocal process, this terminal can, according to the relation identity between this first user and each user, send to the word message of respective user to process to this first user.
It should be noted that, the present embodiment is only designated example is described this relation identity to be comprised the first mark and second, that is to say and the relation identity between this first user and friend is divided into the first mark and the second mark.And in fact, this relation identity can also comprise multiple mark, namely the relation identity between first user and friend can be divided into multiple mark, each mark represents different familiarity, thus the familiarity between first user and friend can be divided into multiple gradient, do not repeat them here.
In step 202., the instant session interface of this terminal demonstration first user and the second user, in this instant session interface, obtains the first user word message giving this second user to be sent.
When first user will send message to the second user, this terminal can show the instant session interface of first user and the second user, this instant session interface comprises input field and delivery option, this first user can in input field input characters message, and click delivery option, indicate this terminal that this word message is sent to this second user.Then when this terminal detects the clicking operation to this delivery option, in this instant session interface, the word message that this first user will send to this second user can be obtained.
In step 203, whether this word message of this terminal judges comprises default responsive vocabulary, if so, performs step 204, if not, performs step 205.
For the ease of correcting the default responsive vocabulary in word message, this terminal first judges whether comprise default responsive vocabulary in this word message, if comprise default responsive vocabulary in this word message, then this terminal obtains the relation identity between this first user and this second user, according to the relation identity between this first user and this second user, this word message is processed, if do not comprise default responsive vocabulary in this word message, then this terminal sends this word message directly to this second user, achieves the quick transmission of word message.
In step 204, this terminal obtains the relation identity between this first user and this second user, judges whether this relation identity is the first mark, if so, performs step 205, if not, performs step 206.
When comprising default responsive vocabulary in this word message, this terminal obtains the relation identity between this first user fixed and this second user, judge whether this relation identity is the first mark, if this relation identity is the first mark, represent that this first user and this second user are familiar with, this first user can send default responsive vocabulary to this second user, then send the demand of word message fast to meet this first user, and this terminal sends this word message directly to this second user.If this relation identity is not the first mark, namely when this relation identity is the second mark, represent that this first user and this second user are unfamiliar with, be not easy to send default responsive vocabulary to this second user, then this terminal can not send this word message to this second user, but carries out responsive vocabulary notice to this first user.
It should be noted that, in the present embodiment, this terminal first determines the relation identity in this first user and this customer relationship chain between each user, when this first user to send to comprise default responsive vocabulary in the word message of this second user time, then obtain the relation identity between this first user fixed and this second user.And in actual applications, this terminal can also determine this first user to send to comprise default responsive vocabulary in the word message of this second user time, this relation identity is determined again according to the history intersection record of this first user and this second user, namely this step 201 can also perform after step 203, and the present embodiment does not limit this.
In step 205, this terminal sends this word message to this second user, terminates.
This terminal can be applied by this appointed function, identify based on this first user, this word message is sent to the webserver, when this webserver receives this word message, terminal to this second user ID place sends this word message, the terminal at this second user ID place is in the instant session interface of this second user and this first user, and show this word message, the second user can check this word message.
Wherein, this second user ID is used for determining this second user, and can be the account, the pet name etc. of this second user, the present embodiment limit this.This webserver and this appointed function association, when this appointed function is applied as the application for office terminal contact person, this webserver can be base station server, when this appointed function is applied as social application, this webserver can be social application server etc., and the present embodiment does not limit this.
The present embodiment is only described to not performing any example that is operating as after this second user sends this word message with this terminal, in fact, after this terminal sends this word message to this second user, can also continue to send message to this second user, and this terminal can also receive the message that this second user sends, and in this instant session interface, show the message of this second user transmission, do not repeat them here.
In step 206, this terminal carries out responsive vocabulary notice to this first user.
When determining that the relation identity between this first user and this second user is the second mark, this terminal can carry out responsive vocabulary notice to this first user, point out in this word message of this first user and comprise responsive vocabulary, whether inquiry will be corrected this default responsive vocabulary.
This terminal can display reminding window, this prompt window at least comprises one in information, delivery option and correction option, this information comprises responsive vocabulary for pointing out in this word message, after this first user checks this prompting message, can determine whether will correct this default responsive vocabulary, if without the need to correcting this default responsive vocabulary, this first user can confirm this delivery option, when this terminal detects the confirmation operation to this delivery option, send this word message to this second user.If will correct this default responsive vocabulary, this first user can confirm this correction option, when this terminal detects the confirmation operation to this correction option, close this prompt window, this first user can in this instant session interface, the word message inputted is corrected, after correcting, clicks the delivery option in this instant session interface, then this terminal obtain this first user correct after word message.Now, this terminal can send the word message after the correction of this first user directly to this second user, and also can continue the word message after to this correction and perform above-mentioned steps 203-206, the present embodiment does not limit this.
It should be noted that, the present embodiment only performs above-mentioned steps for this terminal and is described, when practical application, this terminal can be installed the application of this appointed function and be specified input method application, this terminal can log in the application of this appointed function based on first user mark, applied by this appointed function, obtain the customer relationship chain of first user, show the instant session interface of this first user and the second user, and applied by this appointed function, carry out alternately with the second user, generate history intersection record.
The application of this appointed function can to this appointment input method application open interface, and the first user that the application of this appointment input method can be applied with this appointed function of login identifies to be bound.Then this appointment input method application can call and this appointed function apply between interface, obtain the history intersection record of this first user and this second user, according to this history intersection record, determine the relation identity between this first user and this second user.This appointment input method application can also call and this appointed function apply between interface, catch the word message that first user will send to this second user in this instant session interface, when this word message does not comprise default responsive vocabulary, or, this word message comprise default responsive vocabulary and relation identity between this first user and this second user is the first mark time, the application of this appointment input method can pass through this interface, message is verified to this appointed function application transmission, applied by this appointed function and identify based on this first user, this word message is sent to this second user.And when this word message comprises default responsive vocabulary and relation identity between this first user and this second user is the second mark, this appointment input method application display reminding window, responsive vocabulary notice is carried out to this first user, when this first user confirmation this word message of transmission or after this first user is corrected this word message, the application of this appointment input method is by this interface, message is verified to this appointed function application transmission, applied by this appointed function and identify based on this first user, send this word message to this second user.
It should be noted that, the scene that the present embodiment only sends word message for first user to the second user is described, relation identity between the terminal determination first user that first user uses and the second user, according to this relation identity, the first user word message of the second user of giving to be sent is processed.And in actual applications, second user also can send word message to first user, the terminal that then the second user uses can determine the relation identity between the second user and first user, according to relation identity, processes the second user word message of first user of giving to be sent.Wherein, the relation identity that the terminal that first user uses is determined can be identical with the relation identity that the terminal that the second user uses is determined, also can be different, and the present embodiment does not limit this.
Only according to the input habit of transmit leg, the word message that send can be corrected in correlation technique, do not consider the relation between transmit leg and take over party.And in the present embodiment, consider the relation between transmit leg and take over party, represent the familiarity between transmit leg and take over party with relation identity, and according to this relation identity, the word message that will send is processed, more can meet the demand of transmit leg, improve Consumer's Experience.
The method that the present embodiment provides, by the relation identity between predefined first user and the second user, when getting first user and will send to the word message of the second user, and when comprising default responsive vocabulary in this word message, obtain the relation identity between first user and the second user, according to this relation identity, this word message is processed.Take into account the familiarity between first user and the second user, according to this familiarity, determine whether will correct this word message.First user can be met to the demand being familiar with friend and sending fast word message, also can meet subtend and be unfamiliar with the demand that word message that friend sends carries out correcting.
Consider that first user can send to the friend be familiar with the word message comprising responsive vocabulary, and the custom comprising the word message of responsive vocabulary is seldom sent to unfamiliar friend, and this first user is after have sent the word message comprising default responsive vocabulary to unfamiliar friend, the custom can corrected the front default responsive vocabulary once sent, the frequency of occurrences and correction of frequency according to presetting responsive vocabulary in the reciprocal process of this first user and this second user determine relation identity, more be applicable to the input habit of user, the relation identity determined can embody the familiarity between two users more exactly.
Fig. 3 is the block diagram of a kind of word message treating apparatus according to an exemplary embodiment.See Fig. 3, this device comprises message capturing module 301, identifier acquisition module 302 and processing module 303.
Message capturing module 301, in the instant session interface of first user and the second user, obtains this first user to be sent to the word message of this second user;
Identifier acquisition module 302, for when comprising default responsive vocabulary in this word message, obtains the relation identity between this first user and this second user;
Processing module 303, for according to this relation identity, processes this word message;
Wherein, this relation identity is for representing the familiarity between this first user and this second user.
The device that the present embodiment provides, by the relation identity between predefined first user and the second user, when getting first user and will send to the word message of the second user, and when comprising default responsive vocabulary in this word message, obtain the relation identity between first user and the second user, according to this relation identity, this word message is processed.Take into account the familiarity between first user and the second user, according to this familiarity, determine whether will correct this word message.First user can be met to the demand being familiar with friend and sending fast word message, also can meet subtend and be unfamiliar with the demand that word message that friend sends carries out correcting.
In another embodiment, this relation identity be the first mark or second mark, this first mark represented by familiarity be greater than this second mark represented by familiarity.
In another embodiment, this processing module 303 comprises:
First processing unit, during for being this first mark when this relation identity, sends this word message to this second user; Or,
Second processing unit, during for being this second mark when this relation identity, carries out responsive vocabulary notice to this first user.
In another embodiment, this second processing unit is also for display reminding window, and this prompt window at least comprises one in information, delivery option and correction option, and this information comprises responsive vocabulary for pointing out in this word message; When the confirmation operation to this delivery option being detected, send this word message to this second user; Or, when the confirmation operation to this correction option being detected, in this instant session interface, obtain the word message after the correction of this first user.
In another embodiment, this device also comprises:
Determination module, for according to the history intersection record between this first user and this second user, determines the relation identity between this first user and this second user.
In another embodiment, this determination module, also for according to this history intersection record, determines the frequency of occurrences presetting responsive vocabulary in the reciprocal process of this first user and this second user; According to this frequency of occurrences, determine the relation identity between this first user and this second user.
In another embodiment, the relation identity between this first user and this second user also for when this frequency of occurrences is greater than the first predetermined threshold value, is defined as the first mark by this determination module; When this frequency of occurrences is not more than this first predetermined threshold value, the relation identity between this first user and this second user is defined as the second mark.
In another embodiment, this determination module is also for according to this history intersection record, determine in the reciprocal process of this first user and this second user, preset responsive vocabulary the frequency of occurrences and correction of frequency, this correction of frequency is for representing that this first user is when carrying out mutual with this second user, to the correction of frequency of default responsive vocabulary; According to this frequency of occurrences and this correction of frequency, determine the relation identity between this first user and this second user.
In another embodiment, the relation identity between this first user and this second user also for when this frequency of occurrences is not more than the first predetermined threshold value, is defined as the second mark by this determination module; When this frequency of occurrences is greater than this first predetermined threshold value, judge whether this correction of frequency is greater than the second predetermined threshold value; When this correction of frequency is greater than this second predetermined threshold value, the relation identity between this first user and this second user is defined as the second mark; And when this correction of frequency is not more than this second predetermined threshold value, the relation identity between this first user and this second user is defined as the first mark.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation embodiment of the present disclosure, this is no longer going to repeat them.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
It should be noted that: the word message treating apparatus that above-described embodiment provides is when processing word message, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by terminal is divided into different functional modules, to complete all or part of function described above.In addition, the word message treating apparatus that above-described embodiment provides and word message disposal route embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Fig. 4 is the block diagram of a kind of device 400 for word message process according to an exemplary embodiment.Such as, device 400 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 4, device 400 can comprise following one or more assembly: processing components 402, storer 404, power supply module 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of I/O (I/O), sensor module 414, and communications component 416.
The integrated operation of the usual control device 400 of processing components 402, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 402 can comprise one or more processor 420 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 402 can comprise one or more module, and what be convenient between processing components 402 and other assemblies is mutual.Such as, processing components 402 can comprise multi-media module, mutual with what facilitate between multimedia groupware 408 and processing components 402.
Storer 404 is configured to store various types of data to be supported in the operation of device 400.The example of these data comprises for any application program of operation on device 400 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 404 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 406 is device 400 provide electric power.Power supply module 406 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 400 and be associated.
Multimedia groupware 408 is included in the screen providing an output interface between described device 400 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 408 comprises a front-facing camera and/or post-positioned pick-up head.When device 400 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 410 is configured to export and/or input audio signal.Such as, audio-frequency assembly 410 comprises a microphone (MIC), and when device 400 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 404 further or be sent via communications component 416.In certain embodiments, audio-frequency assembly 410 also comprises a loudspeaker, for output audio signal.
I/O interface 412 is for providing interface between processing components 402 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 414 comprises one or more sensor, for providing the state estimation of various aspects for device 400.Such as, sensor module 414 can detect the opening/closing state of device 400, the relative positioning of assembly, such as described assembly is display and the keypad of device 400, the position of all right pick-up unit 400 of sensor module 414 or device 400 1 assemblies changes, the presence or absence that user contacts with device 400, the temperature variation of device 400 orientation or acceleration/deceleration and device 400.Sensor module 414 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 414 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 414 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 416 is configured to the communication being convenient to wired or wireless mode between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 416 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 416 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 400 can be realized, for performing above-mentioned word message disposal route by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 404 of instruction, above-mentioned instruction can perform said method by the processor 420 of device 400.Such as, this non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in this storage medium is performed by the processor of terminal, make terminal can perform a kind of word message disposal route, the method comprises:
In the instant session interface of first user and the second user, obtain described first user to be sent to the word message of described second user;
When comprising default responsive vocabulary in described word message, obtain the relation identity between described first user and described second user;
According to described relation identity, described word message is processed;
Wherein, described relation identity is for representing the familiarity between described first user and described second user.
In another embodiment, described relation identity is the first mark or the second mark, and the familiarity represented by described first mark is greater than the familiarity represented by described second mark.
In another embodiment, described according to described relation identity, described word message is processed, comprising:
When described relation identity is described first mark, send described word message to described second user; Or,
When described relation identity is described second mark, responsive vocabulary notice is carried out to described first user.
In another embodiment, described when described relation identity is described second mark, responsive vocabulary notice is carried out to described first user, comprising:
Display reminding window, described prompt window at least comprises one in information, delivery option and correction option, and described information comprises responsive vocabulary for pointing out in described word message;
When the confirmation operation to described delivery option being detected, send described word message to described second user; Or,
When the confirmation operation to described correction option being detected, in described instant session interface, obtain the word message after the correction of described first user.
In another embodiment, described method also comprises:
According to the history intersection record between described first user and described second user, determine the relation identity between described first user and described second user.
In another embodiment, described according to the history intersection record between described first user and described second user, determine the relation identity between described first user and described second user, comprising:
According to described history intersection record, determine the frequency of occurrences presetting responsive vocabulary in the reciprocal process of described first user and described second user;
According to the described frequency of occurrences, determine the relation identity between described first user and described second user.
In another embodiment, described according to the described frequency of occurrences, determine the relation identity between described first user and described second user, comprising:
When the described frequency of occurrences is greater than the first predetermined threshold value, the relation identity between described first user and described second user is defined as the first mark;
When the described frequency of occurrences is not more than described first predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark.
In another embodiment, described according to the history intersection record between described first user and described second user, determine the relation identity between described first user and described second user, comprising:
According to described history intersection record, determine in the reciprocal process of described first user and described second user, preset responsive vocabulary the frequency of occurrences and correction of frequency, described correction of frequency is for representing that described first user is when carrying out mutual with described second user, to the correction of frequency of default responsive vocabulary;
According to the described frequency of occurrences and described correction of frequency, determine the relation identity between described first user and described second user.
In another embodiment, described according to the described frequency of occurrences and described correction of frequency, determine the relation identity between described first user and described second user, comprising:
When the described frequency of occurrences is not more than the first predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark;
When the described frequency of occurrences is greater than described first predetermined threshold value, judge whether described correction of frequency is greater than the second predetermined threshold value; When described correction of frequency is greater than described second predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark; And when described correction of frequency is not more than described second predetermined threshold value, the relation identity between described first user and described second user is defined as the first mark.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation embodiment of the present disclosure, this is no longer going to repeat them.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (19)

1. a word message disposal route, is characterized in that, described method comprises:
In the instant session interface of first user and the second user, obtain described first user to be sent to the word message of described second user;
When comprising default responsive vocabulary in described word message, obtain the relation identity between described first user and described second user;
According to described relation identity, described word message is processed;
Wherein, described relation identity is for representing the familiarity between described first user and described second user.
2. method according to claim 1, is characterized in that, described relation identity is the first mark or the second mark, and the familiarity represented by described first mark is greater than the familiarity represented by described second mark.
3. method according to claim 2, is characterized in that, described according to described relation identity, processes, comprising described word message:
When described relation identity is described first mark, send described word message to described second user; Or,
When described relation identity is described second mark, responsive vocabulary notice is carried out to described first user.
4. method according to claim 3, is characterized in that, described when described relation identity is described second mark, carries out responsive vocabulary notice, comprising described first user:
Display reminding window, described prompt window at least comprises one in information, delivery option and correction option, and described information comprises responsive vocabulary for pointing out in described word message;
When the confirmation operation to described delivery option being detected, send described word message to described second user; Or,
When the confirmation operation to described correction option being detected, in described instant session interface, obtain the word message after the correction of described first user.
5. method according to claim 1, is characterized in that, described method also comprises:
According to the history intersection record between described first user and described second user, determine the relation identity between described first user and described second user.
6. method according to claim 5, is characterized in that, described according to the history intersection record between described first user and described second user, determines the relation identity between described first user and described second user, comprising:
According to described history intersection record, determine the frequency of occurrences presetting responsive vocabulary in the reciprocal process of described first user and described second user;
According to the described frequency of occurrences, determine the relation identity between described first user and described second user.
7. method according to claim 6, is characterized in that, described according to the described frequency of occurrences, determines the relation identity between described first user and described second user, comprising:
When the described frequency of occurrences is greater than the first predetermined threshold value, the relation identity between described first user and described second user is defined as the first mark;
When the described frequency of occurrences is not more than described first predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark.
8. method according to claim 5, is characterized in that, described according to the history intersection record between described first user and described second user, determines the relation identity between described first user and described second user, comprising:
According to described history intersection record, determine in the reciprocal process of described first user and described second user, preset responsive vocabulary the frequency of occurrences and correction of frequency, described correction of frequency is for representing that described first user is when carrying out mutual with described second user, to the correction of frequency of default responsive vocabulary;
According to the described frequency of occurrences and described correction of frequency, determine the relation identity between described first user and described second user.
9. method according to claim 8, is characterized in that, described according to the described frequency of occurrences and described correction of frequency, determines the relation identity between described first user and described second user, comprising:
When the described frequency of occurrences is not more than the first predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark;
When the described frequency of occurrences is greater than described first predetermined threshold value, judge whether described correction of frequency is greater than the second predetermined threshold value; When described correction of frequency is greater than described second predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark; And when described correction of frequency is not more than described second predetermined threshold value, the relation identity between described first user and described second user is defined as the first mark.
10. a word message treating apparatus, is characterized in that, described device comprises:
Message capturing module, in the instant session interface of first user and the second user, obtains described first user to be sent to the word message of described second user;
Identifier acquisition module, for when comprising default responsive vocabulary in described word message, obtains the relation identity between described first user and described second user;
Processing module, for according to described relation identity, processes described word message;
Wherein, described relation identity is for representing the familiarity between described first user and described second user.
11. devices according to claim 10, is characterized in that, described relation identity is the first mark or the second mark, and the familiarity represented by described first mark is greater than the familiarity represented by described second mark.
12. devices according to claim 11, is characterized in that, described processing module comprises:
First processing unit, during for being described first mark when described relation identity, sends described word message to described second user; Or,
Second processing unit, during for being described second mark when described relation identity, carries out responsive vocabulary notice to described first user.
13. devices according to claim 12, it is characterized in that, described second processing unit is also for display reminding window, and described prompt window at least comprises one in information, delivery option and correction option, and described information comprises responsive vocabulary for pointing out in described word message; When the confirmation operation to described delivery option being detected, send described word message to described second user; Or, when the confirmation operation to described correction option being detected, in described instant session interface, obtain the word message after the correction of described first user.
14. devices according to claim 10, is characterized in that, described device also comprises:
Determination module, for according to the history intersection record between described first user and described second user, determines the relation identity between described first user and described second user.
15. devices according to claim 14, is characterized in that, described determination module, also for according to described history intersection record, determines the frequency of occurrences presetting responsive vocabulary in the reciprocal process of described first user and described second user; According to the described frequency of occurrences, determine the relation identity between described first user and described second user.
16. devices according to claim 15, is characterized in that, the relation identity between described first user and described second user also for when the described frequency of occurrences is greater than the first predetermined threshold value, is defined as the first mark by described determination module; When the described frequency of occurrences is not more than described first predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark.
17. devices according to claim 14, it is characterized in that, described determination module is also for according to described history intersection record, determine in the reciprocal process of described first user and described second user, preset responsive vocabulary the frequency of occurrences and correction of frequency, described correction of frequency is for representing that described first user is when carrying out mutual with described second user, to the correction of frequency of default responsive vocabulary; According to the described frequency of occurrences and described correction of frequency, determine the relation identity between described first user and described second user.
18. devices according to claim 17, is characterized in that, the relation identity between described first user and described second user also for when the described frequency of occurrences is not more than the first predetermined threshold value, is defined as the second mark by described determination module; When the described frequency of occurrences is greater than described first predetermined threshold value, judge whether described correction of frequency is greater than the second predetermined threshold value; When described correction of frequency is greater than described second predetermined threshold value, the relation identity between described first user and described second user is defined as the second mark; And when described correction of frequency is not more than described second predetermined threshold value, the relation identity between described first user and described second user is defined as the first mark.
19. 1 kinds of word message treating apparatus, is characterized in that, comprising:
Processor; For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
In the instant session interface of first user and the second user, obtain described first user to be sent to the word message of described second user;
When comprising default responsive vocabulary in described word message, obtain the relation identity between described first user and described second user;
According to described relation identity, described word message is processed;
Wherein, described relation identity is for representing the familiarity between described first user and described second user.
CN201510369407.6A 2015-06-26 2015-06-26 Word message treating method and apparatus Active CN105095366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510369407.6A CN105095366B (en) 2015-06-26 2015-06-26 Word message treating method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510369407.6A CN105095366B (en) 2015-06-26 2015-06-26 Word message treating method and apparatus

Publications (2)

Publication Number Publication Date
CN105095366A true CN105095366A (en) 2015-11-25
CN105095366B CN105095366B (en) 2018-05-08

Family

ID=54575803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510369407.6A Active CN105095366B (en) 2015-06-26 2015-06-26 Word message treating method and apparatus

Country Status (1)

Country Link
CN (1) CN105095366B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930697A (en) * 2016-04-11 2016-09-07 厦门幻世网络科技有限公司 Method and device for opening use permission of interactive information
WO2018107580A1 (en) * 2016-12-15 2018-06-21 华为技术有限公司 Information notification method and device
CN109617795A (en) * 2019-02-27 2019-04-12 中国联合网络通信集团有限公司 A kind of method and system sending message
CN109766441A (en) * 2018-12-28 2019-05-17 北京奇安信科技有限公司 File classification method, apparatus and system
CN110177074A (en) * 2019-04-10 2019-08-27 华为技术有限公司 A kind of sending method and electronic equipment of conversation message
CN110597802A (en) * 2018-05-24 2019-12-20 北京京东尚科信息技术有限公司 Message processing method and device
CN111427459A (en) * 2019-01-08 2020-07-17 北京搜狗科技发展有限公司 Method and related device for input optimization during user communication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878202A (en) * 2005-06-11 2006-12-13 乐金电子(中国)研究开发中心有限公司 Method for analyzing accepted short message
CN104320766A (en) * 2014-10-16 2015-01-28 小米科技有限责任公司 Spam short message identification method, device and equipment
CN104579933A (en) * 2015-02-03 2015-04-29 上海天奕达电子科技有限公司 User management method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878202A (en) * 2005-06-11 2006-12-13 乐金电子(中国)研究开发中心有限公司 Method for analyzing accepted short message
CN104320766A (en) * 2014-10-16 2015-01-28 小米科技有限责任公司 Spam short message identification method, device and equipment
CN104579933A (en) * 2015-02-03 2015-04-29 上海天奕达电子科技有限公司 User management method and system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017177871A1 (en) * 2016-04-11 2017-10-19 厦门幻世网络科技有限公司 Method and device for granting interaction information usage right
CN105930697A (en) * 2016-04-11 2016-09-07 厦门幻世网络科技有限公司 Method and device for opening use permission of interactive information
US11381527B2 (en) 2016-12-15 2022-07-05 Huawei Technologies Co., Ltd. Information prompt method and apparatus
WO2018107580A1 (en) * 2016-12-15 2018-06-21 华为技术有限公司 Information notification method and device
CN109716328A (en) * 2016-12-15 2019-05-03 华为技术有限公司 A kind of method and device of information alert
CN110597802A (en) * 2018-05-24 2019-12-20 北京京东尚科信息技术有限公司 Message processing method and device
CN109766441A (en) * 2018-12-28 2019-05-17 北京奇安信科技有限公司 File classification method, apparatus and system
CN109766441B (en) * 2018-12-28 2021-07-09 奇安信科技集团股份有限公司 Text classification method, device and system
CN111427459A (en) * 2019-01-08 2020-07-17 北京搜狗科技发展有限公司 Method and related device for input optimization during user communication
CN111427459B (en) * 2019-01-08 2024-04-02 北京搜狗科技发展有限公司 Method and related device for optimizing input during user communication
CN109617795A (en) * 2019-02-27 2019-04-12 中国联合网络通信集团有限公司 A kind of method and system sending message
CN109617795B (en) * 2019-02-27 2021-08-31 中国联合网络通信集团有限公司 Method and system for sending message
CN110177074A (en) * 2019-04-10 2019-08-27 华为技术有限公司 A kind of sending method and electronic equipment of conversation message
CN110177074B (en) * 2019-04-10 2021-02-12 华为技术有限公司 Method for sending conversation message and electronic equipment

Also Published As

Publication number Publication date
CN105095366B (en) 2018-05-08

Similar Documents

Publication Publication Date Title
CN104780155B (en) Apparatus bound method and device
CN105095366A (en) Method and device for processing character messages
CN104731688B (en) Point out the method and device of reading progress
CN104503689A (en) Method and device for displaying application interface
CN104238875A (en) Application corner mark addition method and device
CN104679599A (en) Application program duplicating method and device
CN104238912A (en) Application control method and application control device
CN105260360A (en) Named entity identification method and device
CN104536935A (en) Calculation displaying method, calculation editing method and device
CN105975156A (en) Application interface display method and device
CN104735670A (en) Network access method and device
CN104850849A (en) Method, device and terminal for sending character
CN106203650A (en) Call a taxi and ask sending method and device
CN105335062A (en) Information editing operation processing method and apparatus
CN105447109A (en) Key word searching method and apparatus
CN104899501A (en) Dialog list display method and device and terminal
CN105263126A (en) Method, device and system for short message verification
CN105554215A (en) Automatic selection dialing method and device, and mobile terminal
CN105323152A (en) Message processing method, device and equipment
CN106130873A (en) Information processing method and device
CN112948704A (en) Model training method and device for information recommendation, electronic equipment and medium
CN107404429A (en) Circle of friends answering method, device and computer-readable recording medium
CN104836721A (en) Group session message reminding method and group session message reminding device
CN104281368A (en) Interface display method and device and terminal device
CN105227660A (en) A kind of based reminding method and device

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