CN111865769A - Method and device for adding contact persons according to call records by instant messaging tool, server, client, terminal and storage medium - Google Patents
Method and device for adding contact persons according to call records by instant messaging tool, server, client, terminal and storage medium Download PDFInfo
- Publication number
- CN111865769A CN111865769A CN202010722112.3A CN202010722112A CN111865769A CN 111865769 A CN111865769 A CN 111865769A CN 202010722112 A CN202010722112 A CN 202010722112A CN 111865769 A CN111865769 A CN 111865769A
- Authority
- CN
- China
- Prior art keywords
- user
- requesting
- call record
- associated user
- module
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
- H04M1/27453—Directories allowing storage of additional subscriber data, e.g. metadata
- H04M1/27457—Management thereof, e.g. manual editing of data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/64—Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
- H04M1/65—Recording arrangements for recording a message from the calling party
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Library & Information Science (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention relates to the technical field of instant messaging, and discloses a method and a device for adding a contact person by an instant messaging tool according to a call record, a server, a client, a terminal and a storage medium, wherein the method comprises the following steps: acquiring a request instruction for inquiring and/or adding friends of a requesting user according to a call record in a terminal; judging whether a user associated with the telephone number in the call record exists or not; and if the judgment result is that the associated user associated with the telephone number in the call record exists, sending the information of the associated user meeting the preset condition to the requesting user. The invention effectively associates the call record with the user information in the instant messaging tool, can realize the display of the user information without a complex flow, can process the users of the telephone events in the call record in batch, is convenient for the users to add the contacts for displaying the users in the call record, greatly improves the communication efficiency among the users in the instant messaging tool, and is more convenient for the users to manage the user resources.
Description
Technical Field
The present invention relates to the field of instant messaging, and in particular, to a user display method and apparatus for an instant messaging tool, a server, a client, a terminal, and a storage medium.
Background
The instant communication tool is widely used as an indispensable communication tool for people's life. Besides the head instant messaging tools such as WeChat, a plurality of instant messaging tool products defining specific market groups are provided to meet the requirements of different groups or different application scenes.
No matter which instant communication tool is used, the convenience for users to add the instant communication tools is the most important function and product popularization approach. At present, the most popular methods are ID number searching and adding, related mobile phone number adding, or code scanning two-dimensional code adding of the other side, and special adding methods such as shaking, drifting bottles and the like are provided.
At present, various different friend adding modes are used for establishing user relationships more conveniently under different scenes. The various modes have respective advantages and disadvantages when applied.
For example, an ID number or a mobile phone number needs to be added after the other party remembers or copies information, searches for the information at the client side of the other party.
And adding users in a scanning mode and the like, wherein the optimal application scene is the face-to-face addition among the users.
When the user is in a motion capture mode such as shaking one time, friends are made among completely strangers, but the user is easily disturbed by the fact that the user is not willing to add.
When a user who installs a third party including an instant messaging tool receives a call, a third party application program uploads call information data to a server of the third party application program through monitoring and acquiring the call information data to judge whether the call is the user of the application program, if the call is the user of the third party application program, the user can see identity information of a caller in a phone application program (non-third party application program) interface of a mobile phone which installs third party software (including the instant messaging tool) by using Google GCM or apple APNS push function. The purpose of the caller identification of the non-telecommunication channel is achieved. Of course, through the function, the third-party application program can also judge whether the incoming call is a malicious or harassing call and decide whether to answer the call or reject the call on hook. This functionality does not associate call information with the added contact in the instant messaging or other type of 3 rd party application.
Disclosure of Invention
The purpose of the invention is as follows: aiming at the problems in the prior art, the invention provides a user display method, a user display device, a server, a client, a terminal and a storage medium of an instant messaging tool. The invention effectively associates the call record with the user information in the instant messaging tool, can realize the display of the user information without a complex flow, can process the users of the call events in the call record in batch, is convenient for the users to add the contacts for displaying the users in the call record, greatly improves the communication efficiency among the users in the instant messaging tool, and is more convenient for the users to manage the user resources.
The technical scheme is as follows: the invention provides a method for adding contacts by an instant communication tool according to call records, which comprises the following steps: s1: acquiring a request instruction for inquiring and/or adding friends of a requesting user according to a call record in a terminal; s2: judging whether a user associated with the telephone number in the call record exists or not; if the judgment result is that the associated user associated with the telephone number in the call record exists, the step S3 is carried out; s3: and sending the information of the associated user meeting the preset conditions to the requesting user.
Further, after the step S2 and before the step S3, the method further comprises the following steps: judging whether the associated user is a contact of the requesting user or whether the requesting user stores a business card of the associated user; if the judgment result shows that the associated user is the contact of the requesting user or the requesting user stores the business card of the associated user, sending the prompt information of the contact or the stored business card to the requesting user; if the result of the determination is that the associated user is not the contact of the requesting user, or the requesting user does not store the business card of the associated user, the process proceeds to S3.
Further, in S2, if it is determined that there is no user associated with the telephone number in the call log, the method proceeds to the following step: s4: sending prompt information whether to send a short message for adding a friend or not to the requesting user; s5: obtaining an instruction that the requesting user agrees to send the short message for adding the friend; s6: and sending an invitation short message to the telephone number in the request instruction.
Further, after the step S2 and before the step S4, the method further comprises the following steps: and sending prompt information that no associated user exists to the requesting user.
Preferably, in S1, the call record is a call record within a certain query time period.
Preferably, in S3, the preset condition is any one or a combination of the following: the associated user has permitted own user information to be queried, the associated user is not an existing contact of the requesting user, and the requesting user does not store the user information of the associated user in the form of a business card.
The present invention provides an apparatus comprising: the request instruction acquisition module is used for acquiring a request instruction for requesting a user to inquire and/or add a friend according to the call record in the terminal; the associated user judging module is used for judging whether a user associated with the telephone number in the call record exists or not; and the associated user information sending module is used for sending the information of the associated user meeting the preset conditions to the requesting user when the result judged by the associated user judging module is that the associated user associated with the telephone number in the call record exists.
Further, the device also comprises: a contact judging module, configured to judge whether the associated user is a contact of the requesting user or whether the requesting user stores a business card of the associated user before the associated user information sending module sends the information of the associated user to the requesting user if the associated user exists as a result of judgment by the associated user judging module; and the first prompt information sending module is used for sending the prompt information of the contact or the stored business card to the requesting user when the judgment result of the contact judgment module is that the associated user is the contact of the requesting user or the requesting user stores the business card of the associated user.
Further, the device also comprises: a second prompt information sending module, configured to send a prompt information about whether to send a short message to add a friend to the requesting user when the result determined by the associated user determining module is that the associated user does not exist; the friend adding instruction acquisition module is used for acquiring an instruction that the requesting user agrees to send the friend adding short message; and the invitation short message sending module is used for sending the invitation short message to the telephone number in the request instruction.
Further, the device also comprises: and the third prompt information sending module is used for sending the prompt information of no associated user to the requesting user after the associated user judging module judges that the associated user does not exist and before the second prompt information sending module sends the prompt information of whether to send the short message of adding the friend to the requesting user.
The present invention also provides a server, comprising: a processor; a memory for storing processor-executable instructions and the above-described apparatus; wherein the processor is configured to: and the step of adding the contact person according to the call record by the instant messaging tool is operated.
The invention also provides a client, comprising: the request instruction sending module is used for sending a request instruction for requesting a user to inquire and/or add a friend according to the call record in the terminal to the server; and the associated user information receiving and displaying module is used for requesting the user to receive and display the information of the associated user meeting the preset conditions when the server judges that the associated user associated with the telephone number in the call record exists.
Further, the client further comprises: the first prompt information receiving and displaying module is used for requesting a user to receive and display prompt information sent by a server, wherein the related user is a contact of the requesting user or the requesting user stores the business card of the related user.
Further, the client further comprises: the second prompt message receiving and displaying module is used for requesting the user to receive and display prompt messages for judging whether the short messages added with friends are sent or not when the server judges that no user associated with the telephone numbers in the call records exists; a friend adding instruction sending module, configured to send, to the server, an instruction agreeing to send the friend adding short message by the requesting user; and the invitation short message receiving module is used for receiving the invitation short message sent by the server to the telephone number in the request instruction.
Further, the client further comprises: and the third prompt information receiving and displaying module is used for receiving and displaying the prompt information which is sent by the server and does not have the associated user after the server judges that the associated user does not exist and before the prompt information which is sent by the request user and whether the short message with the friend is added is sent to the request user.
The invention also provides a terminal comprising a memory for storing programs, instructions related to the client, a processor for executing the instructions of the client, and a client according to claims 16-19.
The invention also provides a non-transitory computer readable storage medium, wherein when instructions in the storage medium are executed by a processor of a server, the server can execute the method for adding the contact according to the call record by the instant messaging tool.
Has the advantages that: the invention provides a user display method and device of an instant messaging tool, a server, a client, a terminal and a storage medium. The invention has the following effective effects:
1. the conversation event and the user information are inquired and added in a correlation mode, and the efficiency of establishing the relationship among the users is greatly improved;
2. the batch processing of user information inquiry is carried out through the call records, and the business event processing efficiency of business users is greatly improved.
Drawings
Fig. 1 is a flowchart of a method for adding a contact to an instant messenger according to a call record in embodiment 1;
fig. 2 is a flowchart of a method for adding a contact to an instant messenger according to a call record in embodiment 2;
fig. 3 is a flowchart of a method for adding a contact to an instant messenger according to a call record in embodiment 3;
FIG. 4 is a block diagram of an apparatus for adding contacts to an instant messenger according to a call log in accordance with embodiment 4;
FIG. 5 is a block diagram of an apparatus for adding contacts to an instant messenger according to a call log in accordance with embodiment 5;
FIG. 6 is a block diagram of an apparatus for adding contacts according to a call log by an instant messenger in accordance with embodiment 6;
FIG. 7 is a block diagram of a server for adding contacts according to a call log by the instant messenger in accordance with embodiment 7;
FIG. 8 is a block diagram of a client terminal for adding contacts according to a call log by the instant messenger in accordance with embodiment 8;
fig. 9 is a block diagram of a client terminal for adding a contact according to a call record by the instant messenger in embodiment 9;
FIG. 10 is a block diagram of a client terminal for adding a contact according to a call record by the instant messenger in accordance with embodiment 10;
fig. 11 is a block diagram of a terminal in which the instant messenger adds a contact according to a call record in embodiment 11.
Detailed Description
The present invention will be described in detail with reference to the accompanying drawings.
Embodiment 1:
the embodiment provides a method for adding a contact person by an instant messaging tool according to a call record, as shown in fig. 1, the method comprises the following steps:
s1: acquiring a request instruction for inquiring and/or adding friends of a requesting user according to a call record in a terminal; the call record is call record information in a certain query time period.
S2: judging whether a user associated with the telephone number in the call record exists or not;
if the judgment result in the S2 is that the associated user associated with the telephone number in the call record exists, the operation goes to S3;
s3: and sending the information of the associated user meeting the preset conditions to the requesting user. The preset condition is that the associated user has permitted the user information of the associated user to be inquired.
If the judgment result in the S2 is that no user associated with the telephone number in the call record exists, the method proceeds to S4-S6:
s4: sending prompt information whether to send a short message for adding a friend or not to a requesting user;
s5: acquiring an instruction for requesting a user to agree to send a short message for adding a friend;
s6: and sending an invitation short message to the telephone number in the request instruction.
For example, the instant messenger server obtains the requesting user such as: and if the current time is short, the range of the sent request instruction is the telephone number in the call records of the last three days according to the call record inquiry and/or friend adding request instruction in the terminal (such as a mobile phone) where the instant messaging tool client is located. And the instant communication tool server judges whether the telephone number in the call record in three days has the associated user of the instant communication tool. And if the user has the associated instant messaging tool, sending the user information of the user meeting the preset conditions to the requesting user. The preset condition refers to that the user associated with the telephone number agrees to send the user information to the inquiring user under the condition that the agreement is not passed. If the instant communication tool server judges that the telephone number is not associated with the instant communication tool user in the instant communication tool, the server sends an invitation short message for asking the user whether to send the invitation to a person associated with the telephone number to become a friend of the instant communication tool. After obtaining the agreeing instruction of the requesting user, the instant communication tool server sends an invitation short message to the telephone number to become a friend of the instant communication tool.
Embodiment 2:
the present embodiment is a further improvement of embodiment 1, and the main improvement is that, in the present embodiment, as shown in fig. 2, after S2 and before S3, the method further includes the following steps:
judging whether the associated user is a contact of the requesting user or whether the requesting user stores the business card of the associated user;
if the judgment result is that the associated user is the contact of the requesting user or the requesting user stores the business card of the associated user, sending the prompt information of the contact or the stored business card to the requesting user;
if the result of the determination is that the associated user is not a contact of the requesting user, or the requesting user does not store a business card of the associated user, S3 is entered.
For example: when the instant messaging tool server judges that a request user makes a request for inquiring or a certain telephone number in an added call record has a user associated with the instant messaging tool, the instant messaging tool server further judges whether the associated user is a contact person making the request user make a request for inquiring or whether the request user make a request for storing an instant messaging tool electronic business card of the associated user, if the request user make a determination that the associated user is the contact person or the business card is stored, the instant messaging tool server sends prompt information to the request user make a request, and if the request user does not make a determination that the associated user is the contact person or does not store the business card and the associated user of the instant messaging tool also sets that the user information is allowed to be inquired, the user information of the associated user of the instant messaging tool is sent to the request user make a request for inquiring.
Otherwise, this embodiment is identical to embodiment 1, and will not be described herein.
Embodiment 3:
the present embodiment is a further improvement of embodiment 2, and the main improvement is that, in the present embodiment, as shown in fig. 3, after S2 and before S4, the method further includes the following steps: and sending prompt information that no associated user exists to the requesting user.
For example, if the result of the determination in S2 is that there is no instant messenger user associated with the phone number in the call record submitted by the requesting user, the instant messenger sends a prompt message indicating that there is no associated user to the client of the requesting user, and then proceeds to S4 to send a prompt message indicating whether to send the added buddy message.
Otherwise, this embodiment is identical to embodiment 2, and will not be described herein.
Embodiment 4:
the present embodiment provides an apparatus for adding a contact according to a call record by an instant messaging tool, as shown in fig. 4, including:
the request instruction acquisition module is used for acquiring a request instruction for requesting a user to inquire and/or add a friend according to the call record in the terminal;
the associated user judging module is used for judging whether a user associated with the telephone number in the call record exists or not;
the associated user information sending module is used for sending the information of the associated user meeting the preset conditions to the requesting user when the result judged by the associated user judging module is that the associated user associated with the telephone number in the call record exists;
the second prompt information sending module is used for sending prompt information whether to send the short message added with the friend or not to the requesting user when the judgment result of the associated user judgment module is that the associated user does not exist;
the friend adding instruction acquisition module is used for acquiring an instruction for requesting the user to agree to send a friend adding short message;
and the invitation short message sending module is used for sending the invitation short message to the telephone number in the request instruction.
Embodiment 5:
this embodiment is a further improvement of embodiment 4, and is mainly improved in that, as shown in fig. 5, the apparatus of this embodiment further includes:
the contact judging module is used for judging whether the associated user is a contact of the requesting user or not or judging whether the requesting user stores the business card of the associated user or not before the associated user information sending module sends the information of the associated user to the requesting user when the associated user judging module judges that the associated user exists as a result of judgment;
and the first prompt information sending module is used for sending the prompt information of the contact or the stored business card to the requesting user when the result of the judgment of the contact judgment module is that the associated user is the contact of the requesting user or the requesting user already stores the business card of the associated user.
Otherwise, this embodiment is completely the same as embodiment 4, and will not be described herein.
Embodiment 6:
this embodiment is a further improvement of embodiment 5, and is mainly improved in that, as shown in fig. 6, the apparatus of this embodiment further includes:
and the third prompt information sending module is used for sending the prompt information of no associated user to the requesting user after the associated user judging module judges that the associated user does not exist and before the second prompt information sending module sends the prompt information of whether to send the short message of adding the friend to the requesting user.
Otherwise, this embodiment is completely the same as embodiment 5, and will not be described herein.
Embodiment 7:
the present embodiment provides a server for adding contacts according to call records by an instant messaging tool, and as shown in fig. 7, the server 1000 may be provided as a server. The server 1000 includes a processing component 1022 that further includes one or more processors, and memory resources, represented by memory 1032, for storing instructions, such as application programs, that are executable by the processing component 1022. The application programs stored in memory 1032 may include one or more modules that each correspond to a set of instructions. Additionally, the processing component 1022 is configured to execute instructions to perform a method for the instant messaging tool to add a contact according to a call record.
The server 1000 may also include a power component 1026 configured to perform power management for the server 1000, a wired or wireless network interface 1050 configured to connect the server 1000 to a network, and an input/output (I/O) interface 1058. Server 1000 may operate based on an operating system stored in memory 1032, such as a Windows Server, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Embodiment 8:
the present embodiment provides a client for adding a contact according to a call record by an instant messaging tool, as shown in fig. 8, including:
the request instruction sending module is used for sending a request instruction for requesting a user to inquire and/or add a friend according to the call record in the terminal to the server;
the relevant user information receiving and displaying module is used for requesting a user to receive and display information of relevant users meeting preset conditions when the server judges that the relevant users relevant to the telephone numbers in the call records exist;
the second prompt message receiving and displaying module is used for requesting the user to receive and display prompt messages for judging whether the user is associated with the telephone number in the call record when the server judges that the user is not associated with the telephone number in the call record;
the friend adding instruction sending module is used for requesting the user to send an instruction for agreeing to send a friend adding short message to the server;
and the invitation short message receiving module is used for receiving the invitation short message sent by the server to the telephone number in the request instruction.
Embodiment 9:
the present embodiment is a further improvement of embodiment 9, and the main improvement is that, as shown in fig. 9, the client in the present embodiment further includes:
the first prompt information receiving and displaying module is used for requesting the user to receive and display the prompt information which is sent by the server and is sent by the request user, wherein the request user is a contact person of the request user or the request user stores the business card of the request user.
Otherwise, this embodiment is completely the same as embodiment 9, and will not be described herein.
Embodiment 10:
the present embodiment is a further improvement of embodiment 9, and the main improvement is that, as shown in fig. 10, the client in the present embodiment further includes:
and the third prompt information receiving and displaying module is used for receiving and displaying the prompt information which is sent by the server and does not have the associated user after the server judges that the associated user does not exist and before the prompt information which is sent by the request user and whether the short message with the friend is added is sent to the request user.
Otherwise, this embodiment is completely the same as embodiment 11, and will not be described herein.
Embodiment 11:
the present embodiment provides a terminal for adding a contact according to a call record by an instant messenger, as shown in fig. 11, the terminal may include a client, and the terminal device may be applied to the method embodiments shown in embodiments 1 to 3.
As shown in fig. 11, the terminal 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, or the like.
Referring to fig. 11, terminal 900 can include one or more of the following components: processing components, memory 904, power components 906, multimedia components 908, audio components 910, input/output (I/O) interfaces 912, sensor components 914, and communication components 916.
The power components 906 provide power to the various components of the terminal 900. The power components 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal 900.
The multimedia components 908 include a screen providing an output interface between the terminal 900 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 900 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) that is configured to operate when terminal 900 is in an operational mode, such as a call mode, a record mode, and a voice recognition mode
Is arranged to receive an external audio signal. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing various aspects of state assessment for the terminal 900. For example, sensor assembly 914 can detect an open/closed state of terminal 900, a relative positioning of components, such as a display and keypad of terminal 900, a change in position of terminal 900 or a component of terminal 900, the presence or absence of user contact with terminal 900, an orientation or acceleration/deceleration of terminal 900, and a change in temperature of terminal 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
In an exemplary embodiment, the terminal 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
Through the above description of the embodiments, those skilled in the art can clearly understand that the technical solution for executing the external command of the system provided by the present invention can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above embodiments are merely illustrative of the technical concepts and features of the present invention, and the purpose of the embodiments is to enable those skilled in the art to understand the contents of the present invention and implement the present invention, and not to limit the protection scope of the present invention. All equivalent changes and modifications made according to the spirit of the present invention should be covered within the protection scope of the present invention.
Claims (17)
1. A method for adding contacts by an instant messaging tool according to call records is characterized by comprising the following steps:
s1: acquiring a request instruction for inquiring and/or adding friends of a requesting user according to a call record in a terminal;
s2: judging whether a user associated with the telephone number in the call record exists or not;
if the judgment result is that the associated user associated with the telephone number in the call record exists, the step S3 is carried out;
s3: and sending the information of the associated user meeting the preset conditions to the requesting user.
2. The method for adding contact according to the call record of the instant messenger of claim 1, further comprising the following steps after S2 and before S3:
judging whether the associated user is a contact of the requesting user or whether the requesting user stores a business card of the associated user;
if the judgment result shows that the associated user is the contact of the requesting user or the requesting user stores the business card of the associated user, sending the prompt information of the contact or the stored business card to the requesting user;
if the result of the determination is that the associated user is not the contact of the requesting user, or the requesting user does not store the business card of the associated user, the process proceeds to S3.
3. The method as claimed in claim 1, wherein in the step S2, if there is no user associated with the phone number in the call record as a result of the determination, the method proceeds to the following steps:
s4: sending prompt information whether to send a short message for adding a friend or not to the requesting user;
s5: obtaining an instruction that the requesting user agrees to send the short message for adding the friend;
s6: and sending an invitation short message to the telephone number in the request instruction.
4. The method of claim 3, further comprising the following steps after the step of S2 and before the step of S4:
and sending prompt information that no associated user exists to the requesting user.
5. The method for adding contact according to the call record of the instant messenger according to any one of claims 1 to 4, wherein in the step S1, the call record is a call record within a certain query time period.
6. The method for adding contact according to the call record of the instant messenger according to any one of claims 1 to 4, wherein in the step S3, the preset condition is any one or a combination of the following conditions:
the associated user has permitted own user information to be queried, the associated user is not an existing contact of the requesting user, and the requesting user does not store the user information of the associated user in the form of a business card.
7. An apparatus, comprising:
the request instruction acquisition module is used for acquiring a request instruction for requesting a user to inquire and/or add a friend according to the call record in the terminal;
the associated user judging module is used for judging whether a user associated with the telephone number in the call record exists or not;
and the associated user information sending module is used for sending the information of the associated user meeting the preset conditions to the requesting user when the result judged by the associated user judging module is that the associated user associated with the telephone number in the call record exists.
8. The apparatus of claim 7, further comprising:
a contact judging module, configured to judge whether the associated user is a contact of the requesting user or whether the requesting user stores a business card of the associated user before the associated user information sending module sends the information of the associated user to the requesting user if the associated user exists as a result of judgment by the associated user judging module;
and the first prompt information sending module is used for sending the prompt information of the contact or the stored business card to the requesting user when the judgment result of the contact judgment module is that the associated user is the contact of the requesting user or the requesting user stores the business card of the associated user.
9. The apparatus of claim 7, further comprising:
a second prompt information sending module, configured to send a prompt information about whether to send a short message to add a friend to the requesting user when the result determined by the associated user determining module is that the associated user does not exist;
the friend adding instruction acquisition module is used for acquiring an instruction that the requesting user agrees to send the friend adding short message;
and the invitation short message sending module is used for sending the invitation short message to the telephone number in the request instruction.
10. The apparatus of claim 9, further comprising:
and the third prompt information sending module is used for sending the prompt information of no associated user to the requesting user after the associated user judging module judges that the associated user does not exist and before the second prompt information sending module sends the prompt information of whether to send the short message of adding the friend to the requesting user.
11. A server, comprising:
a processor;
a memory for storing processor-executable instructions and an apparatus as claimed in claims 7 to 10;
wherein the processor is configured to: the step of operating the instant messaging tool of any one of claims 1 to 6 to add a contact according to a call record.
12. A client, comprising:
the request instruction sending module is used for sending a request instruction for requesting a user to inquire and/or add a friend according to the call record in the terminal to the server;
and the associated user information receiving and displaying module is used for requesting the user to receive and display the information of the associated user meeting the preset conditions when the server judges that the associated user associated with the telephone number in the call record exists.
13. The client of claim 12, further comprising:
the first prompt information receiving and displaying module is used for requesting a user to receive and display prompt information sent by a server, wherein the related user is a contact of the requesting user or the requesting user stores the business card of the related user.
14. The client of claim 12, further comprising:
the second prompt message receiving and displaying module is used for requesting the user to receive and display prompt messages for judging whether the short messages added with friends are sent or not when the server judges that no user associated with the telephone numbers in the call records exists;
a friend adding instruction sending module, configured to send, to the server, an instruction agreeing to send the friend adding short message by the requesting user;
and the invitation short message receiving module is used for receiving the invitation short message sent by the server to the telephone number in the request instruction.
15. The client of claim 14, further comprising:
and the third prompt information receiving and displaying module is used for receiving and displaying the prompt information which is sent by the server and does not have the associated user after the server judges that the associated user does not exist and before the prompt information which is sent by the request user and whether the short message with the friend is added is sent to the request user.
16. A terminal, characterized in that it comprises a memory for storing the relevant programs, instructions of the client, a processor for executing the instructions of the client, and a client according to claims 16-19.
17. A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of a server, enable the server to perform the method of adding contacts according to call records by an instant messenger of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010722112.3A CN111865769A (en) | 2020-07-24 | 2020-07-24 | Method and device for adding contact persons according to call records by instant messaging tool, server, client, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010722112.3A CN111865769A (en) | 2020-07-24 | 2020-07-24 | Method and device for adding contact persons according to call records by instant messaging tool, server, client, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111865769A true CN111865769A (en) | 2020-10-30 |
Family
ID=72950489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010722112.3A Pending CN111865769A (en) | 2020-07-24 | 2020-07-24 | Method and device for adding contact persons according to call records by instant messaging tool, server, client, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111865769A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114301871A (en) * | 2022-01-05 | 2022-04-08 | 土巴兔集团股份有限公司 | Method for adding communication object and related device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023744A (en) * | 2011-09-22 | 2013-04-03 | 北京神州泰岳软件股份有限公司 | Method and system for information management in instant messaging tool |
CN103188131A (en) * | 2011-12-29 | 2013-07-03 | 北京神州泰岳软件股份有限公司 | Method and device for friend recommending on instant messaging client side |
CN108540673A (en) * | 2018-06-25 | 2018-09-14 | 奇酷互联网络科技(深圳)有限公司 | Good friend's adding method, device, readable storage medium storing program for executing and mobile terminal |
CN110971757A (en) * | 2019-11-22 | 2020-04-07 | 珠海格力电器股份有限公司 | Method and device for adding WeChat friends from telephone application |
-
2020
- 2020-07-24 CN CN202010722112.3A patent/CN111865769A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023744A (en) * | 2011-09-22 | 2013-04-03 | 北京神州泰岳软件股份有限公司 | Method and system for information management in instant messaging tool |
CN103188131A (en) * | 2011-12-29 | 2013-07-03 | 北京神州泰岳软件股份有限公司 | Method and device for friend recommending on instant messaging client side |
CN108540673A (en) * | 2018-06-25 | 2018-09-14 | 奇酷互联网络科技(深圳)有限公司 | Good friend's adding method, device, readable storage medium storing program for executing and mobile terminal |
CN110971757A (en) * | 2019-11-22 | 2020-04-07 | 珠海格力电器股份有限公司 | Method and device for adding WeChat friends from telephone application |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114301871A (en) * | 2022-01-05 | 2022-04-08 | 土巴兔集团股份有限公司 | Method for adding communication object and related device |
CN114301871B (en) * | 2022-01-05 | 2023-08-15 | 土巴兔集团股份有限公司 | Method for adding communication object and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3113466B1 (en) | Method and device for warning | |
CN109521918B (en) | Information sharing method and device, electronic equipment and storage medium | |
CN105915521B (en) | Multi-party call management method, device and terminal | |
CN107094094B (en) | Application networking method and device and terminal | |
CN110619097A (en) | Two-dimensional code generation method and device, electronic equipment and storage medium | |
US10263925B2 (en) | Method, device and medium for sending message | |
CN105939424B (en) | Application switching method and device | |
CN105721283B (en) | Method, device and equipment for sending screenshot message | |
US11483263B2 (en) | Method and terminal for facilitating chat between users of two terminals | |
CN106506808B (en) | Method and device for prompting communication message | |
CN106447747B (en) | Image processing method and device | |
CN111865767B (en) | User display method, device, server, client, terminal and storage medium for indirectly monitoring telephone in instant messaging | |
CN110213062B (en) | Method and device for processing message | |
CN109150901B (en) | Information source prompting method and device, electronic equipment and storage medium | |
CN111865769A (en) | Method and device for adding contact persons according to call records by instant messaging tool, server, client, terminal and storage medium | |
CN107277422B (en) | Video call method, device and system | |
CN107169042B (en) | Method and device for sharing pictures and computer readable storage medium | |
CN107026941B (en) | Method and device for processing reply of unread message | |
CN106354532B (en) | Application account information processing method and device | |
CN112217714B (en) | Method, device, server, client, terminal and storage medium for deleting information in two directions in instant communication session | |
CN110913055B (en) | Terminal device searching method and device and electronic device | |
CN109068085B (en) | Call processing method and device | |
CN114268691A (en) | Call method, device, terminal equipment and readable storage medium | |
CN114124866A (en) | Session processing method, device, electronic equipment and storage medium | |
CN108011882B (en) | Method, device and system for data synchronization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20201030 |
|
WD01 | Invention patent application deemed withdrawn after publication |