CN110933384A - Offline play synchronous control device and control method of LED play system - Google Patents

Offline play synchronous control device and control method of LED play system Download PDF

Info

Publication number
CN110933384A
CN110933384A CN201911301843.4A CN201911301843A CN110933384A CN 110933384 A CN110933384 A CN 110933384A CN 201911301843 A CN201911301843 A CN 201911301843A CN 110933384 A CN110933384 A CN 110933384A
Authority
CN
China
Prior art keywords
played
playing
video file
time
timing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911301843.4A
Other languages
Chinese (zh)
Inventor
陈义忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ex Lighting Technology Holdings Co Ltd
Original Assignee
Shenzhen Ex Lighting Technology Holdings 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 Shenzhen Ex Lighting Technology Holdings Co Ltd filed Critical Shenzhen Ex Lighting Technology Holdings Co Ltd
Priority to CN201911301843.4A priority Critical patent/CN110933384A/en
Publication of CN110933384A publication Critical patent/CN110933384A/en
Pending legal-status Critical Current

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
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/20Adaptations for transmission via a GHz frequency band, e.g. via satellite

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention relates to an off-line playing synchronous control device and a control method of an LED playing system, wherein the device comprises: the satellite time service module is in communication connection with a satellite and acquires satellite time service data according to a preset frequency, wherein the satellite time service data comprises pulse per second and UTC time; the time conversion module is used for converting the UTC time and a preset time zone in which the LED playing system is positioned to obtain the current time; the frame positioning module is used for reading the attribute of the video file to be played, wherein the attribute comprises the playing type and the playing frame rate, and the current playing frame is determined according to the playing type and the playing frame rate of the video file to be played and the current time; and the instruction module is used for instructing the playing device to play the video file to be played from the current playing frame. According to the embodiment of the invention, the satellite time service data including the pulse per second and the UTC time are obtained as the time reference for synchronous playing control, so that the same current playing frame can be effectively positioned, and the playing synchronism is well ensured.

Description

