CN110324277A - Connection method, device, storage medium and the electronic device of real time communication - Google Patents

Connection method, device, storage medium and the electronic device of real time communication Download PDF

Info

Publication number
CN110324277A
CN110324277A CN201810267111.7A CN201810267111A CN110324277A CN 110324277 A CN110324277 A CN 110324277A CN 201810267111 A CN201810267111 A CN 201810267111A CN 110324277 A CN110324277 A CN 110324277A
Authority
CN
China
Prior art keywords
communication
account number
request
client
response
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
CN201810267111.7A
Other languages
Chinese (zh)
Other versions
CN110324277B (en
Inventor
王琳琳
张栋
廖卢神
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810267111.7A priority Critical patent/CN110324277B/en
Publication of CN110324277A publication Critical patent/CN110324277A/en
Application granted granted Critical
Publication of CN110324277B publication Critical patent/CN110324277B/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
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1096Supplementary features, e.g. call forwarding or call holding

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of connection method of real time communication, device, storage medium and electronic devices.Wherein, this method comprises: after the first account number for logging in the first client initiates the first communication request to the second account number for logging in the second client, receive the communication termination request of the first account number transmission, wherein, for first communication request for requesting the second account number and the first account number to carry out real time communication, communication termination request terminates the first communication request for requesting;In response to communication termination request, the communication request interface shown in the first client is closed, and continues to test whether receive the communication response that the second account number is sent in response to the first communication request in the first client;In the case where receiving the communication response that the second account number is sent in response to the first communication request, the real time communication between the first account number and the second account number is carried out in the first client.The present invention solves the lower technical problem of joint efficiency of real time communication.

Description

Connection method, device, storage medium and the electronic device of real time communication
Technical field
The present invention relates to the communications fields, in particular to a kind of connection method of real time communication, device, storage medium And electronic device.
Background technique
Real time communication is widely used on the market at present using interior ability, and being must not in present network application product One of the ability that can lack.But in specific usage scenario, " side of answering " just intends to answer when communication application often occurs The case where communication, " initiator " is just hung up, because the instantaneity of call request and both call sides are anti-to the moment of call request Feedback, results in two sides in the case where that can not link up, and can usually occur that real time communication answers result and user intention is completely opposite The case where.This is the itchy points problem that everybody lives through in real time communication scene.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of connection method of real time communication, device, storage medium and electronic devices, so that The lower technical problem of the joint efficiency of real time communication is solved less.
According to an aspect of an embodiment of the present invention, a kind of connection method of real time communication is provided, comprising: logging in the After first account number of one client initiates the first communication request to the second account number for logging in the second client, described first is received The communication termination request that account number is sent, wherein first communication request is for requesting second account number and first account Number real time communication is carried out, the communication termination request terminates first communication request for requesting;Eventually in response to the communication It only requests, closes the communication request interface shown in first client, and continue to test in first client Whether communication response that second account number in response to first communication request send is received;Receiving second account Number in response to first communication request send communication response in the case where, carry out described first in first client The real time communication between account number and second account number.
According to another aspect of an embodiment of the present invention, a kind of attachment device of real time communication is additionally provided, comprising: receive mould Block, for log in the first client the first account number to log in the second client the second account number initiate the first communication request it Afterwards, the communication termination request that first account number is sent is received, wherein first communication request is for requesting second account Number real time communication is carried out with first account number, the communication termination request terminates first communication request for requesting;The One processing module, for closing communication request circle shown in first client in response to the communication termination request Face, and continue to test in first client and whether to receive second account number and sent out in response to first communication request The communication response sent;Communication module, for receive second account number in response to first communication request and send it is logical In the case where letter response, carried out in first client described real-time between first account number and second account number Communication.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, which is characterized in that the storage is situated between Computer program is stored in matter, wherein the computer program is arranged to execute described in any of the above-described when operation Method.
According to another aspect of an embodiment of the present invention, a kind of electronic device, including memory and processor are additionally provided, It is characterized in that, computer program is stored in the memory, and the processor is arranged to hold by the computer program Method described in row any of the above-described.
In embodiments of the present invention, using log in the first client the first account number to log in the second client second After account number initiates the first communication request, the communication termination request that the first account number is sent is received, wherein the first communication request is used for The second account number and the first account number is requested to carry out real time communication, communication termination request terminates the first communication request for requesting;Response In communication termination request, the communication request interface shown in the first client is closed, and is continued to test in the first client Whether communication response that second account number in response to first communication request send is received;The second account number is being received in response to first In the case where the communication response that communication request is sent, carried out in the first client real-time between the first account number and the second account number The mode of communication, the first account number for logging in the first client, which initiates the first communication to the second account number for logging in the second client, asks It asks, after this, receives the communication termination request of the first account number transmission, correspond to the request, close in the first client and show The communication request interface shown, but also continue detecting whether receive the second account number in response to the first communication in the first client The communication response that request is sent carries out the first account number if receiving the communication response of the second account number in the first client With the real time communication between the second account number, the second account number is answered while hanging up the first communication request so as to avoid the first account number The case where causing communication to be not turned on when the first communication request, so that real time communication can satisfy the wish of communicating pair, Significantly more efficient connection to realize the technical effect for improving the joint efficiency of real time communication, and then solves real time communication The lower technical problem of joint efficiency.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of the control method of optional target element according to an embodiment of the present invention;
Fig. 2 is a kind of application environment schematic diagram of the control method of optional target element according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of the control method of optional target element of optional embodiment according to the present invention;
Fig. 4 is the signal of the control method of the optional target element of another kind of optional embodiment according to the present invention Figure;
Fig. 5 is the signal of the control method of the optional target element of another kind of optional embodiment according to the present invention Figure;
Fig. 6 is the signal of the control method of the optional target element of another kind of optional embodiment according to the present invention Figure;
Fig. 7 is a kind of schematic diagram of the control device of optional target element according to an embodiment of the present invention;
Fig. 8 is a kind of application scenarios schematic diagram of the control method of optional target element according to an embodiment of the present invention; And
Fig. 9 is a kind of schematic diagram of optional electronic device according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
According to an aspect of an embodiment of the present invention, a kind of connection method of real time communication is provided, as shown in Figure 1, should Method includes:
S102 initiates the first communication to the second account number for logging in the second client in the first account number for logging in the first client After request, the communication termination request that the first account number is sent is received, wherein the first communication request is for requesting the second account number and the One account number carries out real time communication, and communication termination request terminates the first communication request for requesting;
S104 closes the communication request interface shown in the first client in response to communication termination request, and first It is continued to test in client and whether receives the communication response that the second account number is sent in response to the first communication request;
S106, in the case where receiving the communication response that the second account number is sent in response to the first communication request, first The real time communication between the first account number and the second account number is carried out in client.
Optionally, in the present embodiment, the connection method of above-mentioned real time communication can be applied to terminal as shown in Figure 2 202 and the hardware environment that is constituted of terminal 204 in.As shown in Fig. 2, being equipped with the first client 206, terminal 204 in terminal 202 In be mounted with the second client 208, log in the first client 206 the first account number to log in the second client 208 second After account number initiates the first communication request, the first client 206 receives the communication termination request that the first account number is sent, wherein the For one communication request for requesting the second account number and the first account number to carry out real time communication, communication termination request terminates first for requesting Communication request;First client 206 closes the communication request shown in the first client 206 in response to communication termination request Interface, and continue to test in the first client 206 whether receive the second account number sent in response to the first communication request it is logical Letter response;In the case where receiving the communication response that the second account number is sent in response to the first communication request, in the first client The real time communication between the first account number and the second account number is carried out on 206.
Optionally, in the present embodiment, the connection method of above-mentioned real time communication can be, but not limited to be applied to the first account number It is initiated in the scene that real time communication is requested in the first client to the second client that the second account number is logged in.Wherein, above-mentioned Client can be, but not limited to as various types of applications, for example, online education application, instant messaging application, community space are answered With, game application, shopping application, browser application, financial application, multimedia application, live streaming application etc..Specifically, can with but It is not limited to be applied to the first account number is logged in the first client to the second account number in above-mentioned instant messaging application second Client initiate real time communication request scene in, or can with but be not limited to be applied in above-mentioned game application the first account number It is initiated in the scene that real time communication is requested in the first client to the second client that the second account number is logged in, it is real-time to improve The joint efficiency of communication.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
Optionally, in the present embodiment, real time communication can be, but not limited to include: voice communication, video communication, holographic throwing The communication mode that shadow communication etc. occurs in real time.
It should be noted that in the present embodiment, will be said by taking voice communication as an example to the connection procedure of real time communication Bright and description, similar for the connection procedure of the real time communication under other communication modes, details are not described herein.
Optionally, in the present embodiment, the first communication request is for requesting the second account number to be led in real time with the first account number Letter.Such as: when the request of the first account number carries out voice communication with the second account number, the first account number passes through the voice on triggering chat interface Icon of conversing initiates the first communication request.When the request of first account number carries out video calling with the second account number, the first account number passes through touching The video calling icon sent out on chat interface initiates the first communication request.
In an optional embodiment, by taking real time communication is voice communication as an example, as shown in figure 3, the first client On show chat interface between the first account number and the second account number, the first account number triggers the voice communication figure in chat interface Mark, the first client initiates the first communication request to the second client, at this point, showing voice communication in the first client Communication request interface, for prompting the first account number waiting response of second account number to real time communication, on a second client Voice communication request interface is shown, for prompting the second account number to have the voice communication request between the first account number, the second account It number can indicate to receive voice communication request by the connection icon on trigger request interface, or can be asked by triggering It asks and hangs up icon on interface to indicate to refuse voice communication request.
Optionally, in the present embodiment, communication termination request terminates above-mentioned first communication request for requesting.Such as: the One account number can be after initiating the first communication request by triggering the end on the communication request interface shown in the first client Only icon will be responsive to the communication termination request to communication termination request, the first client is sent, and close in the first client The communication request interface of upper display, but continue to test whether receive the second account number in response to the first communication in the first client Request the communication response sent.
Optionally, in the present embodiment, it is continued to test in the first client and whether receives the second account number in response to The process for the communication response that one communication request is sent can be carried out by the first client on backstage, be closed in the first client Behind the communication request interface shown on front end, the front end of the first client can still carry out other operations, can't be by backstage The influence of the detection process of operation.
In above-mentioned optional embodiment, asked as shown in figure 4, the first client initiates the first communication to the second client After asking, the communication request interface of voice communication is shown in the first client, the first account number can be by triggering on the interface The termination icon of display sends communication termination request, in response to the communication termination request, shows closing in the first client Above-mentioned communication request interface, and continue to test on the backstage of the first client whether to receive the second account number logical in response to first The communication response that letter request is sent, at this time can be by showing a prompt in the status bar of terminal device where the first client Notify that the first account number can be somebody's turn to do by deleting to prompt the above-mentioned detection process of the first account number still in the running background of the first client Prompt notice triggers the mode of finish icon etc. in prompt notice to terminate the detection of the first client background Journey.
As it can be seen that through the above steps, logging in the first account number of the first client to the second account number of the second client of login The first communication request is initiated, after this, the communication termination request of the first account number transmission is received, corresponds to the request, close The communication request interface shown in first client, but also continue detecting whether receive the second account number in the first client In response to the communication response that the first communication request is sent, if receiving the communication response of the second account number, in the first client The upper real time communication carried out between the first account number and the second account number, hangs up the same of the first communication request so as to avoid the first account number When the second account number the case where causing when answering the first communication request communication to be not turned on so that real time communication can satisfy it is logical Believe the wish of both sides, significantly more efficient connection, to realize the technical effect for improving the joint efficiency of real time communication, and then solves The lower technical problem of the joint efficiency for real time communication of having determined.
As a kind of optional scheme, is continued to test in the first client and whether receive the second account number in response to first Communication request send communication response include:
S1 is continued to test in the first client and whether is received the second account number in the first predetermined amount of time in response to The communication response that one communication request is sent;
Wherein, the communication response that the second account number is sent in response to the first communication request is received in the first predetermined amount of time In the case where, the real time communication between the first account number and the second account number is carried out in the first client.
Optionally, in the present embodiment, it continues to test in the first client and whether is received in the first predetermined amount of time After the communication response sent to the second account number in response to the first communication request, if do not received in the first predetermined amount of time The communication response that second account number is sent in response to the first communication request stops detecting whether to receive second in the first client The communication response that account number is sent in response to the first communication request.
Optionally, in the present embodiment, the first predetermined amount of time can be preset, the transmission of the first account number is being received Start to continue to test in the first client when communication termination request and whether receives the second account number in response to the first communication request The communication response of transmission, and timing is started simultaneously at, if having received the second account number in the first predetermined amount of time in response to The communication response that one communication request is sent then carries out in the first client real-time logical between the first account number and the second account number Letter stops detecting the logical of the second account number transmission if the time has been more than that the first predetermined amount of time does not receive communication response yet Letter response, this communication request will also terminate at this time.
As a kind of optional scheme, the real time communication between the first account number and the second account number is carried out in the first client Include:
S1 carries out voice communication or video communication between the first account number and the second account number in the first client.
Optionally, in the present embodiment, real time communication can be, but not limited to include voice communication or video communication.It needs Bright, the present embodiment is not construed as limiting the form of real time communication, and the communication mode of any type of real-time perfoming should all be fallen into In the protection scope of the application.
As a kind of optional scheme, is continued to test in the first client and whether receive the second account number in response to first Communication request send communication response include:
S1, obtain from the first account number initiate the first communication request to receive the first account number send communication termination request it Between request time;
Whether S2 continues to test in the first client and receives in the case where request time was more than the first predetermined time The communication response sent to the second account number in response to the first communication request.
Optionally, in the present embodiment, from the first account number initiate the first communication request to receive the first account number send Time between communication termination request is request time, if the request time is too short, it is believed that is the mistake behaviour of the first account number Make, it may be possible to accidentally touch the icon of the first communication request of triggering using the user of the first account number, or use first The user of account number changes the idea for initiating real time communication after triggering the first communication request, therefore triggers again in a short time The icon of communication termination request.In this case, the available above-mentioned request time of the first client, and when the determining request Between whether be more than the first predetermined time, if it is, continue to test the communication response of the second account number, if be less than, table Show that this time request may be maloperation, the first client will not continue to the communication response of the second account number of detection.
It is also wrapped as a kind of optional scheme in the case where not receiving the communication termination request of the first account number transmission It includes:
S1, the first account number of detection initiate the duration after the first communication request;
S2 terminates the first communication request in the case where the duration being more than the second predetermined time;
S3 receives the second account number in the second predetermined amount of time after the first communication request and sends to the first account number terminating The second communication request in the case where, the real time communication between the first account number and the second account number is carried out in the first client, In, the second communication request is for requesting the first account number and the second account number to carry out real time communication.
Optionally, in the present embodiment, if logging in the first account number of the first client to logging in the of the second client After two account numbers initiate the first communication request, the communication termination request of the first account number transmission is not received, and the first client can be with After certain duration, the first communication request of active termination.But if being communicated in the first client active termination first The second account number has sent the second communication request to the first account number in certain period of time after request, is carried out with request and the first account number The requested real time communication of first communication request, then the first client can directly connect the real time communication.
As a kind of optional scheme, the real time communication between the first account number and the second account number is carried out in the first client Including following one:
S1, shows corresponding first communication interface of real time communication in the first client, and sends the to the first client One prompt information, wherein the first prompt information is used to indicate the first account number real time communication and has been turned on;
S2 shows the second prompt information in the first client, wherein the second prompt information is used to indicate the choosing of the first account number The operation executed to real time communication is selected, operation includes: to answer to operate and hang up operation;The first account number is being received in response to second Prompt information performs real time communication answer operation in the case where, real time communication corresponding second is shown in the first client Communication interface.
Optionally, in the present embodiment, it can be, but not limited to carry out by one of following two mode in the first client Real time communication between first account number and the second account number:
Mode one, the first client directly connect above-mentioned real time communication, show that real time communication is corresponding in the first client The first communication interface, and send the first prompt information to the first client and remind the first account number real time communication to have been turned on.It should First prompt information can be, but not limited to be the modes such as vibration, the tinkle of bells.
Mode two, the first client can show the second prompt information on the screen, selected to connect by the first account number and are somebody's turn to do Real time communication still refuses the real time communication, if real time communication is connected in the selection of the first account number, shows in the first client Corresponding second communication interface of real time communication.
A kind of connection procedure of real time communication is described below with an optional embodiment, it should be noted that this mistake Journey is only that by a kind of example of the connection method of the real time communication provided in the present embodiment, and the present embodiment is above-mentioned to realizing The mode of the connection method of real time communication is not construed as limiting.
In this optional embodiment, as shown in figure 5, user's first initiates the voice conversation Shen with user's second to client Please (such as: voice communication icon is clicked on the session interface with user's second shown on the client, and it is logical to be equivalent to above-mentioned first Letter request), client shows the interactive interface in call application in front end, and the backstage of client detects the language that user's first is initiated Sound call application, establishes connection with local gateway A, and sends call request to request to establish call connection, gateway A with user's second The account number code of callee user's second is obtained, and is carried in the request access authentication of user message sent to unloading server (ARQ) in, certification is passed through into authorization messages (ACF) after ARQ message of the unloading server reception from gateway A and returns to gateway A, Gateway A initiates setup requests, the client of called subscriber's second to the gateway B of user's second in unloading server by the authorization Hold ring.Unloading server calls this and carries out timing.In timing course, user's first initiation closing call application (such as: Show on the client wait with user's second call clicks the icon for terminating call request on interface, be equivalent to above-mentioned communication Terminate request), after client receives closing call application, call application interactive interface is closed in client front-end interface, Client background obtains ring duration, and judges whether the duration is greater than 5s, if duration is not more than 5s, client background will stop The ring of the call request only initiated gateway A, user's second stops.If duration is greater than 5 seconds, prolonging of setting in client is triggered Slow mechanism continues to send call request to gateway A, for 5 seconds, if user's second does not answer call, client yet after 5 seconds The ring of the call request that backstage initiates gateway A stopping, user's second stops.It takes on the telephone if user's second is inscribed at 5 seconds, The receiving talking page is jumped to automatically in the client front end of user's first, and can initiate the prompts such as vibration the tinkle of bells, user second visitor Family end backstage passes through gateway B and sends link message to unloading server, and unloading server carries out link calling, connecting subscribers participating first with The voice communication of user's second.
Optionally, in this optional embodiment, as shown in fig. 6, in above-mentioned gateway A by authorization in unloading server The interior gateway B to user's second initiates setup requests, called subscriber's second ring.The client background of user's first is to this calling After carrying out timing, client background stops the setup requests initiating gateway B after timing time-out, user's second The ring of client stops, and unloading server sends instruction instruction backstage to the client background of user's first after 5 seconds and deletes this The database script of secondary calling.But if user's second initiated call application, the client background of user's second to user's first in 5 seconds It is sent back by triggering clawback script to unloading server and dials access authentication message, the unloading server authentication clawback script is simultaneously built Vertical calling connection, the voice communication of connecting subscribers participating first client and user's second client, user first client front end and user's second Client front end shows call interface and ringring prompting.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Other side according to an embodiment of the present invention additionally provides a kind of for implementing the connection side of above-mentioned real time communication The attachment device of the real time communication of method, as shown in fig. 7, the device includes:
1) receiving module 72, for the second account number in the first account number for logging in the first client to the second client of login After initiating the first communication request, the communication termination request that the first account number is sent is received, wherein the first communication request is for requesting Second account number and the first account number carry out real time communication, and communication termination request terminates the first communication request for requesting;
2) first processing module 74, for closing the communication shown in the first client in response to communication termination request Interface is requested, and is continued to test in the first client and whether to be received the second account number and lead in response to what the first communication request was sent Letter response;
3) communication module 76, in the feelings for receiving the communication response that the second account number is sent in response to the first communication request Under condition, the real time communication between the first account number and the second account number is carried out in the first client.
Optionally, in the present embodiment, the attachment device of above-mentioned real time communication can be applied to terminal as shown in Figure 2 202 and the hardware environment that is constituted of terminal 204 in.As shown in Fig. 2, being equipped with the first client 206, terminal 204 in terminal 202 In be mounted with the second client 208, log in the first client 206 the first account number to log in the second client 208 second After account number initiates the first communication request, the first client 206 receives the communication termination request that the first account number is sent, wherein the For one communication request for requesting the second account number and the first account number to carry out real time communication, communication termination request terminates first for requesting Communication request;First client 206 closes the communication request shown in the first client 206 in response to communication termination request Interface, and continue to test in the first client 206 whether receive the second account number sent in response to the first communication request it is logical Letter response;In the case where receiving the communication response that the second account number is sent in response to the first communication request, in the first client The real time communication between the first account number and the second account number is carried out on 206.
Optionally, in the present embodiment, the attachment device of above-mentioned real time communication can be, but not limited to be applied to the first account number It is initiated in the scene that real time communication is requested in the first client to the second client that the second account number is logged in.Wherein, above-mentioned Client can be, but not limited to as various types of applications, for example, online education application, instant messaging application, community space are answered With, game application, shopping application, browser application, financial application, multimedia application, live streaming application etc..Specifically, can with but It is not limited to be applied to the first account number is logged in the first client to the second account number in above-mentioned instant messaging application second Client initiate real time communication request scene in, or can with but be not limited to be applied in above-mentioned game application the first account number It is initiated in the scene that real time communication is requested in the first client to the second client that the second account number is logged in, it is real-time to improve The joint efficiency of communication.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
Optionally, in the present embodiment, real time communication can be, but not limited to include: voice communication, video communication, holographic throwing The communication mode that shadow communication etc. occurs in real time.
It should be noted that in the present embodiment, will be said by taking voice communication as an example to the connection procedure of real time communication Bright and description, similar for the connection procedure of the real time communication under other communication modes, details are not described herein.
Optionally, in the present embodiment, the first communication request is for requesting the second account number to be led in real time with the first account number Letter.Such as: when the request of the first account number carries out voice communication with the second account number, the first account number passes through the voice on triggering chat interface Icon of conversing initiates the first communication request.When the request of first account number carries out video calling with the second account number, the first account number passes through touching The video calling icon sent out on chat interface initiates the first communication request.
In an optional embodiment, by taking real time communication is voice communication as an example, as shown in figure 3, the first client On show chat interface between the first account number and the second account number, the first account number triggers the voice communication figure in chat interface Mark, the first client initiates the first communication request to the second client, at this point, showing voice communication in the first client Communication request interface, for prompting the first account number waiting response of second account number to real time communication, on a second client Voice communication request interface is shown, for prompting the second account number to have the voice communication request between the first account number, the second account It number can indicate to receive voice communication request by the connection icon on trigger request interface, or can be asked by triggering It asks and hangs up icon on interface to indicate to refuse voice communication request.
Optionally, in the present embodiment, communication termination request terminates above-mentioned first communication request for requesting.Such as: the One account number can be after initiating the first communication request by triggering the end on the communication request interface shown in the first client Only icon will be responsive to the communication termination request to communication termination request, the first client is sent, and close in the first client The communication request interface of upper display, but continue to test whether receive the second account number in response to the first communication in the first client Request the communication response sent.
Optionally, in the present embodiment, it is continued to test in the first client and whether receives the second account number in response to The process for the communication response that one communication request is sent can be carried out by the first client on backstage, be closed in the first client Behind the communication request interface shown on front end, the front end of the first client can still carry out other operations, can't be by backstage The influence of the detection process of operation.
In above-mentioned optional embodiment, asked as shown in figure 4, the first client initiates the first communication to the second client After asking, the communication request interface of voice communication is shown in the first client, the first account number can be by triggering on the interface The termination icon of display sends communication termination request, in response to the communication termination request, shows closing in the first client Above-mentioned communication request interface, and continue to test on the backstage of the first client whether to receive the second account number logical in response to first The communication response that letter request is sent, at this time can be by showing a prompt in the status bar of terminal device where the first client Notify that the first account number can be somebody's turn to do by deleting to prompt the above-mentioned detection process of the first account number still in the running background of the first client Prompt notice triggers the mode of finish icon etc. in prompt notice to terminate the detection of the first client background Journey.
As it can be seen that logging in the first account number of the first client to the second account number of the second client of login by above-mentioned apparatus The first communication request is initiated, after this, the communication termination request of the first account number transmission is received, corresponds to the request, close The communication request interface shown in first client, but also continue detecting whether receive the second account number in the first client In response to the communication response that the first communication request is sent, if receiving the communication response of the second account number, in the first client The upper real time communication carried out between the first account number and the second account number, hangs up the same of the first communication request so as to avoid the first account number When the second account number the case where causing when answering the first communication request communication to be not turned on so that real time communication can satisfy it is logical Believe the wish of both sides, significantly more efficient connection, to realize the technical effect for improving the joint efficiency of real time communication, and then solves The lower technical problem of the joint efficiency for real time communication of having determined.
As a kind of optional scheme, first processing module includes:
1) whether first detection unit receives in the first predetermined amount of time for continuing to test in the first client The communication response that second account number is sent in response to the first communication request;
Wherein, communication module is used for: the second account number is received in the first predetermined amount of time in response to the first communication request In the case where the communication response of transmission, the real time communication between the first account number and the second account number is carried out in the first client.
Optionally, in the present embodiment, above-mentioned apparatus further include: Second processing module is used within a predetermined period of time not In the case where receiving the communication response that the second account number is sent in response to the first communication request, stop detection in the first client Whether communication response that second account number in response to first communication request send is received.
Optionally, in the present embodiment, the first predetermined amount of time can be preset, the transmission of the first account number is being received Start to continue to test in the first client when communication termination request and whether receives the second account number in response to the first communication request The communication response of transmission, and timing is started simultaneously at, if having received the second account number in the first predetermined amount of time in response to The communication response that one communication request is sent then carries out in the first client real-time logical between the first account number and the second account number Letter stops detecting the logical of the second account number transmission if the time has been more than that the first predetermined amount of time does not receive communication response yet Letter response, this communication request will also terminate at this time.
As a kind of optional scheme, communication module includes:
1) communication unit, for carrying out voice communication or view between the first account number and the second account number in the first client Frequency communicates.
Optionally, in the present embodiment, real time communication can be, but not limited to include voice communication or video communication.It needs Bright, the present embodiment is not construed as limiting the form of real time communication, and the communication mode of any type of real-time perfoming should all be fallen into In the protection scope of the application.
As a kind of optional scheme, first processing module includes:
1) acquiring unit, for obtain from the first account number initiate the first communication request to receive the first account number send it is logical Letter terminates the request time between request;
2) second detection unit is used in the case where request time was more than the first predetermined time, in the first client It continues to test and whether receives the communication response that the second account number is sent in response to the first communication request.
Optionally, in the present embodiment, from the first account number initiate the first communication request to receive the first account number send Time between communication termination request is request time, if the request time is too short, it is believed that is the mistake behaviour of the first account number Make, it may be possible to accidentally touch the icon of the first communication request of triggering using the user of the first account number, or use first The user of account number changes the idea for initiating real time communication after triggering the first communication request, therefore triggers again in a short time The icon of communication termination request.In this case, the available above-mentioned request time of the first client, and when the determining request Between whether be more than the first predetermined time, if it is, continue to test the communication response of the second account number, if be less than, table Show that this time request may be maloperation, the first client will not continue to the communication response of the second account number of detection.
It is above-mentioned in the case where not receiving the communication termination request of the first account number transmission as a kind of optional scheme Device further include:
1) detection module, for detecting the duration after the first account number initiates the first communication request;
2) module is terminated, for terminating the first communication request in the case where the duration being more than the second predetermined time;
3) communication module is also used to receive the second account number terminating in the second predetermined amount of time after the first communication request In the case where the second communication request sent to the first account number, carried out between the first account number and the second account number in the first client Real time communication, wherein the second communication request is for requesting the first account number and the second account number to carry out real time communication.
Optionally, in the present embodiment, if logging in the first account number of the first client to logging in the of the second client After two account numbers initiate the first communication request, the communication termination request of the first account number transmission is not received, and the first client can be with After certain duration, the first communication request of active termination.But if being communicated in the first client active termination first The second account number has sent the second communication request to the first account number in certain period of time after request, is carried out with request and the first account number The requested real time communication of first communication request, then the first client can directly connect the real time communication.
As a kind of optional scheme, communication module includes following one:
1) first processing units, for showing corresponding first communication interface of real time communication in the first client, and to First client sends the first prompt information, wherein the first prompt information is used to indicate the first account number real time communication and has been turned on;
2) the second processing unit, for showing the second prompt information in the first client, wherein the second prompt information is used In the operation for indicating that the selection of the first account number executes real time communication, operation includes: to answer to operate and hang up operation;Receiving One account number performs real time communication in response to the second prompt information answer operation in the case where, shown in the first client real Corresponding second communication interface of Shi Tongxin.
Optionally, in the present embodiment, it can be, but not limited to carry out by one of following two mode in the first client Real time communication between first account number and the second account number:
Mode one, the first client directly connect above-mentioned real time communication, show that real time communication is corresponding in the first client The first communication interface, and send the first prompt information to the first client and remind the first account number real time communication to have been turned on.It should First prompt information can be, but not limited to be the modes such as vibration, the tinkle of bells.
Mode two, the first client can show the second prompt information on the screen, selected to connect by the first account number and are somebody's turn to do Real time communication still refuses the real time communication, if real time communication is connected in the selection of the first account number, shows in the first client Corresponding second communication interface of real time communication.
A kind of connection procedure of real time communication is described below with an optional embodiment, it should be noted that this mistake Journey is only that by a kind of example of the connection method of the real time communication provided in the present embodiment, and the present embodiment is above-mentioned to realizing The mode of the connection method of real time communication is not construed as limiting.
In this optional embodiment, as shown in figure 5, user's first initiates the voice conversation Shen with user's second to client Please (such as: voice communication icon is clicked on the session interface with user's second shown on the client, and it is logical to be equivalent to above-mentioned first Letter request), client shows the interactive interface in call application in front end, and the backstage of client detects the language that user's first is initiated Sound call application, establishes connection with local gateway A, and sends call request to request to establish call connection, gateway A with user's second The account number code of callee user's second is obtained, and is carried in the request access authentication of user message sent to unloading server (ARQ) in, certification is passed through into authorization messages (ACF) after ARQ message of the unloading server reception from gateway A and returns to gateway A, Gateway A initiates setup requests, the client of called subscriber's second to the gateway B of user's second in unloading server by the authorization Hold ring.Unloading server calls this and carries out timing.In timing course, user's first initiation closing call application (such as: Show on the client wait with user's second call clicks the icon for terminating call request on interface, be equivalent to above-mentioned communication Terminate request), after client receives closing call application, call application interactive interface is closed in client front-end interface, Client background obtains ring duration, and judges whether the duration is greater than 5s, if duration is not more than 5s, client background will stop The ring of the call request only initiated gateway A, user's second stops.If duration is greater than 5 seconds, prolonging of setting in client is triggered Slow mechanism continues to send call request to gateway A, for 5 seconds, if user's second does not answer call, client yet after 5 seconds The ring of the call request that backstage initiates gateway A stopping, user's second stops.It takes on the telephone if user's second is inscribed at 5 seconds, The receiving talking page is jumped to automatically in the client front end of user's first, and can initiate the prompts such as vibration the tinkle of bells, user second visitor Family end backstage passes through gateway B and sends link message to unloading server, and unloading server carries out link calling, connecting subscribers participating first with The voice communication of user's second
Optionally, in this optional embodiment, as shown in fig. 6, in above-mentioned gateway A by authorization in unloading server The interior gateway B to user's second initiates setup requests, called subscriber's second ring.The client background of user's first is to this calling After carrying out timing, client background stops the setup requests initiating gateway B after timing time-out, user's second The ring of client stops, and unloading server sends instruction instruction backstage to the client background of user's first after 5 seconds and deletes this The database script of secondary calling.But if user's second initiated call application, the client background of user's second to user's first in 5 seconds It is sent back by triggering clawback script to unloading server and dials access authentication message, the unloading server authentication clawback script is simultaneously built Vertical calling connection, the voice communication of connecting subscribers participating first client and user's second client, user first client front end and user's second Client front end shows call interface and ringring prompting.
The application environment of the embodiment of the present invention can be, but not limited to referring to the application environment in above-described embodiment, the present embodiment In this is repeated no more.The embodiment of the invention provides the optional tools of one kind of the connection method for implementing above-mentioned real time communication Body application example.
As a kind of optional embodiment, the connection method of above-mentioned real time communication can be, but not limited to be applied to such as Fig. 8 institute In the scene of the connection for the real time communication shown.In this scene, by taking real time communication is voice communication as an example.The present embodiment is intended to excellent The processing logic for changing the immediate feedback in the call scenario of voice communication, when hanging up voice communication application by the first account number, Shen " vacation is hung up " mode for please maintaining operation a period of time from the background, makes side's of answering (the second account number) have the of short duration relaxation time to answer logical Words, if the side of answering during this period of time receives call application, initiator's (the first account number) call auto-pickup simultaneously returns to foreground. The situation that voice answers failure caused by preventing due to time coincidence occurs.
Optionally, in the present embodiment, whether the voice request that can first determine whether the first account number is maloperation: if the One account number is initiated to hang up the telephone in voice application X seconds, then may determine that for call application be maloperation.
Optionally, in the present embodiment, the first account number hang up after voice communication application by the backstage of the first client into The buffering of row application: when initiator closes voice request, voice request retreats to the backstage of client and maintains call request, continues Y seconds.If in Y seconds, the side of answering receives voice request, initiator's call will return foreground again and wake up screen and answer voice.
Optionally, in the present embodiment, can also judge whether call is to automatically hang up, and timeliness is automatic if system is arrival Kill-call request, is judged as that system is hung up, voice application is hung up immediately, no buffering duration.If automatically hanging up in Z seconds, answer Side's clawback call application, by auto-pickup and jumps to foreground in the initiator call.
As shown in figure 8, " user's first " uses the second account in the first client using the first account number in the second client Number " user's second " initiate call application (being equivalent to above-mentioned first communication request).If " user's first " hangs up the telephone in X seconds, It is judged as call application maloperation, instant kill-call application.If " user's first " hangs up the telephone manually after X seconds, enter " vacation is hung up " mode, the front-end interface of the first client show that phone is hung up, and call application is closed after continuing to run Y seconds from the background Call application.Within Y seconds duration, because call application is still run in first client background of " user's first ", Receiving talking side's " user's second " still persistently received call application within Y seconds time.If " user's second " is not answered logical in Y seconds Words, call application are closed immediately.If " user's second " answers call in Y seconds, this time call application is connected, the first of " user's first " Client answers call, while call function jumps foreground (front end is consistent with normal speech call interaction).If call application More than limiting time, system will automatically hang up call.It is determined as that system is hung up at this time, call application is hung up immediately does not enter backstage Operation.System will record current point in time, if " user's second " calls back in Z seconds, first client of " user's first " will be certainly It is dynamic to answer call, while the tinkle of bells vibration prompting.If " user's first " has re-initiated call application before clawback, the of " user's second " Two clients will be prompted to " user's first " just in voice communication.
Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing the connection of above-mentioned real time communication Electronic device, as shown in figure 9, the electronic device includes: one or more (only showing one in figure) processor 902, memory 904, sensor 906, encoder 908 and transmitting device 910 are stored with computer program in the memory, the processor quilt It is set as executing the step in any of the above-described embodiment of the method by computer program.
Optionally, in the present embodiment, above-mentioned electronic device can be located in multiple network equipments of computer network At least one network equipment.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 initiates the first communication to the second account number for logging in the second client in the first account number for logging in the first client and asks After asking, the communication termination request that the first account number is sent is received, wherein the first communication request is for requesting the second account number and first Account number carries out real time communication, and communication termination request terminates the first communication request for requesting;
S2 closes the communication request interface shown in the first client in response to communication termination request, and in the first visitor It is continued to test on the end of family and whether receives the communication response that the second account number is sent in response to the first communication request;
S3, in the case where receiving the communication response that the second account number is sent in response to the first communication request, in the first visitor The real time communication between the first account number and the second account number is carried out on the end of family.
Optionally, it will appreciated by the skilled person that structure shown in Fig. 9 is only to illustrate, electronic device can also To be smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device The terminal devices such as (Mobile Internet Devices, MID), PAD.Fig. 9 it does not cause to the structure of above-mentioned electronic device It limits.For example, electronic device may also include more or less component (such as network interface, display device than shown in Fig. 9 Deng), or with the configuration different from shown in Fig. 9.
Wherein, memory 902 can be used for storing software program and module, such as the real time communication in the embodiment of the present invention Connection method and the corresponding program instruction/module of device, the software journey that processor 904 is stored in memory 902 by operation Sequence and module realize the control method of above-mentioned target element thereby executing various function application and data processing.It deposits Reservoir 902 may include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage fills It sets, flash memory or other non-volatile solid state memories.In some instances, memory 902 can further comprise relative to place The remotely located memory of device 904 is managed, these remote memories can pass through network connection to terminal.The example packet of above-mentioned network Include but be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 910 is used to that data to be received or sent via a network.Above-mentioned network specific example It may include cable network and wireless network.In an example, transmitting device 910 includes a network adapter (Network Interface Controller, NIC), can be connected by cable with other network equipments with router so as to interconnection Net or local area network are communicated.In an example, transmitting device 910 is radio frequency (Radio Frequency, RF) module, For wirelessly being communicated with internet.
Wherein, specifically, memory 902 is for storing application program.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1 initiates the first communication to the second account number for logging in the second client in the first account number for logging in the first client and asks After asking, the communication termination request that the first account number is sent is received, wherein the first communication request is for requesting the second account number and first Account number carries out real time communication, and communication termination request terminates the first communication request for requesting;
S2 closes the communication request interface shown in the first client in response to communication termination request, and in the first visitor It is continued to test on the end of family and whether receives the communication response that the second account number is sent in response to the first communication request;
S3, in the case where receiving the communication response that the second account number is sent in response to the first communication request, in the first visitor The real time communication between the first account number and the second account number is carried out on the end of family.
Optionally, storage medium is also configured to store for executing step included in the method in above-described embodiment Computer program, this is repeated no more in the present embodiment.
Optionally, in the present embodiment, those of ordinary skill in the art will appreciate that in the various methods of above-described embodiment All or part of the steps be that the relevant hardware of terminal device can be instructed to complete by program, the program can store in In one computer readable storage medium, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of connection method of real time communication characterized by comprising
After the first account number for logging in the first client initiates the first communication request to the second account number for logging in the second client, Receive the communication termination request that first account number is sent, wherein first communication request is for requesting second account number Real time communication is carried out with first account number, the communication termination request terminates first communication request for requesting;
In response to the communication termination request, the communication request interface shown in first client is closed, and described It is continued to test in first client and whether receives the communication sound that second account number is sent in response to first communication request It answers;
In the case where receiving the communication response that second account number is sent in response to first communication request, described The real time communication between first account number and second account number is carried out in one client.
2. the method according to claim 1, wherein
It is continued to test in first client and whether receives second account number and sent out in response to first communication request The communication response sent includes: to continue to test whether to receive described in the first predetermined amount of time in first client The communication response that two account numbers are sent in response to first communication request;Wherein, it is received in first predetermined amount of time It is enterprising in first client in the case where the communication response that second account number is sent in response to first communication request The real time communication between row first account number and second account number;
It is continued to test in first client and whether receives the second account number sound in first predetermined amount of time After the communication response that first communication request described in Ying Yu is sent, the method also includes: in first predetermined amount of time In the case where not receiving the communication response that second account number is sent in response to first communication request, in first visitor Stop detecting whether to receive the communication response that second account number is sent in response to first communication request on the end of family.
3. whether being received the method according to claim 1, wherein being continued to test in first client The communication response that second account number is sent in response to first communication request includes:
It obtains from first account number and initiates first communication request to the communication for receiving the first account number transmission Terminate the request time between request;
In the case where the request time was more than the first predetermined time, continues to test and whether receive in first client The communication response sent to second account number in response to first communication request.
4. the method according to claim 1, wherein in the communication for not receiving the first account number transmission In the case where terminating request, the method also includes:
It detects first account number and initiates duration after first communication request;
In the case where the duration being more than the second predetermined time, first communication request is terminated;
Second account number is received to first account terminating in the second predetermined amount of time after first communication request Number send the second communication request in the case where, first account number and second account number are carried out in first client Between the real time communication, wherein second communication request for request first account number and second account number into The row real time communication.
5. method according to claim 1 to 4, which is characterized in that carry out institute in first client The real time communication stated between the first account number and second account number includes following one:
Corresponding first communication interface of the real time communication is shown in first client, and is sent out to first client Send the first prompt information, wherein first prompt information is used to indicate real time communication described in first account number and has been turned on;
The second prompt information is shown in first client, wherein second prompt information is used to indicate described first Account number selects the operation executed to the real time communication, and the operation includes: to answer to operate and hang up operation;It is described receiving First account number in response to second prompt information to the real time communication perform it is described answer operation in the case where, described Corresponding second communication interface of the real time communication is shown in first client.
6. a kind of attachment device of real time communication characterized by comprising
Receiving module, for initiating first to the second account number for logging in the second client in the first account number for logging in the first client After communication request, the communication termination request that first account number is sent is received, wherein first communication request is for requesting Second account number and first account number carry out real time communication, and the communication termination request is logical for requesting termination described first Letter request;
First processing module, for closing the communication shown in first client in response to the communication termination request Interface is requested, and continues to test whether receive second account number in response to first communication in first client Request the communication response sent;
Communication module, in the feelings for receiving the communication response that second account number is sent in response to first communication request Under condition, the real time communication between first account number and second account number is carried out in first client.
7. device according to claim 6, which is characterized in that
The first processing module includes: first detection unit, pre- first for continuing to test in first client Whether communication response that second account number in response to first communication request send is received in section of fixing time;Wherein, institute It states communication module to be used for: receiving second account number in first predetermined amount of time in response to first communication request In the case where the communication response of transmission, carried out in first client between first account number and second account number The real time communication;
Described device further include: Second processing module is rung for not receiving second account number in the predetermined amount of time In the case where the communication response that first communication request described in Ying Yu is sent, stop detecting whether to receive in first client The communication response sent to second account number in response to first communication request.
8. device according to claim 6, which is characterized in that in the communication for not receiving the first account number transmission In the case where terminating request, described device further include:
Detection module, for detecting the duration after first account number initiates first communication request;
Module is terminated, for terminating first communication request in the case where the duration being more than the second predetermined time;
The communication module is also used to receive described the in the second predetermined amount of time after first communication request terminating In the case where the second communication request that two account numbers are sent to first account number, described first is carried out in first client The real time communication between account number and second account number, wherein second communication request is for requesting first account Number the real time communication is carried out with second account number.
9. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to execute method described in any one of claim 1 to 5 when operation.
10. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to execute side described in any one of claim 1 to 5 by the computer program Method.
CN201810267111.7A 2018-03-28 2018-03-28 Connection method and device for real-time communication, storage medium and electronic device Active CN110324277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810267111.7A CN110324277B (en) 2018-03-28 2018-03-28 Connection method and device for real-time communication, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810267111.7A CN110324277B (en) 2018-03-28 2018-03-28 Connection method and device for real-time communication, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN110324277A true CN110324277A (en) 2019-10-11
CN110324277B CN110324277B (en) 2021-11-05

