CN112637686A - Program playing method and device - Google Patents

Program playing method and device Download PDF

Info

Publication number
CN112637686A
CN112637686A CN202010801744.9A CN202010801744A CN112637686A CN 112637686 A CN112637686 A CN 112637686A CN 202010801744 A CN202010801744 A CN 202010801744A CN 112637686 A CN112637686 A CN 112637686A
Authority
CN
China
Prior art keywords
playing
page
target
time
program
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
CN202010801744.9A
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.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic Technology 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202010801744.9A priority Critical patent/CN112637686A/en
Publication of CN112637686A publication Critical patent/CN112637686A/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/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/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/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/47202End-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 requesting content on demand, e.g. video on demand

Abstract

The embodiment of the invention discloses a program playing method and a program playing device. The program playing method includes, for example: responding to a synchronous playing command, acquiring network time, and updating the system time of the local computer based on the network time; determining a target playing page of the current playing program and a target playing position of the target playing page according to a preset playing rule, the system time of the local computer and the page playing time of each page of the current playing program; and starting to play the target playing page from the target playing position. The program playing method provided by the embodiment of the invention can realize the synchronous playing of the programs according to the synchronous playing instruction, and improves the watching experience of audiences.

Description

Program playing method and device
Technical Field
The present invention relates to the field of program broadcasting control technologies, and in particular, to a program broadcasting method and a program broadcasting apparatus.
Background
At present, display screens such as LED display screens are more and more widely used, and a current display screen control system generally includes an upper computer, a terminal and a display screen, where the upper computer, i.e. a command issuing terminal such as a PC, is used to control the terminal, i.e. the playing of a program of a playing terminal, so that the terminal outputs a corresponding program to the display screen for display. For public places with more display screens, such as airports, stations, malls and the like, advertisers generally want all the display screens in the public places to be consistent in playing pictures, that is, the effect of synchronously playing each display screen is achieved, and therefore the viewing experience of audiences is improved.
Therefore, how to implement synchronous playing of programs is a technical problem to be solved urgently at present.
Disclosure of Invention
Therefore, to overcome the defects and shortcomings of the prior art, embodiments of the present invention provide a program playing method and a program playing apparatus.
In one aspect, a method for playing a program provided in an embodiment of the present invention includes: responding to a synchronous playing command, acquiring network time, and updating the system time of the local computer based on the network time; determining a target playing page of the current playing program and a target playing position of the target playing page according to a preset playing rule, the system time of the local computer and the page playing time of each page of the current playing program; and starting to play the target playing page from the target playing position.
In the scheme, the program playing method responds to the synchronous playing command to acquire the network time and updates the system time of the local computer based on the network time; determining a target playing page of the current playing program and a target playing position of the target playing page according to a preset playing rule, the system time of the local computer and the page playing time of each page of the current playing program; and starting to play the target playing page from the target playing position, so that each program playing terminal can determine the target playing page and the target playing position of the target playing page according to a preset playing rule, the system time of the local machine and the page playing time of each page, thereby realizing the consistency of the played contents of each program playing terminal, realizing the synchronous playing of the programs and improving the watching experience of audiences.
In an embodiment of the present invention, the determining a target playback page of a currently played program and a target playback position of the target playback page according to a preset playback rule, the local system time, and a page playback time length of each page of the currently played program includes: determining the playing start time of each page before the system time of the local machine according to the preset playing rule and the page playing duration of each page; determining a page corresponding to the latest playing starting time closest to the local system time in the playing starting time as the target playing page; determining the played time length of the target playing page according to the latest playing starting time and the system time of the local machine; and determining the playing position of the target playing page corresponding to the played time length as the target playing position.
In one embodiment of the present invention, the target playback page includes at least one media; after the target playing page is played from the target playing position, the program playing method further includes: judging whether the type of a target media in the at least one media is a video; and responding to the fact that the target media in the at least one media are videos, and periodically correcting the playing progress of the target media. In this case, the embodiment of the present invention further realizes the synchronous playing of the programs by correcting the playing progress of the media of which the type is a video.
In an embodiment of the present invention, the periodically correcting the playing progress of the target media specifically includes: acquiring the current system time of the local computer, the total image frame number of the target media and the current playing image frame number of the target media; determining the expected playing image frame number of the target media according to the latest playing start time, the current local system time, the media playing duration of the target media and the total image frame number; and responding to the expected playing image frame number being more or less than the current playing image frame number, correcting the playing progress of the target media to enable the current playing image frame number of the target media to be the expected playing image frame number.
In an embodiment of the present invention, the program playing method further includes: determining the target playing time of the next page of the target playing page according to the latest playing start time and the page playing duration of the target playing page; and playing the next page at the target playing time. In the embodiment of the invention, the target playing time of the next page is accurately determined, and the next page is played at the target playing time without considering whether the target playing page is played completely, so that the synchronous playing of programs is ensured.
In an embodiment of the present invention, the preset playing rule specifies a reference playing time of a first page in the currently playing program; the determining, according to the preset playing rule and the page playing duration of each page, the playing start time of each page before the local system time specifically includes: determining the reference playing time as the starting playing time of the first page; and adding the playing start time of the first page and the page playing duration of the first page to obtain the playing start time of a second page.
On the other hand, a program playing apparatus provided in an embodiment of the present invention includes: the response module is used for responding to the synchronous playing command, acquiring network time and updating the system time of the local computer based on the network time; the first determining module is used for determining a target playing page of the current playing program and a target playing position of the target playing page according to a preset playing rule, the system time of the local computer and the page playing time length of each page of the current playing program; and the first playing module is used for playing the target playing page from the target playing position.
In the above solution, the program playing apparatus in the embodiment of the present invention obtains the network time by responding to the synchronous playing command, and updates the local system time based on the network time; determining a target playing page of the current playing program and a target playing position of the target playing page according to a preset playing rule, the system time of the local computer and the page playing time of each page of the current playing program; and starting to play the target playing page from the target playing position, so that each program playing terminal can determine the target playing page and the target playing position of the target playing page according to a preset playing rule, the system time of the local machine and the page playing time of each page, thereby realizing the consistency of the played contents of each program playing terminal, realizing the synchronous playing of the programs and improving the watching experience of audiences.
In one embodiment of the present invention, the first determining module includes: a first determining unit, configured to determine, according to the preset playing rule and the page playing time of each page, a playing start time of each page before the local system time; a second determining unit, configured to determine, as the target play page, a page corresponding to a latest play start time that is closest to the local system time in the play start times; a third determining unit, configured to determine a played duration of the target playing page according to the latest playing start time and the local system time; and a fourth determining unit, configured to determine a playing position of the target playing page, which corresponds to the played time length, as the target playing position.
In one embodiment of the present invention, the target playback page includes at least one media; the program playing apparatus further includes: the judging module is used for judging whether the type of the target media in the at least one media is a video or not; and the correction module is used for responding to that the target media in the at least one media are videos and periodically correcting the playing progress of the target media.
In an embodiment of the present invention, the correction module specifically includes: the acquisition unit is used for acquiring the current local system time, the total image frame number of the target media and the current playing image frame number of the target media; a fifth determining unit, configured to determine an expected playing image frame number of the target media according to the latest playing start time, the current local system time, the media playing duration of the target media, and the total image frame number; and a correction unit, configured to correct the playing progress of the target media in response to whether the expected playing image frame number is greater than or less than the current playing image frame number, so that the current playing image frame number of the target media is the expected playing image frame number.
In an embodiment of the present invention, the program playing apparatus further includes: a second determining module, configured to determine a target playing time of a next page of the target playing page according to the latest playing start time and the page playing duration of the target playing page; and the second playing module is used for playing the next page at the target playing time.
On the other hand, a program playing system provided in an embodiment of the present invention includes: a processor and a memory electrically connected to the processor; the memory stores instructions executed by the processor, and the instructions cause the processor to perform operations to perform the program playing method according to any of the embodiments.
In another aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores program code, and when the program code is executed by one or more processors, the one or more processors execute the program playing method according to any of the above embodiments.
One or more of the above technical solutions may have the following advantages or beneficial effects: the program playing method of the embodiment of the invention responds to the synchronous playing command to obtain the network time and updates the system time of the local computer based on the network time; determining a target playing page of the current playing program and a target playing position of the target playing page according to a preset playing rule, the system time of the local computer and the page playing time of each page of the current playing program; and starting to play the target playing page from the target playing position, so that each program playing terminal can determine the target playing page and the target playing position of the target playing page according to a preset playing rule, the system time of the local machine and the page playing time of each page, thereby realizing the consistency of the played contents of each program playing terminal, realizing the synchronous playing of the programs and improving the watching experience of audiences.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a program playing method according to a first embodiment of the present invention.
Fig. 2 is another specific flowchart of step S11 in fig. 1.
Fig. 3 is a flowchart illustrating another program playing method according to the first embodiment of the present invention.
Fig. 4 is another specific flowchart of step S14 in fig. 3.
Fig. 5 is a flowchart illustrating a program playing method according to another embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a playing system to which the program playing method of the first embodiment of the present invention is applied.
Fig. 7 is a block diagram of a program playing apparatus according to a second embodiment of the present invention.
Fig. 8 is a schematic diagram of a unit structure of the first determination module in fig. 7.
Fig. 9 is a block diagram of another program playing apparatus according to a second embodiment of the present invention.
Fig. 10 is a schematic diagram of a unit structure of the correction module in fig. 9.
Fig. 11 is a block diagram of another program playing apparatus according to a second embodiment of the present invention.
Fig. 12 is a schematic structural diagram of a program playing system according to a third embodiment of the present invention.
Fig. 13 is a schematic structural diagram of a computer-readable storage medium according to a fourth embodiment of the present invention.
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.
[ first embodiment ] A method for manufacturing a semiconductor device
Referring to fig. 1, a program playing method according to a first embodiment of the present invention is shown. The program playing method includes, for example:
s10, responding to the synchronous playing command, acquiring network time and updating the system time of the local computer based on the network time;
s11, determining a target playing page of the current playing program and a target playing position of the target playing page according to a preset playing rule, the system time of the local computer and the page playing time length of each page of the current playing program; and
and S12, starting to play the target playing page from the target playing position.
For the convenience of understanding the present invention, the following describes the program playing method according to the embodiment of the present invention in detail with reference to fig. 1 to 5. The program playing method of the embodiment of the present invention may be executed by program playing software running on a terminal 22 (as shown in fig. 5) of a playing system, for example, and the playing system further includes an upper computer 21, where the upper computer 21 is, for example, a program editing and publishing terminal. The specific implementation is as follows.
First, the upper computer 21 (specifically, program editing and publishing software installed on the upper computer 21) sends a synchronous play command to the terminal 22.
Then, the terminal 22 acquires the network time in response to the synchronized play command, and updates the local system time based on the network time. Specifically, the process of acquiring the network time may be, for example, the terminal 22 sends a time acquisition request to a network time server, and the network time server returns the network time to the terminal 22. Then, the terminal 22 updates the local system time to the network time.
And then, the terminal determines a target playing page of the current playing program and a target playing position of the target playing page according to a preset playing rule, the system time of the terminal and the page playing time of each page of the current playing program. For example, the preset playing rule may be that the reference playing time of the first page in the currently played program is 12:00 a day early morning (that is, the currently played program starts to be played circularly from the first page from 12:00 a morning and the pages included in the currently played program are played sequentially), the currently played program may include one or more pages, and when the currently played program has only one page, the preset playing rule is that the reference playing time of the page is 12:00 a day early morning, a specific preset playing rule may be customized by a user, and an embodiment of the present invention is not specifically limited herein.
As shown in fig. 2, S11 specifically includes: s110, determining the playing start time of each page before the system time of the local machine according to the preset playing rule and the page playing duration of each page; s112, determining a page corresponding to the latest playing starting time closest to the system time of the local machine in the playing starting time as the target playing page; s114, determining the played time length of the target playing page according to the latest playing starting time and the system time of the local player; and S116, determining the playing position of the target playing page corresponding to the played time length as the target playing position.
Specifically, the description will be given by taking an example in which the network time (i.e., the local system time) is 1:00 a.m., the preset playing rule is that the reference playing time of the first page in the currently played program is 12:00 a.m., the currently played program includes three pages, the page playing time of the first page is 10 minutes, the page playing time of the second page is 20 minutes, and the page playing time of the third page is 15 minutes. In step S110, determining the playing start time of each page before the system time of the local computer according to the preset playing rule and the page playing time of each page, that is, performing time accumulation calculation from the reference playing time, that is, beginning to play the first page at 12:00 am, beginning to play the second page at 12:10 am (the page playing time of the first page is 10 minutes), beginning to play the third page at 12:30 am (the page playing time of the second page is 20 minutes), beginning to play the first page at 12:45 am (the page playing time of the third page is 15 minutes), and beginning to play the second page at 12:55 am (the page playing time of the first page is 10 minutes); in step S112, determining a page corresponding to the latest playing start time closest to the local system time of 1:00 in the morning, that is, 12:55 in the morning, that is, the second page, as the target playing page; in step S114, determining the played time length of the target playing page, i.e. 5 minutes, according to the latest playing start time, i.e. 12:55 in the morning, and the local system time, i.e. 1:00 in the morning; and S116, determining the playing position of the target playing page corresponding to the played time length as the target playing position, namely the position corresponding to the 5 th minute of the second page. Of course, the specific process of determining the target playing page and the target playing position is not particularly limited in the embodiments of the present invention, as long as the target playing page of the currently playing program and the target playing position of the target playing page can be determined according to the preset playing rule, the system time of the local computer, and the page playing duration of each page of the currently playing program.
Then, the terminal 22 starts to play the target playing page from the target playing position, and in the above example, the terminal 22 starts to play the media to be played corresponding to the second page from the 5 th minute of the second page.
In the technical scheme, the target playing page is played from the target playing position by determining the target playing page and the target playing position corresponding to the system time of the local terminal, so that the plurality of terminals play programs based on the same reference time, the terminals can play the programs synchronously, and the watching experience of audiences is improved.
According to the above, the target playing page comprises at least one media; as shown in fig. 3, after the terminal 22 starts playing the target play page from the target play position, the terminal 22 determines whether the type of the target media in the at least one media is a video (corresponding to step S13 of fig. 3); and in response to a target media of the at least one media being a video, periodically correcting a playing progress of the target media (corresponding to step S14 of fig. 3). Specifically, the type of the media may be video, picture, text, and the like, and the embodiments of the present invention are not limited thereto. The terminal 22 periodically corrects the playing progress of the media of which the type is video in the at least one media, so as to further realize the synchronous playing of the target playing program.
As mentioned above, as shown in fig. 3, the periodically correcting the playing progress of the target media specifically includes:
s142, the terminal 22 obtains the current system time of the local computer, the total image frame number of the target media and the current playing image frame number of the target media; here, since the local system time has been updated in step S10 of fig. 1, the current local system time acquired here is an accurate time, and the current local system time is a time corresponding to the time at which the periodic correction is performed. And the total image frame number of the target media is the attribute of the target media. The current playing image frame number of the target media, that is, the image frame number played in a time period from the latest playing start time, that is, early morning 12:55, to the current local system time, is usually automatically generated and stored when the media starts to be played, and here, the terminal 22 may directly read the current local system time, the total image frame number of the target media, and the current image playing frame number of the target media.
S144, the terminal 22 plays the time according to the latest playing start time, the current local system time, the media playing time of the target media andthe total image frame number determines the number of the expected playing image frames of the target media; the expected playing image frame number is specifically
Figure BDA0002627643510000101
S146, in response to that the expected playing image frame number is greater than or less than the current playing image frame number, the terminal 22 corrects the playing progress of the target media, so that the current playing image frame number of the target media is the expected playing image frame number. For example, the expected playing image frame number is 200 frames, and the current playing image frame number is 180 frames, which may be caused by video playing pause, in order to implement program playing synchronization, the playing progress of the target media is corrected, so that the target media jumps to a position corresponding to the expected image playing image, and the current playing image frame number of the target media is the expected playing image frame number. Of course, it is also possible that the expected number of playing video frames is less than the current number of playing video frames, which may be caused by the terminal decoder decoding process causing the video to play too fast.
As shown in fig. 5, the program playing method further includes that the terminal 22 determines a target playing time of a next page of the target playing page according to the latest playing start time and the page playing time of the target playing page (corresponding to step S15 in fig. 5), taking the above example as an example, the latest playing start time is 12:55 am, the page playing time of the target playing program, i.e., the second program, is 20 minutes, and the target playing time of the next page, i.e., the third page, is 1:15 minutes in the morning; at the target play time, the next page is played (corresponding to step S16 of fig. 5), that is, the third page is played beginning at 1:15 minutes in the morning. In the scheme, the target playing time of the next page is determined, and the next page is played at the target playing time without considering whether the target playing page is played completely, so that the synchronous playing of the programs is ensured.
In summary, the program playing method according to the embodiment of the present invention obtains the network time by responding to the synchronous playing command, and updates the system time of the local computer based on the network time; determining a target playing page of the current playing program and a target playing position of the target playing page according to a preset playing rule, the system time of the local computer and the page playing time of each page of the current playing program; and starting to play the target playing page from the target playing position, so that each program playing terminal can play the corresponding target playing page according to a preset playing rule, thereby realizing the consistency of the played contents of each program playing terminal, realizing the synchronous playing of the programs and improving the watching experience of audiences.
[ second embodiment ]
As shown in fig. 7, a second embodiment of the present invention provides a program playing apparatus 30. The program playing apparatus 30 includes, for example, a response module 31, a first determination module 32, and a first playing module 33.
Specifically, the response module 31 is configured to respond to a synchronous play command, acquire a network time, and update a local system time based on the network time;
the first determining module 32 is configured to determine a target playing page of the currently playing program and a target playing position of the target playing page according to a preset playing rule, the system time of the local computer, and a page playing duration of each page of the currently playing program; and
the first playing module 33 is configured to start playing the target playing page from the target playing position.
In an embodiment of the present invention, as shown in fig. 8, the first determining module 32 includes: a first determining unit 320, configured to determine, according to the preset playing rule and the page playing time of each page, a playing start time of each page before the local system time; a second determining unit 322, configured to determine, as the target playing page, a page corresponding to a latest playing start time that is closest to the local system time in the playing start times; a third determining unit 324, configured to determine a played duration of the target playing page according to the latest playing start time and the local system time; and a fourth determining unit 326, configured to determine a playing position of the target playing page corresponding to the played time length as the target playing position.
In one embodiment of the present invention, the target playback page includes at least one media. As shown in fig. 9, the program playing apparatus 30 further includes: a determining module 34, configured to determine whether a type of a target media in the at least one media is a video; and a correcting module 35, configured to periodically correct the playing progress of the target media in response to that the target media in the at least one media is a video.
In an embodiment of the present invention, as shown in fig. 10, the correcting module 35 specifically includes: an obtaining unit 354, configured to obtain a current local system time, a total image frame number of the target media, and a current playing image frame number of the target media; a fifth determining unit 356, configured to determine an expected playing image frame number of the target media according to the latest playing start time, the current local system time, the media playing duration of the target media, and the total image frame number; and a correcting unit 358, configured to correct the playing progress of the target media in response to the expected playing image frame number being greater than or less than the current playing image frame number, so that the current playing image frame number of the target media is the expected playing image frame number.
In an embodiment of the present invention, as shown in fig. 11, the program playing apparatus 30 further includes: a second determining module 36, configured to determine a target playing time of a next page of the target playing page according to the latest playing start time and the page playing duration of the target playing page; and a second playing module 37, configured to play the next page at the target playing time.
In an embodiment of the present invention, the preset playing rule specifies a reference playing time of a first page in the currently played program, and the first determining module 32 is specifically configured to: determining the reference playing time as the starting playing time of the first page; and adding the playing start time of the first page and the page playing duration of the first page to obtain the playing start time of a second page.
For specific working processes and technical effects among the modules in the program playing device 30 in this embodiment, reference may be made to the related description of the first embodiment, and details are not repeated here.
[ third embodiment ]
As shown in fig. 12, a program playing system 50 according to a third embodiment of the present invention includes: a processor 52 and a memory 54 electrically connected to the processor 52; the memory 54 stores instructions executed by the processor 52, and the instructions cause the processor 52 to perform operations to perform the program playing method according to the foregoing first embodiment, for example.
[ fourth example ] A
As shown in fig. 13, a computer-readable storage medium 60 according to a fourth embodiment of the present invention is a non-volatile memory and stores program codes, and when the program codes are executed by one or more processors, the one or more processors are caused to execute the program playing method according to the first embodiment.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and technical solutions of the embodiments can be arbitrarily combined and used without conflict between technical features and structures, and without departing from the purpose of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and/or method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units/modules is only one logical division, and there may be other divisions in actual implementation, for example, multiple units or modules 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/modules described as separate parts may or may not be physically separate, and parts displayed as units/modules may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units/modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
The integrated units/modules, which are implemented in the form of software functional units/modules, may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (11)

