[go: up one dir, main page]

CN107018150A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN107018150A
CN107018150A CN201710374818.3A CN201710374818A CN107018150A CN 107018150 A CN107018150 A CN 107018150A CN 201710374818 A CN201710374818 A CN 201710374818A CN 107018150 A CN107018150 A CN 107018150A
Authority
CN
China
Prior art keywords
data
terminal
stream medium
streaming media
medium data
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
CN201710374818.3A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710374818.3A priority Critical patent/CN107018150A/en
Publication of CN107018150A publication Critical patent/CN107018150A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • 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/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明实施例提供了一种数据传输方法及装置,所述数据传输方法应用于第一终端,所述第一终端设置有流媒体数据库,所述数据传输方法包括:所述第一终端将第一流媒体数据与所述流媒体数据库中的标准流媒体数据进行比对,得到差分数据,所述第一终端将所述差分数据发送给第二终端,供所述第二终端根据所述差分数据还原得到所述第一流媒体数据。本发明实施例能够提高数据传输的效率,降低传输成本。

Embodiments of the present invention provide a data transmission method and device, the data transmission method is applied to a first terminal, the first terminal is provided with a streaming media database, and the data transmission method includes: the first terminal transfers the first terminal to Comparing the streaming media data with the standard streaming media data in the streaming media database to obtain differential data, the first terminal sends the differential data to the second terminal for the second terminal to use according to the differential data Restore to obtain the first streaming media data. The embodiment of the present invention can improve the efficiency of data transmission and reduce the transmission cost.

Description

数据传输方法及装置Data transmission method and device

技术领域technical field

本发明涉及通信技术领域,特别是涉及一种数据传输方法及装置。The present invention relates to the field of communication technology, in particular to a data transmission method and device.

背景技术Background technique

随着通信技术的发展和各种电子设备的广泛应用,用户可以通过电子设备之间的数据交互来进行通信交流、共享信息资源等,从而提高生活质量。电子设备之间在进行数据交互的过程中,通常需要向其它电子设备发送或接收其它电子设备发送的流媒体数据,比如在线视频播放、远程控制、屏幕分享等,但由于流媒体数据通常包括图像数据,数据量一般较大,在传输的过程中,也可能会受到带宽限制而降低传输效率,还可能会提高传输流媒体数据的传输成本,因此,亟需一种数据传输方法。With the development of communication technology and the wide application of various electronic devices, users can communicate and share information resources through data interaction between electronic devices, thereby improving the quality of life. In the process of data interaction between electronic devices, it is usually necessary to send or receive streaming media data sent by other electronic devices, such as online video playback, remote control, screen sharing, etc., but since streaming data usually includes images Data, the amount of data is generally large, in the process of transmission, the transmission efficiency may also be reduced due to bandwidth restrictions, and the transmission cost of transmitting streaming media data may also be increased. Therefore, a data transmission method is urgently needed.

现有技术中,当第一终端向第二终端发送流媒体数据时,一方面可以通过较高的带宽或者设置的专用网络进行数据传输,从而保证传输效率。另一方面,可以通过较低的带宽来传输流媒体数据,以节省传输成本。In the prior art, when the first terminal sends streaming media data to the second terminal, on the one hand, data transmission can be performed through a relatively high bandwidth or a dedicated network, thereby ensuring transmission efficiency. On the other hand, streaming media data can be transmitted through a lower bandwidth to save transmission costs.

虽然通过较高的带宽或者设置的专用网络进行数据传输,能够保证流媒体数据的传输效率,但提高带宽或者设置专用网络均可能会大幅提高传输成本,而通过较低的带宽传输流媒体数据,则可能会降低传输流媒体数据的传输效率。也即是,现有技术难以在节省传输成本的同时提高传输效率。Although data transmission through a higher bandwidth or a dedicated network can ensure the transmission efficiency of streaming media data, increasing the bandwidth or setting up a dedicated network may greatly increase the transmission cost, while transmitting streaming media data through a lower bandwidth, Otherwise, the transmission efficiency of streaming media data may be reduced. That is, it is difficult to improve transmission efficiency while saving transmission cost in the existing technology.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的数据传输方法及装置。In view of the above problems, the present invention is proposed to provide a data transmission method and device for overcoming the above problems or at least partially solving the above problems.

依据本发明的一个方面,提供了一种数据传输方法,应用于第一终端,所述第一终端设置有流媒体数据库,所述数据传输方法包括:According to one aspect of the present invention, a data transmission method is provided, which is applied to a first terminal, and the first terminal is provided with a streaming media database, and the data transmission method includes:

所述第一终端将第一流媒体数据与所述流媒体数据库中的标准流媒体数据进行比对,得到差分数据;The first terminal compares the first streaming data with the standard streaming data in the streaming database to obtain differential data;

所述第一终端将所述差分数据发送给第二终端,供所述第二终端根据所述差分数据还原得到所述第一流媒体数据。The first terminal sends the differential data to the second terminal, so that the second terminal restores and obtains the first streaming media data according to the differential data.

根据本发明的另一个方面,提供了一种数据传输方法,应用于第二终端,所述第二终端设置有流媒体数据库,所述数据传输方法包括:According to another aspect of the present invention, a data transmission method is provided, which is applied to a second terminal, the second terminal is provided with a streaming media database, and the data transmission method includes:

所述第二终端接收来自第一终端的差分数据;The second terminal receives differential data from the first terminal;

所述第二终端根据所述差分数据以及所述流媒体数据库中的标准流媒体数据,还原得到第一流媒体数据。The second terminal restores and obtains the first streaming media data according to the differential data and the standard streaming media data in the streaming media database.

根据本发明的另一个方面,提供了一种数据传输装置,应用于第一终端,所述第一终端设置有流媒体数据库,所述数据传输装置包括:According to another aspect of the present invention, a data transmission device is provided, which is applied to a first terminal, the first terminal is provided with a streaming media database, and the data transmission device includes:

对比模块,用于所述第一终端将第一流媒体数据与所述流媒体数据库中的标准流媒体数据进行比对,得到差分数据;A comparison module, used for the first terminal to compare the first streaming data with the standard streaming data in the streaming database to obtain differential data;

第一发送模块,用于所述第一终端将所述差分数据发送给第二终端,供所述第二终端根据所述差分数据还原得到所述第一流媒体数据。The first sending module is used for the first terminal to send the differential data to the second terminal, so that the second terminal can restore and obtain the first streaming media data according to the differential data.

根据本发明的另一个方面,提供了一种数据传输装置,应用于第二终端,所述第二终端设置有流媒体数据库,所述数据传输装置包括:According to another aspect of the present invention, a data transmission device is provided, which is applied to a second terminal, and the second terminal is provided with a streaming media database, and the data transmission device includes:

第一接收模块,用于所述第二终端接收来自第一终端的差分数据;A first receiving module, configured for the second terminal to receive differential data from the first terminal;

还原模块,用于所述第二终端根据所述差分数据以及所述流媒体数据库中的标准流媒体数据,还原得到第一流媒体数据。The restore module is used for the second terminal to restore the first stream media data according to the differential data and the standard stream media data in the stream media database.

根据本发明的另一个方面,提供了一种终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的数据传输程序,所述数据传输程序被所述处理器执行时实现所述的数据传输方法的步骤。According to another aspect of the present invention, a terminal is provided, including: a memory, a processor, and a data transmission program stored on the memory and operable on the processor, the data transmission program is processed by the processor Implement the steps of the data transmission method when the controller executes.

根据本发明的另一个方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有数据传输程序,所述数据传输程序被处理器执行时实现所述的数据传输方法的步骤。According to another aspect of the present invention, a computer-readable storage medium is provided. A data transmission program is stored on the computer-readable storage medium. When the data transmission program is executed by a processor, the above-mentioned data transmission method is implemented. step.

在本发明实施例中,首先,第一终端能够将第一流媒体数据与标准流媒体数据进行对比,得到第一流媒体数据与标准流媒体数据之间差分数据,由于该差分数据的数据量通常小于第一流媒体数据,所以,与传输第一流媒体数据相比,传输差分数据能够减少需要传输的数据量,进而能够降低数据传输的成本、提高数据传输的效率。其次,将该差分数给第二终端,能够使第二终端根据该差分数据还原得到第一流媒体数据,即在降低数据传输的成本、提高数据传输的效率的同时,能够确保数据传输的可靠性。In the embodiment of the present invention, first, the first terminal can compare the first streaming media data with the standard streaming media data, and obtain the differential data between the first streaming media data and the standard streaming media data, because the data volume of the differential data is usually less than The first streaming media data, therefore, compared with transmitting the first streaming media data, transmitting the differential data can reduce the amount of data to be transmitted, thereby reducing the cost of data transmission and improving the efficiency of data transmission. Secondly, assign the difference to the second terminal, so that the second terminal can restore the first streaming media data according to the difference data, that is, while reducing the cost of data transmission and improving the efficiency of data transmission, the reliability of data transmission can be ensured .

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其它的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:

图1示出了根据本发明一个实施例的一种数据传输的应用场景示意图;FIG. 1 shows a schematic diagram of an application scenario of data transmission according to an embodiment of the present invention;

图2示出了根据本发明一个实施例的一种数据传输方法流程图;FIG. 2 shows a flowchart of a data transmission method according to an embodiment of the present invention;

图3示出了根据本发明一个实施例的另一种数据传输方法流程图;FIG. 3 shows a flowchart of another data transmission method according to an embodiment of the present invention;

图4示出了根据本发明一个实施例的又一种数据传输方法流程图;FIG. 4 shows a flowchart of another data transmission method according to an embodiment of the present invention;

图5示出了根据本发明一个实施例的一种第一流媒体数据示意图;Fig. 5 shows a schematic diagram of a first streaming media data according to an embodiment of the present invention;

图6示出了根据本发明一个实施例的一种标准流媒体数据示意图;Fig. 6 shows a schematic diagram of a standard streaming media data according to an embodiment of the present invention;

图7示出了根据本发明一个实施例的一种差分数据示意图;Fig. 7 shows a schematic diagram of differential data according to an embodiment of the present invention;

图8示出了根据本发明一个实施例的一种数据传输装置框图;Fig. 8 shows a block diagram of a data transmission device according to an embodiment of the present invention;

图9示出了根据本发明一个实施例的另一种数据传输装置框图;FIG. 9 shows a block diagram of another data transmission device according to an embodiment of the present invention;

图10示出了根据本发明一个实施例的一种第一终端的框图;Fig. 10 shows a block diagram of a first terminal according to an embodiment of the present invention;

图11示出了根据本发明一个实施例的另一种第一终端的框图;Fig. 11 shows a block diagram of another first terminal according to an embodiment of the present invention;

图12示出了根据本发明一个实施例的一种第二终端的框图;Fig. 12 shows a block diagram of a second terminal according to an embodiment of the present invention;

图13示出了根据本发明一个实施例的另一种第二终端的框图。Fig. 13 shows a block diagram of another second terminal according to an embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本发明示例性实施例。虽然附图中显示了本发明示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While the drawings show exemplary embodiments of the invention, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

实施例一Embodiment one

参照图1,示出了根据本发明一个实施例的一种数据传输的应用场景示意图,包括第一终端01和第二终端02,第一终端01和第二终端02可以通过网络连接。Referring to FIG. 1 , it shows a schematic diagram of an application scenario of data transmission according to an embodiment of the present invention, including a first terminal 01 and a second terminal 02, and the first terminal 01 and the second terminal 02 can be connected through a network.

第一终端01或第二终端02可以是手机、电脑等电子设备,即当一个电子设备需要向另一个电子设备发送流媒体数据时,用于发送流媒体数据的电子设备可以作为第一终端01,用于接收流媒体数据的电子设备可以作为第二终端02。当然,对于同一个电子设备,该电子设备既可以作为第一终端01来发送流媒体数据,也可以作为第二终端02来接收流媒体数据。The first terminal 01 or the second terminal 02 can be electronic devices such as mobile phones and computers, that is, when one electronic device needs to send streaming data to another electronic device, the electronic device used to send streaming data can be used as the first terminal 01 , the electronic device used to receive streaming media data can serve as the second terminal 02. Of course, for the same electronic device, the electronic device can serve as the first terminal 01 to send streaming media data, and can also serve as the second terminal 02 to receive streaming media data.