Family

ID=68110378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810267111.7A Active CN110324277B (en) 2018-03-28 2018-03-28 Connection method and device for real-time communication, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN110324277B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112040232A (en) * 2020-11-04 2020-12-04 北京金山云网络技术有限公司 Real-time communication transmission method and device and real-time communication processing method and device

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143472A1 (en) * 2005-12-21 2007-06-21 International Business Machines Corporation Method for improving the efficiency and effectiveness of instant messaging based on monitoring user activity
CN101188641A (en) * 2007-07-06 2008-05-28 深圳市慧思博通信科技有限公司 A communication method and system based on call leakage detection
CN102158912A (en) * 2010-02-12 2011-08-17 瑞昱半导体股份有限公司 Channel remaining device and method thereof applied to wireless network
CN103685794A (en) * 2013-12-26 2014-03-26 广州华多网络科技有限公司 Network telephone connection method and system
CN103856596A (en) * 2012-11-28 2014-06-11 腾讯科技(深圳)有限公司 Conversation method, device and terminal
CN104023134A (en) * 2014-06-05 2014-09-03 广州三星通信技术研究有限公司 Equipment and method of responding incoming call request in communication terminal
CN105072019A (en) * 2015-07-24 2015-11-18 北京元心科技有限公司 Processing method and processing system for instant communication messages
CN105120525A (en) * 2015-07-21 2015-12-02 美国掌赢信息科技有限公司 Method for establishing communication connection and electronic device
CN105120524A (en) * 2015-07-21 2015-12-02 美国掌赢信息科技有限公司 Method for establishing communication connection and electronic device
CN106231089A (en) * 2016-07-27 2016-12-14 北京小米移动软件有限公司 Call optimization method and device
CN106302083A (en) * 2015-05-14 2017-01-04 阿里巴巴集团控股有限公司 Instant communication method and server
CN106535147A (en) * 2016-10-31 2017-03-22 北京小米移动软件有限公司 Communication signal processing method and apparatus
CN107040751A (en) * 2016-02-04 2017-08-11 统专利有限责任两合公司 Control the method for real-time conferencing session, computer is performed this method computer program product and associated communication system
CN107135146A (en) * 2017-04-27 2017-09-05 腾讯科技(深圳)有限公司 The display methods and device of information
CN107172719A (en) * 2017-06-27 2017-09-15 青岛海信移动通信技术股份有限公司 The method for setting up communication connection
CN107333006A (en) * 2017-07-30 2017-11-07 深圳有麦科技有限公司 Call and the method and its system hung up are realized based on application program
CN107528768A (en) * 2016-08-31 2017-12-29 腾讯科技(深圳)有限公司 Message prompt method and device

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143472A1 (en) * 2005-12-21 2007-06-21 International Business Machines Corporation Method for improving the efficiency and effectiveness of instant messaging based on monitoring user activity
CN101188641A (en) * 2007-07-06 2008-05-28 深圳市慧思博通信科技有限公司 A communication method and system based on call leakage detection
CN102158912A (en) * 2010-02-12 2011-08-17 瑞昱半导体股份有限公司 Channel remaining device and method thereof applied to wireless network
CN103856596A (en) * 2012-11-28 2014-06-11 腾讯科技(深圳)有限公司 Conversation method, device and terminal
CN103685794A (en) * 2013-12-26 2014-03-26 广州华多网络科技有限公司 Network telephone connection method and system
CN104023134A (en) * 2014-06-05 2014-09-03 广州三星通信技术研究有限公司 Equipment and method of responding incoming call request in communication terminal
CN106302083A (en) * 2015-05-14 2017-01-04 阿里巴巴集团控股有限公司 Instant communication method and server
CN105120524A (en) * 2015-07-21 2015-12-02 美国掌赢信息科技有限公司 Method for establishing communication connection and electronic device
CN105120525A (en) * 2015-07-21 2015-12-02 美国掌赢信息科技有限公司 Method for establishing communication connection and electronic device
CN105072019A (en) * 2015-07-24 2015-11-18 北京元心科技有限公司 Processing method and processing system for instant communication messages
CN107040751A (en) * 2016-02-04 2017-08-11 统专利有限责任两合公司 Control the method for real-time conferencing session, computer is performed this method computer program product and associated communication system
CN106231089A (en) * 2016-07-27 2016-12-14 北京小米移动软件有限公司 Call optimization method and device
CN107528768A (en) * 2016-08-31 2017-12-29 腾讯科技(深圳)有限公司 Message prompt method and device
CN106535147A (en) * 2016-10-31 2017-03-22 北京小米移动软件有限公司 Communication signal processing method and apparatus
CN107135146A (en) * 2017-04-27 2017-09-05 腾讯科技(深圳)有限公司 The display methods and device of information
CN107172719A (en) * 2017-06-27 2017-09-15 青岛海信移动通信技术股份有限公司 The method for setting up communication connection
CN107333006A (en) * 2017-07-30 2017-11-07 深圳有麦科技有限公司 Call and the method and its system hung up are realized based on application program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112040232A (en) * 2020-11-04 2020-12-04 北京金山云网络技术有限公司 Real-time communication transmission method and device and real-time communication processing method and device
CN112040232B (en) * 2020-11-04 2021-06-22 北京金山云网络技术有限公司 Real-time communication transmission method and device and real-time communication processing method and device

