WO2015109730A1 - 一种实现多媒体传输的方法及终端、服务器 - Google Patents

一种实现多媒体传输的方法及终端、服务器 Download PDF

Info

Publication number
WO2015109730A1
WO2015109730A1 PCT/CN2014/079595 CN2014079595W WO2015109730A1 WO 2015109730 A1 WO2015109730 A1 WO 2015109730A1 CN 2014079595 W CN2014079595 W CN 2014079595W WO 2015109730 A1 WO2015109730 A1 WO 2015109730A1
Authority
WO
WIPO (PCT)
Prior art keywords
multimedia content
feature code
server
terminal
sent
Prior art date
Application number
PCT/CN2014/079595
Other languages
English (en)
French (fr)
Inventor
陈军
姚立哲
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015109730A1 publication Critical patent/WO2015109730A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/08Annexed information, e.g. attachments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information

Definitions

  • the embodiments of the present invention relate to a mobile internet technology, and in particular, to a method, a terminal, and a server for implementing multimedia transmission. Background technique
  • an embodiment of the present invention provides a method for implementing multimedia transmission, a terminal, and a server, which can reduce traffic and bandwidth consumption in a multimedia transmission process.
  • an embodiment of the present invention provides a method for implementing multimedia transmission.
  • the method includes: checking whether a feature code corresponding to the multimedia content to be sent is stored by the terminal,
  • the method further includes: the terminal receiving, from the server, returning a feature code corresponding to the multimedia content to be sent, and corresponding multimedia content Corresponding storage.
  • the embodiment of the present invention further provides a method for implementing multimedia transmission, including: receiving, by a terminal, a feature code of a multimedia content from a server, and checking that the multimedia content corresponding to the obtained feature code is not stored by itself; The terminal feeds back the inspection result of the multimedia content not corresponding to the obtained feature code to the server, and receives the multimedia content corresponding to the obtained feature code from the server.
  • the method further includes: the terminal correspondingly storing the multimedia content from the server and the obtained signature code feature.
  • the method further includes:
  • the terminal performs corresponding processing on the received multimedia content.
  • the embodiment of the present invention further provides a method for implementing multimedia transmission, including: receiving, by a server, a feature code sent by a sending terminal; or receiving a multimedia content sent by the transmitting terminal, and generating a corresponding feature code for the multimedia content;
  • the server sends the received or generated signature to the receiving terminal
  • the server delivers the multimedia content corresponding to the feature code to the receiving terminal according to the result of the check that the receiving terminal returned by the receiving terminal does not store the multimedia content corresponding to the obtained feature code.
  • the method further includes:
  • the server returns the generated feature code to the transmitting terminal, and correspondingly stores the multimedia content and the generated feature code.
  • An embodiment of the present invention further provides a terminal, including a first processing module and a first storage module, where
  • the first processing module is configured to: when transmitting the multimedia content, check whether the feature code corresponding to the multimedia content to be sent is stored in the first storage module, and send the feature code corresponding to the multimedia content to be sent to the server when checking the storage, Sending the multimedia content to be sent to the server when it is checked that the storage is not stored;
  • the first storage module is configured to receive a feature code corresponding to the multimedia content generated by the server and store the corresponding code corresponding to the multimedia content.
  • a second processing module is further included, And configured to receive the feature code of the multimedia content from the server, and check whether the multimedia content corresponding to the feature code is stored in the first storage module, and when the storage is checked, the multimedia content is processed correspondingly; when the storage is not stored. And notifying the server, and receiving the multimedia content corresponding to the signature sent by the server.
  • the first storage module is further configured to: correspondingly store the multimedia content received by the second processing module and the corresponding feature code.
  • the embodiment of the present invention further provides a server, including a third processing module and a generating module, where the third processing module is configured to receive a feature code from the sending terminal, send the feature code to the receiving terminal, and receive the multimedia from the sending terminal.
  • a server including a third processing module and a generating module, where the third processing module is configured to receive a feature code from the sending terminal, send the feature code to the receiving terminal, and receive the multimedia from the sending terminal.
  • Content a notification generating module; sending the signature returned by the generating module to the receiving terminal;
  • the generating module is further configured to: return the generated feature code to the receiving terminal; and further include a second storage module, configured to store the multimedia content and the generated corresponding feature code.
  • the embodiment of the present invention includes: when transmitting the multimedia content, the terminal checks whether it stores the feature code corresponding to the multimedia content, and if yes, sends the corresponding feature code to the server; if not, sends the multimedia content to the server.
  • the multimedia transmission between the transmitting end and the receiving end utilizes the feature code generated by the server at the server.
  • the transmission of the multimedia content between the end and the end is characterized by The transmission of the code is replaced, thereby realizing the rapid transmission of multimedia and saving the transmission bandwidth, thereby improving the user experience.
  • FIG. 1 is a flowchart of a method for implementing multimedia transmission on a sending terminal side according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for implementing multimedia transmission on a receiving terminal side according to an embodiment of the present invention
  • FIG. 3 is a service side of an embodiment of the present invention
  • a flow chart of a method of implementing multimedia transmission 4 is a schematic structural diagram of a terminal in an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a server in an embodiment of the present invention. Preferred embodiment of the invention
  • FIG. 1 is a flowchart of a method for implementing multimedia transmission on a sending terminal side according to an embodiment of the present invention.
  • the method in this embodiment includes: Step 11 to Step 12: When a sending terminal needs to send multimedia content, check whether it is The feature code corresponding to the multimedia content to be transmitted is stored, and if it is stored, the process proceeds to step 13; if not, the process proceeds to step 14.
  • the feature code is an identifier corresponding to different multimedia content.
  • the server After the multimedia content is sent to the server by the terminal for the first time, the server generates a corresponding feature code for the multimedia content.
  • Step 13 The sending terminal sends the feature code corresponding to the multimedia content to be sent to the server, and then ends the process.
  • Step 14 The sending terminal sends the multimedia content to be sent to the server.
  • Step 15 The sending terminal receives the feature code returned by the server and stores the corresponding multimedia content.
  • the method for performing multimedia transmission on the transmitting terminal side of the embodiment of the present invention can be seen that, in addition to transmitting the multimedia content for the first time, the transmitting terminal only needs to send the same multimedia content in the future, and only needs to send the feature code corresponding to the multimedia content without repeatedly sending.
  • the same multimedia content like this. Significantly saves transmission bandwidth.
  • FIG. 2 is a flowchart of a method for implementing multimedia transmission on a receiving terminal side according to an embodiment of the present invention. As shown in FIG. 2, the method in this embodiment includes:
  • Step 21 The receiving terminal receives a feature code of the multimedia content from the server.
  • Step 22 The receiving terminal checks whether it stores the multimedia content corresponding to the obtained feature code, if it is stored, proceeds to step 23; if not, proceeds to step 24. Step 23. End the process. Then, the receiving terminal may perform corresponding processing on the multimedia content, such as displaying/playing the multimedia content corresponding to the obtained feature code, or processing the corresponding multimedia content according to the specific application.
  • Step 24 The receiving terminal feeds back a check result of the multimedia content that does not store the obtained feature code to the server, and receives the multimedia content corresponding to the obtained feature code from the server.
  • the server Because when the server receives the multimedia content from the sending terminal, if the multimedia content is received for the first time, the feature code corresponding to the multimedia content is generated. Therefore, if the receiving terminal does not store the check of the feature code sent by the server itself, When the result is fed back to the server, the server sends the multimedia content corresponding to the signature to the receiving terminal.
  • Step 25 The receiving terminal correspondingly stores the multimedia content and the feature code from the server.
  • the method for performing multimedia transmission on the receiving terminal side of the embodiment of the present invention can be seen that if the receiving terminal itself has stored the multimedia content to be received corresponding to the feature code from the server, the server can be notified that the transmission is not repeated, and the transmission process is greatly reduced. Repetitively consumed traffic and bandwidth.
  • FIG. 3 is a flowchart of a method for implementing multimedia transmission on a server side according to an embodiment of the present invention. As shown in FIG. 3, the method in this embodiment includes:
  • Step 31 The server receives the feature code sent by the sending terminal, or generates a corresponding feature code for the multimedia content after receiving the multimedia content sent by the sending terminal.
  • the server may also return the generated feature code to the transmitting terminal, and correspondingly store the multimedia content and the generated feature code.
  • Step 32 The server sends the received or generated signature to the receiving terminal.
  • Step 33 The server sends the multimedia content corresponding to the feature code to the receiving terminal according to the result that the receiving terminal returned by the receiving terminal does not store the multimedia content corresponding to the obtained feature code.
  • the transmitting end, the server, and the receiving end in the embodiment of the present invention form a network device that can implement end-to-end communication through a cellular network, a wired connection, a WIFL Bluetooth, and the like.
  • the multimedia content shared by users can be divided into two types, one is user-originated content, such as photos, videos, recorded audio, etc. taken by the user through the terminal; and the other is multimedia content downloaded from the online server.
  • the implementation of the embodiment of the present invention is described below in conjunction with specific embodiments.
  • the embodiment of the present invention is based on the end-to-end multimedia transmission, which utilizes a common server to implement efficient multimedia transmission, and specifically includes:
  • the sender sends a picture to the server, and the server generates a signature for the picture uploaded by the sender, and returns the signature to the sender for saving.
  • the feature code and the multimedia content are - corresponding, and the feature code is generated by the server. If the sender saves the multimedia signature, indicating that the server already has a copy of the multimedia content, then the sender only needs to send the multimedia signature.
  • the server may select one or more file verification algorithms to obtain a file digest of the multimedia content, and use the file digest or a file digest with some format characters, media category fields, etc. as the feature code of the multimedia.
  • the file check algorithm used may be a CRC32 check algorithm, a secure hash algorithm 1 (SHA1), an information-summary algorithm 5 (MD5), and the like.
  • SHA1 secure hash algorithm 1
  • MD5 information-summary algorithm 5
  • the server can also take other rules to formulate the signature of the multimedia file.
  • the server sends the picture and the signature corresponding to the picture to the receiving end for saving.
  • the sender completes the process of sending the original user picture to the receiving end for the first time, and the signature code of the picture and the picture is also saved in the server.
  • the transmission of this picture will use the feature code of the picture to achieve efficient transmission.
  • the sender or the receiver needs to send the picture to the second receiver again. Take the sender as an example.
  • the implementation steps are as follows:
  • the sending end checks whether the picture to be sent has a corresponding feature code, and if yes, sends the feature code to the server; otherwise, the picture is sent to the server, and the server generates a feature code for the picture uploaded by the sending end, and returns the feature code to the sending end to save .
  • the server sends the feature code of the picture to the second receiving end, and the second receiving end checks whether there is a picture corresponding to the feature code of the picture, and if yes, ends; if not, the server sends the picture to the second At the receiving end, the second receiving end saves the picture and its signature.
  • the sender does not need to upload the picture content when sending again, just transfer the picture feature code.
  • the second receiving end has obtained the picture through another way, there is no need to repeatedly transfer the picture content from the server to the second receiving end. This greatly saves end-to-end transmission bandwidth resources.
  • a dynamic emoticon a video file or GIF (graphics) on the server.
  • the transmission method of the embodiment of the present invention can perform fast multimedia transmission and improve user experience.
  • the method may include: First, when the sending end downloads the dynamic expression from the server, the signature of the dynamic expression is acquired at the same time. Then, when the sender sends the dynamic expression, only the signature is sent to the server.
  • the server sends the signature to the receiving end.
  • the receiving end checks whether there is a dynamic expression corresponding to the feature code, and if so, displays the dynamic expression, and ends; if not, the receiving end receives the dynamic expression from the server.
  • the multimedia transmission between the transmitting end and the receiving end mainly utilizes the feature code for generating multimedia at the server. If the multimedia content corresponding to the feature code exists locally in the terminal, the multimedia content is transmitted between the end and the end. It is replaced by the transmission of the feature code, thereby realizing the rapid transmission of multimedia and saving the transmission bandwidth, thereby improving the user experience.
  • the terminal When a terminal is used as a sending terminal, as shown in FIG. 4, the terminal includes at least a first processing module and a first storage module, where the first processing module is configured to be sent.
  • the first processing module is configured to be sent.
  • the multimedia content it is checked whether the feature code corresponding to the multimedia content to be sent is stored in the first storage module, and when the storage is checked, the feature code corresponding to the multimedia content to be sent is sent to the server, and when the storage is not stored, the server is sent to the server.
  • the first storage module is configured to receive a feature code corresponding to the multimedia content generated by the server and store the corresponding code corresponding to the multimedia content.
  • the terminal in the embodiment of the present invention further includes:
  • a second processing module configured to receive a feature code of the multimedia content from the server, and check whether the multimedia content corresponding to the feature code is stored in the first storage module, and when checking the storage, sometimes The multimedia content is processed correspondingly; when it is checked that the storage is not stored, the server is notified, and the multimedia content corresponding to the feature code sent by the server is received;
  • the first storage module is further configured to store the multimedia content and the corresponding feature code received by the second processing module.
  • the server in this embodiment includes a third processing module and a generating module.
  • the third processing module is configured to receive the feature code from the sending terminal, send the feature code to the receiving terminal, receive the multimedia content from the sending terminal, notify the generating module, and send the feature code returned by the generating module to the receiving terminal;
  • the third processing module is further configured to receive the notification from the receiving terminal, and send the multimedia content corresponding to the feature code to the receiving terminal.
  • the server may further include a second storage module.
  • Generating a module further configured to return the generated feature code to the receiving terminal;
  • the second storage module is configured to store the multimedia content and the generated corresponding feature code.
  • the method for implementing multimedia transmission and the terminal and the server according to the embodiments of the present invention include, when the terminal transmits the multimedia content, check whether the feature code corresponding to the multimedia content is stored by the terminal, and if yes, send the corresponding to the server. Feature code; if not stored, send multimedia content to the server.
  • the multimedia transmission between the transmitting end and the receiving end utilizes the feature code generated by the server at the server. If the terminal has the multimedia content corresponding to the feature code, the transmission of the multimedia content between the end and the end is characterized by The transmission of the code is replaced, thereby realizing the rapid transmission of multimedia and saving the transmission bandwidth, thereby improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种实现多媒体传输的方法及终端、服务器,包括终端在发送多媒体内容时,检查自身是否存储有该多媒体内容对应的特征码,如果存储有,则向服务器发送对应的特征码;如果未存储,则向服务器发送多媒体内容。本发明实施例发送端和接收端之间的多媒体传输利用了在服务器生成多媒体的特征码,如果终端自身存在与特征码对应的多媒体内容,则多媒体内容在端到端之间的传输则由特征码的传输代替,从而实现了多媒体快速传输而节省了传输带宽,提升了用户体验。