由于流媒体数据的数据量通常较大,因此,为了在节省传输成本的同时提高传输效率,第一终端01和第二终端02可以预先存储一个流媒体数据库,该流媒体数据库中可以包括标准流媒体数据。对于待传输的第一流媒体数据,如果该流媒体数据库中存储有与第一流媒体数据相似的标准流媒体数据,则第一终端01可以不直接将第一流媒体数据发送给第二终端02,而是将第一流媒体数据与该标准流媒体数据进行比对得到差分数据,向第二终端02发送该差分数据,从而使第二终端02能够根据该差分数据,对该标准流媒体数据进行还原,得到第一流媒体数据。Since the data volume of streaming media data is usually large, in order to improve transmission efficiency while saving transmission costs, the first terminal 01 and the second terminal 02 can pre-store a streaming media database, which can include standard streams media data. For the first streaming data to be transmitted, if standard streaming data similar to the first streaming data is stored in the streaming database, the first terminal 01 may not directly send the first streaming data to the second terminal 02, but Comparing the first streaming media data with the standard streaming media data to obtain differential data, sending the differential data to the second terminal 02, so that the second terminal 02 can restore the standard streaming media data according to the differential data, Obtain the first streaming media data.

实施例二Embodiment two

参照图2,示出了根据本发明一个实施例的一种数据传输方法流程图,应用于第一终端,所述第一终端设置有流媒体数据库,所述数据传输方法包括:Referring to FIG. 2 , it shows a flow chart of a data transmission method according to an embodiment of the present invention, which is applied to a first terminal, and the first terminal is provided with a streaming media database, and the data transmission method includes:

步骤201,所述第一终端将第一流媒体数据与所述流媒体数据库中的标准流媒体数据进行比对,得到差分数据。In step 201, the first terminal compares the first streaming data with the standard streaming data in the streaming database to obtain differential data.

为了减少需要传输的数据量,避免直接将第一流媒体数据传输给第二终端可能带来的传输效率低或者传输成本高的问题,可以不直接将第一流媒体数据传输给第二终端,而是将第一流媒体与流媒体数据库中的标准流媒体数据进行对比,将第一流媒体数据与该标准流媒体数据之间存在差异的流媒体数据作为差分数据,并将该差分数据传输给第二终端。In order to reduce the amount of data to be transmitted and avoid the problems of low transmission efficiency or high transmission cost that may be caused by directly transmitting the first streaming media data to the second terminal, the first streaming media data may not be directly transmitted to the second terminal, but Comparing the first streaming media with the standard streaming data in the streaming database, using the streaming data that differs between the first streaming data and the standard streaming data as differential data, and transmitting the differential data to the second terminal .

其中,第一流媒体数据为待传输的流媒体数据,第一流媒体数据可以包括图像数据,比如,当数据传输方法应用在远程控制中时,第一流媒体数据可以是第一终端的控制端或作为第一终端的被控制端的当前显示内容对应的图像数据。流媒体数据库可以是预先设置的流媒体数据库,该流媒体数据库中存储有标准流媒体数据,该标准流媒体数据可以用于与第一流媒体数据进行比对。差分数据为用于说明的第一流媒体数据与标准流媒体数据之间差异的数据,另外,由于该差分数据只需要说明第一流媒体数据与标准流媒体数据之间的差异,所以与第一流媒体数据相比,差分数据的数据量通常较小。Wherein, the first streaming media data is the streaming media data to be transmitted, and the first streaming media data may include image data, for example, when the data transmission method is applied in remote control, the first streaming media data may be the control terminal of the first terminal or serve as Image data corresponding to the currently displayed content of the controlled terminal of the first terminal. The streaming media database may be a preset streaming media database, in which standard streaming media data is stored, and the standard streaming media data may be used for comparison with the first streaming media data. The differential data is the data used to explain the difference between the first streaming media data and the standard streaming data. In addition, since the differential data only needs to explain the difference between the first streaming media data and the standard streaming data, it is different from the first streaming media data. Compared with the data, the data volume of the differential data is usually small.

可以通过SIFT(Scale Invariant Feature Transform,尺度不变特征变换)、OPENCV(Open Source Computer Vision Library,开源计算机视觉库)等算法,来对第一流媒体数据和标准流媒体数据进行比。Algorithms such as SIFT (Scale Invariant Feature Transform, scale invariant feature transformation), OPENCV (Open Source Computer Vision Library, open source computer vision library) can be used to compare the first streaming media data with the standard streaming media data.

在本发明实施例中,优选的,为了确保第二终端能够准确地得到第一流媒体数据,提高数据传输的可靠性,第一终端可以将该流媒体数据库发送至第二终端,以供第二终端存储该流媒体数据库。In the embodiment of the present invention, preferably, in order to ensure that the second terminal can accurately obtain the first streaming media data and improve the reliability of data transmission, the first terminal may send the streaming media database to the second terminal for the second terminal The terminal stores the streaming media database.

在本发明的另一优选实施例中,优选的,第一终端可以事先(比如将第一流媒体数据与所述流媒体数据库中的标准流媒体数据进行比对之前)从第三方服务器中获取该标准图像数据库。其中,第三方服务器可以是为第一终端和第二终端提供数据传输服务的服务器,当然,也可以是其它服务器。In another preferred embodiment of the present invention, preferably, the first terminal can obtain the first streaming media data from a third-party server in advance (for example, before comparing the first streaming media data with the standard streaming media data in the streaming media database). Standard image database. Wherein, the third-party server may be a server that provides data transmission services for the first terminal and the second terminal, and of course, may also be other servers.

在本发明实施例中,优选的,为了提高将第一流媒体数据与标准流媒体数据进行对比的准确率,进而提高数据传输的可靠性,第一流媒体数据可以与标准流媒体数据的格式相同,比如,第一流媒体数据可以与标准流媒体数据的格式可以均是JPEG(JointPhotographic Experts Group,联合图像专家小组)格式。在本发明的另一实施例中,优选的,该差分数据的格式可以与第一流媒体数据以及该标准流媒体数据的格式相同。In the embodiment of the present invention, preferably, in order to improve the accuracy of comparing the first streaming media data with the standard streaming media data, thereby improving the reliability of data transmission, the format of the first streaming media data may be the same as that of the standard streaming media data, For example, the formats of the first streaming media data and the standard streaming data may both be in JPEG (Joint Photographic Experts Group, Joint Photographic Experts Group) format. In another embodiment of the present invention, preferably, the format of the differential data may be the same as that of the first streaming media data and the standard streaming data.

步骤202,所述第一终端将所述差分数据发送给第二终端,供所述第二终端根据所述差分数据还原得到所述第一流媒体数据。Step 202, the first terminal sends the differential data to a second terminal, so that the second terminal can restore and obtain the first streaming media data according to the differential data.

由于该差分数据能够说明第一流媒体数据与标准流媒体数据之间的差异,所以可以将该差分数据发送给第二终端,以便于第二终端根据该差分数据,还原该标准流媒体数据,从而得到第一流媒体数据。也即是,通过发送一个数量较小的差分数据,来使第二终端得到数据量较大的第一流媒体数据,减少了需要传输的数据量,从而既能够降低数据传输的成本,也能够提高数据传输的效率。Since the differential data can explain the difference between the first streaming media data and the standard streaming media data, the differential data can be sent to the second terminal so that the second terminal can restore the standard streaming media data according to the differential data, thereby Obtain the first streaming media data. That is, by sending a small amount of differential data, the second terminal can obtain the first streaming media data with a large amount of data, which reduces the amount of data to be transmitted, thereby not only reducing the cost of data transmission, but also improving Efficiency of data transfer.

其中,第二终端中也预置有流媒体数据库。当然,在本发明实施例中,第二终端也可以通过接收第一终端发送的流媒体数据库得到。或者,在本发明的另一优选实施例中,该第二终端也可以事先(比如根据该图像还原信息对该标准图像数据进行还原之前)从第三方服务器中获取该标准图像数据库,并将获取到的该标准图像数据库存储至本地。Wherein, the streaming media database is also preset in the second terminal. Certainly, in the embodiment of the present invention, the second terminal may also obtain the streaming media database sent by the first terminal. Or, in another preferred embodiment of the present invention, the second terminal can also obtain the standard image database from a third-party server in advance (for example, before restoring the standard image data according to the image restoration information), and obtain The obtained standard image database is stored locally.

在本发明实施例中,首先,第一终端能够将第一流媒体数据与标准流媒体数据进行对比,得到第一流媒体数据与标准流媒体数据之间差分数据,由于该差分数据的数据量通常小于第一流媒体数据,所以,与传输第一流媒体数据相比,传输差分数据能够减少需要传输的数据量,进而能够降低数据传输的成本、提高数据传输的效率。其次,将该差分数给第二终端,能够使第二终端根据该差分数据还原得到第一流媒体数据,即在降低数据传输的成本、提高数据传输的效率的同时,能够确保输出传输的可靠性。In the embodiment of the present invention, first, the first terminal can compare the first streaming media data with the standard streaming media data, and obtain the differential data between the first streaming media data and the standard streaming media data, because the data volume of the differential data is usually less than The first streaming media data, therefore, compared with transmitting the first streaming media data, transmitting the differential data can reduce the amount of data to be transmitted, thereby reducing the cost of data transmission and improving the efficiency of data transmission. Secondly, assign the difference to the second terminal, so that the second terminal can restore the first streaming media data according to the difference data, that is, while reducing the cost of data transmission and improving the efficiency of data transmission, the reliability of output transmission can be ensured .

实施例三Embodiment three

参照图3,示出了根据本发明一个实施例的一种数据传输方法流程图,应用于第二终端,所述第二终端设置有流媒体数据库,所述数据传输方法包括:Referring to FIG. 3 , it shows a flow chart of a data transmission method according to an embodiment of the present invention, which is applied to a second terminal, and the second terminal is provided with a streaming media database, and the data transmission method includes:

步骤301,所述第二终端接收来自第一终端的差分数据。Step 301, the second terminal receives differential data from the first terminal.

该差分数据为该第一流媒体数据与该标准流媒体数据比对得到的数据,能够说明第一流媒体数据与该标准流媒体数据之间差异的数据,且该差分数据的数据量通常小于第一流媒体数据,所以为了提高数据传输的效率、降低传输成本,第二终端可以接收该差分数据,从而根据该差分数据还原得到第一流媒体数据。The differential data is the data obtained by comparing the first streaming media data with the standard streaming media data, which can explain the difference between the first streaming media data and the standard streaming media data, and the data volume of the differential data is usually smaller than that of the first streaming media data. media data, so in order to improve data transmission efficiency and reduce transmission costs, the second terminal can receive the differential data, and restore the first streaming media data according to the differential data.

其中,流媒体数据库可以是预先设置的流媒体数据库。当然,在本发明的另一优选实施例中,第二终端也可以接收来自第一终端的流媒体数据库,并将接收到的流媒体数据库进行存储。或者,在本发明的另一优选实施例中,第二终端可以事先从第三方服务器中获取该标准图像数据库。Wherein, the streaming media database may be a preset streaming media database. Of course, in another preferred embodiment of the present invention, the second terminal may also receive the streaming media database from the first terminal, and store the received streaming media database. Or, in another preferred embodiment of the present invention, the second terminal may obtain the standard image database from a third-party server in advance.

步骤302,所述第二终端根据所述差分数据以及所述流媒体数据库中的标准流媒体数据,还原得到第一流媒体数据。Step 302, the second terminal restores and obtains the first streaming media data according to the differential data and the standard streaming media data in the streaming media database.

其中,可以通过SIFT或OPEN CV等算法,根据该差分数据,对该标准流媒体数据进行还原,得到第一流媒体数据。Wherein, the standard streaming media data can be restored to obtain the first streaming media data according to the differential data through algorithms such as SIFT or OPEN CV.