1. A method for playing back a program, comprising:
responding to a synchronous playing command, acquiring network time, and updating the system time of the local computer based on the network time;
determining a target playing page of the current playing program and a target playing position of the target playing page according to a preset playing rule, the system time of the local computer and the page playing time of each page of the current playing program; and
and starting to play the target playing page from the target playing position.
2. The method for playing back a program according to claim 1, wherein the determining the target playback page of the currently playing back program and the target playback position of the target playback page according to a preset playback rule, the local system time, and the page playback time length of each page of the currently playing back program includes:
determining the playing start time of each page before the system time of the local machine according to the preset playing rule and the page playing duration of each page;
determining a page corresponding to the latest playing starting time closest to the local system time in the playing starting time as the target playing page;
determining the played time length of the target playing page according to the latest playing starting time and the system time of the local machine; and
and determining the playing position of the target playing page corresponding to the played time length as the target playing position.
3. The program playing method of claim 2, wherein the target playing page contains at least one media;
after the target playing page is played from the target playing position, the program playing method further includes:
judging whether the type of a target media in the at least one media is a video; and
and in response to that the target media in the at least one media is a video, periodically correcting the playing progress of the target media.
4. The method for playing back a program according to claim 3, wherein the periodically correcting the progress of playing back the target media specifically comprises:
acquiring the current system time of the local computer, the total image frame number of the target media and the current playing image frame number of the target media;
determining the expected playing image frame number of the target media according to the latest playing start time, the current local system time, the media playing duration of the target media and the total image frame number; and
and correcting the playing progress of the target media in response to the expected playing image frame number being greater than or less than the current playing image frame number, so that the current playing image frame number of the target media is the expected playing image frame number.
5. The program playing method according to claim 2, further comprising:
determining the target playing time of the next page of the target playing page according to the latest playing start time and the page playing duration of the target playing page; and
and playing the next page at the target playing time.
6. The method of claim 2, wherein the preset playing rule specifies a reference playing time of a first page in the currently playing program;
the determining, according to the preset playing rule and the page playing duration of each page, the playing start time of each page before the local system time specifically includes:
determining the reference playing time as the starting playing time of the first page; and
and adding the playing start time of the first page and the page playing duration of the first page to obtain the playing start time of a second page.
7. A program playing apparatus, comprising:
the response module is used for responding to the synchronous playing command, acquiring network time and updating the system time of the local computer based on the network time;
the first determining module is used for determining a target playing page of the current playing program and a target playing position of the target playing page according to a preset playing rule, the system time of the local computer and the page playing time length of each page of the current playing program; and
and the first playing module is used for playing the target playing page from the target playing position.
8. The program playing apparatus of claim 7, wherein the first determining module comprises:
a first determining unit, configured to determine, according to the preset playing rule and the page playing time of each page, a playing start time of each page before the local system time;
a second determining unit, configured to determine, as the target play page, a page corresponding to a latest play start time that is closest to the local system time in the play start times;
a third determining unit, configured to determine a played duration of the target playing page according to the latest playing start time and the local system time; and
a fourth determining unit, configured to determine a playing position of the target playing page corresponding to the played time length as the target playing position.
9. The program playing apparatus of claim 8, wherein the target playing page contains at least one media;
the program playing apparatus further includes:
the judging module is used for judging whether the type of the target media in the at least one media is a video or not; and
and the correcting module is used for responding to that the target media in the at least one media is a video and periodically correcting the playing progress of the target media.
10. The apparatus for playing back a program according to claim 9, wherein the correction module specifically comprises:
the acquisition unit is used for acquiring the current local system time, the total image frame number of the target media and the current playing image frame number of the target media;
a fifth determining unit, configured to determine an expected playing image frame number of the target media according to the latest playing start time, the current local system time, the media playing duration of the target media, and the total image frame number; and
and the correcting unit is used for responding to the expected playing image frame number larger or smaller than the current playing image frame number and correcting the playing progress of the target media so that the current playing image frame number of the target media is the expected playing image frame number.
11. The program playing apparatus of claim 8, further comprising:
a second determining module, configured to determine a target playing time of a next page of the target playing page according to the latest playing start time and the page playing duration of the target playing page; and
and the second playing module is used for playing the next page at the target playing time.
CN202010801744.9A 2020-08-11 2020-08-11 Program playing method and device Pending CN112637686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010801744.9A CN112637686A (en) 2020-08-11 2020-08-11 Program playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010801744.9A CN112637686A (en) 2020-08-11 2020-08-11 Program playing method and device

