CN105227431B - The method and apparatus that good friend or group are fast added in instant messaging - Google Patents

The method and apparatus that good friend or group are fast added in instant messaging Download PDF

Info

Publication number
CN105227431B
CN105227431B CN201410307313.1A CN201410307313A CN105227431B CN 105227431 B CN105227431 B CN 105227431B CN 201410307313 A CN201410307313 A CN 201410307313A CN 105227431 B CN105227431 B CN 105227431B
Authority
CN
China
Prior art keywords
account
group
added
user
dialog box
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410307313.1A
Other languages
Chinese (zh)
Other versions
CN105227431A (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410307313.1A priority Critical patent/CN105227431B/en
Publication of CN105227431A publication Critical patent/CN105227431A/en
Application granted granted Critical
Publication of CN105227431B publication Critical patent/CN105227431B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of methods that good friend or group are fast added in instant messaging, comprising steps of judging whether to receive the instruction that user clicks the user account to be added or group's account when in the instant communication information of dialog box to be entered including user account to be added or group's account;When receiving user and clicking the instruction of the user account to be added or group's account, and when local account not yet adds the user account or group's account, addition request is sent to the corresponding account of user account or group's account being clicked.The invention also discloses the devices that good friend or group are fast added in a kind of instant messaging.The present invention is using user account or group's account to be added in the instant communication information shown in click dialog box, directly triggering good friend addition or group's addition operation, it realizes a key and quickly adds good friend or group, simplify operating process, keep operating process simpler, convenient, fast.

Description

The method and apparatus that good friend or group are fast added in instant messaging
Technical field
The present invention relates to Internet technical fields, are related specifically to the method that good friend or group are fast added in instant messaging And device.
Background technique
With the development of network technology, for the convenience of the user between communication exchange, various instant message applications emerge one after another, It is interindividual to realize by point-to-point data transmission technology between client or between client and server Immediately the group chat function between dialogue or more people, keeps the information exchange of Internet user more convenient, quick.
Realize interindividual instant dialogue, needing to add other side is good friend;Realize the group between more people Merely function needs to be added to relevant dialogue group.Good friend is added in the prior art, it is necessary first to be obtained other side's account, be beaten The Fellow searching panel for opening instant message applications inputs other side's account in Fellow searching panel and searches, finds other side's account Addition request is sent to other side's account after number, other side is waited to allow to add the response of good friend, completes good friend's addition.In the prior art The middle mode that group is added, it is necessary first to obtain group's account, panel is searched by the group for then opening instant message applications, in group Group is searched input group's account in panel and is searched, and the request that group is added is sent to group's account after finding group's account, It waits group member or management and group personnel to allow to be added the response of group, completes to add group operation.
The operating process for adding good friend or addition group in the prior art is all sufficiently complex, and complex steps are not easy, can not Realize quick addition.
Summary of the invention
The embodiment of the present invention provides a kind of method and apparatus that good friend or group are fast added in instant messaging, can be realized one Key quickly adds good friend or group, is not necessarily to troublesome operation, and operating process is simple and convenient.
The embodiment of the present invention proposes a kind of method that good friend or group are fast added in instant messaging, comprising steps of
Judge in the instant communication information of dialog box to be entered whether to include user account or group's account to be added Number;
When in the instant communication information of dialog box to be entered including user account to be added or group's account, sentence It is disconnected whether to receive the instruction that user clicks the user account to be added or group's account;
When receiving user and clicking the instruction of the user account to be added or group's account, judge that local account is It is no to have added the user account or group's account;
When local account not yet adds the user account or group's account, to the user account or group's account being clicked Number corresponding account sends addition request.
The embodiment of the present invention also proposes that the device of good friend or group is fast added in a kind of instant messaging, comprising:
Whether matching module includes user to be added in the instant communication information for judging dialog box to be entered Account or group's account;
Instruction acquisition module, for when dialog box to be entered instant communication information in include user's account to be added Number or when group's account, judge whether to receive the instruction that user clicks the user account to be added or group's account;
Judgment module, for when receiving user and clicking the instruction of the user account to be added or group's account, Judge whether local account has added the user account or group's account;
Adding module, for when local account not yet adds the user account or group's account, to the use being clicked Family account or the corresponding account of group's account send addition request.
The embodiment of the present invention using click user account to be added in the instant communication information that shows in dialog box or Group's account, directly triggering good friend addition or group's addition operation, realize a key and quickly add good friend or group, simplify behaviour Make process, keeps operating process simpler, convenient, fast.
Detailed description of the invention
Fig. 1 is the total line chart for the device place terminal that good friend or group are fast added in instant messaging in the embodiment of the present invention;
Fig. 2 is the flow chart of the first embodiment for the method that good friend or group are fast added in instant messaging of the present invention;
Fig. 3 is the flow chart of the second embodiment for the method that good friend or group are fast added in instant messaging of the present invention;
Fig. 4 is the flow chart of the 3rd embodiment for the method that good friend or group are fast added in instant messaging of the present invention;
Fig. 5 is the flow chart of the fourth embodiment for the method that good friend or group are fast added in instant messaging of the present invention;
Fig. 6 is the flow chart of the 5th embodiment of the method that good friend or group are fast added in instant messaging of the present invention;
Fig. 7 is the structural schematic diagram of the first embodiment for the device that good friend or group are fast added in instant messaging of the present invention;
Fig. 8 is the structural schematic diagram of the second embodiment for the device that good friend or group are fast added in instant messaging of the present invention;
Fig. 9 is the structural schematic diagram of the 3rd embodiment for the device that good friend or group are fast added in instant messaging of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in FIG. 1, FIG. 1 is terminals where the device that good friend or group are fast added in instant messaging in the embodiment of the present invention Total line chart.The terminal can be mobile phone, PAD, desktop computer, laptop, all-in-one machine etc., it may include: at least one Manage device 101, such as CPU, at least one network interface 104, user interface 103, memory 105, at least one communication bus 102.Wherein, communication bus 102 is for realizing the connection communication between these components.Wherein, user interface 103 may include showing Display screen (Display), keyboard (Keyboard) can also include standard wireline interface and wireless interface.Network interface 104 can To include standard wireline interface and wireless interface (such as WIFI interface).Memory 105 can be high speed RAM memory, can also be with It is non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 105 may be used also To be storage device that at least one is located remotely from aforementioned processor 101.A kind of memory 105 as computer storage medium In may include operating system, network communication module, Subscriber Interface Module SIM and quick addition good friend or group's program.
Instant messaging shown in Fig. 1 fast adds the device institute of good friend or group in the terminal, and network interface 104 is main For connecting server, data communication is carried out with server;And user interface 103 is mainly used for receiving user instructions, and with Family interacts;And processor 101 can be used for calling the quick addition good friend stored in memory 105 or group's program, and Execute following operation:
Judge in the instant communication information of dialog box to be entered whether to include user account or group's account to be added Number;
When in the instant communication information of dialog box to be entered including user account to be added or group's account, lead to User interface 103 is crossed to judge whether to receive the instruction that user clicks the user account to be added or group's account;
When receiving user and clicking the instruction of the user account to be added or group's account, judge that local account is It is no to have added the user account or group's account;
When local account not yet adds the user account or group's account, by network interface 104 to being clicked User account or the corresponding account of group's account send addition request.
In one embodiment, processor 101 calls the quick addition good friend stored in memory 105 or group's program also Following operation can be executed:
When in the instant communication information of dialog box to be entered including user account to be added or group's account, lead to It crosses user interface 103 and detects the corresponding indicating cursor suspension stay on the user account to be added or group's account of mouse Time;
When detecting the corresponding indicating cursor of mouse suspension stay on the user account to be added or group's account When time is greater than default stop threshold value, floating frame is popped up by the indicating cursor by user interface 103, and described floating The data information of the user account or group's account is shown in dynamic window.
In one embodiment, processor 101 calls the quick addition good friend stored in memory 105 or group's program also Following operation can be executed:
When local account has added the user account or group's account, by user interface 103 be directly switch into The user account or the corresponding dialog box of group's account.
In one embodiment, processor 101 calls the quick addition good friend stored in memory 105 or group's program also Following operation can be executed:
Judge in the instant communication information of dialog box to be entered whether to include the character string for meeting account format;
When including meeting the character string of account format, before or after meeting the character string of account format described in judgement It whether include according with matched character with preset keyword in character;
When including according with matched character with preset keyword, it is to be added that the character string of account format is met described in judgement User account or group's account.
In one embodiment, processor 101 calls the quick addition good friend stored in memory 105 or group's program also Following operation can be executed:
When in the instant communication information of dialog box to be entered including user account to be added or group's account, lead to It crosses user interface 103 user account to be added or group's account are highlighted in the dialog box.
Terminal where the device of good friend or group is fast added in instant messaging described in the present embodiment Fig. 1, using click User account to be added or group's account in the instant communication information shown in dialog box, directly triggering good friend addition or group Group addition operation, realizes a key and quickly adds good friend or group, simplify operating process, keeps operating process simpler, square Just, fast.
As shown in Fig. 2, Fig. 2 is the stream of the first embodiment for the method that good friend or group are fast added in instant messaging of the present invention Cheng Tu.The method that good friend or group are fast added in the instant messaging that the present embodiment is mentioned, comprising steps of
Whether step S10 judges in the instant communication information of dialog box to be entered to include user account to be added Or group's account;
User opens instant message applications on the terminal device, can be carried out by dialog box and the good friend added pair Words, or give out information in the dialog box of added group.User can also receive the other user's hair in dialog box The instant communication information come.The either instant messaging of the instant communication information of user oneself publication or other users publication Message, terminal identify each character in instant communication information, if it is possible to identify it will be shown in front of dialog box The character string of account format out then determines that the character string identified is user account or group's account to be added.For difference User account and group's account can further the prefix character to the character string identified or suffix character identify, for example, Include " group " printed words in the prefix character of the character string identified, then illustrates that the character string identified is group's account.
Step S20, when including user account or group to be added in the instant communication information of dialog box to be entered When account, judge whether to receive the instruction that user clicks user account or group's account to be added;
Step S30 judges local account when receiving user and clicking the instruction of user account or group's account to be added Whether user account or group account have been added in family;
When user needs to add the account to be added shown in dialog box, the account is clicked directly on.To avoid repeating Addition, can first traverse the buddy list or group list of local account, check with the presence or absence of above-mentioned account in list, to judge quilt Whether the account of click has been whether the good friend of local account or local user have been added the group.If local account is The account was added, then can pop up prompting frame prompt user, or dialog box is directly switched to the account being clicked and is corresponded to Dialog box.
Step S40, when local account not yet adds user account or group's account, to the user account or group being clicked The corresponding account of group account sends addition request.
If not finding the account being clicked after traversal buddy list or group list, then illustrating local account simultaneously It was not added with the account, addition operation can be initiated.When executing addition operation, panel is searched without popping up account, but it is straight It connects to the corresponding reciprocal account of account being clicked and issues addition request.Returning in reciprocal account to local account allows addition After response, the operation of good friend's addition or group's addition is completed.
The present embodiment is using user account or group to be added in the instant communication information shown in click dialog box Account, directly triggering good friend addition or group's addition operation, realize a key and quickly add good friend or group, simplify operation stream Journey keeps operating process simpler, convenient, fast.
As shown in figure 3, Fig. 3 is the stream of the second embodiment for the method that good friend or group are fast added in instant messaging of the present invention Cheng Tu.The present embodiment includes all steps in embodiment illustrated in fig. 2, can also increase following steps after step slo, The data information of quick obtaining account to be added.
Step S51, when including user account or group to be added in the instant communication information of dialog box to be entered When account, detection mouse corresponding indicating cursor suspension stay time on user account to be added or group's account;
Step S52, when detecting that the corresponding indicating cursor of mouse suspends on user account to be added or group's account When residence time is greater than default stop threshold value, floating frame is popped up by indicating cursor, and user's account is shown in floating frame Number or group's account data information.
When user needs to consult the data information of account to be added, the corresponding indicating cursor of mouse can be moved to wait add The account position added, indicating cursor are directed toward the instruction of former arrowhead form after the account (i.e. indicating cursor is suspended in the account) Cursor is changed into finger shape (may be alternatively provided as other shapes or do not change shape), as long as indicating cursor is still suspended in the account On number position, indicating cursor persistently keeps finger shape, once indicating cursor leaves the account, indicating cursor recovers immediately former arrow Head shapes.After indicating cursor is directed toward the account, data information display operation can be triggered immediately, obtains the account to server Data information, and be shown on dialog box.But false triggering caused by order to avoid fast moving because of indicating cursor, it is appropriate to can be used The mode of delay, when indicating cursor sustained suspension in the account (can slightly be moved in the view field of the account, but not from Open the account position), the duration is more than default stop threshold value (such as 0.4 second), i.e. triggering data information display operation, favorably It is frequently obtained in excluding data information caused by false triggering, to mitigate the load pressure of server and terminal device.
The present embodiment triggers data information display operation after the corresponding indicating cursor of mouse is directed toward account to be added, The data information of quick obtaining account to be added is realized, and in such a way that appropriate delay obtains, is conducive to exclude false triggering Caused by data information frequently obtain, alleviate the load pressure of server and terminal device.
As shown in figure 4, Fig. 4 is the stream of the 3rd embodiment for the method that good friend or group are fast added in instant messaging of the present invention Cheng Tu.The present embodiment includes all steps in embodiment illustrated in fig. 2, can also include furthermore following after step S30 Step:
Step S60 is directly switch into and user account or group when local account has added user account or group's account The corresponding dialog box of group account.
It, can again if whether user, which forgets to have, adds the account after showing account to be added in dialog box The account is clicked to trigger addition operation, at this time to avoid repeating adding, terminal can traverse buddy list or the group of local account Groups List is checked with the presence or absence of above-mentioned account in list, if the added mistake account, dialog box can be direct for local account It is switched to the corresponding dialog box of the account being clicked, to inform that user's account has been the account added;If user Know that the account has been the account added, and think that opposite end corresponding with account account engages in the dialogue immediately, equally The account to be added can be clicked, dialog box handover operation is triggered, dialog box is made to switch to the account corresponding account Dialog box.
The present embodiment is that dialogue window is directly switched to the account pair when having added account for the account that user clicks The dialog box of account is answered, repetition addition is on the one hand avoided, is conducive to the load pressure for mitigating server and terminal device, separately One conveniently realizes being switched fast for dialog box, simplifies windows exchange trigger flow, makes windows exchange operating process more Simply, convenient, fast.
As shown in figure 5, Fig. 5 is the stream of the fourth embodiment for the method that good friend or group are fast added in instant messaging of the present invention Cheng Tu.The present embodiment is specifically described for the step S10 in embodiment illustrated in fig. 2, and step S10 includes:
Whether step S11 judges in the instant communication information of dialog box to be entered to include the character for meeting account format String;
Step S12, when including meeting the character string of account format, before the character string that judgement meets account format or it It whether include according with matched character with preset keyword in character afterwards;
Step S13, when include with preset keyword accord with matched character when, determine meet account format character string be to The user account or group's account of addition.
Terminal device is that telephone number etc. is non-to avoid the character string identified when identifying to account to be added The character string of account, can be preset recognition rule, for example, by using the form of " key character+account ".Key character may include The combination of keyword or keyword and default punctuate.For example, the keyword of instruction user account may include that " instant messaging is soft Part title+number ", " instant message applications title+account ", " instant message applications title+number " etc., such as " QQ number ", " microblogging Account ", " wechat number " etc.;Indicate group's account keyword may include " group ", " group number ", " group ", " group number ", " group's account " etc.;The default punctuates such as colon, whippletree, bracket, comma can also be added behind these keywords, indicate this Character string after default punctuate is account.The format of account is usually a continuous character string, such as 6~10 Arab Numeric string, naturally it is also possible to be series of letters or letter and number combinatorics on words.For example, occurring in instant communication information " asking the classmate of 05 department of computer science that the group 232323223 is added, thanks ", wherein key character is " group ", and account is " 232323223 " know that the account is group's account from key character.
When identifying account, two kinds of recognition sequences can be used, one is matched key character is first identified, then again from pass The character string for meeting prescribed form is identified in the prefix or suffix character of key characters, then the character string identified is as to be added Account;Another kind is first to identify the character string for meeting prescribed form, then checks the prefix or suffix word of the character string again Whether there is matched key character in symbol, if there is matched key character, then illustrates that the character string is account to be added.
The present embodiment identifies account to be added, identification method letter by the way of key character and account format match It is single, the quick identification of account is realized, and avoid and the character string of non-account is mistaken for account, is conducive to improve account knowledge Other accuracy rate.
As shown in fig. 6, Fig. 6 is the stream of the 5th embodiment of the method that good friend or group are fast added in instant messaging of the present invention Cheng Tu.The present embodiment includes all steps in embodiment illustrated in fig. 2, can also increase following steps after step slo, Highlight account number to be added.
Step S70, when including user account or group to be added in the instant communication information of dialog box to be entered When account, user account to be added or group's account are highlighted in dialog box.
After identifying user account to be added or the group's account in instant communication information, it can be used and be different from other words The modes such as font, color, the underscore of symbol highlight, and carry out quick addition operation convenient for user, at the same also inform user this User account indicated by a little character strings or group's account can be added by way of fast adding.The present embodiment is using prominent The mode for showing account number to be added out distinguishes the account number that can quickly add in instant communication information with other message, Good friend or group are quickly added convenient for user.
As shown in fig. 7, Fig. 7 is the knot of the first embodiment for the device that good friend or group are fast added in instant messaging of the present invention Structure schematic diagram.The device of good friend or group is fast added in the instant messaging that the present embodiment is mentioned, comprising:
Whether matching module 210 includes to be added in the instant communication information for judging dialog box to be entered User account or group's account;
Instruction acquisition module 220, for when dialog box to be entered instant communication information in include use to be added When family account or group's account, judge whether to receive the instruction that user clicks user account or group's account to be added;
Judgment module 230, for sentencing when receiving user and clicking the instruction of user account or group's account to be added Whether disconnected local account has added user account or group's account;
Adding module 240 is used for when local account not yet adds user account or group's account, to the user being clicked Account or the corresponding account of group's account send addition request.
User opens instant message applications on the terminal device, can be carried out by dialog box and the good friend added pair Words, or give out information in the dialog box of added group.User can also receive the other user's hair in dialog box The instant communication information come.The either instant messaging of the instant communication information of user oneself publication or other users publication Message, terminal identify each character in instant communication information, if it is possible to identify it will be shown in front of dialog box The character string of account format out then determines that the character string identified is user account or group's account to be added.For difference User account and group's account can further the prefix character to the character string identified or suffix character identify, for example, Include " group " printed words in the prefix character of the character string identified, then illustrates that the character string identified is group's account.
When user needs to add the account shown in dialog box, the account is clicked directly on.It, can to avoid repeating adding The buddy list or group list for first traversing local account are checked in list with the presence or absence of above-mentioned account, are clicked with judgement Whether account has been whether the good friend of local account or local user have been added the group.If local account added mistake The account can then pop up prompting frame prompt user, or dialog box is directly switched to the corresponding dialogue of the account being clicked Window.
If not finding the account being clicked after traversal buddy list or group list, then illustrating local account simultaneously It was not added with the account, addition operation can be initiated.When executing addition operation, panel is searched without popping up account, but it is straight It connects to the corresponding reciprocal account of account being clicked and issues addition request.Returning in reciprocal account to local account allows addition After response, the operation of good friend's addition or group's addition is completed.
The present embodiment is using the user account or group's account clicked in the instant communication information shown in dialog box, directly Contact hair good friend addition or group's addition operation, realize a key and quickly add good friend or group, simplify operating process, make to grasp It is simpler, convenient, fast to make process.
Further, instruction acquisition module 220 is also used to, when including in the instant communication information of dialog box to be entered When user account to be added or group's account, the corresponding indicating cursor of detection mouse is in user account to be added or group's account The suspension stay time on number;
Judgment module 230 is also used to, and judges the corresponding indicating cursor of mouse in user account to be added or group's account Whether the upper suspension stay time is greater than default stop threshold value;
Display module 220 is also used to, when the corresponding indicating cursor of mouse is on user account to be added or group's account When the suspension stay time is greater than default stop threshold value, floating frame is popped up by indicating cursor, and use is shown in floating frame The data information of family account or group's account.
When user needs to consult the data information of account to be added, the corresponding indicating cursor of mouse can be moved to wait add The account position added, indicating cursor are directed toward the instruction of former arrowhead form after the account (i.e. indicating cursor is suspended in the account) Cursor is changed into finger shape (may be alternatively provided as other shapes or do not change shape), as long as indicating cursor is still suspended in the account On number position, indicating cursor persistently keeps finger shape, once indicating cursor leaves the account, indicating cursor recovers immediately former arrow Head shapes.After indicating cursor is directed toward the account, data information display operation can be triggered immediately, obtains the account to server Data information, and be shown on dialog box.But false triggering caused by order to avoid fast moving because of indicating cursor, it is appropriate to can be used The mode of delay, when indicating cursor sustained suspension in the account (can slightly be moved in the view field of the account, but not from Open the account position), the duration is more than default stop threshold value (such as 0.4 second), i.e. triggering data information display operation, favorably It is frequently obtained in excluding data information caused by false triggering, to mitigate the load pressure of server and terminal device.
The present embodiment triggers data information display operation after the corresponding indicating cursor of mouse is directed toward account to be added, The data information of quick obtaining account to be added is realized, and in such a way that appropriate delay obtains, is conducive to exclude false triggering Caused by data information frequently obtain, alleviate the load pressure of server and terminal device.
As shown in figure 8, Fig. 8 is the knot of the second embodiment for the device that good friend or group are fast added in instant messaging of the present invention Structure schematic diagram.The present embodiment includes all modules in embodiment illustrated in fig. 7, also adds switching module 250, for when local When account has added user account or group's account, it is directly switch into dialog box corresponding with user account or group's account.
It, can again if whether user, which forgets to have, adds the account after showing account to be added in dialog box The account is clicked to trigger addition operation, at this time to avoid repeating adding, terminal can traverse buddy list or the group of local account Groups List is checked with the presence or absence of above-mentioned account in list, if the added mistake account, dialog box can be direct for local account It is switched to the corresponding dialog box of the account being clicked, to inform that user's account has been the account added;If user Know that the account has been the account added, and think that opposite end corresponding with account account engages in the dialogue immediately, equally The account to be added can be clicked, dialog box handover operation is triggered, dialog box is made to switch to the account corresponding account Dialog box.
The present embodiment is that dialogue window is directly switched to the account pair when having added account for the account that user clicks The dialog box of account is answered, repetition addition is on the one hand avoided, is conducive to the load pressure for mitigating server and terminal device, separately One conveniently realizes being switched fast for dialog box, simplifies windows exchange trigger flow, makes windows exchange operating process more Simply, convenient, fast.
Further, matching module 210 is also used to:
Judge in the instant communication information of dialog box to be entered whether to include the character string for meeting account format;
When including meeting the character string of account format, judgement meets the character before or after the character string of account format In whether include and preset keyword accords with matched character;
When including according with matched character with preset keyword, determine that the character string for meeting account format is use to be added Family account or group's account.
Terminal device is that telephone number etc. is non-to avoid the character string identified when identifying to account to be added The character string of account, can be preset recognition rule, for example, by using the form of " key character+account ".Key character may include The combination of keyword or keyword and default punctuate.For example, the keyword of instruction user account may include that " instant messaging is soft Part title+number ", " instant message applications title+account ", " instant message applications title+number " etc., such as " QQ number ", " microblogging Account ", " wechat number " etc.;Indicate group's account keyword may include " group ", " group number ", " group ", " group number ", " group's account " etc.;The default punctuates such as colon, whippletree, bracket, comma can also be added behind these keywords, indicate this Character string after default punctuate is account.The format of account is usually a continuous character string, such as 6~10 Arab Numeric string, naturally it is also possible to be series of letters or letter and number combinatorics on words.For example, occurring in instant communication information " asking the classmate of 05 department of computer science that the group 232323223 is added, thanks ", wherein key character is " group ", and account is " 232323223 " know that the account is group's account from key character.
When identifying account, two kinds of recognition sequences can be used, one is matched key character is first identified, then again from pass The character string for meeting prescribed form is identified in the prefix or suffix character of key characters, then the character string identified is as to be added Account;Another kind is first to identify the character string for meeting prescribed form, then checks the prefix or suffix word of the character string again Whether there is matched key character in symbol, if there is matched key character, then illustrates that the character string is account to be added.
The present embodiment identifies account to be added, identification method letter by the way of key character and account format match It is single, the quick identification of account is realized, and avoid and the character string of non-account is mistaken for account, is conducive to improve account knowledge Other accuracy rate.
As shown in figure 9, Fig. 9 is the knot of the 3rd embodiment for the device that good friend or group are fast added in instant messaging of the present invention Structure schematic diagram.The present embodiment includes all modules in embodiment illustrated in fig. 8, also adds display module 260, for when to defeated When entering in the instant communication information of dialog box to include user account to be added or group's account, by user's account to be added Number or group's account be highlighted in dialog box.
After identifying user account to be added or the group's account in instant communication information, it can be used and be different from other words The modes such as font, color, the underscore of symbol highlight, and carry out quick addition operation convenient for user, at the same also inform user this User account indicated by a little character strings or group's account can be added by way of fast adding.The present embodiment is using prominent The mode for showing account number to be added out distinguishes the account number that can quickly add in instant communication information with other message, Good friend or group are quickly added convenient for user.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device or the network equipment etc.) execute method described in each embodiment of the present invention.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations Technical field, be included within the scope of the present invention.