在本发明实施例中,首先,第二终端能够接收第一终端发送的差分数据,由于该差分数据的数据量通常小于第一流媒体数据,所以,与传输第一流媒体数据相比,传输差分数据能够减少需要传输的数据量,进而能够降低数据传输的成本、提高数据传输的效率。其次,第二终端根据该差分数据和标准流媒体数据还原得到第一流媒体数据,即在降低数据传输的成本、提高数据传输的效率的同时,能够确保数据传输的可靠性。In the embodiment of the present invention, firstly, the second terminal can receive the differential data sent by the first terminal. Since the data volume of the differential data is usually smaller than that of the first streaming media data, compared with the transmission of the first streaming media data, the transmission of the differential data The amount of data to be transmitted can be reduced, thereby reducing the cost of data transmission and improving the efficiency of data transmission. Secondly, the second terminal restores and obtains the first streaming media data according to the differential data and the standard streaming media data, that is, while reducing the cost of data transmission and improving the efficiency of data transmission, the reliability of data transmission can be ensured.

实施例四Embodiment Four

参照图4,示出了根据本发明一个实施例的一种数据传输方法流程图,应用于第一终端和第二终端的交互中,所述数据传输方法包括:Referring to FIG. 4 , it shows a flowchart of a data transmission method according to an embodiment of the present invention, which is applied to the interaction between the first terminal and the second terminal. The data transmission method includes:

步骤401,所述第一终端获取待传输的流媒体数据作为所述第一流媒体数据。Step 401, the first terminal acquires streaming media data to be transmitted as the first streaming media data.

其中,第一终端可以从获取第一终端的显示屏幕中当前显示的图像数据作为第一流媒体数据,或者从本地存储中获取存储的流媒体数据作为第一流媒体数据。当然,在实际应用中,第一终端还可以通过其它方式来获取待传输的流媒体数据作为第一流媒体数据。Wherein, the first terminal may acquire image data currently displayed on a display screen of the first terminal as the first streaming media data, or acquire stored streaming media data from a local storage as the first streaming media data. Of course, in practical applications, the first terminal may also acquire the streaming media data to be transmitted as the first streaming media data in other ways.

在本发明实施例中,优选的,为了降低传输该第一流媒体数据时的数据量,进而降低传输成本,提高传输效率,第一流媒体数据可以是有损压缩格式的图像数据。In the embodiment of the present invention, preferably, in order to reduce the amount of data when transmitting the first streaming media data, thereby reducing transmission costs and improving transmission efficiency, the first streaming media data may be image data in a lossy compression format.

例如,第一流媒体数据可以是JPEG格式的图像数据,也可以是符合H.26x标准、H.320标准或MPEG(Moving Picture Experts Group,动态图像专家组)标准的格式的图像数据。For example, the first streaming media data may be image data in JPEG format, or image data in a format conforming to H.26x standard, H.320 standard or MPEG (Moving Picture Experts Group, moving picture experts group) standard.

步骤402,所述第一终端判断所述流媒体数据库中是否存在与所述第一流媒体数据相似度大于预设值的标准流媒体数据,如果是,则执行步骤403;否则,执行步骤405。In step 402, the first terminal judges whether there is standard streaming data in the streaming database that has a similarity with the first streaming data greater than a preset value, and if yes, execute step 403; otherwise, execute step 405.

由于如果第一流媒体数据与标准流媒体数据相似度过低,即第一流媒体数据与该标准流媒体数据的之间的差异较大,可能会导致需要传输的差分数据的数据量较大,所以,为了提高数据传输的效率,降低数据传输的成本,第一终端可以将判断流媒体数据库中是否包括与第一流媒体数据相似度大于该预设值的标准图像数据。Because if the similarity between the first streaming media data and the standard streaming data is too low, that is, the difference between the first streaming media data and the standard streaming data is relatively large, the amount of differential data to be transmitted may be large, so In order to improve the efficiency of data transmission and reduce the cost of data transmission, the first terminal may judge whether the streaming media database includes standard image data whose similarity with the first streaming media data is greater than the preset value.

其中,相似度用于说明该第一流媒体数据与标准流媒体数据之间的相似程度,当相似度大于该预设值时,可以说明第一流媒体数据与标准流媒体数据相似。第一流媒体数据与标准流媒体数据之间的相似度可以通过SIFT或OPEN CV等算法来确定。Wherein, the degree of similarity is used to describe the degree of similarity between the first streaming media data and the standard streaming media data, and when the similarity degree is greater than the preset value, it can be explained that the first streaming media data is similar to the standard streaming media data. The similarity between the first streaming media data and the standard streaming media data can be determined by algorithms such as SIFT or OPEN CV.

在本发明实施例中,优选的,该预设值可以由相关技术人员事先确定,比如,该预设值可以在判断流媒体数据库中是否存在与第一流媒体数据相似度大于预设值的标准流媒体数据之前,接收输入的数值得到。该预设值可以是70%、75%或80%,当然,在实际应用中,该预设值还可以是其它值。In the embodiment of the present invention, preferably, the preset value can be determined in advance by relevant technical personnel. For example, the preset value can be used to determine whether there is a criterion in the streaming media database that has a similarity with the first streaming media data greater than the preset value. Before streaming data, receive the input value to get. The preset value may be 70%, 75% or 80%, of course, in practical applications, the preset value may also be other values.

例如,该第一终端存储的流媒体数据库中包括标准流媒体数据1或标准流媒体数据2,预设值为70%。对于第一流媒体数据1,确定第一流媒体数据1与标准流媒体数据1之间的相似度为为60%,60%<70%,第一流媒体数据1与标准流媒体数据1不相似,确定第一流媒体数据1与标准流媒体数据2之间的相似度为为80%,80%>70%,第一流媒体数据1与标准流媒体数据1相似。For example, the streaming media database stored in the first terminal includes standard streaming data 1 or standard streaming data 2, and the preset value is 70%. For the first streaming data 1, determine that the similarity between the first streaming data 1 and the standard streaming data 1 is 60%, 60%<70%, the first streaming data 1 is not similar to the standard streaming data 1, determine The similarity between the first streaming media data 1 and the standard streaming media data 2 is 80%, where 80%>70%, the first streaming media data 1 is similar to the standard streaming data 1 .

在本发明实施例中,优选的,标准流媒体数据的格式可以与第一流媒体数据的格式相同,即标准流媒体数据也可以为有损压缩格式的图像数据。In the embodiment of the present invention, preferably, the format of the standard streaming media data may be the same as that of the first streaming media data, that is, the standard streaming media data may also be image data in a lossy compression format.

步骤403,所述第一终端将所述第一流媒体数据与所述流媒体数据库中的标准流媒体数据进行比对,得到差分数据,将所述差分数据发送给第二终端。Step 403, the first terminal compares the first streaming data with standard streaming data in the streaming database to obtain differential data, and sends the differential data to the second terminal.

其中,将第一流媒体数据与标准流媒体数据进行比对的方式,可以与实施例二中步骤201将第一流媒体数据与标准流媒体数据进行比对的方式相同,此处不再一一赘述。Wherein, the manner of comparing the first streaming media data with the standard streaming media data can be the same as the method of comparing the first streaming media data with the standard streaming media data in step 201 in the second embodiment, and will not repeat them here. .

在本发明实施例中,优选的,可以为了提高得到差分数据的准确率,确保能够有效地减少需要传输的数据量,提高数据传输的效率,并降低传输成本,所述第一终端可以将所述第一流媒体数据与所述标准流媒体数据进行差分,得到所述差分数据。In the embodiment of the present invention, preferably, in order to improve the accuracy of obtaining differential data, ensure that the amount of data to be transmitted can be effectively reduced, improve the efficiency of data transmission, and reduce transmission costs, the first terminal can use the Performing a difference between the first streaming media data and the standard streaming media data to obtain the differential data.

由于图像数据通常包括多个像素的值的集合,比如,一个灰度图像的图像数据可以包括多个像素的灰度值的集合,一个彩色图像可以包括分别对应R通道、G通道和B通道等三个通道的多个像素的值的集合,而当第一流媒体数据与该标准流媒体数据相似时,第一流媒体数据与该标准流媒体数据相似区域的像素的值也相同。因此,可以将第一流媒体数据与标准流媒体数据进行差分,得到该第一流媒体数据与该标准流媒体数据之间的差分数据,该差分数据能够说明第一流媒体数据与标准流媒体数据不相同的多个像素、以及该多个像素在第一流媒体数据与标准流媒体数据中的差值。由于该差分数据为第一流媒体数据与该标准流媒体数据之间存在数据差异的部分的数据,因此,当第一流媒体数据与该标准流媒体数据之间的相似度越高时,该差分数据的数据量越小,能够进一步减少第一终端发送给第二终端的数据量,进而降低成本,提高传输效率。Since image data usually includes a collection of values of multiple pixels, for example, the image data of a grayscale image can include a collection of grayscale values of multiple pixels, and a color image can include the corresponding R channel, G channel, and B channel, etc. A collection of pixel values of three channels, and when the first streaming media data is similar to the standard streaming media data, the values of the pixels in the similar area between the first streaming media data and the standard streaming media data are also the same. Therefore, the first streaming data and the standard streaming data can be differentiated to obtain differential data between the first streaming data and the standard streaming data, and the differential data can explain that the first streaming data is different from the standard streaming data multiple pixels, and the difference between the multiple pixels in the first streaming media data and the standard streaming media data. Since the differential data is the data of the part of the data difference between the first streaming media data and the standard streaming data, when the similarity between the first streaming media data and the standard streaming data is higher, the differential data The smaller the amount of data, the smaller the amount of data sent by the first terminal to the second terminal can be further reduced, thereby reducing costs and improving transmission efficiency.

在本发明实施例中,优选的,可以通过OPEN CV中包括的cvSub()函数或cvAbsDiff()函数,来将第一流媒体数据与该标准流媒体数据进行差分。其中,将第一流媒体数据与该标准流媒体数据进行差分,可以是将该标准流媒体数据各像素的值,减去各像素在该第一流媒体数据中对应的值,也可以是将该第一流媒体数据各像素的值,减去各像素在该标准流媒体数据中对应的值。In the embodiment of the present invention, preferably, the difference between the first streaming media data and the standard streaming media data can be performed by using the cvSub() function or the cvAbsDiff() function included in the OPEN CV. Wherein, the difference between the first streaming media data and the standard streaming media data may be the value of each pixel of the standard streaming media data, subtracting the corresponding value of each pixel in the first streaming media data, or the value of the first streaming media data The value of each pixel of the streaming media data is subtracted from the corresponding value of each pixel in the standard streaming media data.

例如,第一流媒体数据1如下表1所示,标准流媒体数据3如下表2所示,对第一流媒体数据1与该标准流媒体数据3进行差分,得到差分数据1如下表3或差分数据2如下表4所示。其中,差分数据1可以通过第一流媒体数据1各像素的值减去标准流媒体数据3对应像素的值得到,差分数据2可以通过标准流媒体数据3各像素的值减去第一流媒体数据1对应像素的值得到。For example, the first streaming media data 1 is shown in Table 1 below, and the standard streaming media data 3 is shown in Table 2 below. The difference between the first streaming media data 1 and the standard streaming media data 3 is obtained to obtain differential data 1 as shown in Table 3 or differential data 2 as shown in Table 4 below. Among them, the differential data 1 can be obtained by subtracting the value of each pixel of the first streaming data 1 from the value of the corresponding pixel of the standard streaming data 3, and the differential data 2 can be obtained by subtracting the value of each pixel of the standard streaming data 3 from the first streaming data 1 The value of the corresponding pixel is obtained.

表1Table 1

2727 3939 9797 135135 3535 3737 8585 159159 158158 5151 7979 177177 210210 6969 101101 201201

表2Table 2

2727 3939 9797 183183 3535 9999 8585 159159 158158 5151 222222 177177 238238 6969 101101 201201

表3table 3

00 00 00 -48-48 00 -62-62 00 00 00 00 -143-143 00 -28-28 00 00 00

表4Table 4

00 00 00 4848 00 6262 00 00 00 00 143143 00 2828 00 00 00

