CN105227431A - The method and apparatus of good friend or group is fast added in instant messaging - Google Patents

The method and apparatus of good friend or group is fast added in instant messaging Download PDF

Info

Publication number
CN105227431A
CN105227431A CN201410307313.1A CN201410307313A CN105227431A CN 105227431 A CN105227431 A CN 105227431A CN 201410307313 A CN201410307313 A CN 201410307313A CN 105227431 A CN105227431 A CN 105227431A
Authority
CN
China
Prior art keywords
account
group
added
user account
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.)
Granted
Application number
CN201410307313.1A
Other languages
Chinese (zh)
Other versions
CN105227431B (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

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method that good friend or group are fast added in instant messaging, comprise step: when including user account to be added or group's account in the instant communication information of dialog box to be entered, judge whether to receive the instruction that user clicks described user account to be added or group's account; When receiving user and clicking the instruction of described user account to be added or group's account, and when local account not yet adds described user account or group's account, send to clicked user account or account corresponding to group's account and add request.The invention also discloses the device that good friend or group are fast added in a kind of instant messaging.The present invention adopts user account to be added or group's account in the instant communication information clicked and show in dialog box, directly trigger good friend to add or group's interpolation operation, achieve a key and add good friend or group fast, simplify operating process, make operating process simpler, convenient, fast.

Description

The method and apparatus of good friend or group is fast added in instant messaging
Technical field
The present invention relates to Internet technical field, be related specifically to the method and apparatus that good friend or group are fast added in instant messaging.
Background technology
Along with the development of network technology, communication exchange for the convenience of the user, various MSN emerges in an endless stream, by point-to-point data transmission technology between client or between client and server, realize the group chat function between interindividual instant dialogue or many people, make the information interaction of Internet user convenient, quick.
Realize interindividual instant dialogue, needing to add the other side is good friend; Realize the group chat function between many people, need to join relevant dialogue group.Add good friend in the prior art, first need to obtain the other side's account, open the Fellow searching panel of MSN, in Fellow searching panel, input the other side's account search, send to the other side's account after finding the other side's account and add request, wait for that the other side allows to add the response of good friend, complete good friend and add.Add the mode of group in the prior art, first need to obtain group's account, then panel is searched by the group opening MSN, search in panel in group and input group's account and search, send the request adding group to group's account after finding group's account, wait for that group member or management and group personnel allow the response adding group, complete and add group operation.
Add good friend in prior art or add the operating process of group all very complicated, complex steps is not easy, cannot realize quick interpolation.
Summary of the invention
The embodiment of the present invention provides a kind of instant messaging fast to add the method and apparatus of good friend or group, and can realize a key and add good friend or group fast, without the need to troublesome operation, 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, comprises step:
Judge in the instant communication information of dialog box to be entered, whether to include user account to be added or group's account;
When including user account to be added or group's account in the instant communication information of dialog box to be entered, judge whether to receive the instruction that user clicks described user account to be added or group's account;
When receiving user and clicking the instruction of described user account to be added or group's account, judge whether local account has added described user account or group's account;
When local account not yet adds described user account or group's account, send to clicked user account or account corresponding to group's account and add request.
The embodiment of the present invention also proposes the device that good friend or group are fast added in a kind of instant messaging, comprising:
Matching module, for judge dialog box to be entered instant communication information in whether include user account to be added or group's account;
Instruction acquisition module, for when including user account to be added or group's account in the instant communication information of dialog box to be entered, judges whether to receive the instruction that user clicks described user account to be added or group's account;
Judge module, for when receiving user and clicking the instruction of described user account to be added or group's account, judges whether local account has added described user account or group's account;
Add module, during for not yet adding described user account or group's account when local account, send to add to clicked user account or account corresponding to group's account and ask.
The embodiment of the present invention adopts user account to be added or group's account in the instant communication information clicked and show in dialog box, directly trigger good friend to add or group's interpolation operation, achieve a key and add good friend or group fast, simplify operating process, make operating process simpler, convenient, fast.
Accompanying drawing explanation
Fig. 1 is total line chart that in the embodiment of the present invention, the device place terminal of good friend or group is fast added in instant messaging;
Fig. 2 is the flow chart that the first embodiment of the method for good friend or group is fast added in instant messaging of the present invention;
Fig. 3 is the flow chart that the second embodiment of the method for good friend or group is fast added in instant messaging of the present invention;
Fig. 4 is the flow chart that the 3rd embodiment of the method for good friend or group is fast added in instant messaging of the present invention;
Fig. 5 is the flow chart that the 4th embodiment of the method for good friend or group is fast added in instant messaging of the present invention;
Fig. 6 is the flow chart that the 5th embodiment of the method for good friend or group is fast added in instant messaging of the present invention;
Fig. 7 is the structural representation that the first embodiment of the device of good friend or group is fast added in instant messaging of the present invention;
Fig. 8 is the structural representation that the second embodiment of the device of good friend or group is fast added in instant messaging of the present invention;
Fig. 9 is the structural representation that the 3rd embodiment of the device of good friend or group is fast added in instant messaging of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is total line chart that in the embodiment of the present invention, the device place terminal of good friend or group is fast added in instant messaging.This terminal can be mobile phone, PAD, desktop computer, notebook computer, all-in-one etc., can comprise: at least one processor 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 assemblies.Wherein, user interface 103 can comprise display screen (Display), keyboard (Keyboard), can also comprise the wireline interface of standard, wave point.Network interface 104 can comprise wireline interface, the wave point (as WIFI interface) of standard.Memory 105 can be high-speed RAM memory, also can be non-labile memory (non-volatilememory), such as at least one magnetic disc store.Memory 105 can also be that at least one is positioned at the storage device away from aforementioned processor 101.As comprising operating system, network communication module, Subscriber Interface Module SIM and quick interpolation good friend or group's program in a kind of memory 105 of computer-readable storage medium.
Instant messaging shown in Fig. 1 fast adds the device institute of good friend or group in the terminal, and network interface 104 is mainly used in connection server, carries out data communication with server; And user interface 103 is mainly used in receiving user instruction, and carry out alternately with user; And processor 101 may be used for calling the quick interpolation good friend or group's program that store in memory 105, and perform following operation:
Judge in the instant communication information of dialog box to be entered, whether to include user account to be added or group's account;
When including user account to be added or group's account in the instant communication information of dialog box to be entered, judge whether to receive the instruction that user clicks described user account to be added or group's account by user interface 103;
When receiving user and clicking the instruction of described user account to be added or group's account, judge whether local account has added described user account or group's account;
When local account not yet adds described user account or group's account, to be sent to clicked user account or account corresponding to group's account by network interface 104 and add request.
In one embodiment, processor 101 call in memory 105 store quick interpolation good friend or group's program can also perform following operation:
When including user account to be added or group's account in the instant communication information of dialog box to be entered, detect instructs cursor corresponding to mouse suspension stay time on described user account to be added or group's account by user interface 103;
When the instructs cursor suspension stay time on described user account to be added or group's account detecting that mouse is corresponding is greater than default stop threshold value, by user interface 103 at described instructs cursor other ejection floating frame, and in described floating frame, show the data information of described user account or group's account.
In one embodiment, processor 101 call in memory 105 store quick interpolation good friend or group's program can also perform following operation:
When local account has added described user account or group's account, be directly switch into the dialog box corresponding with described user account or group's account by user interface 103.
In one embodiment, processor 101 call in memory 105 store quick interpolation good friend or group's program can also perform following operation:
Judge in the instant communication information of dialog box to be entered, whether to comprise the character string meeting account form;
When comprising the character string meeting account form, whether comprising in the character before or after the character string meeting account form described in judgement and according with preset keyword the character mated;
When comprise accord with preset keyword the character mated time, meet the character string of account form described in judging as user account to be added or group's account.
In one embodiment, processor 101 call in memory 105 store quick interpolation good friend or group's program can also perform following operation:
When including user account to be added or group's account in the instant communication information of dialog box to be entered, by user interface 103, described user account to be added or group's account are highlighted in described dialog box.
The device place terminal of good friend or group is fast added in instant messaging described by the present embodiment Fig. 1, adopt user account to be added or group's account in the instant communication information clicked and show in dialog box, directly trigger good friend to add or group's interpolation operation, achieve a key and add good friend or group fast, simplify operating process, make operating process simpler, convenient, fast.
As shown in Figure 2, Fig. 2 is the flow chart that the first embodiment of the method for good friend or group is fast added in instant messaging of the present invention.The method of good friend or group is fast added in the instant messaging that the present embodiment is mentioned, and comprises step:
Step S10, judges whether include user account to be added or group's account in the instant communication information of dialog box to be entered;
User opens MSN on the terminal device, engages in the dialogue, or give out information in the dialog box of added group by dialog box and the good friend added.User also can receive the instant communication information that the other user sends in dialog box.No matter be the instant communication information that user oneself issues, or the instant communication information that other users issue, terminal is before being presented at dialog box, each character in instant communication information is identified, if the character string of account form can be identified, then judge that the character string identified is user account to be added or group's account.For difference user account and group's account, can identify the prefix character of the character string identified or suffix character further, such as, in the prefix character of the character string identified, include " group " printed words, then illustrate that the character string identified is group's account.
Step S20, when including user account to be added or group's account in the instant communication information of dialog box to be entered, judges whether to receive the instruction that user clicks user account to be added or group's account;
Step S30, when receiving user and clicking the instruction of user account to be added or group's account, judges whether local account has added user account or group's account;
When user needs to add the account to be added shown in dialog box, directly click this account.Adding for avoiding repeating, first can travel through buddy list or the group list of local account, checking in list whether there is above-mentioned account, to judge whether clicked account has been whether the good friend of local account or local user have added this group.If local account had added this account, then can eject prompting frame prompting user, or directly dialog box had been switched to dialog box corresponding to clicked account.
Step S40, when local account not yet adds user account or group's account, sends to clicked user account or account corresponding to group's account and adds request.
If after traversal buddy list or group list, do not find the account that this is clicked, then illustrate that local account did not add this account, interpolation operation can be initiated.When performing interpolation operation, search panel without the need to ejecting account, but send interpolation request directly to the reciprocal account that clicked account is corresponding.After returning at reciprocal account the response allowing to add to local account, complete the operation that good friend adds or group adds.
The present embodiment adopts user account to be added or group's account in the instant communication information clicked and show in dialog box, directly trigger good friend to add or group's interpolation operation, achieve a key and add good friend or group fast, simplify operating process, make operating process simpler, convenient, fast.
As shown in Figure 3, Fig. 3 is the flow chart that the second embodiment of the method for good friend or group is fast added in instant messaging of the present invention.The present embodiment include embodiment illustrated in fig. 2 in institute in steps, following steps can also be increased after step slo, the data information of quick obtaining account to be added.
Step S51, when including user account to be added or group's account in the instant communication information of dialog box to be entered, detects instructs cursor suspension stay time on user account to be added or group's account that mouse is corresponding;
Step S52, when the instructs cursor suspension stay time on user account to be added or group's account detecting that mouse is corresponding is greater than default stop threshold value, at instructs cursor other ejection floating frame, and in floating frame, show the data information of user account or group's account.
When user needs the data information consulting account to be added, instructs cursor corresponding for mouse can be moved to account position to be added, after instructs cursor points to this account (namely instructs cursor is suspended in this account), the instructs cursor of former arrowhead form changes finger shape (also can be set to other shapes or not change shape) into, as long as instructs cursor is still suspended on this account position, instructs cursor continues to keep finger shape, once instructs cursor leaves this account, instructs cursor recovers former arrowhead form immediately.After instructs cursor points to this account, data information display operation can be triggered immediately, obtain the data information of this account to server, and be presented on dialog box.But in order to avoid causing false triggering because of instructs cursor fast moving, the mode suitably postponed can be adopted, when instructs cursor sustained suspension (slightly can move in this account in the view field of this account, but do not leave this account position), duration exceedes presets stop threshold value (such as 0.4 second), namely trigger data information display operation, be conducive to getting rid of the data information that false triggering causes and frequently obtain, to alleviate the load pressure of server and terminal equipment.
The present embodiment is after the instructs cursor that mouse is corresponding points to account to be added, trigger data information display operation, achieve the data information of quick obtaining account to be added, and adopt the mode suitably postponing to obtain, be conducive to getting rid of the data information that causes of false triggering frequently to obtain, alleviate the load pressure of server and terminal equipment.
As shown in Figure 4, Fig. 4 is the flow chart that the 3rd embodiment of the method for good friend or group is fast added in instant messaging of the present invention.The present embodiment include embodiment illustrated in fig. 2 in institute in steps, can also comprise the following steps after this external step S30:
Step S60, when local account has added user account or group's account, has been directly switch into the dialog box corresponding with user account or group's account.
After showing account to be added in dialog box, if whether user forgets to have add this account, again this account can be clicked to trigger interpolation operation, now repeat to add for avoiding, terminal can travel through buddy list or the group list of local account, checks in list whether there is above-mentioned account, if local account had added this account, dialog box can be directly switch to dialog box corresponding to clicked account, to inform that this account of user has been the account of adding; If user knows that this account has been the account of adding, and think that opposite end account corresponding with this account immediately engages in the dialogue, equally also can click this account to be added, trigger dialog box handover operation, make dialog box switch to the dialog box of this account corresponding account.
The present embodiment is when having added account for the account that user clicks, directly dialogue window is switched to the dialog box of this account corresponding account, avoid on the one hand and repeat to add, be conducive to the load pressure alleviating server and terminal equipment, another conveniently achieves the quick switching of dialog box, simplify windows exchange trigger flow, make windows exchange operating process simpler, convenient, fast.
As shown in Figure 5, Fig. 5 is the flow chart that the 4th embodiment of the method for good friend or group is fast added in instant messaging of the present invention.The present embodiment is specifically described for the step S10 in embodiment illustrated in fig. 2, and step S10 comprises:
Step S11, judges whether comprise the character string meeting account form in the instant communication information of dialog box to be entered;
Whether step S12, when comprising the character string meeting account form, comprising in the character before or after the character string judging to meet account form and according with preset keyword the character mated;
Step S13, when comprise accord with preset keyword the character mated time, judge to meet the character string of account form as user account to be added or group's account.
Terminal equipment, when identifying account to be added, for avoiding the character string identified to be the character string of the non-accounts such as telephone number, can pre-set recognition rule, such as, adopting the form of " key character+account ".Key character can comprise the combination of keyword or keyword and default punctuate.Such as, the keyword of indicating user account can comprise " MSN title+number ", " MSN title+account ", " MSN title+number " etc., such as " No. QQ ", " microblog account ", " micro-signal code " etc.; The keyword of instruction group account can comprise " group ", " group number ", " group ", " group number ", " group's account " etc.; Can also add the default punctuates such as colon, whippletree, bracket, comma after these keywords, the character string indicated after this default punctuate is account.The form of account is generally a continuous print character string, the Arabic numerals string of such as 6 ~ 10, can certainly be series of letters or alphabetical and number combinatorics on words.Such as, occurred in instant communication information " ask the classmate of 05 department of computer science to add this group 232323223, thanks ", wherein, key character is " group ", and account is " 232323223 ", knows that this account is group's account from key character.
When identifying account, can adopt two kinds of recognition sequences, a kind of is the key character first identifying coupling, and then identifies the character string of the form that conforms with the regulations from the prefix or suffix character of key character, then the character string identified is account to be added; Another kind is the character string first identifying the form that conforms with the regulations, and then checks the key character whether having coupling in the prefix of this character string or suffix character, if there is the key character of coupling, then illustrates that this character string is account to be added.
The present embodiment adopts the mode identification account to be added of key character and account format match, and RM is simple, achieves the quick identification of account, and avoids the character string of non-account is mistaken for account, is conducive to the accuracy rate improving account identification.
As shown in Figure 6, Fig. 6 is the flow chart that the 5th embodiment of the method for good friend or group is fast added in instant messaging of the present invention.The present embodiment include embodiment illustrated in fig. 2 in institute in steps, following steps can also be increased after step slo, highlight account number to be added.
Step S70, when including user account to be added or group's account in the instant communication information of dialog box to be entered, is highlighted on user account to be added or group's account in dialog box.
After the user account to be added identified in instant communication information or group's account, the mode such as font, color, underscore being different from other characters can be adopted to highlight, be convenient to user and fast add operation, also inform that user account indicated by these character strings of user or group's account are added by the mode of fast adding simultaneously.The present embodiment adopts the mode of account number to be added of highlighting, and the account number that can add fast and other message area is separated, be convenient to user and add good friend or group fast in instant communication information.
As shown in Figure 7, Fig. 7 is the structural representation that the first embodiment of the device of good friend or group is fast added in instant messaging of the present invention.The device of good friend or group is fast added in the instant messaging that the present embodiment is mentioned, and comprising:
Matching module 210, for judge dialog box to be entered instant communication information in whether include user account to be added or group's account;
Instruction acquisition module 220, for when including user account to be added or group's account in the instant communication information of dialog box to be entered, judges whether to receive the instruction that user clicks user account to be added or group's account;
Judge module 230, for when receiving user and clicking the instruction of user account to be added or group's account, judges whether local account has added user account or group's account;
Add module 240, during for not yet adding user account or group's account when local account, send to add to clicked user account or account corresponding to group's account and ask.
User opens MSN on the terminal device, engages in the dialogue, or give out information in the dialog box of added group by dialog box and the good friend added.User also can receive the instant communication information that the other user sends in dialog box.No matter be the instant communication information that user oneself issues, or the instant communication information that other users issue, terminal is before being presented at dialog box, each character in instant communication information is identified, if the character string of account form can be identified, then judge that the character string identified is user account to be added or group's account.For difference user account and group's account, can identify the prefix character of the character string identified or suffix character further, such as, in the prefix character of the character string identified, include " group " printed words, then illustrate that the character string identified is group's account.
When user needs to add the account shown in dialog box, directly click this account.Adding for avoiding repeating, first can travel through buddy list or the group list of local account, checking in list whether there is above-mentioned account, to judge whether clicked account has been whether the good friend of local account or local user have added this group.If local account had added this account, then can eject prompting frame prompting user, or directly dialog box had been switched to dialog box corresponding to clicked account.
If after traversal buddy list or group list, do not find the account that this is clicked, then illustrate that local account did not add this account, interpolation operation can be initiated.When performing interpolation operation, search panel without the need to ejecting account, but send interpolation request directly to the reciprocal account that clicked account is corresponding.After returning at reciprocal account the response allowing to add to local account, complete the operation that good friend adds or group adds.
User account in the instant communication information shown in the present embodiment employing click dialog box or group's account, directly trigger good friend to add or group's interpolation operation, achieve a key and add good friend or group fast, simplify operating process, make operating process simpler, convenient, fast.
Further, instruction acquisition module 220 also for, when including user account to be added or group's account in the instant communication information of dialog box to be entered, detect instructs cursor suspension stay time on user account to be added or group's account that mouse is corresponding;
Judge module 230 also for, judge whether instructs cursor suspension stay time on user account to be added or group's account that mouse is corresponding is greater than to preset and stop threshold value;
Display module 220 also for, when instructs cursor suspension stay time on user account to be added or group's account that mouse is corresponding is greater than default stop threshold value, at instructs cursor other ejection floating frame, and in floating frame, show the data information of user account or group's account.
When user needs the data information consulting account to be added, instructs cursor corresponding for mouse can be moved to account position to be added, after instructs cursor points to this account (namely instructs cursor is suspended in this account), the instructs cursor of former arrowhead form changes finger shape (also can be set to other shapes or not change shape) into, as long as instructs cursor is still suspended on this account position, instructs cursor continues to keep finger shape, once instructs cursor leaves this account, instructs cursor recovers former arrowhead form immediately.After instructs cursor points to this account, data information display operation can be triggered immediately, obtain the data information of this account to server, and be presented on dialog box.But in order to avoid causing false triggering because of instructs cursor fast moving, the mode suitably postponed can be adopted, when instructs cursor sustained suspension (slightly can move in this account in the view field of this account, but do not leave this account position), duration exceedes presets stop threshold value (such as 0.4 second), namely trigger data information display operation, be conducive to getting rid of the data information that false triggering causes and frequently obtain, to alleviate the load pressure of server and terminal equipment.
The present embodiment is after the instructs cursor that mouse is corresponding points to account to be added, trigger data information display operation, achieve the data information of quick obtaining account to be added, and adopt the mode suitably postponing to obtain, be conducive to getting rid of the data information that causes of false triggering frequently to obtain, alleviate the load pressure of server and terminal equipment.
As shown in Figure 8, Fig. 8 is the structural representation that the second embodiment of the device of good friend or group is fast added in instant messaging of the present invention.The present embodiment comprise embodiment illustrated in fig. 7 in all modules, also add handover module 250, during for having added user account or group's account when local account, be directly switch into the dialog box corresponding with user account or group's account.
After showing account to be added in dialog box, if whether user forgets to have add this account, again this account can be clicked to trigger interpolation operation, now repeat to add for avoiding, terminal can travel through buddy list or the group list of local account, checks in list whether there is above-mentioned account, if local account had added this account, dialog box can be directly switch to dialog box corresponding to clicked account, to inform that this account of user has been the account of adding; If user knows that this account has been the account of adding, and think that opposite end account corresponding with this account immediately engages in the dialogue, equally also can click this account to be added, trigger dialog box handover operation, make dialog box switch to the dialog box of this account corresponding account.
The present embodiment is when having added account for the account that user clicks, directly dialogue window is switched to the dialog box of this account corresponding account, avoid on the one hand and repeat to add, be conducive to the load pressure alleviating server and terminal equipment, another conveniently achieves the quick switching of dialog box, simplify windows exchange trigger flow, make windows exchange operating process simpler, convenient, fast.
Further, matching module 210 also for:
Judge in the instant communication information of dialog box to be entered, whether to comprise the character string meeting account form;
When comprising the character string meeting account form, whether comprising in the character before or after the character string judging to meet account form and according with preset keyword the character mated;
When comprise accord with preset keyword the character mated time, judge to meet the character string of account form as user account to be added or group's account.
Terminal equipment, when identifying account to be added, for avoiding the character string identified to be the character string of the non-accounts such as telephone number, can pre-set recognition rule, such as, adopting the form of " key character+account ".Key character can comprise the combination of keyword or keyword and default punctuate.Such as, the keyword of indicating user account can comprise " MSN title+number ", " MSN title+account ", " MSN title+number " etc., such as " No. QQ ", " microblog account ", " micro-signal code " etc.; The keyword of instruction group account can comprise " group ", " group number ", " group ", " group number ", " group's account " etc.; Can also add the default punctuates such as colon, whippletree, bracket, comma after these keywords, the character string indicated after this default punctuate is account.The form of account is generally a continuous print character string, the Arabic numerals string of such as 6 ~ 10, can certainly be series of letters or alphabetical and number combinatorics on words.Such as, occurred in instant communication information " ask the classmate of 05 department of computer science to add this group 232323223, thanks ", wherein, key character is " group ", and account is " 232323223 ", knows that this account is group's account from key character.
When identifying account, can adopt two kinds of recognition sequences, a kind of is the key character first identifying coupling, and then identifies the character string of the form that conforms with the regulations from the prefix or suffix character of key character, then the character string identified is account to be added; Another kind is the character string first identifying the form that conforms with the regulations, and then checks the key character whether having coupling in the prefix of this character string or suffix character, if there is the key character of coupling, then illustrates that this character string is account to be added.
The present embodiment adopts the mode identification account to be added of key character and account format match, and RM is simple, achieves the quick identification of account, and avoids the character string of non-account is mistaken for account, is conducive to the accuracy rate improving account identification.
As shown in Figure 9, Fig. 9 is the structural representation that the 3rd embodiment of the device of good friend or group is fast added in instant messaging of the present invention.The present embodiment comprise embodiment illustrated in fig. 8 in all modules, also add display module 260, for when including user account to be added or group's account in the instant communication information of dialog box to be entered, user account to be added or group's account are highlighted in dialog box.
After the user account to be added identified in instant communication information or group's account, the mode such as font, color, underscore being different from other characters can be adopted to highlight, be convenient to user and fast add operation, also inform that user account indicated by these character strings of user or group's account are added by the mode of fast adding simultaneously.The present embodiment adopts the mode of account number to be added of highlighting, and the account number that can add fast and other message area is separated, be convenient to user and add good friend or group fast in instant communication information.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (12)

1. a method for good friend or group is fast added in instant messaging, it is characterized in that, comprises step:
Judge in the instant communication information of dialog box to be entered, whether to include user account to be added or group's account;
When including user account to be added or group's account in the instant communication information of dialog box to be entered, judge whether to receive the instruction that user clicks described user account to be added or group's account;
When receiving user and clicking the instruction of described user account to be added or group's account, judge whether local account has added described user account or group's account;
When local account not yet adds described user account or group's account, send to clicked user account or account corresponding to group's account and add request.
2. the method for good friend or group is fast added in instant messaging as claimed in claim 1, it is characterized in that, described judge whether to include in the instant communication information of dialog box to be entered the step of user account to be added or group's account after also comprise:
When including user account to be added or group's account in the instant communication information of dialog box to be entered, detect instructs cursor suspension stay time on described user account to be added or group's account that mouse is corresponding;
When the instructs cursor suspension stay time on described user account to be added or group's account detecting that mouse is corresponding is greater than default stop threshold value, at described instructs cursor other ejection floating frame, and in described floating frame, show the data information of described user account or group's account.
3. the method for good friend or group is fast added in instant messaging as claimed in claim 1 or 2, it is characterized in that, describedly judges local account also comprises after whether having added the step of described user account or group's account:
When local account has added described user account or group's account, be directly switch into the dialog box corresponding with described user account or group's account.
4. the method for good friend or group is fast added in instant messaging as claimed in claim 1, it is characterized in that, describedly judges that the step whether including user account to be added or group's account in the instant communication information of dialog box to be entered comprises:
Judge in the instant communication information of dialog box to be entered, whether to comprise the character string meeting account form;
When comprising the character string meeting account form, whether comprising in the character before or after the character string meeting account form described in judgement and according with preset keyword the character mated;
When comprise accord with preset keyword the character mated time, meet the character string of account form described in judging as user account to be added or group's account.
5. the method for good friend or group is fast added in instant messaging as claimed in claim 4, and it is characterized in that, described account form is the Arabic numerals string of preset range; Described preset keyword symbol comprises the combination of keyword or keyword and default punctuate.
6. the method for good friend or group is fast added in instant messaging as claimed in claim 1 or 2, it is characterized in that, described judge whether to include in the instant communication information of dialog box to be entered the step of user account to be added or group's account after also comprise:
When including user account to be added or group's account in the instant communication information of dialog box to be entered, described user account to be added or group's account are highlighted in described dialog box.
7. a device for good friend or group is fast added in instant messaging, it is characterized in that, comprising:
Matching module, for judge dialog box to be entered instant communication information in whether include user account to be added or group's account;
Instruction acquisition module, for when including user account to be added or group's account in the instant communication information of dialog box to be entered, judges whether to receive the instruction that user clicks described user account to be added or group's account;
Judge module, for when receiving user and clicking the instruction of described user account to be added or group's account, judges whether local account has added described user account or group's account;
Add module, during for not yet adding described user account or group's account when local account, send to add to clicked user account or account corresponding to group's account and ask.
8. the device of good friend or group is fast added in instant messaging as claimed in claim 7, it is characterized in that, described instruction acquisition module also for, when including user account to be added or group's account in the instant communication information of dialog box to be entered, detect instructs cursor suspension stay time on described user account to be added or group's account that mouse is corresponding;
Described judge module also for, judge whether instructs cursor suspension stay time on described user account to be added or group's account that described mouse is corresponding is greater than to preset and stop threshold value;
Described display module also for, when instructs cursor suspension stay time on described user account to be added or group's account that described mouse is corresponding is greater than default stop threshold value, at described instructs cursor other ejection floating frame, and in described floating frame, show the data information of described user account or group's account.
9. the device of good friend or group is fast added in instant messaging as claimed in claim 7 or 8, it is characterized in that, also comprise handover module, during for having added described user account or group's account when local account, be directly switch into the dialog box corresponding with described user account or group's account.
10. the device of good friend or group is fast added in instant messaging as claimed in claim 7, it is characterized in that, described matching module also for:
Judge in the instant communication information of dialog box to be entered, whether to comprise the character string meeting account form;
When comprising the character string meeting account form, whether comprising in the character before or after the character string meeting account form described in judgement and according with preset keyword the character mated;
When comprise accord with preset keyword the character mated time, meet the character string of account form described in judging as user account to be added or group's account.
The device of good friend or group is fast added in 11. instant messagings as claimed in claim 10, it is characterized in that, described account form is the Arabic numerals string of preset range; Described preset keyword symbol comprises the combination of keyword or keyword and default punctuate.
The device of good friend or group is fast added in 12. instant messagings as claimed in claim 7 or 8, it is characterized in that, also comprises:
Display module, for when including user account to be added or group's account in the instant communication information of dialog box to be entered, is highlighted on described user account to be added or group's account in described dialog box.
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 true CN105227431A (en) 2016-01-06
CN105227431B 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)