Description

一种实现多媒体传输的方法及终端、 服务器 技术领域
本发明实施例涉及移动互联网技术, 尤指一种实现多媒体传输的方法及 终端、 服务器。 背景技术
随着移动互联网技术的发展和智能终端的普及, 用户之间交互的信息由 文字信息转变为海量的图像、 音视频等多媒体信息。 例如: 用户用手机拍照 后可通过多种途径进行分享 (如微博、 微信等方式) , 或者用户浏览到有趣 的信息内容也可以进行转发分享等。
在用户通过移动互联网进行上传 /下载多媒体信息时, 需要消耗用户大量 的流量和带宽; 而且, 用户之间相互转发的同一种多媒体信息会出现重复的 收发, 从而浪费了用户的流量资源以及占用了额外的带宽。 发明内容
为了解决上述技术问题, 本发明实施例提供了一种实现多媒体传输的方 法及终端、 服务器, 在多媒体传输过程中, 能够降低流量和带宽的消耗。 为了达到本发明实施例目的, 本发明实施例提供了一种实现多媒体传输 的方法, 终端需要发送多媒体内容时, 包括: 检查自身是否存储有待发送的 多媒体内容对应的特征码,
如果存储有, 向服务器发送待发送的多媒体内容对应的特征码; 如果未存储, 则向服务器发送待发送的多媒体内容。
可选地, 所述终端向服务器发送待发送的多媒体内容后, 该方法还包括: 所述终端接收来自所述服务器返回与所述待发送的多媒体内容对应的特 征码, 并与相应的多媒体内容对应存储。 本发明实施例还提供一种实现多媒体传输的方法, 包括: 终端接收来自 服务器的多媒体内容的特征码, 检查出自身未存储与获得的特征码对应的多 媒体内容, 终端将自身未存储与获得的特征码对应的多媒体内容的检查结果反馈给 服务器, 并接收来自服务器的与获得的特征码对应的多媒体内容。
可选地, 所述终端接收来自服务器的多媒体内容后, 该方法还包括: 所述终端对应存储所述来自服务器多媒体内容和所述获得的特征码特征 码。
可选地, 所述终端检查出自身存储有与所述获得的特征码对应的多媒体 内容后, 该方法还包括:
所述终端对所述接收到的多媒体内容进行相应处理。
本发明实施例又一种实现多媒体传输的方法, 包括: 服务器接收发送终 端发送的特征码; 或者接收到发送终端发送的多媒体内容后, 为该多媒体内 容生成一对应的特征码;
服务器将接收到的或生成的特征码发送给接收终端;
服务器根据接收终端返回的接收终端未存储与获得的特征码对应的多媒 体内容的检查结果, 向接收终端下发该特征码对应的多媒体内容。
可选地, 所述服务器为接收到的多媒体内容生成一对应的特征码后, 还 包括:
所述服务器将生成的特征码返回给发送终端, 并对应存储多媒体内容与 生成的特征码。
本发明实施例还提供一种终端, 包括第一处理模块和第一存储模块, 其 中,
第一处理模块, 设置为在发送多媒体内容时, 检查第一存储模块中是否 存储有待发送的多媒体内容对应的特征码, 在检查出存储有时, 向服务器发 送待发送的多媒体内容对应的特征码, 在检查出未存储时, 向服务器发送待 发送的多媒体内容;
第一存储模块, 设置为接收服务器生成的多媒体内容对应的特征码并与 对应的多媒体内容对应存储。
可选地, 还包括第二处理模块, 设置为接收来自服务器的多媒体内容的特征码, 检查所述第一存储模块 中是否存储有特征码对应的多媒体内容, 在检查出存储有时, 对该多媒体内 容进行相应处理; 在检查出未存储时, 通知服务器, 并接收服务器发送的该 特征码对应的多媒体内容。 可选地, 所述第一存储模块还设置为: 对应存储第二处理模块接收的多 媒体内容和对应的特征码。
本发明实施例再提供一种服务器, 包括第三处理模块、 生成模块, 其中, 第三处理模块, 设置为接收来自发送终端的特征码, 将特征码发送给接 收终端; 接收来自发送终端的多媒体内容, 通知生成模块; 将生成模块返回 的特征码发送给接收终端;
生成模块, 设置为为接收到的多媒体内容生成一对应的特征码并返回给 第三处理模块。
可选地, 所述生成模块还设置为: 将生成的特征码返回给接收终端; 还包括第二存储模块, 用于存储多媒体内容与生成的对应的特征码。 本发明实施例包括: 终端在发送多媒体内容时, 检查自身是否存储有该 多媒体内容对应的特征码, 如果存储有, 则向服务器发送对应的特征码; 如 果未存储, 则向服务器发送多媒体内容。 本发明实施例发送端和接收端之间 的多媒体传输利用了在服务器生成多媒体的特征码, 如果终端自身存在与特 征码对应的多媒体内容, 则多媒体内容在端到端之间的传输则由特征码的传 输代替, 从而实现了多媒体快速传输而节省了传输带宽, 提升了用户体验。 附图概述
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中:
图 1为本发明实施例的发送终端侧实现多媒体传输的方法的流程图; 图 2为本发明实施例的接收终端侧实现多媒体传输的方法的流程图; 图 3为本发明实施例的服务侧实现多媒体传输的方法的流程图; 图 4为本发明实施例中终端的组成结构示意图;
图 5为本发明实施例中服务器的组成结构示意图。 本发明的较佳实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚明白, 下文中将结 合附图对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。
图 1为本发明实施例的发送终端侧实现多媒体传输的方法的流程图, 如 图 1所示, 本实施例的方法包括: 步骤 11〜步骤 12、 发送终端需要发送多媒体内容时, 检查自身是否存储 有待发送的多媒体内容对应的特征码, 如果存储有, 则进入步骤 13; 如果未 存储, 则进入步骤 14。
这里, 特征码是与不同的多媒体内容对应的一个标识, 多媒体内容在首 次被终端发送至服务器后, 服务器会为该多媒体内容生成一对应的特征码。
步骤 13、 发送终端向服务器发送待发送的多媒体内容对应的特征码, 之 后结束本流程。
步骤 14、 发送终端向服务器发送待发送的多媒体内容。
步骤 15、 发送终端接收服务器返回的特征码并与相应的多媒体内容对应 存储。
从本发明实施例的发送终端侧进行多媒体传输的方法可见, 发送终端除 首次发送多媒体内容外, 以后如要再发送同一个多媒体内容, 只需发送该多 媒体内容对应的特征码, 而不用重复发送相同的多媒体内容, 这样。 大大节 省了传输带宽。
图 2为本发明实施例的接收终端侧实现多媒体传输的方法的流程图, 如 图 2所示, 本实施例的方法包括:
步骤 21、 接收终端接收来自服务器的多媒体内容的特征码。
步骤 22、 接收终端检查自身是否存储有与获得的特征码对应的多媒体内 容, 如果存储有, 则进入步骤 23; 如果未存储, 则进入步骤 24。 步骤 23、 结束本流程。 接下来接收终端可以对该多媒体内容进行相应处 理, 比如显示 /播放与获得的特征码对应的多媒体内容, 或者根据具体的应用 处理对应的多媒体内容等。
步骤 24、 接收终端将自身未存储与获得的特征码对应的多媒体内容的检 查结果反馈给服务器,接收来自服务器的与获得的特征码对应的多媒体内容。
因为在服务器接收到来自发送终端的多媒体内容时, 如果是首次接收到 该多媒体内容, 都会生成该多媒体内容对应的特征码, 因此, 这里, 如果接 收终端将自身未存储服务器发送的特征码的检查结果反馈给服务器时, 服务 器才会将该特征码对应的多媒体内容下发给接收终端。
步骤 25、 接收终端对应存储来自服务器多媒体内容和特征码。
从本发明实施例的接收终端侧进行多媒体传输的方法可见, 如果接收终 端自身已存储有来自服务器的特征码对应的将要接收的多媒体内容, 可以通 知服务器不用重复发送,也极大地降低了传输过程中重复消耗的流量和带宽。
图 3为本发明实施例的服务器侧实现多媒体传输的方法的流程图, 如图 3所示, 本实施例的方法包括:
步骤 31、 服务器接收发送终端发送的特征码; 或者接收到发送终端发送 的多媒体内容后, 为该多媒体内容生成一对应的特征码。
服务器还可以将生成的特征码返回给发送终端, 并对应存储多媒体内容 与生成的特征码。
步骤 32、 服务器将接收到的或生成的特征码发送给接收终端。
步骤 33、 服务器根据接收终端返回的接收终端未存储与获得的特征码对 应的多媒体内容的检查结果, 向接收终端下发该特征码对应的多媒体内容。
本发明实施例中的发送端、 服务器、 接收端是通过蜂窝网络、 有线连接、 WIFL 蓝牙等通信连接组成一个可实现端到端通信的网络设备。 用户分享的 多媒体内容通常可分为两种, 一种是用户原创内容, 例如用户通过终端拍的 照片、 视频, 录的音频等; 一种是在网上服务器下载的多媒体内容。 下面结 合具体实施例来说明本发明实施例的实现方案。
假设用户用手机拍了很多照片, 需要发送给好友, 好友收到照片后可能 继续转发给其他人, 如果按相关技术同样的照片在网络中需要重复传输。 而 本发明实施例基于端到端之间的多媒体传输中, 是利用了一个共同的服务器 来实现高效的多媒体传输, 具体包括:
首先, 发送端将一幅图片发送到服务器, 服务器为发送端上传的图片生 成一个特征码, 将特征码返回发送端保存。
特征码与多媒体内容是——对应的, 特征码由服务器来生成。 如果发送 端保存有多媒体的特征码, 说明服务器已经有该多媒体内容的拷贝, 那么发 送端只需发送多媒体的特征码即可。
利用相关技术, 服务器可以选择一种或多种文件校验算法来获得多媒体 内容的文件摘要, 将文件摘要或者加上一些格式符、 媒体类别字段等的文件 摘要作为该多媒体的特征码。比如釆用的文件校验算法可以是 CRC32校验算 法、 安全哈希算法 1 ( SHA1 ) 、 信息-摘要算法 5 ( MD5 )等。 当然服务器也 可以釆取其他的规则来制定多媒体文件的特征码。
然后, 服务器将图片和与图片对应的特征码发送给接收端保存。
这样, 发送端就完成了一幅用户原创图片首次发送到接收端的过程, 并 且在服务器也保存有这幅图片和图片的特征码。
以后对于这幅图片的发送就将利用图片的特征码来实现高效传输, 例如 发送端或接收端需要将这幅图片再发送给第二接收端, 以发送端为例, 实现 步骤如下:
首先, 发送端检查待发送图片是否存在对应特征码, 如有, 将特征码发 送给服务器; 否则将图片发送到服务器, 服务器为发送端上传的图片生成一 个特征码, 将特征码返回发送端保存。
然后, 服务器将图片的特征码发送给第二接收端, 第二接收端检查自身 是否存在与图片的特征码对应的图片, 如果存在, 则结束; 如果不存在, 则 服务器将图片发送给第二接收端, 第二接收端保存图片及其特征码。
按上述步骤发送端再次发送时无需上传图片内容, 只需传输图片特征码 即可。 同样, 第二接收端如果通过别的途径已获得该图片, 从服务器到第二 接收端也无需重复传输图片内容。这样极大节省端到端之间的传输带宽资源。 假设用户在服务器下载一个动态表情(一个视频文件或 GIF ( Graphics
Interchange Format, 图像互换格式)动画图片) , 在与好友聊天时要发送这 个动态表情。 那么, 釆用本发明实施例的传输方法可进行快速的多媒体传输, 提高用户体验。 可以包括: 首先,发送端从服务器下载动态表情时, 同时获取该动态表情的特征码。 然后, 发送端发送动态表情时只发送特征码到服务器。
接着, 服务器将特征码发送给接收端。
最后,接收端检查自身是否存在与该特征码对应的动态表情, 如果存在, 显示该动态表情, 结束; 如果不存在, 则接收端从服务器接收该动态表情。
这样对于用户之间大量转发的多媒体内容, 特别是服务器产生的多媒体 内容, 在端到端之间的传输时只需传输多媒体内容的特征码, 然后在终端本 地查阅显示, 极大节省了传输带宽而且快速实现信息的共享, 提升了用户的 体验。
以上实施例中, 发送端和接收端之间的多媒体传输主要是利用了在服务 器生成多媒体的特征码, 如果终端本地存在与特征码对应的多媒体内容, 则 多媒体内容在端到端之间的传输则由特征码的传输代替, 从而实现了多媒体 快速传输而节省了传输带宽, 提升了用户体验。
图 4为本发明实施例中的终端的组成结构示意图, 当终端作为发送终端, 如图 4所示, 至少包括第一处理模块和第一存储模块, 其中, 第一处理模块, 设置为在发送多媒体内容时, 检查第一存储模块中是否 存储有待发送的多媒体内容对应的特征码, 在检查出存储有时, 向服务器发 送待发送的多媒体内容对应的特征码, 在检查出未存储时, 向服务器发送待 发送的多媒体内容。 第一存储模块, 设置为接收服务器生成的多媒体内容对应的特征码并与 对应的多媒体内容对应存储。 当终端作为接收终端时, 本发明实施例中的终端还包括:
第二处理模块, 设置为接收来自服务器的多媒体内容的特征码, 检查第 一存储模块中是否存储有特征码对应的多媒体内容, 在检查出存储有时, 对 该多媒体内容进行相应处理; 在检查出未存储时, 通知服务器, 并接收服务 器发送的该特征码对应的多媒体内容;
可选地, 第一存储模块, 还设置为对应存储第二处理模块接收的多媒体 内容和对应的特征码。
图 5为本发明实施例中服务器的组成结构示意图, 如图 5所示, 本实施 例的服务器包括第三处理模块、 生成模块; 其中,
第三处理模块, 设置为接收来自发送终端的特征码, 将特征码发送给接 收终端; 接收来自发送终端的多媒体内容, 通知生成模块; 将生成模块返回 的特征码发送给接收终端;
生成模块, 设置为为接收到的多媒体内容生成一对应的特征码并返回给 第三处理模块。
第三处理模块, 还设置为接收到来自接收终端的通知, 将该特征码对应 的多媒体内容发送给接收终端。
在一优选实施例中, 所述服务器还可以包括第二存储模块,
生成模块, 还设置为将生成的特征码返回给接收终端;
第二存储模块, 设置为存储多媒体内容与生成的对应的特征码。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。
以上仅为本发明的优选实施例, 当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域的技术人员当可根据本 发明作出各种相应的改变和变形, 但这些相应的改变和变形都应属于本发明 所附的权利要求的保护范围。 工业实用性 本发明实施例提出的实现多媒体传输的方法及终端、 服务器, 包括终端 在发送多媒体内容时, 检查自身是否存储有该多媒体内容对应的特征码, 如 果存储有, 则向服务器发送对应的特征码; 如果未存储, 则向服务器发送多 媒体内容。 本发明实施例发送端和接收端之间的多媒体传输利用了在服务器 生成多媒体的特征码, 如果终端自身存在与特征码对应的多媒体内容, 则多 媒体内容在端到端之间的传输则由特征码的传输代替, 从而实现了多媒体快 速传输而节省了传输带宽, 提升了用户体验。

