[go: up one dir, main page]

WO2011088768A1 - Data transmission method and system, terminal thereof - Google Patents

Data transmission method and system, terminal thereof Download PDF

Info

Publication number
WO2011088768A1
WO2011088768A1 PCT/CN2011/070225 CN2011070225W WO2011088768A1 WO 2011088768 A1 WO2011088768 A1 WO 2011088768A1 CN 2011070225 W CN2011070225 W CN 2011070225W WO 2011088768 A1 WO2011088768 A1 WO 2011088768A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
data
broadcast channel
data resource
download
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.)
Ceased
Application number
PCT/CN2011/070225
Other languages
French (fr)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Publication of WO2011088768A1 publication Critical patent/WO2011088768A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

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/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • 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/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast

Definitions

  • the present invention relates to the field of the Internet, and in particular, to a data transmission method and system, and a terminal.
  • Data on the network transmission sometimes has the characteristics of strong real-time, large amount of data per unit time, and continuous data.
  • the traditional technology generally uses the method of server transfer to transmit data.
  • the transit server receives the data published by the data publisher and then forwards it to each of the connected terminals according to a specific rule. Because the data needs to be transferred through the server, and the data is massive data, the server needs to have a very high upload and download bandwidth, and as more terminals are accessed, the required bandwidth is higher, and the higher the cost, when the terminal accesses After a certain threshold is reached, the entire system will not work normally; if the data of the publishing terminal is lost, the remaining terminals will also lose packets, resulting in a higher bit error rate.
  • a data transmission method includes the following steps:
  • A. Receiving a data resource publishing request issued by the data resource publishing terminal, and notifying the downloading terminal according to the request;
  • said step A further includes the step of transmitting data resource information and including a list of terminal information of the data resource issuing terminal and the download terminal to the download terminal.
  • step C the step of correcting the established broadcast channel according to the quality of the broadcast channel is further included.
  • the elements of the quality of the broadcast channel include bandwidth, download percentage, whether it is in use, packet loss impact, local area network redundancy data, and broadcast request rejection time;
  • the method further includes: setting a threshold and a weight of the broadcast channel quality element, calculating a score of the quality of the broadcast channel according to the weight, determining whether the score is lower than the threshold, and if so, disconnecting Said the broadcast channel.
  • said step D The step of transmitting data resources through the data link further includes: collecting data resources by the data publishing terminal, buffering the data resources, and dividing the buffered data into different segments, and distributing the data to the broadcast channel; and the data resource publishing terminal and the And after the download terminal acquires the broadcasted data resource, buffers, and broadcasts the buffered data resource to the terminal connected to the terminal, and plays the buffered data resource.
  • the method further comprises the step of: querying whether the data resource acquired by the download terminal is missing, and if so, searching for the terminal containing the missing data resource and requesting the broadcast channel.
  • a data transmission system includes a terminal and a terminal management server, the terminal includes a data resource publishing terminal and a download terminal, and the data resource publishing terminal is configured to send a data resource publishing request to the terminal management server;
  • the terminal management server is configured to receive a data resource publishing request and send a notification to the download terminal;
  • the download terminal receives the notification and establishes a network connection between the data resource publishing terminal and each download terminal and between the download terminals, according to The network connection establishes a broadcast channel;
  • the terminal establishes a data link according to the broadcast channel, and transmits the data resource through the data link.
  • the terminal management server is further configured to send the data resource information and the terminal information list of the terminal to the download terminal.
  • the data resource issuance terminal is further configured to buffer the data resource, and divide the buffered data into different segments and allocate the data to the broadcast channel; the terminal obtains the broadcasted data resource and buffers the data.
  • the buffered data resource is broadcast to a terminal connected to the terminal, and the buffered data resource is played.
  • the data resource issuance terminal and / Or the download terminal is further configured to send a broadcast channel request command, and establish a data link between the terminals after receiving the feedback channel information of the broadcast channel request command.
  • the download terminal is further configured to query whether the downloaded data resource in the buffer is missing, and if so, find the terminal that contains the missing data resource and issue a request for the broadcast channel.
  • the download terminal may also correct the established broadcast channel according to the quality of the broadcast channel.
  • the elements of the quality of the broadcast channel include bandwidth, download percentage, whether it is in use, packet loss impact, local area network redundancy data, and broadcast request rejection time;
  • the download terminal is further configured to set a threshold and a weight of the broadcast channel quality element, calculate a score of the broadcast channel quality according to the weight, determine whether the score is lower than the threshold, and if yes, disconnect The broadcast channel.
  • a terminal is also provided.
  • a communication module configured to send a data resource publishing request and receive a notification sent by the terminal management server according to the data resource publishing request;
  • a broadcast channel establishing module configured to establish a network connection between the terminals, and establish a broadcast channel according to the network connection
  • a data link establishing module configured to establish a data link according to a broadcast channel
  • a transmission module configured to perform data resource transmission by using the data link.
  • the communication module is further configured to receive data resource information and a terminal information list.
  • the method further includes a buffering module, configured to buffer the published data resource, and divide the buffered data resource into different segments, and transmit the data to the broadcast channel by using the transmission module; Receiving the downloaded data resource and transmitting it to the buffer module for buffering; the transmission module will buffer the released data resource and / or the downloaded data resource is transmitted to the terminal connected to the terminal.
  • a buffering module configured to buffer the published data resource, and divide the buffered data resource into different segments, and transmit the data to the broadcast channel by using the transmission module; Receiving the downloaded data resource and transmitting it to the buffer module for buffering; the transmission module will buffer the released data resource and / or the downloaded data resource is transmitted to the terminal connected to the terminal.
  • a play module is further included, and the play module plays the buffered data resource.
  • the communication module is further configured to send a broadcast channel request command and receive feedback channel information of the broadcast channel request command; the data link establishing module, after the communication module receives the feedback channel information of the broadcast channel request command, Establish a data link between each terminal.
  • the method further includes a verification module, configured to query whether a data resource downloaded in the buffer module is missing, and if yes, the verification module searches for a terminal that contains the missing data resource, and passes the communication module. Issue a request that requires a broadcast channel.
  • a verification module configured to query whether a data resource downloaded in the buffer module is missing, and if yes, the verification module searches for a terminal that contains the missing data resource, and passes the communication module. Issue a request that requires a broadcast channel.
  • a correction module is further included, wherein the correction module is configured to correct the established broadcast channel according to the quality of the broadcast channel.
  • the elements of the quality of the broadcast channel include bandwidth, download percentage, whether it is in use, packet loss impact, local area network redundancy data, and broadcast request rejection time;
  • the correction module is further configured to set a threshold and a weight of the broadcast channel quality element, calculate a score of the broadcast channel quality according to the weight, and determine whether the score is lower than the threshold, and if yes, the broadcast The channel establishment module disconnects the broadcast channel.
  • the data transmission method, system, and terminal notify the download terminal according to the received data resource release request, and establish a network connection between the data resource issuance terminal and each download terminal and each download terminal according to the notification, and establish a broadcast channel according to the network connection, according to the
  • the broadcast channel establishes a data link and transmits data resources through the data link, so that the data resource is transmitted by using multiple broadcast channels, the bandwidth cost is reduced, and no error occurs due to a problem in one broadcast channel, and the bit error rate is generated. Also reduced.
  • buffering data resources makes data resource transfer faster and saves time.
  • Correcting the broadcast channel can improve the effective utilization of the broadcast channel.
  • FIG. 1 is a flow chart of a data transmission method in an embodiment
  • FIG. 2 is a flow chart of a data transmission method in another embodiment
  • FIG. 3 is a schematic structural diagram of a data transmission system in an embodiment
  • FIG. 4 is a schematic diagram showing the operation of a data transmission system in an embodiment
  • Figure 5 is a timing chart showing the operation of the data transmission system in one embodiment
  • FIG. 6 is a schematic structural diagram of a terminal in an embodiment
  • FIG. 7 is a schematic structural diagram of a terminal in another embodiment.
  • a data transmission method includes the following steps:
  • Step S10 Receive a data resource publishing request issued by the data resource publishing terminal, and notify the download terminal according to the request.
  • the data distribution terminal is used to send a release data request to the terminal management server.
  • the terminal management server After receiving the request, the terminal management server notifies the download terminal, and simultaneously sends the data resource information and the terminal information list of the terminal to the download terminal.
  • the data resource refers to the specific data content that needs to be transmitted, such as the played video content;
  • the data resource information refers to some attribute information of the data resource content, such as the identification number, play position, encoding format, etc. of the data resource;
  • the data resource takes the transmission of the audio and video data in the chat room as an example.
  • the audio and video data in the chat room is different from the ordinary file download, and has certain requirements for real-time performance.
  • a piece of data is stored, and then The small piece of data is downloaded as a file to each of the other terminals.
  • the data resource information includes the resource identification number, the play position, the encoding format, the playing section number, the room identification number, and the like for the particularity of the chat room.
  • Step S20 And establishing a network connection between the data resource issuance terminal and each download terminal and between the download terminal according to the notification.
  • the network connection can be a direct connection or a connection through a relay server.
  • the other terminals after receiving the notification, establish a direct network connection between the terminals; the terminals that cannot connect with other terminals are connected to the transit server, so that the entire network establishes a connection.
  • Step S30 establishing a broadcast channel according to the network connection.
  • the established broadcast channel can also be corrected according to the quality of the broadcast channel, so that a suitable download source can be better found, and the redundant broadcast channel can be deleted.
  • the factors affecting the quality of the broadcast channel include bandwidth, download percentage, whether it is in use, packet loss impact, LAN redundant data, broadcast request rejection time, and the weights of these elements are successively decremented. According to these values, the broadcast channel can be performed. Rating, if the score is below a certain threshold, you need to disconnect the broadcast channel and try to connect to the broadcast channel of other terminals. This threshold can be set by the user as needed or the default value can be used.
  • the specific steps of correcting the broadcast channel are: setting a threshold and a weight of the broadcast channel quality element, calculating a score of the quality of the broadcast channel according to the weight, determining whether the score is lower than the threshold, and if so, disconnecting the broadcast channel.
  • Step S40 Establish a data link according to the established broadcast channel, and transmit the data resource through the data link.
  • the download terminal sends a broadcast channel request command to the terminal connected thereto, and after receiving the feedback channel information of the broadcast channel request command, the data is established between the terminal connected to the download terminal.
  • a link transmits data resources through the established data link.
  • the broadcast channel request command includes a resource identification number, a obtained broadcast channel, and a broadcast channel that needs to be acquired.
  • the channel information includes whether the maximum number of connections is exceeded, whether there is resource data, and the number of channels that can be broadcast.
  • each broadcast channel can be connected to multiple terminals, which can effectively transmit data resources from different broadcast channels until each connected terminal in the network is filled.
  • a terminal that receives a certain segment data resource broadcasts the certain segment data resource to other terminals.
  • the step of transmitting the data resource through the data link further includes the steps of: collecting the real-time data resource by the data resource publishing terminal, buffering the data resource, and then dividing the buffered data resource into different segments and distributing the data to the broadcast channel. After acquiring the broadcast data resource, the terminal buffers, and broadcasts the buffered data resource to the terminal connected to the terminal, and plays the buffered data resource.
  • the foregoing data transmission method further includes the following steps:
  • Step S50 Query whether the data resource acquired by the download terminal is missing, and if yes, perform step S60. , find the terminal with the missing data resource and request the broadcast channel.
  • the method for actively acquiring is used to periodically query whether the buffer data resource is missing. If yes, query the terminal connected to the download terminal to include the missing part of the data resource, and then include the missing partial data resource. The terminal sends a request for the broadcast channel to obtain the missing part of the data resource.
  • a data transmission system includes a plurality of terminals and a terminal management server. among them:
  • the terminal includes a data resource publishing terminal and a download terminal.
  • the data resource publishing terminal is configured to collect data resources and publish data resources, and send a data resource publishing request to the terminal management server.
  • the download terminal is a terminal that receives a data resource, and includes a plurality of download terminals, such as a download terminal. 1. Download terminal 2, download terminal 3, ..., download terminal n .
  • the terminal management server is configured to send a notification to the download terminal after receiving the data resource publishing request sent by the publishing data resource terminal. At the same time, the terminal management server also transmits the data resource information and the terminal information list to the download terminal.
  • the data resource refers to the specific data content that needs to be transmitted, such as the played video content;
  • the data resource information refers to some attribute information of the data resource content, such as the identification number, play position, encoding format, etc. of the data resource;
  • the audio resource data resource is exemplified, and the data resource information includes a resource identification number, a play position, an encoding format, a play segment number, a room identification number, and the like.
  • the download terminal receives the notification sent by the terminal management server, a network connection is established between the data resource issuance terminal and each download terminal and the download terminal, and a broadcast channel is established according to the network connection.
  • the received terminal information list all the terminals have the identification numbers of the terminals in the terminal information list, and establish a network connection with each other according to the terminal identification numbers.
  • the data resource issuance terminal is further configured to buffer the data resource, and divide the buffered data resource into a plurality of different segments, and allocate different segments to the broadcast channel.
  • Each broadcast channel is connected to multiple terminals, so that the segment data resources in each broadcast channel are sent to multiple download terminals, so that the bandwidth of the data resource publishing terminal is divided, which saves a lot of download time.
  • Data resource publishing terminal and / Or the download terminal may be further configured to send a broadcast channel request command to another download terminal connected thereto, and receive feedback channel information of the broadcast channel request command; the data resource publishing terminal and the download terminal acquire the terminal information after acquiring all the channel information.
  • the data link is published by the data resource publishing terminal through the established data link, and the download terminal acquires the data resource through the established data link.
  • the broadcast channel request command includes a resource identification number, a obtained broadcast channel, and a broadcast channel to be acquired.
  • the channel information of the feedback includes whether the maximum number of connections is exceeded, whether there is resource data, and the number of channels that can be broadcast.
  • the download terminal can also correct the established broadcast channel according to the quality of the broadcast channel, thereby better finding a suitable download source and deleting redundant broadcast channels.
  • the download terminal can also correct the established broadcast channel according to the quality of the broadcast channel, so that a suitable download source can be better found and the redundant broadcast channel can be deleted.
  • the factors that affect the quality of the broadcast channel include bandwidth, download percentage, whether it is in use, packet loss impact, LAN redundant data, and broadcast request rejection time.
  • the terminal setting threshold and the weight of the broadcast channel quality element are downloaded, and the score of the quality of the broadcast channel is calculated according to the weight, and it is determined whether the score is lower than the threshold, and if so, the broadcast channel is disconnected.
  • the weights of the quality elements of the broadcast channel are successively decremented. According to these values, the quality of the broadcast channel can be scored. If the score is lower than the set threshold, the broadcast channel needs to be disconnected, and attempts to connect other terminals. Broadcast channel. This threshold can be set by the user as needed or the default value can be used.
  • the data transmission system may further include a relay server, which is used to establish a network connection with a download terminal that cannot establish a direct network connection with other terminals, so that the download terminal can acquire data resources through the transit server.
  • a relay server which is used to establish a network connection with a download terminal that cannot establish a direct network connection with other terminals, so that the download terminal can acquire data resources through the transit server.
  • the data resource issuance terminal and the download terminal 1 Establish a network connection between 2, 3, or establish a network connection through the relay server.
  • the broadcast channel 0, 1, 2, 3, 4, 5, 6, 7 And the data link is established according to the broadcast channel, and the data resource issuance terminal divides the data resource into 8 parts and publishes the data resource through the broadcast channel 0 ⁇ 7, and the download terminal 1 receives the broadcast channel 0 of the data resource release.
  • the data of 2 receives the data of the broadcast channel 4 of the download terminal 2, receives the data of the broadcast channel 1 of the download terminal 3, and simultaneously transmits the data of the broadcast channel 0 to the download terminal 2.
  • Figure 5 is a working sequence diagram of the data transmission system, and the download terminal includes a download terminal 1, a download terminal 2, ..., a download terminal n
  • the broadcast channels are 0, 1, 2, 3, 4, 5, 6, and 7.
  • the specific working process of the data transmission system is:
  • the data resource issuance terminal sends a request for publishing a data resource to the terminal management server;
  • the terminal management server after receiving the request for publishing the data resource, notifies the download terminal 1, the download terminal 2, ..., the download terminal n ;
  • download terminal 1 establishes a network connection with all download terminals and data resource publishing terminals
  • the download terminal 1 issues a broadcast channel request command to all connected terminals;
  • download terminal 2 download terminal 3, ..., download terminal n
  • the data resource publishing terminal feeds back the broadcast channel status to the download terminal 1 , for example, the data resource terminal feedbacks the broadcast channel 0, 1, 2, 3 to the download terminal 1 , download terminal 2, download terminal 3, ..., download terminal n feedback broadcast channel 0, 1, 2, 3, 4, 5, 6 , 7;
  • download terminal 1 receives 4, 5, 6, 7 Broadcast channel, where a certain algorithm refers to the quality of the query broadcast channel. If the quality is poor, it may not be connected, and query whether the download terminal has obtained the broadcast channel from other terminals. If a certain broadcast channel is acquired, the acquired channel needs to be removed. a certain broadcast channel;
  • Download terminal 1 After all the broadcast channels are acquired, a data link is established and received through the established data link 4, 5, 6 , 7 data resources of the broadcast channel.
  • the download terminal fills the acquired data resource into the buffer, and is also used to broadcast the buffer data resource to other terminals connected to the download terminal, and play the buffer data resource.
  • the download terminal is further configured to periodically query whether the data resource of the download terminal data buffer is missing data, and if so, find the terminal with the missing data resource and issue a request for the broadcast channel.
  • a terminal includes a communication module 60 and a broadcast channel establishment module 62. , data link setup module 64 and transport module 66. among them,
  • Communication module 60 And a notification for transmitting a data resource issue request and receiving the terminal management server according to the data resource issue request.
  • Terminal through communication module 60 The data resource issuance request is sent to the terminal management server, and the terminal management server sends a notification to each terminal according to the data resource issuance request.
  • Communication module 60 It is also used to receive data resource information and a list of terminal information.
  • the data resource refers to the specific data content that needs to be transmitted, such as the played video content; the data resource information refers to some attribute information of the data resource content, such as the identification number, play position, encoding format, etc. of the data resource; Refers to the information of each terminal recorded by the terminal management server, in the form of a list, such as the identification number of the terminal, IP address, etc.
  • the broadcast channel establishing module 62 is configured to establish a network connection between the terminals, and establish a broadcast channel according to the network connection.
  • Communication module of each terminal 60 After receiving the notification sent by the terminal management server, a network connection is established between the terminals, and then a broadcast channel is established according to the network connection.
  • the received terminal information list all the terminals have the identification numbers of the terminals in the terminal information list, and establish a network connection with each other according to the terminal identification numbers.
  • the data link establishment module 64 is configured to establish a data link according to a broadcast channel.
  • the communication module 60 Sending a broadcast channel request command and receiving feedback channel information of the broadcast channel request command, the data link establishing module 64 is in the communication module 60 After receiving the feedback channel information of the broadcast channel request command, a data link between the terminals is established.
  • the broadcast channel request command includes a resource identification number, a obtained broadcast channel, and a broadcast channel to be acquired.
  • the channel information of the feedback includes whether the maximum number of connections is exceeded, whether there is resource data, and the number of channels that can be broadcast.
  • the transmission module 66 is configured to transmit data resources through the data link. After the data link is established, the transmission module 66 The data link will be relied upon for data resource transmission.
  • the terminal includes a communication module 60 and a broadcast channel establishing module 62.
  • the data link establishing module 64 and the transmitting module 66 further include a buffering module 61, a playing module 63, a checking module 65, and a correcting module 67.
  • the buffer module 61 is configured to buffer the published data resources, and divide the buffered data resources into different segments and pass the transmission module. 66 Transfer to the broadcast channel.
  • Each of the broadcast channels is connected to a plurality of terminals, so that the segment data resources in the respective broadcast channels are transmitted to the plurality of terminals, so that the bandwidth of the terminal that issues the data resources is divided, thereby saving a large amount of download time.
  • the transmission module 66 receives the downloaded data resource and transmits it to the buffer module 61 for buffering. Transmission module 66 The buffered published data resource and/or downloaded data resource is also transmitted to the terminal connected to the terminal. Transmission module 66 The data resources issued by the terminal may be sent to other terminals connected to the terminal, or the data resources downloaded from other terminals may be sent to other terminals connected to the terminal.
  • the playback module 63 is used to play buffered data resources.
  • buffer module 61 The data resource can be buffered and the data resource played through the playback module 63.
  • the checking module 65 is used to query whether the data resource downloaded in the buffer module 61 is missing, and if so, the checking module 65 A terminal containing the missing data resource is found and a request for a broadcast channel is issued through the communication module 60.
  • the correction module 67 is configured to correct the established broadcast channel according to the quality of the broadcast channel. After the broadcast channel is established, the correction module 67 can correct the established broadcast channel according to the quality of the broadcast channel, so that a suitable download source can be better found and the redundant broadcast channel can be deleted.
  • the factors that affect the quality of the broadcast channel include bandwidth, download percentage, whether it is in use, packet loss impact, LAN redundant data, and broadcast request rejection time.
  • the correction module 67 corrects the established broadcast channel, specifically: the correction module 67 sets the threshold and the weight of the broadcast channel quality element, calculates the score of the broadcast channel quality according to the weight, and determines whether the score is lower than the threshold, and if so, the broadcast channel The setup module 62 then disconnects the broadcast channel.
  • the weights of the quality elements of the broadcast channel are successively decremented. According to these values, the quality of the broadcast channel can be scored. If the score is lower than the set threshold, the broadcast channel needs to be disconnected, and attempts to connect other terminals. Broadcast channel. This threshold can be set by the user as needed or the default value can be used.
  • the data transmission method, system, and terminal notify the download terminal according to the received data resource release request, and establish a network connection between the data resource issuance terminal and each download terminal and each download terminal according to the notification, and establish a broadcast channel according to the network connection, according to the
  • the broadcast channel establishes a data link and transmits data resources through the data link, so that the data resource is transmitted by using multiple broadcast channels, the bandwidth cost is reduced, and no error occurs due to a problem in one broadcast channel, and the bit error rate is generated. Also reduced.
  • buffering data resources makes data resource transfer faster and saves time.
  • Correcting the broadcast channel can improve the effective utilization of the broadcast channel.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A data transmission method is provided in the present invention. The method includes the following steps: A. receiving a data resource issuing request issued by a data resource issuing terminal, and notifying the downloading terminals according to the request (S10); B. according to the notification, establishing the network connections between the data resource issuing terminal and each downloading terminal, and the network connections among the downloading terminals (S20); C. establishing the broadcast channels according to the network connections (S30); D. establishing the data links according to the established broadcast channels, and transmitting the data resources via the data links (S40). Furthermore, a data transmission system and terminal are also provided. The data transmission method, system and terminal can decrease the bandwidth cost, will not have errors due to the breakdown of one broadcast channel, and can also decrease the bit error rate.