Claims (11)

1. a kind of method that good friend or group are fast added in instant messaging, which is characterized in that comprising steps of
Each character in instant communication information is identified, judges whether wrap in the instant communication information of dialog box to be entered Include user account or group's account to be added;
When in the instant communication information of dialog box to be entered including user account to be added or group's account, judgement is The no instruction for receiving user and clicking the user account to be added or group's account;
When receiving user and clicking the instruction of the user account to be added or group's account, judge local account whether Add the user account or group's account;
When local account not yet adds the user account or group's account, account is not popped up and searches panel, directly to by point The corresponding account of the user account or group's account hit sends addition request;
It whether include user account or group's account to be added in the instant communication information for judging dialog box to be entered Number the step of include:
Judge in the instant communication information of dialog box to be entered whether to include the character string for meeting account format;
When including meeting the character string of account format, the character before or after the character string of account format is met described in judgement In whether include and preset keyword accords with matched character;
When including according with matched character with preset keyword, the character string that account format is met described in judgement is use to be added Family account or group's account.
2. the method that good friend or group are fast added in instant messaging as described in claim 1, which is characterized in that it is described judgement to After the step of whether including user account to be added or group's account in the instant communication information of input dialogue window also Include:
When in the instant communication information of dialog box to be entered including user account to be added or group's account, mouse is detected Mark corresponding indicating cursor suspension stay time on the user account to be added or group's account;
When detecting the corresponding indicating cursor of mouse suspension stay time on the user account to be added or group's account When greater than default stop threshold value, floating frame is popped up by the indicating cursor, and the use is shown in the floating frame The data information of family account or group's account.
3. the method that good friend or group are fast added in instant messaging as claimed in claim 1 or 2, which is characterized in that described to sentence Whether disconnected local account added after the step of user account or group's account further include:
When local account has added the user account or group's account, it is directly switch into and the user account or group's account Number corresponding dialog box.
4. the method that good friend or group are fast added in instant messaging as described in claim 1, which is characterized in that the account lattice Formula is the Arabic numerals string of preset range;The preset keyword symbol includes the group of keyword or keyword and default punctuate It closes.
5. the method that good friend or group are fast added in instant messaging as claimed in claim 1 or 2, which is characterized in that described to sentence Break in the instant communication information of dialog box to be entered the step of whether including user account to be added or group's account it Afterwards further include:
It, will be described when in the instant communication information of dialog box to be entered including user account to be added or group's account User account or group's account to be added is highlighted in the dialog box.
6. the device that good friend or group are fast added in a kind of instant messaging characterized by comprising
Matching module judges the Instant Messenger of dialog box to be entered for identifying to each character in instant communication information Whether interrogate in message includes user account or group's account to be added;
Instruction acquisition module, for when include in the instant communication information of dialog box to be entered user account to be added or When group's account, judge whether to receive the instruction that user clicks the user account to be added or group's account;
Judgment module, for when receiving user and clicking the instruction of the user account to be added or group's account, judgement Whether local account has added the user account or group's account;
Adding module searches face for when local account not yet adds the user account or group's account, not popping up account Plate directly sends addition request to the corresponding account of user account or group's account being clicked;
The matching module is also used to:
Judge in the instant communication information of dialog box to be entered whether to include the character string for meeting account format;
When including meeting the character string of account format, the character before or after the character string of account format is met described in judgement In whether include and preset keyword accords with matched character;
When including according with matched character with preset keyword, the character string that account format is met described in judgement is use to be added Family account or group's account.
7. the device that good friend or group are fast added in instant messaging as claimed in claim 6, which is characterized in that further include: it is aobvious Show module;
Described instruction obtains module and is also used to, when including user to be added in the instant communication information of dialog box to be entered When account or group's account, the corresponding indicating cursor of detection mouse suspends on the user account to be added or group's account Residence time;
The judgment module is also used to, and judges the corresponding indicating cursor of the mouse in the user account or group to be added Whether the suspension stay time is greater than default stop threshold value in account;
The display module, for when the corresponding indicating cursor of the mouse is in the user account to be added or group's account When the upper suspension stay time is greater than default stop threshold value, floating frame was popped up by the indicating cursor, and in the floating window The data information of the user account or group's account is shown in mouthful.
8. the device that good friend or group are fast added in instant messaging as claimed in claims 6 or 7, which is characterized in that further include Switching module, for being directly switch into and user's account when local account has added the user account or group's account Number or the corresponding dialog box of group's account.
9. the device that good friend or group are fast added in instant messaging as claimed in claim 6, which is characterized in that the account lattice Formula is the Arabic numerals string of preset range;The preset keyword symbol includes the group of keyword or keyword and default punctuate It closes.
10. the device that good friend or group are fast added in instant messaging as claimed in claims 6 or 7, which is characterized in that also wrap It includes: display module;
The display module, for when include in the instant communication information of dialog box to be entered user account to be added or When group's account, the user account to be added or group's account are highlighted in the dialog box.
11. a kind of computer readable storage medium, which is characterized in that executable instruction is stored with, for causing instant messaging fast When the device of victory addition good friend or group executes, method described in any one of claim 1 to 5 is realized.
CN201410307313.1A 2014-06-30 2014-06-30 The method and apparatus that good friend or group are fast added in instant messaging Active CN105227431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410307313.1A CN105227431B (en) 2014-06-30 2014-06-30 The method and apparatus that good friend or group are fast added in instant messaging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410307313.1A CN105227431B (en) 2014-06-30 2014-06-30 The method and apparatus that good friend or group are fast added in instant messaging