Claims

权 利 要 求 书
1、 一种实现多媒体传输的方法, 终端需要发送多媒体内容时, 包括: 检 查自身是否存储有待发送的多媒体内容对应的特征码,
如果存储有, 向服务器发送待发送的多媒体内容对应的特征码; 如果未存储, 则向服务器发送待发送的多媒体内容。
2、根据权利要求 1所述的方法, 所述终端向服务器发送待发送的多媒体 内容后, 该方法还包括:
所述终端接收来自所述服务器返回与所述待发送的多媒体内容对应的特 征码, 并与相应的多媒体内容对应存储。
3、 一种实现多媒体传输的方法, 包括: 终端接收来自服务器的多媒体内 容的特征码, 检查出自身未存储与获得的特征码对应的多媒体内容, 终端将自身未存储与获得的特征码对应的多媒体内容的检查结果反馈给 服务器, 并接收来自服务器的与获得的特征码对应的多媒体内容。
4、根据权利要求 3所述的方法, 所述终端接收来自服务器的多媒体内容 后, 该方法还包括:
所述终端对应存储所述来自服务器多媒体内容和所述获得的特征码特征 码。
5、根据权利要求 3所述的方法, 所述终端检查出自身存储有与所述获得 的特征码对应的多媒体内容后, 该方法还包括:
所述终端对所述接收到的多媒体内容进行相应处理。
6、 一种实现多媒体传输的方法, 包括: 服务器接收发送终端发送的特征 码; 或者接收到发送终端发送的多媒体内容后, 为该多媒体内容生成一对应 的特征码; 服务器将接收到的或生成的特征码发送给接收终端;
服务器根据接收终端返回的接收终端未存储与获得的特征码对应的多媒 体内容的检查结果, 向接收终端下发该特征码对应的多媒体内容。
7、根据权利要求 6所述的方法, 所述服务器为接收到的多媒体内容生成 一对应的特征码后, 还包括:
所述服务器将生成的特征码返回给发送终端, 并对应存储多媒体内容与 生成的特征码。
8、 一种终端, 包括第一处理模块和第一存储模块, 其中,
第一处理模块, 设置为在发送多媒体内容时, 检查第一存储模块中是否 存储有待发送的多媒体内容对应的特征码, 在检查出存储有时, 向服务器发 送待发送的多媒体内容对应的特征码, 在检查出未存储时, 向服务器发送待 发送的多媒体内容;
第一存储模块, 设置为接收服务器生成的多媒体内容对应的特征码并与 对应的多媒体内容对应存储。
9、 根据权利要求 8所述的终端, 还包括第二处理模块,
设置为接收来自服务器的多媒体内容的特征码, 检查所述第一存储模块 中是否存储有特征码对应的多媒体内容, 在检查出存储有时, 对该多媒体内 容进行相应处理; 在检查出未存储时, 通知服务器, 并接收服务器发送的该 特征码对应的多媒体内容。
10、 根据权利要求 9所述的终端, 所述第一存储模块还设置为: 对应存 储第二处理模块接收的多媒体内容和对应的特征码。
11、 一种服务器, 包括第三处理模块、 生成模块, 其中,
第三处理模块, 设置为接收来自发送终端的特征码, 将特征码发送给接 收终端; 接收来自发送终端的多媒体内容, 通知生成模块; 将生成模块返回 的特征码发送给接收终端;
生成模块, 设置为为接收到的多媒体内容生成一对应的特征码并返回给 第三处理模块。
12、 根据权利要求 11所述的服务器, 所述生成模块还设置为: 将生成的 特征码返回给接收终端; 还包括第二存储模块, 用于存储多媒体内容与生成的对应的特征码。
PCT/CN2014/079595 2014-01-27 2014-06-10 一种实现多媒体传输的方法及终端、服务器 WO2015109730A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410040053.6 2014-01-27
CN201410040053.6A CN104811425A (zh) 2014-01-27 2014-01-27 一种多媒体传输的方法及终端、服务器