本发明实施例仅以上述表1-表4对第一流媒体数据、标准流媒体数据或差分数据进行说明,上述表1-表4并不对本发明实施例中的第一流媒体数据、标准流媒体数据或差分数据构成限定。The embodiment of the present invention only uses the above-mentioned Table 1-Table 4 to illustrate the first streaming media data, standard streaming media data or differential data, and the above-mentioned Table 1-Table 4 does not describe the first streaming media data, standard streaming media data or differential data constitutes a limit.

在本发明实施例中,优选的,为了使第二终端快速准确地确定所接收到就是差分数据,从而快速准确地根据差分数据还原得到第一流媒体数据,提高数据传输的效率和可靠性,第一终端还向第二终端发送第一数据传输标识,第一数据传输标识用于说明第二终端当前接收到的为差分数据,第一数据传输标识可以是一个字符或字符串(比如0或1)。In the embodiment of the present invention, preferably, in order to enable the second terminal to quickly and accurately determine that the received data is differential data, thereby quickly and accurately restoring the first streaming media data according to the differential data, and improving the efficiency and reliability of data transmission, the first A terminal also sends a first data transmission identifier to the second terminal, and the first data transmission identifier is used to illustrate that what the second terminal currently receives is differential data, and the first data transmission identifier can be a character or a character string (such as 0 or 1 ).

在本发明实施例中,优选的,由于流媒体数据库中可能存储了多个标准流媒体数据,因此,为了便于第二终端准确地根据差分数据还原得到第一流媒体数据,第一终端可以获取所述标准流媒体数据的数据标识,所述第一终端将所述标准流媒体数据的数据标识发送给所述第二终端,供所述第二终端根据所述差分数据和所述数据标识,还原得到所述第一流媒体数据。In the embodiment of the present invention, preferably, since a plurality of standard streaming media data may be stored in the streaming media database, in order to facilitate the second terminal to accurately restore and obtain the first streaming media data according to the differential data, the first terminal may acquire all The data identifier of the standard streaming media data, the first terminal sends the data identifier of the standard streaming media data to the second terminal, for the second terminal to restore according to the differential data and the data identifier Obtain the first streaming media data.

其中,该图像标识用于在该流媒体数据库中唯一标识一个标准流媒体数据,比如,该图像标识可以是ID(IDentification,身份证)、名称、序号、哈希值等。Wherein, the image identifier is used to uniquely identify a standard streaming media data in the streaming media database, for example, the image identifier can be ID (IDentification, identity card), name, serial number, hash value, etc.

在本发明实施例中,优选的,由于该差分数据可以由该第一流媒体数据中各像素的值减去各像素在标准流媒体数据中对应的值得到,也可以是由标准流媒体数据中各像素的值减去各像素在第一流媒体数据中对应的值得到,所以,为了提高数据传输的可靠性,第一终端还向第二终端发送还原标识,该还原标识用于说明该差分数据是通过将第一流媒体各像素的值减去各像素在标准流媒体数据中对应的值得到,或者,通过将标准流媒体数据中各像素的值减去各像素在第一流媒体数据中对应的值得到。In the embodiment of the present invention, preferably, since the differential data can be obtained by subtracting the corresponding value of each pixel in the standard streaming data from the value of each pixel in the first streaming media data, it can also be obtained from the value of each pixel in the standard streaming media data The value of each pixel is obtained by subtracting the corresponding value of each pixel in the first streaming media data. Therefore, in order to improve the reliability of data transmission, the first terminal also sends a restoration identifier to the second terminal. The restoration identifier is used to describe the differential data It is obtained by subtracting the corresponding value of each pixel in the standard streaming data from the value of each pixel in the first streaming media, or by subtracting the corresponding value of each pixel in the first streaming media data from the value of each pixel in the standard streaming media data worth it.

其中,该还原标识可以是一个字符或字符串,比如,可以用0表示该差分数据是通过将第一流媒体各像素的值减去各像素在标准流媒体数据中对应的值得到,用1表示该差分数据是通过将标准流媒体数据中各像素的值减去各像素在第一流媒体数据中对应的值得到。Wherein, the restoration identifier can be a character or a character string, for example, 0 can be used to indicate that the differential data is obtained by subtracting the corresponding value of each pixel in the standard streaming media data from the value of each pixel of the first streaming media, and 1 can be used to indicate The difference data is obtained by subtracting the corresponding value of each pixel in the first streaming media data from the value of each pixel in the standard streaming media data.

步骤404,所述第二终端接收来自所述第一终端的差分数据,根据所述差分数据以及所述流媒体数据库中的所述标准流媒体数据,还原得到所述第一流媒体数据。Step 404, the second terminal receives the differential data from the first terminal, and restores the first streaming media data according to the differential data and the standard streaming media data in the streaming media database.

其中,根据该差分数据以及该流媒体数据库中的该标准流媒体数据,还原得到所述第一流媒体数据的方式,可以与实施例三中步骤302根据该差分数据以及该流媒体数据库中的标准流媒体数据,还原得到第一流媒体数据的方式相同,此处不再一一赘述。Wherein, according to the differential data and the standard streaming data in the streaming media database, the method of restoring the first streaming media data can be the same as that in step 302 in the third embodiment according to the differential data and the standard streaming media data in the streaming media database. For the streaming media data, the method of restoring and obtaining the first streaming media data is the same, so details will not be repeated here.

在本发明实施例中,优选的,为了避免对不需要还原的第一流媒体数据进行还原,从而提高数据传输的可靠性,第二终端在接收到差分数据,且接收到第一数据传输标识时,按照该差分数据对该标准流媒体数据进行还原。In the embodiment of the present invention, preferably, in order to avoid restoring the first streaming media data that does not need to be restored, thereby improving the reliability of data transmission, when the second terminal receives the differential data and receives the first data transmission identifier , restore the standard streaming media data according to the differential data.

在本发明实施例中,优选的,为了避免对标准流媒体数据还原的方式与得到该差分数据的方式不对应,导致无法准确对该标准流媒体数据进行还原而难以得到第一流媒体数的问题,即为了提高传输数据的可靠性,第二终端可以按照该还原标识来根据差分数据对标准流媒体数据进行还原。其中,如果该还原标识表示该差分数据是通过将第一流媒体数据中各像素的值减去各像素在该标准流媒体数据中对应的值得到时,则对应地,将该差分数据包括的多个像素的值与该多个像素在该标准流媒体数据中对应的值相加,得到第一流媒体数据。如果该还原标识表示该差分数据是通过将该标准流媒体数据中各像素的值减去各像素在第一流媒体数据对应的值得到时,则对应地,将该差分数据包括的多个像素在该标准流媒体数据中的值,减去该多个像素在该差分数据中的值,得到第一流媒体数据。In the embodiment of the present invention, preferably, in order to avoid the inconsistency between the method of restoring the standard streaming media data and the method of obtaining the differential data, resulting in the inability to accurately restore the standard streaming media data and making it difficult to obtain the first streaming media number , that is, in order to improve the reliability of the transmitted data, the second terminal may restore the standard streaming media data according to the difference data according to the restoration identifier. Wherein, if the restore flag indicates that the differential data is obtained by subtracting the corresponding value of each pixel in the standard streaming media data from the value of each pixel in the first streaming media data, then correspondingly, how much of the differential data includes The values of pixels are added to the corresponding values of the plurality of pixels in the standard streaming media data to obtain the first streaming media data. If the restoration flag indicates that the differential data is obtained by subtracting the corresponding value of each pixel in the first streaming media data from the value of each pixel in the standard streaming media data, then correspondingly, the multiple pixels included in the differential data are The values in the standard streaming media data are subtracted from the values of the plurality of pixels in the difference data to obtain the first streaming media data.

例如,差分数据1如上表3所示,图像标识为biaozhun3,还原标识为1,因此,第二终端根据图像标识从本地存储的流媒体数据库中获取到标准流媒体数据3如上表2所示,将该差分数据1中各像素的值与各像素在该标准流媒体数据中3对应的值相加,从而对标准流媒体数据3进行还原,得到第一流媒体数据1如上述表1所示。For example, the differential data 1 is as shown in the above table 3, the image identifier is biaozhun3, and the restoration identifier is 1, therefore, the second terminal obtains the standard streaming media data 3 from the locally stored streaming media database according to the image identifier, as shown in the above table 2, The value of each pixel in the differential data 1 is added to the corresponding value of each pixel in the standard streaming data 3, so as to restore the standard streaming data 3, and obtain the first streaming data 1 as shown in Table 1 above.

例如,当该数据传输方法应用于远程控制中时,控制端作为第一终端获取当前屏幕显示的图像作为第一流媒体数据2,如图5所示,且判定本地存储流媒体数据中存储有与第一流媒体数据2相似度大于预设值的标准流媒体数据4如图6所示,因此,对第一流媒体数据2与标准流媒体数据进行差分,得到差分数据如图7所示,控制端向作为第二终端的被控制端发送该差分数据,被控制端接收到该差分数据时,将差分数据与标准流媒体数据4的相加,还原得到第一流媒体数据2。由于在远程控制的过程中,控制端与被控制端在大部分时间段内所显示的图像相似,所显示的图像变化较小,所以可以获取控制端或被控制端显示的图像作为标准流媒体数据,并将该标准流媒体数据存储至控制端和第二终端本地的流媒体数据库中。之后,控制端不需要将该控制端的当前屏幕显示的图像的所有图像数据作为第一流媒体数据传送给被控制端,而是将该第一流媒体数据与标准流媒体数据的差分数据传输给被控制端。由于差分数据的数据量通常小于第一流媒体数据的数据量,所以能够大大降低远程控制过程中数据传输的成本、提高传输效率。For example, when the data transmission method is applied to remote control, the control terminal as the first terminal obtains the image displayed on the current screen as the first streaming media data 2, as shown in Figure 5, and determines that the local storage streaming media data is stored with The first stream media data 2 similarities are greater than the standard stream media data 4 of preset value as shown in Figure 6, therefore, the first stream media data 2 and standard stream media data are carried out difference, obtain differential data as shown in Figure 7, control terminal Send the differential data to the controlled terminal as the second terminal, and when the controlled terminal receives the differential data, add the differential data to the standard streaming media data 4 to restore the first streaming media data 2 . In the process of remote control, the images displayed by the control terminal and the controlled terminal are similar in most of the time period, and the displayed images change little, so the images displayed by the control terminal or the controlled terminal can be obtained as standard streaming media data, and store the standard streaming media data in the local streaming media databases of the control terminal and the second terminal. Afterwards, the control terminal does not need to transmit all the image data of the image displayed on the current screen of the control terminal to the controlled terminal as the first streaming media data, but transmits the difference data between the first streaming media data and the standard streaming media data to the controlled terminal. end. Since the data volume of the differential data is usually smaller than the data volume of the first streaming media data, the cost of data transmission during the remote control process can be greatly reduced and the transmission efficiency can be improved.

在本发明实施例中,优选的,为了提高还原第一流媒体数据的准确性,进而提高数据传输的准确信,所述第二终端可以接收来自所述第一终端的数据标识,相应的,所述第二终端根据所述标准流媒体数据的数据标识,从所述流媒体数据库中查找对应的标准流媒体数据,所述第二终端根据所述差分数据和所述标准流媒体数据,还原得到所述第一流媒体数据。In the embodiment of the present invention, preferably, in order to improve the accuracy of restoring the first streaming media data, and further improve the accuracy of data transmission, the second terminal can receive the data identifier from the first terminal, and correspondingly, the The second terminal searches the corresponding standard streaming media data from the streaming media database according to the data identifier of the standard streaming media data, and the second terminal restores and obtains according to the differential data and the standard streaming media data The first streaming media data.

在本发明实施例中,优选的,该第二终端在得到第一流媒体数据时,还可以对第一流媒体数据进行其它可行的操作,比如显示图像、编辑修改等。In the embodiment of the present invention, preferably, when the second terminal obtains the first streaming media data, it can also perform other feasible operations on the first streaming media data, such as displaying images, editing and modifying, and so on.

步骤405,所述第一终端将所述第一流媒体数据存储至所述流媒体数据库中,将所述第一流媒体数据发送给所述第二终端。Step 405, the first terminal stores the first streaming media data in the streaming media database, and sends the first streaming media data to the second terminal.