Publications (2)

Publication Number Publication Date
CN105227431A CN105227431A (en) 2016-01-06
CN105227431B true CN105227431B (en) 2019-09-13

Family

ID=54996135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410307313.1A Active CN105227431B (en) 2014-06-30 2014-06-30 The method and apparatus that good friend or group are fast added in instant messaging

Country Status (1)

Country Link
CN (1) CN105227431B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404426A (en) * 2016-05-20 2017-11-28 阿里巴巴集团控股有限公司 The method, apparatus and electronic equipment of batch addition good friend in immediate communication tool
CN110233790A (en) * 2018-03-06 2019-09-13 阿里巴巴集团控股有限公司 A kind of method and device of determining conversational user
CN108833371A (en) * 2018-05-29 2018-11-16 阿里巴巴集团控股有限公司 A kind of method of information exchange, client, server and system
CN110602081A (en) * 2019-09-08 2019-12-20 北京智明星通科技股份有限公司 Method, device and server for inviting new users of mobile phone games
CN112822089B (en) * 2019-11-15 2023-06-30 上海连尚网络科技有限公司 Method and device for adding friends

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047522A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method for automatic adding member and its system
CN101242374A (en) * 2008-03-11 2008-08-13 腾讯科技(深圳)有限公司 System, method and instant communication terminal for user list matching in instant communication
CN101778052A (en) * 2009-01-09 2010-07-14 中国移动通信集团公司 Method, device and system for sharing communication friend
CN103037084A (en) * 2012-12-10 2013-04-10 广东欧珀移动通信有限公司 Method and device of displaying contact information in contact list

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047522A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method for automatic adding member and its system
CN101242374A (en) * 2008-03-11 2008-08-13 腾讯科技(深圳)有限公司 System, method and instant communication terminal for user list matching in instant communication
CN101778052A (en) * 2009-01-09 2010-07-14 中国移动通信集团公司 Method, device and system for sharing communication friend
CN103037084A (en) * 2012-12-10 2013-04-10 广东欧珀移动通信有限公司 Method and device of displaying contact information in contact list

