CN102724209A - Session initialization protocol (SIP)-based file transmission method, terminal and application server - Google Patents

Session initialization protocol (SIP)-based file transmission method, terminal and application server Download PDF

Info

Publication number
CN102724209A
CN102724209A CN2012102228600A CN201210222860A CN102724209A CN 102724209 A CN102724209 A CN 102724209A CN 2012102228600 A CN2012102228600 A CN 2012102228600A CN 201210222860 A CN201210222860 A CN 201210222860A CN 102724209 A CN102724209 A CN 102724209A
Authority
CN
China
Prior art keywords
file
terminal
transmitted
identification
file identification
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
Application number
CN2012102228600A
Other languages
Chinese (zh)
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.)
Huawei Device Shenzhen Co Ltd
Shenzhen Huawei Technologies Software Co Ltd
Original Assignee
Shenzhen Huawei Communication Technologies 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 Shenzhen Huawei Communication Technologies Co Ltd filed Critical Shenzhen Huawei Communication Technologies Co Ltd
Priority to CN2012102228600A priority Critical patent/CN102724209A/en
Publication of CN102724209A publication Critical patent/CN102724209A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of communication, in particular to a session initialization protocol (SIP)-based file transmission method, which comprises the following steps that: a first terminal locally searches for a file identifier corresponding to a file to be transmitted, wherein the file identifier is used for indicating the file to be transmitted stored in an application server (AS); and when finding the file identifier, the first terminal transmits an SIP-based first file transmission request comprising the file identifier to the AS, so that the AS locally acquires the file to be transmitted, and transmits the file to be transmitted to a second terminal through a message session relay protocol (MSRP). By the method, a process of transmitting the file to be transmitted to the AS by a calling terminal is eliminated, network traffic consumed by the calling terminal is reduced, time for the calling terminal to transmit the file to be transmitted to a called terminal is shortened, and the file transmission performance of the terminal is improved.

Description

A kind of document transmission method, terminal and application server based on SIP
Technical field
The present invention relates to communication technical field, be specifically related to document transmission method, terminal and application server, improve the performance of terminal transmission file based on SIP.
Background technology
In the RCS business based on the IMS network, file transfer is to realize with the mode that SIP and MSRP combine.Wherein, calling and called terminal and AS carry out the establishment of signaling session through the SIP INVITE, and carry out the Media layer session negotiation and finally set up the MSRP passage being used for media delivery through the SDP information of carrying in the sip message.
In the existing RCS standard,, when calling terminal is given terminal called with file transfer, all need this document be transferred to application server AS at every turn, by application server AS this document be transferred to terminal called again for file transfer.
The inventor finds that there is following shortcoming at least in above-mentioned prior art: when calling terminal need be given a plurality of terminal called with same file transfer; Calling terminal needs successively this document to be transferred to each terminal called; Cause calling terminal to need more network traffics of consumption rate and time to accomplish, reduced the performance of calling terminal transfer files to each terminal called transmission this document.
Summary of the invention
Embodiments of the invention provide document transmission method, terminal and the application server based on SIP, can improve the performance of terminal transmission file.
One embodiment of the present of invention provide a kind of document transmission method based on SIP, comprising:
Whether first terminal is searched in this locality and is existed and file corresponding file to be transmitted sign, and said file identification is used for the file said to be transmitted of indicating application server AS to store;
When there is said file identification in first terminal; First file transfer requests based on Session Initiation Protocol is sent to said AS in first terminal; Said first file transfer requests comprises said file identification; So that said AS according to said file identification, obtains said file to be transmitted from this locality, and send said file to be transmitted to second terminal through the MSRP agreement.
An alternative embodiment of the invention provides a kind of document transmission method based on SIP, comprising:
Application server AS receives the file transfer requests based on Session Initiation Protocol that send at first terminal;
When said file transfer requests comprised file identification, said AS obtained the to be transmitted file corresponding with said file identification according to said file identification;
Said AS sends said file to be transmitted to second terminal through the MSRP agreement.
One embodiment of the present of invention provide a kind of the realization to comprise based on the terminal of the file transfer of SIP:
Whether search the unit, be used for searching in this locality and exist and file corresponding file to be transmitted sign, said file identification is used for the file said to be transmitted of indicating application server AS to store;
Transmitting element; Be used for finding out when having said file identification in the said unit of searching; Send first file transfer requests to said AS based on Session Initiation Protocol; Said first file transfer requests comprises said file identification, so that said AS according to said file identification, obtains said file to be transmitted from this locality.
One embodiment of the present of invention provide a kind of the realization to comprise based on the application server of the file transfer of SIP:
Receiving element is used to receive the file transfer requests based on Session Initiation Protocol that send at first terminal;
Acquiring unit is used for when said file transfer requests comprises file identification, obtains the to be transmitted file corresponding with said file identification according to said file identification;
First transmitting element is used for sending said file to be transmitted to second terminal through the MSRP agreement.
Can find out from the above technical scheme that the embodiment of the invention provides; Because when the terminal sends to application server AS with file to be transmitted for the first time; AS stores this file to be stored, and sets up the corresponding relation of this file to be transmitted and file identification, makes when follow-up this terminal again should file to be transmitted sends to other-end; The corresponding file sign only need be sent to AS in this terminal; AS can obtain corresponding file to be transmitted according to this document sign from this locality, and should send to other-end by file to be transmitted, has therefore saved this file to be transmitted is sent at process from this terminal to AS; The performance of terminal transmission file has been improved to the time of this file to be transmitted of other-end transmission in network traffics and this terminal of having reduced this terminals consume.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in below embodiment being described.Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
A kind of Organization Chart of realizing file transfer that Fig. 1 provides for one embodiment of the invention.
The flow chart of a kind of document transmission method based on SIP that Fig. 2 provides for one embodiment of the invention.
The flow chart of a kind of document transmission method based on SIP that Fig. 3 provides for another embodiment of the present invention.
A kind of Signalling exchange flow chart of realizing based on the file transfer of SIP that Fig. 4 provides for one embodiment of the invention.
A kind of structure chart of realizing based on the terminal of the file transfer of SIP that Fig. 5 provides for one embodiment of the invention.
A kind of structure chart of realizing based on the application server of the file transfer of SIP that Fig. 6 provides for one embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention will be carried out clear, intactly description.Obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Fig. 1 has described the framework of the realization file transfer that the embodiment of the invention provides, and comprises first terminal, second terminal, IAD and application server (AS:Application Service), and this embodiment specifically comprises:
First terminal 101, second terminal 102 can be equipment such as PC, PDA or mobile phone.
IAD 103, for example broadband gateway (BGW:Broad Band Gateway) is used for transmitting signaling and medium between terminal and the AS, and among the present invention, medium refer to the MSRP file content.
Application server AS 104 is the servers that are deployed on the Internet, is used to realize that the SIP signaling is consulted and the MSRP file content is transmitted.
Fig. 2 has described the document transmission method based on SIP that one embodiment of the invention provides, and this embodiment specifically comprises:
Whether S201, first terminal are searched in this locality and are existed and file corresponding file to be transmitted sign, and this document sign is used for the file to be transmitted of indicating application server AS to store.
Wherein, this file to be transmitted is the file that other-end is prepared to be transferred in first terminal.
S202, when having this document sign at first terminal; First file transfer requests based on Session Initiation Protocol is sent to AS in first terminal; This first file transfer requests comprises this document sign; So that AS identifies according to this document, obtain this file to be transmitted from this locality, and should send second terminal to by file to be transmitted through the MSRP agreement.Wherein, second terminal is for receiving the called end of this file to be transmitted.
Further; This document sign can corresponding term of validity; This term of validity is used for indicating the effective time of the AS to be transmitted file storage corresponding with this document sign, therefore, has this document sign at first terminal; And in the corresponding term of validity of this document sign, first file transfer requests based on Session Initiation Protocol is sent to AS in first terminal.
In addition, when not having this document sign at first terminal, following steps are carried out at first terminal:
Second file transfer requests based on Session Initiation Protocol is sent to AS in first terminal, so that AS after obtaining second file transfer requests, generates above-mentioned file identification;
First terminal receives the sip response message that carries this document sign that AS sends;
The corresponding relation of this document sign and local above-mentioned file to be transmitted is set up at first terminal;
First terminal should send AS to by file to be transmitted through the MSRP agreement, so that AS after obtaining this file to be transmitted, sets up the corresponding relation of this document sign and this file to be transmitted in this locality.
Further, above-mentioned sip response message can also comprise the corresponding term of validity of this document sign, and this term of validity is used for indicating the effective time of the AS to be transmitted file storage corresponding with this document sign.
Need to prove, when file to be transmitted is transmitted at first terminal for the first time in the reality, in first terminal be do not exist with should file corresponding file sign to be transmitted, then the correlation step when not existing this document to identify can be carried out in first terminal; When again should file to be transmitted at follow-up first terminal sending other-end to, exist in first terminal this moment with should file corresponding file sign to be transmitted, then the correlation step when existing this document to identify can be carried out in first terminal.
The document transmission method based on SIP that the above embodiment of the present invention provides can be known; Because when the terminal sends to application server AS with file to be transmitted for the first time; AS stores this file to be stored, and sets up the corresponding relation of this file to be transmitted and file identification, makes when follow-up this terminal again should file to be transmitted sends to other-end; The corresponding file sign only need be sent to AS in this terminal; AS can obtain corresponding file to be transmitted according to this document sign from this locality, and should send to other-end by file to be transmitted, has therefore saved this file to be transmitted is sent at process from this terminal to AS; The performance of terminal transmission file has been improved to the time of this file to be transmitted of other-end transmission in network traffics and this terminal of having reduced this terminals consume.
Fig. 3 has described the document transmission method based on SIP that another embodiment of the present invention provides, and this embodiment specifically comprises:
S301, application server AS receive the file transfer requests based on Session Initiation Protocol that send at first terminal.
S302, when this document transmission requests comprises file identification, the file to be transmitted that this AS obtains according to this document sign and this document sign is corresponding.
Further; This AS obtains after the file to be transmitted corresponding with this document sign according to this document sign; This AS can upgrade the corresponding term of validity of this document sign; This term of validity is used for indicating the effective time of the corresponding file storage to be transmitted of this AS this document sign, and promptly this AS is a starting point with the current time, resets the term of validity of this file to be stored storage.
S303, this AS should send second terminal to by file to be transmitted through the MSRP agreement, and wherein, second terminal is for receiving the called end of this file to be transmitted.
In addition, when in this document transmission requests, not comprising file identification, this AS carries out following steps:
This AS spanned file sign, concrete, this document sign can be a unique identification that generates at random;
This AS sends the sip response message that carries this document sign to first terminal, so that the corresponding relation of this document sign and file to be transmitted is set up at first terminal;
This AS receives first terminal this file to be transmitted through the MSRP protocol transmission;
This AS sets up the corresponding relation of this document sign and this file to be transmitted in this locality.
Further; After this AS spanned file sign; Can generate and the corresponding term of validity of this document sign, this term of validity is used for indicating the effective time of the corresponding file storage to be transmitted of this AS this document sign, and; Through in this sip response message, carrying this term of validity, make this AS that this term of validity is sent to first terminal.
Need to prove; When file to be transmitted is transmitted at first terminal for the first time in the reality; Be not comprise this file corresponding file sign to be transmitted in the SIP file transfer requests that send at first terminal that AS receives, then AS can carry out the correlation step when in file transfer requests, not comprising file identification; When again should file to be transmitted at follow-up first terminal sending other-end to; Be to comprise this file corresponding file sign to be transmitted in the SIP file transfer requests that send at first terminal that AS receives, then AS can carry out the correlation step when in file transfer, comprising file identification.
In addition, this AS can set up the corresponding relation of ID at ID and second terminal at this document sign, first terminal, to improve AS carries out the terminal identity of file transfer through the file identification mode legitimate verification.
The document transmission method based on SIP that the above embodiment of the present invention provides can be known; Because when the terminal sends to application server AS with file to be transmitted for the first time; AS stores this file to be stored, and sets up the corresponding relation of this file to be transmitted and file identification, makes when follow-up this terminal again should file to be transmitted sends to other-end; The corresponding file sign only need be sent to AS in this terminal; AS can obtain corresponding file to be transmitted according to this document sign from this locality, and should send to other-end by file to be transmitted, has therefore saved this file to be transmitted is sent at process from this terminal to AS; The performance of terminal transmission file has been improved to the time of this file to be transmitted of other-end transmission in network traffics and this terminal of having reduced this terminals consume.
The Signalling exchange flow process based on the file transfer of SIP that Fig. 4 has described that the embodiment of the invention provides specifically comprises:
Whether S401, first terminal are searched in this locality and are existed and file corresponding file to be transmitted sign; This document sign is used for this file to be stored of indicating application server AS to store; Promptly indicate whether to have this file to be transmitted, and the memory location of this file to be transmitted.
S402, when not having this document sign at first terminal, second file transfer requests based on SIP is sent to AS in first terminal.
Concrete, should be meant the INVITE request that has SDP based on second file transfer requests of SIP.Wherein, Session Description Protocol (SDP:Session Description Protocol) has carried the fileinfo that the terminal is ready for sending, like filename, file size, and terminal TCP link information, like IP address and port numbers.
In addition, when not having this document sign at first terminal, can be illustrated in AS and not store this file to be stored, therefore first terminal needs and should send AS to by file to be transmitted.
After S403, AS receive second file transfer requests of initiating at first terminal; Send file transfer requests to the 3rd terminal; This document transmission requests can be the INVITE request that has SDP, comprises IP address and port numbers that AS end TCP monitors, supplies the 3rd terminal to set up the TCP interface channel to AS.
The 200OK response message is sent to AS in S404, the 3rd terminal, shows that the 3rd terminal successfully receives the file transfer requests of AS.
S405, AS are after receiving the response message that sends at the 3rd terminal; Generate a unique file identification; Wherein, file identification is used for the file to be transmitted of indicating AS to store, because this moment, file to be transmitted also was not transferred to AS; Therefore, AS generates a file identification for the file to be transmitted that is about to receive in advance.
Further; AS can also generate the term of validity for this document sign; Be used for indicating the effective time of the corresponding file storage to be transmitted of AS and this document sign, this term of validity with the current time as zero-time, although also do not get access among the AS this moment and this document identifies corresponding file to be transmitted.
Obvious; AS also can generate this document sign and the term of validity after receiving the file to be transmitted of first terminal transmission fully, again that this document sign and file to be transmitted is corresponding; And this document sign and the term of validity are sent to first terminal; Consider, directly in the response message that sends to first terminal, carry this document sign and the term of validity, with respect to separately this document sign and the term of validity being sent to first terminal; Can reduce the interaction flow of the AS and first terminal room, so the present invention has adopted the mode of S405.Need to prove that the present invention does not limit when generating this document sign, any rational generation this document sign also can notify the mode to first terminal all to be adapted to the present invention with the term of validity.
S406, AS send the 200OK response message to first terminal.Concrete; The SDP information that has in this response message is except the information of existing SDP consensus standard regulation; Also carry the file identification that above-mentioned AS generates, promptly AS sends to first terminal with the file identification that generates, to keep the consistent of the AS side and the first end side file identification; Thereby convenient follow-up first terminal is directly sent file identification and is given AS, makes AS find the file to be transmitted that other-end is prepared to be transferred in first terminal through file identification.
Further, the SDP information that has in this response message can also be carried the term of validity that generates among the S405, owing to also do not store this file to be transmitted among the AS this moment, so AS also is the term of validity information that generates for this storage file in advance.
S407, first terminal set up the corresponding relation of this document sign and local file to be transmitted behind the above-mentioned response message that carries file identification that obtains that AS sends.
Need to prove that the corresponding relation of this response message and local file to be transmitted also can be set up again in first terminal after having transmitted local file to be transmitted, the present invention does not limit this.
S408, first terminal send this locality file to be transmitted to AS through the MSRP agreement.
S409, AS are after obtaining the file to be transmitted that first terminal sends, and AS also sets up the corresponding relation of this document sign and file to be transmitted in this locality.
The file to be transmitted that S410, AS will obtain from first terminal through the MSRP agreement sends the 3rd terminal to, gives the 3rd terminal thereby accomplish first terminal with file transfer to be transmitted.
Following step S411-S417 is the signalling interactive process that second terminal is continued file to be transmitted identical in the above-mentioned steps is sent in first terminal:
Whether S411, first terminal are searched in this locality to exist with this file corresponding file to be transmitted and are identified; Owing to set up the corresponding relation of file identification and this file to be transmitted among the above-mentioned steps S407, therefore this moment, first terminal existed and this file corresponding file sign to be transmitted.
S412, when existing with this transfer files corresponding file sign at first terminal, first file transfer requests based on SIP is sent to AS in first terminal, this moment, this first file transfer requests was carried this document sign.Concrete, should be meant the INVITE request that has SDP based on first file transfer requests of SIP, and carry this document sign in the SDP message content, be used to indicate first terminal to prepare the file to be transmitted of transmission.
Further; Have this document sign at first terminal, and this document is not when memory time of being identified at first terminal have its corresponding term of validity of surpassing, shows that the AS side also do not delete the file to be transmitted of this document sign correspondence; Because the AS side arrives after date in the corresponding term of validity of this document sign; Can delete corresponding file to be transmitted, then first file transfer requests based on SIP is sent to AS in first terminal, and this first file transfer requests is carried this document sign.
After S413, AS receive first file transfer requests of initiating at first terminal, send file transfer requests to second terminal.
200 OK response messages are sent to AS in S414, second terminal, show that second terminal successfully receives the file transfer requests of AS.
S415, AS are after receiving the response message that sends at second terminal; According to this document sign of carrying in first file transfer requests that receives; The corresponding relation of local files stored sign of inquiry AS and file to be transmitted obtains and this corresponding file to be transmitted of this document sign.
Further, AS is starting point with the current time, upgrades the corresponding term of validity of this document sign, promptly is that file to be transmitted corresponding with this document sign among the AS is set effective time again.
S416, AS send the response message of 200 OK to first terminal; Can carry in this response message this moment and set up MSRP and connect needed SDP information; Therefore because there are this file to be transmitted in first terminal and AS, need connect and transmit file to be transmitted between the two through setting up MSRP.
The file to be transmitted that S417, AS obtain inquiry among the S415 sends second terminal to through the MSRP agreement, should file transfer to be transmitted give second terminal thereby accomplish first terminal.
Need to prove; For further improving AS to initiating the legitimate verification of the terminal identity of file transfer through the file identification mode, AS sets up the corresponding relation of the corresponding ID in the corresponding ID in file identification, first terminal corresponding ID, second terminal and the 3rd terminal.
Concrete; AS can preserve the mapping relations of each file identification and respective user tabulation, and the ID with this document sign corresponding file received and dispatched in this user list record, and only allows the user in this user list to initiate to transmit this document based on the mode of file identification; For example; When the user A at first terminal sent file for for the first time the user B at second terminal, AS preserved being identified in this user list of user A simultaneously when creating the corresponding relation of this document sign and this document; After file is issued to corresponding second terminal success of user B; AS joins the sign of user B in this user list equally; This means; The follow-up user of having only A, B are allowed to send this document through this document sign, and after user A and user B sent this document success for through this mode other users, other users' sign then was added in the user list of this document correspondence equally.
Need to prove, in the whole signaling interaction flow of above-mentioned reality, also include BYE and detailed other flow processs such as MSRP, because these flow processs are consistent with normal process, the present invention does not repeat them here.
The document transmission method based on SIP that the above embodiment of the present invention provides can be known; Because when the terminal sends to application server AS with file to be transmitted for the first time; AS stores this file to be stored, and sets up the corresponding relation of this file to be transmitted and file identification, makes when follow-up this terminal again should file to be transmitted sends to other-end; The corresponding file sign only need be sent to AS in this terminal; AS can obtain corresponding file to be transmitted according to this document sign from this locality, and should send to other-end by file to be transmitted, has therefore saved this file to be transmitted is sent at process from this terminal to AS; The performance of terminal transmission file has been improved to the time of this file to be transmitted of other-end transmission in network traffics and this terminal of having reduced this terminals consume.
Fig. 5 has described a kind of terminal 500 of realizing based on the file transfer of SIP that the embodiment of the invention provides; Structure for clearer description terminal 500; Introduced application server AS 600 among Fig. 5; The realization that the structure of AS600 specifically can provide with reference to other embodiment of the present invention is based on the structure of the application server of the file transfer of SIP, and concrete, terminal 500 comprises:
Whether search unit 501, be used for searching in this locality and exist and file corresponding file to be transmitted sign, this document sign is used for indicating this file to be transmitted of application server AS 600 storages.
Transmitting element 502; Be used for finding out and having this document when sign searching unit 501, send first file transfer requests based on Session Initiation Protocol to AS600, this first file transfer requests comprises this document sign; So that AS600 identifies according to this document, obtain this file to be transmitted from this locality.
Further; Transmitting element 502 finds out and has this document sign searching unit 501; And in the corresponding term of validity of this document sign; Send first file transfer requests based on SIP to AS600, wherein, this term of validity is used for indicating the effective time of the AS600 to be transmitted file storage corresponding with this document sign.
In another embodiment of the present invention, terminal 500 also comprises:
Transmitting element 502 also is used for finding out and not having this document when sign searching unit 501, sends second file transfer requests based on Session Initiation Protocol to AS600, so that AS600 is after obtaining second file transfer requests, generates this document sign.
Receiving element 503 is used to receive the sip response message that carries this document sign that AS600 sends.
Further, in the sip response message that receiving element 503 receives, can also comprise the corresponding term of validity of this document sign, this term of validity is used for indicating the effective time of the corresponding file storage to be transmitted of AS600 this document sign.
Corresponding relation is set up unit 504, is used to set up the file identification of receiving element 503 receptions and the corresponding relation of local file to be transmitted.
Transmitting element 502 also is used for after corresponding relation is set up unit 504 and set up the corresponding relation of file identification and local file to be transmitted, should sending AS600 to by file to be transmitted through the MSRP agreement.
Can know from the terminal that the above embodiment of the present invention provides based on the file transfer of SIP; Because when the terminal sends to application server AS with file to be transmitted for the first time; AS stores this file to be stored, and sets up the corresponding relation of this file to be transmitted and file identification, makes when follow-up this terminal again should file to be transmitted sends to other-end; The corresponding file sign only need be sent to AS in this terminal; AS can obtain corresponding file to be transmitted according to this document sign from this locality, and should send to other-end by file to be transmitted, has therefore saved this file to be transmitted is sent at process from this terminal to AS; The performance of terminal transmission file has been improved to the time of this file to be transmitted of other-end transmission in network traffics and this terminal of having reduced this terminals consume.
Fig. 6 has described a kind of application server of realizing based on the file transfer of SIP 600 that the embodiment of the invention provides; Structure for clearer description application server 600; Introduced first terminal 500 among Fig. 6; The realization that the structure at first terminal 500 specifically can provide with reference to the above embodiment of the present invention is based on the structure at the terminal of the file transfer of SIP, and concrete, application server 600 comprises:
Receiving element 601 is used to receive the file transfer requests based on SIP that send at first terminal 500.
Acquiring unit 602 is used for when the file transfer requests that receiving element 601 receives comprises file identification, obtains and the corresponding file to be transmitted of this document sign according to this document sign.
First transmitting element 603 is used for sending the file to be transmitted that acquiring unit 602 obtains to second terminal through the MSRP agreement.
In another embodiment of the present invention, when in the file transfer requests that receiving element 601 receives, not comprising file identification, application server 600 also comprises:
Generation unit 604 is used for when the file transfer requests that receiving element 601 receives does not comprise file identification the spanned file sign.
Second transmitting element 605 is used for sending the sip response message that carries the file identification that generation unit 604 generates to first terminal 500, so that the corresponding relation of this document sign and file to be transmitted is set up at first terminal 500.
This receiving element 601 also is used to receive the to be transmitted file of first terminal 500 through the MSRP protocol transmission.
Corresponding relation is set up unit 606, is used for setting up in this locality the corresponding relation of the file to be transmitted of this document sign and receiving element 601 receptions.
Further; The file to be transmitted that above-mentioned acquiring unit 602 obtains can be to set up the corresponding relation of setting up unit 606 according to the file identification inquiry corresponding relation that receiving element 601 receives to obtain, and therefore this moment, corresponding relation was set up the corresponding relation that this document sign and corresponding file to be transmitted need at first be set up in unit 606.
In addition; Generation unit 604 also is used to generate the corresponding term of validity of this document sign; This term of validity is used for indicating the effective time of the corresponding file storage to be transmitted of application server AS 600 this document sign; And the term of validity that application server AS 600 generates this generation unit 604 is carried at and sends to first terminal in the above-mentioned sip response message.
In addition, application server AS 600 also comprises the unit module of the corresponding relation of setting up the corresponding ID in the corresponding ID of above-mentioned file identification, first terminal and second terminal.
Can know from the application server that the above embodiment of the present invention provides based on the file transfer of SIP; Because when the terminal sends to application server AS with file to be transmitted for the first time; AS stores this file to be stored, and sets up the corresponding relation of this file to be transmitted and file identification, makes when follow-up this terminal again should file to be transmitted sends to other-end; The corresponding file sign only need be sent to AS in this terminal; AS can obtain corresponding file to be transmitted according to this document sign from this locality, and should send to other-end by file to be transmitted, has therefore saved this file to be transmitted is sent at process from this terminal to AS; The performance of this terminal transmission file has been improved to the time of this file to be transmitted of other-end transmission in network traffics and this terminal of having reduced this terminals consume.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method; Be to instruct relevant hardware to accomplish through computer program; Above-mentioned program can be stored in the computer read/write memory medium; This program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, above-mentioned storage medium can be magnetic disc, CD, read-only storage memory body (ROM:Read-Only Memory) or stores memory body (RAM:Random Access Memory) etc. at random.
Used concrete example among this paper principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand technical scheme of the present invention; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (14)