Publications (1)

Publication Number Publication Date
CN112637686A true CN112637686A (en) 2021-04-09

Family

ID=75300087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010801744.9A Pending CN112637686A (en) 2020-08-11 2020-08-11 Program playing method and device

Country Status (1)

Country Link
CN (1) CN112637686A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977278A (en) * 2010-10-21 2011-02-16 同辉佳视(北京)信息技术有限公司 Network based method and device for realizing video synchronous playing by playing terminal
CN102122476A (en) * 2010-12-20 2011-07-13 上海仙视电子有限公司 Advertising machine system for multi-machine synchronous playing
CN102752642A (en) * 2012-06-18 2012-10-24 李洋 Method and system for synchronously broadcasting multi-terminal video based on IP (internet protocol) network
CN103475908A (en) * 2013-07-23 2013-12-25 北京九华互联科技有限公司 Multi-screen synchronization play method and device
US20160014511A1 (en) * 2012-06-28 2016-01-14 Sonos, Inc. Concurrent Multi-Loudspeaker Calibration with a Single Measurement
CN106303710A (en) * 2016-08-08 2017-01-04 西安诺瓦电子科技有限公司 Playing list dispatching method and playing list dispatching device
CN208094658U (en) * 2018-04-27 2018-11-13 深圳市灰度科技有限公司 A kind of synchronous display system
CN109525878A (en) * 2017-09-19 2019-03-26 卡莱特(深圳)云科技有限公司 Playback method, playing device, computer equipment and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977278A (en) * 2010-10-21 2011-02-16 同辉佳视(北京)信息技术有限公司 Network based method and device for realizing video synchronous playing by playing terminal
CN102122476A (en) * 2010-12-20 2011-07-13 上海仙视电子有限公司 Advertising machine system for multi-machine synchronous playing
CN102752642A (en) * 2012-06-18 2012-10-24 李洋 Method and system for synchronously broadcasting multi-terminal video based on IP (internet protocol) network
US20160014511A1 (en) * 2012-06-28 2016-01-14 Sonos, Inc. Concurrent Multi-Loudspeaker Calibration with a Single Measurement
CN103475908A (en) * 2013-07-23 2013-12-25 北京九华互联科技有限公司 Multi-screen synchronization play method and device
CN106303710A (en) * 2016-08-08 2017-01-04 西安诺瓦电子科技有限公司 Playing list dispatching method and playing list dispatching device
CN109525878A (en) * 2017-09-19 2019-03-26 卡莱特(深圳)云科技有限公司 Playback method, playing device, computer equipment and computer readable storage medium
CN208094658U (en) * 2018-04-27 2018-11-13 深圳市灰度科技有限公司 A kind of synchronous display system