由于第一终端的标准流媒体数据库中,不存在与第一流媒体数据相似的标准流媒体数据,所以,第一终端需要将第一流媒体数据发送给第二终端,而为了确保在向第二终端发送其它与第一流媒体数据的相似度大于该预设值的流媒体数据时,能够降低成本并提高传输效率,可以将第一流媒体数据作为标准流媒体数据存储至该流媒体数据库中。Since there is no standard streaming data similar to the first streaming data in the standard streaming database of the first terminal, the first terminal needs to send the first streaming data to the second terminal. When sending other streaming data whose similarity with the first streaming data is greater than the preset value, the cost can be reduced and the transmission efficiency can be improved, and the first streaming data can be stored in the streaming database as standard streaming data.

在本发明实施例中,优选的,为了使第二终端快速准确地确定所接收到的即为第一流媒体数据,从而避免第二终端误按照该第一流媒体数据库对标准流媒体数据进行还原,进而提高数据传输的可靠性,第一终端还向第二终端发送第二数据传输标识,第二数据传输标识用于说明第二终端当前接收到的为第一流媒体数据,第二数据传输标识可以是一个字符或字符串,且与第一数据传输标识不同(比如,当第一数据传输标识为1时,第二数据传输标识可以是0)。In the embodiment of the present invention, preferably, in order to make the second terminal quickly and accurately determine that the received data is the first streaming media data, so as to prevent the second terminal from restoring the standard streaming media data according to the first streaming media database by mistake, To further improve the reliability of data transmission, the first terminal also sends a second data transmission identifier to the second terminal, the second data transmission identifier is used to illustrate that the second terminal currently receives the first streaming media data, and the second data transmission identifier can be is a character or character string, and is different from the first data transmission identifier (for example, when the first data transmission identifier is 1, the second data transmission identifier can be 0).

步骤406,所述第二终端接收来自所述第一终端的第一流媒体数据,将所述第一流媒体数据存储至所述流媒体数据库中。Step 406, the second terminal receives the first streaming media data from the first terminal, and stores the first streaming media data in the streaming media database.

由于该第二终端接收到的为第一流媒体数据,即该第二终端本地存储的流媒体数据库中未存储有与第一流媒体数据库相似的标准流媒体数据,因此,为了确保了再次需要传输与该第一流媒体数据库相似的流媒体数据时,不需要向该第二终端发送大量的数据,也能够使该第二终端得到该流媒体数据,从而进一步降低数据传输的成本、提高了传输效率,第二终端可以将该第一流媒体数据存储至本地存储的流媒体数据库中,即将第一流媒体数据作为标准流媒体数据存储。Since what the second terminal receives is the first streaming media data, that is, there is no standard streaming media data similar to the first streaming media database stored in the streaming media database stored locally by the second terminal, therefore, in order to ensure that the transmission and When the first streaming media database has similar streaming media data, it is not necessary to send a large amount of data to the second terminal, and the second terminal can also obtain the streaming media data, thereby further reducing the cost of data transmission and improving transmission efficiency. The second terminal may store the first streaming media data in a locally stored streaming media database, that is, store the first streaming media data as standard streaming media data.

在本发明实施例中,优选的,由上述步骤405和406可知,本发明实施例能够对第一终端和第二终端本地存储的流媒体数据库进行完善和更新,所以,为了提高数据传输的可靠性,在通过本发明实施例所提供的数据传输方法进行图像传输时,第一终端与第二终端本地存储的流媒体数据库可以不包括任何标准流媒体数据,并在通过本发明实施例所提供的数据传输方法进行数据传输的过程中,对第一终端和第二终端本地存储的流媒体数据库进行完善和更新。In the embodiment of the present invention, preferably, as can be seen from the above steps 405 and 406, the embodiment of the present invention can improve and update the streaming media database stored locally by the first terminal and the second terminal, so in order to improve the reliability of data transmission In particular, when image transmission is performed through the data transmission method provided by the embodiment of the present invention, the streaming media database stored locally between the first terminal and the second terminal may not include any standard streaming media data, and the data provided by the embodiment of the present invention In the data transmission process of the data transmission method, the streaming media database stored locally by the first terminal and the second terminal is improved and updated.

在本发明实施例中,首先,第一终端能够将第一流媒体数据与标准流媒体数据进行对比,得到第一流媒体数据与标准流媒体数据之间差分数据,由于该差分数据的数据量通常小于第一流媒体数据,所以,与传输第一流媒体数据相比,传输差分数据能够减少需要传输的数据量,进而能够降低数据传输的成本、提高数据传输的效率。其次,将该差分数给第二终端,能够使第二终端根据该差分数据还原得到第一流媒体数据,即在降低数据传输的成本、提高数据传输的效率的同时,能够确保数据传输的可靠性。In the embodiment of the present invention, first, the first terminal can compare the first streaming media data with the standard streaming media data, and obtain the differential data between the first streaming media data and the standard streaming media data, because the data volume of the differential data is usually less than The first streaming media data, therefore, compared with transmitting the first streaming media data, transmitting the differential data can reduce the amount of data to be transmitted, thereby reducing the cost of data transmission and improving the efficiency of data transmission. Secondly, assign the difference to the second terminal, so that the second terminal can restore the first streaming media data according to the difference data, that is, while reducing the cost of data transmission and improving the efficiency of data transmission, the reliability of data transmission can be ensured .

另外,第一终端还可以获取标准流媒体数据的数据标识,将该数据标识也发送给第二终端,能够确保在标准流媒体数据库中存储了多个标准流媒体数据的情况下,第二终端能也够准确地根据该数据标识获取到该标准流媒体数据,进一步提高了根据差分数据对该标准流媒体数据进行还原的可靠性,进而提高了数据传输的可靠性。In addition, the first terminal can also obtain the data identifier of the standard streaming media data, and send the data identifier to the second terminal, which can ensure that the second terminal The standard streaming media data can be accurately obtained according to the data identifier, which further improves the reliability of restoring the standard streaming media data according to the differential data, thereby improving the reliability of data transmission.

另外,第一终端能够获取待传输的流媒体数据作为第一流媒体数据,并判断标准流媒体数据库中是否存储有与第一流媒体数据相似的标准流媒体数据,进而能够在该标准流媒体数据库中未存储有与第一流媒体数据相似的标准流媒体数据时,直接将第一流媒体数据发送给第二终端,确保了数据传输的可靠性。In addition, the first terminal can obtain the streaming media data to be transmitted as the first streaming media data, and judge whether there is standard streaming media data similar to the first streaming media data stored in the standard streaming media database, and then can be stored in the standard streaming media database When no standard streaming data similar to the first streaming data is stored, the first streaming data is directly sent to the second terminal, which ensures the reliability of data transmission.

另外,当该标准流媒体数据库中未存储第一流媒体数据时,第一终端和第二终端能够将第一流媒体数据作为标准流媒体数据存储至标准流媒体数据库中,进而确保了第一终端再次需要向第二终端发送与第一流媒体数据相似的流媒体数据时,能够减少需要传输的数据量,以进一步提高数据传输的可靠性和效率、降低传输成本。In addition, when the first streaming media data is not stored in the standard streaming media database, the first terminal and the second terminal can store the first streaming media data as standard streaming media data in the standard streaming media database, thereby ensuring that the first terminal again When the streaming media data similar to the first streaming media data needs to be sent to the second terminal, the amount of data to be transmitted can be reduced, so as to further improve the reliability and efficiency of data transmission and reduce the transmission cost.

实施例五Embodiment five

参照图8,示出了根据本发明一个实施例的一种数据传输装置,应用于第一终端,所述第一终端设置有流媒体数据库,所述数据传输装置包括:Referring to FIG. 8 , it shows a data transmission device according to an embodiment of the present invention, which is applied to a first terminal, the first terminal is provided with a streaming media database, and the data transmission device includes:

对比模块801,用于所述第一终端将第一流媒体数据与所述流媒体数据库中的标准流媒体数据进行比对,得到差分数据。The comparison module 801 is used for the first terminal to compare the first streaming data with the standard streaming data in the streaming database to obtain differential data.

第一发送模块802,用于所述第一终端将所述差分数据发送给第二终端,供所述第二终端根据所述差分数据还原得到所述第一流媒体数据。The first sending module 802 is used for the first terminal to send the differential data to the second terminal, so that the second terminal can restore and obtain the first streaming media data according to the differential data.

可选的,所述比对模块包括:Optionally, the comparison module includes:

差分子模块,用于所述第一终端将所述第一流媒体数据与所述标准流媒体数据进行差分,得到所述差分数据。The differential sub-module is used for the first terminal to differentiate the first streaming media data and the standard streaming media data to obtain the differential data.

可选的,所述数据传输装置还包括:Optionally, the data transmission device also includes:

获取模块,用于所述第一终端获取所述标准流媒体数据的数据标识;An acquisition module, configured for the first terminal to acquire the data identifier of the standard streaming media data;

第二发送模块,用于所述第一终端将所述标准流媒体数据的数据标识发送给所述第二终端,供所述第二终端根据所述差分数据和所述数据标识还原得到所述第一流媒体数据。The second sending module is used for the first terminal to send the data identifier of the standard streaming media data to the second terminal, so that the second terminal can restore the data according to the differential data and the data identifier to obtain the First streaming data.

可选的,所述数据传输装置还包括:Optionally, the data transmission device also includes:

第一判定模块,用于所述第一终端判定所述流媒体数据库中存在与所述第一流媒体数据相似度大于预设值的标准流媒体数据。The first determining module is used for the first terminal to determine that there is standard streaming media data whose similarity with the first streaming media data is greater than a preset value in the streaming media database.

可选的,所述数据传输装置还包括:Optionally, the data transmission device also includes:

第二判定模块,用于所述第一终端判定所述流媒体数据库中不存在与所述第一流媒体数据相似度大于预设值的标准流媒体数据;The second judging module is used for the first terminal to judge that there is no standard streaming media data in the streaming media database whose similarity with the first streaming media data is greater than a preset value;

第三发送模块,用于所述第一终端将所述第一流媒体数据发送给所述第二终端,供所述第二终端将所述第一流媒体数据存储至所述第二终端中的流媒体数据库中。A third sending module, configured for the first terminal to send the first streaming media data to the second terminal, for the second terminal to store the first streaming media data in a stream in the second terminal in the media database.

可选的,所述数据传输装置还包括:Optionally, the data transmission device also includes:

存储模块,用于所述第一终端将所述第一流媒体数据存储至所述流媒体数据库中。A storage module, configured for the first terminal to store the first streaming media data in the streaming media database.

在本发明实施例中,首先,第一终端能够将第一流媒体数据与标准流媒体数据进行对比,得到第一流媒体数据与标准流媒体数据之间差分数据,由于该差分数据的数据量通常小于第一流媒体数据,所以,与传输第一流媒体数据相比,传输差分数据能够减少需要传输的数据量,进而能够降低数据传输的成本、提高数据传输的效率。其次,将该差分数给第二终端,能够使第二终端根据该差分数据还原得到第一流媒体数据,即在降低数据传输的成本、提高数据传输的效率的同时,能够确保数据传输的可靠性。In the embodiment of the present invention, first, the first terminal can compare the first streaming media data with the standard streaming media data, and obtain the differential data between the first streaming media data and the standard streaming media data, because the data volume of the differential data is usually less than The first streaming media data, therefore, compared with transmitting the first streaming media data, transmitting the differential data can reduce the amount of data to be transmitted, thereby reducing the cost of data transmission and improving the efficiency of data transmission. Secondly, assign the difference to the second terminal, so that the second terminal can restore the first streaming media data according to the difference data, that is, while reducing the cost of data transmission and improving the efficiency of data transmission, the reliability of data transmission can be ensured .

实施例六Embodiment six

参照图9,示出了根据本发明一个实施例的一种数据传输装置,应用于第二终端,所述第二终端设置有流媒体数据库,所述数据传输装置包括:Referring to FIG. 9 , it shows a data transmission device according to an embodiment of the present invention, which is applied to a second terminal, and the second terminal is provided with a streaming media database, and the data transmission device includes:

第一接收模块901,用于所述第二终端接收来自第一终端的差分数据。The first receiving module 901 is configured for the second terminal to receive differential data from the first terminal.