Offline play synchronous control device and control method of LED play system
Technical Field
The embodiment of the invention relates to the technical field of LED playing control, in particular to an offline playing synchronous control device and method of an LED playing system.
Background
With the intelligent development of the LED application technology, the LED playing system is widely applied to scenic spot lighting and building decoration. In practical application, the LED playing system often encounters the situation of offline playing, when the traditional LED playing system performs offline playing, most of the video data in the reading and storing device is independently played, when a plurality of LED playing systems perform linked offline synchronous playing, the offline playing progress of the plurality of LED playing systems needs to be synchronously controlled, and currently, the main offline playing synchronous control mode mainly includes: 1. the wired control mode is that the data lines are respectively connected with the LED playing systems to carry out synchronous control, and the cost of the wired control mode is higher; 2. the synchronous control mode of the alternating current power supply can easily cause asynchronous playing due to system difference or loss of alternating current counting pulses.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide an offline playing synchronization control device for an LED playing system, which can effectively ensure the synchronization during offline playing.
The technical problem to be further solved in the embodiments of the present invention is to provide an offline playing synchronization control method for an LED playing system, which can effectively ensure synchronization during offline playing.
In order to solve the above technical problems, an embodiment of the present invention first provides the following technical solutions: an off-line playing synchronization control device of an LED playing system comprises:
the satellite time service module is used for establishing communication connection with a satellite and acquiring satellite time service data according to a preset frequency, wherein the satellite time service data comprises pulse per second and UTC time;
the time conversion module is connected with the satellite time service module and used for converting the UTC time and a preset time zone in which the LED playing system is positioned to obtain the current time;
the frame positioning module is used for reading the attribute of a video file to be played, which is prestored in the storage device, wherein the attribute comprises a playing type and a playing frame rate, and the current playing frame is determined according to the playing type and the playing frame rate of the video file to be played and the current time; and
and the instruction module is used for instructing a playing device of the LED playing system to play the video file to be played from the current playing frame.
Further, the frame positioning module comprises:
an attribute extraction unit, configured to read an attribute of a to-be-played video file pre-stored in a storage device, and determine a play type of the to-be-played video file, where the play type includes: timing playing and non-timing circulating playing;
the first positioning unit is used for determining a current playing frame of the video file to be played which is played at regular time when the video file to be played contains the video file to be played which is played at regular time and the current time is within a timing playing time period appointed by the video file to be played which is played at regular time; and
and the second positioning unit is used for determining the current playing frame of the video file to be played in the non-timing cycle playing mode when the video file to be played only comprises the video file to be played in the non-timing cycle playing mode or simultaneously comprises the video file to be played in the non-timing cycle playing mode and the video file to be played in the timing playing mode but the current time is not within the timing playing time period specified by the video file to be played in the timing playing mode.
Further, the first positioning unit includes:
the first judging subunit is used for judging whether the video file to be played contains a video file to be played which is played at regular time;
the second judging subunit is configured to, when the to-be-played video file includes a to-be-played video file that is to be played at a fixed time, judge whether the current time is within a fixed-time playing time period specified by the to-be-played video file that is to be played at the fixed time;
the first time difference value calculating subunit is configured to subtract the starting time of the timed playing time period from the current time to obtain a first time difference value when the current time is within the timed playing time period specified by the to-be-played video file to be played at the timed playing time; and
and the first complementation unit is used for complementing the total frame number of the video file to be played which is played at fixed time by the product of the first time difference value and the playing frame rate, and determining the frame ordinal number of the current playing frame according to the obtained remainder.
Further, the second positioning unit includes:
a third judging subunit, configured to judge whether the video file to be played contains a video file to be played that is played at a non-timing cycle when the video file to be played does not contain the video file to be played that is played at a timing, or when the video file to be played contains the video file to be played that is played at a timing and the current time is not within a timing playing time period specified by the video file to be played that is played at a timing;
the second time difference calculating subunit is configured to, when the to-be-played video file includes a to-be-played video file that is played in a non-timing cycle manner, obtain a second time difference by subtracting a preset basic time from the current time; and
and the second complementation unit is used for complementing the total frame number of the video file to be played which is played in the non-timing cycle by the product of the second time difference and the playing frame rate, and determining the frame ordinal number of the current playing frame according to the obtained remainder.
Further, the video file to be played includes a plurality of video files to be played that are played in a non-timing cycle, and the second complementation unit is used for complementing the total frame number of the plurality of video files to be played that are played in a non-timing cycle by the product of the second time difference and the playing frame rate.
On the other hand, the embodiment of the invention also provides an offline play synchronization control method of the LED play system, which comprises the following steps:
establishing communication connection with a satellite, and acquiring satellite time service data according to a preset frequency, wherein the satellite time service data comprises pulse per second and UTC time;
converting the UTC time and a preset time zone in which the LED playing system is located to obtain the current time;
reading attributes of a video file to be played, which are prestored in a storage device, wherein the attributes comprise a playing type and a playing frame rate, and determining a current playing frame according to the playing type and the playing frame rate of the video file to be played and the current time;
and instructing a playing device of the LED playing system to play the video file to be played from the current playing frame.
Further, the reading of the attribute of the video file to be played, which is pre-stored in the storage device, includes a play type and a play frame rate, and the determining of the current play frame according to the play type and the play frame rate of the video file to be played and the current time specifically includes:
reading the attribute of a video file to be played prestored in a storage device, and judging the playing type of the video file to be played, wherein the playing type comprises the following steps: timing playing and non-timing circulating playing;
when the video file to be played contains a video file to be played at a fixed time and the current time is within a fixed time playing time period specified by the video file to be played at the fixed time, determining a current playing frame of the video file to be played at the fixed time;
and when the video file to be played only comprises the video file to be played which is played in a non-timing cycle manner, or simultaneously comprises the video file to be played which is played in a non-timing cycle manner and the video file to be played which is played in a timing manner, but the current time is not within the timing playing time period specified by the video file to be played which is played in a timing manner, determining the current playing frame of the video file to be played which is played in a non-timing cycle manner.
Further, when the to-be-played video file includes a to-be-played video file that is played at a fixed time and the current time is within a fixed-time playing time period specified by the to-be-played video file that is played at the fixed time, determining the current playing frame of the to-be-played video file that is played at the fixed time specifically includes:
judging whether the video file to be played contains a video file to be played which is played at regular time;
when the video file to be played contains a video file to be played at a fixed time, judging whether the current time is within a fixed-time playing time period specified by the video file to be played at the fixed time;
when the current time is within a timing playing time period appointed by a video file to be played and played at a timing, subtracting the starting time of the timing playing time period from the current time to obtain a first time difference value;
and the product of the first time difference value and the playing frame rate is used for complementing the total frame number of the video file to be played which is played at fixed time, and the frame number of the current playing frame is determined according to the obtained remainder.
Further, when the to-be-played video file only includes the to-be-played video file to be played in a non-timing loop manner, or includes both the to-be-played video file to be played in a non-timing loop manner and the to-be-played video file to be played in a timing manner, but the current time is not within the timing playing time period specified by the to-be-played video file to be played in a timing manner, determining the current playing frame of the to-be-played video file to be played in a non-timing loop manner specifically includes:
when the video file to be played does not contain the video file to be played in a timing manner or the video file to be played contains the video file to be played in a timing manner but the current time is not within a timing playing time period specified by the video file to be played in a timing manner, judging whether the video file to be played contains the video file to be played in a non-timing circular manner;
when the video file to be played contains a video file to be played which is played in a non-timing cycle manner, subtracting a preset basic time from the current time to obtain a second time difference value;
and the product of the second time difference value and the playing frame rate is used for solving the remainder of the total number of the video files to be played which are played in the non-timing cycle, and the frame ordinal number of the current playing frame is determined according to the obtained remainder.
Further, the video file to be played comprises a plurality of video files to be played which are played in a non-timing cycle manner, and the product of the second time difference value and the playing frame rate is used for complementing the total frame number of the video files to be played which are played in the non-timing cycle manner.
By adopting the technical scheme, the embodiment of the invention at least has the following beneficial effects: according to the embodiment of the invention, the satellite time service data including the pulse per second and the UTC time is acquired by establishing communication connection with the satellite, and each off-line playing LED playing system takes the satellite time service data as the time reference for synchronous playing control, so that the same current playing frame can be effectively positioned, and the playing synchronism is well ensured.
Drawings
Fig. 1 is a schematic block diagram of an alternative embodiment of an offline play synchronization control apparatus of an LED play system according to the present invention.
Fig. 2 is a schematic block diagram of a frame alignment module in another alternative embodiment of the offline play synchronization control apparatus of the LED play system according to the present invention.
Fig. 3 is a schematic block diagram of a first positioning unit in yet another alternative embodiment of the offline play synchronization control apparatus of the LED play system of the present invention.
Fig. 4 is a schematic block diagram of a first positioning unit in yet another alternative embodiment of the offline play synchronization control apparatus of the LED play system according to the present invention.
Fig. 5 is a schematic diagram of specific process steps of an alternative embodiment of the offline playing synchronization control method of the LED playing system according to the present invention.
Fig. 6 is a schematic diagram of the detailed flow of step S3 in an alternative embodiment of the offline playing synchronization control method of the LED playing system according to the present invention.
Fig. 7 is a schematic diagram of the detailed flow of step S32 in an alternative embodiment of the offline playing synchronization control method of the LED playing system according to the present invention.
Fig. 8 is a schematic diagram of the detailed flow of step S33 in an alternative embodiment of the offline playing synchronization control method of the LED playing system according to the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples. It is to be understood that the following illustrative embodiments and description are only intended to illustrate the present invention, and are not intended to limit the present invention, and features of the embodiments and examples of the present invention may be combined with each other without conflict.
As shown in fig. 1, an optional embodiment of the present invention provides an offline play synchronization control apparatus 1 for an LED play system, including:
a satellite Time service module 10, configured to establish a communication connection with a satellite 3, and obtain satellite Time service data according to a predetermined frequency, where the satellite Time service data includes Pulse Per Second (PPS, abbreviated as Pulse number/Second) and UTC Time (Universal Time Coordinated);
the time conversion module 12 is connected with the satellite time service module 10 and is used for obtaining current time through conversion according to the UTC time and a preset time zone in which the LED playing system is located;
the frame positioning module 14 is configured to read an attribute of a video file to be played, which is pre-stored in the storage device 5, where the attribute includes a play type and a play frame rate, and determine a current play frame according to the play type and the play frame rate of the video file to be played and the current time; and
and the instruction module 16 is configured to instruct the playing device 7 of the LED playing system to start playing the video file to be played from the current playing frame.
The embodiment of the invention establishes communication connection with a satellite 3 through a satellite time service module 10 so as to obtain satellite time service data including a second pulse and UTC time, wherein the second pulse is a trigger point of the end of the whole second time and the start of a new second time and is used for synchronously controlling time alignment of a system and simultaneously telling the system to prepare to receive the new UTC time. Each off-line playing LED playing system uses the satellite time service data as a time reference for controlling synchronous playing, obtains current time through time conversion by the time conversion module 12, and can effectively position the same current playing frame by the frame positioning module 14, and finally instructs the playing device 7 to play from the current playing frame by the instruction module 16, thereby well ensuring the playing synchronization.
In another alternative embodiment of the present invention, as shown in fig. 2, the frame alignment module 14 includes:
an attribute extracting unit 140, configured to read an attribute of a to-be-played video file pre-stored in the storage device 5, and determine a playing type of the to-be-played video file, where the playing type includes: timing playing and non-timing circulating playing;
the first positioning unit 142 is configured to determine a current playing frame of the video file to be played at a fixed time when the video file to be played contains the video file to be played at the fixed time and the current time is within a fixed time playing time period specified by the video file to be played at the fixed time; and
the second positioning unit 144 is configured to determine a current playing frame of the to-be-played video file that is played in the non-timing loop when the to-be-played video file only includes the to-be-played video file that is played in the non-timing loop, or includes both the to-be-played video file that is played in the non-timing loop and the to-be-played video file that is played in the timing loop and when the current time is not within the timing playing time period specified by the to-be-played video file that is played in the timing loop.
In the embodiment, the playing type is determined by distinguishing the attributes of the video file to be played, so that the first positioning unit 142 and the second positioning unit 144 respectively process the video file to be played according to different playing types, the current playing frame can be determined quickly, and the playing synchronization is better. It can be understood that the video files played at regular time all designate corresponding regular playing time periods, and if the total playing time length of the video files is equal to or longer than the regular playing time period, a single non-circular playing is performed within the regular playing time period; if the total playing time of the video file is shorter than the timing playing time period, the video file can be played circularly in the timing playing time period. And for the video file which is not played circularly at the fixed time, the video file is played circularly in a time period which is not the time period of playing circularly at the fixed time.
In yet another alternative embodiment of the present invention, as shown in fig. 3, the first positioning unit 142 includes:
a first determining subunit 1420, configured to determine whether the video file to be played includes a video file to be played that is played at a fixed time;
a second determining subunit 1422, configured to determine, when the to-be-played video file includes a to-be-played video file that is to be played at a fixed time, whether current time is within a fixed-time playing time period specified by the to-be-played video file that is to be played at the fixed time;
a first time difference value operator unit 1424, configured to subtract, by the current time, the start time of the timed playing time period from the current time when the current time is within the timed playing time period specified by the video file to be played and played at a timed time, to obtain a first time difference value; and
the first remainder unit 1426, for adding the product of the first time difference and the playing frame rate to the total number of frames of the video file to be played at regular time, and determining the frame number of the current playing frame according to the obtained remainder.
In this embodiment, the first determining subunit 1420 and the second determining subunit 1422 determine twice in sequence to determine whether to play the video file to be played at the fixed time, and then the first time difference calculating subunit 1424 obtains the first time difference, and finally the first remainder unit 1426 performs the remainder operation, and according to the obtained remainder, the frame number of the currently played frame can be efficiently obtained, where the remainder is a non-zero number, the remainder is a frame number, and when the first time difference is zero or the remainder is zero, the 1 st frame can be determined as the currently played frame in a predefined manner, so as to ensure the playing synchronization of the video file to be played at the fixed time.
For ease of understanding, the following are illustrated: suppose that a video file to be played with an attribute of timing play has 12000 frames in total, the playing frame rate is set to 30 frames/second, and the predetermined timing playing time period of the video file is 9:00:00 to 9:10:00 in the morning of the local time. Assuming that the pulse per second and the UTC time are received by the satellite time service module 10 at a certain moment, the current time is determined to be 9:01:01 through conversion; the first time difference is calculated to be 61 seconds, the product of the first time difference and the playing frame rate is equal to 61x30 ═ 1830, the product 1830 is used to complement the total number of frames to be played to 12000, and the remainder is 1830, which indicates that at the time point of the current time, the 1830 th frame in the video file to be played is played.
In yet another alternative embodiment of the present invention, as shown in fig. 4, the second positioning unit 144 includes:
a third determining subunit 1440, configured to determine whether the to-be-played video file contains a to-be-played video file that is played at a non-timing cycle when the to-be-played video file does not contain a to-be-played video file that is played at a timing, or when the to-be-played video file contains a to-be-played video file that is played at a timing and the current time is not within a timing playing time period specified by the to-be-played video file that is played at a timing;
a second time difference value operator unit 1442, configured to obtain a second time difference value by subtracting a preset basic time from the current time when the to-be-played video file includes a to-be-played video file that is played in a non-timing loop manner; and
a second complementation unit 1444, for complementing the total number of frames of the video file to be played that is played in the non-timing cycle by the product of the second time difference and the playing frame rate, and determining the frame ordinal number of the currently played frame according to the obtained remainder.
In this embodiment, the parameter of the preset basic time required by the second time difference value calculating subunit 1442 to calculate the second time difference value generally refers to the starting time of the LED playing system starting playing in one day, for example: if a certain LED playing system starts playing from 8 o' clock in the morning, 8:00:00 is used as the preset basic time, and if a certain LED playing system is playing continuously for 24 hours, zero hour (i.e. 00:00:00) is used as the preset basic time. The complementation process of the second complementation unit 1444 is the same as the complementation process of the first complementation unit 1426 of the first positioning unit 142. The principle and process of data operation of the second positioning unit 144 involved in the present embodiment can be understood by referring to the example when the first positioning unit 142 is described.
In this embodiment, when the timing playing video file does not need to be played, the third determining subunit 1440 determines whether the video file to be played includes a video file to be played that is played in a non-timing loop manner, and then the second time difference calculating subunit 1442 obtains a second time difference, and finally the second remainder unit 1424 performs a remainder operation, so as to efficiently obtain the frame number of the current playing frame, thereby ensuring that the playing synchronization of the video file to be played that is played in a non-timing loop manner is strong.
In another optional embodiment of the present invention, the to-be-played video file includes a plurality of to-be-played video files that are played in a non-timing cycle, and the second complementation unit 1444 complements a total frame number of the to-be-played video files that are played in a non-timing cycle by a product of the second time difference and the playing frame rate. According to the embodiment, when the video file to be played contains a plurality of video files to be played which are played in a non-timing cycle manner, the frame sequence of the current playing frame can be rapidly calculated, and the playing synchronism of the plurality of video files to be played which are played in a non-timing cycle manner is ensured.
On the other hand, as shown in fig. 5, an alternative embodiment of the present invention further provides an offline playing synchronization control method for an LED playing system, including the following steps:
step S1, establishing communication connection with a satellite, and acquiring satellite time service data according to a preset frequency, wherein the satellite time service data comprises pulse per second and UTC time;
step S2, converting the UTC time and the preset time zone of the LED playing system to obtain the current time;
step S3, reading the attribute of the video file to be played pre-stored in the storage device, wherein the attribute comprises the playing type and the playing frame rate, and determining the current playing frame according to the playing type and the playing frame rate of the video file to be played and the current time;
step S4, instruct the playing device of the LED playing system to start playing the video file to be played from the current playing frame.
According to the embodiment of the invention, the satellite time service data including the pulse per second and the UTC time is acquired by establishing communication connection with the satellite 3, each off-line playing LED playing system takes the satellite time service data as the time reference for synchronous playing control, the current time is acquired by conversion, the same current playing frame can be effectively positioned, and finally the playing device 7 can be instructed to play from the current playing frame, so that the playing synchronism is well ensured.
In another alternative embodiment of the present invention, as shown in fig. 6, the step S3 specifically includes:
step S31, reading the attribute of the video file to be played pre-stored in the storage device, and determining the playing type of the video file to be played, where the playing type includes: timing playing and non-timing circulating playing;
step S32, when the video file to be played contains a video file to be played in a timing manner and the current time is within a timing playing time period specified by the video file to be played in the timing manner, determining a current playing frame of the video file to be played in the timing manner;
step S33, when the video file to be played only includes the video file to be played in the non-timing loop play mode, or includes both the video file to be played in the non-timing loop play mode and the video file to be played in the timing play mode, but the current time is not within the timing play time period specified by the video file to be played in the timing play mode, determining the current play frame of the video file to be played in the non-timing loop play mode.
According to the method and the device, the playing type is determined by distinguishing the attributes of the video files to be played, so that the video files to be played in different types are processed respectively, the current playing frame can be determined quickly, and the playing synchronism is better.
In another optional embodiment of the present invention, as shown in fig. 7, the step S32 specifically includes:
step S321, determining whether the video file to be played includes a video file to be played that is played at regular time;
step S322, when the video file to be played contains the video file to be played in a timing manner, judging whether the current time is within a timing playing time period appointed by the video file to be played in the timing manner;
step S323, when the current time is in the timing playing time period appointed by the video file to be played in the timing playing, subtracting the starting time of the timing playing time period from the current time to obtain a first time difference value;
step S324, the product of the first time difference and the playing frame rate is used to complement the total number of frames of the video file to be played, which is played at regular time, and the frame sequence of the current playing frame is determined according to the remainder.
In the embodiment, whether the video file to be played which is played at the fixed time needs to be played is determined by judging twice, then the first time difference value is obtained by recalculation, and finally the total frame number of the video file to be played which is played at the fixed time is complemented by the product of the first time difference value and the playing frame rate, so that the frame sequence of the current playing frame can be efficiently obtained, and the playing synchronism of the video file to be played which is played at the fixed time is ensured.
In yet another alternative embodiment of the present invention, as shown in fig. 8, the step S33 specifically includes:
step S331, when the to-be-played video file does not contain a to-be-played video file to be played in a timed mode or the to-be-played video file contains the to-be-played video file to be played in a timed mode but the current time is not within a timed playing time period specified by the to-be-played video file to be played in a timed mode, judging whether the to-be-played video file contains the to-be-played video file to be played in a non-timed circular mode;
step S332, when the video file to be played contains a video file to be played which is played in a non-timing cycle manner, subtracting a preset basic time from the current time to obtain a second time difference value;
step S333, the product of the second time difference and the playing frame rate is used for solving the remainder of the total number of the video files to be played which are played in the non-timing cycle, and the frame ordinal number of the current playing frame is determined according to the obtained remainder.
In this embodiment, when the video file to be played in the non-timing cycle is not required to be played, whether the video file to be played includes the video file to be played in the non-timing cycle is determined, a second time difference is obtained through calculation, and finally the product of the second time difference and the playing frame rate is used to add up the total number of frames of the video file to be played in the non-timing cycle, so that the frame sequence of the current playing frame can be efficiently obtained, and the playing synchronization of the video file to be played in the non-timing cycle can be ensured.
In another optional embodiment of the present invention, the to-be-played video file includes a plurality of to-be-played video files that are played in a non-timing cycle, and a product of the second time difference and the playing frame rate is used to add up a total frame number of the to-be-played video files that are played in the non-timing cycle. According to the embodiment, when the video file to be played contains a plurality of video files to be played which are played in a non-timing cycle manner, the frame sequence of the current playing frame can be rapidly calculated, and the playing synchronism of the plurality of video files to be played which are played in a non-timing cycle manner is ensured.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and many modifications may be made by one skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An off-line playing synchronization control device of an LED playing system is characterized by comprising:
the satellite time service module is used for establishing communication connection with a satellite and acquiring satellite time service data according to a preset frequency, wherein the satellite time service data comprises pulse per second and UTC time;
the time conversion module is connected with the satellite time service module and used for converting the UTC time and a preset time zone in which the LED playing system is positioned to obtain the current time;
the frame positioning module is used for reading the attribute of a video file to be played, which is prestored in the storage device, wherein the attribute comprises a playing type and a playing frame rate, and the current playing frame is determined according to the playing type and the playing frame rate of the video file to be played and the current time; and
and the instruction module is used for instructing a playing device of the LED playing system to play the video file to be played from the current playing frame.
2. The offline play synchronization control apparatus for LED play systems according to claim 1, wherein said frame positioning module comprises:
an attribute extraction unit, configured to read an attribute of a to-be-played video file pre-stored in a storage device, and determine a play type of the to-be-played video file, where the play type includes: timing playing and non-timing circulating playing;
the first positioning unit is used for determining a current playing frame of the video file to be played which is played at regular time when the video file to be played contains the video file to be played which is played at regular time and the current time is within a timing playing time period appointed by the video file to be played which is played at regular time; and
and the second positioning unit is used for determining the current playing frame of the video file to be played in the non-timing cycle playing mode when the video file to be played only comprises the video file to be played in the non-timing cycle playing mode or simultaneously comprises the video file to be played in the non-timing cycle playing mode and the video file to be played in the timing playing mode but the current time is not within the timing playing time period specified by the video file to be played in the timing playing mode.
3. The offline play synchronization control apparatus for an LED play system according to claim 2, wherein said first positioning unit comprises:
the first judging subunit is used for judging whether the video file to be played contains a video file to be played which is played at regular time;
the second judging subunit is configured to, when the to-be-played video file includes a to-be-played video file that is to be played at a fixed time, judge whether the current time is within a fixed-time playing time period specified by the to-be-played video file that is to be played at the fixed time;
the first time difference value calculating subunit is configured to subtract the starting time of the timed playing time period from the current time to obtain a first time difference value when the current time is within the timed playing time period specified by the to-be-played video file to be played at the timed playing time; and
and the first complementation unit is used for complementing the total frame number of the video file to be played which is played at fixed time by the product of the first time difference value and the playing frame rate, and determining the frame ordinal number of the current playing frame according to the obtained remainder.
4. The offline play synchronization control apparatus for an LED play system according to claim 3, wherein said second positioning unit comprises:
a third judging subunit, configured to judge whether the video file to be played contains a video file to be played that is played at a non-timing cycle when the video file to be played does not contain the video file to be played that is played at a timing, or when the video file to be played contains the video file to be played that is played at a timing and the current time is not within a timing playing time period specified by the video file to be played that is played at a timing;
the second time difference calculating subunit is configured to, when the to-be-played video file includes a to-be-played video file that is played in a non-timing cycle manner, obtain a second time difference by subtracting a preset basic time from the current time; and
and the second complementation unit is used for complementing the total frame number of the video file to be played which is played in the non-timing cycle by the product of the second time difference and the playing frame rate, and determining the frame ordinal number of the current playing frame according to the obtained remainder.
5. The offline playing synchronization control device of LED playing system according to claim 4, wherein said video file to be played comprises a plurality of video files to be played that are played in non-timed cycle, and said second complementation unit is used to complement the total frame number of said video files to be played that are played in non-timed cycle by the product of said second time difference and the playing frame rate.
6. An off-line playing synchronous control method of an LED playing system is characterized by comprising the following steps:
establishing communication connection with a satellite, and acquiring satellite time service data according to a preset frequency, wherein the satellite time service data comprises pulse per second and UTC time;
converting the UTC time and a preset time zone in which the LED playing system is located to obtain the current time;
reading attributes of a video file to be played, which are prestored in a storage device, wherein the attributes comprise a playing type and a playing frame rate, and determining a current playing frame according to the playing type and the playing frame rate of the video file to be played and the current time;
and instructing a playing device of the LED playing system to play the video file to be played from the current playing frame.
7. The offline playing synchronization control method of an LED playing system according to claim 6, wherein said reading the attributes of the video file to be played pre-stored in the storage device, said attributes including the playing type and the playing frame rate, and said determining the current playing frame according to the playing type and the playing frame rate of the video file to be played and the current time specifically comprises:
reading the attribute of a video file to be played prestored in a storage device, and judging the playing type of the video file to be played, wherein the playing type comprises the following steps: timing playing and non-timing circulating playing;
when the video file to be played contains a video file to be played at a fixed time and the current time is within a fixed time playing time period specified by the video file to be played at the fixed time, determining a current playing frame of the video file to be played at the fixed time;
and when the video file to be played only comprises the video file to be played which is played in a non-timing cycle manner, or simultaneously comprises the video file to be played which is played in a non-timing cycle manner and the video file to be played which is played in a timing manner, but the current time is not within the timing playing time period specified by the video file to be played which is played in a timing manner, determining the current playing frame of the video file to be played which is played in a non-timing cycle manner.
8. The offline playing synchronization control method for an LED playing system according to claim 7, wherein the determining that the current playing frame of the video file to be played at the timing is within the timing playing time period specified by the video file to be played at the timing comprises:
judging whether the video file to be played contains a video file to be played which is played at regular time;
when the video file to be played contains a video file to be played at a fixed time, judging whether the current time is within a fixed-time playing time period specified by the video file to be played at the fixed time;
when the current time is within a timing playing time period appointed by a video file to be played and played at a timing, subtracting the starting time of the timing playing time period from the current time to obtain a first time difference value;
and the product of the first time difference value and the playing frame rate is used for complementing the total frame number of the video file to be played which is played at fixed time, and the frame number of the current playing frame is determined according to the obtained remainder.
9. The offline playing synchronization control method for the LED playing system according to claim 8, wherein the determining of the currently playing frame of the to-be-played video file played in the non-timing cycle when the to-be-played video file only contains the to-be-played video file played in the non-timing cycle, or contains the to-be-played video file played in the non-timing cycle and the to-be-played video file played in the timing cycle at the same time, but the current time is not within the timing playing time period specified by the to-be-played video file played in the timing cycle specifically includes:
when the video file to be played does not contain the video file to be played in a timing manner or the video file to be played contains the video file to be played in a timing manner but the current time is not within a timing playing time period specified by the video file to be played in a timing manner, judging whether the video file to be played contains the video file to be played in a non-timing circular manner;
when the video file to be played contains a video file to be played which is played in a non-timing cycle manner, subtracting a preset basic time from the current time to obtain a second time difference value;
and the product of the second time difference value and the playing frame rate is used for solving the remainder of the total number of the video files to be played which are played in the non-timing cycle, and the frame ordinal number of the current playing frame is determined according to the obtained remainder.
10. The offline playing synchronization control method of LED playing system according to claim 9, wherein said video file to be played comprises a plurality of video files to be played that are played in non-timed cycle, and the product of said second time difference and the playing frame rate is used to add up the total frame number of said video files to be played that are played in non-timed cycle.
CN201911301843.4A 2019-12-17 2019-12-17 Offline play synchronous control device and control method of LED play system Pending CN110933384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911301843.4A CN110933384A (en) 2019-12-17 2019-12-17 Offline play synchronous control device and control method of LED play system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911301843.4A CN110933384A (en) 2019-12-17 2019-12-17 Offline play synchronous control device and control method of LED play system