Similar Documents

Publication Publication Date Title
CN106454407B (en) Video live broadcasting method and device
CN104010225B (en) The method and system of display panoramic video
JP5466125B2 (en) System and method for enriching media content
CN106034263B (en) Method and device for calibrating audio and video in media file and storage medium
CN105723724A (en) Information processing device
US11595731B2 (en) Implementation method and system of real-time subtitle in live broadcast and device
CN104918136A (en) Video positioning method and device
CN114040243B (en) Live broadcasting room video playing method and device
US20170272793A1 (en) Media content recommendation method and device
CN103702212A (en) Program navigation method and system of electronic playing equipment
WO2023169240A1 (en) Subtitle synchronization method and apparatus, set-top box and computer readable storage medium
CN114679665A (en) Bluetooth headset audio and video synchronization method and device, electronic equipment and storage medium
US20170272811A1 (en) Method and electronic device for program switching
CN112383794B (en) Live broadcast method, live broadcast system, server and computer storage medium
US11513937B2 (en) Method and device of displaying video comments, computing device, and readable storage medium
CN112637686A (en) Program playing method and device
CN112118484B (en) Video bullet screen display method and device, computer equipment and readable storage medium
CN111506241A (en) Special effect display method and device for live broadcast room, electronic equipment and computer medium
CN110719493A (en) Barrage display method and device, electronic equipment and readable storage medium
US20160165315A1 (en) Display apparatus, method of displaying channel list performed by the same, server, and control method performed by the server
CN113473191B (en) Multi-device advertisement synchronous playing method and device, computer device and storage medium
CN112118473B (en) Video bullet screen display method and device, computer equipment and readable storage medium
CN115495185A (en) Method and device for displaying page elements
EP4027649A1 (en) Video playing method and apparatus, terminal and computer-readable storage medium
CN114866829A (en) Synchronous playing control method and device

Legal Events

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

Application publication date: 20210409

RJ01 Rejection of invention patent application after publication