还原模块902,用于所述第二终端根据所述差分数据以及所述流媒体数据库中的标准流媒体数据,还原得到第一流媒体数据。The restoring module 902 is used for the second terminal to restore the first streaming media data according to the differential data and the standard streaming media data in the streaming media database.

可选的,所述数据传输装置还包括:Optionally, the data transmission device also includes:

第二接收模块,用于所述第二终端接收来自所述第一终端的数据标识;A second receiving module, configured for the second terminal to receive the data identifier from the first terminal;

所述还原模块包括:The recovery module includes:

查找子模块,用于所述第二终端根据所述标准流媒体数据的数据标识,从所述流媒体数据库中查找对应的标准流媒体数据;The search submodule is used for the second terminal to search the corresponding standard streaming media data from the streaming media database according to the data identification of the standard streaming media data;

还原子模块,用于所述第二终端根据所述差分数据和所述标准流媒体数据,还原得到所述第一流媒体数据。The restoration sub-module is used for the second terminal to restore and obtain the first streaming media data according to the differential data and the standard streaming media data.

可选的,所述数据传输装置还包括:Optionally, the data transmission device also includes:

第三接收模块,用于所述第二终端接收来自所述第一终端的第一流媒体数据;A third receiving module, configured for the second terminal to receive the first streaming media data from the first terminal;

存储模块,用于所述第二终端将所述第一流媒体数据存储至所述流媒体数据库中。A storage module, configured for the second terminal to store the first streaming media data in the streaming media database.

在本发明实施例中,首先,第二终端能够接收第一终端发送的差分数据,由于该差分数据的数据量通常小于第一流媒体数据,所以,与传输第一流媒体数据相比,传输差分数据能够减少需要传输的数据量,进而能够降低数据传输的成本、提高数据传输的效率。其次,第二终端根据该差分数据和标准流媒体数据还原得到第一流媒体数据,即在降低数据传输的成本、提高数据传输的效率的同时,能够确保数据传输的可靠性。In the embodiment of the present invention, firstly, the second terminal can receive the differential data sent by the first terminal. Since the data volume of the differential data is usually smaller than that of the first streaming media data, compared with the transmission of the first streaming media data, the transmission of the differential data The amount of data to be transmitted can be reduced, thereby reducing the cost of data transmission and improving the efficiency of data transmission. Secondly, the second terminal restores and obtains the first streaming media data according to the differential data and the standard streaming media data, that is, while reducing the cost of data transmission and improving the efficiency of data transmission, the reliability of data transmission can be ensured.

实施例七Embodiment seven

参照图10,示出了根据本发明一个实施例的一种第一终端的框图。图10所示的第一终端1000包括:至少一个处理器1001、存储器1002、至少一个网络接口1004和其他用户接口1003。第一终端1000中的各个组件通过总线系统1005耦合在一起。可理解,总线系统1005用于实现这些组件之间的连接通信。总线系统1005除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图10中将各种总线都标为总线系统1005。Referring to FIG. 10 , it shows a block diagram of a first terminal according to an embodiment of the present invention. The first terminal 1000 shown in FIG. 10 includes: at least one processor 1001 , a memory 1002 , at least one network interface 1004 and other user interfaces 1003 . Various components in the first terminal 1000 are coupled together through the bus system 1005 . It can be understood that the bus system 1005 is used to realize connection and communication between these components. In addition to the data bus, the bus system 1005 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 1005 in FIG. 10 for clarity of illustration.

其中,用户接口1003可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 1003 may include a display, a keyboard, or a pointing device (for example, a mouse, a trackball (trackball), a touch panel, or a touch screen, and the like.

可以理解,本发明实施例中的存储器1002可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double DataRate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本发明实施例描述的系统和方法的存储器1002旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 1002 in this embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double DataRate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM, SLDRAM) And Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM). The memory 1002 of the systems and methods described in embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器1002存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统10021和应用程序10022。In some implementations, the memory 1002 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 10021 and an application program 10022 .

其中,操作系统10021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序10022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序10022中。Among them, the operating system 10021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing tasks based on hardware. The application program 10022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to realize various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 10022 .

在本发明实施例中,通过调用存储器1002存储的程序或指令,具体的,可以是应用程序10022中存储的程序或指令,处理器1001用于:In the embodiment of the present invention, by calling the program or instruction stored in the memory 1002, specifically, the program or instruction stored in the application program 10022, the processor 1001 is used to:

将第一流媒体数据与所述流媒体数据库中的标准流媒体数据进行比对,得到差分数据;Comparing the first streaming data with the standard streaming data in the streaming database to obtain differential data;

将所述差分数据发送给第二终端,供所述第二终端根据所述差分数据还原得到所述第一流媒体数据。and sending the differential data to a second terminal for the second terminal to recover and obtain the first streaming media data according to the differential data.

上述本发明实施例揭示的方法可以应用于处理器1001中,或者由处理器1001实现。处理器1001可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1001中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1001可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1002,处理器1001读取存储器1002中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 1001 or implemented by the processor 1001 . The processor 1001 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1001 or instructions in the form of software. The aforementioned processor 1001 may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 1002, and the processor 1001 reads the information in the memory 1002, and completes the steps of the above method in combination with its hardware.

可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital SignalProcessing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(ProgrammableLogic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.

对于软件实现,可通过执行本发明实施例所述功能的模块(例如过程、函数等)来实现本发明实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described in the embodiments of the present invention may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present invention. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

可选的,处理器1001还用于:Optionally, the processor 1001 is also used for:

将所述第一流媒体数据与所述标准流媒体数据进行差分,得到所述差分数据。and performing a difference between the first streaming media data and the standard streaming media data to obtain the differential data.

可选的,处理器1001还用于:Optionally, the processor 1001 is also used for:

获取所述标准流媒体数据的数据标识;Obtain the data identifier of the standard streaming media data;

将所述标准流媒体数据的数据标识发送给所述第二终端,供所述第二终端根据所述差分数据和所述数据标识还原得到所述第一流媒体数据。Sending the data identifier of the standard streaming media data to the second terminal for the second terminal to recover and obtain the first streaming media data according to the differential data and the data identifier.

可选的,处理器1001还用于:Optionally, the processor 1001 is also used for:

判定所述流媒体数据库中存在与所述第一流媒体数据相似度大于预设值的标准流媒体数据。It is determined that standard streaming data having a similarity with the first streaming data greater than a preset value exists in the streaming media database.

可选的,处理器1001还用于:Optionally, the processor 1001 is also used for:

判定所述流媒体数据库中不存在与所述第一流媒体数据相似度大于预设值的标准流媒体数据;Determining that there is no standard streaming data whose similarity with the first streaming data is greater than a preset value in the streaming database;

将所述第一流媒体数据发送给所述第二终端,供所述第二终端将所述第一流媒体数据存储至所述第二终端中的流媒体数据库中。sending the first streaming media data to the second terminal for the second terminal to store the first streaming media data in a streaming media database in the second terminal.

可选的,处理器1001还用于:Optionally, the processor 1001 is also used for:

将所述第一流媒体数据存储至所述流媒体数据库中。storing the first streaming media data in the streaming media database.

第一终端1000能够实现前述实施例中第一终端实现的各个过程,为避免重复,这里不再赘述。The first terminal 1000 can implement various processes implemented by the first terminal in the foregoing embodiments, and details are not described here to avoid repetition.

在本发明实施例中,首先,第一终端能够将第一流媒体数据与标准流媒体数据进行对比,得到第一流媒体数据与标准流媒体数据之间差分数据,由于该差分数据的数据量通常小于第一流媒体数据,所以,与传输第一流媒体数据相比,传输差分数据能够减少需要传输的数据量,进而能够降低数据传输的成本、提高数据传输的效率。其次,将该差分数给第二终端,能够使第二终端根据该差分数据还原得到第一流媒体数据,即在降低数据传输的成本、提高数据传输的效率的同时,能够确保数据传输的可靠性。In the embodiment of the present invention, first, the first terminal can compare the first streaming media data with the standard streaming media data, and obtain the differential data between the first streaming media data and the standard streaming media data, because the data volume of the differential data is usually less than The first streaming media data, therefore, compared with transmitting the first streaming media data, transmitting the differential data can reduce the amount of data to be transmitted, thereby reducing the cost of data transmission and improving the efficiency of data transmission. Secondly, assign the difference to the second terminal, so that the second terminal can restore the first streaming media data according to the difference data, that is, while reducing the cost of data transmission and improving the efficiency of data transmission, the reliability of data transmission can be ensured .

实施例八Embodiment eight

图11是本发明另一个实施例的第一终端的结构示意图。具体地,图11中的第一终端1100可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。Fig. 11 is a schematic structural diagram of a first terminal according to another embodiment of the present invention. Specifically, the first terminal 1100 in FIG. 11 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.

图11中的第一终端1100包括射频(Radio Frequency,RF)电路1110、存储器1120、输入单元1130、显示单元1140、处理器1160、音频电路1170、WiFi(Wireless Fidelity)模块1180和电源1190。The first terminal 1100 in FIG. 11 includes a radio frequency (Radio Frequency, RF) circuit 1110, a memory 1120, an input unit 1130, a display unit 1140, a processor 1160, an audio circuit 1170, a WiFi (Wireless Fidelity) module 1180 and a power supply 1190.

其中,输入单元130可用于接收用户输入的数字或字符信息,以及产生与第一终端1100的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元1130可以包括触控面板1131。触控面板1131,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1131上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器1160,并能接收处理器1160发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1131。除了触控面板1131,输入单元1130还可以包括其他输入设备1132,其他输入设备1132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 130 can be used to receive number or character information input by the user, and generate signal input related to user setting and function control of the first terminal 1100 . Specifically, in the embodiment of the present invention, the input unit 1130 may include a touch panel 1131 . The touch panel 1131, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 1131 using any suitable object or accessory such as a finger, a stylus), and The specified program drives the corresponding connected device. Optionally, the touch panel 1131 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 1160, and can receive and execute commands sent by the processor 1160. In addition, the touch panel 1131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1131, the input unit 1130 may also include other input devices 1132, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元1140可用于显示由用户输入的信息或提供给用户的信息以及第一终端1100的各种菜单界面。显示单元1140可包括显示面板1141,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1141。Wherein, the display unit 1140 may be used to display information input by the user or information provided to the user and various menu interfaces of the first terminal 1100 . The display unit 1140 may include a display panel 1141, and optionally, the display panel 1141 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板1131可以覆盖显示面板1141,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器1160以确定触摸事件的类型,随后处理器1160根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 1131 can cover the display panel 1141 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 1160 to determine the type of the touch event, and then the processor 1160 provides corresponding visual output on the touch display screen according to the type of the touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.

其中处理器1160是第一终端1100的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器1121内的软件程序和/或模块,以及调用存储在第二存储器1122内的数据,执行第一终端1100的各种功能和处理数据,从而对第一终端1100进行整体监控。可选的,处理器1160可包括一个或多个处理单元。Wherein the processor 1160 is the control center of the first terminal 1100, which uses various interfaces and lines to connect various parts of the entire mobile phone, and runs or executes the software programs and/or modules stored in the first memory 1121, and calls the stored in the first memory 1121. The data in the second memory 1122 executes various functions of the first terminal 1100 and processes data, so as to monitor the first terminal 1100 as a whole. Optionally, the processor 1160 may include one or more processing units.

在本发明实施例中,通过调用存储该第一存储器1121内的软件程序和/或模块和/或该第二存储器1122内的数据,处理器1160用于:In the embodiment of the present invention, by calling the software programs and/or modules stored in the first memory 1121 and/or the data in the second memory 1122, the processor 1160 is used to:

所述第一终端将第一流媒体数据与所述流媒体数据库中的标准流媒体数据进行比对,得到差分数据;The first terminal compares the first streaming data with the standard streaming data in the streaming database to obtain differential data;

所述第一终端将所述差分数据发送给第二终端,供所述第二终端根据所述差分数据还原得到所述第一流媒体数据。The first terminal sends the differential data to the second terminal, so that the second terminal restores and obtains the first streaming media data according to the differential data.

可选的,处理器1160还用于:Optionally, the processor 1160 is also used for:

将所述第一流媒体数据与所述标准流媒体数据进行差分,得到所述差分数据。and performing a difference between the first streaming media data and the standard streaming media data to obtain the differential data.

可选的,处理器1160还用于:Optionally, the processor 1160 is also used for:

获取所述标准流媒体数据的数据标识;Obtain the data identifier of the standard streaming media data;

将所述标准流媒体数据的数据标识发送给所述第二终端,供所述第二终端根据所述差分数据和所述数据标识还原得到所述第一流媒体数据。Sending the data identifier of the standard streaming media data to the second terminal for the second terminal to recover and obtain the first streaming media data according to the differential data and the data identifier.

可选的,处理器1160还用于:Optionally, the processor 1160 is also used for:

判定所述流媒体数据库中存在与所述第一流媒体数据相似度大于预设值的标准流媒体数据。It is determined that standard streaming data having a similarity with the first streaming data greater than a preset value exists in the streaming media database.

可选的,处理器1160还用于:Optionally, the processor 1160 is also used for:

判定所述流媒体数据库中不存在与所述第一流媒体数据相似度大于预设值的标准流媒体数据;Determining that there is no standard streaming data whose similarity with the first streaming data is greater than a preset value in the streaming database;

将所述第一流媒体数据发送给所述第二终端,供所述第二终端将所述第一流媒体数据存储至所述第二终端中的流媒体数据库中。sending the first streaming media data to the second terminal for the second terminal to store the first streaming media data in a streaming media database in the second terminal.

可选的,处理器1160还用于:Optionally, the processor 1160 is also used for:

将所述第一流媒体数据存储至所述流媒体数据库中。storing the first streaming media data in the streaming media database.

在本发明实施例中,首先,第一终端能够将第一流媒体数据与标准流媒体数据进行对比,得到第一流媒体数据与标准流媒体数据之间差分数据,由于该差分数据的数据量通常小于第一流媒体数据,所以,与传输第一流媒体数据相比,传输差分数据能够减少需要传输的数据量,进而能够降低数据传输的成本、提高数据传输的效率。其次,将该差分数给第二终端,能够使第二终端根据该差分数据还原得到第一流媒体数据,即在降低数据传输的成本、提高数据传输的效率的同时,能够确保数据传输的可靠性。In the embodiment of the present invention, first, the first terminal can compare the first streaming media data with the standard streaming media data, and obtain the differential data between the first streaming media data and the standard streaming media data, because the data volume of the differential data is usually less than The first streaming media data, therefore, compared with transmitting the first streaming media data, transmitting the differential data can reduce the amount of data to be transmitted, thereby reducing the cost of data transmission and improving the efficiency of data transmission. Secondly, assign the difference to the second terminal, so that the second terminal can restore the first streaming media data according to the difference data, that is, while reducing the cost of data transmission and improving the efficiency of data transmission, the reliability of data transmission can be ensured .

实施例九Embodiment nine

参照图12,示出了根据本发明一个实施例的一种第二终端的框图。图12所示的第二终端1200包括:至少一个处理器1201、存储器1202、至少一个网络接口1204和其他用户接口1203。第二终端1200中的各个组件通过总线系统1205耦合在一起。可理解,总线系统1205用于实现这些组件之间的连接通信。总线系统1205除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图12中将各种总线都标为总线系统1205。Referring to FIG. 12 , it shows a block diagram of a second terminal according to an embodiment of the present invention. The second terminal 1200 shown in FIG. 12 includes: at least one processor 1201 , a memory 1202 , at least one network interface 1204 and other user interfaces 1203 . Various components in the second terminal 1200 are coupled together through the bus system 1205 . It can be understood that the bus system 1205 is used to realize connection and communication between these components. In addition to the data bus, the bus system 1205 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 1205 in FIG. 12 for clarity of illustration.

其中,用户接口1203可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 1203 may include a display, a keyboard or a pointing device (for example, a mouse, a trackball (trackball), a touch panel or a touch screen, and the like.

可以理解,本发明实施例中的存储器1202可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double DataRate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本发明实施例描述的系统和方法的存储器1202旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 1202 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double DataRate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM, SLDRAM) And Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM). The memory 1202 of the systems and methods described in embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器1202存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统12021和应用程序12022。In some implementations, the memory 1202 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 12021 and an application program 12022 .

其中,操作系统12021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序12022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序12022中。Among them, the operating system 12021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing tasks based on hardware. The application program 12022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to realize various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 12022 .

在本发明实施例中,通过调用存储器1202存储的程序或指令,具体的,可以是应用程序12022中存储的程序或指令,处理器1201用于:In this embodiment of the present invention, by calling the program or instruction stored in the memory 1202, specifically, the program or instruction stored in the application program 12022, the processor 1201 is used to:

接收来自第一终端的差分数据;receiving differential data from the first terminal;

根据所述差分数据以及所述流媒体数据库中的标准流媒体数据,还原得到第一流媒体数据。According to the difference data and the standard streaming data in the streaming database, the first streaming data is restored.

上述本发明实施例揭示的方法可以应用于处理器1201中,或者由处理器1201实现。处理器1201可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1201中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1201可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1202,处理器1201读取存储器1202中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 1201 or implemented by the processor 1201 . The processor 1201 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be implemented by an integrated logic circuit of hardware in the processor 1201 or instructions in the form of software. The above-mentioned processor 1201 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 1202, and the processor 1201 reads the information in the memory 1202, and completes the steps of the above method in combination with its hardware.

可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital SignalProcessing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(ProgrammableLogic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.

对于软件实现,可通过执行本发明实施例所述功能的模块(例如过程、函数等)来实现本发明实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described in the embodiments of the present invention may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present invention. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

可选的,处理器1201还用于:Optionally, the processor 1201 is also used for:

接收来自所述第一终端的数据标识;receiving a data identifier from the first terminal;

根据所述差分数据以及所述流媒体数据库中的标准流媒体数据,还原得到所述第一流媒体数据包括:According to the differential data and the standard streaming data in the streaming database, restoring the first streaming data includes:

根据所述标准流媒体数据的数据标识,从所述流媒体数据库中查找对应的标准流媒体数据;According to the data identification of the standard streaming media data, search the corresponding standard streaming media data from the streaming media database;

根据所述差分数据和所述标准流媒体数据,还原得到所述第一流媒体数据。According to the differential data and the standard streaming data, restore the first streaming media data.

可选的,处理器1201还用于:Optionally, the processor 1201 is also used for:

接收来自所述第一终端的第一流媒体数据;receiving first streaming data from the first terminal;

将所述第一流媒体数据存储至所述流媒体数据库中。storing the first streaming media data in the streaming media database.

第二终端1200能够实现前述实施例中第二终端实现的各个过程,为避免重复,这里不再赘述。The second terminal 1200 can implement various processes implemented by the second terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.

在本发明实施例中,首先,第二终端能够接收第一终端发送的差分数据,由于该差分数据的数据量通常小于第一流媒体数据,所以,与传输第一流媒体数据相比,传输差分数据能够减少需要传输的数据量,进而能够降低数据传输的成本、提高数据传输的效率。其次,第二终端根据该差分数据和标准流媒体数据还原得到第一流媒体数据,即在降低数据传输的成本、提高数据传输的效率的同时,能够确保数据传输的可靠性。In the embodiment of the present invention, firstly, the second terminal can receive the differential data sent by the first terminal. Since the data volume of the differential data is usually smaller than that of the first streaming media data, compared with the transmission of the first streaming media data, the transmission of the differential data The amount of data to be transmitted can be reduced, thereby reducing the cost of data transmission and improving the efficiency of data transmission. Secondly, the second terminal restores and obtains the first streaming media data according to the differential data and the standard streaming media data, that is, while reducing the cost of data transmission and improving the efficiency of data transmission, the reliability of data transmission can be ensured.

实施例十Embodiment ten

图13是本发明另一个实施例的第二终端的结构示意图。具体地,图13中的第二终端1300可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。Fig. 13 is a schematic structural diagram of a second terminal according to another embodiment of the present invention. Specifically, the second terminal 1300 in FIG. 13 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.

图13中的第二终端1300包括射频(Radio Frequency,RF)电路1310、存储器1320、输入单元1330、显示单元1340、处理器1160、音频电路1370、WiFi(Wireless Fidelity)模块1380和电源1390。The second terminal 1300 in FIG. 13 includes a radio frequency (Radio Frequency, RF) circuit 1310, a memory 1320, an input unit 1330, a display unit 1340, a processor 1160, an audio circuit 1370, a WiFi (Wireless Fidelity) module 1380 and a power supply 1390.

其中,输入单元1330可用于接收用户输入的数字或字符信息,以及产生与第二终端1300的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元1330可以包括触控面板1331。触控面板1331,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1331上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1331可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器1360,并能接收处理器1360发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1331。除了触控面板1331,输入单元1330还可以包括其他输入设备1332,其他输入设备1332可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 1330 can be used to receive number or character information input by the user, and generate signal input related to the user setting and function control of the second terminal 1300 . Specifically, in the embodiment of the present invention, the input unit 1330 may include a touch panel 1331 . The touch panel 1331, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 1331 using any suitable object or accessory such as a finger or a stylus), and perform the operation according to preset settings. The specified program drives the corresponding connected device. Optionally, the touch panel 1331 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 1360, and can receive and execute commands sent by the processor 1360. In addition, the touch panel 1331 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1331, the input unit 1330 may also include other input devices 1332, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元1340可用于显示由用户输入的信息或提供给用户的信息以及第二终端1300的各种菜单界面。显示单元1340可包括显示面板1341,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1341。Wherein, the display unit 1340 may be used to display information input by the user or information provided to the user and various menu interfaces of the second terminal 1300 . The display unit 1340 may include a display panel 1341, and optionally, the display panel 1341 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板1331可以覆盖显示面板1341,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器1360以确定触摸事件的类型,随后处理器1360根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 1331 can cover the display panel 1341 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 1360 to determine the type of the touch event, and then the processor The 1360 provides corresponding visual output on the touch display screen according to the type of the touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.

其中处理器1360是第二终端1300的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器1321内的软件程序和/或模块,以及调用存储在第二存储器1322内的数据,执行第二终端1300的各种功能和处理数据,从而对第二终端1300进行整体监控。可选的,处理器1360可包括一个或多个处理单元。Wherein the processor 1360 is the control center of the second terminal 1300, which uses various interfaces and lines to connect various parts of the entire mobile phone, and runs or executes the software programs and/or modules stored in the first memory 1321, and calls the The data in the second storage 1322 executes various functions of the second terminal 1300 and processes data, so as to monitor the second terminal 1300 as a whole. Optionally, the processor 1360 may include one or more processing units.

在本发明实施例中,通过调用存储该第一存储器1321内的软件程序和/或模块和/或该第二存储器1322内的数据,处理器1360用于:In the embodiment of the present invention, by calling the software programs and/or modules stored in the first memory 1321 and/or the data in the second memory 1322, the processor 1360 is used to:

所述第二终端接收来自第一终端的差分数据;The second terminal receives differential data from the first terminal;

所述第二终端根据所述差分数据以及所述流媒体数据库中的标准流媒体数据,还原得到第一流媒体数据。The second terminal restores and obtains the first streaming media data according to the differential data and the standard streaming media data in the streaming media database.

可选的,处理器1360还用于:Optionally, the processor 1360 is also used for:

接收来自所述第一终端的数据标识;receiving a data identifier from the first terminal;

根据所述差分数据以及所述流媒体数据库中的标准流媒体数据,还原得到所述第一流媒体数据包括:According to the differential data and the standard streaming data in the streaming database, restoring the first streaming data includes:

根据所述标准流媒体数据的数据标识,从所述流媒体数据库中查找对应的标准流媒体数据;According to the data identification of the standard streaming media data, search the corresponding standard streaming media data from the streaming media database;

根据所述差分数据和所述标准流媒体数据,还原得到所述第一流媒体数据。According to the differential data and the standard streaming data, restore the first streaming media data.

可选的,处理器1360还用于:Optionally, the processor 1360 is also used for:

接收来自所述第一终端的第一流媒体数据;receiving first streaming data from the first terminal;

