CN106470222A - A kind of document transmission method, device and application server - Google Patents
A kind of document transmission method, device and application server Download PDFInfo
- Publication number
- CN106470222A CN106470222A CN201510507117.3A CN201510507117A CN106470222A CN 106470222 A CN106470222 A CN 106470222A CN 201510507117 A CN201510507117 A CN 201510507117A CN 106470222 A CN106470222 A CN 106470222A
- Authority
- CN
- China
- Prior art keywords
- file
- application server
- transmission
- user
- value
- 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
- 230000005540 biological transmission Effects 0.000 title claims abstract description 178
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000012546 transfer Methods 0.000 claims abstract description 68
- 230000000977 initiatory effect Effects 0.000 claims description 30
- 238000004891 communication Methods 0.000 abstract description 14
- 238000012545 processing Methods 0.000 abstract description 7
- 230000008569 process Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 230000003993 interaction Effects 0.000 description 7
- 238000011161 development Methods 0.000 description 3
- 230000010354 integration Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
- Computer And Data Communications (AREA)
Abstract
本发明提供了一种文件传输方法、装置及应用服务器,涉及融合通信领域,其中文件传输方法包括:第一应用服务器接收第一用户发送的第一传输文件并将所述第一传输文件存储至文件共享存储设备;所述第一应用服务器根据所述第一传输文件在所述文件共享存储设备中的存储路径生成第一值;所述第一应用服务器将所述第一值发送给第二应用服务器,使得第二用户通过所述第二应用服务器获取所述第一传输文件,节省了系统资源,减轻系统在文件传输过程中的处理负担,提高融合通信业务的整体快捷性。
The present invention provides a file transmission method, device and application server, which relate to the field of converged communication, wherein the file transmission method includes: the first application server receives the first transmission file sent by the first user and stores the first transmission file in A file sharing storage device; the first application server generates a first value according to the storage path of the first transfer file in the file sharing storage device; the first application server sends the first value to the second The application server enables the second user to obtain the first transmission file through the second application server, which saves system resources, reduces the processing burden of the system during the file transmission process, and improves the overall quickness of converged communication services.
Description
技术领域technical field
本发明涉及融合通信领域,尤其涉及一种文件传输方法、装置及应用服务器。The invention relates to the field of integrated communication, in particular to a file transmission method, device and application server.
背景技术Background technique
基于IP的下一代通信网络以及宽带通信网络等的演进和发展,3G、LTE等移动通信和无线接入技术的不断涌现,促进了移动与互联网的融合,与此同时,手机终端也经历了前所未有的发展,从原先功能单一、以语音通话为主的非智能机到如今功能强大、友好易用、互联网体验出色的智能手机,手机智能化成为未来的发展趋势,也为未来移动互联网应用的发展注入了新的活力。在移动互联网融合的过程中,终端厂商以及互联网公司凭借其在终端领域或者互联网领域的巨大优势进军移动领域,打破了原有电信产业格局。传统运营商为了应对挑战,推出了RCS(Rich Communication Suite),为用户提供融合、丰富的通信体验。The evolution and development of IP-based next-generation communication networks and broadband communication networks, and the continuous emergence of mobile communication and wireless access technologies such as 3G and LTE have promoted the integration of mobile and the Internet. At the same time, mobile terminals have experienced unprecedented From the original non-smart phone with a single function and mainly for voice calls to the powerful, friendly and easy-to-use smart phone with excellent Internet experience, the intelligentization of mobile phones has become the future development trend, and it is also the future development of mobile Internet applications. Infused with new vitality. In the process of mobile Internet integration, terminal manufacturers and Internet companies have entered the mobile field by virtue of their huge advantages in the terminal field or the Internet field, breaking the original structure of the telecommunications industry. In order to meet the challenges, traditional operators launched RCS (Rich Communication Suite) to provide users with integrated and rich communication experience.
随着RCS融合通信业务的推广,业务量越来越大,文件传输流量爆发性增长,特别是用户之间图片、音频、视频文件共享。移动终端的摄像设备不断更新换代,单个图片、视频文件也越来越大。文件的存储、转发性能严重制约了整个RCS系统的处理能力,同时也影响了运营商RCS业务的推广。With the promotion of RCS converged communication services, the business volume is getting bigger and bigger, and the file transfer traffic is growing explosively, especially the sharing of pictures, audio, and video files between users. The camera equipment of the mobile terminal is constantly updated, and the single picture and video files are getting larger and larger. The storage and forwarding performance of files seriously restricts the processing capability of the entire RCS system, and also affects the promotion of RCS services of operators.
发明内容Contents of the invention
为了克服上述问题,本发明提供一种文件传输方法、装置及应用服务器,将所要传输的文件通过一文件共享存储设备进行存入与读取,来克服文件的存储、转发制约系统处理能力的问题。In order to overcome the above problems, the present invention provides a file transmission method, device and application server, which store and read the files to be transmitted through a file sharing storage device, so as to overcome the problem that the storage and forwarding of files restrict the processing capacity of the system .
为了解决上述技术问题,本发明实施例采用如下技术方案:In order to solve the above technical problems, the embodiment of the present invention adopts the following technical solutions:
一种文件传输方法,包括:第一应用服务器接收第一用户发送的第一传输文件并将所述第一传输文件存储至文件共享存储设备;所述第一应用服务器根据所述第一传输文件在所述文件共享存储设备中的存储路径生成第一值;所述第一应用服务器将所述第一值发送给第二应用服务器,使得第二用户通过所述第二应用服务器获取所述第一传输文件。A method for file transmission, comprising: a first application server receiving a first transmission file sent by a first user and storing the first transmission file in a file sharing storage device; the first application server according to the first transmission file The storage path in the file sharing storage device generates a first value; the first application server sends the first value to a second application server, so that the second user obtains the first value through the second application server 1. Transfer files.
可选地,所述文件共享存储设备为本地共享存储设备或者网络共享存储设备。Optionally, the file shared storage device is a local shared storage device or a network shared storage device.
可选地,所述第一应用服务器将所述第一值发送给第二应用服务器的步骤包括:所述第一应用服务器发送携带有所述第一值的第一会话初始协议SIP消息给所述第二应用服务器。Optionally, the step of the first application server sending the first value to the second application server includes: the first application server sending a first session initiation protocol SIP message carrying the first value to the second application server. The second application server.
可选地,所述第一值为所述第一传输文件在所述文件共享存储设备中的特征码或存储路径的统一资源定位符URL。Optionally, the first value is a feature code of the first transmission file in the file sharing storage device or a Uniform Resource Locator URL of a storage path.
一种文件传输装置,包括:第一接收模块,用于接收第一用户发送的第一传输文件并将所述第一传输文件存储至文件共享存储设备;计算模块,用于根据所述第一传输文件在所述文件共享存储设备中的存储路径生成第一值;第一发送模块,用于将所述第一值发送给第二应用服务器,使得第二用户通过所述第二应用服务器获取所述第一传输文件。A file transmission device, comprising: a first receiving module, configured to receive a first transmission file sent by a first user and store the first transmission file in a file sharing storage device; a calculation module, configured to The storage path of the transmission file in the file sharing storage device generates a first value; the first sending module is configured to send the first value to a second application server, so that the second user obtains the first value through the second application server The first transfer file.
可选地,所述文件共享存储设备为本地共享存储设备或者网络共享存储设备。Optionally, the file shared storage device is a local shared storage device or a network shared storage device.
可选地,所述第一发送模块还用于发送携带有所述第一值的第一会话初始协议SIP消息给所述第二应用服务器。Optionally, the first sending module is further configured to send a first Session Initiation Protocol SIP message carrying the first value to the second application server.
一种应用服务器,包括如上所述的文件传输装置。An application server includes the above-mentioned file transmission device.
一种文件传输方法,包括:第二应用服务器接收第一应用服务器发送的第一值,所述第一值为根据第一传输文件在一文件共享存储设备中的存储路径生成;所述第二应用服务器根据所述第一值获取所述第一传输文件的存储路径;所述第二应用服务器根据所述存储路径读取所述第一传输文件并发送所述第一传输文件至第二用户。A file transfer method, comprising: a second application server receives a first value sent by a first application server, the first value is generated according to a storage path of a first transfer file in a file sharing storage device; the second The application server obtains the storage path of the first transmission file according to the first value; the second application server reads the first transmission file according to the storage path and sends the first transmission file to the second user .
可选地,所述第二应用服务器根据所述第一值获取所述第一传输文件的存储路径的步骤包括:所述第二应用服务器接收所述第一应用服务器发送的第一会话初始协议SIP消息,所述第一会话初始协议SIP消息携带有所述第一值;所述第二应用服务器根据所述第一会话初始协议SIP消息中的第一值获取所述第一传输文件的存储路径。Optionally, the step of the second application server obtaining the storage path of the first transfer file according to the first value includes: the second application server receiving the first session initiation protocol sent by the first application server SIP message, the first session initiation protocol SIP message carries the first value; the second application server obtains the storage of the first transmission file according to the first value in the first session initiation protocol SIP message path.
可选地,所述第二应用服务器根据所述存储路径读取所述第一传输文件并发送所述第一传输文件至第二用户的步骤包括:所述第二应用服务器发送第二会话初始协议SIP消息给所述第二用户,协商并建立消息会话传递协议MSRP传输通道;所述第二应用服务器根据所述存储路径读取所述第一传输文件并通过所述MSRP传输通道将所述第一传输文件发送至所述第二用户。Optionally, the step of the second application server reading the first transmission file according to the storage path and sending the first transmission file to the second user includes: the second application server sending a second session initiation The protocol SIP message is sent to the second user to negotiate and establish a message session delivery protocol MSRP transmission channel; the second application server reads the first transmission file according to the storage path and transfers the first transmission file through the MSRP transmission channel The first transmission file is sent to the second user.
可选地,所述第二应用服务器根据所述存储路径读取所述第一传输文件并通过所述MSRP传输通道将所述第一传输文件发送至所述第二用户的步骤包括:所述第二应用服务器根据所述存储路径直接读取所述第一传输文件并通过所述MSRP传输通道将所述第一传输文件发送至所述第二用户;或者所述第二应用服务器接收所述第二用户根据所述第二会话初始协议SIP消息主动发送的下载请求,并根据所述存储路径读取所述第一传输文件,通过所述MSRP传输通道将所述第一传输文件发送至所述第二用户。Optionally, the step of the second application server reading the first transmission file according to the storage path and sending the first transmission file to the second user through the MSRP transmission channel includes: the The second application server directly reads the first transmission file according to the storage path and sends the first transmission file to the second user through the MSRP transmission channel; or the second application server receives the The second user actively sends the download request according to the second session initiation protocol SIP message, reads the first transmission file according to the storage path, and sends the first transmission file to the said first transmission file through the MSRP transmission channel. Describe the second user.
可选地,所述第一值为所述第一传输文件在所述文件共享存储设备中的特征码或存储路径的统一资源定位符URL。Optionally, the first value is a feature code of the first transmission file in the file sharing storage device or a Uniform Resource Locator URL of a storage path.
一种文件传输装置,包括:第二接收模块,用于接收第一应用服务器发送的第一值,所述第一值为根据第一传输文件在一文件共享存储设备中的存储路径生成;获取模块,用于根据所述第一值获取所述第一传输文件的存储路径;第二发送模块,用于根据所述存储路径读取所述第一传输文件并发送所述第一传输文件至第二用户。A file transmission device, comprising: a second receiving module, configured to receive a first value sent by a first application server, the first value is generated according to a storage path of a first transmission file in a file sharing storage device; obtaining A module, configured to acquire the storage path of the first transmission file according to the first value; a second sending module, configured to read the first transmission file according to the storage path and send the first transmission file to second user.
可选地,所述获取模块还用于接收所述第一应用服务器发送的第一会话初始协议SIP消息,所述第一会话初始协议SIP消息携带有所述第一值并根据所述第一会话初始协议SIP消息中的第一值获取所述第一传输文件的存储路径。Optionally, the acquiring module is further configured to receive a first Session Initiation Protocol SIP message sent by the first application server, the first Session Initiation Protocol SIP message carrying the first value and based on the first The first value in the SIP message obtains the storage path of the first transmission file.
可选地,所述第二发送模块还用于发送第二会话初始协议SIP消息给所述第二用户,协商并建立消息会话传递协议MSRP传输通道并根据所述存储路径读取所述第一传输文件并通过所述MSRP传输通道将所述第一传输文件发送至所述第二用户。Optionally, the second sending module is further configured to send a second Session Initiation Protocol SIP message to the second user, negotiate and establish a message session transfer protocol MSRP transmission channel and read the first message according to the storage path. transfer the file and send the first transfer file to the second user through the MSRP transfer channel.
可选地,所述第二发送模块还用于根据所述存储路径直接读取所述第一传输文件并通过所述MSRP传输通道将所述第一传输文件发送至所述第二用户;或者接收所述第二用户根据所述第二会话初始协议SIP消息主动发送的下载请求,并根据所述存储路径读取所述第一传输文件,通过所述MSRP传输通道将所述第一传输文件发送至所述第二用户。Optionally, the second sending module is further configured to directly read the first transmission file according to the storage path and send the first transmission file to the second user through the MSRP transmission channel; or receiving the download request actively sent by the second user according to the second Session Initiation Protocol SIP message, and reading the first transmission file according to the storage path, and uploading the first transmission file through the MSRP transmission channel sent to the second user.
一种应用服务器,包括如上所述的文件传输装置。An application server includes the above-mentioned file transmission device.
本发明的有益效果是:The beneficial effects of the present invention are:
本发明的方案将需要传输的文件存储至文件共享存储设备中,通过传递根据文件存储路径产生的相关值,并不传输具体的文件内容,来实现文件的发送传递,从而减少MSRP媒体服务器收发流量及文件转存操作,节省融合通信系统的业务处理能力,减轻系统在文件传输过程中的处理负担,提高融合通信业务的整体快捷性。The scheme of the present invention stores the files to be transmitted in the file sharing storage device, and realizes the transmission and delivery of files by transmitting the relevant values generated according to the file storage path without transmitting the specific file content, thereby reducing the sending and receiving traffic of the MSRP media server and file transfer operations, saving the business processing capacity of the converged communication system, reducing the processing burden of the system during the file transfer process, and improving the overall speed of the converged communication business.
附图说明Description of drawings
图1为本发明中第一种文件传输方法的流程示意图;Fig. 1 is a schematic flow chart of the first file transfer method in the present invention;
图2为本发明中第一种文件传输装置的结构示意图;Fig. 2 is a schematic structural diagram of the first file transmission device in the present invention;
图3为本发明中第二种文件传输方法的流程示意图;Fig. 3 is a schematic flow chart of the second file transfer method in the present invention;
图4为第二应用服务器与第二用户间第一种交互方式下的文件传输过程示意图;Fig. 4 is a schematic diagram of the file transfer process under the first interaction mode between the second application server and the second user;
图5为第二应用服务器与第二用户间第二种交互方式下的文件传输过程示意图;5 is a schematic diagram of a file transfer process in a second interaction mode between a second application server and a second user;
图6为本发明中第二种文件传输装置的结构示意图。FIG. 6 is a schematic structural diagram of a second file transmission device in the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
为克服融合系统中文件的存储、转发制约系统处理能力的问题,根据图1所示,图1为本发明中第一种文件传输方法的流程示意图,本发明公开了一种文件传输方法,包括:In order to overcome the problem that the storage and forwarding of files in the fusion system restrict the processing capacity of the system, as shown in Figure 1, Figure 1 is a schematic flow chart of the first file transmission method in the present invention. The present invention discloses a file transmission method, including :
步骤11,第一应用服务器接收第一用户发送的第一传输文件并将第一传输文件存储至文件共享存储设备;Step 11, the first application server receives the first transmission file sent by the first user and stores the first transmission file in the file sharing storage device;
步骤12,第一应用服务器根据第一传输文件在文件共享存储设备中的存储路径生成第一值;Step 12, the first application server generates a first value according to the storage path of the first transfer file in the file sharing storage device;
步骤13,第一应用服务器将第一值发送给第二应用服务器,使得第二用户通过第二应用服务器获取第一传输文件。Step 13, the first application server sends the first value to the second application server, so that the second user obtains the first transmission file through the second application server.
该实施例中,当第一用户需要向第二用户传输文件时,先将该文件发送给第一用户所从属的第一应用服务器,第一应用服务器将文件存储至一共享存储设备并获取第一传输文件在文件共享存储设备中的存储路径,第一应用服务器根据该存储路径生成第一值,其中该第一值是用于使接收方获取文件的存储路径以便获取第一传输文件,第一应用服务器再将该第一值发送给第二应用服务器,使得第二用户能通过第二应用服务器获取该第一传输文件。In this embodiment, when a first user needs to transfer a file to a second user, the file is first sent to the first application server to which the first user belongs, and the first application server stores the file in a shared storage device and obtains the second file. A storage path of a transmission file in the file sharing storage device, the first application server generates a first value according to the storage path, wherein the first value is used to enable the receiver to obtain the storage path of the file in order to obtain the first transmission file, the first An application server then sends the first value to a second application server, so that the second user can obtain the first transmission file through the second application server.
在现有技术中,一个用户发送文件给另一用户时,正常流程是第一用户先发送文件到第一用户归属的第一应用服务器,第一应用服务器存储、转发该文件至第二用户归属的第二应用服务器,第二应用服务器再存储、转发该文件到第二用户,该存储转发过程十分麻烦且占用系统资源,本发明提供的方法在第一用户向第二用户传输文件的过程中,经由文件共享存储设备,第一应用服务器和第二应用服务器之间只需传输能使对方获知文件存储路径的第一值,并不传输具体的文件内容,减少了应用服务器之间的文件内容传输及应用服务器对传输文件的读写操作,从而可节省整个融合通信系统的文件存储、转发的能力。In the prior art, when a user sends a file to another user, the normal process is that the first user first sends the file to the first application server to which the first user belongs, and the first application server stores and forwards the file to the second user’s home the second application server, and the second application server stores and forwards the file to the second user. The process of storing and forwarding is very cumbersome and takes up system resources. , through the file sharing storage device, the first application server and the second application server only need to transmit the first value that enables the other party to know the file storage path, and do not transmit specific file content, which reduces the file content between application servers The transmission and application server read and write operations on the transmitted files, thereby saving the file storage and forwarding capabilities of the entire converged communication system.
相应地,第一应用服务器将第一值发送给第二应用服务器的步骤包括:第一应用服务器发送携带有第一值的第一会话初始协议SIP消息给第二应用服务器。即,第一应用服务器在给第二应用服务器发送第一值时,发送方式具体可以是通过以发送携带有该第一值的会话初始协议SIP消息的形式发送给对方。Correspondingly, the step of the first application server sending the first value to the second application server includes: the first application server sending a first session initiation protocol SIP message carrying the first value to the second application server. That is, when the first application server sends the first value to the second application server, the sending method may specifically be by sending a Session Initiation Protocol SIP message carrying the first value to the other party.
其中,文件共享存储设备为本地共享存储设备或者网络共享存储设备。当第一应用服务器与第二应用服务器处于同一局点时,第一应用服务器将第一传输文件存储至该局点的本地共享存储设备,当第一应用服务器与第二应用服务器不处于同一局点时,第一应用服务器将第一传输文件存储至网络共享存储设备。该方法根据不同的具体情况及实际需要,共享存储设备的使用不仅仅局限于应用服务器属于同一局点时的情况,引入网络共享存储设备,多个融合通信应用服务器或多个融合通信局点之间通过共享存储设备,避免文件内容多次转发,把传统的本地存储设备替换成网络共享存储设备,还可以扩展为多个不同地点的局点使用一套共享存储设备的方式来减少不同局点之间的文件转发存储操作,提高系统性能。Wherein, the file sharing storage device is a local shared storage device or a network shared storage device. When the first application server and the second application server are in the same site, the first application server stores the first transmission file in the local shared storage device of the site; At this point, the first application server stores the first transmission file to the network shared storage device. In this method, according to different specific situations and actual needs, the use of shared storage devices is not limited to the situation when the application server belongs to the same site, and the introduction of network shared storage devices, between multiple converged communication application servers or multiple converged communication sites By sharing storage devices between users, avoiding multiple forwarding of file content, replacing traditional local storage devices with network shared storage devices, it can also be extended to use a set of shared storage devices for multiple sites in different locations to reduce the number of different sites File forwarding and storage operations between files improve system performance.
且,第一值为第一传输文件在文件共享存储设备中的特征码或存储路径的统一资源定位符URL。在该第一应用服务器发送第一传输文件的过程中,本实施例所提到的该第一值可以是代表第一传输文件在文件共享存储设备中存储路径的特征码也可以是该传输文件的存储路径的统一资源定位符URL或者是其他能够使接收方获取该传输文件的任意形式。Moreover, the first value is a characteristic code of the first transmission file in the file sharing storage device or a uniform resource locator URL of a storage path. In the process of the first application server sending the first transmission file, the first value mentioned in this embodiment may be a feature code representing the storage path of the first transmission file in the file sharing storage device, or it may be the transmission file The Uniform Resource Locator URL of the storage path or any other form that enables the receiver to obtain the transferred file.
如图2所示,图2为本发明中第一种文件传输装置的结构示意图,本发明提供一种与第一应用服务器端的文件传输方法相对应的文件传输装置,包括:As shown in Figure 2, Figure 2 is a schematic structural diagram of the first file transfer device in the present invention. The present invention provides a file transfer device corresponding to the file transfer method on the first application server, including:
第一接收模块,用于接收第一用户发送的第一传输文件并将第一传输文件存储至文件共享存储设备;The first receiving module is configured to receive the first transmission file sent by the first user and store the first transmission file in the file sharing storage device;
计算模块,用于根据第一传输文件在文件共享存储设备中的存储路径生成第一值;A calculation module, configured to generate a first value according to the storage path of the first transfer file in the file sharing storage device;
第一发送模块,用于将第一值发送给第二应用服务器,使得第二用户通过第二应用服务器获取第一传输文件。该装置与第一应用服务器端的文件传输方法相对应,实现了通过一文件共享存储设备来减少服务器端的文件存储转发量。The first sending module is configured to send the first value to the second application server, so that the second user obtains the first transmission file through the second application server. The device corresponds to the file transmission method at the first application server end, and realizes reducing the amount of file storage and forwarding at the server end through a file sharing storage device.
其中,文件共享存储设备为本地共享存储设备或者网络共享存储设备。当第一应用服务器与第二应用服务器处于同一局点时,该文件共享存储设备相对应的可以为本地共享存储设备,当第一应用服务器与第二应用服务器不处于同一局点时,该文件共享存储设备为网络共享存储设,其中第一发送模块还可通过发送携带有第一值的会话初始协议SIP消息给第二应用服务器。Wherein, the file sharing storage device is a local shared storage device or a network shared storage device. When the first application server and the second application server are at the same site, the file shared storage device may correspond to a local shared storage device; when the first application server and the second application server are not at the same site, the file The shared storage device is a network shared storage device, wherein the first sending module may also send a Session Initiation Protocol SIP message carrying the first value to the second application server.
本发明还公开一种应用服务器,包括如上所述的文件传输装置。该应用服务器可以减少服务器端的存储转发量,实现应用服务器的减负工作。The present invention also discloses an application server, which includes the above-mentioned file transmission device. The application server can reduce the amount of storage and forwarding at the server end, and realize the load reduction of the application server.
相对应地,应用于第二应用服务器侧的方法,包括:Correspondingly, the method applied to the second application server side includes:
步骤21,第二应用服务器接收第一应用服务器发送的第一值,第一值为根据第一传输文件在一文件共享存储设备中的存储路径生成;Step 21, the second application server receives the first value sent by the first application server, and the first value is generated according to the storage path of the first transfer file in a file sharing storage device;
步骤22,第二应用服务器根据第一值获取第一传输文件的存储路径;Step 22, the second application server obtains the storage path of the first transmission file according to the first value;
步骤23,第二应用服务器根据存储路径读取第一传输文件并发送第一传输文件至第二用户。Step 23, the second application server reads the first transmission file according to the storage path and sends the first transmission file to the second user.
该实施例中,第二应用服务器端的文件传输方法为当第一应用服务器发送第一值时,第二应用服务器接收第一值,其中第一值为根据第一传输文件在文件共享存储设备中的存储路径生成,由此第二应用服务器根据第一值获取第一传输文件的存储路径并根据存储路径读取第一传输文件发送至第二用户,使得第二用户得到第一用户发送的传输文件,通过接收根据文件存储路径产生的相关值,并不传输具体的文件内容,来节省空间资源。In this embodiment, the file transfer method at the second application server end is that when the first application server sends the first value, the second application server receives the first value, wherein the first value is stored in the file sharing storage device according to the first transfer file The storage path is generated, so that the second application server obtains the storage path of the first transmission file according to the first value and reads the first transmission file according to the storage path and sends it to the second user, so that the second user can get the transmission sent by the first user Files save space resources by receiving relevant values generated according to the file storage path without transmitting specific file content.
其中,第二应用服务器根据第一值获取第一传输文件的存储路径的步骤包括:第二应用服务器接收第一应用服务器发送的第一会话初始协议SIP消息,第一会话初始协议SIP消息携带有第一值;第二应用服务器根据第一会话初始协议SIP消息中的第一值获取第一传输文件的存储路径。即,第二应用服务器在获取文件存储路径时,通过接收第一应用服务器发送的携带有该第一值的SIP消息,即可根据该第一值获取第一传输文件的存储路径。Wherein, the step of the second application server obtaining the storage path of the first transmission file according to the first value includes: the second application server receives the first session initiation protocol SIP message sent by the first application server, the first session initiation protocol SIP message carries The first value; the second application server acquires the storage path of the first transmission file according to the first value in the first SIP message. That is, when obtaining the file storage path, the second application server can obtain the storage path of the first transmission file according to the first value by receiving the SIP message carrying the first value sent by the first application server.
其中,第二应用服务器根据存储路径读取第一传输文件并发送第一传输文件至第二用户的步骤包括:第二应用服务器发送第二会话初始协议SIP消息给第二用户,协商并建立消息会话传递协议MSRP传输通道;第二应用服务器根据存储路径读取第一传输文件并通过MSRP传输通道将第一传输文件发送至第二用户。在第二应用服务器根据存储路径读取第一传输文件并发送该传输文件至第二用户的这一过程中,第二应用服务器先发送第二SIP消息给第二用户,在第二用户收到该SIP消息后,两者之间协商并建立MSRP传输通道;在MSRP传输通道建立之后,第二应用服务器根据获得的存储路径读取第一传输文件并通过MSRP传输通道将该传输文件发送至第二用户,至此第二用户得到第一用户发送的文件。Wherein, the step of the second application server reading the first transmission file according to the storage path and sending the first transmission file to the second user includes: the second application server sends a second Session Initiation Protocol SIP message to the second user, negotiates and establishes a message Session transfer protocol MSRP transmission channel: the second application server reads the first transmission file according to the storage path and sends the first transmission file to the second user through the MSRP transmission channel. In the process of the second application server reading the first transmission file according to the storage path and sending the transmission file to the second user, the second application server first sends the second SIP message to the second user, and the second user receives the After the SIP message, the two negotiate and establish an MSRP transmission channel; after the MSRP transmission channel is established, the second application server reads the first transmission file according to the obtained storage path and sends the transmission file to the second application server through the MSRP transmission channel. Two users, so far the second user has obtained the file sent by the first user.
其中,第二应用服务器根据存储路径读取第一传输文件并通过MSRP传输通道将第一传输文件发送至第二用户的步骤包括:第二应用服务器根据存储路径直接读取第一传输文件并通过MSRP传输通道将第一传输文件发送至第二用户;或者第二应用服务器接收第二用户根据第二会话初始协议SIP消息主动发送的下载请求,并根据存储路径读取第一传输文件,通过MSRP传输通道将第一传输文件发送至第二用户。Wherein, the step of the second application server reading the first transmission file according to the storage path and sending the first transmission file to the second user through the MSRP transmission channel includes: the second application server directly reads the first transmission file according to the storage path and transmits the first transmission file through the MSRP transmission channel. The MSRP transmission channel sends the first transmission file to the second user; or the second application server receives the download request actively sent by the second user according to the second Session Initiation Protocol SIP message, and reads the first transmission file according to the storage path, and passes the MSRP The transmission channel sends the first transmission file to the second user.
即,如图4、图5所示,图4为第二应用服务器与第二用户间第一种交互方式下的文件传输过程示意图,图5为第二应用服务器与第二用户间第二种交互方式下的文件传输过程示意图,第二应用服务器根据存储路径读取第一传输文件并通过MSRP传输通道将第一传输文件发送至第二用户的过程中,第二应用服务器与第二用户之间涉及两种具体的交互方式,第一种是在建立MSRP传输通道之后,第二应用服务器直接读取第一传输文件并下发给第二用户;第二种是第二用户在建立传输通道时根据第二应用服务器发送的SIP消息主动发送下载请求至第二应用服务器,第二应用服务器根据下载请求读取第一传输文件并下发给第二用户。That is, as shown in Figure 4 and Figure 5, Figure 4 is a schematic diagram of the file transfer process in the first interaction mode between the second application server and the second user, and Figure 5 is a second interaction mode between the second application server and the second user Schematic diagram of the file transfer process in interactive mode, the second application server reads the first transfer file according to the storage path and sends the first transfer file to the second user through the MSRP transfer channel, the connection between the second application server and the second user There are two specific interaction methods involved. The first is that after the MSRP transmission channel is established, the second application server directly reads the first transmission file and sends it to the second user; the second is that the second user establishes the transmission channel At this time, the download request is actively sent to the second application server according to the SIP message sent by the second application server, and the second application server reads the first transmission file according to the download request and sends it to the second user.
第二应用服务器将文件内容传输给第二用户的第一种交互方式的步骤描述如下:The steps of the first interaction mode in which the second application server transmits the file content to the second user are described as follows:
步骤31:第二应用服务器发送SIP消息给第二用户,协商并建立MSRP传输通道;Step 31: the second application server sends a SIP message to the second user, negotiates and establishes an MSRP transmission channel;
步骤32:第二应用服务器读取该文件内容;Step 32: the second application server reads the content of the file;
步骤33:第二应用服务器通过MSRP传输通道转发给第二用户。Step 33: The second application server forwards it to the second user through the MSRP transmission channel.
以及,第二应用服务器将文件内容传输给第二用户的第二种交互方式的步骤描述如下:And, the steps of the second interaction mode in which the second application server transmits the file content to the second user are described as follows:
步骤41:第二应用服务器发送SIP消息给第二用户,协商并建立MSRP传输通道;Step 41: the second application server sends a SIP message to the second user, negotiates and establishes an MSRP transmission channel;
步骤42:第二用户根据接收到的SIP消息,主动发下载请求消息至第二应用服务器来下载文件;Step 42: The second user actively sends a download request message to the second application server to download the file according to the received SIP message;
步骤43:第二应用服务器接收下载请求消息并通过MSRP传输通道转发给第二用户。Step 43: The second application server receives the download request message and forwards it to the second user through the MSRP transmission channel.
其中,第一值为第一传输文件在文件共享存储设备中的特征码或存储路径的统一资源定位符URL。当第一应用服务器与第二应用服务器处于同一局点时,第二应用服务器从该局点的本地共享存储设备中获取第一传输文件,当第一应用服务器与第二应用服务器不处于同一局点时,第二应用服务器从网络共享存储设备中获取第一传输文件。其中,如果第一值为第一传输文件在文件共享存储设备中的特征码,第二应用服务器则需计算得到文件存储路径,如果第一值为URL则第二应用服务器可以直接得到文件存储路径,第一值的具体形式可根据实际需要具体调整。Wherein, the first value is the characteristic code of the first transmission file in the file sharing storage device or the uniform resource locator URL of the storage path. When the first application server and the second application server are in the same site, the second application server obtains the first transmission file from the local shared storage device of the site; At this point, the second application server obtains the first transmission file from the network shared storage device. Wherein, if the first value is the feature code of the first transfer file in the file sharing storage device, the second application server needs to calculate the file storage path; if the first value is URL, the second application server can directly obtain the file storage path , the specific form of the first value can be specifically adjusted according to actual needs.
如图6所示,图6为本发明中第二种文件传输装置的结构示意图,本发明还提供一种与第二应用服务器端的文件传输方法相对应的文件传输装置,包括:As shown in Figure 6, Figure 6 is a schematic structural diagram of the second file transfer device in the present invention, and the present invention also provides a file transfer device corresponding to the file transfer method at the second application server end, including:
第二接收模块,用于接收第一应用服务器发送的第一值,第一值为根据第一传输文件在一文件共享存储设备中的存储路径生成;The second receiving module is configured to receive the first value sent by the first application server, the first value is generated according to the storage path of the first transmission file in a file sharing storage device;
获取模块,用于根据第一值获取第一传输文件的存储路径;An acquisition module, configured to acquire the storage path of the first transmission file according to the first value;
第二发送模块,用于根据存储路径读取第一传输文件并发送第一传输文件至第二用户。The second sending module is configured to read the first transmission file according to the storage path and send the first transmission file to the second user.
其中获取模块还可以通过接收第一应用服务器发送的携带有第一值的SIP消息,并根据该SIP消息中的第一值获取第一传输文件的存储路径。其中,第二发送模块还可以通过发送第二SIP消息给第二用户,协商并建立MSRP传输通道,即可将根据存储路径读取的第一传输文件通过MSRP传输通道发送至第二用户,使第二用户得到第一用户发送的文件,节省了系统资源,减轻系统在文件传输过程中的处理负担。The acquiring module can also acquire the storage path of the first transmission file according to the first value in the SIP message by receiving the SIP message carrying the first value sent by the first application server. Wherein, the second sending module can also send the second SIP message to the second user to negotiate and establish the MSRP transmission channel, so that the first transmission file read according to the storage path can be sent to the second user through the MSRP transmission channel, so that The second user obtains the file sent by the first user, which saves system resources and reduces the processing burden of the system during the file transfer process.
其中,第二发送模块还可以根据存储路径直接读取第一传输文件并通过MSRP传输通道将第一传输文件发送至第二用户;或者,接收第二用户根据第二会话初始协议SIP消息主动发送的下载请求,并根据存储路径读取第一传输文件,通过MSRP传输通道将第一传输文件发送至第二用户,即,当第二用户根据接收到的第二SIP消息主动发送下载请求时,第二发送模块接收该下载请求并根据存储路径读取第一传输文件,再通过MSRP传输通道将第一传输文件发送给第二用户。Wherein, the second sending module can also directly read the first transmission file according to the storage path and send the first transmission file to the second user through the MSRP transmission channel; download request, read the first transmission file according to the storage path, and send the first transmission file to the second user through the MSRP transmission channel, that is, when the second user actively sends the download request according to the received second SIP message, The second sending module receives the download request, reads the first transmission file according to the storage path, and then sends the first transmission file to the second user through the MSRP transmission channel.
本发明还公开另一种应用服务器,包括如上所述的文件传输装置。The present invention also discloses another application server, which includes the above-mentioned file transmission device.
通过该应用服务器之间的配合,可减少第一应用服务器和第二应用服务器之间的文件内容存储、转发,从而提高了整个融合通信系统的文件存储、转发能力,提高整体性能,改善用户体验度。Through the cooperation between the application servers, the storage and forwarding of file content between the first application server and the second application server can be reduced, thereby improving the file storage and forwarding capabilities of the entire converged communication system, improving overall performance, and improving user experience Spend.
以上所述的是本发明的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本发明所述的原理前提下还可以作出若干改进和润饰,这些改进和润饰也在本发明的保护范围内。What has been described above is a preferred embodiment of the present invention. It should be pointed out that for those skilled in the art, some improvements and modifications can be made without departing from the principles described in the present invention. within the scope of protection of the invention.
Claims (18)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510507117.3A CN106470222A (en) | 2015-08-18 | 2015-08-18 | A kind of document transmission method, device and application server |
PCT/CN2016/076536 WO2016177121A1 (en) | 2015-08-18 | 2016-03-16 | File transmission method and device, and application server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510507117.3A CN106470222A (en) | 2015-08-18 | 2015-08-18 | A kind of document transmission method, device and application server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106470222A true CN106470222A (en) | 2017-03-01 |
Family
ID=57218479
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510507117.3A Pending CN106470222A (en) | 2015-08-18 | 2015-08-18 | A kind of document transmission method, device and application server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106470222A (en) |
WO (1) | WO2016177121A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582935A (en) * | 2017-09-28 | 2019-04-05 | 北京国双科技有限公司 | A kind of data processing method and device, storage medium, processor |
CN111385277A (en) * | 2018-12-29 | 2020-07-07 | 中兴通讯股份有限公司 | File transfer method between RCS systems and RCS interworking gateway |
CN111625508A (en) * | 2020-06-01 | 2020-09-04 | 联想(北京)有限公司 | Information processing method and device |
CN112671899A (en) * | 2020-12-23 | 2021-04-16 | 中移(杭州)信息技术有限公司 | File transmission method, file transmission device and file transmission system |
CN113098957A (en) * | 2021-03-31 | 2021-07-09 | 深圳市商汤科技有限公司 | Data transmission method and related product |
CN115484242A (en) * | 2021-06-15 | 2022-12-16 | 中国移动通信有限公司研究院 | Transmission method, device, equipment and readable storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114301852B (en) * | 2020-09-23 | 2025-07-29 | 深圳市中兴微电子技术有限公司 | Message transmission control, generation and transmission methods, message transmission configuration methods, message transmission control, generation and transmission configuration equipment and message transmission configuration medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047610B (en) * | 2007-04-30 | 2012-07-11 | 华为技术有限公司 | Data storage, reading, transmission method and management server and network node |
KR20090112821A (en) * | 2008-04-25 | 2009-10-29 | (주)미래하이텍 | Network Router for Mobile Phone Information Sharing |
CN103095852A (en) * | 2013-02-27 | 2013-05-08 | 上海够快网络科技有限公司 | Cloud storage file sharing method based on two-dimensional code |
US20150089612A1 (en) * | 2013-09-20 | 2015-03-26 | Institute For Information Industry | Cloud storage server and management method thereof |
-
2015
- 2015-08-18 CN CN201510507117.3A patent/CN106470222A/en active Pending
-
2016
- 2016-03-16 WO PCT/CN2016/076536 patent/WO2016177121A1/en active Application Filing
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582935A (en) * | 2017-09-28 | 2019-04-05 | 北京国双科技有限公司 | A kind of data processing method and device, storage medium, processor |
CN111385277A (en) * | 2018-12-29 | 2020-07-07 | 中兴通讯股份有限公司 | File transfer method between RCS systems and RCS interworking gateway |
CN111625508A (en) * | 2020-06-01 | 2020-09-04 | 联想(北京)有限公司 | Information processing method and device |
CN112671899A (en) * | 2020-12-23 | 2021-04-16 | 中移(杭州)信息技术有限公司 | File transmission method, file transmission device and file transmission system |
CN113098957A (en) * | 2021-03-31 | 2021-07-09 | 深圳市商汤科技有限公司 | Data transmission method and related product |
CN115484242A (en) * | 2021-06-15 | 2022-12-16 | 中国移动通信有限公司研究院 | Transmission method, device, equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2016177121A1 (en) | 2016-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106470222A (en) | A kind of document transmission method, device and application server | |
KR102519409B1 (en) | Method and Apparatus for Multipath Media Delivery | |
CN101150595B (en) | A real time file transmission method, system and device | |
CN102378177B (en) | The method and system that a kind of capability of Internet of things and terminal merge | |
US20140293997A1 (en) | Method, Apparatus, and System for Implementing VOIP Call in Cloud Computing Environment | |
US8195147B2 (en) | Method of enabling a combinational service and communication network implementing the service | |
CN101321179A (en) | A method, device and system for realizing resource sharing | |
US20120297031A1 (en) | Anonymous Signalling | |
CN104509060B (en) | The method and device of transmission of flow media data | |
CN105743958A (en) | Terminal-to-terminal communication method and device | |
EP2408174A1 (en) | Messaging activity feed | |
CN105681260A (en) | Cloud storage file transmission method, fusion communication platform, sending end and system | |
CN102025759A (en) | Method and system for providing user generated content (UGC) sharing businesses in real time | |
US20140250197A1 (en) | Content server, terminal, and method using http | |
WO2023071656A1 (en) | Information transmission method and apparatus | |
CN101267383A (en) | Data transmission method and system | |
CN100401724C (en) | Method and device for sending instant messages | |
CN115941761B (en) | A method, device and storage medium for establishing a communication and data channel | |
US20130151723A1 (en) | Stream media channel switch method, switch agent, client and terminal | |
CN105657451B (en) | Uploaded videos file is carried out at the same time the method and system of transcoding | |
CN104219299A (en) | Data transmission method and data transmission device | |
CN101384007A (en) | Inter-network data transmission method, apparatus and communication device and system | |
CN101425067B (en) | Information retrival method and system | |
CN101202953B (en) | Quick reply method and system thereof | |
CN104580272B (en) | A kind of method and device of shared user terminal data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170301 |
|
WD01 | Invention patent application deemed withdrawn after publication |