1. the document transmission method based on SIP is characterized in that, comprising:
Whether first terminal is searched in this locality and is existed and file corresponding file to be transmitted sign, and said file identification is used for the file said to be transmitted of indicating application server AS to store;
When there is said file identification in first terminal; First file transfer requests based on Session Initiation Protocol is sent to said AS in first terminal; Said first file transfer requests comprises said file identification; So that said AS according to said file identification, obtains said file to be transmitted from this locality, and send said file to be transmitted to second terminal through the MSRP agreement.
2. document transmission method as claimed in claim 1 is characterized in that, and is said when having said file identification at first terminal, and first file transfer requests based on Session Initiation Protocol is sent to said AS in first terminal, specifically comprises:
There is said file identification at first terminal; And in the corresponding term of validity of said file identification; First file transfer requests based on Session Initiation Protocol is sent to said AS in first terminal, and the said term of validity is used for indicating the effective time of the said AS to be transmitted file storage corresponding with said file identification.
3. according to claim 1 or claim 2 document transmission method is characterized in that, also comprises:
When there was not said file identification in first terminal, second file transfer requests based on Session Initiation Protocol was sent to said AS in first terminal, so that said AS after obtaining second file transfer requests, generates said file identification;
First terminal receives the sip response message that carries said file identification that said AS sends;
The corresponding relation of said file identification and local said file to be transmitted is set up at first terminal;
First terminal sends said file to be transmitted to said AS through the MSRP agreement, so that said AS after obtaining said file to be transmitted, sets up the corresponding relation of said file identification and said file to be transmitted in this locality.
4. document transmission method as claimed in claim 3; It is characterized in that; Said sip response message also comprises the term of validity that said file identification is corresponding, and the said term of validity is used for indicating the effective time of the said AS to be transmitted file storage corresponding with said file identification.
5. the document transmission method based on SIP is characterized in that, comprising:
Application server AS receives the file transfer requests based on Session Initiation Protocol that send at first terminal;
When said file transfer requests comprised file identification, said AS obtained the to be transmitted file corresponding with said file identification according to said file identification;
Said AS sends said file to be transmitted to second terminal through the MSRP agreement.
6. document transmission method as claimed in claim 5 is characterized in that, said AS obtains after the file to be transmitted corresponding with said file identification according to said file identification, also comprises:
Said AS upgrades the corresponding term of validity of said file identification, and the said term of validity is used to indicate the effective time of the corresponding file storage to be transmitted of file identification described in the said AS.
7. like claim 5 or 6 described document transmission methods, it is characterized in that, also comprise:
When said file transfer requests does not comprise file identification, said AS spanned file sign;
Said AS sends the sip response message that carries said file identification to first terminal, so that the corresponding relation of said file identification and file to be transmitted is set up at first terminal;
Said AS receives the said to be transmitted file of first terminal through the MSRP protocol transmission;
Said AS sets up the corresponding relation of said file identification and said file to be transmitted in this locality.
8. document transmission method as claimed in claim 7 is characterized in that, after the said AS spanned file sign, also comprises:
Said AS generates the corresponding term of validity of said file identification, and the said term of validity is used to indicate the effective time of the corresponding file storage to be transmitted of file identification described in the said AS.
9. like the arbitrary described document transmission method of claim 5-8, it is characterized in that, also comprise:
Said AS sets up the corresponding relation of the corresponding ID in the corresponding ID of said file identification, first terminal and second terminal.
10. a realization is characterized in that based on the terminal of the file transfer of SIP, comprising:
Whether search the unit, be used for searching in this locality and exist and file corresponding file to be transmitted sign, said file identification is used for the file said to be transmitted of indicating application server AS to store;
Transmitting element; Be used for finding out when having said file identification in the said unit of searching; Send first file transfer requests to said AS based on Session Initiation Protocol; Said first file transfer requests comprises said file identification, so that said AS according to said file identification, obtains said file to be transmitted from this locality.
11. terminal as claimed in claim 10 is characterized in that, also comprises:
Said transmitting element also is used for finding out when not having said file identification in the said unit of searching, and sends second file transfer requests based on Session Initiation Protocol to said AS, so that said AS after obtaining second file transfer requests, generates said file identification;
Receiving element is used to receive the sip response message that carries said file identification that said AS sends;
Corresponding relation is set up the unit, is used to set up the corresponding relation of said file identification and local said file to be transmitted;
Said transmitting element is used for sending said file to be transmitted to said AS through the MSRP agreement.
12. a realization is characterized in that based on the application server of the file transfer of SIP, comprising:
Receiving element is used to receive the file transfer requests based on Session Initiation Protocol that send at first terminal;
Acquiring unit is used for when said file transfer requests comprises file identification, obtains the to be transmitted file corresponding with said file identification according to said file identification;
First transmitting element is used for sending said file to be transmitted to second terminal through the MSRP agreement.
13. application server as claimed in claim 12 is characterized in that, also comprises:
Generation unit is used for when said file transfer requests does not comprise file identification, the spanned file sign;
Second transmitting element is used for sending the sip response message that carries said file identification to first terminal, so that the corresponding relation of said file identification and file to be transmitted is set up at first terminal;
Said receiving element also is used to receive the said to be transmitted file of first terminal through the MSRP protocol transmission;
Corresponding relation is set up the unit, is used for setting up in this locality the corresponding relation of said file identification and said file to be transmitted.
14. application server as claimed in claim 13; It is characterized in that; Said generation unit also is used to generate the corresponding term of validity of said file identification, and the said term of validity is used to indicate the effective time of the corresponding file storage to be transmitted of file identification described in the said AS.
CN2012102228600A 2012-06-30 2012-06-30 Session initialization protocol (SIP)-based file transmission method, terminal and application server Pending CN102724209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102228600A CN102724209A (en) 2012-06-30 2012-06-30 Session initialization protocol (SIP)-based file transmission method, terminal and application server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102228600A CN102724209A (en) 2012-06-30 2012-06-30 Session initialization protocol (SIP)-based file transmission method, terminal and application server

