CN113473191A - Multi-device advertisement synchronous playing method and device, computer device and storage medium - Google Patents

Multi-device advertisement synchronous playing method and device, computer device and storage medium Download PDF

Info

Publication number
CN113473191A
CN113473191A CN202110769988.8A CN202110769988A CN113473191A CN 113473191 A CN113473191 A CN 113473191A CN 202110769988 A CN202110769988 A CN 202110769988A CN 113473191 A CN113473191 A CN 113473191A
Authority
CN
China
Prior art keywords
advertisement
time
playing
list
refreshing
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.)
Granted
Application number
CN202110769988.8A
Other languages
Chinese (zh)
Other versions
CN113473191B (en
Inventor
李桂晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Intefly Electronics Co ltd
Original Assignee
Shenzhen Intefly Electronics 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 Intefly Electronics Co ltd filed Critical Shenzhen Intefly Electronics Co ltd
Priority to CN202110769988.8A priority Critical patent/CN113473191B/en
Publication of CN113473191A publication Critical patent/CN113473191A/en
Application granted granted Critical
Publication of CN113473191B publication Critical patent/CN113473191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2668Creating a channel for a dedicated end-user group, e.g. insertion of targeted commercials based on end-user profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0264Targeted advertisements based upon schedule
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26241Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the time of distribution, e.g. the best time of the day for inserting an advertisement or airing a children program
    • 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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data
    • 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/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a multi-device advertisement synchronous playing method and device, computer equipment and a storage medium. The method comprises the following steps: judging whether the current equipment state is a midway starting-up state or not; if the mobile terminal is in a midway starting-up state, acquiring an advertisement play list from the server; judging whether the current time slot of the equipment has an advertisement playing task or not according to the obtained advertisement playing list; if the current time slot has no advertisement playing task, acquiring the time for starting playing the advertisement; determining the refreshing time according to the time for starting playing the advertisement; refreshing the advertisement play list according to the refreshing time so as to play the advertisement according to the refreshed advertisement play list; if the advertisement playing task exists, the refreshing time is determined according to the timestamp of the advertisement playing task, and the advertisement playing list is refreshed according to the refreshing time. The method of the embodiment of the invention can realize that different equipment can synchronously play the uniform advertisement, and ensure the advertisement playing consistency of a plurality of advertisement equipment.

Description

Multi-device advertisement synchronous playing method and device, computer device and storage medium
Technical Field
The invention relates to an advertisement playing method, in particular to a multi-device advertisement synchronous playing method, a multi-device advertisement synchronous playing device, a computer device and a storage medium.
Background
When the advertisement is played, the advertisement playing needs to be carried out on a plurality of devices, and different devices respond to the instruction at different speeds under the same server advertisement instruction because the current environments and actions of the devices are different. In this case, the advertisement playing device may play differently, which may lead to inconsistent advertisement contents seen and heard by the viewer, and may affect the enjoyment effect.
Therefore, it is necessary to design a new method to implement uniform synchronous advertisement playing for different devices, and ensure the advertisement playing consistency of multiple advertisement devices.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a multi-device advertisement synchronous playing method, a multi-device advertisement synchronous playing device, a computer device and a storage medium.
In order to achieve the purpose, the invention adopts the following technical scheme: the multi-device advertisement synchronous playing method comprises the following steps:
judging whether the current equipment state is a midway starting-up state or not;
if the current equipment state is a midway starting-up state, acquiring an advertisement play list from a server;
judging whether the current time slot of the equipment has an advertisement playing task or not according to the obtained advertisement playing list;
if the current time slot has no advertisement playing task, acquiring the time for starting playing the advertisement;
determining the refreshing time according to the time for starting playing the advertisement;
refreshing an advertisement play list according to the refreshing time so as to play the advertisement according to the refreshed advertisement play list;
if the current time slot has the advertisement playing task, determining the refreshing time according to the timestamp of the advertisement playing task, and executing the refreshing of the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list.
The further technical scheme is as follows: after judging whether the current device state is the midway startup state, the method further comprises the following steps:
if the current equipment state is not the midway starting-up state, acquiring an advertisement play list issued by the server;
judging whether the current time slot of the equipment has an advertisement playing task or not according to the issued advertisement playing list;
if the current time slot of the equipment has no advertisement playing task, executing the time for acquiring the advertisement to start playing;
if the current time slot of the equipment has an advertisement playing task, taking the time of issuing an advertisement playing list by the server as initial time;
and determining the refreshing time according to the initial time, and executing the refreshing of the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list.
The further technical scheme is as follows: the determining the refresh time according to the timestamp of the advertisement playing task comprises:
judging whether the timestamp of the advertisement playing task is in the time period of the same day when the equipment is started midway;
if the timestamp of the advertisement playing task is not in the time period of the same day when the equipment is started midway, executing the time for acquiring the advertisement starting playing;
and if the timestamp of the advertisement playing task is within the time period of the same day after the device is started midway, executing the time for issuing the advertisement playing list according to the server as initial time.
The further technical scheme is as follows: the determining the refresh time according to the time for starting playing the advertisement includes:
and adding a set time interval to the time for starting playing the advertisement to obtain the refreshing time.
The further technical scheme is as follows: the determining the refresh time according to the initial time includes:
and adding the initial time to a set time interval to obtain the refreshing time.
The further technical scheme is as follows: the time interval is a sum of several times of a time required for one play of the advertisement playlist of the previous same period plus a set specific interval.
The invention also provides a multi-device advertisement synchronous playing device, which comprises:
the state judging unit is used for judging whether the current equipment state is a midway starting-up state or not;
a list obtaining unit, configured to obtain an advertisement playlist from a server if the current device state is a midway booting state;
the first judging unit is used for judging whether the current time slot of the equipment has an advertisement playing task according to the obtained advertisement playing list;
the time acquisition unit is used for acquiring the time for starting playing the advertisement if the current time slot has no advertisement playing task;
the first determining unit is used for determining the refreshing time according to the time for starting playing the advertisement;
the list refreshing unit is used for refreshing the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list;
and the second determining unit is used for determining the refreshing time according to the timestamp of the advertisement playing task if the advertisement playing task exists in the current time period, and executing the refreshing of the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list.
The further technical scheme is as follows: further comprising:
the issuing acquisition unit is used for acquiring an advertisement play list issued by the server if the current equipment state is not the midway starting-up state;
the second judging unit is used for judging whether the current time slot of the equipment has an advertisement playing task according to the issued advertisement playing list; if the current time slot of the equipment has no advertisement playing task, executing the time for acquiring the advertisement to start playing;
the initial time setting unit is used for taking the time of issuing the advertisement play list by the server as the initial time if the current time slot of the equipment has the advertisement play task;
and the third determining unit is used for determining the refreshing time according to the initial time and executing the refreshing of the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list.
The invention also provides computer equipment which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor realizes the method when executing the computer program.
The invention also provides a storage medium storing a computer program which, when executed by a processor, is operable to carry out the method as described above.
Compared with the prior art, the invention has the beneficial effects that: the invention determines the time for refreshing the advertisement playing list according to the advertisement playing list and the advertisement playing time according to whether the equipment is in the midway starting state or not, so as to unify the advertisement playing lists of a plurality of pieces of equipment, realize that different pieces of equipment can carry out unified advertisement synchronous playing, and ensure the advertisement playing consistency of a plurality of pieces of advertisement equipment.
The invention is further described below with reference to the accompanying drawings and specific embodiments.
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 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 schematic view of an application scenario of a multi-device advertisement synchronous playing method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for synchronously playing multiple device advertisements according to an embodiment of the present invention;
FIG. 3 is a schematic block diagram of a multi-device advertisement synchronous playing apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic block diagram of a computer device provided by an 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 some, not all, embodiments of the present invention. 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.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of an application scenario of a multi-device advertisement synchronous playing method according to an embodiment of the present invention. Fig. 2 is a schematic flowchart of a multi-device advertisement synchronous playing method according to an embodiment of the present invention. The multi-device advertisement synchronous playing method is applied to advertisement playing devices. The advertisement playing device can be a terminal in a distributed service platform, and the advertisement playing device synchronizes the advertisement playing list according to the advertisement playing list of the server and ensures the synchronization of the played advertisement content.
Fig. 2 is a schematic flowchart of a method for synchronously playing multiple device advertisements according to an embodiment of the present invention. As shown in fig. 2, the method includes the following steps S110 to S210.
And S110, judging whether the current equipment state is a midway starting-up state or not.
In this embodiment, the difference of the current device states determines the refreshing time, and for a device in a midway booting state, the server is actively accessed to obtain an advertisement playlist; and for the equipment in the non-midway starting-up state, the server actively issues the corresponding advertisement play list.
The advertisement comprises a list consisting of audio and video and pictures. An advertisement list for multiple device synchronization is made. The same change time, i.e., refresh time, needs to be provided to the device group. And the equipment group starts playing the advertisement playing list according to the change time. And refreshing the advertisement at the same later time point to achieve the purpose of synchronizing the advertisement, namely unifying the refreshing time of each device and refreshing the advertisement list at a certain later time.
The advertisement content comprises audio and video and pictures, and two controls of surfaceView, media layer and imageview of Android are used for switching. The method is used for playing audio and video and pictures respectively, wherein surfaceView is used for displaying the audio and video, and media is used for playing the audio and video. Imageview is used for picture display.
And S120, if the current equipment state is a midway starting-up state, acquiring an advertisement play list from the server.
In the present embodiment, the advertisement playlist includes advertisement content, a start time and an end time.
The advertisements are divided into time periods, each time period contains an advertisement list, each time period is operated in a timing mode, and the advertisement list of the time period is played in the time period. ListplayList ═ List (Timer (itemlst 1), Timer (itemlst 2), Timer (itemlst 3.); itemList1, itemList2, itemList3.. is timed according to startTime, endTime to ensure their time of play. A playList is a list of advertisements that comprise a whole day, and includes a list of slots of itemList1, itemList2, itemList3.
S130, judging whether the current time slot of the equipment has an advertisement playing task or not according to the obtained advertisement playing list.
Whether the current time slot of the equipment has the advertisement playing task or not is judged, and whether the time slot between the starting time and the ending time contains the current time slot or not is mainly searched from an advertisement playing list, so that whether the current time slot of the equipment has the advertisement playing task or not is determined.
S140, if the current time slot has no advertisement playing task, the time for starting playing the advertisement is obtained.
And when the corresponding advertisement playing task does not exist, determining the time for starting playing the advertisement of the equipment.
S150, determining the refreshing time according to the time for starting playing the advertisement.
In the present embodiment, the refresh time refers to a time for refreshing an advertisement playlist.
Specifically, the time when the advertisement starts to be played is added with a set time interval to obtain the refresh time.
The time interval is a sum of several times of a time required for one play of the advertisement playlist of the previous same period plus a set specific interval.
Specifically, when the device is powered on halfway, the device may first inquire the server about the last operation valid play setting. And obtaining the data issued by the server and analyzing. If the single control equipment is set, the synchronization is not carried out; if the advertisement is a group control or public service advertisement, firstly judging whether the current time slot is in the time slot corresponding to the advertisement play list, if not, setting the time slot in which the advertisement starts to play as the set time, then setting the time + the time required by the current time slot list for playing once x 2+2000 milliseconds to obtain the next timing refresh list time, and when the timing list time is reached, obtaining the next timing refresh list time from the timing time + the time required by the current time slot list for playing once x 2+2000 milliseconds; and by analogy, refreshing the advertisement playlist according to the corresponding time for refreshing the playlist.
And S160, refreshing the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list.
S170, if the advertisement playing task exists in the current time period, determining the refreshing time according to the time stamp of the advertisement playing task, and executing the step S160.
If the current time slot has the advertisement playing task, judging whether the timestamp of the advertisement playing task is the current time slot, if not, setting the time slot in which the advertisement starts to be played as the set time, and then setting the time + the time needed by the current time slot list to be played once x 2+2000 milliseconds to obtain the next timing refreshing list time. When the timing list time is reached, obtaining the next timing refreshing list time from the timing time + the time needed by playing the current time period list once 2+2000 milliseconds, and so on; if the time stamp of the advertisement playing task is the current day, the time given by the current server when issuing the instruction is used as the set time, and the set time + the time needed by playing the current time interval list once is 2+2000 milliseconds to obtain the next timing refreshing list time. When the timing list time is reached, obtaining the next timing refreshing list time from the timing time + the time needed by playing the current time period list once 2+2000 milliseconds, and so on; until the end of the advertisement playlist for this time slot. The synchronization is then not refreshed and the next period is waited for to start.
In an embodiment, the step S170 includes:
judging whether the timestamp of the advertisement playing task is in the time period of the same day when the equipment is started midway;
if the timestamp of the advertisement playing task is not in the time period of the same day when the equipment is started midway, executing the time for acquiring the advertisement starting playing;
and if the timestamp of the advertisement playing task is within the time period of the same day after the device is started midway, executing the time for issuing the advertisement playing list according to the server as initial time.
S180, if the current equipment state is not the midway starting-up state, acquiring an advertisement play list issued by the server;
s190, judging whether the current time slot of the equipment has an advertisement playing task or not according to the issued advertisement playing list;
if the device has no advertisement playing task in the current time slot, executing the step S140;
if the current time slot has no advertisement playing task, setting the time slot for starting playing the advertisement as the set time, and then setting the time + the time needed by playing the current time slot list once x 2+2000 milliseconds to obtain the next timing refreshing list time. When the timing list time is reached, obtaining the next timing refreshing list time from the timing time + the time needed by playing the current time period list once 2+2000 milliseconds, and so on; until the advertisement playlist is finished in this time slot, synchronization is not refreshed, and the next time slot is waited for to start.
S200, if the current time slot of the equipment has an advertisement playing task, taking the time of issuing an advertisement playing list by the server as initial time;
s210, determining the refreshing time according to the initial time, and executing the step S160.
Specifically, the initial time is added to a set time interval to obtain a refresh time.
When receiving the advertisement play list sent by the server, the terminal decompresses the advertisement play list in the period. If the device has an advertisement playing task in the current time period, the next timing refreshing list time is obtained according to the time of sending the advertisement playing list by the current server as the set time, namely the initial time, and then the set time + the time needed by playing the current time period list once x 2+2000 milliseconds. When the timing list time is reached, obtaining the next timing refreshing list time from the timing time + the time needed by playing the current time period list once 2+2000 milliseconds, and so on; and refreshing the advertisement play list according to the corresponding time for refreshing the list.
If (Switch (SingleAd, PubAd, CounAd); NotSync (If.
When the device is started midway to perform advertisement synchronization, the last effective instruction at the last time is obtained from the server, and the instruction is judged, wherein If (Switch (SingleAd, PubAd, CounAd); NotSync (If > start time & & new < endTime)? (If is the time of the day).
The embodiment realizes that different devices play approximately the same advertisement under the condition of no real-time stream pulling, and ensures the advertisement playing consistency of a plurality of advertisement devices.
According to the multi-equipment advertisement synchronous playing method, the time for refreshing the advertisement playing list is determined according to the advertisement playing list and the advertisement playing time according to whether the equipment is in the midway starting state or not, so that the advertisement playing lists of the multiple equipment are unified, the unified advertisement synchronous playing of different equipment can be realized, and the advertisement playing consistency of the multiple advertisement equipment is ensured.
Fig. 3 is a schematic block diagram of a multi-device advertisement synchronous playing apparatus 300 according to an embodiment of the present invention. As shown in fig. 3, the present invention further provides a multi-device advertisement synchronous playing apparatus 300 corresponding to the above multi-device advertisement synchronous playing method. The multi-device advertisement synchronous playing apparatus 300 includes a unit for executing the multi-device advertisement synchronous playing method, and the apparatus may be configured in a desktop computer, a tablet computer, a portable computer, or the like. Specifically, referring to fig. 3, the multi-device advertisement synchronous playing apparatus 300 includes a state judgment unit 301, a list acquisition unit 302, a first judgment unit 303, a time acquisition unit 304, a first determination unit 305, a list refresh unit 306, and a second determination unit 307.
A state judgment unit 301, configured to judge whether a current device state is a midway booting state; a list obtaining unit 302, configured to obtain an advertisement playlist from a server if the current device state is a midway booting state; a first judging unit 303, configured to judge whether there is an advertisement playing task in the current time slot of the device according to the obtained advertisement playing list; a time obtaining unit 304, configured to obtain a time for starting playing an advertisement if there is no advertisement playing task in a current time period; a first determining unit 305, configured to determine a refresh time according to a time when the advertisement starts to be played; a list refreshing unit 306, configured to refresh the advertisement playlist according to the refresh time, so as to play the advertisement according to the refreshed advertisement playlist; a second determining unit 307, configured to determine, if there is an advertisement playing task in the current time period, a refreshing time according to a timestamp of the advertisement playing task, and execute the refreshing of the advertisement playing list according to the refreshing time, so as to play the advertisement according to the refreshed advertisement playing list.
In an embodiment, the multi-device advertisement synchronous playing unit includes an issuing obtaining unit 308, a second judging unit 309, an initial time setting unit 310, and a third determining unit 311.
An issuing acquisition unit 308, configured to acquire an advertisement playlist issued by the server if the current device state is not the midway power-on state; a second judging unit 309, configured to judge whether there is an advertisement playing task in the current time slot of the device according to the delivered advertisement playing list; if the current time slot of the equipment has no advertisement playing task, executing the time for acquiring the advertisement to start playing; an initial time setting unit 310, configured to, if there is an advertisement playing task in the current time period of the device, take time for issuing an advertisement playing list by the server as initial time; a third determining unit 311, configured to determine a refresh time according to the initial time, and execute the refresh of the advertisement playlist according to the refresh time, so as to play the advertisement according to the refreshed advertisement playlist.
In an embodiment, the second determining unit 307 is configured to determine whether the timestamp of the advertisement playing task is within a time period of the same day when the device is powered on halfway; if the timestamp of the advertisement playing task is not in the time period of the same day when the equipment is started midway, executing the time for acquiring the advertisement starting playing; and if the timestamp of the advertisement playing task is within the time period of the same day after the device is started midway, executing the time for issuing the advertisement playing list according to the server as initial time.
In an embodiment, the first determining unit 305 is configured to add a set time interval to a time when the advertisement starts to be played, so as to obtain a refresh time.
In an embodiment, the third determining unit 311 is configured to add the initial time to a set time interval to obtain a refresh time.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation process of the multi-device advertisement synchronous playing apparatus 300 and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The multi-device advertisement synchronous playing apparatus 300 may be implemented in the form of a computer program, which can run on a computer device as shown in fig. 4.
Referring to fig. 4, fig. 4 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a terminal, wherein the terminal may be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device.
Referring to fig. 4, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 include program instructions that, when executed, cause the processor 502 to perform a multi-device advertisement synchronized playback method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may be enabled to execute a multi-device advertisement synchronous playing method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 4 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer device 500 to which the present application may be applied, and that a particular computer device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
judging whether the current equipment state is a midway starting-up state or not; if the current equipment state is a midway starting-up state, acquiring an advertisement play list from a server; judging whether the current time slot of the equipment has an advertisement playing task or not according to the obtained advertisement playing list; if the current time slot has no advertisement playing task, acquiring the time for starting playing the advertisement; determining the refreshing time according to the time for starting playing the advertisement; refreshing an advertisement play list according to the refreshing time so as to play the advertisement according to the refreshed advertisement play list; if the current time slot has the advertisement playing task, determining the refreshing time according to the timestamp of the advertisement playing task, and executing the refreshing of the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list.
In an embodiment, after implementing the step of determining whether the current device state is the midway power-on state, the processor 502 further implements the following steps:
if the current equipment state is not the midway starting-up state, acquiring an advertisement play list issued by the server; judging whether the current time slot of the equipment has an advertisement playing task or not according to the issued advertisement playing list; if the current time slot of the equipment has no advertisement playing task, executing the time for acquiring the advertisement to start playing; if the current time slot of the equipment has an advertisement playing task, taking the time of issuing an advertisement playing list by the server as initial time; and determining the refreshing time according to the initial time, and executing the refreshing of the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list.
In an embodiment, when the processor 502 implements the step of determining the refresh time according to the timestamp of the advertisement playing task, the following steps are specifically implemented:
judging whether the timestamp of the advertisement playing task is in the time period of the same day when the equipment is started midway; if the timestamp of the advertisement playing task is not in the time period of the same day when the equipment is started midway, executing the time for acquiring the advertisement starting playing; and if the timestamp of the advertisement playing task is within the time period of the same day after the device is started midway, executing the time for issuing the advertisement playing list according to the server as initial time.
In an embodiment, when the step of determining the refresh time according to the time for starting playing the advertisement is implemented by the processor 502, the following steps are specifically implemented:
and adding a set time interval to the time for starting playing the advertisement to obtain the refreshing time.
In an embodiment, when the step of determining the refresh time according to the initial time is implemented, the processor 502 specifically implements the following steps:
and adding the initial time to a set time interval to obtain the refreshing time.
Wherein the time interval is a sum of several times of a time required for one-time playing of the advertisement playlist of the previous same time period plus a set specific interval.
It should be understood that in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program, when executed by a processor, causes the processor to perform the steps of:
judging whether the current equipment state is a midway starting-up state or not; if the current equipment state is a midway starting-up state, acquiring an advertisement play list from a server; judging whether the current time slot of the equipment has an advertisement playing task or not according to the obtained advertisement playing list; if the current time slot has no advertisement playing task, acquiring the time for starting playing the advertisement; determining the refreshing time according to the time for starting playing the advertisement; refreshing an advertisement play list according to the refreshing time so as to play the advertisement according to the refreshed advertisement play list; if the current time slot has the advertisement playing task, determining the refreshing time according to the timestamp of the advertisement playing task, and executing the refreshing of the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list.
In an embodiment, after the step of determining whether the current device state is the midway power-on state is implemented by executing the computer program, the processor further implements the following steps:
if the current equipment state is not the midway starting-up state, acquiring an advertisement play list issued by the server; judging whether the current time slot of the equipment has an advertisement playing task or not according to the issued advertisement playing list; if the current time slot of the equipment has no advertisement playing task, executing the time for acquiring the advertisement to start playing; if the current time slot of the equipment has an advertisement playing task, taking the time of issuing an advertisement playing list by the server as initial time; and determining the refreshing time according to the initial time, and executing the refreshing of the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list.
In an embodiment, when the processor executes the computer program to implement the step of determining the refresh time according to the timestamp of the advertisement playing task, the processor specifically implements the following steps:
judging whether the timestamp of the advertisement playing task is in the time period of the same day when the equipment is started midway; if the timestamp of the advertisement playing task is not in the time period of the same day when the equipment is started midway, executing the time for acquiring the advertisement starting playing; and if the timestamp of the advertisement playing task is within the time period of the same day after the device is started midway, executing the time for issuing the advertisement playing list according to the server as initial time.
In an embodiment, when the processor executes the computer program to implement the step of determining the refresh time according to the time when the advertisement starts to be played, the following steps are specifically implemented:
and adding a set time interval to the time for starting playing the advertisement to obtain the refreshing time.
In an embodiment, when the processor executes the computer program to implement the step of determining the refresh time according to the initial time, the following steps are specifically implemented:
and adding the initial time to a set time interval to obtain the refreshing time.
Wherein the time interval is a sum of several times of a time required for one-time playing of the advertisement playlist of the previous same time period plus a set specific interval.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The multi-device advertisement synchronous playing method is characterized by comprising the following steps:
judging whether the current equipment state is a midway starting-up state or not;
if the current equipment state is a midway starting-up state, acquiring an advertisement play list from a server;
judging whether the current time slot of the equipment has an advertisement playing task or not according to the obtained advertisement playing list;
if the current time slot has no advertisement playing task, acquiring the time for starting playing the advertisement;
determining the refreshing time according to the time for starting playing the advertisement;
refreshing an advertisement play list according to the refreshing time so as to play the advertisement according to the refreshed advertisement play list;
if the current time slot has the advertisement playing task, determining the refreshing time according to the timestamp of the advertisement playing task, and executing the refreshing of the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list.
2. The method for synchronously playing multiple device advertisements according to claim 1, wherein after determining whether the current device status is a midway power-on status, the method further comprises:
if the current equipment state is not the midway starting-up state, acquiring an advertisement play list issued by the server;
judging whether the current time slot of the equipment has an advertisement playing task or not according to the issued advertisement playing list;
if the current time slot of the equipment has no advertisement playing task, executing the time for acquiring the advertisement to start playing;
if the current time slot of the equipment has an advertisement playing task, taking the time of issuing an advertisement playing list by the server as initial time;
and determining the refreshing time according to the initial time, and executing the refreshing of the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list.
3. The multi-device advertisement synchronous playing method according to claim 2, wherein the determining the refresh time according to the timestamp of the advertisement playing task comprises:
judging whether the timestamp of the advertisement playing task is in the time period of the same day when the equipment is started midway;
if the timestamp of the advertisement playing task is not in the time period of the same day when the equipment is started midway, executing the time for acquiring the advertisement starting playing;
and if the timestamp of the advertisement playing task is within the time period of the same day after the device is started midway, executing the time for issuing the advertisement playing list according to the server as initial time.
4. The multi-device advertisement synchronous playing method according to claim 1, wherein the determining the refresh time according to the time when the advertisement starts playing comprises:
and adding a set time interval to the time for starting playing the advertisement to obtain the refreshing time.
5. The multi-device advertisement synchronous playing method according to claim 2, wherein the determining the refresh time according to the initial time comprises:
and adding the initial time to a set time interval to obtain the refreshing time.
6. The multi-device advertisement synchronous playing method according to claim 4 or 5, wherein the time interval is a sum of several times of a time required for playing the advertisement playlist of the previous same period once plus a set specific interval.
7. Multi-equipment advertisement synchronous playing device is characterized by comprising:
the state judging unit is used for judging whether the current equipment state is a midway starting-up state or not;
a list obtaining unit, configured to obtain an advertisement playlist from a server if the current device state is a midway booting state;
the first judging unit is used for judging whether the current time slot of the equipment has an advertisement playing task according to the obtained advertisement playing list;
the time acquisition unit is used for acquiring the time for starting playing the advertisement if the current time slot has no advertisement playing task;
the first determining unit is used for determining the refreshing time according to the time for starting playing the advertisement;
the list refreshing unit is used for refreshing the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list;
and the second determining unit is used for determining the refreshing time according to the timestamp of the advertisement playing task if the advertisement playing task exists in the current time period, and executing the refreshing of the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list.
8. The multi-device advertisement synchronous playback apparatus according to claim 7, further comprising:
the issuing acquisition unit is used for acquiring an advertisement play list issued by the server if the current equipment state is not the midway starting-up state;
the second judging unit is used for judging whether the current time slot of the equipment has an advertisement playing task according to the issued advertisement playing list; if the current time slot of the equipment has no advertisement playing task, executing the time for acquiring the advertisement to start playing;
the initial time setting unit is used for taking the time of issuing the advertisement play list by the server as the initial time if the current time slot of the equipment has the advertisement play task;
and the third determining unit is used for determining the refreshing time according to the initial time and executing the refreshing of the advertisement playing list according to the refreshing time so as to play the advertisement according to the refreshed advertisement playing list.
9. A computer device, characterized in that the computer device comprises a memory, on which a computer program is stored, and a processor, which when executing the computer program implements the method according to any of claims 1 to 6.
10. A storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 6.
CN202110769988.8A 2021-07-06 2021-07-06 Multi-device advertisement synchronous playing method and device, computer device and storage medium Active CN113473191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110769988.8A CN113473191B (en) 2021-07-06 2021-07-06 Multi-device advertisement synchronous playing method and device, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110769988.8A CN113473191B (en) 2021-07-06 2021-07-06 Multi-device advertisement synchronous playing method and device, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN113473191A true CN113473191A (en) 2021-10-01
CN113473191B CN113473191B (en) 2023-08-25

Family

ID=77879149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110769988.8A Active CN113473191B (en) 2021-07-06 2021-07-06 Multi-device advertisement synchronous playing method and device, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN113473191B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116582708A (en) * 2023-07-07 2023-08-11 深圳创维智慧科技有限公司 Video playing method and device, electronic equipment and readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060294258A1 (en) * 2005-06-28 2006-12-28 Microsoft Corporation Advertisement refresh rules for network applications
US20070038728A1 (en) * 1999-12-08 2007-02-15 Jacobs Paul E A system for controlling the distribution of advertisements to informational client devices using a playlist
US20070112627A1 (en) * 1999-12-08 2007-05-17 Jacobs Paul E Method for distributing advertisements to client devices using an obscured ad monitoring function
US20070294292A1 (en) * 2006-06-14 2007-12-20 Microsoft Corporation Advertising transfer and playback on portable devices
CN102117458A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Advertising service realization method, device and system
US20130132211A1 (en) * 2011-11-20 2013-05-23 Yahoo! Inc. Providing seamless online video advertisements
US20140245346A1 (en) * 2013-02-22 2014-08-28 Microsoft Corporation Overwriting existing media content with viewer-specific advertisements
WO2016118848A1 (en) * 2015-01-22 2016-07-28 Clearstream. Tv, Inc. Video advertising system
CN107180360A (en) * 2017-04-19 2017-09-19 广东贝海信息科技有限公司 Digital advertisement dissemination system
CN112672191A (en) * 2020-12-30 2021-04-16 深圳市英特飞电子有限公司 Double-list advertisement playing method and device, computer equipment and storage medium
WO2021121026A1 (en) * 2019-12-16 2021-06-24 中兴通讯股份有限公司 Advertisement insertion method, electronic device and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070038728A1 (en) * 1999-12-08 2007-02-15 Jacobs Paul E A system for controlling the distribution of advertisements to informational client devices using a playlist
US20070112627A1 (en) * 1999-12-08 2007-05-17 Jacobs Paul E Method for distributing advertisements to client devices using an obscured ad monitoring function
US20060294258A1 (en) * 2005-06-28 2006-12-28 Microsoft Corporation Advertisement refresh rules for network applications
US20070294292A1 (en) * 2006-06-14 2007-12-20 Microsoft Corporation Advertising transfer and playback on portable devices
CN102117458A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Advertising service realization method, device and system
US20130132211A1 (en) * 2011-11-20 2013-05-23 Yahoo! Inc. Providing seamless online video advertisements
US20140245346A1 (en) * 2013-02-22 2014-08-28 Microsoft Corporation Overwriting existing media content with viewer-specific advertisements
WO2016118848A1 (en) * 2015-01-22 2016-07-28 Clearstream. Tv, Inc. Video advertising system
CN107180360A (en) * 2017-04-19 2017-09-19 广东贝海信息科技有限公司 Digital advertisement dissemination system
WO2021121026A1 (en) * 2019-12-16 2021-06-24 中兴通讯股份有限公司 Advertisement insertion method, electronic device and storage medium
CN112672191A (en) * 2020-12-30 2021-04-16 深圳市英特飞电子有限公司 Double-list advertisement playing method and device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116582708A (en) * 2023-07-07 2023-08-11 深圳创维智慧科技有限公司 Video playing method and device, electronic equipment and readable storage medium
CN116582708B (en) * 2023-07-07 2023-10-03 深圳创维智慧科技有限公司 Video playing method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN113473191B (en) 2023-08-25

Similar Documents

Publication Publication Date Title
US10762105B2 (en) Extensible application state preservation architecture
CN109218795B (en) Multi-device playing progress synchronization method and device and terminal device
CN106686257B (en) A kind of control method of mobile terminal, device and mobile terminal
US20190318766A1 (en) Method, Device, and System of Synchronously Playing Media File
WO2019100985A1 (en) Page processing method and mobile terminal
CN113204656A (en) Multimedia resource display method, device, equipment and storage medium
CN111163348A (en) Searching method and device based on video playing
CN111327940A (en) Video playing method, device and system
CN103338407A (en) Television set and television set channel browsing method
US20220350840A1 (en) Method and apparatus for lyric video display, electronic device, and computer-readable medium
US20200287968A1 (en) Data synchronization method and apparatus, and electronic cigarette
JP2023509724A (en) Material display method, device, electronic device, and storage medium
CN113473191B (en) Multi-device advertisement synchronous playing method and device, computer device and storage medium
US20170064405A1 (en) System and method for personalizing and recommending content
CN114679665A (en) Bluetooth headset audio and video synchronization method and device, electronic equipment and storage medium
CN109040819A (en) Playback progress synchronous method, device, equipment and storage medium
WO2018119707A1 (en) Method and apparatus for managing kernel configuration information, and electronic device
CN114666671A (en) Live broadcast praise interaction method, system, device, equipment and storage medium
CN106057222B (en) Multimedia file playing method and electronic equipment
CN110071959B (en) Method and device for timing synchronization of third-party national standard resources
CN114827698B (en) Method, device, terminal equipment and storage medium for synchronizing play information
CN115607965A (en) Game interaction method, device, equipment and medium
CN113873309A (en) Object playing method and device, electronic equipment and storage medium
CN115437545A (en) Information processing method, information processing device, storage medium and electronic equipment
CN114584822A (en) Synchronous playing method, device, terminal equipment and storage medium

Legal Events

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