Description

数据传输方法及系统、终端Data transmission method and system, terminal

【技术领域】 [Technical Field]

本发明涉及互联网领域,特别涉及一种数据传输方法及系统、终端。 The present invention relates to the field of the Internet, and in particular, to a data transmission method and system, and a terminal.

【背景技术】 【Background technique】

数据在网络传输上有时具有实时性很强、单位时间内数据海量、数据持续不断等特征。针对这些特征,传统的技术都普遍采用服务器中转的方式进行数据的传输。中转服务器接收数据发布者发布的数据,然后根据特定的规则,转发到连接的其他各个终端。因为数据需要通过服务器中转,数据又是海量数据,所以需要服务器有非常高的上传下载的带宽,并且随着接入的终端越多,需要的带宽就越高,成本越高,当终端接入达到一定阀值后,整个系统将不能正常工作;若发布终端的数据出现丢包,则其余终端也会出现丢包,导致误码率较高。 Data on the network transmission sometimes has the characteristics of strong real-time, large amount of data per unit time, and continuous data. In response to these characteristics, the traditional technology generally uses the method of server transfer to transmit data. The transit server receives the data published by the data publisher and then forwards it to each of the connected terminals according to a specific rule. Because the data needs to be transferred through the server, and the data is massive data, the server needs to have a very high upload and download bandwidth, and as more terminals are accessed, the required bandwidth is higher, and the higher the cost, when the terminal accesses After a certain threshold is reached, the entire system will not work normally; if the data of the publishing terminal is lost, the remaining terminals will also lose packets, resulting in a higher bit error rate.

【发明内容】 [Summary of the Invention]

基于此,有必要提供一种能降低成本及误码率的数据传输方法。 Based on this, it is necessary to provide a data transmission method capable of reducing cost and bit error rate.

一种数据传输方法,包括以下步骤: A data transmission method includes the following steps:

A .接收数据资源发布终端发布的数据资源发布请求,并根据所述请求通知下载终端; A. Receiving a data resource publishing request issued by the data resource publishing terminal, and notifying the downloading terminal according to the request;

B .根据所述通知建立数据资源发布终端和下载终端之间及下载终端之间的网络连接; B. Establishing, according to the notification, a network connection between the data resource publishing terminal and the download terminal and between the download terminal;

C .根据所述网络连接建立广播通道;C. Establishing a broadcast channel according to the network connection;

D .根据所述建立的广播通道建立数据链路,并通过所述数据链路传输数据资源。D. Establishing a data link according to the established broadcast channel, and transmitting data resources through the data link.

优选地,所述步骤 A 还包括发送数据资源信息和包含所述数据资源发布终端及下载终端的终端信息列表到所述下载终端的步骤。 Preferably, said step A The method further includes the step of transmitting data resource information and including a list of terminal information of the data resource issuing terminal and the download terminal to the download terminal.

优选地,在步骤 C 之后还包括根据广播通道质量对建立的广播通道进行校正的步骤。 Preferably, after step C, the step of correcting the established broadcast channel according to the quality of the broadcast channel is further included.

优选地,所述广播通道质量的要素包括带宽、下载百分比、是否使用中、丢包影响、局域网冗余数据、广播请求拒绝时间; Preferably, the elements of the quality of the broadcast channel include bandwidth, download percentage, whether it is in use, packet loss impact, local area network redundancy data, and broadcast request rejection time;

所述方法还包括:设置阈值及所述广播通道质量要素的权值,根据所述权值计算所述广播通道质量的分数,判断所述分数是否低于所述阈值,若是,则断开所述广播通道。 The method further includes: setting a threshold and a weight of the broadcast channel quality element, calculating a score of the quality of the broadcast channel according to the weight, determining whether the score is lower than the threshold, and if so, disconnecting Said the broadcast channel.

优选地,所述步骤 D 中通过所述数据链路传输数据资源的步骤还包括:通过数据发布终端采集数据资源,对数据资源进行缓冲且将缓冲的数据分成不同的区段,分配到广播通道中;数据资源发布终端和 / 或下载终端获取到广播的数据资源后进行缓冲,且将所述缓冲的数据资源广播到与所述终端相连的终端,以及播放所述缓冲的数据资源。 Preferably, said step D The step of transmitting data resources through the data link further includes: collecting data resources by the data publishing terminal, buffering the data resources, and dividing the buffered data into different segments, and distributing the data to the broadcast channel; and the data resource publishing terminal and the And after the download terminal acquires the broadcasted data resource, buffers, and broadcasts the buffered data resource to the terminal connected to the terminal, and plays the buffered data resource.

优选地,所述方法还包括步骤:查询下载终端获取的数据资源是否缺失,如果是,则查找含有缺失的数据资源的终端并请求广播通道。 Preferably, the method further comprises the step of: querying whether the data resource acquired by the download terminal is missing, and if so, searching for the terminal containing the missing data resource and requesting the broadcast channel.

此外,还有必要提供一种能降低成本及误码率的数据传输系统。 In addition, it is necessary to provide a data transmission system that can reduce cost and bit error rate.

一种数据传输系统,所述系统包括终端和终端管理服务器,所述终端包括数据资源发布终端和下载终端,所述数据资源发布终端用于向所述终端管理服务器发送数据资源发布请求;所述终端管理服务器用于接收数据资源发布请求且发送通知到所述下载终端;所述下载终端接收所述通知并建立包含数据资源发布终端与各下载终端之间及下载终端之间的网络连接,根据网络连接建立广播通道;所述终端根据广播通道建立数据链路,并通过所述数据链路进行数据资源的传输。 A data transmission system, the system includes a terminal and a terminal management server, the terminal includes a data resource publishing terminal and a download terminal, and the data resource publishing terminal is configured to send a data resource publishing request to the terminal management server; The terminal management server is configured to receive a data resource publishing request and send a notification to the download terminal; the download terminal receives the notification and establishes a network connection between the data resource publishing terminal and each download terminal and between the download terminals, according to The network connection establishes a broadcast channel; the terminal establishes a data link according to the broadcast channel, and transmits the data resource through the data link.

优选地,所述终端管理服务器还用于将数据资源信息和所述终端的终端信息列表发送给所述下载终端。 Preferably, the terminal management server is further configured to send the data resource information and the terminal information list of the terminal to the download terminal.

优选地,所述数据资源发布终端还用于对数据资源进行缓冲,且将缓冲的数据分成不同的区段,并分配到广播通道中;所述终端获取到广播的数据资源后进行缓冲,将所述缓冲的数据资源广播到与所述终端相连的终端,以及播放所述缓冲的数据资源。 Preferably, the data resource issuance terminal is further configured to buffer the data resource, and divide the buffered data into different segments and allocate the data to the broadcast channel; the terminal obtains the broadcasted data resource and buffers the data. The buffered data resource is broadcast to a terminal connected to the terminal, and the buffered data resource is played.

优选地,所述数据资源发布终端和 / 或下载终端进一步用于发送广播通道请求命令,在收到广播通道请求命令的反馈通道信息后建立终端之间的数据链路。 Preferably, the data resource issuance terminal and / Or the download terminal is further configured to send a broadcast channel request command, and establish a data link between the terminals after receiving the feedback channel information of the broadcast channel request command.

优选地,所述下载终端进一步用于查询缓冲区内下载的数据资源是否缺失,如果是,则查找含有缺失的数据资源的终端并发出需要广播通道的请求。 Preferably, the download terminal is further configured to query whether the downloaded data resource in the buffer is missing, and if so, find the terminal that contains the missing data resource and issue a request for the broadcast channel.

优选地,所述下载终端还可根据广播通道质量对建立的广播通道进行校正。 Preferably, the download terminal may also correct the established broadcast channel according to the quality of the broadcast channel.

优选地,所述广播通道质量的要素包括带宽、下载百分比、是否使用中、丢包影响、局域网冗余数据、广播请求拒绝时间; Preferably, the elements of the quality of the broadcast channel include bandwidth, download percentage, whether it is in use, packet loss impact, local area network redundancy data, and broadcast request rejection time;

所述下载终端还用于设置阈值及所述广播通道质量要素的权值,根据所述权值计算所述广播通道质量的分数,判断所述分数是否低于所述阈值,若是,则断开所述广播通道。 The download terminal is further configured to set a threshold and a weight of the broadcast channel quality element, calculate a score of the broadcast channel quality according to the weight, determine whether the score is lower than the threshold, and if yes, disconnect The broadcast channel.

此外,还提供一种终端。 In addition, a terminal is also provided.

一种终端,包括: A terminal comprising:

通信模块,用于发送数据资源发布请求以及接收终端管理服务器根据所述数据资源发布请求发送的通知; a communication module, configured to send a data resource publishing request and receive a notification sent by the terminal management server according to the data resource publishing request;

广播通道建立模块,用于建立各终端之间的网络连接,根据该网络连接建立广播通道; a broadcast channel establishing module, configured to establish a network connection between the terminals, and establish a broadcast channel according to the network connection;

数据链路建立模块,用于根据广播通道建立数据链路; a data link establishing module, configured to establish a data link according to a broadcast channel;

传输模块,用于通过所述数据链路进行数据资源的传输。 And a transmission module, configured to perform data resource transmission by using the data link.

优选地,所述通信模块还用于接收数据资源信息和终端信息列表。 Preferably, the communication module is further configured to receive data resource information and a terminal information list.

优选地,还包括缓冲模块,所述缓冲模块用于对发布的数据资源进行缓冲,且将缓冲的数据资源分成不同的区段,并通过所述传输模块传输到广播通道中;所述传输模块接收到下载的数据资源后传输到所述缓冲模块进行缓冲;所述传输模块将所述缓冲的发布的数据资源和 / 或下载的数据资源传输到与所述终端相连的终端。 Preferably, the method further includes a buffering module, configured to buffer the published data resource, and divide the buffered data resource into different segments, and transmit the data to the broadcast channel by using the transmission module; Receiving the downloaded data resource and transmitting it to the buffer module for buffering; the transmission module will buffer the released data resource and / or the downloaded data resource is transmitted to the terminal connected to the terminal.

优选地,还包括播放模块,所述播放模块播放所述缓冲的数据资源。 Preferably, a play module is further included, and the play module plays the buffered data resource.

优选地,所述通信模块进一步用于发送广播通道请求命令以及接收广播通道请求命令的反馈通道信息;所述数据链路建立模块在所述通信模块接收到广播通道请求命令的反馈通道信息后,建立各终端之间的数据链路。 Preferably, the communication module is further configured to send a broadcast channel request command and receive feedback channel information of the broadcast channel request command; the data link establishing module, after the communication module receives the feedback channel information of the broadcast channel request command, Establish a data link between each terminal.

优选地,还包括查验模块,所述查验模块用于查询所述缓冲模块内下载的数据资源是否缺失,如果是,则所述查验模块查找含有缺失的数据资源的终端,并通过所述通信模块发出需要广播通道的请求。 Preferably, the method further includes a verification module, configured to query whether a data resource downloaded in the buffer module is missing, and if yes, the verification module searches for a terminal that contains the missing data resource, and passes the communication module. Issue a request that requires a broadcast channel.

优选地,还包括校正模块,所述校正模块用于根据广播通道质量对建立的广播通道进行校正。 Preferably, a correction module is further included, wherein the correction module is configured to correct the established broadcast channel according to the quality of the broadcast channel.

优选地,所述广播通道质量的要素包括带宽、下载百分比、是否使用中、丢包影响、局域网冗余数据、广播请求拒绝时间; Preferably, the elements of the quality of the broadcast channel include bandwidth, download percentage, whether it is in use, packet loss impact, local area network redundancy data, and broadcast request rejection time;

所述校正模块还用于设置阈值及所述广播通道质量要素的权值,根据所述权值计算所述广播通道质量的分数,判断所述分数是否低于所述阈值,若是,所述广播通道建立模块则断开所述广播通道。 The correction module is further configured to set a threshold and a weight of the broadcast channel quality element, calculate a score of the broadcast channel quality according to the weight, and determine whether the score is lower than the threshold, and if yes, the broadcast The channel establishment module disconnects the broadcast channel.

上述数据传输方法及系统、终端,根据接收数据资源发布请求通知下载终端,根据通知,数据资源发布终端与各下载终端之间、各下载终端之间建立网络连接,根据网络连接建立广播通道,根据广播通道建立数据链路,并通过该数据链路进行数据资源的传输,这样数据资源的传输用多个广播通道,带宽成本降低,也不会因一个广播通道出现问题而发生错误,误码率也降低。 The data transmission method, system, and terminal notify the download terminal according to the received data resource release request, and establish a network connection between the data resource issuance terminal and each download terminal and each download terminal according to the notification, and establish a broadcast channel according to the network connection, according to the The broadcast channel establishes a data link and transmits data resources through the data link, so that the data resource is transmitted by using multiple broadcast channels, the bandwidth cost is reduced, and no error occurs due to a problem in one broadcast channel, and the bit error rate is generated. Also reduced.

另外,将数据资源缓冲,使数据资源传输更快,节省时间。 In addition, buffering data resources makes data resource transfer faster and saves time.

对广播通道进行校正,能够提高广播通道的有效利用率。 Correcting the broadcast channel can improve the effective utilization of the broadcast channel.

【附图说明】 [Description of the Drawings]

图 1 为一个实施例中的数据传输方法的流程图; 1 is a flow chart of a data transmission method in an embodiment;

图 2 为另一个实施例中的数据传输方法的流程图; 2 is a flow chart of a data transmission method in another embodiment;

图 3 为一个实施例中的数据传输系统的结构示意图; 3 is a schematic structural diagram of a data transmission system in an embodiment;

图 4 为一个实施例中数据传输系统的工作示意图; 4 is a schematic diagram showing the operation of a data transmission system in an embodiment;

图 5 为一个实施例中的数据传输系统的工作时序图; Figure 5 is a timing chart showing the operation of the data transmission system in one embodiment;

图 6 为一个实施例中终端的结构示意图; 6 is a schematic structural diagram of a terminal in an embodiment;

图 7 为另一个实施例中终端的结构示意图。 FIG. 7 is a schematic structural diagram of a terminal in another embodiment.

【具体实施方式】 【detailed description】

如图 1 所示,一个实施例中,一种数据传输方法,包括以下步骤: As shown in FIG. 1, in one embodiment, a data transmission method includes the following steps:

步骤 S10 ,接收数据资源发布终端发布的数据资源发布请求,并根据该请求通知下载终端。 Step S10: Receive a data resource publishing request issued by the data resource publishing terminal, and notify the download terminal according to the request.

在一个实施例中,采用数据发布终端向终端管理服务器发送发布数据请求,终端管理服务器接到请求后,通知下载终端,同时发送数据资源信息和终端的终端信息列表到下载终端。其中,数据资源是指具体需要传输的数据内容,如播放的视频内容;数据资源信息是指数据资源内容的一些属性信息,如数据资源的标识号、播放位置、编码格式等等;终端信息列表是指终端管理服务器记录的各个终端的信息,以列表的形式,如终端的标识号、 IP 地址等。 In one embodiment, the data distribution terminal is used to send a release data request to the terminal management server. After receiving the request, the terminal management server notifies the download terminal, and simultaneously sends the data resource information and the terminal information list of the terminal to the download terminal. The data resource refers to the specific data content that needs to be transmitted, such as the played video content; the data resource information refers to some attribute information of the data resource content, such as the identification number, play position, encoding format, etc. of the data resource; Refers to the information of each terminal recorded by the terminal management server, in the form of a list, such as the identification number of the terminal, IP address, etc.

该数据资源以聊天室中音视频数据的传输为例,聊天室中的音视频数据不同于普通的文件下载,对实时性有一定要求,通过将一段音视频数据进行缓冲,存储一段数据,再将该小段数据作为文件给其他各个终端下载。为了便于对聊天室中音视频数据的管理,针对聊天室的特殊性,数据资源信息包括资源标识号、播放位置、编码格式、播放区段号、房间标识号等。 The data resource takes the transmission of the audio and video data in the chat room as an example. The audio and video data in the chat room is different from the ordinary file download, and has certain requirements for real-time performance. By buffering a piece of audio and video data, a piece of data is stored, and then The small piece of data is downloaded as a file to each of the other terminals. In order to facilitate the management of the audio and video data in the chat room, the data resource information includes the resource identification number, the play position, the encoding format, the playing section number, the room identification number, and the like for the particularity of the chat room.

步骤 S20 ,根据通知建立数据资源发布终端与各下载终端之间及下载终端之间的网络连接。网络连接可以是直接连接,也可以是通过中转服务器连接。 Step S20 And establishing a network connection between the data resource issuance terminal and each download terminal and between the download terminal according to the notification. The network connection can be a direct connection or a connection through a relay server.

一个实施例中,其他终端接收到通知后,终端之间建立直接网络连接;不能与其他终端进行连接的终端连接到中转服务器上,这样整个网络建立连接。 In one embodiment, after receiving the notification, the other terminals establish a direct network connection between the terminals; the terminals that cannot connect with other terminals are connected to the transit server, so that the entire network establishes a connection.

步骤 S30 ,根据网络连接建立广播通道。 Step S30, establishing a broadcast channel according to the network connection.

在一个实施例中,广播通道建立后,还可以根据广播通道质量对建立的广播通道进行校正,这样可以更好的找到合适的下载源,删除冗余的广播通道。影响广播通道质量的要素包括带宽、下载百分比、是否使用中、丢包影响、局域网冗余数据、广播请求拒绝时间,且这些要素的权值是依次递减的,根据这些数值,可以给广播通道进行评分,如果分数低于某个阀值,则需要断开该广播通道,尝试连接其他终端的广播通道。该阀值可以由用户根据需要设定,也可以使用默认值。 In an embodiment, after the broadcast channel is established, the established broadcast channel can also be corrected according to the quality of the broadcast channel, so that a suitable download source can be better found, and the redundant broadcast channel can be deleted. The factors affecting the quality of the broadcast channel include bandwidth, download percentage, whether it is in use, packet loss impact, LAN redundant data, broadcast request rejection time, and the weights of these elements are successively decremented. According to these values, the broadcast channel can be performed. Rating, if the score is below a certain threshold, you need to disconnect the broadcast channel and try to connect to the broadcast channel of other terminals. This threshold can be set by the user as needed or the default value can be used.

对广播通道进行校正的具体步骤为:设置阈值以及广播通道质量要素的权值,根据权值计算广播通道质量的分数,判断该分数是否低于该阈值,若是,则断开该广播通道。 The specific steps of correcting the broadcast channel are: setting a threshold and a weight of the broadcast channel quality element, calculating a score of the quality of the broadcast channel according to the weight, determining whether the score is lower than the threshold, and if so, disconnecting the broadcast channel.

步骤 S40 ,根据建立的广播通道建立数据链路,并通过该数据链路传输数据资源。 Step S40: Establish a data link according to the established broadcast channel, and transmit the data resource through the data link.

在一个实施例中,根据建立的广播通道,下载终端向与之相连的终端发送广播通道请求命令,再接收广播通道请求命令的反馈通道信息后,下载终端与之相连的终端之间建立了数据链路,通过该建立的数据链路传输数据资源。其中,该广播通道请求命令包括资源标识号、已获取到的广播通道、需要获取的广播通道。该通道信息包括是否超过最大连接数、是否有资源数据、能广播通道数。广播通道建立后,每个广播通道都可以连接多个终端,可以有效的把数据资源从各个不同的广播通道传输下去,直至填充网络中各个连接终端。接收到某一区段数据资源的终端将该某一区段数据资源广播到其他终端。 In an embodiment, according to the established broadcast channel, the download terminal sends a broadcast channel request command to the terminal connected thereto, and after receiving the feedback channel information of the broadcast channel request command, the data is established between the terminal connected to the download terminal. A link transmits data resources through the established data link. The broadcast channel request command includes a resource identification number, a obtained broadcast channel, and a broadcast channel that needs to be acquired. The channel information includes whether the maximum number of connections is exceeded, whether there is resource data, and the number of channels that can be broadcast. After the broadcast channel is established, each broadcast channel can be connected to multiple terminals, which can effectively transmit data resources from different broadcast channels until each connected terminal in the network is filled. A terminal that receives a certain segment data resource broadcasts the certain segment data resource to other terminals.

另外,通过数据链路传输数据资源的步骤还包括通过数据资源发布终端采集实时数据资源,对数据资源进行缓冲,再将缓冲的数据资源分成不同区段,分配到广播通道中的步骤。终端获取到广播数据资源后进行缓冲,且将该缓冲的数据资源广播到与该终端相连的终端,以及播放该缓冲的数据资源。 In addition, the step of transmitting the data resource through the data link further includes the steps of: collecting the real-time data resource by the data resource publishing terminal, buffering the data resource, and then dividing the buffered data resource into different segments and distributing the data to the broadcast channel. After acquiring the broadcast data resource, the terminal buffers, and broadcasts the buffered data resource to the terminal connected to the terminal, and plays the buffered data resource.

如图 2 所示,一个实施例中,上述数据传输方法还包括以下步骤: As shown in FIG. 2, in one embodiment, the foregoing data transmission method further includes the following steps:

步骤 S50 ,查询下载终端获取的数据资源是否缺失,如果是,则执行步骤 S60 ,查找含有缺失的数据资源的终端并请求广播通道。 Step S50: Query whether the data resource acquired by the download terminal is missing, and if yes, perform step S60. , find the terminal with the missing data resource and request the broadcast channel.

通过广播通道进行数据传输过程中,可能因为各种原因,下载终端有部分数据资源不能获取到。一个实施例中,采用主动获取的方式,定期查询缓冲区数据资源是否缺失,如果是,则查询与该下载终端相连的终端中含有该缺失部分数据资源的终端,然后向含有该缺失部分数据资源的终端发出广播通道的请求,获取缺失部分的数据资源。 During data transmission through the broadcast channel, some data resources may not be acquired by the download terminal for various reasons. In an embodiment, the method for actively acquiring is used to periodically query whether the buffer data resource is missing. If yes, query the terminal connected to the download terminal to include the missing part of the data resource, and then include the missing partial data resource. The terminal sends a request for the broadcast channel to obtain the missing part of the data resource.

如图 3 所示,一种数据传输系统,包括多个终端和终端管理服务器。其中: As shown in FIG. 3, a data transmission system includes a plurality of terminals and a terminal management server. among them:

终端包括数据资源发布终端和下载终端。数据资源发布终端用于采集数据资源并发布数据资源,并向终端管理服务器发送数据资源发布请求。下载终端是接收数据资源的终端,其包括多个下载终端,如下载终端 1 、下载终端 2 、下载终端 3 、……、下载终端 n 。终端管理服务器用于接收发布数据资源终端发送的数据资源发布请求后发送通知到下载终端。同时,终端管理服务器还将数据资源信息和终端信息列表发送到下载终端。其中,数据资源是指具体需要传输的数据内容,如播放的视频内容;数据资源信息是指数据资源内容的一些属性信息,如数据资源的标识号、播放位置、编码格式等等;终端信息列表是指终端管理服务器记录的各个终端的信息,以列表的形式,如终端的标识号、 IP 地址等。 The terminal includes a data resource publishing terminal and a download terminal. The data resource publishing terminal is configured to collect data resources and publish data resources, and send a data resource publishing request to the terminal management server. The download terminal is a terminal that receives a data resource, and includes a plurality of download terminals, such as a download terminal. 1. Download terminal 2, download terminal 3, ..., download terminal n . The terminal management server is configured to send a notification to the download terminal after receiving the data resource publishing request sent by the publishing data resource terminal. At the same time, the terminal management server also transmits the data resource information and the terminal information list to the download terminal. The data resource refers to the specific data content that needs to be transmitted, such as the played video content; the data resource information refers to some attribute information of the data resource content, such as the identification number, play position, encoding format, etc. of the data resource; Refers to the information of each terminal recorded by the terminal management server, in the form of a list, such as the identification number of the terminal, IP address, etc.

在一个实施例中,以音视频数据资源发布为例,所述数据资源信息包括资源标识号、播放位置、编码格式、播放区段号、房间标识号等。下载终端接收终端管理服务器发出的通知后,数据资源发布终端与各下载终端之间及下载终端之间建立网络连接,根据网络连接建立广播通道。所有的终端根据接收到的终端信息列表,该终端信息列表中有各终端的标识号,根据终端标识号相互之间建立网络连接。 In one embodiment, the audio resource data resource is exemplified, and the data resource information includes a resource identification number, a play position, an encoding format, a play segment number, a room identification number, and the like. After the download terminal receives the notification sent by the terminal management server, a network connection is established between the data resource issuance terminal and each download terminal and the download terminal, and a broadcast channel is established according to the network connection. According to the received terminal information list, all the terminals have the identification numbers of the terminals in the terminal information list, and establish a network connection with each other according to the terminal identification numbers.

在另一个实施例中,数据资源发布终端还用于将数据资源缓冲,并将该缓冲的数据资源分成多个不同区段,将不同区段分配到广播通道中。每个广播通道连接多个终端,使得各个广播通道内的区段数据资源发送到多个下载终端,这样数据资源发布终端的带宽被分流,节省了大量的下载时间。 In another embodiment, the data resource issuance terminal is further configured to buffer the data resource, and divide the buffered data resource into a plurality of different segments, and allocate different segments to the broadcast channel. Each broadcast channel is connected to multiple terminals, so that the segment data resources in each broadcast channel are sent to multiple download terminals, so that the bandwidth of the data resource publishing terminal is divided, which saves a lot of download time.

数据资源发布终端和 / 或下载终端还可用于向与之相连的另一下载终端发送广播通道请求命令,接收广播通道请求命令的反馈通道信息;数据资源发布终端和下载终端在获取到所有的通道信息后,建立终端之间的数据链路,数据资源发布终端通过建立的数据链路发布数据资源,下载终端则通过建立的数据链路获取数据资源。其中,广播通道请求命令包括资源标识号、已获取到的广播通道、需要获取的广播通道。反馈的通道信息包括是否超过最大连接数、是否有资源数据、能广播的通道数。 Data resource publishing terminal and / Or the download terminal may be further configured to send a broadcast channel request command to another download terminal connected thereto, and receive feedback channel information of the broadcast channel request command; the data resource publishing terminal and the download terminal acquire the terminal information after acquiring all the channel information. The data link is published by the data resource publishing terminal through the established data link, and the download terminal acquires the data resource through the established data link. The broadcast channel request command includes a resource identification number, a obtained broadcast channel, and a broadcast channel to be acquired. The channel information of the feedback includes whether the maximum number of connections is exceeded, whether there is resource data, and the number of channels that can be broadcast.

此外,下载终端还可以根据广播通道质量对建立的广播通道进行校正,更好的找到合适的下载源,删除冗余的广播通道。广播通道建立后,下载终端还可以根据广播通道质量对建立的广播通道进行校正,这样可以更好的找到合适的下载源,删除冗余的广播通道。影响广播通道质量的要素包括带宽、下载百分比、是否使用中、丢包影响、局域网冗余数据、广播请求拒绝时间。下载终端设置阈值以及广播通道质量要素的权值,根据权值计算广播通道质量的分数,判断该分数是否低于该阈值,若是,则断开该广播通道。该实施例中,广播通道质量要素的权值是依次递减的,根据这些数值,可以给广播通道质量进行评分,如果分数低于设置的阀值,则需要断开该广播通道,尝试连接其他终端的广播通道。该阀值可以由用户根据需要设定,也可以使用默认值。 In addition, the download terminal can also correct the established broadcast channel according to the quality of the broadcast channel, thereby better finding a suitable download source and deleting redundant broadcast channels. After the broadcast channel is established, the download terminal can also correct the established broadcast channel according to the quality of the broadcast channel, so that a suitable download source can be better found and the redundant broadcast channel can be deleted. The factors that affect the quality of the broadcast channel include bandwidth, download percentage, whether it is in use, packet loss impact, LAN redundant data, and broadcast request rejection time. The terminal setting threshold and the weight of the broadcast channel quality element are downloaded, and the score of the quality of the broadcast channel is calculated according to the weight, and it is determined whether the score is lower than the threshold, and if so, the broadcast channel is disconnected. In this embodiment, the weights of the quality elements of the broadcast channel are successively decremented. According to these values, the quality of the broadcast channel can be scored. If the score is lower than the set threshold, the broadcast channel needs to be disconnected, and attempts to connect other terminals. Broadcast channel. This threshold can be set by the user as needed or the default value can be used.