Publications (1)

Publication Number Publication Date
CN110933384A true CN110933384A (en) 2020-03-27

Family

ID=69863974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911301843.4A Pending CN110933384A (en) 2019-12-17 2019-12-17 Offline play synchronous control device and control method of LED play system

Country Status (1)

Country Link
CN (1) CN110933384A (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040155756A1 (en) * 2003-02-12 2004-08-12 Liu Sung Ying Synchronous/programmed flare control method
JP2006157869A (en) * 2004-10-26 2006-06-15 Sony Corp Information processing apparatus and method, recording medium, and program
CN101957593A (en) * 2008-06-12 2011-01-26 湖北省电力试验研究院 Time information detection method of output signal of satellite synchronization time service device
CN201892836U (en) * 2010-12-07 2011-07-06 湖南华自科技有限公司 GPS (global position system) satellite synchronous clock
CN102288838A (en) * 2011-07-21 2011-12-21 华中科技大学 VHF frequency-range intracloud lightning detecting and positioning system
CN102487570A (en) * 2011-09-06 2012-06-06 徐大江 Intelligent street lamp wireless control system and method thereof
CN102915222A (en) * 2012-09-20 2013-02-06 四川九洲电器集团有限责任公司 Time synchronization method for plurality of lighting master controllers and realization device of time synchronization method
CN103096578A (en) * 2012-10-29 2013-05-08 四川九洲电器集团有限责任公司 DXM 512 lamp control device with time synchronization function of global position system (GPS) and control method
CN203133590U (en) * 2013-03-14 2013-08-14 武汉大学 Vehicle-mounted synchronous controller
CN104200823A (en) * 2014-08-27 2014-12-10 西安诺瓦电子科技有限公司 Offline playing control device, system and method, as well as LED (Light Emitting Diode) display screen system
CN104316938A (en) * 2014-09-25 2015-01-28 上海欧科微航天科技有限公司 Novel satellite simulator for low-earth-orbit satellite quasi-synchronous communication system
CN106371310A (en) * 2016-12-05 2017-02-01 山东大学 Beidou based unified time-service system device of traffic signal lamps and working method of device
CN106814602A (en) * 2017-04-14 2017-06-09 中国科学院长春光学精密机械与物理研究所 A kind of is the method and system of power system time service
CN109688676A (en) * 2018-12-29 2019-04-26 湖南太赫兹电子科技有限公司 A kind of lamp dimmer using low precision without source crystal oscillator and GPS positioning module
CN109995454A (en) * 2019-04-29 2019-07-09 上海窗魅光学科技有限公司 The system and method for wireless synchronization function are realized based on GPS
CN109996117A (en) * 2019-03-04 2019-07-09 青岛海信传媒网络技术有限公司 A kind of method and apparatus obtaining streaming media playing duration

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040155756A1 (en) * 2003-02-12 2004-08-12 Liu Sung Ying Synchronous/programmed flare control method
JP2006157869A (en) * 2004-10-26 2006-06-15 Sony Corp Information processing apparatus and method, recording medium, and program
CN101957593A (en) * 2008-06-12 2011-01-26 湖北省电力试验研究院 Time information detection method of output signal of satellite synchronization time service device
CN201892836U (en) * 2010-12-07 2011-07-06 湖南华自科技有限公司 GPS (global position system) satellite synchronous clock
CN102288838A (en) * 2011-07-21 2011-12-21 华中科技大学 VHF frequency-range intracloud lightning detecting and positioning system
CN102487570A (en) * 2011-09-06 2012-06-06 徐大江 Intelligent street lamp wireless control system and method thereof
CN102915222A (en) * 2012-09-20 2013-02-06 四川九洲电器集团有限责任公司 Time synchronization method for plurality of lighting master controllers and realization device of time synchronization method
CN103096578A (en) * 2012-10-29 2013-05-08 四川九洲电器集团有限责任公司 DXM 512 lamp control device with time synchronization function of global position system (GPS) and control method
CN203133590U (en) * 2013-03-14 2013-08-14 武汉大学 Vehicle-mounted synchronous controller
CN104200823A (en) * 2014-08-27 2014-12-10 西安诺瓦电子科技有限公司 Offline playing control device, system and method, as well as LED (Light Emitting Diode) display screen system
CN104316938A (en) * 2014-09-25 2015-01-28 上海欧科微航天科技有限公司 Novel satellite simulator for low-earth-orbit satellite quasi-synchronous communication system
CN106371310A (en) * 2016-12-05 2017-02-01 山东大学 Beidou based unified time-service system device of traffic signal lamps and working method of device
CN106814602A (en) * 2017-04-14 2017-06-09 中国科学院长春光学精密机械与物理研究所 A kind of is the method and system of power system time service
CN109688676A (en) * 2018-12-29 2019-04-26 湖南太赫兹电子科技有限公司 A kind of lamp dimmer using low precision without source crystal oscillator and GPS positioning module
CN109996117A (en) * 2019-03-04 2019-07-09 青岛海信传媒网络技术有限公司 A kind of method and apparatus obtaining streaming media playing duration
CN109995454A (en) * 2019-04-29 2019-07-09 上海窗魅光学科技有限公司 The system and method for wireless synchronization function are realized based on GPS

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张宝全等: "卫星信号捕获跟踪仿真与卫星授时的实现", 《软件》 *
张红升: "基于数字多媒体广播的考场同步时钟设计", 《实验室研究与探索》 *
陆伟国: "基于K64_MCU的多功能LED幕墙控制器的设计及应用", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 *

Similar Documents

Publication Publication Date Title
CN105024777B (en) Servo-driver synchronous method based on EtherCAT real-time ethernets
CN102394797B (en) Embedded automatic network communication device test method and system
CN107465474B (en) The clock synchronization system and method for digital control system bus apparatus
CN108696584A (en) A kind of control method of client terminal, client, electronic equipment and medium
CN103888748A (en) Video frame synchronization method for numerous-viewpoint three-dimensional display system
US10254108B2 (en) Optical measurement device
CN109581415A (en) A kind of synchronous apparatus and method calculated and time service controls based on GNSS
CN111107248B (en) Multi-channel video acquisition synchronization system and method and acquisition controller
CN107479426B (en) A kind of synchronous performance control system of robot and method
CN103838149B (en) Microcomputer
CN110161983A (en) Control device, control system, control method and storage medium
CN112019835B (en) Frame rate verification device and method for dynamic vision sensor module and storage medium
CN112804022A (en) Multi-source signal synchronization system and method thereof
CN109981205A (en) The transmission method and system of 1PPS+TOD signal
CN109471588A (en) A kind of synchronous method and equipment
CN110933384A (en) Offline play synchronous control device and control method of LED play system
CN116886247B (en) Baud rate self-adaption method and device based on UART communication, UART system and medium
CN108513401A (en) A kind of the large scene control system and its implementation of real-time synchronization
JP2008187235A (en) Network system and slave synchronization method
CN115484355A (en) Multi-path camera synchronization method and device
JP3960089B2 (en) Control device, controlled device, local control device and control system
CN106850596B (en) Data acquisition system and method
CN109669366B (en) Control method and device
CN114679249A (en) EtherCAT communication synchronization method and device
CN113133097B (en) Wireless communication method and system

Legal Events

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

Application publication date: 20200327