CN108989181A - Establish the method, apparatus, equipment and server of instant messaging - Google Patents

Establish the method, apparatus, equipment and server of instant messaging Download PDF

Info

Publication number
CN108989181A
CN108989181A CN201810555928.4A CN201810555928A CN108989181A CN 108989181 A CN108989181 A CN 108989181A CN 201810555928 A CN201810555928 A CN 201810555928A CN 108989181 A CN108989181 A CN 108989181A
Authority
CN
China
Prior art keywords
subscription
information
user
terminal equipment
subscription information
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
CN201810555928.4A
Other languages
Chinese (zh)
Other versions
CN108989181B (en
Inventor
周俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology 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 Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201810555928.4A priority Critical patent/CN108989181B/en
Publication of CN108989181A publication Critical patent/CN108989181A/en
Application granted granted Critical
Publication of CN108989181B publication Critical patent/CN108989181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The present invention provides a kind of method, apparatus for establishing instant messaging, equipment and server, which includes obtaining the subscription addition instruction of input;Corresponding subscription information is instructed to server transmission subscription addition according to addition instruction is subscribed to;The association user information for the subscription information that server is sent is received, the association user information of subscription information includes that there are the information of other users of identical subscription condition with subscription information;Obtain the session instruction for the second user in other users of input;It is instructed according to session to server and sends session request;Receive the conversational response that server is sent;According to the session communication between conversational response creation and second terminal equipment.The present invention can show the quick foundation of session between user in test process, improve testing efficiency.

Description

Establish the method, apparatus, equipment and server of instant messaging
Technical field
The present invention relates to network technology more particularly to a kind of method, apparatus for establishing instant messaging, equipment and server.
Background technique
Instant messaging (Instant massaging, IM) as application program a kind of common function, it can be achieved that user Between instant chat.
During the instant communication function to application program is tested, a user creatable model, the creation Model by can be shown on the client end interface of application program after the approval, another user can carry out on interface Model screening, after screening the model of the creation, can establish the session between two users based on the model of the creation, real Now to the test of instant communication function.
From the foregoing, it will be observed that during the test, the process for establishing session between user is more complex, and testing efficiency is lower.
Summary of the invention
The present invention provides a kind of method, apparatus for establishing instant messaging, equipment and server, is used with realizing in test process The quick foundation of session between family improves testing efficiency.
In a first aspect, the present invention provides a kind of method for establishing instant messaging, comprising:
Instruction is added in the subscription for obtaining input;
It is added and is instructed according to the subscription, sent the subscription addition to server and instruct corresponding subscription information;
Receive the association user information for the subscription information that the server is sent, the association user of the subscription information Information includes: other users with the subscription information there are identical subscription condition;
Obtain the session instruction for the second user in other users of input;
It is instructed according to the session, sends session request to the server;
Receive the conversational response that the server is sent;
Session communication according to the conversational response, between creation and second terminal equipment;The second terminal equipment is The terminal device of the second user.
Second aspect, the present invention provide a kind of method for establishing instant messaging, comprising:
It receives the subscription addition that first terminal equipment is sent and instructs corresponding subscription information;The first terminal equipment is the The terminal device of one user;
Determine the association user information of the subscription information;The association user information of the subscription information include: with it is described There are other users except first user of identical subscription condition for subscription information;
The association user information of the subscription information is sent to the first terminal equipment;
Receive the session request that the first terminal equipment is sent;The session request is that the first terminal equipment is obtaining It gets and sends after the session instruction for the second user in other users;
To the first terminal equipment send conversational response, the conversational response be used for so that the first terminal equipment with Second terminal equipment creates session communication, and the second terminal equipment is the terminal device of the second user.
The third aspect, the present invention also provides a kind of devices for establishing instant messaging, comprising:
Module is obtained, for obtaining the subscription addition instruction of input;
Sending module is instructed for being added according to the subscription, and it is corresponding to send the subscription addition instruction to server Subscription information;
Receiving module, for receiving the association user information for the subscription information that the server is sent, the subscription The association user information of information includes: other users with the subscription information there are identical subscription condition;
The acquisition module is also used to obtain the session instruction for the second user in other users of input;
The sending module, is also used to be instructed according to the session, sends session request to the server;
The receiving module is also used to receive the conversational response that the server is sent;
Described device further include:
Creation module, for the session communication according to the conversational response, between creation and second terminal equipment;Described Two terminal devices are the terminal device of the second user.
Fourth aspect, the present invention also provides a kind of devices for establishing instant messaging, comprising:
Receiving module, the subscription addition for receiving the transmission of first terminal equipment instruct corresponding subscription information;Described One terminal device is the terminal device of the first user;
Determining module, for determining the association user information of the subscription information;The association user of the subscription information is believed Breath includes: that there are other users except first user of identical subscription condition with the subscription information;
Sending module, for sending the association user information of the subscription information to the first terminal equipment;
The receiving module is also used to receive the session request that the first terminal equipment is sent;The session request is What the first terminal equipment was sent after getting for the session instruction of the second user in other users;
The sending module is also used to send conversational response to the first terminal equipment, and the conversational response is for making It obtains the first terminal equipment and second terminal equipment creates session communication, the second terminal equipment is the second user Terminal device.
5th aspect, the present invention also provides a kind of terminal devices, comprising: memory and processor;The memory and institute State processor connection;
The memory, for storing program instruction;
The processor executes above-mentioned first aspect and provides for calling the described program instruction of the memory storage The method for establishing instant messaging.
6th aspect, the present invention also provides a kind of servers, comprising: memory and processor;The memory and described Processor connection;
The memory, for storing program instruction;
The processor executes above-mentioned second aspect and provides for calling the described program instruction of the memory storage The method for establishing instant messaging.
7th aspect, the present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, special Sign is, realizes that first aspect provides the method for establishing instant messaging when the computer program is executed by processor.
Eighth aspect, the present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, special Sign is that second aspect offer is realized when the computer program is executed by processor establishes instant communicating method.
The method, apparatus for establishing instant messaging, equipment and server provided by the invention, can be by obtaining the subscription inputted Addition instruction sends subscription addition to server according to subscription addition instruction and instructs corresponding subscription information, and receiving should The association user information for the subscription information that server is sent, the association user information of the subscription information include: to believe with the subscription There are other users of identical subscription condition for breath;The session for the second user in other users for also obtaining input refers to It enables, is instructed according to the session to the server and send session request, receive the conversational response of server transmission, then basis should Session communication between conversational response creation and second terminal equipment;The second terminal equipment is that the terminal of the second user is set It is standby.The subscription information that this method can be added based on user, from other users of the subscription information there are identical subscription condition It determines the target user of session, then realizes the quick foundation of session communication between user during conversation test, effectively mention High testing efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart one for the method for establishing instant messaging provided by the invention;
Fig. 2 is a kind of flowchart 2 for the method for establishing instant messaging provided by the invention;
Fig. 3 is the structural schematic diagram one of the device provided by the invention for establishing instant messaging;
Fig. 4 is the structural schematic diagram two of the device provided by the invention for establishing instant messaging;
Fig. 5 is the structural schematic diagram of terminal device provided by the invention;
Fig. 6 is the structural schematic diagram of server provided by the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
It should be noted that term " first ", " second " and " third " etc. in each section of the embodiment of the present invention and attached drawing It is to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that the number used in this way According to being interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein can be in addition to illustrating herein or describing Those of other than sequence implement.In addition, term " includes " and " having " and their any deformation, it is intended that covering is not Exclusive includes, for example, the process, method, system, product or equipment for containing a series of steps or units be not necessarily limited to it is clear Step or unit those of is listed on ground, but is not clearly listed or for these process, methods, product or is set Standby intrinsic other step or units.
Method flow diagram involved in the following embodiments of the present invention is merely illustrative, it is not necessary in all Appearance and step, nor is it necessary that and execute in the described sequence.For example, some steps can also decompose, and some steps can To merge or partially merge, therefore, the sequence actually executed can change according to the actual situation.
Functional module in block diagram involved in the following embodiments of the present invention is only functional entity, not necessarily must be with Physically separate entity is corresponding.I.e., it is possible to realize these functional entitys using software form, or in one or more hardware It is realized in module or integrated circuit in these functional entitys or heterogeneous networks and/or processor and/or microcontroller and realizes this A little functional entitys.
The method, apparatus, equipment and server etc. of establishing instant messaging that the following each embodiments of the present invention provide, it is applicable In the test process of application program, the quick foundation of session between user in test process is effectively increased, improves test effect Rate.
It should be noted that first terminal equipment can be identical as second terminal equipment involved in the present invention is following, It can be different." first " and " second " is only the initiator and recipient of differentiating sessions communication.In the present invention, which sets The standby initiator that can be used as session communication, recipient of the second terminal equipment as session communication.In other examples, this The operation of one terminal device and the second terminal equipment can be interchangeable, i.e., the second terminal equipment also can be used as session communication Initiator, and the first terminal equipment can be used as the recipient of session communication.
It is illustrated as follows by multiple examples.
Fig. 1 is a kind of flow chart one for the method for establishing instant messaging provided by the invention.The Fig. 1 can by terminal device and Server interaction is realized.
As shown in Figure 1, this method may include following steps:
Instruction is added in the subscription that S101, first terminal equipment obtain input.
The first terminal equipment can be the terminal device of the first user.The first subscription addition instruction can be logical for user Instruction is added in the subscription that the input equipment such as touch screen, keyboard etc. for crossing the first terminal equipment is inputted.Certainly, which adds Instruction can also instruct for the subscription addition inputted by other equipment, and details are not described herein.
For example, subscription addition instruction can pass through click to be directed to subscription information on the interface of first terminal equipment " subscription " or " addition is subscribed to " inputted clicking operation of button or touch operation etc. operates inputted subscription and adds instruction.
First user is party A-subscriber, can be after party A-subscriber's login application program, whole first by clicking " individual " button The personal information page is shown on the interface of end equipment, on this page by clicking the input of " my subscription " button in first terminal The subscription information page is shown on the interface of equipment, can be shown and be ordered by click " addition is subscribed to " button on the subscription information page List information is read, by clicking corresponding " subscription " button of subscription information in the subscription list information, realizes that party A-subscriber orders this Read the subscription that addition instructs corresponding subscription information.
For example, subscription addition, which instructs corresponding subscription information for example, to be a kind of post information, or one A post information.Certainly, subscription addition instructs corresponding subscription information that can also be the information of other forms, and is not limited to note Sub-information above are only example.
S102, first terminal equipment are added according to the subscription and are instructed, and it is corresponding to send subscription addition instruction to server Subscription information.
The first terminal equipment can also can also send the subscription in the case where getting subscription addition instruction to server Addition instructs corresponding subscription information, so that server is updated the subscription information of first user, such as in first use Increase subscription addition in the subscription information at family and instructs corresponding subscription information.
To make server identify the subscription information of first user, which is ordered sending this to server On the basis of readding the corresponding subscription information of addition instruction, the information such as first user of first user can be also sent to server Identification information and/or account information.
Corresponding, this method may also include that
The subscription addition that server receives first terminal equipment transmission instructs corresponding subscription information.
To realize that the session between user quickly creates, this method may also include that
Second terminal equipment, which obtains, subscribes to addition instruction;
Second terminal equipment is added according to the subscription and is instructed, and is sent subscription addition to server and is instructed corresponding subscription letter Breath.
Wherein, which can be the terminal device of second user.The first terminal equipment can be with second Terminal device is same equipment, can also be distinct device.
For example, first user can be logged in first terminal equipment, can be logged in the second terminal equipment this Two users, when the first user and the second user log on same terminal device, then the first terminal equipment can with this second Terminal device is same equipment;When first user and the second user log on different terminal equipment, then the first terminal Equipment and the second terminal equipment are distinct device.
For difference, instruction is added in the subscription that above-mentioned first terminal equipment obtains, such as can subscribe to addition instruction for first, The addition instruction of subscription acquired in the second terminal equipment, such as can be the second subscription addition instruction.
For the description for the subscription addition instruction that the second terminal equipment obtains, can be obtained with above-mentioned first terminal equipment The description for subscribing to addition instruction is similar, and referring specifically to above-mentioned, details are not described herein.
It instructs and can be performed simultaneously with above-mentioned S101 it should be noted that the second terminal equipment obtains to subscribe to add, It can successively execute, the application does not execute time sequencing to it and is defined.
In the case where the second terminal equipment also gets subscription addition instruction, the subscription can also be sent to server and is added Add the corresponding subscription information of instruction.
The addition of subscription acquired in the second terminal equipment instructs corresponding subscription information, can be with the first terminal equipment The subscription addition of acquisition instructs corresponding subscription information, and there are identical conditions, as subscription information is identical or subscription information belongs to Identical classification.
To make server identify the subscription information of the second user, which is ordered sending this to server On the basis of readding the corresponding subscription information of addition instruction, the information such as the second user of the second user can be also sent to server Identification information and/or account information.
Instruct corresponding subscription information can it should be noted that the second terminal equipment sends subscription addition to server To be performed simultaneously with above-mentioned S102, can also successively execute, the application does not execute time sequencing to it and is defined.
Corresponding, this method may also include that
The subscription addition that server receives second terminal equipment transmission instructs corresponding subscription information.
It should be noted that the subscription addition that the server receives second terminal equipment transmission instructs corresponding subscription letter Breath can be performed simultaneously with above-mentioned S103, can also successively be executed, the application does not execute time sequencing to it and is defined.
S103, server determine the association user information of the subscription information;The association user information of the subscription information includes: There are other users except the first user of identical subscription condition with the subscription information.
The server can determine the association user of the subscription information according to the subscription information, then determine the subscription information The information of association user is the association user information of the subscription information.Wherein, server can determine exists with the subscription information The user of identical subscription condition is determined as the association user of the subscription information.
At least may include in the association user information of the subscription information with the subscription information there are identical subscription condition its The information of its user.Certainly, it may also include that the information of first user in the association user information of the subscription information.
The identical subscription condition is for example can include: and it is identical as the subscription information, and/or, and belonging to the subscription information Classification is identical.
That is, as the first user subscribe to have the subscription information, then subscribe to have it is identical as the subscription information or with this Other users of the identical subscription information of classification belonging to subscription information can be the association user of the subscription information.
S104, server send the association user information of the subscription information to first terminal equipment.
The server can send this to the first terminal equipment and order in the case where first terminal equipment sends inquiry request Read the association user information of information;The association user information of the subscription information can also be directly sent to the first terminal equipment.
In a kind of example, first terminal equipment can obtain the corresponding inquiry request of the subscription information, and send out to server The inquiry request is given, which can send the pass of the subscription information to first terminal equipment after receiving the inquiry request Join user information.
For example, the inquiry request can be the user of the first terminal equipment, such as the first user is also referred to as party A-subscriber, can pass through The inquiry request inputted in " personal subscription list " on the interface of the first terminal equipment for the subscription information.For this The inquiry request that subscription information is inputted can be the association user inquiry request of the subscription information.It can for example be shown on interface There is similar control buttons such as " Ta are also being looked for ", the inquiry request can be inputted by clicking the control button.
Certainly, which can also be sent to the association user information of subscription information other users' of the subscription information Terminal device such as second terminal equipment.Also, the server directly can be sent to this to the association user information of the subscription information The terminal device of other users can also be directed to the inquiry of the subscription information transmitted by the terminal device for receiving other users After request, it is sent to it the association user information of subscription information.
Corresponding, this method may also include that
First terminal equipment receives the association user information for the subscription information that server is sent.
S105, first terminal equipment obtain the session instruction for the second user in other users of input.
The second user can be used for the user such as B screened from the association user information for receiving the subscription information Family.
Session instruction can instruct for the session inputted by the input equipment of the first terminal equipment, such as can lead to Cross the session instruction inputted on the interface that the touch screen of the first terminal equipment is shown.Such as, it clicks second in other users The session instruction that the corresponding icon of user or title etc. are inputted.Alternatively, can also be shown by the touch screen of first terminal equipment Interface on the corresponding session control button of the second user inputted session instruction.
Example, the corresponding session control button of the second user for example can be on interface, the second user is corresponding " to be beaten A greeting " button.When corresponding " saying hello " button of the second user on interface receives clicking operation gesture, touch behaviour It makes a sign with the hand, long press operation gesture etc., first terminal equipment can get the session instruction for the second user.
S106, first terminal equipment are instructed according to the session, send session request to server.
Corresponding, this method may also include that
Server receives the session request that first terminal equipment is sent.The session request is that the first terminal equipment is obtaining It is sent after to the session instruction for the second user in other users.
S107, server send conversational response to first terminal equipment.
The server, can be directly to the first terminal equipment after the session request for receiving first terminal equipment transmission Send the conversational response;The session request first can also be sent to the second terminal equipment receiving all second terminal equipment returns Conversational response after to the first terminal equipment send the conversational response;The server can also receive the first terminal equipment The session request of transmission after carrying out a series of processing, sends the conversational response to the first terminal equipment.
Corresponding, this method may also include that
First terminal equipment receives the conversational response that server is sent.
The session communication of S108, first terminal equipment according to the conversational response, between creation and second terminal equipment.
Second terminal equipment can be the terminal device of second user.
The second user can be a user, or multiple users.
If the second user is a user, the meeting between the terminal device of two users can be realized by executing S108 Words communication, realizes the conversation test between two users;If the second user is multiple users, can be realized by execution S108 more Session communication between the terminal device of a user realizes the conversation test between multiple users.
It, can also be in the first terminal equipment and second when the first terminal equipment and second terminal equipment establish session communication Session interface is shown on the interface of terminal device respectively, the letter of the session communication transmitted can be shown by the session interface The information such as the test result of breath and the session communication.
The method provided in an embodiment of the present invention for establishing instant messaging can add instruction, root by obtaining the subscription of input Subscription addition is sent to server according to subscription addition instruction and instructs corresponding subscription information, and receives server transmission The association user information of the subscription information, the association user information of the subscription information include: to order with the subscription information there are identical Read other users of condition;The session instruction for the second user in other users for also obtaining input, according to the session It instructs to the server and sends session request, receive the conversational response of server transmission, then created according to the conversational response With the session communication between second terminal equipment;The second terminal equipment is the terminal device of the second user.This method can base In the subscription information of user's addition, conversation test is determined from other users of the subscription information there are identical subscription condition Target user then realizes the quick foundation of session communication between user during conversation test, effectively increases test effect Rate shortens length of testing speech.
It is that there are the target use that conversation test is screened in other users of identical subscription condition for the subscription information in this method Family can effectively avoid the interference to running on line, guarantee on the line of application program without screening target user by creation model The quality of function.
Optionally, Fig. 2 is a kind of flowchart 2 for the method for establishing instant messaging provided by the invention.Side shown in Fig. 2 Method can be realized by terminal device and server interaction.In the corresponding method of the Fig. 2, which can be above-mentioned first terminal Equipment may be above-mentioned second terminal equipment.As shown in Fig. 2, the foundation is instant on the basis of above-mentioned method shown in FIG. 1 The method of communication may also include that
Instruction is deleted in the subscription that S201, terminal device receive input.
The user such as party A-subscriber or party B-subscriber that instruction can be the terminal device are deleted in the subscription, can pass through terminal device Instruction is deleted for the subscription that subscription information to be deleted is inputted in " personal subscription list " on interface.
For example, party A-subscriber can be shown on the interface of terminal device after login application program by click " individual " button The personal information page shows subscription letter by clicking the input of " my subscription " button on this page on the interface of terminal device The page is ceased, " can subscribe to and edit " button by click on the subscription information page or editor's letter is subscribed in the Edit button display Breath is deleted in subscription editor's information by clicking the subscription that corresponding " deletion " button of the subscription information to be deleted is inputted Except instruction.
S202, terminal device are deleted according to the subscription and are instructed, and are sent the subscription to server and are deleted the corresponding subscription of instruction Information.
It is subscription information to be deleted that the subscription, which deletes and instructs corresponding subscription information,.
Corresponding, this method may also include that
The subscription that server receiving terminal equipment is sent, which is deleted, instructs corresponding subscription information.
S203, server are deleted according to the subscription instructs corresponding subscription information, is updated to the subscription information of user.
If the terminal device is first terminal equipment, the subscription information of the first user can be updated in the S303; If the terminal device is second terminal equipment, the subscription information of the second user can be updated in the S303.
To make server accurately identify the subscription information of the user, which can also send user's letter to server Breath, such as the identification information and/or account information of user.
Server is updated the subscription information of user, may include: to delete this from the subscription information of the user to order It reads deletion and instructs corresponding subscription information.
That is, in this method, server and terminal device can carry out the addition of subscription information, can also carry out subscription letter The deletion of breath realizes the flexibility of the incidence relation between subscription information and user.
Following is apparatus of the present invention embodiment, can be used for executing above method embodiment of the present invention, realization principle and Technical effect is similar.
Fig. 3 is the structural schematic diagram one of the device provided by the invention for establishing instant messaging.The foundation shown in Fig. 3 is instant The device of communication can be by way of software and/or hardware referred to as in terminal device.As shown in figure 3, the foundation of the present embodiment The device 30 of instant messaging may include: to obtain module 31, sending module 32, receiving module 33, creation module 34.
Module 31 is obtained, for obtaining the subscription addition instruction of input.
Sending module 32 is instructed for being added according to the subscription, is sent subscription addition to server and is instructed corresponding order Read information.
Receiving module 33, the association user information of the subscription information for receiving server transmission, the subscription information Association user information include: other users with the subscription information there are identical subscription condition.
Module 31 is obtained, is also used to obtain the session instruction for the second user in other users of input.
Sending module 32, is also used to be instructed according to the session, sends session request to the server.
Receiving module 33 is also used to receive the conversational response of server transmission.
Creation module 34, for the session communication according to the conversational response, between creation and second terminal equipment;This second Terminal device is the terminal device of the second user.
Optionally, above-mentioned identical subscription condition includes: identical as the subscription information, and/or, and belonging to the subscription information Classification it is identical.
Optionally, module 31 is obtained, instruction is deleted in the subscription for being also used to obtain input.
Sending module 32 is also used to delete instruction according to the subscription, sends the subscription to the server and deletes instruction correspondence Subscription information instruct corresponding subscription information to the subscription information of first user so that the server is deleted according to the subscription It is updated.
The device provided in this embodiment for establishing instant messaging can be performed above-mentioned Fig. 1 it is any into Fig. 2 shown in terminal set The standby method for establishing instant messaging executed, specific implementation and effective effect, reference can be made to above-mentioned, details are not described herein.
Fig. 4 is the structural schematic diagram two of the device provided by the invention for establishing instant messaging.The foundation shown in Fig. 4 is instant The device of communication can be by way of software and/or hardware referred to as in server.As shown in figure 4, the foundation of the present embodiment is instant The device 40 of communication may include: receiving module 41, determining module 42 and sending module 43.
Receiving module 41, the subscription addition for receiving the transmission of first terminal equipment instruct corresponding subscription information;This One terminal device is the terminal device of the first user.
Determining module 42, for determining the association user information of the subscription information;The association user information of the subscription information It include: that there are other users except first user of identical subscription condition with the subscription information.
Sending module 43, for sending the association user information of the subscription information to the first terminal equipment.
Receiving module 41 is also used to receive the session request of first terminal equipment transmission;The session request be this first What terminal device was sent after getting for the session instruction of the second user in other users.
Sending module 43, is also used to send conversational response to the first terminal equipment, the conversational response be used for so that this One terminal device and second terminal equipment create session communication, which is the terminal device of the second user.
Optionally, which includes: identical as the subscription information, and/or, and belonging to the subscription information Classification is identical.
Optionally, it is corresponding to be also used to receive the subscription deletion instruction that the first terminal equipment is sent for receiving module 41 Subscription information.
The device 40 for establishing instant messaging can also include:
Update module instructs corresponding subscription information for deleting according to the subscription, to the subscription information of first user It is updated, obtains the subscription information of updated first user.
The device provided in this embodiment for establishing instant messaging can be performed above-mentioned Fig. 1 it is any into Fig. 2 shown in server The method for establishing instant messaging executed, specific implementation and effective effect, reference can be made to above-mentioned, details are not described herein.
Fig. 5 is the structural schematic diagram of terminal device provided by the invention.As shown in figure 5, the terminal device 50 of the present embodiment It may include: memory 51 and processor 52;Memory 51 and processor 52 connect.
Memory 51, for storing program instruction.
Processor 52, the program instruction for calling memory 51 to store, executes following step:
Instruction is added in the subscription for obtaining input;
It adds and instructs according to the subscription, send subscription addition to server and instruct corresponding subscription information;
Receive the association user information of the subscription information of server transmission, the association user packet of the subscription information Include: there are other users of identical subscription condition with the subscription information;
Obtain the session instruction for the second user in other users of input;
It is instructed according to the session, sends session request to the server;
Receive the conversational response of server transmission;
Session communication according to the conversational response, between creation and second terminal equipment;The second terminal equipment be this The terminal device of two users.
Optionally, above-mentioned identical subscription condition includes: identical as the subscription information, and/or, and belonging to the subscription information Classification it is identical.
Optionally, instruction is deleted in processor 52, the subscription for being also used to obtain input;It is deleted and is instructed according to the subscription, to this Server sends the subscription and deletes the corresponding subscription information of instruction, so that the server is deleted according to the subscription, instruction is corresponding to be ordered Information is read to be updated the subscription information of first user.
Terminal device provided in this embodiment can be performed above-mentioned Fig. 1 it is any into Fig. 2 shown in terminal device execute build The method of vertical instant messaging, specific implementation and effective effect, reference can be made to above-mentioned, details are not described herein.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the calculating Machine program can the processor 52 described in above-mentioned Fig. 5 execute the foundation for realizing that terminal device shown in upper any embodiment executes and be The method of Shi Tongxin, specific implementation and effective effect, reference can be made to above-mentioned, details are not described herein.
Fig. 6 is the structural schematic diagram of server provided by the invention.As shown in fig. 6, the server 60 of the present embodiment can be with It include: memory 61 and processor 62;Memory 61 and processor 62 connect.
Memory 61, for storing program instruction.
Processor 62, the program instruction for calling memory 61 to store, executes following step:
It receives the subscription addition that first terminal equipment is sent and instructs corresponding subscription information;The first terminal equipment is first The terminal device of user;
Determine the association user information of the subscription information;The association user information of the subscription information includes: to believe with the subscription There are other users except first user of identical subscription condition for breath;
The association user information of the subscription information is sent to the first terminal equipment;
Receive the session request of first terminal equipment transmission;The session request is that the first terminal equipment is getting needle To what is sent after the session instruction of the second user in other users;
Conversational response is sent to the first terminal equipment, which is used for so that the first terminal equipment is whole with second End equipment creates session communication, which is the terminal device of the second user.
Optionally, which includes: identical as the subscription information, and/or, and belonging to the subscription information Classification is identical.
Optionally, processor 62 are also used to receive the subscription deletion that the first terminal equipment is sent and instruct corresponding order Read information;It is deleted according to the subscription and instructs corresponding subscription information, the subscription information of first user is updated, is obtained more The subscription information of first user after new.
Server provided in this embodiment can be performed above-mentioned Fig. 1 it is any into Fig. 2 shown in server execute foundation i.e. The method of Shi Tongxin, specific implementation and effective effect, reference can be made to above-mentioned, details are not described herein.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the calculating Machine program can the processor 62 described in above-mentioned Figure 60 execute the foundation for realizing that server shown in upper any embodiment executes and be The method of Shi Tongxin, specific implementation and effective effect, reference can be made to above-mentioned, details are not described herein.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (12)

1. a kind of method for establishing instant messaging characterized by comprising
Instruction is added in the subscription for obtaining input;
It is added and is instructed according to the subscription, sent the subscription addition to server and instruct corresponding subscription information;
Receive the association user information for the subscription information that the server is sent, the association user information of the subscription information It include: that there are the information of other users of identical subscription condition with the subscription information;
Obtain the session instruction for the second user in other users of input;
It is instructed according to the session, sends session request to the server;
Receive the conversational response that the server is sent;
Session communication according to the conversational response, between creation and second terminal equipment;The second terminal equipment is described The terminal device of second user.
2. the method according to claim 1, wherein the identical subscription condition includes: to believe with the subscription Manner of breathing is same, and/or, it is identical as classification belonging to the subscription information.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
Instruction is deleted in the subscription for obtaining input;
It is deleted and is instructed according to the subscription, sent the subscription to the server and delete the corresponding subscription information of instruction, so that The server is deleted according to the subscription instructs corresponding subscription information to be updated the subscription information of first user.
4. a kind of method for establishing instant messaging, which is characterized in that including
It receives the subscription addition that first terminal equipment is sent and instructs corresponding subscription information;The first terminal equipment is the first use The terminal device at family;
Determine the association user information of the subscription information;The association user information of the subscription information includes: and the subscription There are other users except first user of identical subscription condition for information;
The association user information of the subscription information is sent to the first terminal equipment;
Receive the session request that the first terminal equipment is sent;The session request is that the first terminal equipment is being got For what is sent after the session instruction of the second user in other users;
Conversational response is sent to the first terminal equipment, the conversational response is used for so that the first terminal equipment and second Terminal device creates session communication, and the second terminal equipment is the terminal device of the second user.
5. according to the method described in claim 4, it is characterized in that, the identical subscription condition includes: to believe with the subscription Manner of breathing is same, and/or, it is identical as classification belonging to the subscription information.
6. method according to claim 4 or 5, which is characterized in that the method is also further include:
It receives the subscription that the first terminal equipment is sent and deletes the corresponding subscription information of instruction;
It is deleted according to the subscription and instructs corresponding subscription information, the subscription information of first user is updated, is obtained The subscription information of updated first user.
7. a kind of device for establishing instant messaging characterized by comprising
Module is obtained, for obtaining the subscription addition instruction of input;
Sending module is instructed for being added according to the subscription, is sent the subscription addition to server and is instructed corresponding subscription Information;
Receiving module, for receiving the association user information for the subscription information that the server is sent, the subscription information Association user information include: other users with the subscription information there are identical subscription condition;
The acquisition module is also used to obtain the session instruction for the second user in other users of input;
The sending module, is also used to be instructed according to the session, sends session request to the server;
The receiving module is also used to receive the conversational response that the server is sent;
Described device further include:
Creation module, for the session communication according to the conversational response, between creation and second terminal equipment;Described second eventually End equipment is the terminal device of the second user.
8. a kind of device for establishing instant messaging characterized by comprising
Receiving module, the subscription addition for receiving the transmission of first terminal equipment instruct corresponding subscription information;Described first eventually End equipment is the terminal device of the first user;
Determining module, for determining the association user information of the subscription information;The association user packet of the subscription information Include: there are other users except first user of identical subscription condition with the subscription information;
Sending module, for sending the association user information of the subscription information to the first terminal equipment;
The receiving module is also used to receive the session request that the first terminal equipment is sent;The session request is described What first terminal equipment was sent after getting for the session instruction of the second user in other users;
The sending module is also used to send conversational response to the first terminal equipment, and the conversational response is used for so that institute It states first terminal equipment and second terminal equipment creates session communication, the second terminal equipment is the terminal of the second user Equipment.
9. a kind of terminal device characterized by comprising memory and processor;The memory is connected with the processor;
The memory, for storing program instruction;
The processor executes any in the claims 1-3 for calling the described program instruction of the memory storage The method for establishing instant messaging described in.
10. a kind of server characterized by comprising memory and processor;The memory is connected with the processor;
The memory, for storing program instruction;
The processor executes any in the claims 4-6 for calling the described program instruction of the memory storage The method for establishing instant messaging described in.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Claim 1-3 described in any item methods for establishing instant messaging are realized when being executed by processor.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Claim 4-6 described in any item methods for establishing instant messaging are realized when being executed by processor.
CN201810555928.4A 2018-05-31 2018-05-31 Method, device, equipment and server for establishing instant messaging Active CN108989181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810555928.4A CN108989181B (en) 2018-05-31 2018-05-31 Method, device, equipment and server for establishing instant messaging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810555928.4A CN108989181B (en) 2018-05-31 2018-05-31 Method, device, equipment and server for establishing instant messaging

Publications (2)

Publication Number Publication Date
CN108989181A true CN108989181A (en) 2018-12-11
CN108989181B CN108989181B (en) 2021-06-01

Family

ID=64540418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810555928.4A Active CN108989181B (en) 2018-05-31 2018-05-31 Method, device, equipment and server for establishing instant messaging

Country Status (1)

Country Link
CN (1) CN108989181B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979044A (en) * 2021-08-10 2022-08-30 中移互联网有限公司 Message management method, node and electronic equipment for message platform

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159703A (en) * 2007-10-09 2008-04-09 施侃晟 Bidirectional interdynamic search method for generating instant communication effect
CN102831202A (en) * 2012-08-08 2012-12-19 中兴通讯股份有限公司 Method and system for pushing recommended friends to users of social network site
CN103200279A (en) * 2013-04-28 2013-07-10 百度在线网络技术(北京)有限公司 Recommending method and cloud server
CN104333506A (en) * 2014-10-24 2015-02-04 北京兴远永网络科技有限公司 Communication terminal contact method and device
CN105677786A (en) * 2015-12-30 2016-06-15 北京万物花开网络技术有限公司 Instant messaging establishing method and device
CN105812229A (en) * 2014-12-30 2016-07-27 中国移动通信集团公司 Terminal communication method, system and related device
CN106161186A (en) * 2015-03-31 2016-11-23 Tcl集团股份有限公司 Instant communication method and device
CN106302079A (en) * 2015-05-12 2017-01-04 阿里巴巴集团控股有限公司 Message issuance method in social networks and device
US20170220312A1 (en) * 2014-07-24 2017-08-03 Benple Inc. Method for providing communication service among mobile terminals by using nearfield wireless device
CN107104875A (en) * 2016-02-22 2017-08-29 腾讯科技(深圳)有限公司 The method and apparatus that information is pushed
CN107302490A (en) * 2017-06-09 2017-10-27 南京跃豚智能科技有限公司 The quick method and system for setting up team's collaboration
WO2018081966A1 (en) * 2016-11-03 2018-05-11 华为技术有限公司 User association method, terminal and server

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159703A (en) * 2007-10-09 2008-04-09 施侃晟 Bidirectional interdynamic search method for generating instant communication effect
CN102831202A (en) * 2012-08-08 2012-12-19 中兴通讯股份有限公司 Method and system for pushing recommended friends to users of social network site
CN103200279A (en) * 2013-04-28 2013-07-10 百度在线网络技术(北京)有限公司 Recommending method and cloud server
US20170220312A1 (en) * 2014-07-24 2017-08-03 Benple Inc. Method for providing communication service among mobile terminals by using nearfield wireless device
CN104333506A (en) * 2014-10-24 2015-02-04 北京兴远永网络科技有限公司 Communication terminal contact method and device
CN105812229A (en) * 2014-12-30 2016-07-27 中国移动通信集团公司 Terminal communication method, system and related device
CN106161186A (en) * 2015-03-31 2016-11-23 Tcl集团股份有限公司 Instant communication method and device
CN106302079A (en) * 2015-05-12 2017-01-04 阿里巴巴集团控股有限公司 Message issuance method in social networks and device
CN105677786A (en) * 2015-12-30 2016-06-15 北京万物花开网络技术有限公司 Instant messaging establishing method and device
CN107104875A (en) * 2016-02-22 2017-08-29 腾讯科技(深圳)有限公司 The method and apparatus that information is pushed
WO2018081966A1 (en) * 2016-11-03 2018-05-11 华为技术有限公司 User association method, terminal and server
CN107302490A (en) * 2017-06-09 2017-10-27 南京跃豚智能科技有限公司 The quick method and system for setting up team's collaboration

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979044A (en) * 2021-08-10 2022-08-30 中移互联网有限公司 Message management method, node and electronic equipment for message platform
CN114979044B (en) * 2021-08-10 2023-10-27 中移互联网有限公司 Message management method, node and electronic equipment for message platform

Also Published As

Publication number Publication date
CN108989181B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
TWI782927B (en) Message prompting method, message display method and related device
CN109844717B (en) System and method for real-time remote control of mobile applications
JP4884205B2 (en) Computer-implemented method, apparatus, and computer-readable memory (system and method for managing instant messaging conversations)
US8762475B2 (en) Simultaneous instant messaging in single window
CN103269303B (en) A kind of group exchange message distribution method and system
CN108494572A (en) Topic group creation method based on group and device
CN101867487B (en) With the system and method for figure call connection symbol management association centre
JP5039949B2 (en) Instant messaging communication method, instant messaging communication device, and machine-readable storage means (instant messaging communication method and device)
CN105553834A (en) Message sending method and device
CN106981015A (en) The implementation method of interactive present
JP2018529148A (en) Group message prompt method and apparatus for instant messaging application
CN103269310B (en) The dissemination method and system of group's exchange of information
US20130097535A1 (en) Interaction method, apparatus and terminal for syncretic communication
CN103269305B (en) Method and system for issuing group exchange of information
CN109962833A (en) The creation method and device of session on instant communication client
CN105227568B (en) A kind of method and device of communication
CN102323873B (en) In order to trigger the method and system that icon is replied in instant messaging
CN103795607A (en) Message processing method, instant messaging client, and instant messaging system
CN112000781B (en) Information processing method and device in user dialogue, electronic equipment and storage medium
CN107682752A (en) Method, apparatus, system, terminal device and the storage medium that video pictures are shown
CN109005107A (en) The means of communication, intelligent terminal and the device with store function
Hasyim et al. Web-based telegram chatbot management system: create chatbot without programming language requirements
CN108989181A (en) Establish the method, apparatus, equipment and server of instant messaging
CN105610698B (en) The treating method and apparatus of event result
CN105450501B (en) The method and device for customizing recovery function is set

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
GR01 Patent grant
GR01 Patent grant