Also Published As

Publication number Publication date
CN105227431A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
US11831589B2 (en) Method and system of obtaining contact information for a person or an entity
CN105227431B (en) The method and apparatus that good friend or group are fast added in instant messaging
US20170344224A1 (en) Suggesting emojis to users for insertion into text-based messages
US10289265B2 (en) Capture and retrieval of a personalized mood icon
CN106302081B (en) Instant messaging method and client
US20140289647A1 (en) Interface overlay
JP2017146983A (en) System and method of input assist control by sliding-contact operation in portable terminal equipment
JP2017533527A (en) Dynamic code management
CN102197703A (en) Contextual search by a mobile communications device
US20130073661A1 (en) Instant messenger and method for performing convenient search by instant messenger
CN106656748A (en) Information display method and device, and electronic equipment
KR20130073101A (en) A method of service extension using message input window included in chatting window providing instant messaging service
WO2017121332A1 (en) Information sharing method and system
CN114726947B (en) Message display method, device, user terminal and readable storage medium
WO2022012579A1 (en) Message display method, apparatus, and electronic device
CN107590386A (en) Processing method, device, storage medium and the computer equipment of security event information
CN112947807A (en) Display method and device and electronic equipment
US8676910B2 (en) Method, server, client and system for network platform interaction
CN106878154B (en) Conversation message generation method and device, electronic equipment
CN108415807A (en) A method of crawling whether monitoring electronic equipment browses flame
CN100451955C (en) Method and device for displaying a plurality of objects in single window
CN105589570B (en) A kind of method and apparatus handling input error
CN105490913B (en) Instant message processing method and device
CN104423552B (en) The method and electronic equipment of a kind of processing information
KR20190134100A (en) Method and apparatus for providing chatting service

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
TR01 Transfer of patent right

Effective date of registration: 20211008

Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 2, 518044, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right