Publications (1)

Publication Number Publication Date
CN102724209A true CN102724209A (en) 2012-10-10

Family

ID=46949871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102228600A Pending CN102724209A (en) 2012-06-30 2012-06-30 Session initialization protocol (SIP)-based file transmission method, terminal and application server

Country Status (1)

Country Link
CN (1) CN102724209A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105637848A (en) * 2013-10-31 2016-06-01 索尼公司 Call handling using IP multimedia subsystem
CN106302145A (en) * 2016-08-23 2017-01-04 惠州市拉维尼科技有限公司 Forward request processing method
CN106302772A (en) * 2016-08-23 2017-01-04 惠州市拉维尼科技有限公司 Information storage means
CN106331093A (en) * 2016-08-23 2017-01-11 惠州市拉维尼科技有限公司 Data transmission method
CN106331094A (en) * 2016-08-23 2017-01-11 惠州市拉维尼科技有限公司 Forwarding method
CN106331095A (en) * 2016-08-23 2017-01-11 惠州市拉维尼科技有限公司 Information forwarding method
CN106331989A (en) * 2016-08-19 2017-01-11 广东欧珀移动通信有限公司 List push method and apparatus, and wireless sound box system
CN107911477A (en) * 2017-12-06 2018-04-13 深圳市智物联网络有限公司 A kind of data communications method, apparatus and system
CN110402586A (en) * 2017-03-16 2019-11-01 高通股份有限公司 Notice system based on Smart Logo board

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035140A (en) * 2007-02-07 2007-09-12 中兴通讯股份有限公司 File transmission system based on the SIP and MSRP and its method
CN101080086A (en) * 2006-05-23 2007-11-28 中兴通讯股份有限公司 Implementation system and method of color image service
CN101326826A (en) * 2006-11-02 2008-12-17 华为技术有限公司 Method, system and apparatus for controlling service of network TV
CN101355719A (en) * 2007-07-26 2009-01-28 中国移动通信集团公司 Method, apparatus and system for processing multimedia information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101080086A (en) * 2006-05-23 2007-11-28 中兴通讯股份有限公司 Implementation system and method of color image service
CN101326826A (en) * 2006-11-02 2008-12-17 华为技术有限公司 Method, system and apparatus for controlling service of network TV
CN101035140A (en) * 2007-02-07 2007-09-12 中兴通讯股份有限公司 File transmission system based on the SIP and MSRP and its method
CN101355719A (en) * 2007-07-26 2009-01-28 中国移动通信集团公司 Method, apparatus and system for processing multimedia information

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105637848A (en) * 2013-10-31 2016-06-01 索尼公司 Call handling using IP multimedia subsystem
CN105637848B (en) * 2013-10-31 2020-03-31 索尼公司 Method executed by mobile device and mobile device
CN106331989A (en) * 2016-08-19 2017-01-11 广东欧珀移动通信有限公司 List push method and apparatus, and wireless sound box system
CN106331989B (en) * 2016-08-19 2019-12-31 Oppo广东移动通信有限公司 List pushing method and device and wireless loudspeaker box system
CN106302145A (en) * 2016-08-23 2017-01-04 惠州市拉维尼科技有限公司 Forward request processing method
CN106302772A (en) * 2016-08-23 2017-01-04 惠州市拉维尼科技有限公司 Information storage means
CN106331093A (en) * 2016-08-23 2017-01-11 惠州市拉维尼科技有限公司 Data transmission method
CN106331094A (en) * 2016-08-23 2017-01-11 惠州市拉维尼科技有限公司 Forwarding method
CN106331095A (en) * 2016-08-23 2017-01-11 惠州市拉维尼科技有限公司 Information forwarding method
CN110402586A (en) * 2017-03-16 2019-11-01 高通股份有限公司 Notice system based on Smart Logo board
CN107911477A (en) * 2017-12-06 2018-04-13 深圳市智物联网络有限公司 A kind of data communications method, apparatus and system