Also Published As

Publication number Publication date
CN110324277B (en) 2021-11-05

Similar Documents

Publication Publication Date Title
CN105635625B (en) Video call method and device
CN105245531B (en) One kind goes offline detection method, device and server
CN107295354A (en) Connect the live method for building up of wheat and device in a kind of network direct broadcasting
CN105898181A (en) Video conversation system and method and related equipment
CN108881779A (en) Video calling between smart machine answers transfer method, system and server
CN105871683A (en) Video message leaving method, video message leaving device, terminal and server
CN104902070A (en) Mobile terminal voice control method and mobile terminal
CN109005107A (en) The means of communication, intelligent terminal and the device with store function
CN105227775B (en) A kind of voice incoming call processing method and device
CN110365931A (en) The control method and device of multi-party call, electronic equipment, storage medium
CN107872588A (en) Call processing method, relevant apparatus and system
CN106790490B (en) The method and device conversed based on intelligent camera
CN109743694A (en) Information output method and device
CN103997573B (en) Mobile terminal and virtual incoming call implementation method thereof
CN105812246B (en) Instant communication method, apparatus and system
CN107181926A (en) A kind of communication means, device and server
CN103037095B (en) Control method and terminal capable of adjusting communication request prompting mode
WO2017012547A1 (en) Method for establishing communication connection and electronic device
CN105100523B (en) Voice channel method for building up, apparatus and system
CN110324277A (en) Connection method, device, storage medium and the electronic device of real time communication
JP2005348192A5 (en)
CN103856644A (en) Voice over internet protocol prompting method and system
CN106210362A (en) Call method and device
CN105338171B (en) A kind of wearable device emergency contact setting method and device
CN106686251A (en) Calling request response method, calling request response device and wearable device

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