Publications (1)

Publication Number Publication Date
WO2015109730A1 true WO2015109730A1 (zh) 2015-07-30

Family

ID=53680737

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/079595 WO2015109730A1 (zh) 2014-01-27 2014-06-10 一种实现多媒体传输的方法及终端、服务器

Country Status (2)

Country Link
CN (1) CN104811425A (zh)
WO (1) WO2015109730A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205645A (zh) * 2021-12-10 2022-03-18 北京凯视达信息技术有限公司 分布式视频内容审核方法及装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102651734A (zh) * 2011-02-28 2012-08-29 中兴通讯股份有限公司 媒体消息处理方法及装置
CN102970211A (zh) * 2012-11-05 2013-03-13 东莞宇龙通信科技有限公司 一种邮件回复的处理方法、系统及移动终端和邮件服务器

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552669A (zh) * 2008-04-02 2009-10-07 林兆祥 数据传输的方法及系统
CN102088420A (zh) * 2009-12-04 2011-06-08 中国移动通信集团公司 多媒体消息传输方法、系统及多媒体消息业务中心
CN101719936A (zh) * 2009-12-09 2010-06-02 成都市华为赛门铁克科技有限公司 提供文件下载服务的方法、装置及缓存系统
CN103246730B (zh) * 2013-05-08 2016-08-10 网易(杭州)网络有限公司 文件存储方法和设备、文件发送方法和设备

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102651734A (zh) * 2011-02-28 2012-08-29 中兴通讯股份有限公司 媒体消息处理方法及装置
CN102970211A (zh) * 2012-11-05 2013-03-13 东莞宇龙通信科技有限公司 一种邮件回复的处理方法、系统及移动终端和邮件服务器

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205645A (zh) * 2021-12-10 2022-03-18 北京凯视达信息技术有限公司 分布式视频内容审核方法及装置