上述数据传输系统还可包括中转服务器,该中转服务器用于与无法与其他终端进行建立直接的网络连接的下载终端建立网络连接,便于该下载终端能够通过该中转服务器获取数据资源。 The data transmission system may further include a relay server, which is used to establish a network connection with a download terminal that cannot establish a direct network connection with other terminals, so that the download terminal can acquire data resources through the transit server.

为了更好的说明上述传输系统的网络连接及数据资源传输过程,如图 4 所示,数据资源发布终端、下载终端 1 、 2 和 3 之间建立网络连接,或通过中转服务器建立网络连接,建立后,形成广播通道 0 、 1 、 2 、 3 、 4 、 5 、 6 、 7 ,再根据广播通道建立数据链路,数据资源发布终端将数据资源分成 8 个部分通过广播通道 0~7 发布数据资源,下载终端 1 接收数据资源发布的广播通道 0 和 2 的数据,接收下载终端 2 的广播通道 4 的数据,接收下载终端 3 的广播通道 1 的数据,同时发送广播通道 0 的数据到下载终端 2 。 In order to better explain the network connection and data resource transmission process of the above transmission system, as shown in FIG. 4, the data resource issuance terminal and the download terminal 1 Establish a network connection between 2, 3, or establish a network connection through the relay server. After the establishment, the broadcast channel 0, 1, 2, 3, 4, 5, 6, 7 And the data link is established according to the broadcast channel, and the data resource issuance terminal divides the data resource into 8 parts and publishes the data resource through the broadcast channel 0~7, and the download terminal 1 receives the broadcast channel 0 of the data resource release. The data of 2 receives the data of the broadcast channel 4 of the download terminal 2, receives the data of the broadcast channel 1 of the download terminal 3, and simultaneously transmits the data of the broadcast channel 0 to the download terminal 2.

图 5 为数据传输系统的工作时序图,下载终端包括下载终端 1 、下载终端 2 、……、下载终端 n ,广播通道为 0 、 1 、 2 、 3 、 4 、 5 、 6 、 7 。数据传输系统的具体工作过程是: Figure 5 is a working sequence diagram of the data transmission system, and the download terminal includes a download terminal 1, a download terminal 2, ..., a download terminal n The broadcast channels are 0, 1, 2, 3, 4, 5, 6, and 7. The specific working process of the data transmission system is:

( 1 )数据资源发布终端向终端管理服务器发送发布数据资源请求; (1) The data resource issuance terminal sends a request for publishing a data resource to the terminal management server;

( 2 )终端管理服务器接收到发布数据资源请求后,通知下载终端 1 、下载终端 2 、……、下载终端 n ; (2) after receiving the request for publishing the data resource, the terminal management server notifies the download terminal 1, the download terminal 2, ..., the download terminal n ;

( 3 )下载终端 1 与所有下载终端及数据资源发布终端建立网络连接; (3) download terminal 1 establishes a network connection with all download terminals and data resource publishing terminals;

( 4 )下载终端 1 向连接的所有终端发出广播通道请求命令; (4) The download terminal 1 issues a broadcast channel request command to all connected terminals;

( 5 )下载终端 2 、下载终端 3 、……、下载终端 n 和数据资源发布终端接收到广播通道请求命令后,反馈广播通道情况到下载终端 1 ,如发布数据资源终端反馈可广播通道 0 、 1 、 2 、 3 到下载终端 1 ,下载终端 2 、下载终端 3 、……、下载终端 n 反馈可广播通道 0 、 1 、 2 、 3 、 4 、 5 、 6 、 7 ; (5) download terminal 2, download terminal 3, ..., download terminal n After receiving the broadcast channel request command, the data resource publishing terminal feeds back the broadcast channel status to the download terminal 1 , for example, the data resource terminal feedbacks the broadcast channel 0, 1, 2, 3 to the download terminal 1 , download terminal 2, download terminal 3, ..., download terminal n feedback broadcast channel 0, 1, 2, 3, 4, 5, 6 , 7;

( 6 )下载终端 1 则按照一定算法,下载终端 1 接收 4 、 5 、 6 、 7 的广播通道,其中,一定算法是指查询广播通道的质量,如果质量比较差可不连接,并查询下载终端是否已经从其他终端获取了广播通道,如果获取某一广播通道,则需要剔除该已经获取的某一广播通道; (6) download terminal 1 according to a certain algorithm, download terminal 1 receives 4, 5, 6, 7 Broadcast channel, where a certain algorithm refers to the quality of the query broadcast channel. If the quality is poor, it may not be connected, and query whether the download terminal has obtained the broadcast channel from other terminals. If a certain broadcast channel is acquired, the acquired channel needs to be removed. a certain broadcast channel;

( 7 )下载终端 1 获取所有的广播通道后建立数据链路,并通过建立的数据链路接收 4 、 5 、 6 、 7 广播通道的数据资源。 (7) Download terminal 1 After all the broadcast channels are acquired, a data link is established and received through the established data link 4, 5, 6 , 7 data resources of the broadcast channel.

在一个实施例中,下载终端将获取到数据资源填充进缓冲区,还用于将该缓冲区数据资源广播到与该下载终端相连的其它终端,以及播放该缓冲区数据资源。下载终端进一步还用于定期查询下载终端数据缓冲区的数据资源是否缺失数据,如果是,则查找含有缺失的数据资源的终端并发出需要广播通道的请求。 In one embodiment, the download terminal fills the acquired data resource into the buffer, and is also used to broadcast the buffer data resource to other terminals connected to the download terminal, and play the buffer data resource. The download terminal is further configured to periodically query whether the data resource of the download terminal data buffer is missing data, and if so, find the terminal with the missing data resource and issue a request for the broadcast channel.

在一个实施例中,如图 6 所示,一种终端,包括通信模块 60 、广播通道建立模块 62 、数据链路建立模块 64 和传输模块 66 。其中, In one embodiment, as shown in FIG. 6, a terminal includes a communication module 60 and a broadcast channel establishment module 62. , data link setup module 64 and transport module 66. among them,

通信模块 60 用于发送数据资源发布请求以及接收终端管理服务器根据所述数据资源发布请求发送的通知。终端通过通信模块 60 发送数据资源发布请求到终端管理服务器,终端管理服务器根据该数据资源发布请求发送通知到各个终端。通信模块 60 还用于接收数据资源信息和终端信息列表。其中,数据资源是指具体需要传输的数据内容,如播放的视频内容;数据资源信息是指数据资源内容的一些属性信息,如数据资源的标识号、播放位置、编码格式等等;终端信息列表是指终端管理服务器记录的各个终端的信息,以列表的形式,如终端的标识号、 IP 地址等。 Communication module 60 And a notification for transmitting a data resource issue request and receiving the terminal management server according to the data resource issue request. Terminal through communication module 60 The data resource issuance request is sent to the terminal management server, and the terminal management server sends a notification to each terminal according to the data resource issuance request. Communication module 60 It is also used to receive data resource information and a list of terminal information. The data resource refers to the specific data content that needs to be transmitted, such as the played video content; the data resource information refers to some attribute information of the data resource content, such as the identification number, play position, encoding format, etc. of the data resource; Refers to the information of each terminal recorded by the terminal management server, in the form of a list, such as the identification number of the terminal, IP address, etc.

广播通道建立模块 62 用于建立各终端之间的网络连接,根据该网络连接建立广播通道。各终端的通信模块 60 接收了终端管理服务器发送的通知后,各终端之间的建立网络连接,然后根据该网络连接建立广播通道。所有的终端根据接收到的终端信息列表,该终端信息列表中有各终端的标识号,根据终端标识号相互之间建立网络连接。 The broadcast channel establishing module 62 is configured to establish a network connection between the terminals, and establish a broadcast channel according to the network connection. Communication module of each terminal 60 After receiving the notification sent by the terminal management server, a network connection is established between the terminals, and then a broadcast channel is established according to the network connection. According to the received terminal information list, all the terminals have the identification numbers of the terminals in the terminal information list, and establish a network connection with each other according to the terminal identification numbers.

数据链路建立模块 64 用于根据广播通道建立数据链路。优选的实施例中,通信模块 60 发送广播通道请求命令以及接收广播通道请求命令的反馈通道信息,数据链路建立模块 64 在通信模块 60 接收到广播通道请求命令的反馈通道信息后,建立各终端之间的数据链路。其中,广播通道请求命令包括资源标识号、已获取到的广播通道、需要获取的广播通道。反馈的通道信息包括是否超过最大连接数、是否有资源数据、能广播的通道数。 The data link establishment module 64 is configured to establish a data link according to a broadcast channel. In a preferred embodiment, the communication module 60 Sending a broadcast channel request command and receiving feedback channel information of the broadcast channel request command, the data link establishing module 64 is in the communication module 60 After receiving the feedback channel information of the broadcast channel request command, a data link between the terminals is established. The broadcast channel request command includes a resource identification number, a obtained broadcast channel, and a broadcast channel to be acquired. The channel information of the feedback includes whether the maximum number of connections is exceeded, whether there is resource data, and the number of channels that can be broadcast.

传输模块 66 用于通过该数据链路进行数据资源的传输。数据链路建立后,传输模块 66 将依赖该数据链路进行数据资源的传输。 The transmission module 66 is configured to transmit data resources through the data link. After the data link is established, the transmission module 66 The data link will be relied upon for data resource transmission.

在一个实施例中,如图 7 所示,上述终端除了包括通信模块 60 、广播通道建立模块 62 、数据链路建立模块 64 和传输模块 66 ,还包括缓冲模块 61 、播放模块 63 、查验模块 65 和校正模块 67 。 In one embodiment, as shown in FIG. 7, the terminal includes a communication module 60 and a broadcast channel establishing module 62. The data link establishing module 64 and the transmitting module 66 further include a buffering module 61, a playing module 63, a checking module 65, and a correcting module 67.

其中,缓冲模块 61 用于对发布的数据资源进行缓冲,且将缓冲的数据资源分成不同的区段,并通过传输模块 66 传输到广播通道中。每个广播通道连接多个终端,使得各个广播通道内的区段数据资源发送到多个终端,这样发布数据资源的终端的带宽被分流,节省了大量的下载时间。 The buffer module 61 is configured to buffer the published data resources, and divide the buffered data resources into different segments and pass the transmission module. 66 Transfer to the broadcast channel. Each of the broadcast channels is connected to a plurality of terminals, so that the segment data resources in the respective broadcast channels are transmitted to the plurality of terminals, so that the bandwidth of the terminal that issues the data resources is divided, thereby saving a large amount of download time.

传输模块 66 接收到下载的数据资源后传输到缓冲模块 61 内进行缓冲。传输模块 66 还将该缓冲的发布的数据资源和 / 或下载的数据资源传输到与该终端相连的终端。传输模块 66 可将该终端发布的数据资源发送到与该终端相连的其他终端,也可将从其他终端下载的数据资源发送到与该终端相连的其他终端。 The transmission module 66 receives the downloaded data resource and transmits it to the buffer module 61 for buffering. Transmission module 66 The buffered published data resource and/or downloaded data resource is also transmitted to the terminal connected to the terminal. Transmission module 66 The data resources issued by the terminal may be sent to other terminals connected to the terminal, or the data resources downloaded from other terminals may be sent to other terminals connected to the terminal.

播放模块 63 用于播放缓冲的数据资源。对于视频聊天的数据资源,缓冲模块 61 可缓冲该数据资源,并通过播放模块 63 播放数据资源。 The playback module 63 is used to play buffered data resources. For video chat data resources, buffer module 61 The data resource can be buffered and the data resource played through the playback module 63.

查验模块 65 用于查询缓冲模块 61 内下载的数据资源是否缺失,如果是,则查验模块 65 查找含有缺失的数据资源的终端,并通过通信模块 60 发出需要广播通道的请求。 The checking module 65 is used to query whether the data resource downloaded in the buffer module 61 is missing, and if so, the checking module 65 A terminal containing the missing data resource is found and a request for a broadcast channel is issued through the communication module 60.

校正模块67用于根据广播通道质量对建立的广播通道进行校正。广播通道建立后,校正模块67可以根据广播通道质量对建立的广播通道进行校正,这样可以更好的找到合适的下载源,删除冗余的广播通道。影响广播通道质量的要素包括带宽、下载百分比、是否使用中、丢包影响、局域网冗余数据、广播请求拒绝时间。校正模块67对建立的广播通道进行校正具体为:校正模块67设置阈值以及广播通道质量要素的权值,根据权值计算广播通道质量的分数,判断该分数是否低于该阈值,若是,广播通道建立模块62则断开该广播通道。该实施例中,广播通道质量要素的权值是依次递减的,根据这些数值,可以给广播通道质量进行评分,如果分数低于设置的阀值,则需要断开该广播通道,尝试连接其他终端的广播通道。该阀值可以由用户根据需要设定,也可以使用默认值。 The correction module 67 is configured to correct the established broadcast channel according to the quality of the broadcast channel. After the broadcast channel is established, the correction module 67 can correct the established broadcast channel according to the quality of the broadcast channel, so that a suitable download source can be better found and the redundant broadcast channel can be deleted. The factors that affect the quality of the broadcast channel include bandwidth, download percentage, whether it is in use, packet loss impact, LAN redundant data, and broadcast request rejection time. The correction module 67 corrects the established broadcast channel, specifically: the correction module 67 sets the threshold and the weight of the broadcast channel quality element, calculates the score of the broadcast channel quality according to the weight, and determines whether the score is lower than the threshold, and if so, the broadcast channel The setup module 62 then disconnects the broadcast channel. In this embodiment, the weights of the quality elements of the broadcast channel are successively decremented. According to these values, the quality of the broadcast channel can be scored. If the score is lower than the set threshold, the broadcast channel needs to be disconnected, and attempts to connect other terminals. Broadcast channel. This threshold can be set by the user as needed or the default value can be used.

上述数据传输方法及系统、终端,根据接收数据资源发布请求通知下载终端,根据通知,数据资源发布终端与各下载终端之间、各下载终端之间建立网络连接,根据网络连接建立广播通道,根据广播通道建立数据链路,并通过该数据链路进行数据资源的传输,这样数据资源的传输用多个广播通道,带宽成本降低,也不会因一个广播通道出现问题而发生错误,误码率也降低。 The data transmission method, system, and terminal notify the download terminal according to the received data resource release request, and establish a network connection between the data resource issuance terminal and each download terminal and each download terminal according to the notification, and establish a broadcast channel according to the network connection, according to the The broadcast channel establishes a data link and transmits data resources through the data link, so that the data resource is transmitted by using multiple broadcast channels, the bandwidth cost is reduced, and no error occurs due to a problem in one broadcast channel, and the bit error rate is generated. Also reduced.

另外,将数据资源缓冲,使数据资源传输更快,节省时间。 In addition, buffering data resources makes data resource transfer faster and saves time.

对广播通道进行校正,能够提高广播通道的有效利用率。 Correcting the broadcast channel can improve the effective utilization of the broadcast channel.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。 The above-mentioned embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (21)

一种数据传输方法,包括以下步骤: A data transmission method includes the following steps: A .接收数据资源发布终端发布的数据资源发布请求,并根据所述请求通知下载终端;A. Receiving a data resource publishing request issued by the data resource publishing terminal, and notifying the downloading terminal according to the request; B .根据所述通知建立数据资源发布终端和下载终端之间及下载终端之间的网络连接;B. Establishing, according to the notification, a network connection between the data resource publishing terminal and the download terminal and between the download terminal; C .根据所述网络连接建立广播通道;C. Establishing a broadcast channel according to the network connection; D .根据所述建立的广播通道建立数据链路,并通过所述数据链路传输数据资源。 D. Establishing a data link according to the established broadcast channel, and transmitting data resources through the data link. 根据权利要求1所述的数据传输方法,其特征在于,所述步骤A还包括发送数据资源信息和包含所述数据资源发布终端及下载终端的终端信息列表到所述下载终端的步骤。 The data transmission method according to claim 1, wherein the step A further comprises the step of transmitting data resource information and a list of terminal information including the data resource issuance terminal and the download terminal to the download terminal. 根据权利要求1所述的数据传输方法,其特征在于,在步骤C之后还包括根据广播通道质量对建立的广播通道进行校正的步骤。 The data transmission method according to claim 1, further comprising the step of correcting the established broadcast channel according to the quality of the broadcast channel after the step C. 根据权利要求 3 所述的数据传输方法,其特征在于,所述广播通道质量的要素包括带宽、下载百分比、是否使用中、丢包影响、局域网冗余数据、广播请求拒绝时间; According to claim 3 The data transmission method is characterized in that: the elements of the quality of the broadcast channel include bandwidth, download percentage, whether it is in use, packet loss impact, local area network redundancy data, and broadcast request rejection time; 所述方法还包括:设置阈值及所述广播通道质量要素的权值,根据所述权值计算所述广播通道质量的分数,判断所述分数是否低于所述阈值,若是,则断开所述广播通道。The method further includes: setting a threshold and a weight of the broadcast channel quality element, calculating a score of the quality of the broadcast channel according to the weight, determining whether the score is lower than the threshold, and if so, disconnecting Said the broadcast channel. 根据权利要求 1 所述的数据传输方法,其特征在于,所述步骤 D 中通过所述数据链路传输数据资源的步骤还包括:通过数据发布终端采集数据资源,对数据资源进行缓冲且将缓冲的数据分成不同的区段,分配到广播通道中;数据资源发布终端和 / 或下载终端获取到广播的数据资源后进行缓冲,且将所述缓冲的数据资源广播到与所述终端相连的终端,以及播放所述缓冲的数据资源。The data transmission method according to claim 1, wherein said step D The step of transmitting data resources through the data link further includes: collecting data resources by the data publishing terminal, buffering the data resources, and dividing the buffered data into different segments, and distributing the data to the broadcast channel; and the data resource publishing terminal and the And after the download terminal acquires the broadcasted data resource, buffers, and broadcasts the buffered data resource to the terminal connected to the terminal, and plays the buffered data resource. 根据权利要求 1 至 5 中任一项所述的数据传输方法,其特征在于,所述方法还包括步骤:查询下载终端获取的数据资源是否缺失,如果是,则查找含有缺失的数据资源的终端并请求广播通道。 According to claims 1 to 5 The data transmission method according to any one of the preceding claims, wherein the method further comprises the step of: querying whether the data resource acquired by the download terminal is missing, and if so, searching for the terminal containing the missing data resource and requesting the broadcast channel. 一种数据传输系统,其特征在于,所述系统包括终端和终端管理服务器,所述终端包括数据资源发布终端和下载终端,所述数据资源发布终端用于向所述终端管理服务器发送数据资源发布请求;所述终端管理服务器用于接收数据资源发布请求且发送通知到所述下载终端;所述下载终端接收所述通知并建立包含数据资源发布终端与各下载终端之间及下载终端之间的网络连接,根据网络连接建立广播通道;所述终端根据广播通道建立数据链路,并通过所述数据链路进行数据资源的传输。 A data transmission system, wherein the system includes a terminal and a terminal management server, the terminal includes a data resource publishing terminal and a download terminal, and the data resource publishing terminal is configured to send a data resource release to the terminal management server. The terminal management server is configured to receive a data resource publishing request and send a notification to the download terminal; the download terminal receives the notification and establishes between the data resource publishing terminal and each download terminal and between the download terminal The network connection establishes a broadcast channel according to the network connection; the terminal establishes a data link according to the broadcast channel, and transmits the data resource through the data link. 根据要求 7 所述的数据传输系统,其特征在于,所述终端管理服务器还用于将数据资源信息和所述终端的终端信息列表发送给所述下载终端。 Upon request 7 The data transmission system is characterized in that the terminal management server is further configured to send data resource information and a terminal information list of the terminal to the download terminal. 根据权利要求 7 所述的数据传输系统,其特征在于,所述数据资源发布终端还用于对数据资源进行缓冲,且将缓冲的数据分成不同的区段,并分配到广播通道中;所述终端获取到广播的数据资源后进行缓冲,将所述缓冲的数据资源广播到与所述终端相连的终端,以及播放所述缓冲的数据资源。 According to claim 7 The data transmission system is characterized in that the data resource issuance terminal is further configured to buffer the data resource, and divide the buffered data into different segments and allocate the data to the broadcast channel; the terminal acquires the broadcast The data resource is then buffered, the buffered data resource is broadcast to the terminal connected to the terminal, and the buffered data resource is played. 根据要求7所述的数据传输系统,其特征在于,所述数据资源发布终端和/ 或下载终端进一步用于发送广播通道请求命令,在收到广播通道请求命令的反馈通道信息后建立终端之间的数据链路。 The data transmission system according to claim 7, wherein the data resource issuance terminal and/or Or the download terminal is further configured to send a broadcast channel request command, and establish a data link between the terminals after receiving the feedback channel information of the broadcast channel request command. 根据要求 7 所述的数据传输系统,其特征在于,所述下载终端进一步用于查询缓冲区内下载的数据资源是否缺失,如果是,则查找含有缺失的数据资源的终端并发出需要广播通道的请求。Upon request 7 The data transmission system is characterized in that the download terminal is further configured to query whether a data resource downloaded in the buffer is missing, and if so, find a terminal that contains the missing data resource and issue a request for a broadcast channel. 根据权利要求 7 所述的数据传输系统,其特征在于,所述下载终端还可根据广播通道质量对建立的广播通道进行校正。 The data transmission system according to claim 7, wherein the download terminal further corrects the established broadcast channel according to the quality of the broadcast channel. 根据权利要求 12 所述的数据传输系统,其特征在于,所述广播通道质量的要素包括带宽、下载百分比、是否使用中、丢包影响、局域网冗余数据、广播请求拒绝时间;According to claim 12 The data transmission system is characterized in that: the quality of the broadcast channel includes bandwidth, download percentage, whether it is in use, packet loss impact, local area network redundancy data, and broadcast request rejection time; 所述下载终端还用于设置阈值及所述广播通道质量要素的权值,根据所述权值计算所述广播通道质量的分数,判断所述分数是否低于所述阈值,若是,则断开所述广播通道。The download terminal is further configured to set a threshold and a weight of the broadcast channel quality element, calculate a score of the broadcast channel quality according to the weight, determine whether the score is lower than the threshold, and if yes, disconnect The broadcast channel. 一种终端,其特征在于,包括:A terminal, comprising: 通信模块,用于发送数据资源发布请求以及接收终端管理服务器根据所述数据资源发布请求发送的通知;a communication module, configured to send a data resource publishing request and receive a notification sent by the terminal management server according to the data resource publishing request; 广播通道建立模块,用于建立各终端之间的网络连接,根据该网络连接建立广播通道;a broadcast channel establishing module, configured to establish a network connection between the terminals, and establish a broadcast channel according to the network connection; 数据链路建立模块,用于根据广播通道建立数据链路;a data link establishing module, configured to establish a data link according to a broadcast channel; 传输模块,用于通过所述数据链路进行数据资源的传输。And a transmission module, configured to perform data resource transmission by using the data link. 根据权利要求 14 所述的终端,其特征在于,所述通信模块还用于接收数据资源信息和终端信息列表。 The terminal according to claim 14, wherein the communication module is further configured to receive data resource information and a terminal information list. 根据权利要求 14 所述的终端,其特征在于,还包括缓冲模块,所述缓冲模块用于对发布的数据资源进行缓冲,且将缓冲的数据资源分成不同的区段,并通过所述传输模块传输到广播通道中;所述传输模块接收到下载的数据资源后传输到所述缓冲模块进行缓冲;所述传输模块将所述缓冲的发布的数据资源和 / 或下载的数据资源传输到与所述终端相连的终端。 According to claim 14 The terminal, further comprising a buffer module, configured to buffer the distributed data resource, and divide the buffered data resource into different segments, and transmit the broadcast data to the broadcast channel by using the transmission module. The transmission module receives the downloaded data resource and transmits it to the buffer module for buffering; the transmission module sends the buffered published data resource and / or the downloaded data resource is transmitted to the terminal connected to the terminal. 根据权利要求 16 所述的终端,其特征在于,还包括播放模块,所述播放模块播放所述缓冲的数据资源。 The terminal according to claim 16, further comprising a playing module, wherein the playing module plays the buffered data resource. 根据权利要求 14 所述的终端,其特征在于,所述通信模块进一步用于发送广播通道请求命令以及接收广播通道请求命令的反馈通道信息;所述数据链路建立模块在所述通信模块接收到广播通道请求命令的反馈通道信息后,建立各终端之间的数据链路。 According to claim 14 The terminal, wherein the communication module is further configured to send a broadcast channel request command and receive feedback channel information of a broadcast channel request command; the data link establishing module receives a broadcast channel request command at the communication module After the feedback channel information, the data link between the terminals is established. 根据权利要求 14 所述的终端,其特征在于,还包括查验模块,所述查验模块用于查询所述缓冲模块内下载的数据资源是否缺失,如果是,则所述查验模块查找含有缺失的数据资源的终端,并通过所述通信模块发出需要广播通道的请求。According to claim 14 The terminal, further comprising a checking module, wherein the checking module is configured to query whether a data resource downloaded in the buffer module is missing, and if yes, the checking module searches for a terminal that includes a missing data resource, And a request for a broadcast channel is issued through the communication module. 根据权利要求14所述的终端,其特征在于,还包括校正模块,所述校正模块用于根据广播通道质量对建立的广播通道进行校正。The terminal according to claim 14, further comprising a correction module, configured to correct the established broadcast channel according to the quality of the broadcast channel. 根据权利要求 20 所述的终端,其特征在于,所述广播通道质量的要素包括带宽、下载百分比、是否使用中、丢包影响、局域网冗余数据、广播请求拒绝时间;According to claim 20 The terminal is characterized in that: the quality of the broadcast channel includes bandwidth, download percentage, whether it is in use, packet loss impact, local area network redundancy data, and broadcast request rejection time; 所述校正模块还用于设置阈值及所述广播通道质量要素的权值,根据所述权值计算所述广播通道质量的分数,判断所述分数是否低于所述阈值,若是,所述广播通道建立模块则断开所述广播通道。The correction module is further configured to set a threshold and a weight of the broadcast channel quality element, calculate a score of the broadcast channel quality according to the weight, and determine whether the score is lower than the threshold, and if yes, the broadcast The channel establishment module disconnects the broadcast channel.
PCT/CN2011/070225 2010-01-20 2011-01-13 Data transmission method and system, terminal thereof Ceased WO2011088768A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010101994.8A CN102130801A (en) 2010-01-20 2010-01-20 Data transmission method and system
CN201010101994.8 2010-01-20

