CN101035140A - File transmission system based on the SIP and MSRP and its method - Google Patents
File transmission system based on the SIP and MSRP and its method Download PDFInfo
- Publication number
- CN101035140A CN101035140A CNA2007100636888A CN200710063688A CN101035140A CN 101035140 A CN101035140 A CN 101035140A CN A2007100636888 A CNA2007100636888 A CN A2007100636888A CN 200710063688 A CN200710063688 A CN 200710063688A CN 101035140 A CN101035140 A CN 101035140A
- Authority
- CN
- China
- Prior art keywords
- terminal
- msrp
- application server
- protocol stack
- stack module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a SIP- and MSRP- based file transmitting system and method. And the method comprises the steps of: setting first terminal, second terminal and application server and setting SIP protocol stack module and MSRP protocol stack module on the first terminal, second terminal and application server, respectively; 2. completing SIP signaling negotiation course between the two terminals by the SIP protocol stack modules of the application server, first terminal and second terminal; 3. completing MSRP file contents transmitting course between the two terminals by their MSRP protocol stack modules. And the invention implements file transmission between any Internet terminals and supports breakpoint transmission.
Description
Technical field
The present invention relates to the data transmission technology in the Internet communications field, particularly relate in message session based on SIP (Session Initiation Protocol, initial session protocol) and MSRP (MessageSession Relay Protocol, message session trunk protocol) realize the system and the method thereof of file transfer.
Background technology
Along with the Internet field constantly enlarges, relevant application is also more and more, and the demand of fileinfo exchange is also increasing between the various terminals.
At present, general file transfer technology is confined between the same type terminal, and be difficult to satisfy between the different types of terminals, as mobile phone and PC (Personal Computer, personal computer) between, between PDA (PersonalDigital Assistant, personal digital assistant) and the PC, carry out the mutual demand of fileinfo by Internet between mobile phone and the PDA.
Therefore, the invention provides a kind ofly, and support breakpoint transmission in the method that realizes arbitrarily file transfer on the Internet between the terminal.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of document transmission system and method thereof based on SIP and MSRP, is used for realizing file transfer between the terminal arbitrarily on the Internet.
To achieve these goals, the invention provides a kind of document transmission system based on SIP and MSRP, comprise first terminal, second terminal, it is characterized in that, also comprise an application server, be used to realize that negotiation of SIP signaling and MSRP file content between described first terminal, described second terminal transmit;
Described first terminal, described second terminal, described application server respectively are provided with Session Initiation Protocol stack module, MSRP protocol stack module;
Finish SIP command negotiation process between described first terminal, described second terminal by the Session Initiation Protocol stack module of the Session Initiation Protocol stack module of the Session Initiation Protocol stack module of described application server, described first terminal, described second terminal;
Finish MSRP file content transmission course between described first terminal, described second terminal by the MSRP protocol stack module of the MSRP protocol stack module of the MSRP protocol stack module of described application server, described first terminal, described second terminal.
Described document transmission system based on SIP and MSRP, wherein, described terminal is PC, PDA or mobile phone.
Described document transmission system based on SIP and MSRP, wherein, described first terminal, described second terminal are connected to described application server by IAD.
Described document transmission system based on SIP and MSRP, wherein, described IAD is a broadband gateway.
To achieve these goals, the present invention also provides a kind of document transmission method based on SIP and MSRP, it is characterized in that, comprising:
Step 1 is provided with first terminal, second terminal, application server, and respectively is provided with Session Initiation Protocol stack module, MSRP protocol stack module on described first terminal, described second terminal, described application server;
Step 2 is finished SIP command negotiation process between described first terminal, described second terminal by the Session Initiation Protocol stack module of the Session Initiation Protocol stack module of the Session Initiation Protocol stack module of described application server, described first terminal, described second terminal; And
Step 3 is finished MSRP file content transmission course between described first terminal, described second terminal by the MSRP protocol stack module of the MSRP protocol stack module of the MSRP protocol stack module of described application server, described first terminal, described second terminal.
Described document transmission method based on SIP and MSRP, wherein, described step 2 specifically comprises:
Step 21, described first terminal, described second terminal are successfully registered at described application server;
Step 22, described first terminal sends a file request message that has a SDP by the Session Initiation Protocol stack module that is provided with to described application server, and described application server has the file request message of the 2nd SDP to described second terminal by the Session Initiation Protocol stack module forwards that is provided with;
Step 23, the described file request message of described second terminal processes, and return a file that has Three S's DP by the Session Initiation Protocol stack module that is provided with to described application server and receive message, described application server receives message to described first terminal by the file that the Session Initiation Protocol stack module forwards that is provided with has the 4th SDP; And
Step 24, described first terminal, described second terminal are set up the TCP interface channel according to the information that contains among a described SDP, described the 2nd SDP, described Three S's DP, described the 4th SDP to described application server.
Described document transmission method based on SIP and MSRP wherein, contains described first terminal and sets up IP address that TCP connects and port numbers, file name, file size to described application server among the described SDP; Contain IP address and port numbers that described application server TCP monitors among described the 2nd SDP; Contain described second terminal among the described Three S's DP and set up the original position of IP address, port numbers and described second terminal reception file of TCP connection to described application server; The IP address, port numbers and described second terminal that contain described application server TCP monitoring among described the 4th SDP receive the original position of file.
Described document transmission method based on SIP and MSRP, wherein, described step 3 specifically comprises:
Step 31, described first terminal sends file content by the MSRP protocol stack module that is provided with receives file according to described second terminal original position to described application server, and described application server is transmitted described file content to described second terminal by the MSRP protocol stack module that is provided with; And
Step 32, after described second terminal receives described file content, write according to the original position that is provided with, and receiving success message to described application server backspace file by the MSRP protocol stack module that is provided with, described application server is transmitted described file by the MSRP protocol stack module that is provided with and is received success message to described first terminal.
Described document transmission method based on SIP and MSRP, wherein, in the described step 3, after described file content is sent completely, also comprise: described first terminal, described second terminal disconnect respectively and described application server between the step of TCP interface channel.
Described document transmission method based on SIP and MSRP, wherein, in the described step 3, after described TCP interface channel disconnects, also comprise: described first terminal, described second terminal finish respectively and described application server between the step of file transfer session.
Useful technique effect of the present invention is:
Compared with prior art, adopt the inventive method to reach the demand that realizes file transfer between any Internet terminal, support breakpoint transmission.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is a file transfer business realizing networking diagram of the present invention;
Fig. 2 is a Signalling exchange flow chart of the present invention;
Fig. 3 is a file transfer business realizing flow chart of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the enforcement of technical solution of the present invention is described in further detail:
See also shown in Figure 1ly, be file transfer business realizing networking diagram of the present invention.In the figure, comprise terminal 1,2,3, IAD and AS (Applicant Server, application server).
Terminal 1,2,3 can be equipment such as PC, PDA or mobile phone;
IAD, for example (BROAD BAND GATEWAY BGW), is used for transmitting signaling and medium between terminal and the AS to broadband gateway, and these medium refer to the MSRP file content in the present invention;
Application server AS is the server that is deployed on the Internet, is used to realize that the SIP signaling is consulted and the MSRP file content is transmitted;
Session Initiation Protocol stack module is integrated on terminal 1,2,3 and the application server AS, is used to finish the signaling session negotiation between terminal and the application server AS, and is ready for sending file;
The MSRP protocol stack module is based on the protocol stack module of Transmission Control Protocol, is integrated on terminal 1,2,3 and the application server AS, is used for after the TCP interface channel is set up, and the carrying document content information transmits between terminal 1,2,3 and application server AS.
Session Description Protocol (Session Description Protocol, SDP), the local TCP link information of fileinfo that this SDP carried terminal is ready for sending (as filename, file size) and terminal (as using IP address and port numbers).
Terminal 1 and terminal 2 are registered on application server AS, and after succeeding in registration, set up link, terminal 1 is prepared to send file to terminal 2, the INVITE that at first sends band SDP asks application server AS, has fileinfo (filename, file size) and the local TCP link information (IP address and port numbers) of terminal that terminal 1 is ready for sending among the SDP; After application server AS receives that this INVITE asks, form the INVITE request of a new band SDP, MSRP connected the MSRP connection link information that link information is the application server AS side during band was used among the SDP, again this INVITE request was dealt into terminal 2.
After terminal 2 is received the INVITE request that terminal 1 sends by application server AS, respond according to fileinfo and whether to receive,, then return the information of the original position that has file content again to terminal 1 by application server AS if receive;
After terminal 1 was received the response that terminal 2 beams back by application server AS, terminal 1 brought into use the MSRP protocol stack module to send file to application server AS according to the original position of file content; Application server AS is forwarded to terminal 2 with file content; Terminal 2 writes file according to the original position that sets in advance, and file content is saved in the local file;
Finish when sending file, perhaps terminal 1 cancellation sends, and when perhaps terminal 2 cancellations received, file transfer was finished.
Seeing also shown in Figure 2ly, is Signalling exchange flow chart of the present invention, and this Signalling exchange flow process specifically may further comprise the steps:
Step 203, terminal 1 sends the INVITE request have SDP1 by Session Initiation Protocol stack module to AS, contains terminal 1 among the SDPI and sets up information such as IP address that TCP connects and port numbers, file name, file size to AS;
Step 204, AS returns 100Trying by Session Initiation Protocol stack module to terminal 1, shows that AS receives file and sends request;
Step 205, AS sends the INVITE request that has SDP2 by Session Initiation Protocol stack module to terminal 2, contains IP address and port numbers that AS end TCP monitors among the SDP2, sets up the TCP interface channel for terminal 2 to AS;
Step 206, terminal 2 is returned 100Trying by Session Initiation Protocol stack module to AS, shows that terminal 2 receives the file transmission request of AS;
Step 207, terminal 2 is returned 180Ringing by Session Initiation Protocol stack module to AS, shows that terminal 2 handling file and sending request;
IP address that step 213, terminal 1 and terminal 2 are connected according to local TCP and port numbers and IP address and the port numbers monitored to the AS side TCP that AS returns are set up the TCP interface channel;
Step 216 after terminal 2 receives file content, writes file according to the original position that sets in advance, and returns this segment file by the MSRP protocol stack module to AS and receive successfully MSRP 200 OK;
If file content does not send, read next segment file content and continue step 214,215,216,217;
Step 220, AS returns 200 OK by Session Initiation Protocol stack module to terminal 1, shows and finishes successfully;
Seeing also shown in Figure 3ly, is file transfer business realizing flow chart of the present invention, and this flow process specifically comprises the steps:
Step 301, terminal 1 and terminal 2 at first will succeed in registration on AS;
Step 302, terminal 1 sends file request information to AS;
Step 303, AS transmits a document solicited message to terminal 2;
Step 304, terminal 2 is handled according to file request information, and backspace file reception information is to AS;
Step 305, AS is forwarded to terminal 1 with the file reception information of terminal 2;
Step 306, terminal 1 and terminal 2 are set up the TCP interface channel to AS;
Step 307, terminal 1 sends file content to AS according to the file reception information of terminal 2;
Step 308, AS is forwarded to terminal 2 with file content;
Step 309, terminal 2 are preserved the file content that receives to local file, and return and receive successful information and arrive AS;
Step 310, the reception successful information notice terminal 1 that AS returns terminal 2;
If terminal 1 file sends and all do not finish, terminal 1 continues remaining file content to send, and repeating step 307,308,309,310 is until being sent completely;
Step 311,312, terminal 1 is connected with the TCP that AS was removed/be disconnected to terminal 2; And
Step 313,314, the INVITE session of terminal 1 and terminal 2 end and AS; Whole file transfer is finished.
The invention provides a kind ofly, and support breakpoint transmission in the method for carrying out between any terminal realizing file transfer on the Internet by application server AS.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
Claims (10)
1, a kind of document transmission system based on SIP and MSRP comprises first terminal, second terminal, it is characterized in that, also comprises an application server, is used to realize that negotiation of SIP signaling and MSRP file content between described first terminal, described second terminal transmit;
Described first terminal, described second terminal, described application server respectively are provided with Session Initiation Protocol stack module, MSRP protocol stack module;
Finish SIP command negotiation process between described first terminal, described second terminal by the Session Initiation Protocol stack module of the Session Initiation Protocol stack module of the Session Initiation Protocol stack module of described application server, described first terminal, described second terminal;
Finish MSRP file content transmission course between described first terminal, described second terminal by the MSRP protocol stack module of the MSRP protocol stack module of the MSRP protocol stack module of described application server, described first terminal, described second terminal.
2, the document transmission system based on SIP and MSRP according to claim 1 is characterized in that, described terminal is PC, PDA or mobile phone.
3, the document transmission system based on SIP and MSRP according to claim 1 and 2 is characterized in that, described first terminal, described second terminal are connected to described application server by IAD.
4, the document transmission system based on SIP and MSRP according to claim 4 is characterized in that, described IAD is a broadband gateway.
5, a kind of document transmission method based on SIP and MSRP is characterized in that, comprising:
Step 1 is provided with first terminal, second terminal, application server, and respectively is provided with Session Initiation Protocol stack module, MSRP protocol stack module on described first terminal, described second terminal, described application server;
Step 2 is finished SIP command negotiation process between described first terminal, described second terminal by the Session Initiation Protocol stack module of the Session Initiation Protocol stack module of the Session Initiation Protocol stack module of described application server, described first terminal, described second terminal; And
Step 3 is finished MSRP file content transmission course between described first terminal, described second terminal by the MSRP protocol stack module of the MSRP protocol stack module of the MSRP protocol stack module of described application server, described first terminal, described second terminal.
6, the document transmission method based on SIP and MSRP according to claim 5 is characterized in that, described step 2 specifically comprises:
Step 21, described first terminal, described second terminal are successfully registered at described application server;
Step 22, described first terminal sends a file request message that has a SDP by the Session Initiation Protocol stack module that is provided with to described application server, and described application server has the file request message of the 2nd SDP to described second terminal by the Session Initiation Protocol stack module forwards that is provided with;
Step 23, the described file request message of described second terminal processes, and return a file that has Three S's DP by the Session Initiation Protocol stack module that is provided with to described application server and receive message, described application server receives message to described first terminal by the file that the Session Initiation Protocol stack module forwards that is provided with has the 4th SDP; And
Step 24, described first terminal, described second terminal are set up the TCP interface channel according to the information that contains among a described SDP, described the 2nd SDP, described Three S's DP, described the 4th SDP to described application server.
7, the document transmission method based on SIP and MSRP according to claim 6 is characterized in that, contains described first terminal among the described SDP and sets up IP address that TCP connects and port numbers, file name, file size to described application server; Contain IP address and port numbers that described application server TCP monitors among described the 2nd SDP; Contain described second terminal among the described Three S's DP and set up the original position of IP address, port numbers and described second terminal reception file of TCP connection to described application server; The IP address, port numbers and described second terminal that contain described application server TCP monitoring among described the 4th SDP receive the original position of file.
8, the document transmission method based on SIP and MSRP according to claim 7 is characterized in that, described step 3 specifically comprises:
Step 31, described first terminal sends file content by the MSRP protocol stack module that is provided with receives file according to described second terminal original position to described application server, and described application server is transmitted described file content to described second terminal by the MSRP protocol stack module that is provided with; And
Step 32, after described second terminal receives described file content, write according to the original position that is provided with, and receiving success message to described application server backspace file by the MSRP protocol stack module that is provided with, described application server is transmitted described file by the MSRP protocol stack module that is provided with and is received success message to described first terminal.
9, the document transmission method based on SIP and MSRP according to claim 8, it is characterized in that, in the described step 3, after described file content is sent completely, also comprise: described first terminal, described second terminal disconnect respectively and described application server between the step of TCP interface channel.
10, the document transmission method based on SIP and MSRP according to claim 9, it is characterized in that, in the described step 3, after described TCP interface channel disconnects, also comprise: described first terminal, described second terminal finish respectively and described application server between the step of file transfer session.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007100636888A CN101035140A (en) | 2007-02-07 | 2007-02-07 | File transmission system based on the SIP and MSRP and its method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007100636888A CN101035140A (en) | 2007-02-07 | 2007-02-07 | File transmission system based on the SIP and MSRP and its method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101035140A true CN101035140A (en) | 2007-09-12 |
Family
ID=38731436
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2007100636888A Pending CN101035140A (en) | 2007-02-07 | 2007-02-07 | File transmission system based on the SIP and MSRP and its method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101035140A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101883144A (en) * | 2010-06-30 | 2010-11-10 | 北京神州泰岳软件股份有限公司 | File breakpoint continuously-transmitting method based on SIP (Session Initiation Protocol) |
CN101925033A (en) * | 2009-06-12 | 2010-12-22 | 中兴通讯股份有限公司 | Method and system for realizing MSRP (Message Session Relay Protocol) parameter negotiation in transmission of large message mode CPM (Converged IP Messaging) |
CN101964785A (en) * | 2010-09-19 | 2011-02-02 | 中兴通讯股份有限公司 | Method, terminal and system for transmitting file between SIP (Session Initiation Protocol) terminals in NAT (Network Address Translation) network |
CN101309237B (en) * | 2008-06-30 | 2011-04-20 | 中兴通讯股份有限公司 | Home gateway, system and method for remotely sharing multimedia data |
CN102724209A (en) * | 2012-06-30 | 2012-10-10 | 深圳市华为技术软件有限公司 | Session initialization protocol (SIP)-based file transmission method, terminal and application server |
CN101170623B (en) * | 2007-11-23 | 2012-12-19 | 中兴通讯股份有限公司 | A fax receiving and transmission system and method |
CN103078853A (en) * | 2012-12-31 | 2013-05-01 | 华为软件技术有限公司 | Data transmission method on basis of session initiation protocol and corresponding device |
CN103916305A (en) * | 2012-12-31 | 2014-07-09 | 北京新媒传信科技有限公司 | Method and terminal for transmitting instant communication message |
TWI470992B (en) * | 2011-11-23 | 2015-01-21 | ||
CN104320490A (en) * | 2014-11-12 | 2015-01-28 | 深圳市博康系统工程有限公司 | Reliable data transmission method and system based on SIP breakpoint resume |
CN105978996A (en) * | 2016-06-24 | 2016-09-28 | 深圳艾派网络科技股份有限公司 | File transmission method between contact persons based on address book |
CN106331094A (en) * | 2016-08-23 | 2017-01-11 | 惠州市拉维尼科技有限公司 | Forwarding method |
-
2007
- 2007-02-07 CN CNA2007100636888A patent/CN101035140A/en active Pending
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170623B (en) * | 2007-11-23 | 2012-12-19 | 中兴通讯股份有限公司 | A fax receiving and transmission system and method |
CN101309237B (en) * | 2008-06-30 | 2011-04-20 | 中兴通讯股份有限公司 | Home gateway, system and method for remotely sharing multimedia data |
CN101925033A (en) * | 2009-06-12 | 2010-12-22 | 中兴通讯股份有限公司 | Method and system for realizing MSRP (Message Session Relay Protocol) parameter negotiation in transmission of large message mode CPM (Converged IP Messaging) |
CN101883144A (en) * | 2010-06-30 | 2010-11-10 | 北京神州泰岳软件股份有限公司 | File breakpoint continuously-transmitting method based on SIP (Session Initiation Protocol) |
CN101883144B (en) * | 2010-06-30 | 2013-02-20 | 北京神州泰岳软件股份有限公司 | File breakpoint continuously-transmitting method based on SIP (Session Initiation Protocol) |
CN101964785A (en) * | 2010-09-19 | 2011-02-02 | 中兴通讯股份有限公司 | Method, terminal and system for transmitting file between SIP (Session Initiation Protocol) terminals in NAT (Network Address Translation) network |
WO2012034309A1 (en) * | 2010-09-19 | 2012-03-22 | 中兴通讯股份有限公司 | Method, terminal and system for file transfers between session initiation protocol (sip) terminals in network address translation (nat) network |
TWI470992B (en) * | 2011-11-23 | 2015-01-21 | ||
CN102724209A (en) * | 2012-06-30 | 2012-10-10 | 深圳市华为技术软件有限公司 | Session initialization protocol (SIP)-based file transmission method, terminal and application server |
CN103078853A (en) * | 2012-12-31 | 2013-05-01 | 华为软件技术有限公司 | Data transmission method on basis of session initiation protocol and corresponding device |
CN103916305A (en) * | 2012-12-31 | 2014-07-09 | 北京新媒传信科技有限公司 | Method and terminal for transmitting instant communication message |
CN104320490A (en) * | 2014-11-12 | 2015-01-28 | 深圳市博康系统工程有限公司 | Reliable data transmission method and system based on SIP breakpoint resume |
CN105978996A (en) * | 2016-06-24 | 2016-09-28 | 深圳艾派网络科技股份有限公司 | File transmission method between contact persons based on address book |
CN106331094A (en) * | 2016-08-23 | 2017-01-11 | 惠州市拉维尼科技有限公司 | Forwarding method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101035140A (en) | File transmission system based on the SIP and MSRP and its method | |
CN1324856C (en) | Data transmission method of network equipment based on multinetwork card and device | |
CN1794722A (en) | Method of transfering off-line message | |
CN1949770A (en) | Method for providing push message and push agent device | |
CN101039409A (en) | System and method for recording/replaying audio and video of multimedia conference | |
CN1494296A (en) | Defining network path transmission unit | |
CN1881916A (en) | Method and apparatus for realizing communication between communication equipments | |
CN1921438A (en) | Method for realizing acceleration between networks by using proxy | |
CN1893435A (en) | SIP server, terminal device, subscriber information management device and communication control method | |
CN101064590A (en) | Method of handling packet data in a wireless communications system and related apparatus | |
CN101056320A (en) | A file transfer method and its system in the data meeting | |
CN1914843A (en) | Handling of acknowledgement messages in terminal | |
CN1859321A (en) | Method and device for transfer immediate news | |
CN1522526A (en) | Apparatus and method for implementing text based compression using cache and blank approach | |
CN101064869A (en) | Mobile communication terminal, and method for transmission of image in mobile messenger service | |
CN101060650A (en) | Message service realizing method and message application server | |
CN105392053A (en) | Method for receiving and processing network video streams in real time | |
CN1622553A (en) | Internet standard file transmission protocol based file breakpoint upload method | |
CN1863202A (en) | Method for improving load balance apparatus and servicer processing performance | |
CN1889439A (en) | Method and system for storing session information in instant information business | |
CN1282342C (en) | Method for implementing transparent bridging of radio local network bridging | |
CN101039332A (en) | Method, system and server for transmitting page data | |
CN1941707A (en) | Method and system for displaying user state and information | |
CN101039319A (en) | Method for real-time transmitting media data based on TCP protocol | |
CN1794841A (en) | Method and device of preserving radio terminal user characteristics |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20070912 |