Also Published As

Publication number Publication date
CN104811425A (zh) 2015-07-29

Similar Documents

Publication Publication Date Title
US20170372674A1 (en) Photo selection for mobile devices
KR101545912B1 (ko) 인스턴트 메시징의 융통성있는 확장된 프리젠스 문서능력을 용이하게 하기 위한 프로세서 액세스가능 매체 및방법
TWI476691B (zh) 資訊分享方法
KR101707134B1 (ko) 소셜 네트워크를 통해 유지되는 무선 데이터 개인정보
US20100124939A1 (en) Method and system for graphical scaling and contextual delivery to mobile devices
CN102710789A (zh) 智能终端间数据的交互方法、系统及装置
CN103095553B (zh) 一种消息通讯方法和系统
US20160057087A1 (en) Processing media messages based on the capabilities of the receiving device
CN103338276A (zh) 一种网络终端之间传输数据的方法
US20100088394A1 (en) Multipoint publishing
KR20180004093A (ko) 인스턴트 메시징 동안의 미디어 콘텐츠의 전송
WO2012152041A1 (zh) 多媒体消息传输方法及装置
KR20150043335A (ko) 확장 속성을 갖는 메시지 동기화 기법
US20150312235A1 (en) Methods for generating and publishing a web site based on selected items and devices thereof
WO2019174106A1 (zh) 基于二维码实现的照片推送方法及客户端、服务器端
WO2014206109A1 (zh) 文件下载方法、预览下载文件的方法及预览信息生成方法
CN106332556B (zh) 传输云端文件的方法、终端及云端服务器
EP2779710A1 (en) Method of combining network data and mobile device using the same
CN109479026B (zh) 选择性地修改和发送消息传送数据的方法、系统和计算机程序产品
CN113243093B (zh) 用于使用区块链的消息传输和检索的系统和方法
WO2015109730A1 (zh) 一种实现多媒体传输的方法及终端、服务器
US9465779B2 (en) Microblog-based document file sharing method and device
CN101340398B (zh) 数码相框及其共享文件的获取、发送方法,装置及系统
JP6170634B2 (ja) 送信および受信された電子メッセージの相関
US11438399B1 (en) Fast loading and display of image previews

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14879641

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14879641

Country of ref document: EP

Kind code of ref document: A1