Cited By (6)

* 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
CN108833371A (en) * 2018-05-29 2018-11-16 阿里巴巴集团控股有限公司 A kind of method of information exchange, client, server and system
CN110233790A (en) * 2018-03-06 2019-09-13 阿里巴巴集团控股有限公司 A kind of method and device of determining conversational user
CN110602081A (en) * 2019-09-08 2019-12-20 北京智明星通科技股份有限公司 Method, device and server for inviting new users of mobile phone games
CN112822089A (en) * 2019-11-15 2021-05-18 上海连尚网络科技有限公司 Method and device for adding friends
CN113496026A (en) * 2020-03-20 2021-10-12 奥图码科技股份有限公司 Method for identifying existing group, electronic device and group device

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

Cited By (7)

* 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
CN112822089A (en) * 2019-11-15 2021-05-18 上海连尚网络科技有限公司 Method and device for adding friends
CN112822089B (en) * 2019-11-15 2023-06-30 上海连尚网络科技有限公司 Method and device for adding friends
CN113496026A (en) * 2020-03-20 2021-10-12 奥图码科技股份有限公司 Method for identifying existing group, electronic device and group device

Also Published As

Publication number Publication date
CN105227431B (en) 2019-09-13

Similar Documents

Publication Publication Date Title
JP6431119B2 (en) System and method for input assist control by sliding operation in portable terminal equipment
CN105227431A (en) The method and apparatus of good friend or group is fast added in instant messaging
CN106302081B (en) Instant messaging method and client
KR101922037B1 (en) Page operation processing method and apparatus, and terminal
CN102830924B (en) A kind of method and device adjusting entering method keyboard
JP6211543B2 (en) Method and apparatus for text retrieval on a touch terminal
CN102780653A (en) Method, client and system for fast communication in instant messaging
CN105282318A (en) Input method switch method and mobile terminal thereof
CN105094603B (en) Method and device for associated input
CN103906012A (en) Information sending method and device
CN105635444A (en) Contact person information sharing method and terminal
WO2017121332A1 (en) Information sharing method and system
CN106371711A (en) Information input method and electronic equipment
CN103034426B (en) A kind of terminal and contact person's searching method thereof
CN105589570B (en) A kind of method and apparatus handling input error
CN105491237A (en) Contact information display method and terminal
CN104076945A (en) Device and method for displaying input keyboard in terminal
CN101345966A (en) Method and device for automatically matching menu
KR102538098B1 (en) Method and apparatus for processing information of terminal
CN104185834A (en) Error correction method for operation objects and communication terminal
CN102707897A (en) Method, client and system for triggering contact object through path in instant communication
CN104965633A (en) Service jumping method and apparatus
CN105159993A (en) Search method and device
CN114237405A (en) Message correction method and device and electronic equipment
CN105938401B (en) Entry recommended 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
TR01 Transfer of patent right
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.