CN101222521A - File transfer method based on conversation launching protocol - Google Patents
File transfer method based on conversation launching protocol Download PDFInfo
- Publication number
- CN101222521A CN101222521A CNA2008100027920A CN200810002792A CN101222521A CN 101222521 A CN101222521 A CN 101222521A CN A2008100027920 A CNA2008100027920 A CN A2008100027920A CN 200810002792 A CN200810002792 A CN 200810002792A CN 101222521 A CN101222521 A CN 101222521A
- Authority
- CN
- China
- Prior art keywords
- receiving terminal
- message
- file
- transmitting terminal
- file transfer
- 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
Links
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention provides a session initiation protocol based file transmission method; the method includes the following steps that: (a) a transmitting end sends a file transmission notification message to a receiving end, the field marking the request as the file transmission notification is carried in the notification message; (b) the receiving end sends a file transmission response message to the transmitting end; (c) the transmitting end decides whether to initiate the establishment of the file transmission session based on the response message from the receiving end. In the invention, firstly the transmitting end sends the file transmission notification message, and then initiates the file transmission session after receiving the response message from the receiving end, thereby the receiving end is prevented from missing the file transmission request, and both sides involving the file transmission have better use experiences.
Description
Technical field
The present invention relates to a kind of communication technology, especially a kind of document transmission method of dialogue-based initiation protocol.
Background technology
At NGN (Next Generation Network, next generation network)/IMS (IP MultimediaSubsystem, IP Multimedia System) under the environment, file transfer is the indispensable function of pc client, this function can help the user to realize the instant transmission of file, thereby can share document, photo and some other multimedia file apace.
At present based on SIP (Session Initiation Protocol, Session initiation Protocol) file transfer flow process is the same with initiation sound (looking) session frequently, all be by Invite message initiation session, by SDP (Session Description Protocol, Session Description Protocol) carries out media negotiation, by MSRP (Message Session Relay Protocol, message session trunk protocol) transfer files.This flow process since with document transmission process as a session, therefore there is a shortcoming inevitably: when the recipient does not in time reply for a certain reason, this session meeting is released because of overtime, the recipient can't learn that oneself having missed a file transfer invites like this, if adopt the method for " reciever automatic-answering back device Invite session ", then exist the problem of wasting because of the intermediate NE Session Resources that keeps long Invite session to be caused.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of document transmission method based on SIP, to avoid receiving terminal to miss file transfer invitation and to avoid because of keeping long Invite session to cause the waste of intermediate NE Session Resources.
In order to address the above problem, the invention provides a kind of document transmission method of dialogue-based initiation protocol, this method may further comprise the steps:
(a) transmitting terminal sends the file transfer notification message to receiving terminal, carries in this notification message and indicates the field of this request for the file transfer notice;
(b) receiving terminal sends the file transfer response message to transmitting terminal;
(c) transmitting terminal determines whether to initiate to set up file transfer session according to the response message of receiving terminal.
Further, carry the information of agreeing reception or rejection in the response message that receiving terminal returns in the step (b), receive as if the receiving terminal response reject in the step (c), then transmitting terminal no longer initiates to set up the file transfer session request, if the receiving terminal response is agreed to receive, then transmitting terminal initiates to set up the file transfer session request.
Further, carry a plurality of fileinfos in the notification message of transmitting terminal in the step (a), carry reception or refusal information in the response message that receiving terminal sends in the step (b) at each file.
Further, carry the reception sequential that receives transfer files in the response message that receiving terminal sends in the step (b), transmitting terminal sends file according to this appointment sequential to receiving terminal.
Further, carry the unique identification of wanting transfer files in the notification message in the step (a).
Further, carry the unique identification that receives transfer files in the response message that receiving terminal returns in the step (b).
Further, also carry the filename of wanting transfer files and at least one in the document size information in the notification message in the step (a).
Further, transmitting terminal and receiving terminal are transmitted message and file mutually by Ftp server or server of instant message.
Further, transmitting terminal and receiving terminal are pc clients or based on the terminal of embedded OS, comprise session initiation protocol stack, message session trunk protocol stack and document transmission processing module.
Compared to prior art, the present invention is based on the document transmission method of SIP, because send the file transfer notification message by transmitting terminal to receiving terminal earlier, and after receiving the reception response message of receiving terminal, initiate file transfer session again, thereby the file transfer that can make receiving terminal avoid missing is invited, and makes the both sides of file transfer obtain better experience, and has avoided because of keeping long Invite session to cause the waste of intermediate NE Session Resources.
Description of drawings
Fig. 1 is the entity block diagram of the system of realization the inventive method.
Fig. 2 is the document transmission method schematic diagram that the present invention is based on Session initiation Protocol.
Fig. 3 is the application implementation flow chart of the inventive method.
Embodiment
Fig. 1 is the entity block diagram that realization the present invention is based on the document transmission method of Session initiation Protocol, mainly comprises 2 entities: sip terminal and FT AS (File Transfer Application Server, file transfer applications server).
Sip terminal can be a pc client, also can be based on the terminal (as SIP phone, mobile phone) of embedded OS, and it comprises SIP and MSRP protocol stack, document transmission processing module.The document transmission processing module provides functions such as the sign, buffer memory, abnormality processing of file, is the inlet that client sent and received file.After the user selects to send file, at first initiate the file transfer notification message by SIP Message message, after obtaining the acceptance message of receiving terminal, initiate file transfer session by SIP Invite message again, and set up MSRP link, good through consultation afterwards MSRP link the carrying out transmission of file by media negotiation.
The FT application server is responsible for the forwarding capability of file, and the session control signaling between itself and the sip terminal adopts Session Initiation Protocol, and the medium signaling between the sip terminal adopts the MSRP agreement.Consider the complexity of realization, the function of FT application server can be realized by IM (Instant Messaging, instant message) server.
When transmitting terminal had the demand that sends file, as shown in Figure 2, the document transmission method that the present invention is based on Session initiation Protocol may further comprise the steps:
Step 201: transmitting terminal sends file transfer notification message Message to receiving terminal, carries in this notification message and indicates the field of this request for the file transfer notice, carries the unique identification of transfer files simultaneously;
In order to make the clearer information of wanting transfer files of receiving terminal, can also carry in the notification message information such as the filename of wanting transfer files and file size.
Step 202: receiving terminal sends the file transfer response message to transmitting terminal;
Carry the unique identification of transfer files in the response message of receiving terminal, for receiving terminal carries out more effective control to whether receiving file, this response message can carry the information of agreeing reception or rejection, if carry the information of a plurality of files in the notification message of transmitting terminal, then can determine corresponding the reception or refusal information to different files respectively in the response message that receiving terminal sends, thereby make transmitting terminal also can selectively carry out effective file transfer.
Step 203: transmitting terminal determines whether to initiate to set up file transfer session according to the response message of receiving terminal.
If receiving terminal is agreed to receive, after then transmitting terminal is set up session, send file to receiving terminal; If rejection, then transmitting terminal no longer initiates to set up conversation request.
Below in conjunction with the drawings and specific embodiments the inventive method is described in further detail.
Fig. 3 is the handling process that sip terminal proposed by the invention sends multimedia message.Fig. 3 may further comprise the steps:
Step 301: the file transmitting terminal generates the Message request, carries field in the message and indicates that this request is the file transfer notice.Simultaneously, this message is also carried file unique identification, filename, the file size that will transmit;
Step 302:FT AS responds the file transfer notification message of receiving, expression AS has received this notification message;
Step 303:FT AS is transmitted to the file receiving terminal with the file transfer notice.The Client-Prompt user at receiving terminal place has new file transfer requests, and the title and the size of display file on the interface simultaneously are so that whether user's decision receives;
Step 304: receiving terminal responds the file transfer notification message of receiving;
Step 305: receiving terminal responds file transfer requests and handles, send SIPMessage message to FT AS, this message comprises the file unique identification that step 201 is carried, if receiving terminal is agreed to receive, carry response results in the message and be " Agree ", if the receiving terminal rejection is carried response results and is " Reject " in the message;
Step 306:FT AS responds the SIP Message message of receiving;
Step 307:FT AS sends SIP Message message to transmitting terminal, transmits the result of receiving terminal to file transfer;
Step 308: the file transmitting terminal responds the SIP Message message of receiving;
Step 309: receiving terminal agrees to receive file, and the new SIP of transmitting terminal structure sets up conversation request (Invite), and this request message utilizes SDP (Session Description Portocol, Session Description Protocol) to initiate the negotiation of MSRP link;
Step 310:FT AS transmits the Invite request to receiving terminal;
Step 311: receiving terminal successively sends Temporary Response 100 (Trying attempt connect), finally responds 200 (Ok affirmations) message response Invite and asks, and finish media negotiation between itself and the FT AS;
Step 312:FT AS transmits 100 Trying, 200OK message, and finish the media negotiation of itself and transmitting terminal;
Step 313: transmitting terminal sends acknowledge message ACK for FT AS, finishes " three-way handshake " of the Invite request between itself and the FT AS;
Step 314:FT AS sends acknowledge message ACk to receiving terminal, finishes " three-way handshake " of this Invite request;
Step 315: the TCP link between both sides and the FT AS is set up successfully, carries out the transmission of file by MSRP;
Step 316: file sends and finishes, and transmitting terminal is initiated end dialog Bye request, to finish the SIP session;
Step 317:FT AS transmits the Bye request, finishes the SIP session between itself and the file receiving terminal;
Step 318: receiving terminal discharges this SIP session to Bye request answer 200OK response;
Step 319:FT AS transmits 200OK message, discharges the SIP session of itself and file transmitting terminal.
Certainly, in another preferred embodiment, in the step 301, in the file transfer notification message of file transmitting terminal, carry a plurality of unique identifications corresponding with a plurality of pre-transfer files, promptly the corresponding mark of file 1 is other 1, file 2 corresponding signs 2; Accordingly, in the step 305, the file receiving terminal can select whether to accept transmission based on different file unique identifications, and whether accepts information via the transfer feedback of FT AS and give the file transmitting terminal.After file receiving terminal feedback was agreed reception information, the file transmitting terminal can be set up file transfer TCP link, and gave file receiving terminal transfer files based on self-defined sequential or certain sequencing.
Certainly, in another preferred embodiment, in the step 305, the file receiving terminal is when whether feedback accepts information, feedback has the time sequence information of the different file transfer of different uniquely identifieds in the lump, the file transmitting terminal is after receiving information, and according to the appointment sequential of file receiving terminal, successively transfer files is given the file receiving terminal.
The present invention is based on the document transmission method of SIP, because send the file transfer notification message by transmitting terminal to receiving terminal earlier, and after receiving the reception response message of receiving terminal, initiate file transfer session again, thereby the file transfer that can make receiving terminal avoid missing is invited, make the both sides of file transfer obtain better experience, and avoided because of keeping long Invite session to cause the waste of intermediate NE Session Resources.
Claims (9)
1. the document transmission method of a dialogue-based initiation protocol is characterized in that, this method may further comprise the steps:
(a) transmitting terminal sends the file transfer notification message to receiving terminal, carries in this notification message and indicates the field of this request for the file transfer notice;
(b) receiving terminal sends the file transfer response message to transmitting terminal;
(c) transmitting terminal determines whether to initiate to set up the file transfer session request according to the response message of receiving terminal.
2. the method for claim 1, it is characterized in that: carry the information of agreeing reception or rejection in the response message that receiving terminal returns in the step (b), receive as if the receiving terminal response reject in the step (c), then transmitting terminal no longer initiates to set up the file transfer session request, if the receiving terminal response is agreed to receive, then transmitting terminal initiates to set up the file transfer session request.
3. the method for claim 1 is characterized in that: carry a plurality of fileinfos in the notification message of transmitting terminal in the step (a), carry reception or refusal information at each file in the response message that receiving terminal sends in the step (b).
4. method as claimed in claim 3 is characterized in that: carry the reception sequential that receives transfer files in the response message that receiving terminal sends in the step (b), transmitting terminal sends file according to this appointment sequential to receiving terminal.
5. the method for claim 1 is characterized in that: carry the unique identification of wanting transfer files in the notification message in the step (a).
6. method as claimed in claim 5 is characterized in that: carry the unique identification that receives transfer files in the response message that receiving terminal returns in the step (b).
7. method as claimed in claim 5 is characterized in that: also carry the filename of wanting transfer files and at least one in the document size information in the notification message in the step (a).
8. as each described method in the claim 1 to 7, it is characterized in that: transmitting terminal and receiving terminal are transmitted message and file mutually by Ftp server or server of instant message.
9. as each described method in the claim 1 to 7, it is characterized in that: transmitting terminal and receiving terminal are pc clients or based on the terminal of embedded OS, comprise session initiation protocol stack, message session trunk protocol stack and document transmission processing module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100027920A CN101222521B (en) | 2008-01-21 | 2008-01-21 | File transfer method based on conversation launching protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100027920A CN101222521B (en) | 2008-01-21 | 2008-01-21 | File transfer method based on conversation launching protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101222521A true CN101222521A (en) | 2008-07-16 |
CN101222521B CN101222521B (en) | 2011-03-16 |
Family
ID=39632086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100027920A Active CN101222521B (en) | 2008-01-21 | 2008-01-21 | File transfer method based on conversation launching protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101222521B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102137348A (en) * | 2010-11-11 | 2011-07-27 | 华为技术有限公司 | File transmission method, terminal and system |
CN102789444A (en) * | 2011-05-16 | 2012-11-21 | 联想(北京)有限公司 | Transmission processing method, device and electronic equipment |
WO2013182088A1 (en) * | 2012-10-30 | 2013-12-12 | 中兴通讯股份有限公司 | File transferring method and device through wi-fi direct |
CN104052646A (en) * | 2013-03-12 | 2014-09-17 | 中国移动通信集团公司 | Photo identification-based instant communication method and system, server |
CN104424203A (en) * | 2013-08-21 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Method and system for viewing photo sharing state in mobile device |
CN107409327A (en) * | 2015-05-29 | 2017-11-28 | 华为技术有限公司 | One kind processing operating method and equipment |
CN109327525A (en) * | 2018-10-26 | 2019-02-12 | 浙江理工大学 | It is a kind of for being knitted the document transmission method and device of interconnection plane |
CN111818573A (en) * | 2020-07-06 | 2020-10-23 | 中电科航空电子有限公司 | Air-to-ground ACARS message transmission method and system based on file transmission |
CN112565458A (en) * | 2020-12-25 | 2021-03-26 | 北京安华金和科技有限公司 | Platform remote control method and device, storage medium and electronic equipment |
CN113271324A (en) * | 2020-02-14 | 2021-08-17 | 深圳市万普拉斯科技有限公司 | File transmission method and device, electronic equipment and readable storage medium |
CN114363298A (en) * | 2021-12-29 | 2022-04-15 | 浪潮云信息技术股份公司 | SIP protocol message high-efficiency sending method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100466645C (en) * | 2004-08-16 | 2009-03-04 | 华为技术有限公司 | Method for carrying out different service treatment according to different bearing network type |
KR100690793B1 (en) * | 2005-01-19 | 2007-03-09 | 엘지전자 주식회사 | Method for transmitting data in multimedia system |
CN1331359C (en) * | 2005-06-28 | 2007-08-08 | 清华大学 | Transmission method for video flow in interactive multi-viewpoint video system |
-
2008
- 2008-01-21 CN CN2008100027920A patent/CN101222521B/en active Active
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102137348B (en) * | 2010-11-11 | 2014-10-08 | 华为技术有限公司 | File transmission method, terminal and system |
CN102137348A (en) * | 2010-11-11 | 2011-07-27 | 华为技术有限公司 | File transmission method, terminal and system |
CN102789444A (en) * | 2011-05-16 | 2012-11-21 | 联想(北京)有限公司 | Transmission processing method, device and electronic equipment |
CN102789444B (en) * | 2011-05-16 | 2017-09-29 | 联想(北京)有限公司 | A kind of method for transmission processing, device and electronic equipment |
WO2013182088A1 (en) * | 2012-10-30 | 2013-12-12 | 中兴通讯股份有限公司 | File transferring method and device through wi-fi direct |
US10250669B2 (en) | 2012-10-30 | 2019-04-02 | Xi'an Zhongxing New Software Co., Ltd | File transferring method an device through Wi-Fi direct |
CN104052646A (en) * | 2013-03-12 | 2014-09-17 | 中国移动通信集团公司 | Photo identification-based instant communication method and system, server |
CN104424203A (en) * | 2013-08-21 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Method and system for viewing photo sharing state in mobile device |
CN104424203B (en) * | 2013-08-21 | 2019-04-12 | 腾讯科技(深圳)有限公司 | Photo in mobile device shares state inspection method and system |
US10560871B2 (en) | 2015-05-29 | 2020-02-11 | Huawei Technologies Co., Ltd. | Operation processing method and device |
CN107409327A (en) * | 2015-05-29 | 2017-11-28 | 华为技术有限公司 | One kind processing operating method and equipment |
CN109327525A (en) * | 2018-10-26 | 2019-02-12 | 浙江理工大学 | It is a kind of for being knitted the document transmission method and device of interconnection plane |
CN113271324A (en) * | 2020-02-14 | 2021-08-17 | 深圳市万普拉斯科技有限公司 | File transmission method and device, electronic equipment and readable storage medium |
CN111818573A (en) * | 2020-07-06 | 2020-10-23 | 中电科航空电子有限公司 | Air-to-ground ACARS message transmission method and system based on file transmission |
CN111818573B (en) * | 2020-07-06 | 2022-07-08 | 中电科航空电子有限公司 | Air-to-ground ACARS message transmission method and system based on file transmission |
CN112565458A (en) * | 2020-12-25 | 2021-03-26 | 北京安华金和科技有限公司 | Platform remote control method and device, storage medium and electronic equipment |
CN114363298A (en) * | 2021-12-29 | 2022-04-15 | 浪潮云信息技术股份公司 | SIP protocol message high-efficiency sending method and device |
Also Published As
Publication number | Publication date |
---|---|
CN101222521B (en) | 2011-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101222521B (en) | File transfer method based on conversation launching protocol | |
EP2342883B1 (en) | File transfer in conference services | |
US7904521B2 (en) | Method for transferring chat messages by establishing chat room data transfer channel | |
CN1777108B (en) | Method and system for providing mixed mode instant message IM | |
EP1936891B1 (en) | A method for sending and receiving the off-line message, a client apparatus, a server and a system | |
CN101507210B (en) | Associating a telephone call with a dialog based on a computer protocol such as SIP | |
CN101895842B (en) | Method, device and system for awakening offline mobile terminal | |
US9350695B2 (en) | Method for transferring and storing CPM service message and service thereof | |
CN102388631A (en) | System and method for establishing session upon satisfaction of particular conditions | |
CN106161201B (en) | method, device and system for participating in group chat by using mailbox account as identifier | |
US20140141821A1 (en) | Method and Devices to Convey Session Participant List to a Store and Forward Group Chat Recipient | |
CN110875914A (en) | Method and device for transmitting messages based on shared session link | |
CN105556980A (en) | A method and system for integrating content viewing and communication in immersive social centre session | |
CN101237337A (en) | Method, system and device for transmitting multimedia message to the terminal in the conference system | |
US20110194466A1 (en) | Pull Based Data Driven Consultative Transfer | |
CN101110799A (en) | Multimedia message transmission system and sending/receiving method thereof | |
CN101170623B (en) | A fax receiving and transmission system and method | |
EP1819122A1 (en) | Providing push to all (PTA) service | |
KR100690793B1 (en) | Method for transmitting data in multimedia system | |
WO2017000481A1 (en) | Dialing method and apparatus for voice call | |
CN109120578B (en) | Method and device for realizing link connection processing | |
WO2012163224A1 (en) | Method and system for switching between instant messaging and web conferencing mode | |
CN102783083A (en) | Automated session admission | |
CN108337215B (en) | File transmission method, system and device and electronic equipment | |
CN102137348B (en) | File transmission method, terminal and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |