CN109525882B - Synchronous playing method, bridging equipment and sink equipment - Google Patents

Synchronous playing method, bridging equipment and sink equipment Download PDF

Info

Publication number
CN109525882B
CN109525882B CN201811456392.7A CN201811456392A CN109525882B CN 109525882 B CN109525882 B CN 109525882B CN 201811456392 A CN201811456392 A CN 201811456392A CN 109525882 B CN109525882 B CN 109525882B
Authority
CN
China
Prior art keywords
multimedia data
receiving
delay time
total gray
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811456392.7A
Other languages
Chinese (zh)
Other versions
CN109525882A (en
Inventor
王宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201811456392.7A priority Critical patent/CN109525882B/en
Publication of CN109525882A publication Critical patent/CN109525882A/en
Application granted granted Critical
Publication of CN109525882B publication Critical patent/CN109525882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams

Landscapes

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

Abstract

The embodiment of the invention provides a synchronous playing method, bridging equipment and sink equipment, relates to the technical field of home Internet, and solves the problem that in the prior art, Bluetooth audio equipment only supports audio transmission of two pieces of equipment one to one, and cannot realize synchronous playing of a plurality of Bluetooth audio equipment. The method comprises the steps that a receiving device acquires multimedia data sent by an adjacent previous device; the adjacent previous device is a source device or a receiving device, and the multimedia data comprises a playing progress and a first moment corresponding to the playing progress; the receiving equipment determines the delay time T according to the sequencing position, the second moment for receiving the multimedia data and the first moment; and the receiving equipment plays the multimedia data according to the delay time T and the playing progress after the delay time T.

Description

Synchronous playing method, bridging equipment and sink equipment
Technical Field
The invention relates to the technical field of home internet, in particular to a synchronous playing method, bridging equipment and sink equipment.
Background
With respect to Bluetooth scatternets, the Bluetooth Special Interest Group (SIG) does not specify its formation process and associated protocol specifications. Currently, research on scatternets mainly focuses on the mechanism of forming scatternets, such as the formation of topology structures, the routing mechanism of networks, and scheduling problems between networks in the networks. For the topology structure of the scattering network, a tree structure, a star structure, a ring structure and the like are popular at present. Various routing and scheduling algorithms have been proposed by researchers for these topologies.
From the above analysis, in the present scientific research field, researchers' research on scattering networks all stay on how to form a theoretical algorithm of a large-scale bluetooth network, and do not consider the problem of difficult implementation.
With the continuous change of life style of people by Bluetooth products, people have also put forward more demands on Bluetooth audio equipment. In some application scenarios, a user may desire that a bluetooth audio device may provide higher quality audio quality. To meet this demand, SIG has studied and released relevant audio-video protocols and application modes, providing specifications and guarantees for high-quality bluetooth audio-video applications. The advanced audio/video distribution transmission protocol is defined in the logic link control and adaptation layer, and uses asynchronous link (ACL) channel with faster data transmission rate to realize audio stream transmission of high-quality stereo sound. In some application scenarios, a user may want the bluetooth audio transmission system to cover a wider range and transmit a longer distance, but the existing bluetooth audio device only supports audio transmission of two devices one to one, which is because when two or more audio acquisition devices establish a transmission link with an audio source device, a phenomenon of channel repetition occurs, so that synchronous playing of multiple audio acquisition devices is not possible.
Therefore, in the prior art, the bluetooth audio device only supports audio transmission of two devices one to one, and cannot realize synchronous playing of multiple bluetooth audio devices.
Disclosure of Invention
The embodiment of the invention provides a synchronous playing method, bridging equipment and sink equipment, and solves the problem that in the prior art, Bluetooth audio equipment only supports audio transmission of two pieces of equipment one to one and cannot realize synchronous playing of a plurality of Bluetooth audio equipment.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a synchronous playing method, which is applied to a synchronous playing system, where the synchronous playing system includes at least one playing link, and the playing link includes N devices connected in series, and the N devices are respectively a source device with a sequence position of 1 and a sink device with a sequence position of 2 to a sequence position of N; the receiving devices with the sequence positions from 2 to N include bridge devices with the sequence positions from 2 to (N-1) and sink devices with the sequence positions from N, the source device is configured to send multimedia data to the play link, and N is an integer greater than or equal to 3, including: the receiving equipment acquires the multimedia data sent by the adjacent previous equipment; the adjacent previous device is a source device or a receiving device, and the multimedia data comprises a playing progress and a first moment corresponding to the playing progress; the receiving equipment determines the delay time T according to the sequencing position, the second moment for receiving the multimedia data and the first moment; and the receiving equipment plays the multimedia data according to the delay time T and the playing progress after the delay time T.
According to the scheme, the receiving equipment acquires the multimedia data sent by the previous adjacent equipment, and determines the delay time T according to the sequencing position, the second moment for receiving the multimedia file and the first moment; the receiving equipment plays the multimedia data according to the delay time T and the playing progress after the delay time T, so that each receiving equipment positioned on the playing link can realize synchronous playing of the multimedia file sent by the information source equipment; therefore, according to the synchronous playing method provided by the embodiment of the present invention, a user can access a bluetooth audio device as a receiving device to the playing link to implement synchronous playing of multiple bluetooth audio devices, thereby solving the problem that the bluetooth audio device in the prior art only supports audio transmission of two devices one to one and cannot implement synchronous playing of multiple bluetooth audio devices.
In a second aspect, an embodiment of the present invention provides a bridging device, including: the receiving and sending unit is used for acquiring the multimedia data sent by the previous adjacent equipment; the adjacent previous device is a source device or a receiving device, and the multimedia data comprises a playing progress and a first moment corresponding to the playing progress; the processing unit is used for determining the delay time T according to the sequencing position, the second moment for receiving the multimedia data and the first moment obtained by the transceiving unit; and the processing unit is also used for playing the multimedia data according to the delay time T and the playing progress after the delay time T.
In a third aspect, an embodiment of the present invention provides a bridging device, including: communication interface, processor, memory, bus; the memory is used for storing computer executable instructions, the processor is connected with the memory through the bus, and when the bridge device runs, the processor executes the computer executable instructions stored by the memory, so that the bridge device executes the method provided by the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium comprising instructions which, when run on a computer, cause the computer to perform the method as provided in the first aspect above.
It can be understood that any one of the bridge devices provided above is configured to perform the method according to the first aspect provided above, and therefore, the beneficial effects that can be achieved by the bridge device may refer to the beneficial effects of the method according to the first aspect above and the corresponding scheme in the following detailed description, which are not described herein again.
A fifth aspect, an embodiment of the present invention provides a sink device including: the receiving and sending unit is used for acquiring the multimedia data sent by the previous adjacent equipment; the adjacent previous device is a source device or a receiving device, and the multimedia data comprises a playing progress and a first moment corresponding to the playing progress; the processing unit is used for determining the delay time T according to the sequencing position, the second moment for receiving the multimedia data and the first moment obtained by the transceiving unit; and the processing unit is also used for playing the multimedia data according to the delay time T and the playing progress after the delay time T.
In a sixth aspect, an embodiment of the present invention provides a sink device including: communication interface, processor, memory, bus; the memory is used for storing computer-executable instructions, the processor is connected with the memory through the bus, and when the sink device runs, the processor executes the computer-executable instructions stored by the memory so as to enable the sink device to execute the method provided by the first aspect.
In a seventh aspect, an embodiment of the present invention provides a computer storage medium, which includes instructions that, when executed on a computer, cause the computer to perform the method as provided in the first aspect above.
It can be understood that any sink device provided above is used to perform the method corresponding to the first aspect provided above, and therefore, the beneficial effects achieved by the sink device can refer to the beneficial effects of the method of the first aspect above and the corresponding scheme in the following detailed description, which are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a playing system in a synchronous playing method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a synchronous playing method according to an embodiment of the present invention;
fig. 3 is a second schematic flowchart of a synchronous playing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a bridging device according to an embodiment of the present invention;
fig. 5 is a second schematic structural diagram of a bridging device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a sink device according to an embodiment of the present invention;
fig. 7 is a second schematic structural diagram of a sink device according to an embodiment of the present invention.
Reference numerals:
a bridging device-10;
a transceiver unit-101; a processing unit-102;
a sink device-20;
a transceiving unit-201; a processing unit-202.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", and the like are used for distinguishing the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the words "first", "second", and the like are not limited in number or execution order.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of networks refers to two or more networks.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
Example one
An embodiment of the present invention provides a synchronous playing method, which is applied to a synchronous playing system, where the synchronous playing system shown in fig. 1 includes at least one playing link, and the playing link includes N devices connected in series, which are respectively a source device with a sequence position of 1 and a receiving device with a sequence position of 2 to a sequence position of N; wherein, the receiving devices with the sequence positions from 2 to N include a bridge device with the sequence positions from 2 to (N-1) and a sink device with the sequence position N, the source device is configured to send multimedia data to the play link, where N is an integer greater than or equal to 3, and as shown in fig. 2, the method includes:
s101, a receiving device acquires multimedia data sent by an adjacent previous device; the adjacent previous device is a source device or a receiving device, and the multimedia data comprises a playing progress and a first moment corresponding to the playing progress.
It should be noted that, in practical applications, if each of the at least one broadcast link in the synchronized broadcast system shares the information source device and the information sink device, the number of the receiving devices on each broadcast link is required to be the same in order to ensure that each receiving device in the synchronized broadcast system plays synchronously; if each play link in at least one play link in the synchronous play system has a play link which does not share the information source equipment and the information sink equipment, the data of the receiving equipment on the play link which does not share the information source equipment and the information sink equipment is not limited.
Specifically, N series devices may be connected to each other in a variety of ways; illustratively, the N devices connected in series are connected in a Bluetooth mode, so that a Bluetooth synchronous playing system with wider coverage range and longer transmission distance is realized; the source device is only used for sending multimedia data to the playing link, and the receiving device is used for receiving the multimedia data sent by the previous adjacent device, and after receiving the multimedia data, the receiving device copies the relay multimedia data and decodes the multimedia data, so that the multimedia data can be played.
Specifically, the playing progress may be the current actual playing progress, or may be the playing progress after fast forwarding or fast rewinding; when the playing progress of the multimedia data currently played by the synchronous playing system is 1 hour 02 min 35 s, the user adjusts the playing progress to 1 hour 01 min 30 s at the moment; in the next playing period, the receiving device should play the multimedia data according to the next playing period (corresponding to the second time) and the new playing schedule (1 hour 01 minutes 30 seconds), so as to ensure that the synchronous playing system synchronously plays the multimedia data in real time according to the selection of the user.
S102, the receiving device determines the delay time T according to the sequencing position, the second moment of receiving the multimedia data and the first moment.
It should be noted that, because there is transmission delay in data transmission, in order to ensure that each receiving device on the play link can perform synchronous play; therefore, each receiving device needs to perform corresponding delay playing according to the delay time T, so as to ensure that each receiving device on the playing link can implement synchronous playing.
Optionally, the determining, by the receiving device, the delay time T according to the sorting position, the second time of receiving the multimedia data, and the first time includes:
s1020, the receiving equipment determines the delay time T according to the delay formula, the sequencing position, the second moment of receiving the multimedia data and the first moment; wherein, the time delay formula includes:
T=(N-M)×t;
wherein M represents the sorting position of the bridge device in the playback link, t represents the difference between the first time and the second time, and N represents the total number of devices in the playback link.
And S103, the receiving equipment plays the multimedia data according to the delay time T and the playing progress after the delay time T.
Optionally, the multimedia data further includes video data; after the receiving device determines the delay time T according to the sorting position, the second time for receiving the multimedia data, and the first time, as shown in fig. 3, the method further includes:
s104, the receiving device acquires the first total gray value P1 of each frame of image in the video data sent by the adjacent previous device.
S105, the receiving device determines a second total gray value P2 of each frame of image in the received video data according to the received video data.
It should be noted that, in practical applications, in order to ensure that each receiving device plays images of the same frame image at the same time; therefore, each receiving device needs to perform binarization processing on the received video data, so that the gray value of each pixel point of each frame image in the video data can be determined, and the total gray value of the frame image is determined according to the gray value of each pixel in the frame image.
Specifically, the receiving device may continue binarization processing on each frame of image in the video data to obtain a binarized image of each frame of image; and then determining the gray value of each pixel according to the binary image of each frame image, and further adding the gray values of each pixel in the frame image, so as to determine the total gray value of the frame image.
Specifically, in practical applications, the multimedia data is usually divided into a plurality of segments for transmission, and the receiving device only determines that the first total gray value P1 and the second total gray value P2 of each frame in the segment of the multimedia data that needs to be played currently satisfy the preset condition, and plays the content of the multimedia data of the segment after the delay time T.
Specifically, the gray value at the position of a fixed pixel point (a plurality of pixel points) in each frame of image can be specified, so that the data volume of the operation can be reduced, and the user experience is ensured.
S106, the receiving device determines whether the first total gray value P1 and the second total gray value P2 of each frame image meet preset conditions according to the second total gray value P2 and the first total gray value P1; wherein the preset conditions include:
Figure BDA0001887822650000071
specifically, in order to ensure synchronous playing of images in video data, the smaller the value of α, the higher the corresponding playing precision, i.e., the better the synchronous playing effect; illustratively, α equals 1%.
S107, when the receiving device determines that the first total gray value P1 and the second total gray value P2 of each frame of image meet the preset condition, the multimedia data are played according to the delay time T and the playing progress after the delay time T.
Specifically, the multimedia data further includes audio data; since the synchronization of the images is not involved in the audio data, it is not necessary to perform step S104, step S105, and step S106, but it is sufficient to perform step S101, step S102, and step S103.
Optionally, as shown in fig. 3, the method further includes:
and S108, when the receiving device determines that the first total gray-scale value P1 and the second total gray-scale value P2 of each frame image do not meet the preset condition, sending control information to the previous adjacent device, so that the previous adjacent device can resend the video data to the receiving device according to the control information.
According to the scheme, the receiving equipment acquires the multimedia data sent by the previous adjacent equipment, and determines the delay time T according to the sequencing position, the second moment for receiving the multimedia file and the first moment; the receiving equipment plays the multimedia data according to the delay time T and the playing progress after the delay time T, so that each receiving equipment positioned on the playing link can realize synchronous playing of the multimedia file sent by the information source equipment; therefore, according to the synchronous playing method provided by the embodiment of the present invention, a user can access a bluetooth audio device as a receiving device to the playing link to implement synchronous playing of multiple bluetooth audio devices, thereby solving the problem that the bluetooth audio device in the prior art only supports audio transmission of two devices one to one and cannot implement synchronous playing of multiple bluetooth audio devices.
Example two
An embodiment of the present invention provides a bridging device 10, as shown in fig. 4, including:
a transceiving unit 101, configured to acquire multimedia data sent by an adjacent previous device; the adjacent previous device is a source device or a receiving device, and the multimedia data comprises a playing progress and a first moment corresponding to the playing progress.
The processing unit 102 is configured to determine the delay time T according to the sorting position, the second time of receiving the multimedia data, and the first time obtained by the transceiver unit 101.
The processing unit 102 is further configured to play the multimedia data according to the delay time T and the playing progress after the delay time T.
Optionally, the processing unit 102 is specifically configured to determine the delay time T according to a delay formula, a sorting position, a second time for receiving the multimedia data, and a first time obtained by the transceiver unit 101; wherein, the time delay formula includes:
T=(N-M)×t;
wherein M represents the sorting position of the bridge device in the playback link, t represents the difference between the first time and the second time, and N represents the total number of devices in the playback link.
Optionally, the multimedia data further includes video data; the transceiving unit 101 is further configured to obtain a first total grayscale value P1 of each frame image in the video data sent by the previous adjacent device.
The processing unit 102 is further configured to determine a second total grayscale value P2 of each frame image in the received video data according to the video data acquired by the transceiving unit 101.
The processing unit 102 is further configured to determine whether the first total gray-scale value P1 and the second total gray-scale value P2 of each frame image satisfy a preset condition according to the second total gray-scale value P2 and the first total gray-scale value P1 acquired by the transceiving unit 101; wherein the preset conditions include:
Figure BDA0001887822650000091
the processing unit 102 is further configured to determine that the first total gray-scale value P1 and the second total gray-scale value P2 of each frame of image satisfy a preset condition, and play the multimedia data according to the delay time T and the playing progress after the delay time T.
Optionally, the processing unit 102 is further configured to control the transceiver unit 101 to send the control information to the previous neighboring device when it is determined that the first total grayscale value P1 and the second total grayscale value P2 of each frame of image do not satisfy the preset condition, so that the previous neighboring device resends the video data to the receiving device according to the control information.
All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and the function thereof is not described herein again.
In case of an integrated module, the bridging device comprises: the device comprises a storage unit, a processing unit and a transmitting and receiving unit. The processing unit is configured to control and manage the actions of the bridge device, for example, the processing unit is configured to support the bridge device to execute the processes S101, S102, and S103 in fig. 2; the transceiver unit is used for supporting information interaction between the bridge device and other devices. A storage unit for storing program codes and data of the bridge device.
For example, the processing unit is a processor, the storage unit is a memory, and the transceiver unit is a communication interface. The bridge device shown in fig. 5 includes a communication interface 501, a processor 502, a memory 503, and a bus 504, where the communication interface 501 and the processor 502 are connected to the memory 503 through the bus 504.
The processor 502 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an Application-Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to control the execution of programs in accordance with the teachings of the present disclosure.
The Memory 503 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 503 is used for storing application program codes for executing the scheme of the application, and the processor 502 controls the execution. The communication interface 501 is used for information interaction with other devices, such as a remote controller. The processor 502 is configured to execute application program code stored in the memory 503 to implement the methods described in the embodiments of the present application.
Further, a computing storage medium (or media) is also provided, comprising instructions which, when executed, perform the method operations performed by the bridging device in the above embodiments. Additionally, a computer program product is also provided, comprising the above-described computing storage medium (or media).
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It can be understood that any one of the bridge devices provided above is used to execute a corresponding method of the embodiments provided above, and therefore, the beneficial effects that can be achieved by the bridge device may refer to the beneficial effects of the method of the first embodiment above and the corresponding scheme in the following detailed description, which are not described herein again.
EXAMPLE III
An embodiment of the present invention provides a sink device 20 including, as shown in fig. 6:
a transceiving unit 201, configured to acquire multimedia data sent by an adjacent previous device; the adjacent previous device is a source device or a receiving device, and the multimedia data comprises a playing progress and a first moment corresponding to the playing progress.
The processing unit 202 is configured to determine the delay time T according to the sorting position, the second time of receiving the multimedia data, and the first time obtained by the transceiver unit 201.
The processing unit 202 is further configured to play the multimedia data according to the delay time T and the playing schedule after the delay time T.
Optionally, the processing unit 202 is specifically configured to determine the delay time T according to a delay formula, a sorting position, a second time for receiving the multimedia data, and a first time obtained by the transceiver unit; wherein, the time delay formula includes:
T=(N-M)×t;
wherein M represents the sorting position of the bridge device in the playback link, t represents the difference between the first time and the second time, and N represents the total number of devices in the playback link.
Optionally, the multimedia data further includes video data; the transceiving unit 201 is further configured to obtain a first total grayscale value P1 of each frame image in the video data sent by the previous adjacent device.
The processing unit 202 is further configured to determine a second total gray-scale value P2 of each frame image in the received video data according to the video data acquired by the transceiving unit 201.
The processing unit 202 is further configured to determine whether the first total gray-scale value P1 and the second total gray-scale value P2 of each frame image satisfy a preset condition according to the second total gray-scale value P2 and the first total gray-scale value P1 acquired by the transceiving unit 201; wherein the preset conditions include:
Figure BDA0001887822650000121
the processing unit 202 is further configured to determine that the first total gray-scale value P1 and the second total gray-scale value P2 of each frame of image satisfy a preset condition, and play the multimedia data according to the delay time T and the playing progress after the delay time T.
Optionally, the processing unit 202 is further configured to control the transceiver unit 201 to send the control information to the previous neighboring device when it is determined that the first total grayscale value P1 and the second total grayscale value P2 of each frame of image do not satisfy the preset condition, so that the previous neighboring device resends the video data to the receiving device according to the control information.
All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and the function thereof is not described herein again.
In the case of an integrated module, the sink device comprises: the device comprises a storage unit, a processing unit and a transmitting and receiving unit. A processing unit for performing control management of the actions of the sink device, for example, the processing unit is used to support the sink device to execute the processes S101, S102, and S103 in fig. 2; the transceiving unit is used for supporting information interaction between the sink device and other devices. A storage unit for storing program codes and data of the sink device.
For example, the processing unit is a processor, the storage unit is a memory, and the interface unit is a communication interface. The sink device shown in fig. 7 includes a communication interface 601, a processor 602, a memory 603, and a bus 604, and the communication interface 601 and the processor 602 are connected to the memory 603 through the bus 604.
Processor 602 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an Application-Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to control the execution of programs in accordance with the teachings of the present disclosure.
The Memory 603 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 603 is used for storing application program codes for executing the scheme of the application, and the processor 602 controls the execution. The communication interface 601 is used for information interaction with other devices, such as a remote controller. The processor 602 is configured to execute the application program code stored in the memory 603, thereby implementing the methods described in the embodiments of the present application.
Further, a computing storage medium (or media) including instructions which, when executed, perform the method operations performed by the sink device in the above embodiments is also provided. Additionally, a computer program product is also provided, comprising the above-described computing storage medium (or media).
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It can be understood that any sink device provided above is used to perform a corresponding method of the above-provided embodiments, and therefore, the beneficial effects achieved by the sink device can refer to the beneficial effects of the method of the first embodiment above and the corresponding scheme in the following detailed description, which are not described herein again.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (12)

1. A synchronous playing method is applied to a synchronous playing system, the synchronous playing system comprises at least one playing link, the playing link comprises N series-connected devices, namely an information source device with a sequencing position of 1 and a receiving device with a sequencing position of 2 to a sequencing position of N; wherein, the receiving device with the sequence position from 2 to N comprises a bridge device with the sequence position from 2 to (N-1) and a sink device with the sequence position from N, the source device is configured to send multimedia data to the play link, N is an integer greater than or equal to 3, and the N devices connected in series are connected with each other in a bluetooth manner, which is characterized by comprising:
the receiving equipment acquires the multimedia data sent by the adjacent previous equipment; the adjacent previous device is a source device or a receiving device, and the multimedia data comprises a playing progress and a first moment corresponding to the playing progress;
the receiving equipment determines delay time T according to the sequencing position, the second moment for receiving the multimedia data and the first moment;
the receiving equipment plays the multimedia data according to the delay time T and the playing progress after the delay time T;
the multimedia data further comprises video data;
after the receiving device determines the delay time T according to the sorting position, the second time for receiving the multimedia data, and the first time, the method further includes:
the receiving device acquires a first total gray value P1 of each frame image in the video data sent by the adjacent previous device;
the receiving device determines a second total gray value P2 of each frame of image in the received video data according to the received video data;
the receiving device determines whether the first total gray value P1 and the second total gray value P2 of each frame of image meet a preset condition according to the second total gray value P2 and the first total gray value P1; wherein the preset conditions include:
Figure FDA0003063972990000011
and when the receiving equipment determines that the first total gray value P1 and the second total gray value P2 of each frame of image meet a preset condition, playing the multimedia data according to the playing progress after the time T is delayed according to the delay time T.
2. The synchronized playback method of claim 1, wherein the determining, by the receiving device, the delay time T according to the sorting position, the second time of receiving the multimedia data, and the first time comprises:
the receiving equipment determines delay time T according to a delay formula, a sequencing position, a second moment for receiving the multimedia data and the first moment; wherein the delay formula comprises:
T=(N-M)×t;
wherein M represents the sorting position of the bridge device in the playback link, t represents the difference between the first time and the second time, and N represents the total number of devices in the playback link.
3. The synchronized playback method of claim 1, further comprising:
and when the receiving device determines that the first total gray-scale value P1 and the second total gray-scale value P2 of each frame of image do not meet the preset condition, sending control information to the previous adjacent device, so that the previous adjacent device can resend the video data to the receiving device according to the control information.
4. A bridging device, comprising:
the receiving and sending unit is used for acquiring the multimedia data sent by the previous adjacent equipment; the adjacent previous device is a source device or a receiving device, the multimedia data comprises a playing progress and a first moment corresponding to the playing progress, and the adjacent devices are connected in a Bluetooth mode;
the processing unit is used for determining the delay time T according to the sequencing position, the second moment of receiving the multimedia data and the first moment obtained by the transceiving unit;
the processing unit is further configured to play the multimedia data according to the delay time T and the playing progress after the delay time T;
the multimedia data further comprises video data;
the transceiving unit is further configured to acquire a first total gray value P1 of each frame of image in the video data sent by the previous adjacent device;
the processing unit is further configured to determine a second total gray value P2 of each frame image in the received video data according to the video data acquired by the transceiving unit;
the processing unit is further configured to determine a first total gray value of each frame of image according to the second total gray value P2 and the first total gray value P1 obtained by the transceiving unitWhether the value P1 and the second total gray value P2 satisfy a preset condition; wherein the preset conditions include:
Figure FDA0003063972990000031
the processing unit is further configured to determine that the first total gray-scale value P1 and the second total gray-scale value P2 of each frame of image satisfy a preset condition, and play the multimedia data according to the delay time T after the delay time T.
5. The bridging device according to claim 4, wherein the processing unit is specifically configured to determine a delay time T according to a delay formula, a sorting position, a second time at which the multimedia data is received, and the first time acquired by the transceiver unit; wherein the delay formula comprises:
T=(N-M)×t;
wherein M represents the sorting position of the bridge device in the playback link, t represents the difference between the first time and the second time, and N represents the total number of devices in the playback link.
6. The bridge device as claimed in claim 4, wherein the processing unit is further configured to control the transceiving unit to send control information to the previous neighboring device when it is determined that the first total grayscale value P1 and the second total grayscale value P2 of each frame of image do not satisfy a preset condition, so that the previous neighboring device resends the video data to the receiving device according to the control information.
7. A sink device, comprising:
the receiving and sending unit is used for acquiring the multimedia data sent by the previous adjacent equipment; the adjacent previous device is a source device or a receiving device, the multimedia data comprises a playing progress and a first moment corresponding to the playing progress, and the adjacent devices are connected in a Bluetooth mode;
the processing unit is used for determining the delay time T according to the sequencing position, the second moment of receiving the multimedia data and the first moment obtained by the transceiving unit;
the processing unit is further configured to play the multimedia data according to the delay time T and the playing progress after the delay time T;
the multimedia data further comprises video data;
the transceiving unit is further configured to acquire a first total gray value P1 of each frame image in the video data sent by the previous adjacent device;
the processing unit is further configured to determine a second total value P2 of each frame of image in the received video data according to the video data acquired by the transceiving unit;
the processing unit is further configured to determine whether the first total gray-scale value P1 and the second total gray-scale value P2 of each frame image satisfy a preset condition according to the second total gray-scale value P2 and the first total gray-scale value P1 acquired by the transceiving unit; wherein the preset conditions include:
Figure FDA0003063972990000041
the processing unit is further configured to determine that the first total gray-scale value P1 and the second total gray-scale value P2 of each frame of image satisfy a preset condition, and play the multimedia data according to the delay time T after the delay time T.
8. The sink device of claim 7, wherein the processing unit is configured to determine a delay time T according to a delay formula, a sorting location, a second time point of receiving the multimedia data, and the first time point obtained by the transceiving unit; wherein the delay formula comprises:
T=(N-M)×t;
wherein M represents the sorting position of the bridge device in the playback link, t represents the difference between the first time and the second time, and N represents the total number of devices in the playback link.
9. The sink device as recited in claim 7, wherein the processing unit is further configured to control the transceiving unit to send control information to the previous neighboring device when it is determined that the first total gray-scale value P1 and the second total gray-scale value P2 of each frame image do not satisfy a preset condition, so that the previous neighboring device resends the video data to the receiving device according to the control information.
10. A computer storage medium comprising instructions which, when run on a computer, cause the computer to perform the synchronized playback method of any of claims 1-3 above.
11. A bridging device, comprising: communication interface, processor, memory, bus; the memory is used for storing computer execution instructions, the processor is connected with the memory through the bus, and when the bridge device runs, the processor executes the computer execution instructions stored in the memory, so that the bridge device executes the synchronous playing method according to any one of the claims 1-3.
12. A sink device, comprising: communication interface, processor, memory, bus; the memory is used for storing computer-executable instructions, the processor is connected with the memory through the bus, and when the sink device runs, the processor executes the computer-executable instructions stored by the memory so as to enable the sink device to execute the synchronous playing method according to any one of the claims 1 to 3.
CN201811456392.7A 2018-11-30 2018-11-30 Synchronous playing method, bridging equipment and sink equipment Active CN109525882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811456392.7A CN109525882B (en) 2018-11-30 2018-11-30 Synchronous playing method, bridging equipment and sink equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811456392.7A CN109525882B (en) 2018-11-30 2018-11-30 Synchronous playing method, bridging equipment and sink equipment

Publications (2)

Publication Number Publication Date
CN109525882A CN109525882A (en) 2019-03-26
CN109525882B true CN109525882B (en) 2021-08-31

Family

ID=65793975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811456392.7A Active CN109525882B (en) 2018-11-30 2018-11-30 Synchronous playing method, bridging equipment and sink equipment

Country Status (1)

Country Link
CN (1) CN109525882B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110708582B (en) * 2019-09-18 2022-01-18 深圳酷派技术有限公司 Synchronous playing method, device, electronic equipment and medium
CN112399226B (en) * 2020-10-19 2022-10-21 广州视源电子科技股份有限公司 Cross-screen playing method, device, equipment and storage medium
CN113115288A (en) * 2021-04-07 2021-07-13 维沃移动通信有限公司 Communication network system and communication method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114846A (en) * 2006-07-28 2008-01-30 技嘉科技股份有限公司 Blue tooth wireless multimedia transmission apparatus and system and method
CN103426459A (en) * 2013-08-15 2013-12-04 青海省太阳能电力有限责任公司 Bluetooth player networking system
CN103561299A (en) * 2013-10-31 2014-02-05 宇龙计算机通信科技(深圳)有限公司 Multi-media file playing method, mobile terminal and multi-media file playing system
CN103870828A (en) * 2012-12-17 2014-06-18 富泰华工业(深圳)有限公司 System and method for judging image similarity degree
CN105049905A (en) * 2015-07-31 2015-11-11 宁波萨瑞通讯有限公司 Synchronous screen content transmission method and synchronous screen content transmission device through wireless transmission
CN105046260A (en) * 2015-07-31 2015-11-11 小米科技有限责任公司 Image pre-processing method and apparatus
CN105847926A (en) * 2016-03-31 2016-08-10 乐视控股(北京)有限公司 Multimedia data synchronous playing method and device
CN108111997A (en) * 2017-12-15 2018-06-01 珠海市杰理科技股份有限公司 Bluetooth equipment audio synchronization method and system
CN108289232A (en) * 2018-01-26 2018-07-17 广东欧珀移动通信有限公司 A kind of control method of playback equipment, terminal device and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110042540A (en) * 2009-10-19 2011-04-27 삼성전자주식회사 Display apparatus, display method and display system
US8832750B2 (en) * 2012-05-10 2014-09-09 Time Warner Cable Enterprises Llc Media synchronization within home network using set-top box as gateway
CN104602109B (en) * 2014-12-26 2018-11-02 北京奇艺世纪科技有限公司 A kind of video synchronization method, apparatus and system
CN205195950U (en) * 2015-12-14 2016-04-27 先歌音响(吉安)有限公司 Bluetooth sound box
CN105828133B (en) * 2016-03-22 2019-07-02 Oppo广东移动通信有限公司 Control method for playing back and device in a kind of audio-video frequency playing system
CN206628072U (en) * 2016-10-10 2017-11-10 普天智能照明研究院有限公司 A kind of remote family data acquisition system and energy consumption acquisition system
TW201824836A (en) * 2016-12-28 2018-07-01 立創智能股份有限公司 Remote bluetooth device communication system and method thereof
CN107454479A (en) * 2017-08-22 2017-12-08 无锡天脉聚源传媒科技有限公司 A kind of processing method and processing device of multi-medium data
CN108108146A (en) * 2018-01-19 2018-06-01 深圳市沃特沃德股份有限公司 The method and playback equipment that multiple playback equipments are played simultaneously
CN108684024A (en) * 2018-04-28 2018-10-19 上海与德通讯技术有限公司 Blueteeth network system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114846A (en) * 2006-07-28 2008-01-30 技嘉科技股份有限公司 Blue tooth wireless multimedia transmission apparatus and system and method
CN103870828A (en) * 2012-12-17 2014-06-18 富泰华工业(深圳)有限公司 System and method for judging image similarity degree
CN103426459A (en) * 2013-08-15 2013-12-04 青海省太阳能电力有限责任公司 Bluetooth player networking system
CN103561299A (en) * 2013-10-31 2014-02-05 宇龙计算机通信科技(深圳)有限公司 Multi-media file playing method, mobile terminal and multi-media file playing system
CN105049905A (en) * 2015-07-31 2015-11-11 宁波萨瑞通讯有限公司 Synchronous screen content transmission method and synchronous screen content transmission device through wireless transmission
CN105046260A (en) * 2015-07-31 2015-11-11 小米科技有限责任公司 Image pre-processing method and apparatus
CN105847926A (en) * 2016-03-31 2016-08-10 乐视控股(北京)有限公司 Multimedia data synchronous playing method and device
CN108111997A (en) * 2017-12-15 2018-06-01 珠海市杰理科技股份有限公司 Bluetooth equipment audio synchronization method and system
CN108289232A (en) * 2018-01-26 2018-07-17 广东欧珀移动通信有限公司 A kind of control method of playback equipment, terminal device and storage medium

Also Published As

Publication number Publication date
CN109525882A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN109525882B (en) Synchronous playing method, bridging equipment and sink equipment
US11172264B2 (en) Method and a device for displaying an anchor competition process
CN107431860B (en) Audio system based on location service
US20120163427A1 (en) System and method for synchronous transmission of content
KR101355059B1 (en) Synchronizing media streams using time signal(s) from an independent time source
US20130347047A1 (en) Content reproduction device, content reproduction system, and content reproduction method
CN104244075B (en) A kind of sharing media information method and system
US10694199B2 (en) Method for distributed video transcoding
CN103905880A (en) Playing method of audio data and video data, smart television set and mobile equipment
CN103947221A (en) User interface display method and device using same
US20200137443A1 (en) Pre-positioning of streaming content onto communication devices for future content recommendations
CN105099594A (en) Time stamp replication within a wireless network
CN112771881A (en) Bullet screen processing method and device, electronic equipment and computer readable storage medium
KR20130111072A (en) Display system and display device thereof
CN111601175A (en) Bullet screen pushing control method, device, equipment and storage medium
CN104581340B (en) Client, stream medium data method of reseptance and stream medium data transmission system
CN103270764B (en) For the method and apparatus processing video signal
CN109756616B (en) Message processing method and device, storage medium and electronic device
CN104813303A (en) Playback synchronization
CN104396269A (en) Dynamic interstitial transitions
CN105474679A (en) Beacon frame sending method and apparatus
CN110583002A (en) HTTP adaptive streaming server, method and client terminal based on network environment monitoring
JP6193569B2 (en) RECEPTION DEVICE, RECEPTION METHOD, AND PROGRAM, IMAGING DEVICE, IMAGING METHOD, AND PROGRAM, TRANSMISSION DEVICE, TRANSMISSION METHOD, AND PROGRAM
CN103796277B (en) Method, system and device for indicating beacon frame sending and sending beacon frame
CN109819360A (en) The audio collection method and system of more wireless microphones

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant