WO2016119353A1 - Streaming media data sharing method, streaming media data sharing device, and terminal - Google Patents

Streaming media data sharing method, streaming media data sharing device, and terminal Download PDF

Info

Publication number
WO2016119353A1
WO2016119353A1 PCT/CN2015/080353 CN2015080353W WO2016119353A1 WO 2016119353 A1 WO2016119353 A1 WO 2016119353A1 CN 2015080353 W CN2015080353 W CN 2015080353W WO 2016119353 A1 WO2016119353 A1 WO 2016119353A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
streaming media
target
media data
terminals
Prior art date
Application number
PCT/CN2015/080353
Other languages
French (fr)
Chinese (zh)
Inventor
成厚富
Original Assignee
宇龙计算机通信科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2016119353A1 publication Critical patent/WO2016119353A1/en

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/40Support for services or applications

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a streaming media data sharing method, a streaming media data sharing device, and a terminal.
  • each terminal needs to directly communicate with the streaming media server, and each terminal can obtain streaming media data from the streaming media server, and then each terminal plays the streaming media.
  • Media data When multiple terminals and the streaming media server communicate directly, firstly, each terminal needs to have a network communication function, and the terminal that does not support the network communication function cannot perform streaming media playback; in addition, multiple communication of multiple terminals needs to be performed.
  • the cost is high for streaming media services with high data traffic; and if streaming media services need to be played smoothly, higher bandwidth is required, although data performance may be optimal in multiple terminals.
  • the terminal can enjoy a smooth streaming experience, but users with poor data performance (for example, the terminal's network is 2G/3G) cannot enjoy a smooth streaming service experience.
  • the present invention is based on the above problems, and proposes a new technical solution.
  • multiple terminals can be prevented from directly communicating with the streaming media server, thereby reducing communication charges and reducing network bandwidth. Occupy, and enable users of each terminal to have a smooth streaming experience.
  • an aspect of the present invention provides a streaming media data sharing method, including: when the target terminal receives the target streaming media data delivered by the streaming media server, the target streaming media data is synchronously shared to The other terminal to which the target terminal is bound.
  • the target terminal when the target terminal receives the target streaming media data delivered from the streaming media server, the target streaming media data received from the streaming media server is synchronously shared to other terminals bound to the target terminal. It can prevent other terminals from acquiring the target streaming media data by directly communicating with the streaming media server in real time, so that multiple terminals (including the target terminal and other terminals) can simultaneously share the target streaming media data with the lowest communication tariff, and can also simultaneously Ensure that multiple terminals occupy too much network bandwidth. In addition, as long as the network bandwidth and memory of the target terminal are large enough, users of each of the multiple terminals can enjoy a smooth streaming experience in real time.
  • the terminal with the largest network bandwidth and the largest memory should be selected as the target terminal to ensure that multiple terminals (including the target terminal and other terminals) can simultaneously Share target streaming media data.
  • the method before the target terminal receives the target streaming media data delivered by the streaming media server, the method further includes: determining, by the target terminal, whether the terminal is bound to the other terminal; If no, the other terminal is searched for binding with the other terminal, and when the determination result is yes, it is determined whether the other terminal needs to be updated, and if the other terminal needs to be updated, the updated terminal is updated.
  • the other terminals are bound, and if the other terminals are not required to be updated, they are directly bound to the other terminals.
  • the target terminal before the target terminal receives the target streaming media data delivered by the streaming media server, the other terminal that is finally bound to the target terminal should be determined, so that the target terminal receives the delivery from the streaming media server.
  • the target streaming media data After the target streaming media data, the target streaming media data is forwarded to other terminals, so that multiple terminals simultaneously and smoothly share the target streaming media data.
  • the method further includes: receiving status information from each of the other terminals; and before sharing the target streaming media data to any one of the other terminals, according to The status information of any of the terminals determines whether the target streaming media data is currently shared to any of the terminals.
  • the target terminal before the target terminal shares the target streaming media data to any of the other terminals, the target terminal first determines, according to the status information fed back by any terminal, that the target streaming media data can be simultaneously shared. To any of the terminals or wait for the status of any of the terminals After the information is changed to a certain state, the target streaming media data is synchronously shared to the any terminal, so that it can ensure that the target streaming media data can be shared by any of the terminals, and the state information of the terminal can be avoided.
  • the current state of the reaction causes adverse effects.
  • the target terminal will only share the target streaming media data to the terminal other than any one of the other terminals immediately after receiving the target streaming media data
  • the target streaming media data may be shared to the any terminal, and when the status information of the any terminal changes from the suspended state to the playing state, the terminal is not received during the time period of the suspension.
  • the target streaming media data is re-shared to any of the terminals.
  • receiving a playback control request from any one of the other terminals determining, according to the control authority level and/or the identification information of the any terminal, whether to respond to any of the terminals The playback control request; and responding to the playback control request when the control authority level of the any terminal is higher than a preset control authority level and/or the identification information matches the preset identification information; otherwise , rejecting the playback control request.
  • the target terminal when the target terminal receives a play control request of any of the other terminals (such as a request for controlling the terminal to pause), the target terminal may autonomously according to the control authority level and/or the identification information of the any terminal. Determining whether to respond to the play control request, specifically, if the control authority level of the any terminal is too low and/or the identifier information does not match the preset identifier information stored by the target terminal, the target terminal rejects the play control request and continues The current playing state; otherwise, in response to the playback control request, the current playing state is changed to the suspended state.
  • the play control request includes: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and control of the target terminal.
  • the play control request includes, but is not limited to, the foregoing request, for example, and may further include: a request for controlling the target terminal to re-enter the play mode.
  • Another aspect of the present invention provides a streaming media data sharing apparatus, including: a sharing unit, when the target terminal receives the target streaming media data delivered by the streaming media server, the target streaming media data is synchronously shared to The other terminal to which the target terminal is bound.
  • the target stream sent from the streaming media server is received at the target terminal.
  • the media data by synchronously sharing the received target streaming media data from the streaming media server to other terminals bound to the target terminal, other terminals can be prevented from acquiring the target streaming media data by directly communicating with the streaming media server in real time. Therefore, multiple terminals (including the target terminal and other terminals) can simultaneously share the target streaming media data with the lowest communication tariff, and at the same time, it can ensure that multiple terminals occupy excessive network bandwidth, and as long as the target terminal has network bandwidth and The memory is large enough that users of each of the multiple terminals can enjoy a smooth streaming experience in real time.
  • the terminal with the largest network bandwidth and the largest memory should be selected as the target terminal to ensure that multiple terminals (including the target terminal and other terminals) can simultaneously Share target streaming media data.
  • the method further includes: a first determining unit, before the target terminal receives the target streaming media data delivered by the streaming media server, controlling the target terminal to determine whether the other terminal is bound
  • the search unit when the determination result is no, searches the other terminal to be bound to the other terminal; the first determining unit is further configured to: when the determination result is yes, determine whether the update is needed
  • the first determining unit further includes: an updating unit, if the other terminal needs to be updated, binding to the updated other terminal; and the binding unit, if the other terminal is not required to be updated , it is directly bound to the other terminals.
  • the target terminal before the target terminal receives the target streaming media data delivered by the streaming media server, the other terminal that is finally bound to the target terminal should be determined, so that the target terminal receives the delivery from the streaming media server.
  • the target streaming media data After the target streaming media data, the target streaming media data is forwarded to other terminals, so that multiple terminals simultaneously and smoothly share the target streaming media data.
  • the method further includes: a first receiving unit that receives status information from each of the other terminals; and a second determining unit that shares the target streaming media data to the Before any of the other terminals, it is determined whether the target streaming media data is currently shared to the any terminal according to the status information of any of the terminals.
  • the target terminal before the target terminal shares the target streaming media data to any of the other terminals, the target terminal first determines, according to the status information fed back by any terminal, that the target streaming media data can be simultaneously shared. After the terminal device waits for the state information of the terminal to change to a certain state, the target streaming media data is synchronously shared to the terminal. In this way, it is ensured that the target streaming media data can be shared by any of the terminals, and the current state reflected by the state information of any of the terminals can be prevented from being adversely affected.
  • the target terminal will only share the target streaming media data to the terminal other than any one of the other terminals immediately after receiving the target streaming media data
  • the target streaming media data may be shared to the any terminal, and when the status information of the any terminal changes from the suspended state to the playing state, the terminal is not received during the time period of the suspension.
  • the target streaming media data is re-shared to any of the terminals.
  • the method further includes: a second receiving unit that receives a playback control request from any one of the other terminals; and a third determining unit, according to a control authority level of the any terminal and/or Or identifying information, determining whether to respond to the playback control request of any one of the terminals; and processing unit, the control authority level of the any terminal is higher than a preset control authority level and/or the identifier information and When the preset identification information matches, the playback control request is responded; otherwise, the playback control request is rejected.
  • the target terminal when the target terminal receives a play control request of any of the other terminals (such as a request for controlling the terminal to pause), the target terminal may autonomously according to the control authority level and/or the identification information of the any terminal. Determining whether to respond to the play control request, specifically, if the control authority level of the any terminal is too low and/or the identifier information does not match the preset identifier information stored by the target terminal, the target terminal rejects the play control request and continues The current playing state; otherwise, in response to the playback control request, the current playing state is changed to the suspended state.
  • the play control request includes: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and control of the target terminal.
  • the play control request includes, but is not limited to, the foregoing request, for example, and may further include: a request for controlling the target terminal to re-enter the play mode.
  • Yet another aspect of the present invention provides a terminal, the terminal comprising a communication bus, a transceiver, a memory, and a processor, wherein:
  • the communication bus is configured to implement connection communication between the transceiver device, the memory, and the processor;
  • the program stores a set of program codes, and the processor calls program code stored in the memory to perform the following operations:
  • the processor is configured to synchronously share the target streaming media data to other terminals bound to the target terminal when the transceiver device receives the target streaming media data delivered by the streaming media server.
  • the terminal comprises a communication bus, a transceiver, a memory, and a processor, wherein:
  • the communication bus is configured to implement connection communication between the transceiver device, the memory, and the processor;
  • the program stores a set of program codes, and the processor calls program code stored in the memory to perform the following operations:
  • the processor is configured to synchronously share the target streaming media data to other terminals bound to the target terminal when the transceiver device receives the target streaming media data delivered by the streaming media server.
  • the transceiver is configured to receive status information from each of the other terminals;
  • the processor is further configured to: before the destination media data is shared to any one of the other terminals, determine whether the target streaming media data is currently synchronized according to status information of any one of the terminals Share to any of the terminals.
  • the transceiver is configured to receive a play control request from any one of the other terminals;
  • the processor is further configured to determine, according to the control authority level and/or the identifier information of any of the terminals, whether to respond to the play control request of any one of the terminals;
  • the play control request includes: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and control of the target terminal. Rewinding the request or controlling the target terminal to exit the play Mode request.
  • the streaming media data sharing device when the streaming media data sharing device is set on the terminal, when the streaming media service is simultaneously performed on multiple terminals, multiple terminals can be prevented from directly communicating with the streaming media server, thereby reducing communication charges and reducing network bandwidth. Occupy, and enable users of each terminal to have a smooth streaming experience.
  • FIG. 1 is a flow chart showing a streaming media data sharing method according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing a streaming media playback control method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram showing a streaming media data sharing method according to another embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a streaming media data sharing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a streaming media data sharing apparatus according to another embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a main terminal in the streaming media data sharing device in FIG. 5;
  • FIG. 7 is a schematic structural diagram of a sub-terminal in the streaming media data sharing apparatus in FIG. 5;
  • FIG. 8 is a block diagram showing the structure of a terminal according to an embodiment of the present invention.
  • FIG. 9 is a block diagram showing the structure of a terminal according to another embodiment of the present invention.
  • FIG. 1 is a flow chart showing a streaming media data sharing method according to an embodiment of the present invention.
  • a streaming media data sharing method includes: Step 102: When the target terminal receives the target streaming media data delivered by the streaming media server, the target streaming media data is obtained. Synchronous sharing to other terminals bound to the target terminal.
  • the target terminal when the target terminal receives the target streaming media data delivered from the streaming media server, the target streaming media data received from the streaming media server is synchronously shared to other terminals bound to the target terminal. It can prevent other terminals from acquiring the target streaming media data by directly communicating with the streaming media server in real time, so that multiple terminals (including the target terminal and other terminals) can simultaneously share the target streaming media data with the lowest communication tariff, and can also simultaneously Ensure that multiple terminals occupy too much network bandwidth. In addition, as long as the network bandwidth and memory of the target terminal are large enough, users of each of the multiple terminals can enjoy a smooth streaming experience in real time.
  • the terminal with the largest network bandwidth and the largest memory should be selected as the target terminal to ensure that multiple terminals (including the target terminal and other terminals) can simultaneously Share target streaming media data.
  • the method before the target terminal receives the target streaming media data delivered by the streaming media server, the method further includes: determining, by the target terminal, whether the terminal is bound to the other terminal; If no, the other terminal is searched for binding with the other terminal, and when the determination result is yes, it is determined whether the other terminal needs to be updated, and if the other terminal needs to be updated, the updated terminal is updated.
  • the other terminals are bound, and if the other terminals are not required to be updated, they are directly bound to the other terminals.
  • the target terminal before the target terminal receives the target streaming media data delivered by the streaming media server, the other terminal that is finally bound to the target terminal should be determined, so that the target terminal receives the delivery from the streaming media server.
  • the target streaming media data After the target streaming media data, the target streaming media data is forwarded to other terminals, so that multiple terminals simultaneously and smoothly share the target streaming media data.
  • the target terminal before the target terminal shares the target streaming media data to any of the other terminals, the target terminal first determines, according to the status information fed back by any terminal, that the target streaming media data can be simultaneously shared. After the terminal device waits for the status information of the terminal to change to a certain state, the target streaming media data is synchronously shared to the terminal, so that the target stream can be shared by any of the terminals. The data can also avoid adversely affecting the current state reflected by the status information of any of the terminals.
  • the target terminal will only share the target streaming media data to the terminal other than any one of the other terminals immediately after receiving the target streaming media data
  • the target streaming media data may be shared to the any terminal, and when the status information of the any terminal changes from the suspended state to the playing state, the terminal is not received during the time period of the suspension.
  • the target streaming media data is re-shared to any of the terminals.
  • receiving a playback control request from any one of the other terminals determining, according to the control authority level and/or the identification information of the any terminal, whether to respond to any of the terminals The playback control request; and responding to the playback control request when the control authority level of the any terminal is higher than a preset control authority level and/or the identification information matches the preset identification information; otherwise , rejecting the playback control request.
  • the target terminal when the target terminal receives a play control request of any of the other terminals (such as a request for controlling the terminal to pause), the target terminal may autonomously according to the control authority level and/or the identification information of the any terminal. Determining whether to respond to the play control request, specifically, if the control authority level of the any terminal is too low and/or the identifier information does not match the preset identifier information stored by the target terminal, the target terminal rejects the play control request and continues The current playing state; otherwise, in response to the playback control request, the current playing state is changed to the suspended state.
  • the play control request includes: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and control of the target terminal.
  • the play control request includes, but is not limited to, the foregoing request, for example, and may further include: a request for controlling the target terminal to re-enter the play mode.
  • FIG. 2 is a flow chart showing a streaming media playback control method according to an embodiment of the present invention.
  • a streaming media playback control method includes:
  • Step 202 The main terminal (target terminal) or the sub-terminal (the main terminal refers to a terminal that directly communicates using the communication network and the streaming media server, and the sub-terminal refers to a terminal that does not directly communicate with the streaming media server, but only communicates with the main terminal. , ie other terminals) initiate a playback control command.
  • the main terminal refers to a terminal that directly communicates using the communication network and the streaming media server
  • the sub-terminal refers to a terminal that does not directly communicate with the streaming media server, but only communicates with the main terminal. , ie other terminals
  • Step 204 Determine whether the playback control command is initiated by the master terminal. When the determination result is yes, the process proceeds to step 214. If the determination result is negative, the process proceeds to step 216.
  • Step 206 The play control command is initiated by the sub-terminal, and the play control command is forwarded to the main terminal.
  • step 208 the master terminal needs to perform arbitration according to information such as the authority of the sub-terminal.
  • Step 210 The main terminal determines whether to execute the play control instruction. When the judgment result is yes (that is, the authority of the sub-terminal is greater than or equal to the preset control authority level), the process proceeds to step 214, and if the judgment result is no (ie, the sub-terminal When the authority is less than the preset control authority level), the process proceeds to step 212.
  • Step 212 Send a notification to the instruction initiator of the play control, that is, the sub-terminal, notifying that the instruction to execute the play control fails (ie, the main terminal refuses to respond to the play control command).
  • Step 214 the main terminal executes an instruction of the play control (ie, the main terminal responds to the play control command).
  • Step 216 Notifying the execution result of the main terminal to each sub-terminal, that is, sharing the target streaming media data received during the playing process to each sub-terminal.
  • FIG. 3 shows a schematic diagram of a streaming media data sharing method in accordance with another embodiment of the present invention.
  • a streaming media data sharing method includes:
  • Step 302 The primary terminal or the sub-terminal initiates a request to play streaming media data (consistent with the target streaming media data in the above).
  • Step 304 the main terminal determines whether streaming media data sharing is currently enabled, when the judgment result is If yes, it means that the master terminal has been bound to multiple sub-terminals (that is, the shared terminal group has been established), then go to step 306. When the judgment result is no, it means that the master terminal has not been bound to multiple sub-terminals ( That is, the shared terminal group has not been established yet, and the process proceeds to step 312.
  • Step 306 Determine whether to update the shared terminal group (a plurality of sub-terminals established by the main terminal and sharing the streaming media data with the main terminal). When the determination result is yes, the process proceeds to step 308, and when the determination result is no, the process proceeds to step 318.
  • Step 308 searching for a sub-terminal.
  • Step 310 Update the shared terminal group.
  • step 312 the sub-terminal is searched.
  • step 314 a shared terminal group is created.
  • step 316 streaming media data sharing is turned on.
  • Step 318 After the streaming media data sharing is started, the primary terminal sends a streaming media data invitation to the shared terminal group. For example, the primary terminal sends a video invitation to the shared terminal group.
  • Step 320 The sharing terminal group completes an initialization process of streaming media data sharing.
  • step 322 the primary terminal requests streaming media data from the streaming media server.
  • Step 324 The primary terminal receives and forwards the streaming media data delivered by the streaming media server.
  • Step 326 After receiving the streaming media data, the primary terminal completes the local playback, and forwards the streaming media data to the shared terminal group. After receiving the streaming media data, each of the sub-terminals in the shared terminal group completes the playback of the local streaming media data. In order to achieve the sharing of streaming media data between the primary terminal and the secondary terminal.
  • FIG. 4 is a block diagram showing the structure of a streaming media data sharing device according to an embodiment of the present invention.
  • the streaming media data sharing apparatus 400 includes: a sharing unit 402, when the target terminal receives the target streaming media data delivered from the streaming media server, the target stream is The media data is synchronously shared to other terminals bound to the target terminal.
  • the target terminal when the target terminal receives the target streaming media data delivered from the streaming media server, the target streaming media data received from the streaming media server is synchronously shared to other terminals bound to the target terminal. Can avoid other terminals by directly communicating with streaming media
  • the server performs real-time communication to obtain the target streaming media data, so that multiple terminals (including the target terminal and other terminals) simultaneously share the target streaming media data with the lowest communication tariff, and also ensure that multiple terminals occupy excessive network bandwidth.
  • the network bandwidth and memory of the target terminal are sufficiently large, the users of each of the plurality of terminals can enjoy a smooth streaming experience in real time.
  • the terminal with the largest network bandwidth and the largest memory should be selected as the target terminal to ensure that multiple terminals (including the target terminal and other terminals) can simultaneously Share target streaming media data.
  • the method further includes: the first determining unit 404, before the target terminal receives the target streaming media data sent by the streaming media server, controlling the target terminal to determine whether the other terminal is The binding unit 406, when the determination result is no, searches the other terminal to be bound to the other terminal; the first determining unit 404 is further configured to: when the determination result is yes, determine whether The first determining unit 404 further includes: an updating unit 4042, if the other terminal needs to be updated, binding with the updated other terminal; the binding unit 4044, if not If the other terminal needs to be updated, it is directly bound to the other terminal.
  • the target terminal before the target terminal receives the target streaming media data delivered by the streaming media server, the other terminal that is finally bound to the target terminal should be determined, so that the target terminal receives the delivery from the streaming media server.
  • the target streaming media data After the target streaming media data, the target streaming media data is forwarded to other terminals, so that multiple terminals simultaneously and smoothly share the target streaming media data.
  • the method further includes: a first receiving unit 408, receiving status information from each of the other terminals; and a second determining unit 410, sharing the target streaming media data to Before any of the other terminals, it is determined whether the target streaming media data is currently shared to the any terminal according to the status information of any one of the terminals.
  • the target terminal before the target terminal shares the target streaming media data to any of the other terminals, the target terminal first determines, according to the status information fed back by any terminal, that the target streaming media data can be simultaneously shared. After the terminal device waits for the status information of the terminal to change to a certain state, the target streaming media data is synchronously shared to the terminal, so that the target stream can be shared by any of the terminals. Data, you can avoid this The current state reflected by the status information of any terminal adversely affects.
  • the target terminal will only share the target streaming media data to the terminal other than any one of the other terminals immediately after receiving the target streaming media data
  • the target streaming media data may be shared to the any terminal, and when the status information of the any terminal changes from the suspended state to the playing state, the terminal is not received during the time period of the suspension.
  • the target streaming media data is re-shared to any of the terminals.
  • the method further includes: a second receiving unit 412, receiving a play control request from any one of the other terminals; and a third determining unit 414, according to a control authority level of the any terminal And/or identification information, determining whether to respond to the playback control request of any one of the terminals; and processing unit 416, the control authority level at the any terminal is higher than a preset control authority level and/or the When the identification information matches the preset identification information, the playback control request is responded; otherwise, the playback control request is rejected.
  • the target terminal when the target terminal receives a play control request of any of the other terminals (such as a request for controlling the terminal to pause), the target terminal may autonomously according to the control authority level and/or the identification information of the any terminal. Determining whether to respond to the play control request, specifically, if the control authority level of the any terminal is too low and/or the identifier information does not match the preset identifier information stored by the target terminal, the target terminal rejects the play control request and continues The current playing state; otherwise, in response to the playback control request, the current playing state is changed to the suspended state.
  • the play control request includes: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and control of the target terminal.
  • the play control request includes, but is not limited to, the foregoing request, for example, and may further include: a request for controlling the target terminal to re-enter the play mode.
  • FIG. 5 is a block diagram showing the structure of a streaming media data sharing device according to another embodiment of the present invention.
  • a streaming media data sharing apparatus 500 includes a streaming media server 506, a main terminal 502, and a plurality of sub-terminals 504.
  • the streaming server 506 only performs network communication with the main terminal 502, and the streaming server 506 receives the main After the streaming media data of the terminal 502 is requested, the streaming media data is sent to the main terminal 502, and then the main terminal 502 sends the received streaming media data to the plurality of sub-terminals 504.
  • the selection of the main terminal 502 is performed.
  • the sub-terminal 504 with the best data performance can be selected from the plurality of sub-terminals 504 to ensure that the shared terminal group has an optimal streaming media data playing experience.
  • FIG. 6 is a schematic structural diagram of a main terminal of the streaming media data sharing device of FIG. 5.
  • the main terminal 502 of the streaming media data sharing device in FIG. 5 includes: a shared terminal group information module 602, a playback control instruction processing module 604, an instruction and data forwarding module 606, and a main terminal streaming media playing module. 608, a sub-terminal interface module 610, a network communication module 612, and the like.
  • the shared terminal group information module 602 mainly maintains information such as ID, address, status, and control authority of each sub-terminal;
  • the playback control instruction processing module 604 processes the playback control command initiated by the main terminal 502 on one hand, and the instructions include Play, pause, fast forward, rewind, exit, etc., on the other hand, is responsible for arbitrating the playback control command initiated by the sub-terminal, and simultaneously completing the response and execution of the sub-terminal playback control command;
  • the instruction and data forwarding module 606 is responsible for The streaming media data is forwarded to each shared sub-terminal, and the other is responsible for completing the forwarding of the playback control command request and the response message.
  • the main terminal streaming media playing module 608 mainly completes the local streaming and playing of the streaming media data to the data of the main terminal 502.
  • the forwarding module; the sub-terminal interface module 610 is mainly responsible for completing data and command communication between the main terminal 502 and the sub-terminal; the network communication module 612 is responsible for completing communication between the streaming server and the main terminal 502.
  • FIG. 7 is a schematic structural diagram of a sub-terminal of the streaming media data sharing device of FIG. 5.
  • the sub-terminal 504 of the streaming media data sharing device in FIG. 5 includes: a main terminal information module 702, a play control module 704, an instruction and data forwarding module 706, a main terminal interface module 708, and a sub-terminal stream.
  • the main terminal information module 702 is configured to maintain the information of the main terminal by the sub-terminal 504; the play control module 704 completes the request to initiate the play control command to the main terminal and parses and executes the control command response returned by the main terminal; the instruction and data forwarding module 706 is responsible for The playback control command and the forwarding of the streaming media data; the main terminal interface module 708 completes the control command and the streaming media data communication between the sub-terminal 504 and the main terminal; the sub-terminal streaming media playing module 710 is responsible for receiving and parsing the streaming media returned from the main terminal. Data and call the local player for streaming playback;
  • FIG. 8 shows a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • a terminal 700 includes: the streaming media data sharing device 400 according to any one of the above aspects.
  • FIG. 9 shows a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the terminal may include at least one transceiver 903, at least one processor 901, such as a CPU, a memory 904, and at least one communication bus 902.
  • the communication bus 902 is configured to connect the transceiver 903, the processor 901, and the memory 904.
  • the above memory 904 may be a high speed RAM memory or a non-volatile memory such as a disk memory.
  • the memory 904 is further configured to store a set of program codes, and the transceiver 903 and the processor 901 are configured to call the program code stored in the memory 904, and perform the following operations:
  • the processor 901 is configured to synchronously share the target streaming media data to other terminals bound to the target terminal when the transceiver device receives the target streaming media data delivered by the streaming media server.
  • the processor 901 is further configured to:
  • the transceiver device 903 is configured to receive status information from each of the other terminals;
  • the processor 901 is further configured to determine, according to status information of any one of the terminals, whether the current streaming media data is shared to any one of the other terminals
  • the target streaming media data is synchronously shared to any of the terminals.
  • the transceiver 903 is configured to receive a play control request from any one of the other terminals;
  • the processor 901 is further configured to determine, according to the control authority level and/or the identifier information of any one of the terminals, whether to respond to the play control request of any one of the terminals;
  • the play control request includes: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and control of the target terminal.

Landscapes

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

Abstract

The present invention provides a streaming media data sharing method, a streaming media data sharing device, and a terminal. The streaming media data sharing method comprises: when a target terminal receives target streaming media data delivered from a streaming media server, synchronously sharing the target streaming media data with other terminals bound to the target terminal. By means of the technical solution of the present invention, when multiple terminals carry out a streaming media service at the same time, direct communication of the multiple terminals with a streaming media server can be avoided, so as to reduce communication expenses, reduce occupation of network bandwidth and provide the user of each terminal with smooth streaming media experience.

Description

流媒体数据共享方法、流媒体数据共享装置和终端Stream media data sharing method, streaming media data sharing device and terminal
本申请要求于2015年1月30日提交中国专利局、申请号为201510051164.1,发明名称为“流媒体数据共享方法、流媒体数据共享装置和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201510051164.1, entitled "Streaming Media Data Sharing Method, Streaming Media Data Sharing Device and Terminal", which was submitted to the Chinese Patent Office on January 30, 2015. The citations are incorporated herein by reference.
技术领域Technical field
本发明涉及终端技术领域,具体而言,涉及一种流媒体数据共享方法、一种流媒体数据共享装置和一种终端。The present invention relates to the field of terminal technologies, and in particular, to a streaming media data sharing method, a streaming media data sharing device, and a terminal.
背景技术Background technique
在相关技术方案中,如果多个终端进行流媒体业务,则每个终端都需要和流媒体服务器直接进行通信,每个终端可以从流媒体服务器中获取流媒体数据,然后每个终端播放该流媒体数据。其中,多个终端和流媒体服务器直接通信时,首先需要每个终端都具有网络通信功能,对于不支持网络通信功能的终端无法进行流媒体播放;另外,多个终端的多次通信,需要进行多次计费,则对于数据流量占用很高的流媒体业务而言,成本较高;而且如果需要对流媒体业务进行流畅地播放,需要较高的带宽,虽然可能多个终端中数据性能最优的终端能够享受流畅的流媒体体验,但对于数据性能较差的终端(例如终端的网络为2G/3G)的用户来说,无法享受到流畅的流媒体业务体验。In the related technical solution, if multiple terminals perform streaming media services, each terminal needs to directly communicate with the streaming media server, and each terminal can obtain streaming media data from the streaming media server, and then each terminal plays the streaming media. Media data. When multiple terminals and the streaming media server communicate directly, firstly, each terminal needs to have a network communication function, and the terminal that does not support the network communication function cannot perform streaming media playback; in addition, multiple communication of multiple terminals needs to be performed. For multiple times of billing, the cost is high for streaming media services with high data traffic; and if streaming media services need to be played smoothly, higher bandwidth is required, although data performance may be optimal in multiple terminals. The terminal can enjoy a smooth streaming experience, but users with poor data performance (for example, the terminal's network is 2G/3G) cannot enjoy a smooth streaming service experience.
因此,在多个终端同时进行流媒体业务时,如何避免多个终端均与流媒体服务器直接通信,并减少通信资费,使每个终端的用户都可以具有流畅的流媒体体验,成为亟待解决的问题。Therefore, when multiple terminals simultaneously perform streaming media services, how to avoid direct communication between multiple terminals and the streaming media server, and reduce communication charges, so that users of each terminal can have a smooth streaming experience, which has become an urgent solution. problem.
发明内容Summary of the invention
本发明正是基于上述问题,提出了一种新的技术方案,在多个终端同时进行流媒体业务时,可以避免多个终端均与流媒体服务器直接通信,以减少通信资费,减少对网络带宽的占用,并使每个终端的用户都可以具有流畅的流媒体体验。 The present invention is based on the above problems, and proposes a new technical solution. When multiple terminals simultaneously perform streaming media services, multiple terminals can be prevented from directly communicating with the streaming media server, thereby reducing communication charges and reducing network bandwidth. Occupy, and enable users of each terminal to have a smooth streaming experience.
有鉴于此,本发明的一方面提出了一种流媒体数据共享方法,包括:在目标终端接收到来自流媒体服务器下发的目标流媒体数据时,将所述目标流媒体数据同步共享至与所述目标终端相绑定的其他终端。In view of this, an aspect of the present invention provides a streaming media data sharing method, including: when the target terminal receives the target streaming media data delivered by the streaming media server, the target streaming media data is synchronously shared to The other terminal to which the target terminal is bound.
在该技术方案中,在目标终端接收到来自流媒体服务器下发的目标流媒体数据时,通过将接收到的来自流媒体服务器的目标流媒体数据同步共享至与目标终端相绑定的其他终端,可以避免其他终端通过直接与流媒体服务器进行实时通信来获取目标流媒体数据,从而实现以最低的通信资费使多个终端(包括目标终端和其他终端)同时共享目标流媒体数据,同时也可以确保多个终端占用过多的网络带宽,另外,只要目标终端的网络带宽和内存足够大,则多个终端中的每个终端的用户均可以实时地享有流畅的流媒体体验。当然,在从多个终端中选择与流媒体服务器直接通信的目标终端时,应该选择网络带宽最大和内存最大的终端作为该目标终端,以确保多个终端(包括目标终端和其他终端)可以同时共享目标流媒体数据。In the technical solution, when the target terminal receives the target streaming media data delivered from the streaming media server, the target streaming media data received from the streaming media server is synchronously shared to other terminals bound to the target terminal. It can prevent other terminals from acquiring the target streaming media data by directly communicating with the streaming media server in real time, so that multiple terminals (including the target terminal and other terminals) can simultaneously share the target streaming media data with the lowest communication tariff, and can also simultaneously Ensure that multiple terminals occupy too much network bandwidth. In addition, as long as the network bandwidth and memory of the target terminal are large enough, users of each of the multiple terminals can enjoy a smooth streaming experience in real time. Certainly, when selecting a target terminal that directly communicates with the streaming server from among a plurality of terminals, the terminal with the largest network bandwidth and the largest memory should be selected as the target terminal to ensure that multiple terminals (including the target terminal and other terminals) can simultaneously Share target streaming media data.
在上述技术方案中,优选地,在目标终端接收到来自流媒体服务器下发的目标流媒体数据之前,还包括:所述目标终端判断是否已与所述其他终端相绑定;在判断结果为否时,搜索所述其他终端,以与所述其他终端相绑定,以及在判断结果为是时,判断是否需要更新所述其他终端,若需要更新所述其他终端,则与更新后的所述其他终端相绑定,若不需要更新所述其他终端,则直接与所述其他终端相绑定。In the above technical solution, before the target terminal receives the target streaming media data delivered by the streaming media server, the method further includes: determining, by the target terminal, whether the terminal is bound to the other terminal; If no, the other terminal is searched for binding with the other terminal, and when the determination result is yes, it is determined whether the other terminal needs to be updated, and if the other terminal needs to be updated, the updated terminal is updated. The other terminals are bound, and if the other terminals are not required to be updated, they are directly bound to the other terminals.
在该技术方案中,在目标终端接收到来自流媒体服务器下发的目标流媒体数据之前,应该先确定最终与目标终端相绑定的其他终端,以便目标终端在接收到来自流媒体服务器下发的目标流媒体数据后,将目标流媒体数据转发至其他终端,以实现多个终端同时流畅地共享目标流媒体数据。In the technical solution, before the target terminal receives the target streaming media data delivered by the streaming media server, the other terminal that is finally bound to the target terminal should be determined, so that the target terminal receives the delivery from the streaming media server. After the target streaming media data, the target streaming media data is forwarded to other terminals, so that multiple terminals simultaneously and smoothly share the target streaming media data.
在上述技术方案中,优选地,还包括:接收来自所述其他终端中的每个终端的状态信息;以及在将所述目标流媒体数据共享至所述其他终端中的任一终端之前,根据所述任一终端的状态信息,判断当前是否将所述目标流媒体数据同步共享至所述任一终端。In the above technical solution, preferably, the method further includes: receiving status information from each of the other terminals; and before sharing the target streaming media data to any one of the other terminals, according to The status information of any of the terminals determines whether the target streaming media data is currently shared to any of the terminals.
在该技术方案中,在目标终端将目标流媒体数据共享至其他终端中的任一终端之前,目标终端会先依据任一终端反馈的状态信息,判断是当前即可把目标流媒体数据同步共享至该任一终端还是等待该任一终端的状态 信息改变为某一状态之后,再将该目标流媒体数据同步共享至该任一终端,这样,既可以确保该任一终端可以共享目标流媒体数据,又可以避免对该任一终端的状态信息所反应的当前状态造成不良影响。例如:如果任一终端的状态信息为暂停,则目标终端在接收到目标流媒体数据就只会立即将该目标流媒体数据共享至其他终端中除该任一终端之外的终端,不会即可将该目标流媒体数据共享至该任一终端,而是在该任一终端的状态信息由暂停状态变为播放状态时,再将该任一终端在暂停的这段时间内未接收到的该目标流媒体数据重新共享至该任一终端。In the technical solution, before the target terminal shares the target streaming media data to any of the other terminals, the target terminal first determines, according to the status information fed back by any terminal, that the target streaming media data can be simultaneously shared. To any of the terminals or wait for the status of any of the terminals After the information is changed to a certain state, the target streaming media data is synchronously shared to the any terminal, so that it can ensure that the target streaming media data can be shared by any of the terminals, and the state information of the terminal can be avoided. The current state of the reaction causes adverse effects. For example, if the status information of any terminal is paused, the target terminal will only share the target streaming media data to the terminal other than any one of the other terminals immediately after receiving the target streaming media data, The target streaming media data may be shared to the any terminal, and when the status information of the any terminal changes from the suspended state to the playing state, the terminal is not received during the time period of the suspension. The target streaming media data is re-shared to any of the terminals.
在上述技术方案中,优选地,接收来自所述其他终端中的任一终端的播放控制请求,根据所述任一终端的控制权限等级和/或标识信息,判断是否响应所述任一终端的所述播放控制请求;以及在所述任一终端的所述控制权限等级高于预设控制权限等级和/或所述标识信息与预设标识信息相匹配时,响应所述播放控制请求;否则,拒绝所述播放控制请求。In the above technical solution, preferably, receiving a playback control request from any one of the other terminals, determining, according to the control authority level and/or the identification information of the any terminal, whether to respond to any of the terminals The playback control request; and responding to the playback control request when the control authority level of the any terminal is higher than a preset control authority level and/or the identification information matches the preset identification information; otherwise , rejecting the playback control request.
在该技术方案中,在目标终端接收其他终端中的任一终端的播放控制请求(如控制终端暂停的请求)时,目标终端会根据该任一终端的控制权限等级和/或标识信息,自主判断是否响应该播放控制请求,具体地,如果该任一终端的控制权限等级过低和/或标识信息与目标终端存储的预设标识信息不匹配,则目标终端会拒绝该播放控制请求,继续当前播放状态;反之,则响应该播放控制请求,由当前播放状态更改为暂停状态。In the technical solution, when the target terminal receives a play control request of any of the other terminals (such as a request for controlling the terminal to pause), the target terminal may autonomously according to the control authority level and/or the identification information of the any terminal. Determining whether to respond to the play control request, specifically, if the control authority level of the any terminal is too low and/or the identifier information does not match the preset identifier information stored by the target terminal, the target terminal rejects the play control request and continues The current playing state; otherwise, in response to the playback control request, the current playing state is changed to the suspended state.
在上述技术方案中,优选地,所述播放控制请求包括:控制所述目标终端重新播放的请求、控制所述目标终端暂停的请求、控制所述目标终端快进的请求、控制所述目标终端快退的请求或控制所述目标终端退出播放模式的请求。In the above technical solution, preferably, the play control request includes: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and control of the target terminal. A request to rewind or control the request of the target terminal to exit the play mode.
在该技术方案中,该播放控制请求包括但不限于上述请求,例如:还可以包括:控制该目标终端重新进入播放模式的请求。In the technical solution, the play control request includes, but is not limited to, the foregoing request, for example, and may further include: a request for controlling the target terminal to re-enter the play mode.
本发明的另一方面提出了一种流媒体数据共享装置,包括:共享单元,在目标终端接收到来自流媒体服务器下发的目标流媒体数据时,将所述目标流媒体数据同步共享至与所述目标终端相绑定的其他终端。Another aspect of the present invention provides a streaming media data sharing apparatus, including: a sharing unit, when the target terminal receives the target streaming media data delivered by the streaming media server, the target streaming media data is synchronously shared to The other terminal to which the target terminal is bound.
在该技术方案中,在目标终端接收到来自流媒体服务器下发的目标流 媒体数据时,通过将接收到的来自流媒体服务器的目标流媒体数据同步共享至与目标终端相绑定的其他终端,可以避免其他终端通过直接与流媒体服务器进行实时通信来获取目标流媒体数据,从而实现以最低的通信资费使多个终端(包括目标终端和其他终端)同时共享目标流媒体数据,同时也可以确保多个终端占用过多的网络带宽,另外,只要目标终端的网络带宽和内存足够大,则多个终端中的每个终端的用户均可以实时地享有流畅的流媒体体验。当然,在从多个终端中选择与流媒体服务器直接通信的目标终端时,应该选择网络带宽最大和内存最大的终端作为该目标终端,以确保多个终端(包括目标终端和其他终端)可以同时共享目标流媒体数据。In this technical solution, the target stream sent from the streaming media server is received at the target terminal. In the media data, by synchronously sharing the received target streaming media data from the streaming media server to other terminals bound to the target terminal, other terminals can be prevented from acquiring the target streaming media data by directly communicating with the streaming media server in real time. Therefore, multiple terminals (including the target terminal and other terminals) can simultaneously share the target streaming media data with the lowest communication tariff, and at the same time, it can ensure that multiple terminals occupy excessive network bandwidth, and as long as the target terminal has network bandwidth and The memory is large enough that users of each of the multiple terminals can enjoy a smooth streaming experience in real time. Certainly, when selecting a target terminal that directly communicates with the streaming server from among a plurality of terminals, the terminal with the largest network bandwidth and the largest memory should be selected as the target terminal to ensure that multiple terminals (including the target terminal and other terminals) can simultaneously Share target streaming media data.
在上述技术方案中,优选地,还包括:第一判断单元,在目标终端接收到来自流媒体服务器下发的目标流媒体数据之前,控制所述目标终端判断是否已与所述其他终端相绑定;搜索单元,在判断结果为否时,搜索所述其他终端,以与所述其他终端相绑定;所述第一判断单元还用于:在判断结果为是时,判断是否需要更新所述其他终端;以及所述第一判断单元还包括:更新单元,若需要更新所述其他终端,则与更新后的所述其他终端相绑定;绑定单元,若不需要更新所述其他终端,则直接与所述其他终端相绑定。In the above technical solution, the method further includes: a first determining unit, before the target terminal receives the target streaming media data delivered by the streaming media server, controlling the target terminal to determine whether the other terminal is bound The search unit, when the determination result is no, searches the other terminal to be bound to the other terminal; the first determining unit is further configured to: when the determination result is yes, determine whether the update is needed And the first determining unit further includes: an updating unit, if the other terminal needs to be updated, binding to the updated other terminal; and the binding unit, if the other terminal is not required to be updated , it is directly bound to the other terminals.
在该技术方案中,在目标终端接收到来自流媒体服务器下发的目标流媒体数据之前,应该先确定最终与目标终端相绑定的其他终端,以便目标终端在接收到来自流媒体服务器下发的目标流媒体数据后,将目标流媒体数据转发至其他终端,以实现多个终端同时流畅地共享目标流媒体数据。In the technical solution, before the target terminal receives the target streaming media data delivered by the streaming media server, the other terminal that is finally bound to the target terminal should be determined, so that the target terminal receives the delivery from the streaming media server. After the target streaming media data, the target streaming media data is forwarded to other terminals, so that multiple terminals simultaneously and smoothly share the target streaming media data.
在上述技术方案中,优选地,还包括:第一接收单元,接收来自所述其他终端中的每个终端的状态信息;以及第二判断单元,在将所述目标流媒体数据共享至所述其他终端中的任一终端之前,根据所述任一终端的状态信息,判断当前是否将所述目标流媒体数据同步共享至所述任一终端。In the above technical solution, preferably, the method further includes: a first receiving unit that receives status information from each of the other terminals; and a second determining unit that shares the target streaming media data to the Before any of the other terminals, it is determined whether the target streaming media data is currently shared to the any terminal according to the status information of any of the terminals.
在该技术方案中,在目标终端将目标流媒体数据共享至其他终端中的任一终端之前,目标终端会先依据任一终端反馈的状态信息,判断是当前即可把目标流媒体数据同步共享至该任一终端还是等待该任一终端的状态信息改变为某一状态之后,再将该目标流媒体数据同步共享至该任一终端, 这样,既可以确保该任一终端可以共享目标流媒体数据,又可以避免对该任一终端的状态信息所反应的当前状态造成不良影响。例如:如果任一终端的状态信息为暂停,则目标终端在接收到目标流媒体数据就只会立即将该目标流媒体数据共享至其他终端中除该任一终端之外的终端,不会即可将该目标流媒体数据共享至该任一终端,而是在该任一终端的状态信息由暂停状态变为播放状态时,再将该任一终端在暂停的这段时间内未接收到的该目标流媒体数据重新共享至该任一终端。In the technical solution, before the target terminal shares the target streaming media data to any of the other terminals, the target terminal first determines, according to the status information fed back by any terminal, that the target streaming media data can be simultaneously shared. After the terminal device waits for the state information of the terminal to change to a certain state, the target streaming media data is synchronously shared to the terminal. In this way, it is ensured that the target streaming media data can be shared by any of the terminals, and the current state reflected by the state information of any of the terminals can be prevented from being adversely affected. For example, if the status information of any terminal is paused, the target terminal will only share the target streaming media data to the terminal other than any one of the other terminals immediately after receiving the target streaming media data, The target streaming media data may be shared to the any terminal, and when the status information of the any terminal changes from the suspended state to the playing state, the terminal is not received during the time period of the suspension. The target streaming media data is re-shared to any of the terminals.
在上述技术方案中,优选地,还包括:第二接收单元,接收来自所述其他终端中的任一终端的播放控制请求;第三判断单元,根据所述任一终端的控制权限等级和/或标识信息,判断是否响应所述任一终端的所述播放控制请求;以及处理单元,在所述任一终端的所述控制权限等级高于预设控制权限等级和/或所述标识信息与预设标识信息相匹配时,响应所述播放控制请求;否则,拒绝所述播放控制请求。In the above technical solution, preferably, the method further includes: a second receiving unit that receives a playback control request from any one of the other terminals; and a third determining unit, according to a control authority level of the any terminal and/or Or identifying information, determining whether to respond to the playback control request of any one of the terminals; and processing unit, the control authority level of the any terminal is higher than a preset control authority level and/or the identifier information and When the preset identification information matches, the playback control request is responded; otherwise, the playback control request is rejected.
在该技术方案中,在目标终端接收其他终端中的任一终端的播放控制请求(如控制终端暂停的请求)时,目标终端会根据该任一终端的控制权限等级和/或标识信息,自主判断是否响应该播放控制请求,具体地,如果该任一终端的控制权限等级过低和/或标识信息与目标终端存储的预设标识信息不匹配,则目标终端会拒绝该播放控制请求,继续当前播放状态;反之,则响应该播放控制请求,由当前播放状态更改为暂停状态。In the technical solution, when the target terminal receives a play control request of any of the other terminals (such as a request for controlling the terminal to pause), the target terminal may autonomously according to the control authority level and/or the identification information of the any terminal. Determining whether to respond to the play control request, specifically, if the control authority level of the any terminal is too low and/or the identifier information does not match the preset identifier information stored by the target terminal, the target terminal rejects the play control request and continues The current playing state; otherwise, in response to the playback control request, the current playing state is changed to the suspended state.
在上述技术方案中,优选地,所述播放控制请求包括:控制所述目标终端重新播放的请求、控制所述目标终端暂停的请求、控制所述目标终端快进的请求、控制所述目标终端快退的请求或控制所述目标终端退出播放模式的请求。In the above technical solution, preferably, the play control request includes: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and control of the target terminal. A request to rewind or control the request of the target terminal to exit the play mode.
在该技术方案中,该播放控制请求包括但不限于上述请求,例如:还可以包括:控制该目标终端重新进入播放模式的请求。In the technical solution, the play control request includes, but is not limited to, the foregoing request, for example, and may further include: a request for controlling the target terminal to re-enter the play mode.
本发明的又一方面提出了一种终端,所述终端包括通信总线、收发装置、存储器以及处理器,其中:Yet another aspect of the present invention provides a terminal, the terminal comprising a communication bus, a transceiver, a memory, and a processor, wherein:
所述通信总线,用于实现所述收发装置、所述存储器以及所述处理器之间的连接通信; The communication bus is configured to implement connection communication between the transceiver device, the memory, and the processor;
所述存储器中存储一组程序代码,且所述处理器调用存储器中存储的程序代码,用于执行以下操作:The program stores a set of program codes, and the processor calls program code stored in the memory to perform the following operations:
所述处理器,用于在所述收发装置接收到来自流媒体服务器下发的目标流媒体数据时,将所述目标流媒体数据同步共享至与目标终端相绑定的其他终端。The processor is configured to synchronously share the target streaming media data to other terminals bound to the target terminal when the transceiver device receives the target streaming media data delivered by the streaming media server.
在上述技术方案中,优选地,所述终端包括通信总线、收发装置、存储器以及处理器,其中:In the above technical solution, preferably, the terminal comprises a communication bus, a transceiver, a memory, and a processor, wherein:
所述通信总线,用于实现所述收发装置、所述存储器以及所述处理器之间的连接通信;The communication bus is configured to implement connection communication between the transceiver device, the memory, and the processor;
所述存储器中存储一组程序代码,且所述处理器调用存储器中存储的程序代码,用于执行以下操作:The program stores a set of program codes, and the processor calls program code stored in the memory to perform the following operations:
所述处理器,用于在所述收发装置接收到来自流媒体服务器下发的目标流媒体数据时,将所述目标流媒体数据同步共享至与目标终端相绑定的其他终端。The processor is configured to synchronously share the target streaming media data to other terminals bound to the target terminal when the transceiver device receives the target streaming media data delivered by the streaming media server.
在上述技术方案中,优选地,所述收发装置,用于接收来自所述其他终端中的每个终端的状态信息;In the above technical solution, preferably, the transceiver is configured to receive status information from each of the other terminals;
所述处理器,还用于在将所述目标流媒体数据共享至所述其他终端中的任一终端之前,根据所述任一终端的状态信息,判断当前是否将所述目标流媒体数据同步共享至所述任一终端。The processor is further configured to: before the destination media data is shared to any one of the other terminals, determine whether the target streaming media data is currently synchronized according to status information of any one of the terminals Share to any of the terminals.
在上述技术方案中,优选地,所述收发装置,用于接收来自所述其他终端中的任一终端的播放控制请求;In the above technical solution, preferably, the transceiver is configured to receive a play control request from any one of the other terminals;
所述处理器,还用于根据所述任一终端的控制权限等级和/或标识信息,判断是否响应所述任一终端的所述播放控制请求;以及The processor is further configured to determine, according to the control authority level and/or the identifier information of any of the terminals, whether to respond to the play control request of any one of the terminals;
在所述任一终端的所述控制权限等级高于预设控制权限等级和/或所述标识信息与预设标识信息相匹配时,响应所述播放控制请求;否则,拒绝所述播放控制请求。Responding to the play control request when the control authority level of the any terminal is higher than a preset control authority level and/or the identifier information matches the preset identifier information; otherwise, rejecting the play control request .
在上述技术方案中,优选地,所述播放控制请求包括:控制所述目标终端重新播放的请求、控制所述目标终端暂停的请求、控制所述目标终端快进的请求、控制所述目标终端快退的请求或控制所述目标终端退出播放 模式的请求。In the above technical solution, preferably, the play control request includes: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and control of the target terminal. Rewinding the request or controlling the target terminal to exit the play Mode request.
在该技术方案中,通过在终端上设置流媒体数据共享装置,在多个终端同时进行流媒体业务时,可以避免多个终端均与流媒体服务器直接通信,以减少通信资费,减少对网络带宽的占用,并使每个终端的用户都可以具有流畅的流媒体体验。In the technical solution, when the streaming media data sharing device is set on the terminal, when the streaming media service is simultaneously performed on multiple terminals, multiple terminals can be prevented from directly communicating with the streaming media server, thereby reducing communication charges and reducing network bandwidth. Occupy, and enable users of each terminal to have a smooth streaming experience.
通过本发明的技术方案,在多个终端同时进行流媒体业务时,可以避免多个终端均与流媒体服务器直接通信,以减少通信资费,减少对网络带宽的占用,并使每个终端的用户都可以具有流畅的流媒体体验。Through the technical solution of the present invention, when a plurality of terminals simultaneously perform streaming media services, multiple terminals can be prevented from directly communicating with the streaming media server, thereby reducing communication charges, reducing occupation of network bandwidth, and enabling users of each terminal. Both can have a smooth streaming experience.
附图说明DRAWINGS
图1示出了根据本发明的一个实施例的流媒体数据共享方法的流程示意图;1 is a flow chart showing a streaming media data sharing method according to an embodiment of the present invention;
图2示出了根据本发明的一个实施例的流媒体播放控制方法的流程示意图;2 is a flow chart showing a streaming media playback control method according to an embodiment of the present invention;
图3示出了根据本发明的另一个实施例的流媒体数据共享方法的示意图;FIG. 3 is a schematic diagram showing a streaming media data sharing method according to another embodiment of the present invention; FIG.
图4示出了根据本发明的一个实施例的流媒体数据共享装置的结构示意图;FIG. 4 is a schematic structural diagram of a streaming media data sharing apparatus according to an embodiment of the present invention; FIG.
图5示出了根据本发明的另一个实施例的流媒体数据共享装置的结构示意图;FIG. 5 is a schematic structural diagram of a streaming media data sharing apparatus according to another embodiment of the present invention; FIG.
图6示出了图5中的流媒体数据共享装置中主终端的结构示意图;6 is a schematic structural diagram of a main terminal in the streaming media data sharing device in FIG. 5;
图7示出了图5中的流媒体数据共享装置中分终端的结构示意图;FIG. 7 is a schematic structural diagram of a sub-terminal in the streaming media data sharing apparatus in FIG. 5;
图8示出了根据本发明的一个实施例的终端的结构示意图;FIG. 8 is a block diagram showing the structure of a terminal according to an embodiment of the present invention; FIG.
图9示出了根据本发明的另一个实施例的终端的结构示意图。FIG. 9 is a block diagram showing the structure of a terminal according to another embodiment of the present invention.
具体实施方式detailed description
为了可以更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。 The above described objects, features and advantages of the present invention will become more apparent from the detailed description of the appended claims. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。In the following description, numerous specific details are set forth in order to provide a full understanding of the invention, but the invention may be practiced otherwise than as described herein. Limitations of the embodiments.
图1示出了根据本发明的一个实施例的流媒体数据共享方法的流程示意图。FIG. 1 is a flow chart showing a streaming media data sharing method according to an embodiment of the present invention.
如图1所示,根据本发明的一个实施例的流媒体数据共享方法,包括:步骤102,在目标终端接收到来自流媒体服务器下发的目标流媒体数据时,将所述目标流媒体数据同步共享至与所述目标终端相绑定的其他终端。As shown in FIG. 1 , a streaming media data sharing method according to an embodiment of the present invention includes: Step 102: When the target terminal receives the target streaming media data delivered by the streaming media server, the target streaming media data is obtained. Synchronous sharing to other terminals bound to the target terminal.
在该技术方案中,在目标终端接收到来自流媒体服务器下发的目标流媒体数据时,通过将接收到的来自流媒体服务器的目标流媒体数据同步共享至与目标终端相绑定的其他终端,可以避免其他终端通过直接与流媒体服务器进行实时通信来获取目标流媒体数据,从而实现以最低的通信资费使多个终端(包括目标终端和其他终端)同时共享目标流媒体数据,同时也可以确保多个终端占用过多的网络带宽,另外,只要目标终端的网络带宽和内存足够大,则多个终端中的每个终端的用户均可以实时地享有流畅的流媒体体验。当然,在从多个终端中选择与流媒体服务器直接通信的目标终端时,应该选择网络带宽最大和内存最大的终端作为该目标终端,以确保多个终端(包括目标终端和其他终端)可以同时共享目标流媒体数据。In the technical solution, when the target terminal receives the target streaming media data delivered from the streaming media server, the target streaming media data received from the streaming media server is synchronously shared to other terminals bound to the target terminal. It can prevent other terminals from acquiring the target streaming media data by directly communicating with the streaming media server in real time, so that multiple terminals (including the target terminal and other terminals) can simultaneously share the target streaming media data with the lowest communication tariff, and can also simultaneously Ensure that multiple terminals occupy too much network bandwidth. In addition, as long as the network bandwidth and memory of the target terminal are large enough, users of each of the multiple terminals can enjoy a smooth streaming experience in real time. Certainly, when selecting a target terminal that directly communicates with the streaming server from among a plurality of terminals, the terminal with the largest network bandwidth and the largest memory should be selected as the target terminal to ensure that multiple terminals (including the target terminal and other terminals) can simultaneously Share target streaming media data.
在上述技术方案中,优选地,在目标终端接收到来自流媒体服务器下发的目标流媒体数据之前,还包括:所述目标终端判断是否已与所述其他终端相绑定;在判断结果为否时,搜索所述其他终端,以与所述其他终端相绑定,以及在判断结果为是时,判断是否需要更新所述其他终端,若需要更新所述其他终端,则与更新后的所述其他终端相绑定,若不需要更新所述其他终端,则直接与所述其他终端相绑定。In the above technical solution, before the target terminal receives the target streaming media data delivered by the streaming media server, the method further includes: determining, by the target terminal, whether the terminal is bound to the other terminal; If no, the other terminal is searched for binding with the other terminal, and when the determination result is yes, it is determined whether the other terminal needs to be updated, and if the other terminal needs to be updated, the updated terminal is updated. The other terminals are bound, and if the other terminals are not required to be updated, they are directly bound to the other terminals.
在该技术方案中,在目标终端接收到来自流媒体服务器下发的目标流媒体数据之前,应该先确定最终与目标终端相绑定的其他终端,以便目标终端在接收到来自流媒体服务器下发的目标流媒体数据后,将目标流媒体数据转发至其他终端,以实现多个终端同时流畅地共享目标流媒体数据。In the technical solution, before the target terminal receives the target streaming media data delivered by the streaming media server, the other terminal that is finally bound to the target terminal should be determined, so that the target terminal receives the delivery from the streaming media server. After the target streaming media data, the target streaming media data is forwarded to other terminals, so that multiple terminals simultaneously and smoothly share the target streaming media data.
在上述技术方案中,优选地,还包括:接收来自所述其他终端中的每 个终端的状态信息;以及在将所述目标流媒体数据共享至所述其他终端中的任一终端之前,根据所述任一终端的状态信息,判断当前是否将所述目标流媒体数据同步共享至所述任一终端。In the above technical solution, preferably, further comprising: receiving each of the other terminals State information of the terminal; and before sharing the target streaming media data to any of the other terminals, determining whether the target streaming media data is currently shared according to the status information of any of the terminals To any of the terminals.
在该技术方案中,在目标终端将目标流媒体数据共享至其他终端中的任一终端之前,目标终端会先依据任一终端反馈的状态信息,判断是当前即可把目标流媒体数据同步共享至该任一终端还是等待该任一终端的状态信息改变为某一状态之后,再将该目标流媒体数据同步共享至该任一终端,这样,既可以确保该任一终端可以共享目标流媒体数据,又可以避免对该任一终端的状态信息所反应的当前状态造成不良影响。例如:如果任一终端的状态信息为暂停,则目标终端在接收到目标流媒体数据就只会立即将该目标流媒体数据共享至其他终端中除该任一终端之外的终端,不会即可将该目标流媒体数据共享至该任一终端,而是在该任一终端的状态信息由暂停状态变为播放状态时,再将该任一终端在暂停的这段时间内未接收到的该目标流媒体数据重新共享至该任一终端。In the technical solution, before the target terminal shares the target streaming media data to any of the other terminals, the target terminal first determines, according to the status information fed back by any terminal, that the target streaming media data can be simultaneously shared. After the terminal device waits for the status information of the terminal to change to a certain state, the target streaming media data is synchronously shared to the terminal, so that the target stream can be shared by any of the terminals. The data can also avoid adversely affecting the current state reflected by the status information of any of the terminals. For example, if the status information of any terminal is paused, the target terminal will only share the target streaming media data to the terminal other than any one of the other terminals immediately after receiving the target streaming media data, The target streaming media data may be shared to the any terminal, and when the status information of the any terminal changes from the suspended state to the playing state, the terminal is not received during the time period of the suspension. The target streaming media data is re-shared to any of the terminals.
在上述技术方案中,优选地,接收来自所述其他终端中的任一终端的播放控制请求,根据所述任一终端的控制权限等级和/或标识信息,判断是否响应所述任一终端的所述播放控制请求;以及在所述任一终端的所述控制权限等级高于预设控制权限等级和/或所述标识信息与预设标识信息相匹配时,响应所述播放控制请求;否则,拒绝所述播放控制请求。In the above technical solution, preferably, receiving a playback control request from any one of the other terminals, determining, according to the control authority level and/or the identification information of the any terminal, whether to respond to any of the terminals The playback control request; and responding to the playback control request when the control authority level of the any terminal is higher than a preset control authority level and/or the identification information matches the preset identification information; otherwise , rejecting the playback control request.
在该技术方案中,在目标终端接收其他终端中的任一终端的播放控制请求(如控制终端暂停的请求)时,目标终端会根据该任一终端的控制权限等级和/或标识信息,自主判断是否响应该播放控制请求,具体地,如果该任一终端的控制权限等级过低和/或标识信息与目标终端存储的预设标识信息不匹配,则目标终端会拒绝该播放控制请求,继续当前播放状态;反之,则响应该播放控制请求,由当前播放状态更改为暂停状态。In the technical solution, when the target terminal receives a play control request of any of the other terminals (such as a request for controlling the terminal to pause), the target terminal may autonomously according to the control authority level and/or the identification information of the any terminal. Determining whether to respond to the play control request, specifically, if the control authority level of the any terminal is too low and/or the identifier information does not match the preset identifier information stored by the target terminal, the target terminal rejects the play control request and continues The current playing state; otherwise, in response to the playback control request, the current playing state is changed to the suspended state.
在上述技术方案中,优选地,所述播放控制请求包括:控制所述目标终端重新播放的请求、控制所述目标终端暂停的请求、控制所述目标终端快进的请求、控制所述目标终端快退的请求或控制所述目标终端退出播放模式的请求。 In the above technical solution, preferably, the play control request includes: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and control of the target terminal. A request to rewind or control the request of the target terminal to exit the play mode.
在该技术方案中,该播放控制请求包括但不限于上述请求,例如:还可以包括:控制该目标终端重新进入播放模式的请求。In the technical solution, the play control request includes, but is not limited to, the foregoing request, for example, and may further include: a request for controlling the target terminal to re-enter the play mode.
图2示出了根据本发明的一个实施例的流媒体播放控制方法的流程示意图。FIG. 2 is a flow chart showing a streaming media playback control method according to an embodiment of the present invention.
如图2所示,根据本发明的一个实施例的流媒体播放控制方法,包括:As shown in FIG. 2, a streaming media playback control method according to an embodiment of the present invention includes:
步骤202,主终端(目标终端)或分终端(主终端指直接使用通信网络和流媒体服务器进行通信的终端,分终端指不直接和流媒体服务器进行通信,而只是和主终端进行通信的终端,即其他终端)发起播放控制指令。Step 202: The main terminal (target terminal) or the sub-terminal (the main terminal refers to a terminal that directly communicates using the communication network and the streaming media server, and the sub-terminal refers to a terminal that does not directly communicate with the streaming media server, but only communicates with the main terminal. , ie other terminals) initiate a playback control command.
步骤204,判断播放控制指令是否为主终端发起,当判断结果为是时,进入步骤214,当判断结果为否时,进入步骤216。Step 204: Determine whether the playback control command is initiated by the master terminal. When the determination result is yes, the process proceeds to step 214. If the determination result is negative, the process proceeds to step 216.
步骤206,播放控制指令是分终端发起,则将该播放控制指令转发给主终端。Step 206: The play control command is initiated by the sub-terminal, and the play control command is forwarded to the main terminal.
步骤208,主终端需要根据该分终端的权限等信息进行仲裁。In step 208, the master terminal needs to perform arbitration according to information such as the authority of the sub-terminal.
步骤210,主终端判断是否执行播放控制指令,当判断结果为是(即该分终端的权限大于或等于预设控制权限等级)时,进入步骤214,当判断结果为否(即该分终端的权限小于预设控制权限等级)时,进入步骤212。Step 210: The main terminal determines whether to execute the play control instruction. When the judgment result is yes (that is, the authority of the sub-terminal is greater than or equal to the preset control authority level), the process proceeds to step 214, and if the judgment result is no (ie, the sub-terminal When the authority is less than the preset control authority level), the process proceeds to step 212.
步骤212,向播放控制的指令发起者即分终端发送通知,通知执行播放控制的指令失败(即主终端拒绝响应该播放控制指令)。Step 212: Send a notification to the instruction initiator of the play control, that is, the sub-terminal, notifying that the instruction to execute the play control fails (ie, the main terminal refuses to respond to the play control command).
步骤214,主终端执行播放控制的指令(即主终端响应该播放控制指令)。 Step 214, the main terminal executes an instruction of the play control (ie, the main terminal responds to the play control command).
步骤216,将主终端的执行结果通知到各个分终端,即将播放过程中接收到的目标流媒体数据共享至各个分终端。Step 216: Notifying the execution result of the main terminal to each sub-terminal, that is, sharing the target streaming media data received during the playing process to each sub-terminal.
图3示出了根据本发明的另一个实施例的流媒体数据共享方法的示意图。FIG. 3 shows a schematic diagram of a streaming media data sharing method in accordance with another embodiment of the present invention.
如图3所示,根据本发明的另一个实施例的流媒体数据共享方法,包括:As shown in FIG. 3, a streaming media data sharing method according to another embodiment of the present invention includes:
步骤302,主终端或分终端发起播放流媒体数据(与上述中的目标流媒体数据一致)的请求。Step 302: The primary terminal or the sub-terminal initiates a request to play streaming media data (consistent with the target streaming media data in the above).
步骤304,主终端判断当前是否已开启流媒体数据共享,当判断结果 为是时,意味着主终端已与多个分终端绑定(即已建立共享终端组),则进入步骤306,当判断结果为否时,意味着主终端尚未与多个分终端绑定(即尚未建立共享终端组),则进入步骤312。 Step 304, the main terminal determines whether streaming media data sharing is currently enabled, when the judgment result is If yes, it means that the master terminal has been bound to multiple sub-terminals (that is, the shared terminal group has been established), then go to step 306. When the judgment result is no, it means that the master terminal has not been bound to multiple sub-terminals ( That is, the shared terminal group has not been established yet, and the process proceeds to step 312.
步骤306,判断是否更新共享终端组(由主终端建立、且和主终端共享流媒体数据的多个分终端),当判断结果为是时,进入步骤308,当判断结果为否时,进入步骤318。Step 306: Determine whether to update the shared terminal group (a plurality of sub-terminals established by the main terminal and sharing the streaming media data with the main terminal). When the determination result is yes, the process proceeds to step 308, and when the determination result is no, the process proceeds to step 318.
步骤308,搜索分终端。 Step 308, searching for a sub-terminal.
步骤310,更新共享终端组。Step 310: Update the shared terminal group.
步骤312,搜索分终端。In step 312, the sub-terminal is searched.
步骤314,创建共享终端组。In step 314, a shared terminal group is created.
步骤316,开启流媒体数据共享。In step 316, streaming media data sharing is turned on.
步骤318,在开启流媒体数据共享后,主终端向共享终端组发送流媒体数据邀请,例如,主终端向共享终端组发送视频邀请。Step 318: After the streaming media data sharing is started, the primary terminal sends a streaming media data invitation to the shared terminal group. For example, the primary terminal sends a video invitation to the shared terminal group.
步骤320,共享终端组完成流媒体数据共享的初始化流程。Step 320: The sharing terminal group completes an initialization process of streaming media data sharing.
步骤322,主终端向流媒体服务器请求流媒体数据。In step 322, the primary terminal requests streaming media data from the streaming media server.
步骤324,主终端接收并转发流媒体服务器下发的流媒体数据。Step 324: The primary terminal receives and forwards the streaming media data delivered by the streaming media server.
步骤326,主终端收到流媒体数据后,完成本地的播放,同时将流媒体数据转发给共享终端组,共享终端组中的各个分终端收到流媒体数据后,完成本地流媒体数据的播放,从而达到流媒体数据在主终端和分终端之间的共享。Step 326: After receiving the streaming media data, the primary terminal completes the local playback, and forwards the streaming media data to the shared terminal group. After receiving the streaming media data, each of the sub-terminals in the shared terminal group completes the playback of the local streaming media data. In order to achieve the sharing of streaming media data between the primary terminal and the secondary terminal.
图4示出了根据本发明的一个实施例的流媒体数据共享装置的结构示意图。FIG. 4 is a block diagram showing the structure of a streaming media data sharing device according to an embodiment of the present invention.
如图4所示,根据本发明的一个实施例的流媒体数据共享装置400,包括:共享单元402,在目标终端接收到来自流媒体服务器下发的目标流媒体数据时,将所述目标流媒体数据同步共享至与所述目标终端相绑定的其他终端。As shown in FIG. 4, the streaming media data sharing apparatus 400 according to an embodiment of the present invention includes: a sharing unit 402, when the target terminal receives the target streaming media data delivered from the streaming media server, the target stream is The media data is synchronously shared to other terminals bound to the target terminal.
在该技术方案中,在目标终端接收到来自流媒体服务器下发的目标流媒体数据时,通过将接收到的来自流媒体服务器的目标流媒体数据同步共享至与目标终端相绑定的其他终端,可以避免其他终端通过直接与流媒体 服务器进行实时通信来获取目标流媒体数据,从而实现以最低的通信资费使多个终端(包括目标终端和其他终端)同时共享目标流媒体数据,同时也可以确保多个终端占用过多的网络带宽,另外,只要目标终端的网络带宽和内存足够大,则多个终端中的每个终端的用户均可以实时地享有流畅的流媒体体验。当然,在从多个终端中选择与流媒体服务器直接通信的目标终端时,应该选择网络带宽最大和内存最大的终端作为该目标终端,以确保多个终端(包括目标终端和其他终端)可以同时共享目标流媒体数据。In the technical solution, when the target terminal receives the target streaming media data delivered from the streaming media server, the target streaming media data received from the streaming media server is synchronously shared to other terminals bound to the target terminal. Can avoid other terminals by directly communicating with streaming media The server performs real-time communication to obtain the target streaming media data, so that multiple terminals (including the target terminal and other terminals) simultaneously share the target streaming media data with the lowest communication tariff, and also ensure that multiple terminals occupy excessive network bandwidth. In addition, as long as the network bandwidth and memory of the target terminal are sufficiently large, the users of each of the plurality of terminals can enjoy a smooth streaming experience in real time. Certainly, when selecting a target terminal that directly communicates with the streaming server from among a plurality of terminals, the terminal with the largest network bandwidth and the largest memory should be selected as the target terminal to ensure that multiple terminals (including the target terminal and other terminals) can simultaneously Share target streaming media data.
在上述技术方案中,优选地,还包括:第一判断单元404,在目标终端接收到来自流媒体服务器下发的目标流媒体数据之前,控制所述目标终端判断是否已与所述其他终端相绑定;搜索单元406,在判断结果为否时,搜索所述其他终端,以与所述其他终端相绑定;所述第一判断单元404还用于:在判断结果为是时,判断是否需要更新所述其他终端;以及所述第一判断单元404还包括:更新单元4042,若需要更新所述其他终端,则与更新后的所述其他终端相绑定;绑定单元4044,若不需要更新所述其他终端,则直接与所述其他终端相绑定。In the above technical solution, the method further includes: the first determining unit 404, before the target terminal receives the target streaming media data sent by the streaming media server, controlling the target terminal to determine whether the other terminal is The binding unit 406, when the determination result is no, searches the other terminal to be bound to the other terminal; the first determining unit 404 is further configured to: when the determination result is yes, determine whether The first determining unit 404 further includes: an updating unit 4042, if the other terminal needs to be updated, binding with the updated other terminal; the binding unit 4044, if not If the other terminal needs to be updated, it is directly bound to the other terminal.
在该技术方案中,在目标终端接收到来自流媒体服务器下发的目标流媒体数据之前,应该先确定最终与目标终端相绑定的其他终端,以便目标终端在接收到来自流媒体服务器下发的目标流媒体数据后,将目标流媒体数据转发至其他终端,以实现多个终端同时流畅地共享目标流媒体数据。In the technical solution, before the target terminal receives the target streaming media data delivered by the streaming media server, the other terminal that is finally bound to the target terminal should be determined, so that the target terminal receives the delivery from the streaming media server. After the target streaming media data, the target streaming media data is forwarded to other terminals, so that multiple terminals simultaneously and smoothly share the target streaming media data.
在上述技术方案中,优选地,还包括:第一接收单元408,接收来自所述其他终端中的每个终端的状态信息;以及第二判断单元410,在将所述目标流媒体数据共享至所述其他终端中的任一终端之前,根据所述任一终端的状态信息,判断当前是否将所述目标流媒体数据同步共享至所述任一终端。In the above technical solution, preferably, the method further includes: a first receiving unit 408, receiving status information from each of the other terminals; and a second determining unit 410, sharing the target streaming media data to Before any of the other terminals, it is determined whether the target streaming media data is currently shared to the any terminal according to the status information of any one of the terminals.
在该技术方案中,在目标终端将目标流媒体数据共享至其他终端中的任一终端之前,目标终端会先依据任一终端反馈的状态信息,判断是当前即可把目标流媒体数据同步共享至该任一终端还是等待该任一终端的状态信息改变为某一状态之后,再将该目标流媒体数据同步共享至该任一终端,这样,既可以确保该任一终端可以共享目标流媒体数据,又可以避免对该 任一终端的状态信息所反应的当前状态造成不良影响。例如:如果任一终端的状态信息为暂停,则目标终端在接收到目标流媒体数据就只会立即将该目标流媒体数据共享至其他终端中除该任一终端之外的终端,不会即可将该目标流媒体数据共享至该任一终端,而是在该任一终端的状态信息由暂停状态变为播放状态时,再将该任一终端在暂停的这段时间内未接收到的该目标流媒体数据重新共享至该任一终端。In the technical solution, before the target terminal shares the target streaming media data to any of the other terminals, the target terminal first determines, according to the status information fed back by any terminal, that the target streaming media data can be simultaneously shared. After the terminal device waits for the status information of the terminal to change to a certain state, the target streaming media data is synchronously shared to the terminal, so that the target stream can be shared by any of the terminals. Data, you can avoid this The current state reflected by the status information of any terminal adversely affects. For example, if the status information of any terminal is paused, the target terminal will only share the target streaming media data to the terminal other than any one of the other terminals immediately after receiving the target streaming media data, The target streaming media data may be shared to the any terminal, and when the status information of the any terminal changes from the suspended state to the playing state, the terminal is not received during the time period of the suspension. The target streaming media data is re-shared to any of the terminals.
在上述技术方案中,优选地,还包括:第二接收单元412,接收来自所述其他终端中的任一终端的播放控制请求;第三判断单元414,根据所述任一终端的控制权限等级和/或标识信息,判断是否响应所述任一终端的所述播放控制请求;以及处理单元416,在所述任一终端的所述控制权限等级高于预设控制权限等级和/或所述标识信息与预设标识信息相匹配时,响应所述播放控制请求;否则,拒绝所述播放控制请求。In the above technical solution, preferably, the method further includes: a second receiving unit 412, receiving a play control request from any one of the other terminals; and a third determining unit 414, according to a control authority level of the any terminal And/or identification information, determining whether to respond to the playback control request of any one of the terminals; and processing unit 416, the control authority level at the any terminal is higher than a preset control authority level and/or the When the identification information matches the preset identification information, the playback control request is responded; otherwise, the playback control request is rejected.
在该技术方案中,在目标终端接收其他终端中的任一终端的播放控制请求(如控制终端暂停的请求)时,目标终端会根据该任一终端的控制权限等级和/或标识信息,自主判断是否响应该播放控制请求,具体地,如果该任一终端的控制权限等级过低和/或标识信息与目标终端存储的预设标识信息不匹配,则目标终端会拒绝该播放控制请求,继续当前播放状态;反之,则响应该播放控制请求,由当前播放状态更改为暂停状态。In the technical solution, when the target terminal receives a play control request of any of the other terminals (such as a request for controlling the terminal to pause), the target terminal may autonomously according to the control authority level and/or the identification information of the any terminal. Determining whether to respond to the play control request, specifically, if the control authority level of the any terminal is too low and/or the identifier information does not match the preset identifier information stored by the target terminal, the target terminal rejects the play control request and continues The current playing state; otherwise, in response to the playback control request, the current playing state is changed to the suspended state.
在上述技术方案中,优选地,所述播放控制请求包括:控制所述目标终端重新播放的请求、控制所述目标终端暂停的请求、控制所述目标终端快进的请求、控制所述目标终端快退的请求或控制所述目标终端退出播放模式的请求。In the above technical solution, preferably, the play control request includes: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and control of the target terminal. A request to rewind or control the request of the target terminal to exit the play mode.
在该技术方案中,该播放控制请求包括但不限于上述请求,例如:还可以包括:控制该目标终端重新进入播放模式的请求。In the technical solution, the play control request includes, but is not limited to, the foregoing request, for example, and may further include: a request for controlling the target terminal to re-enter the play mode.
图5示出了根据本发明的另一个实施例的流媒体数据共享装置的结构示意图。FIG. 5 is a block diagram showing the structure of a streaming media data sharing device according to another embodiment of the present invention.
如图5所示,根据本发明的另一个实施例的流媒体数据共享装置500,包括:流媒体服务器506、主终端502和多个分终端504。其中,流媒体服务器506只和主终端502进行网络通信,而流媒体服务器506在接收到主 终端502的流媒体数据请求后,会将流媒体数据仅下发至主终端502,然后主终端502会将接收到的流媒体数据下发至多个分终端504,另外,对于主终端502的选择,可以从多个分终端504中选择数据性能最优的分终端504,以保证共享终端组都有最优的流媒体数据播放的体验。As shown in FIG. 5, a streaming media data sharing apparatus 500 according to another embodiment of the present invention includes a streaming media server 506, a main terminal 502, and a plurality of sub-terminals 504. The streaming server 506 only performs network communication with the main terminal 502, and the streaming server 506 receives the main After the streaming media data of the terminal 502 is requested, the streaming media data is sent to the main terminal 502, and then the main terminal 502 sends the received streaming media data to the plurality of sub-terminals 504. In addition, the selection of the main terminal 502 is performed. The sub-terminal 504 with the best data performance can be selected from the plurality of sub-terminals 504 to ensure that the shared terminal group has an optimal streaming media data playing experience.
图6示出了图5中的流媒体数据共享装置的主终端的结构示意图。FIG. 6 is a schematic structural diagram of a main terminal of the streaming media data sharing device of FIG. 5.
如图6所示,根据图5中的流媒体数据共享装置的主终端502,包括:共享终端组信息模块602、播放控制指令处理模块604、指令和数据转发模块606、主终端流媒体播放模块608、分终端接口模块610和网络通信模块612等。其中,共享终端组信息模块602,主要维护了各个分终端的ID、地址、状态、控制权限等信息;播放控制指令处理模块604,一方面处理主终端502自己发起的播放控制指令,这些指令包括播放、暂停、快进、快退、退出等,另一方面负责对分终端发起的播放控制指令进行仲裁,同时完成分终端播放控制指令的响应、执行;指令和数据转发模块606,一方面负责将流媒体数据转发到各个共享分终端,另一方面负责完成播放控制指令请求和响应消息的转发;主终端流媒体播放模块608主要完成主终端502本地的流媒体播放和转发流媒体数据到数据转发模块;分终端接口模块610主要负责完成主终端502和分终端间的数据和指令通信;网络通信模块612负责完成流媒体服务器和主终端502之间的通信。As shown in FIG. 6, the main terminal 502 of the streaming media data sharing device in FIG. 5 includes: a shared terminal group information module 602, a playback control instruction processing module 604, an instruction and data forwarding module 606, and a main terminal streaming media playing module. 608, a sub-terminal interface module 610, a network communication module 612, and the like. The shared terminal group information module 602 mainly maintains information such as ID, address, status, and control authority of each sub-terminal; the playback control instruction processing module 604 processes the playback control command initiated by the main terminal 502 on one hand, and the instructions include Play, pause, fast forward, rewind, exit, etc., on the other hand, is responsible for arbitrating the playback control command initiated by the sub-terminal, and simultaneously completing the response and execution of the sub-terminal playback control command; the instruction and data forwarding module 606 is responsible for The streaming media data is forwarded to each shared sub-terminal, and the other is responsible for completing the forwarding of the playback control command request and the response message. The main terminal streaming media playing module 608 mainly completes the local streaming and playing of the streaming media data to the data of the main terminal 502. The forwarding module; the sub-terminal interface module 610 is mainly responsible for completing data and command communication between the main terminal 502 and the sub-terminal; the network communication module 612 is responsible for completing communication between the streaming server and the main terminal 502.
图7示出了图5中的流媒体数据共享装置的分终端的结构示意图。FIG. 7 is a schematic structural diagram of a sub-terminal of the streaming media data sharing device of FIG. 5.
如图7所示,根据图5中的流媒体数据共享装置的分终端504,包括:主终端信息模块702、播放控制模块704、指令和数据转发模块706、主终端接口模块708、分终端流媒体播放模块710等。主终端信息模块702用于分终端504维护主终端的信息;播放控制模块704完成向主终端发起播放控制指令请求和对主终端返回的控制指令响应进行解析执行;指令和数据转发模块706,负责播放控制指令和流媒体数据的转发;主终端接口模块708完成分终端504和主终端之间的控制指令和流媒体数据通信;分终端流媒体播放模块710负责接收解析从主终端返回的流媒体数据,并调用本地的播放器进行流媒体的播放;。As shown in FIG. 7, the sub-terminal 504 of the streaming media data sharing device in FIG. 5 includes: a main terminal information module 702, a play control module 704, an instruction and data forwarding module 706, a main terminal interface module 708, and a sub-terminal stream. The media playing module 710 and the like. The main terminal information module 702 is configured to maintain the information of the main terminal by the sub-terminal 504; the play control module 704 completes the request to initiate the play control command to the main terminal and parses and executes the control command response returned by the main terminal; the instruction and data forwarding module 706 is responsible for The playback control command and the forwarding of the streaming media data; the main terminal interface module 708 completes the control command and the streaming media data communication between the sub-terminal 504 and the main terminal; the sub-terminal streaming media playing module 710 is responsible for receiving and parsing the streaming media returned from the main terminal. Data and call the local player for streaming playback;
图8示出了根据本发明的一个实施例的终端的结构示意图。 FIG. 8 shows a schematic structural diagram of a terminal according to an embodiment of the present invention.
如图8所示,根据本发明的一个实施例的终端700,包括:如上述技术方案中任一项所述的流媒体数据共享装置400。As shown in FIG. 8, a terminal 700 according to an embodiment of the present invention includes: the streaming media data sharing device 400 according to any one of the above aspects.
在该技术方案中,通过在终端700上设置流媒体数据共享装置400,在多个终端同时进行流媒体业务时,可以避免多个终端均与流媒体服务器直接通信,以减少通信资费,减少对网络带宽的占用,并使每个终端的用户都可以具有流畅的流媒体体验。In this technical solution, by setting the streaming media data sharing device 400 on the terminal 700, when a plurality of terminals simultaneously perform streaming media services, it is possible to prevent multiple terminals from directly communicating with the streaming media server, thereby reducing communication charges and reducing The network bandwidth is occupied, and the users of each terminal can have a smooth streaming experience.
图9示出了根据本发明的实施例的移动终端的结构示意图。如图9所示,所述终端可以包括:至少一个收发装置903,至少一个处理器901,例如CPU,存储器904和至少一个通信总线902。FIG. 9 shows a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 9, the terminal may include at least one transceiver 903, at least one processor 901, such as a CPU, a memory 904, and at least one communication bus 902.
其中,上述通信总线902用于连接上述收发装置903、处理器901和存储器904。The communication bus 902 is configured to connect the transceiver 903, the processor 901, and the memory 904.
上述存储器904可以是高速RAM存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。上述存储器904还用于存储一组程序代码,上述收发装置903和处理器901用于调用存储器904中存储的程序代码,执行如下操作:The above memory 904 may be a high speed RAM memory or a non-volatile memory such as a disk memory. The memory 904 is further configured to store a set of program codes, and the transceiver 903 and the processor 901 are configured to call the program code stored in the memory 904, and perform the following operations:
所述处理器901,用于在所述收发装置接收到来自流媒体服务器下发的目标流媒体数据时,将所述目标流媒体数据同步共享至与目标终端相绑定的其他终端。The processor 901 is configured to synchronously share the target streaming media data to other terminals bound to the target terminal when the transceiver device receives the target streaming media data delivered by the streaming media server.
在上述技术方案中,优选地,所述处理器901还用于:In the above technical solution, preferably, the processor 901 is further configured to:
判断所述目标终端是否已与所述其他终端相绑定;Determining whether the target terminal has been bound to the other terminal;
在判断结果为否时,搜索所述其他终端,以与所述其他终端相绑定,以及When the judgment result is no, searching for the other terminal to be bound to the other terminal, and
在判断结果为是时,判断是否需要更新所述其他终端,若需要更新所述其他终端,则与更新后的所述其他终端相绑定,若不需要更新所述其他终端,则直接与所述其他终端相绑定。If the result of the determination is yes, it is determined whether the other terminal needs to be updated, and if the other terminal needs to be updated, it is bound to the updated other terminal, and if the other terminal is not required to be updated, The other terminals are bound.
在上述技术方案中,优选地,所述收发装置903,用于接收来自所述其他终端中的每个终端的状态信息;In the above technical solution, preferably, the transceiver device 903 is configured to receive status information from each of the other terminals;
所述处理器901,还用于在将所述目标流媒体数据共享至所述其他终端中的任一终端之前,根据所述任一终端的状态信息,判断当前是否将所述 目标流媒体数据同步共享至所述任一终端。The processor 901 is further configured to determine, according to status information of any one of the terminals, whether the current streaming media data is shared to any one of the other terminals The target streaming media data is synchronously shared to any of the terminals.
在上述技术方案中,优选地,所述收发装置903,用于接收来自所述其他终端中的任一终端的播放控制请求;In the above technical solution, preferably, the transceiver 903 is configured to receive a play control request from any one of the other terminals;
所述处理器901,还用于根据所述任一终端的控制权限等级和/或标识信息,判断是否响应所述任一终端的所述播放控制请求;以及The processor 901 is further configured to determine, according to the control authority level and/or the identifier information of any one of the terminals, whether to respond to the play control request of any one of the terminals;
在所述任一终端的所述控制权限等级高于预设控制权限等级和/或所述标识信息与预设标识信息相匹配时,响应所述播放控制请求;否则,拒绝所述播放控制请求。Responding to the play control request when the control authority level of the any terminal is higher than a preset control authority level and/or the identifier information matches the preset identifier information; otherwise, rejecting the play control request .
在上述技术方案中,优选地,所述播放控制请求包括:控制所述目标终端重新播放的请求、控制所述目标终端暂停的请求、控制所述目标终端快进的请求、控制所述目标终端快退的请求或控制所述目标终端退出播放模式的请求。In the above technical solution, preferably, the play control request includes: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and control of the target terminal. A request to rewind or control the request of the target terminal to exit the play mode.
以上结合附图详细说明了本发明的技术方案,在多个终端同时进行流媒体业务时,可以避免多个终端均与流媒体服务器直接通信,以减少通信资费,减少对网络带宽的占用,并使每个终端的用户都可以具有流畅的流媒体体验。The technical solution of the present invention is described in detail above with reference to the accompanying drawings. When multiple terminals simultaneously perform streaming media services, multiple terminals can be directly communicated with the streaming media server to reduce communication charges and reduce network bandwidth occupation. Enable users of each terminal to have a smooth streaming experience.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (14)

  1. 一种流媒体数据共享方法,其特征在于,A streaming media data sharing method, characterized in that
    在目标终端接收到来自流媒体服务器下发的目标流媒体数据时,将所述目标流媒体数据同步共享至与所述目标终端相绑定的其他终端。When the target terminal receives the target streaming media data delivered by the streaming media server, the target streaming media data is synchronously shared to other terminals bound to the target terminal.
  2. 根据权利要求1所述的流媒体数据共享方法,其特征在于,The streaming media data sharing method according to claim 1, wherein
    在目标终端接收到来自流媒体服务器下发的目标流媒体数据之前,还包括:Before the target terminal receives the target streaming media data delivered by the streaming media server, the method further includes:
    所述目标终端判断是否已与所述其他终端相绑定;Determining, by the target terminal, whether it is bound to the other terminal;
    在判断结果为否时,搜索所述其他终端,以与所述其他终端相绑定,以及When the judgment result is no, searching for the other terminal to be bound to the other terminal, and
    在判断结果为是时,判断是否需要更新所述其他终端,若需要更新所述其他终端,则与更新后的所述其他终端相绑定,若不需要更新所述其他终端,则直接与所述其他终端相绑定。If the result of the determination is yes, it is determined whether the other terminal needs to be updated, and if the other terminal needs to be updated, it is bound to the updated other terminal, and if the other terminal is not required to be updated, The other terminals are bound.
  3. 根据权利要求1所述的流媒体数据共享方法,其特征在于,还包括:The streaming media data sharing method according to claim 1, further comprising:
    接收来自所述其他终端中的每个终端的状态信息;以及Receiving status information from each of the other terminals;
    在将所述目标流媒体数据共享至所述其他终端中的任一终端之前,根据所述任一终端的状态信息,判断当前是否将所述目标流媒体数据同步共享至所述任一终端。Before sharing the target streaming media data to any one of the other terminals, determining whether the target streaming media data is currently shared to the any terminal according to the status information of any of the terminals.
  4. 根据权利要求1至3中任一项所述的流媒体数据共享方法,其特征在于,The streaming media data sharing method according to any one of claims 1 to 3, characterized in that
    接收来自所述其他终端中的任一终端的播放控制请求,根据所述任一终端的控制权限等级和/或标识信息,判断是否响应所述任一终端的所述播放控制请求;以及Receiving a playback control request from any one of the other terminals, determining, according to the control authority level and/or the identification information of the any terminal, whether to respond to the playback control request of any one of the terminals;
    在所述任一终端的所述控制权限等级高于预设控制权限等级和/或所述标识信息与预设标识信息相匹配时,响应所述播放控制请求;否则,拒绝所述播放控制请求。Responding to the play control request when the control authority level of the any terminal is higher than a preset control authority level and/or the identifier information matches the preset identifier information; otherwise, rejecting the play control request .
  5. 根据权利要求4所述的流媒体数据共享方法,其特征在于,所述播放控制请求包括:控制所述目标终端重新播放的请求、控制所述目标终端 暂停的请求、控制所述目标终端快进的请求、控制所述目标终端快退的请求或控制所述目标终端退出播放模式的请求。The streaming media data sharing method according to claim 4, wherein the playback control request comprises: controlling a request for the target terminal to replay, and controlling the target terminal a suspended request, a request to control the target terminal to fast forward, a request to control the target terminal to rewind, or a request to control the target terminal to exit the play mode.
  6. 一种流媒体数据共享装置,其特征在于,A streaming media data sharing device, characterized in that
    共享单元,在目标终端接收到来自流媒体服务器下发的目标流媒体数据时,将所述目标流媒体数据同步共享至与所述目标终端相绑定的其他终端。The sharing unit, when the target terminal receives the target streaming media data delivered by the streaming media server, synchronously shares the target streaming media data to other terminals bound to the target terminal.
  7. 根据权利要求6所述的流媒体数据共享装置,其特征在于,还包括:The streaming media data sharing device of claim 6, further comprising:
    第一判断单元,在目标终端接收到来自流媒体服务器下发的目标流媒体数据之前,控制所述目标终端判断是否已与所述其他终端相绑定;The first determining unit, before the target terminal receives the target streaming media data delivered by the streaming media server, controls the target terminal to determine whether it is bound to the other terminal;
    搜索单元,在判断结果为否时,搜索所述其他终端,以与所述其他终端相绑定;Searching for, when the determination result is no, searching for the other terminal to be bound to the other terminal;
    所述第一判断单元还用于:在判断结果为是时,判断是否需要更新所述其他终端;以及The first determining unit is further configured to: determine, when the determination result is yes, whether the other terminal needs to be updated;
    所述第一判断单元还包括:The first determining unit further includes:
    更新单元,若需要更新所述其他终端,则与更新后的所述其他终端相绑定;An update unit, if the other terminal needs to be updated, is bound to the updated other terminal;
    绑定单元,若不需要更新所述其他终端,则直接与所述其他终端相绑定。The binding unit directly binds to the other terminal if the other terminal is not required to be updated.
  8. 根据权利要求6所述的流媒体数据共享装置,其特征在于,还包括:The streaming media data sharing device of claim 6, further comprising:
    第一接收单元,接收来自所述其他终端中的每个终端的状态信息;以及a first receiving unit that receives status information from each of the other terminals;
    第二判断单元,在将所述目标流媒体数据共享至所述其他终端中的任一终端之前,根据所述任一终端的状态信息,判断当前是否将所述目标流媒体数据同步共享至所述任一终端。The second determining unit, before sharing the target streaming media data to any one of the other terminals, determining whether the target streaming media data is currently shared to the current location according to the status information of the any terminal Said any terminal.
  9. 根据权利要求6至8中任一项所述的流媒体数据共享装置,其特征在于,还包括:The streaming media data sharing device according to any one of claims 6 to 8, further comprising:
    第二接收单元,接收来自所述其他终端中的任一终端的播放控制请求;a second receiving unit, receiving a play control request from any one of the other terminals;
    第三判断单元,根据所述任一终端的控制权限等级和/或标识信息,判断是否响应所述任一终端的所述播放控制请求;以及 a third determining unit, determining, according to the control authority level and/or the identifier information of the any terminal, whether to respond to the play control request of any one of the terminals;
    处理单元,在所述任一终端的所述控制权限等级高于预设控制权限等级和/或所述标识信息与预设标识信息相匹配时,响应所述播放控制请求;否则,拒绝所述播放控制请求,其中,所述播放控制请求包括:控制所述目标终端重新播放的请求、控制所述目标终端暂停的请求、控制所述目标终端快进的请求、控制所述目标终端快退的请求或控制所述目标终端退出播放模式的请求。The processing unit responds to the play control request when the control authority level of the any terminal is higher than a preset control authority level and/or the identifier information matches the preset identifier information; otherwise, rejecting the a playback control request, where the playback control request includes: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and a control to rewind the target terminal Requesting or controlling the request of the target terminal to exit the play mode.
  10. 一种终端,其特征在于,所述终端包括通信总线、收发装置、存储器以及处理器,其中:A terminal, characterized in that the terminal comprises a communication bus, a transceiver, a memory and a processor, wherein:
    所述通信总线,用于实现所述收发装置、所述存储器以及所述处理器之间的连接通信;The communication bus is configured to implement connection communication between the transceiver device, the memory, and the processor;
    所述存储器中存储一组程序代码,且所述处理器调用存储器中存储的程序代码,用于执行以下操作:The program stores a set of program codes, and the processor calls program code stored in the memory to perform the following operations:
    所述处理器,用于在所述收发装置接收到来自流媒体服务器下发的目标流媒体数据时,将所述目标流媒体数据同步共享至与目标终端相绑定的其他终端。The processor is configured to synchronously share the target streaming media data to other terminals bound to the target terminal when the transceiver device receives the target streaming media data delivered by the streaming media server.
  11. 根据权利要求10所述的终端,其特征在于,所述处理器还用于:The terminal according to claim 10, wherein the processor is further configured to:
    判断所述目标终端是否已与所述其他终端相绑定;Determining whether the target terminal has been bound to the other terminal;
    在判断结果为否时,搜索所述其他终端,以与所述其他终端相绑定,以及When the judgment result is no, searching for the other terminal to be bound to the other terminal, and
    在判断结果为是时,判断是否需要更新所述其他终端,若需要更新所述其他终端,则与更新后的所述其他终端相绑定,若不需要更新所述其他终端,则直接与所述其他终端相绑定。If the result of the determination is yes, it is determined whether the other terminal needs to be updated, and if the other terminal needs to be updated, it is bound to the updated other terminal, and if the other terminal is not required to be updated, The other terminals are bound.
  12. 根据权利要求10所述的终端,其特征在于,The terminal according to claim 10, characterized in that
    所述收发装置,用于接收来自所述其他终端中的每个终端的状态信息;The transceiver device is configured to receive status information from each of the other terminals;
    所述处理器,还用于在将所述目标流媒体数据共享至所述其他终端中的任一终端之前,根据所述任一终端的状态信息,判断当前是否将所述目标流媒体数据同步共享至所述任一终端。The processor is further configured to: before the destination media data is shared to any one of the other terminals, determine whether the target streaming media data is currently synchronized according to status information of any one of the terminals Share to any of the terminals.
  13. 根据权利要求10-12任一项所述的终端,其特征在于,A terminal according to any one of claims 10 to 12, characterized in that
    所述收发装置,用于接收来自所述其他终端中的任一终端的播放控制 请求;The transceiver device is configured to receive playback control from any one of the other terminals request;
    所述处理器,还用于根据所述任一终端的控制权限等级和/或标识信息,判断是否响应所述任一终端的所述播放控制请求;以及The processor is further configured to determine, according to the control authority level and/or the identifier information of any of the terminals, whether to respond to the play control request of any one of the terminals;
    在所述任一终端的所述控制权限等级高于预设控制权限等级和/或所述标识信息与预设标识信息相匹配时,响应所述播放控制请求;否则,拒绝所述播放控制请求。Responding to the play control request when the control authority level of the any terminal is higher than a preset control authority level and/or the identifier information matches the preset identifier information; otherwise, rejecting the play control request .
  14. 根据权利要求13所述的终端,其特征在于,所述播放控制请求包括:控制所述目标终端重新播放的请求、控制所述目标终端暂停的请求、控制所述目标终端快进的请求、控制所述目标终端快退的请求或控制所述目标终端退出播放模式的请求。 The terminal according to claim 13, wherein the playback control request comprises: a request to control replay of the target terminal, a request to control suspension of the target terminal, a request to control fast forwarding of the target terminal, and control The target terminal rewinds the request or controls the target terminal to exit the play mode request.
PCT/CN2015/080353 2015-01-30 2015-05-29 Streaming media data sharing method, streaming media data sharing device, and terminal WO2016119353A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510051164.1 2015-01-30
CN201510051164.1A CN105635238A (en) 2015-01-30 2015-01-30 Stream media data sharing method, stream media data sharing device and terminal

Publications (1)

Publication Number Publication Date
WO2016119353A1 true WO2016119353A1 (en) 2016-08-04

Family

ID=56049714

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/080353 WO2016119353A1 (en) 2015-01-30 2015-05-29 Streaming media data sharing method, streaming media data sharing device, and terminal

Country Status (2)

Country Link
CN (1) CN105635238A (en)
WO (1) WO2016119353A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331708A (en) * 2016-08-22 2017-01-11 北京文安智能技术股份有限公司 Video stream processing method, device and system
CN116193181A (en) * 2022-12-20 2023-05-30 深圳创维-Rgb电子有限公司 Media content sharing method and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232601A (en) * 2008-01-16 2008-07-30 中山大学 Numeral family network flow medium transmitting method based on blue tooth communication technology
CN101729273A (en) * 2008-10-27 2010-06-09 中国移动通信集团公司 Streaming media distribution system, method and device
CN103686315A (en) * 2012-09-13 2014-03-26 深圳市快播科技有限公司 Synchronous audio and video playing method and device
CN104038514A (en) * 2013-03-05 2014-09-10 福建星网视易信息系统有限公司 Method and system for realizing mobile interconnection services, data center, and mobile terminal
CN104219262A (en) * 2013-05-30 2014-12-17 好看科技(深圳)有限公司 Media resource sharing system and method, server cluster and video player
CN104270457A (en) * 2014-11-10 2015-01-07 东南大学 Family cloud center file sharing system based on mobile cross-platform architecture

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345868A (en) * 2007-07-09 2009-01-14 华为技术有限公司 Method, terminal and system for sharing media data
CN101964842A (en) * 2010-09-13 2011-02-02 复旦大学 Mobile phone terminal-based self-organized video synchronous sharing player
CN102821143B (en) * 2012-07-23 2015-09-16 中国联合网络通信集团有限公司 Terminal cooperation method, equipment and system
WO2014089773A1 (en) * 2012-12-12 2014-06-19 华为终端有限公司 Method and terminal for sharing media stream

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232601A (en) * 2008-01-16 2008-07-30 中山大学 Numeral family network flow medium transmitting method based on blue tooth communication technology
CN101729273A (en) * 2008-10-27 2010-06-09 中国移动通信集团公司 Streaming media distribution system, method and device
CN103686315A (en) * 2012-09-13 2014-03-26 深圳市快播科技有限公司 Synchronous audio and video playing method and device
CN104038514A (en) * 2013-03-05 2014-09-10 福建星网视易信息系统有限公司 Method and system for realizing mobile interconnection services, data center, and mobile terminal
CN104219262A (en) * 2013-05-30 2014-12-17 好看科技(深圳)有限公司 Media resource sharing system and method, server cluster and video player
CN104270457A (en) * 2014-11-10 2015-01-07 东南大学 Family cloud center file sharing system based on mobile cross-platform architecture

Also Published As

Publication number Publication date
CN105635238A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
EP2790337A1 (en) Method and apparatus for allowing playback devices to perform synchronized playback of streaming content
WO2017031864A1 (en) Playing control method and apparatus for multimedia playing device
EP3427485A1 (en) System and method for color beat display in a media content environment
WO2013163951A1 (en) Method, server, user terminal, and system for data presentation in multi-person conversation
WO2010149035A1 (en) Handover methods, user terminal and network side devices
GB2391663A (en) Establishing Coordinated Consumption of a Streamed Media Object by Multiple Devices
WO2013178082A1 (en) Image uploading method, system, client terminal, network server and computer storage medium
WO2022165764A1 (en) Random access method and device, and storage medium
CN111200622B (en) Resource transmission method and device and storage medium
WO2017097128A1 (en) Method and apparatus for taking over task between devices
CN110324840A (en) A kind of method and device updating configuration
CN103260150A (en) Wireless access control method, wireless access point and wireless access controller
WO2016119353A1 (en) Streaming media data sharing method, streaming media data sharing device, and terminal
JP2023078286A (en) Methods, systems, and media for providing dynamic media sessions
US9491202B2 (en) Device and method capable of searching for available service
KR20150116095A (en) Method and system for supporting videoconfernce in the distributed telepresence platform
CN113747406B (en) Bluetooth connection method and device, bluetooth equipment and storage medium
US7805475B2 (en) Contents distribution system, terminal apparatus, contents distribution method, and recording medium on which is recorded a program used therein
TWI241855B (en) AD-HOC media delivery system
CN110049360B (en) Cross-platform content control method, device, terminal, server and storage medium
CN112788135B (en) Resource scheduling method, equipment and storage medium
US8732768B2 (en) System and method for providing virtual AV service
US20230292365A1 (en) Method for random access communication device, and storage medium
WO2021014691A1 (en) Wireless audio system, wireless speaker, and group joining method for wireless speaker
WO2013159479A1 (en) Personal area network management method and device

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: 15879559

Country of ref document: EP

Kind code of ref document: A1

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 1205A DATED 02/01/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 15879559

Country of ref document: EP

Kind code of ref document: A1