CN101656687A - Method for performing multimedia session by instant messaging device - Google Patents
Method for performing multimedia session by instant messaging device Download PDFInfo
- Publication number
- CN101656687A CN101656687A CN200810118765A CN200810118765A CN101656687A CN 101656687 A CN101656687 A CN 101656687A CN 200810118765 A CN200810118765 A CN 200810118765A CN 200810118765 A CN200810118765 A CN 200810118765A CN 101656687 A CN101656687 A CN 101656687A
- Authority
- CN
- China
- Prior art keywords
- multimedia session
- session
- instruction
- calling subscriber
- connection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention discloses a method for performing multimedia session by an instant messaging device. The method comprises the following steps that: when a user starts the multimedia session, an instantmessaging client tries a point-to-point connection; if the connection fails, the instant messaging client is connected to a forwarding server to establish the session with the user in a mode of data relay. The method strengthens network adaptability, so that the multimedia session can be carried out as long as the user can surf the internet.
Description
Technical field
The present invention relates to computer software, network communication field, especially instant messaging particularly relates to a kind of method of carrying out Multimedia session in JICQ.
Background technology
Instant messaging (Instant messaging is called for short IM) has become the important means that the user communicates by network at present.Along with accelerate day by day in recent years the time link up demand, the multimedia in the instantaneous communication system is also developing rapidly, is becoming a kind of communication means externally commonly used gradually.
In the instant messaging product, some does not support Multimedia session at present, though some supports that network-adaptive is poor, can't carry out session under many circumstances.
Summary of the invention
The present invention proposes a kind of method of carrying out Multimedia session in JICQ in order to address the above problem weak point,
May further comprise the steps: when the user started Multimedia session, instant communication client was attempted point-to-point connection, if connection failure then connects forwarding server, both sides set up session by the mode of data relay.
Described Multimedia session comprises voice conversation and video session.
Described step also comprises
S1. the calling subscriber sends the instruction that Multimedia session is set up in request by instant communication server to the called subscriber;
S2. called receive instruction after,
When refusal is accepted this session, the called subscriber sends the refusal instruction to the calling subscriber, and Multimedia session is not set up, and process finishes;
When accepting this session, the called subscriber starts network monitoring, and sends the acceptance instruction to the calling subscriber, prepares to receive calling subscriber's point-to-point connection;
S3. after the calling subscriber receives and accepts instruction, attempt connecting called listen address,
If point-to-point connection is then set up in successful connection, both sides begin by this connection transmitting multimedia data, and then Multimedia session is set up;
If connection failure, then the calling subscriber connects forwarding server, and the request forwarding server distributes transmits port.
Described called subscriber sends the acceptance instruction to the calling subscriber, and command content comprises called listen address.
Described step also comprises
S4. forwarding server is that caller distributes the forwarding port, returns response results;
S5. after the calling subscriber receives this response, connect the forwarding port of forwarding server;
S6. after the calling subscriber connects the success of forwarding port, send the instruction that connects forwarding server to the called subscriber, command content has comprised the forwarding port;
S7. after the called subscriber receives instruction, connect the forwarding port of forwarding server;
S8. the called subscriber connect transmit the port success after, send the instruction of successful connection to the calling subscriber, both sides begin by the forwarding server transmitting multimedia data, then Multimedia session is set up.
When described calling subscriber or called subscriber need the ending multimedia session, send the instruction of end session to the other side, close connection then, receive that a side of instruction closes connection equally, then Multimedia session finishes.
Good effect of the present invention: network-adaptive is strong, and the user just can carry out Multimedia session as long as can surf the Net.
Description of drawings
Fig. 1 carries out the flow chart of Multimedia session in JICQ for the present invention.
Embodiment
Its general aspect: when the user starts multimedia (finger speech sound or video) session, instant communication client (hereinafter to be referred as client) tastes the point-to-point connection of examination, if connection failure then connects forwarding server, both sides set up session by the mode of data relay.
Below in conjunction with accompanying drawing the present invention is further described, as shown in Figure 1, a kind of process of in JICQ, carrying out Multimedia session,
May further comprise the steps:
S1. the calling subscriber sends the instruction that Multimedia session is set up in request by instant communication server to the called subscriber;
S2. called receive instruction after, the decision whether accept request,
When refusal is accepted this session, the called subscriber sends the refusal instruction to the calling subscriber, and Multimedia session is not set up, and process finishes;
When accepting this session, the called subscriber starts network monitoring, and sends the acceptance instruction to the calling subscriber, and command content comprises called listen address, prepares to receive calling subscriber's point-to-point connection;
S3. after the calling subscriber receives and accepts instruction, attempt connecting called listen address,
If point-to-point connection is then set up in successful connection, both sides begin by this connection transmitting multimedia data, and then Multimedia session is set up;
If connection failure, then the calling subscriber connects forwarding server, and the request forwarding server distributes transmits port.
S4. forwarding server is that caller distributes the forwarding port, returns response results;
S5. after the calling subscriber receives this response, connect the forwarding port of forwarding server;
S6. after the calling subscriber connects the success of forwarding port, send the instruction that connects forwarding server to the called subscriber, command content has comprised the forwarding port;
S7. after the called subscriber receives instruction, connect the forwarding port of forwarding server;
S8. the called subscriber connect transmit the port success after, send the instruction of successful connection to the calling subscriber, both sides begin by the forwarding server transmitting multimedia data, then Multimedia session is set up.
When S9. described calling subscriber or called subscriber need the ending multimedia session, send the instruction of end session to the other side, close connection then, receive that a side of instruction closes connection equally, then Multimedia session finishes.
Claims (6)
1. method of in JICQ, carrying out Multimedia session, it is characterized in that: may further comprise the steps: when the user starts Multimedia session, instant communication client is attempted point-to-point connection, if connection failure, then connect forwarding server, both sides set up session by the mode of data relay.
2. a kind of method of carrying out Multimedia session in JICQ according to claim 1 is characterized in that: described Multimedia session comprises voice conversation and video session.
3. a kind of method of carrying out Multimedia session in JICQ according to claim 1, it is characterized in that: described step also comprises
S1. the calling subscriber sends the instruction that Multimedia session is set up in request by instant communication server to the called subscriber;
S2. called receive instruction after,
When refusal is accepted this session, the called subscriber sends the refusal instruction to the calling subscriber, and Multimedia session is not set up, and process finishes;
When accepting this session, the called subscriber starts network monitoring, and sends the acceptance instruction to the calling subscriber, prepares to receive calling subscriber's point-to-point connection;
S3. after the calling subscriber receives and accepts instruction, attempt connecting called listen address,
If point-to-point connection is then set up in successful connection, both sides begin by this connection transmitting multimedia data, and then Multimedia session is set up;
If connection failure, then the calling subscriber connects forwarding server, and the request forwarding server distributes transmits port.
4. a kind of method of in JICQ, carrying out Multimedia session according to claim 3, it is characterized in that: described called subscriber sends the acceptance instruction to the calling subscriber, and command content comprises called listen address.
5. a kind of method of carrying out Multimedia session in JICQ according to claim 3, it is characterized in that: described step also comprises
S4. forwarding server is that caller distributes the forwarding port, returns response results;
S5. after the calling subscriber receives this response, connect the forwarding port of forwarding server;
S6. after the calling subscriber connects the success of forwarding port, send the instruction that connects forwarding server to the called subscriber, command content has comprised the forwarding port;
S7. after the called subscriber receives instruction, connect the forwarding port of forwarding server;
S8. the called subscriber connect transmit the port success after, send the instruction of successful connection to the calling subscriber, both sides begin by the forwarding server transmitting multimedia data, then Multimedia session is set up.
6. a kind of method of in JICQ, carrying out Multimedia session according to claim 5, it is characterized in that: when described calling subscriber or called subscriber need the ending multimedia session, send the instruction of end session to the other side, close connection then, a side who receives instruction closes connection equally, and then Multimedia session finishes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810118765A CN101656687A (en) | 2008-08-21 | 2008-08-21 | Method for performing multimedia session by instant messaging device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810118765A CN101656687A (en) | 2008-08-21 | 2008-08-21 | Method for performing multimedia session by instant messaging device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101656687A true CN101656687A (en) | 2010-02-24 |
Family
ID=41710783
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810118765A Pending CN101656687A (en) | 2008-08-21 | 2008-08-21 | Method for performing multimedia session by instant messaging device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101656687A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012000226A1 (en) * | 2010-07-02 | 2012-01-05 | 苏州阔地网络科技有限公司 | Method for realizing peer-to-peer (p2p) communication on webpage |
CN108495076A (en) * | 2018-04-12 | 2018-09-04 | 苏州万店掌网络科技有限公司 | A kind of method and system of live video stream embedded in real-time session |
-
2008
- 2008-08-21 CN CN200810118765A patent/CN101656687A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012000226A1 (en) * | 2010-07-02 | 2012-01-05 | 苏州阔地网络科技有限公司 | Method for realizing peer-to-peer (p2p) communication on webpage |
JP2012522326A (en) * | 2010-07-02 | 2012-09-20 | 蘇州闊地網絡科技有限公司 | How to achieve peer-to-peer communication on the web |
CN108495076A (en) * | 2018-04-12 | 2018-09-04 | 苏州万店掌网络科技有限公司 | A kind of method and system of live video stream embedded in real-time session |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9049159B2 (en) | Establishing audio communication sessions | |
US9602553B2 (en) | Method, apparatus, and system for implementing VOIP call in cloud computing environment | |
CN102413436B (en) | Information transferring method and system | |
CN1794722B (en) | Method of transfering off-line message and instant message server | |
US9467404B2 (en) | Processing method and processing system for instant messages in network conference | |
US8775188B2 (en) | Method, device, and system for voice approval | |
CN107770047A (en) | Intelligent sound box, the system and method for realizing based on intelligent sound box social functions | |
KR20120019474A (en) | System and methods for integrating short message service messaging with contact center applications | |
US20140082103A1 (en) | Unified lte cloud system | |
WO2010040320A1 (en) | Transmission method in communication of video phone | |
EP2083547A1 (en) | Improvements in or relating to communications | |
US10498904B1 (en) | Automated telephone host system interaction | |
CN103297445A (en) | Web terminal communication method and system based on IP multimedia network | |
CN105262750A (en) | Method and apparatus for automatically initiating a session | |
CN102932364A (en) | Register method, register device and register system | |
EP2640101A1 (en) | Method and system for processing media messages | |
CN103929555A (en) | IP recording system voice stream mirroring method | |
WO2008038102B1 (en) | System and method for joining a conference call or multimedia conference | |
CN102457494B (en) | Method and device for improving monitoring success rate based on session initiation protocol (SIP) signaling | |
CN101656687A (en) | Method for performing multimedia session by instant messaging device | |
US8892078B2 (en) | Method and system for representing multimedia ring tone for IM | |
EP1816831A1 (en) | Computing device supporting bridging between a packet switched network and the public switched telephone network | |
CN103856644A (en) | Voice over internet protocol prompting method and system | |
CN116743624A (en) | Communication connection method, device, terminal equipment and storage medium | |
US20040153320A1 (en) | Packet switched network voice communication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20100224 |