将所述第一流媒体数据存储至所述流媒体数据库中。storing the first streaming media data in the streaming media database.

在本发明实施例中,首先,第二终端能够接收第一终端发送的差分数据,由于该差分数据的数据量通常小于第一流媒体数据,所以,与传输第一流媒体数据相比,传输差分数据能够减少需要传输的数据量,进而能够降低数据传输的成本、提高数据传输的效率。其次,第二终端根据该差分数据和标准流媒体数据还原得到第一流媒体数据,即在降低数据传输的成本、提高数据传输的效率的同时,能够确保数据传输的可靠性。In the embodiment of the present invention, firstly, the second terminal can receive the differential data sent by the first terminal. Since the data volume of the differential data is usually smaller than that of the first streaming media data, compared with the transmission of the first streaming media data, the transmission of the differential data The amount of data to be transmitted can be reduced, thereby reducing the cost of data transmission and improving the efficiency of data transmission. Secondly, the second terminal restores and obtains the first streaming media data according to the differential data and the standard streaming media data, that is, while reducing the cost of data transmission and improving the efficiency of data transmission, the reliability of data transmission can be ensured.

本发明实施例还提供了一种终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的数据传输程序,所述数据传输程序被所述处理器执行时实现所述的数据传输方法的步骤。An embodiment of the present invention also provides a terminal, including: a memory, a processor, and a data transmission program stored in the memory and operable on the processor. When the data transmission program is executed by the processor The steps of the data transmission method are realized.

本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有数据传输程序,所述数据传输程序被处理器执行时实现所述的数据传输方法的步骤。An embodiment of the present invention also provides a computer-readable storage medium, where a data transmission program is stored on the computer-readable storage medium, and when the data transmission program is executed by a processor, the steps of the data transmission method are implemented.

本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (20)

1. a kind of data transmission method, it is characterised in that applied to first terminal, the first terminal is provided with stream medium data Storehouse, including:
First stream medium data is compared the first terminal with the standard stream medium data in the stream medium data storehouse, Obtain differential data;
The differential data is sent to second terminal by the first terminal, for the second terminal according to the differential data also Original obtains first stream medium data.
2. data transmission method according to claim 1, it is characterised in that the first terminal is by the first stream medium data With the standard stream medium data in the stream medium data storehouse be compared including:
First stream medium data and the standard stream medium data are carried out difference by the first terminal, obtain the difference Data.
3. data transmission method according to claim 1, it is characterised in that also include:
The first terminal obtains the Data Identification of the standard stream medium data;
The Data Identification of the standard stream medium data is sent to the second terminal by the first terminal, for described second eventually End obtains first stream medium data according to the differential data and Data Identification reduction.
4. data transmission method according to claim 1, it is characterised in that also include:
The first terminal judges to exist to be more than with the first stream medium data similarity in the stream medium data storehouse to preset The standard stream medium data of value.
5. data transmission method according to claim 4, it is characterised in that also include:
The first terminal judges to be not present in the stream medium data storehouse to be more than in advance with the first stream medium data similarity If the standard stream medium data of value;
First stream medium data is sent to the second terminal by the first terminal, for the second terminal by described One stream medium data is stored in the stream medium data storehouse into the second terminal.
6. data transmission method according to claim 5, it is characterised in that also include:
The first terminal stores first stream medium data into the stream medium data storehouse.
7. a kind of data transmission method, it is characterised in that applied to second terminal, the second terminal is provided with stream medium data Storehouse, the data transmission method includes:
The second terminal receives the differential data from first terminal;
Standard stream medium data of the second terminal in the differential data and the stream medium data storehouse, is reduced To the first stream medium data.
8. data transmission method according to claim 7, it is characterised in that also include:
The second terminal receives the Data Identification from the first terminal;
Standard stream medium data of the second terminal in the differential data and the stream medium data storehouse, is reduced Included to first flow media data packet:
The second terminal searches correspondence according to the Data Identification of the standard stream medium data from the stream medium data storehouse Standard stream medium data;
The second terminal obtains the first Streaming Media number according to the differential data and the standard stream medium data, reduction According to.
9. data transmission method according to claim 7, it is characterised in that also include:
The second terminal receives the first stream medium data from the first terminal;
The second terminal stores first stream medium data into the stream medium data storehouse.
10. a kind of data transmission device, it is characterised in that applied to first terminal, the first terminal is provided with Streaming Media number According to storehouse, including:
Contrast module, for the first terminal by the standard Streaming Media in the first stream medium data and the stream medium data storehouse Data are compared, and obtain differential data;
First sending module, is sent to second terminal, for the second terminal for the first terminal by the differential data First stream medium data is obtained according to differential data reduction.
11. data transmission device according to claim 10, it is characterised in that the comparing module includes:
Difference submodule, it is poor to carry out first stream medium data and the standard stream medium data for the first terminal Point, obtain the differential data.
12. data transmission device according to claim 10, it is characterised in that the data transmission device also includes:
Acquisition module, the Data Identification of the standard stream medium data is obtained for the first terminal;
Second sending module, described second is sent to for the first terminal by the Data Identification of the standard stream medium data Terminal, first stream medium data is obtained for the second terminal according to the differential data and Data Identification reduction.
13. data transmission device according to claim 10, it is characterised in that the data transmission device also includes:
First determination module, judges exist and the first Streaming Media number in the stream medium data storehouse for the first terminal It is more than the standard stream medium data of preset value according to similarity.
14. data transmission device according to claim 13, it is characterised in that the data transmission device also includes:
Second determination module, judges to be not present and first Streaming Media in the stream medium data storehouse for the first terminal Data similarity is more than the standard stream medium data of preset value;
3rd sending module, is sent to the second terminal, for institute for the first terminal by first stream medium data State in the stream medium data storehouse that second terminal stores first stream medium data into the second terminal.
15. data transmission device according to claim 14, it is characterised in that the data transmission device also includes:
Memory module, stores first stream medium data into the stream medium data storehouse for the first terminal.
16. a kind of data transmission device, it is characterised in that applied to second terminal, the second terminal is provided with Streaming Media number According to storehouse, including:
First receiving module, the differential data from first terminal is received for the second terminal;
Recovery module, for normal stream matchmaker of the second terminal in the differential data and the stream medium data storehouse Volume data, reduction obtains the first stream medium data.
17. data transmission device according to claim 16, it is characterised in that the data transmission device also includes:
Second receiving module, the Data Identification from the first terminal is received for the second terminal;
The recovery module includes:
Submodule is searched, for Data Identification of the second terminal according to the standard stream medium data, from the Streaming Media Corresponding standard stream medium data is searched in database;
Submodule is reduced, for the second terminal according to the differential data and the standard stream medium data, reduction is obtained First stream medium data.
18. data transmission device according to claim 16, it is characterised in that the data transmission device also includes:
3rd receiving module, the first stream medium data from the first terminal is received for the second terminal;
Memory module, stores first stream medium data into the stream medium data storehouse for the second terminal.
19. a kind of terminal, it is characterised in that including:Memory, processor and it is stored on the memory and can be at the place The data distributing program run on reason device, the data distributing program is realized such as claim 1 to 9 during the computing device Any one of data transmission method the step of.
20. a kind of computer-readable recording medium, it is characterised in that the data that are stored with the computer-readable recording medium are passed Defeated program, the data distributing program realizes data transfer as claimed in any one of claims 1-9 wherein when being executed by processor The step of method.
CN201710374818.3A 2017-05-24 2017-05-24 Data transmission method and device Pending CN107018150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710374818.3A CN107018150A (en) 2017-05-24 2017-05-24 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710374818.3A CN107018150A (en) 2017-05-24 2017-05-24 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN107018150A true CN107018150A (en) 2017-08-04

Family

ID=59452567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710374818.3A Pending CN107018150A (en) 2017-05-24 2017-05-24 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN107018150A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737982A (en) * 2018-05-10 2018-11-02 东北农业大学 A kind of low-power consumption poultry house wireless monitor network data fusion method
WO2022001548A1 (en) * 2020-06-30 2022-01-06 华为技术有限公司 Data transmission method, system, apparatus, device, and medium
CN114007130A (en) * 2021-10-29 2022-02-01 维沃移动通信有限公司 Data transmission method, device, electronic device and storage medium
CN114338826A (en) * 2021-12-31 2022-04-12 海光信息技术股份有限公司 Data transmission method, device, system and related equipment
CN114565352A (en) * 2022-01-25 2022-05-31 桂林电子科技大学 Dynamic configuration method for equipment process flow

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1426173A (en) * 2001-12-10 2003-06-25 精工爱普生株式会社 Differential communication system, differential communication device and differential communication program and method
CN101344400A (en) * 2007-07-11 2009-01-14 株式会社日立制作所 Map data distribution system and map data updating method
CN103002010A (en) * 2012-10-29 2013-03-27 北京奇虎科技有限公司 A method, device and system for updating data based on incremental data
CN103312743A (en) * 2012-03-09 2013-09-18 盛乐信息技术(上海)有限公司 Data synchronization device and method
CN104254001A (en) * 2013-06-28 2014-12-31 广州华多网络科技有限公司 Remote sharing method, device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1426173A (en) * 2001-12-10 2003-06-25 精工爱普生株式会社 Differential communication system, differential communication device and differential communication program and method
CN101344400A (en) * 2007-07-11 2009-01-14 株式会社日立制作所 Map data distribution system and map data updating method
CN103312743A (en) * 2012-03-09 2013-09-18 盛乐信息技术(上海)有限公司 Data synchronization device and method
CN103002010A (en) * 2012-10-29 2013-03-27 北京奇虎科技有限公司 A method, device and system for updating data based on incremental data
CN104254001A (en) * 2013-06-28 2014-12-31 广州华多网络科技有限公司 Remote sharing method, device and terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737982A (en) * 2018-05-10 2018-11-02 东北农业大学 A kind of low-power consumption poultry house wireless monitor network data fusion method
WO2022001548A1 (en) * 2020-06-30 2022-01-06 华为技术有限公司 Data transmission method, system, apparatus, device, and medium
CN114007130A (en) * 2021-10-29 2022-02-01 维沃移动通信有限公司 Data transmission method, device, electronic device and storage medium
CN114338826A (en) * 2021-12-31 2022-04-12 海光信息技术股份有限公司 Data transmission method, device, system and related equipment
CN114565352A (en) * 2022-01-25 2022-05-31 桂林电子科技大学 Dynamic configuration method for equipment process flow

Similar Documents

Publication Publication Date Title
CN107018150A (en) Data transmission method and device
CN108475184A (en) Electronic equipment and its apply data display method
CN106648035A (en) Image resolution adjusting method and mobile terminal
CN107466077A (en) A kind of method for switching network and mobile terminal
US7949708B2 (en) Using a remote handheld device as a local device
CN106998367A (en) A kind of document down loading method and mobile terminal
CN106126108A (en) A kind of breviary map generalization method and mobile terminal
CN106657793A (en) Image processing method and mobile terminal
CN107566616A (en) A kind of display methods of information, terminal and computer-readable recording medium
CN106201196A (en) The method for sorting of a kind of desktop icons and mobile terminal
CN107509030A (en) A focusing method and mobile terminal
CN107071264A (en) A kind of image resolution ratio method of adjustment and mobile terminal
CN107194907A (en) A kind of sectional drawing synthetic method and mobile terminal
CN106168966A (en) A kind of file search method and mobile terminal
CN106776871A (en) The storage method and mobile terminal of a kind of multimedia file
CN106599246A (en) Display content interception method, mobile terminal and control server
CN108762606A (en) A kind of unlocking screen method and terminal device
CN107590465A (en) A kind of image processing method and mobile terminal
CN106686402A (en) A video processing method and mobile terminal
CN106502614A (en) A kind of font control method and mobile terminal
CN106502872B (en) A kind of display methods and terminal of application state information
CN107562262A (en) A kind of method, terminal and computer-readable recording medium for responding touch control operation
CN107172486A (en) A kind of video encoding/decoding method and mobile terminal
CN108256466B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN106530217A (en) Photo processing method and mobile terminal

Legal Events

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

Application publication date: 20170804

RJ01 Rejection of invention patent application after publication