Similar Documents

Publication Publication Date Title
CN102724209A (en) Session initialization protocol (SIP)-based file transmission method, terminal and application server
US10536490B2 (en) Apparatus and method for communications involving a legacy device
KR101150594B1 (en) Method and apparatus for cpm session management
JP6104388B2 (en) Information processing method, priority information transmission method and apparatus
CN102546559B (en) The method, apparatus and system of end-to-end transmission data in limited network
CN106464685A (en) Adaptive allocation of server resources
RU2009135239A (en) WAYS OF ACCESS TO REMOTE DATA FOR PORTABLE DEVICES
EP2710776B1 (en) Anonymous signalling
CN105307144B (en) A kind of register method, method of calling, application server and network domain arrangement
CN110661753B (en) Network registration method, device and system
CN105743958A (en) Terminal-to-terminal communication method and device
CN104641686A (en) Vvoip call transfer
US20140304419A1 (en) System and terminal for p2p connection in mobile environment and method for p2p connection using the same
CN104125145A (en) Web browser based communication method, web browser based communication equipment and web browser based communication system
US20150381716A1 (en) Method and system for sharing files over p2p
CN102364924A (en) Calling identification information sending and receiving control method, terminal and system thereof
CN102611948A (en) Method for sharing and issuing audios and videos of mobile internet terminal
CN101426261B (en) Method for service handling of multimedia subsystem, P-CSCF, I-CSCF and subsystem
CN110012107B (en) Data communication method, equipment, device, system and storage medium
WO2015172629A1 (en) Message transmission method, apparatus and system
CN102984405A (en) Method and system for realizing call route
CN106612307B (en) A kind of implementation method and device of always online business
KR102362313B1 (en) Communication server and method for connecting call service and web service
CN107231426A (en) A kind of multiple data centers access method, proxy server and system
CN104767721A (en) Method and network unit for providing core network service for third-party user

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121010