Publications (1)

Publication Number Publication Date
WO2011088768A1 true WO2011088768A1 (en) 2011-07-28

Family

ID=44268698

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070225 Ceased WO2011088768A1 (en) 2010-01-20 2011-01-13 Data transmission method and system, terminal thereof

Country Status (2)

Country Link
CN (1) CN102130801A (en)
WO (1) WO2011088768A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067826A (en) * 2020-07-16 2021-07-02 陈杰 Report sending system based on big data analysis
CN119629167A (en) * 2024-12-05 2025-03-14 国家电投集团郑州燃气发电有限公司 A field data transmission method and system based on the Internet of Things

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104602047B (en) * 2014-12-05 2019-01-15 海信集团有限公司 Sharing method, server, terminal and the system of EPG data
CN106027599B (en) * 2016-04-29 2020-01-17 掌赢信息科技(上海)有限公司 Data transmission channel establishing method, system and server
CN107404512B (en) 2016-05-19 2021-03-05 华为技术有限公司 Resource subscription method, resource subscription device and resource subscription system
WO2017198088A1 (en) * 2016-05-19 2017-11-23 华为技术有限公司 Resource subscription method, resource subscription device, and resource subscription system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6275471B1 (en) * 1998-05-12 2001-08-14 Panasonic Technologies, Inc. Method for reliable real-time multimedia streaming
CN101051913A (en) * 2007-01-12 2007-10-10 北京时代亮点科技发展有限公司 Reciprocal network transmission method facing moving terminal
CN101075948A (en) * 2006-05-15 2007-11-21 中兴通讯股份有限公司 Method for realizing realtime fluid-medium programm reliable transmission

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6275471B1 (en) * 1998-05-12 2001-08-14 Panasonic Technologies, Inc. Method for reliable real-time multimedia streaming
CN101075948A (en) * 2006-05-15 2007-11-21 中兴通讯股份有限公司 Method for realizing realtime fluid-medium programm reliable transmission
CN101051913A (en) * 2007-01-12 2007-10-10 北京时代亮点科技发展有限公司 Reciprocal network transmission method facing moving terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067826A (en) * 2020-07-16 2021-07-02 陈杰 Report sending system based on big data analysis
CN119629167A (en) * 2024-12-05 2025-03-14 国家电投集团郑州燃气发电有限公司 A field data transmission method and system based on the Internet of Things

Also Published As

Publication number Publication date
CN102130801A (en) 2011-07-20

Similar Documents

Publication Publication Date Title
WO2011088768A1 (en) Data transmission method and system, terminal thereof
US20060018335A1 (en) Multicast to unicast traffic conversion in a network
WO2011059272A2 (en) Method and apparatus for providing trick play service
WO2011136496A2 (en) Method and apparatus for playing live content
US20130311679A1 (en) Server architecture supporting a personal media exchange network
WO2016129974A1 (en) Transmitting apparatus and receiving apparatus and controlling method thereof
CN102202229B (en) A real-time video gateway method and device
WO2016195354A1 (en) Transmitting apparatus, receiving apparatus, and method for controlling the same
WO2011136481A2 (en) P2p live streaming system and method for high-definition media broadcasts
US20100107200A1 (en) Converting video data into video streams
TWI616097B (en) Streaming device and method, stream service system and recording medium
WO2016111607A1 (en) Transmitting apparatus and signal processing method thereof
WO2010123248A2 (en) Method for transmitting an iptv streaming service by p2p transmission, and method for receiving an iptv streaming service by p2p transmission
CN111447392B (en) Data transmission method, device, server and computer-readable storage medium
WO2016003234A1 (en) Method and device for receiving and transmitting information in multimedia system
WO2013112027A1 (en) Method for estimating network jitter in apparatus for transmitting coded media data
WO2017035787A1 (en) Method, device, and system for storing streaming media file
CN109379254B (en) Network connection detection method and system based on video conference
TWI618406B (en) Live Video Matching Method and System
WO2011126271A2 (en) Apparatus and method for inserting advertisement in a broadcasting system
WO2015194906A1 (en) Method and device for providing heterogeneous network-based broadcast service
JP2009520409A (en) High-speed processing of multicast data
WO2015024374A1 (en) Method, device and system for measuring multicast delay
US20070280296A1 (en) System and method for measuring distribution quality of video image
WO2013187667A1 (en) Rate adaptation method using bit error rate for multimedia service and apparatus therefor

Legal Events

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

Ref document number: 11734350

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 4925/CHENP/2012

Country of ref document: IN

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 27/11/2012)

122 Ep: pct application non-entry in european phase

Ref document number: 11734350

Country of ref document: EP

Kind code of ref document: A1