CN109218789A - Advertisement machine synchronous playing system and method - Google Patents
Advertisement machine synchronous playing system and method Download PDFInfo
- Publication number
- CN109218789A CN109218789A CN201811385970.2A CN201811385970A CN109218789A CN 109218789 A CN109218789 A CN 109218789A CN 201811385970 A CN201811385970 A CN 201811385970A CN 109218789 A CN109218789 A CN 109218789A
- Authority
- CN
- China
- Prior art keywords
- advertisement machine
- advertisement
- main
- machine
- server
- 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
Links
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 58
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4122—Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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/47202—End-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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/812—Monomedia components thereof involving advertisement data
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of advertisement machine synchronous playing system and method, which includes server and multiple advertisement machines: the server is used to obtain the heartbeat signal of the main advertisement machine and judges whether the main advertisement machine is online according to the heartbeat signal;It is described to be used to synchronize itself clock according to the clock information of the main advertisement machine from advertisement machine if the main advertisement machine is online, and after clock synchronizes, the broadcast information of the main advertisement machine is obtained, and the broadcasting process of itself is adjusted according to the broadcast information;If the main advertisement machine is offline, the server is also used to choose one from advertisement machine from advertisement machine as new main advertisement machine all, and original main advertisement machine is switched to from advertisement machine.The present invention uses an advertisement machine to provide the benchmark that clock is synchronous and broadcasting is synchronous for other advertisement machines, and master-slave relationship switching is carried out when main advertisement machine goes offline, improves synchronous rapidity and stability.
Description
Technical field
The present invention relates to advertisement machine simultaneous techniques fields, in particular to a kind of advertisement machine synchronous playing system and side
Method.
Background technique
It flourishes recently as Internet technology, is spread in the place such as school, market, station, bank, house, cell
If a large amount of advertisement machine equipment, to meet the publication and relay of various information.It is needed in some cases using multiple devices frame
It is located at together while playing all kinds of resources (such as video, picture etc.), to reach broadcasting special-effect.
Existing advertisement machine, which is played simultaneously, generally to be realized using two ways:
Wired connection mode can play all kinds of resource main equipments (such as computer or other are wide playing indoor erection one
Announcement machine), the signal that main advertisement machine plays is distributed out by signal branch device, then be connected to other from advertisement with signal cable
On machine equipment, effect is played simultaneously to reach.But signal can only short range transmission, the synchronous effect just having, and cost because
Element, this mode use fewer.
Radio connection, the advertisement machine that need to be played simultaneously form a local to router by wifi or network interface connection
Net may be connected to background server by router.Then these advertisement machines are unified by server first from the server sync time
It sends and starts playing resource instruction, operation is played simultaneously according to play instruction, completion in advertisement machine.Since this scheme is realized simply,
Flexible for installation, industry largely uses this scheme.But its too reliance server, in the case where going on a journey unstable networks,
Influence whether synchronous effect.
Summary of the invention
In view of the above problems, the embodiment of the present invention is designed to provide a kind of advertisement machine synchronous playing system method, with
Solve the deficiencies in the prior art.
According to embodiment of the present invention, a kind of advertisement machine synchronous playing system is provided, including server and multiple
Advertisement machine, include in the multiple advertisement machine a main advertisement machine and at least one from advertisement machine, the server memory contains
Principal and subordinate's role relation of all advertisement machines, the system include:
The server is used to obtain the heartbeat signal of the main advertisement machine and judges the master according to the heartbeat signal
Whether advertisement machine is online;
It is described when being used for according to the clock information of the main advertisement machine from advertisement machine to itself if the main advertisement machine is online
Clock synchronizes, and after clock synchronizes, and obtains the broadcast information of the main advertisement machine, and certainly according to broadcast information adjustment
The broadcasting process of body;
If the main advertisement machine is offline, the server is also used to choose one from advertisement machine from advertisement machine conduct all
Original main advertisement machine is switched to from advertisement machine by new main advertisement machine.
In above-mentioned advertisement machine synchronous playing system, described " server is used to obtain the heartbeat letter of main advertisement machine
Number and judge whether the main advertisement machine online according to the heartbeat signal " before further include:
The advertisement machine sends role's acquisition instruction to the server every preset time;
The server determines the corresponding role of the advertisement machine according to principal and subordinate's role relation and sends out the role
It send to the advertisement machine.
In above-mentioned advertisement machine synchronous playing system, described " server is used to obtain the heart of the main advertisement machine
Jump signal and judge whether the main advertisement machine is online according to the heartbeat signal " include:
The main advertisement machine sends heartbeat signal to the server every preset time;
If the server is more than that preset time threshold does not receive the heartbeat signal that the main advertisement machine is sent, determine
The main advertisement machine is offline.
It is described " described to be used for from advertisement machine according to the main advertisement machine in above-mentioned advertisement machine synchronous playing system
Clock information synchronizes itself clock " include:
The IP address of itself is sent to all from advertisement machine by the main advertisement machine;
It is described from advertisement machine according to the IP address of the main advertisement machine to the main advertisement machine tranmitting data register synchronization request;
The clock information of itself is sent to described from wide by the main advertisement machine after receiving the clock synchronization request
Announcement machine;
It is described that the clock of itself is synchronized according to the clock information of the main advertisement machine from advertisement machine.
It is described " to obtain the broadcast information of the main advertisement machine, and according to institute in above-mentioned advertisement machine synchronous playing system
State the broadcasting process that broadcast information adjusts itself " include:
Described sent from advertisement machine according to the IP address of the main advertisement machine to the main advertisement machine plays synchronization request;
The broadcast information of itself is sent to from advertisement machine by the main advertisement machine after receiving broadcasting synchronization request,
In, the broadcast information includes advertisement ID being played on and playback progress value;
It is described that ad content being played on is switched according to the advertisement ID from advertisement machine, and according to the playback progress value
Adjust the playback progress of the advertisement.
In above-mentioned advertisement machine synchronous playing system, the main advertisement machine is by way of multicast by the IP address of itself
It is sent to all from advertisement machine.
Further include router in above-mentioned advertisement machine synchronous playing system, the advertisement machine by the router with
The server connection.
In above-mentioned advertisement machine synchronous playing system, the server is also stored with advertisement playlist;
The main advertisement machine by the IP address of itself be sent to it is all from advertisement machine while, the server will be described
Advertisement playlist is sent to all advertisement machines;
All advertisement machines play in order the content of corresponding advertisement all in accordance with the advertisement playlist.
In above-mentioned advertisement machine synchronous playing system, when principal and subordinate's role relation of the advertisement machine changes, institute
It states server and principal and subordinate's role relation after variation is issued to all advertisement machines.
According to another implementation of the invention, a kind of advertisement machine synchronous broadcast method is provided, be applied to server and
Multiple advertisement machines, include in the multiple advertisement machine a main advertisement machine and at least one from advertisement machine, the server memory
Principal and subordinate's role relation of all advertisement machines is contained, this method comprises:
The server obtains the heartbeat signal of the main advertisement machine and judges the main advertisement according to the heartbeat signal
Whether machine is online;
If the main advertisement machine is online, it is described from advertisement machine according to the clock information of the main advertisement machine to itself clock into
Row synchronizes, and after clock synchronizes, and obtains the broadcast information of the main advertisement machine, and adjusts itself according to the broadcast information
Broadcasting process;
If the main advertisement machine is offline, the server chooses one from advertisement machine as new master all from advertisement machine
Original main advertisement machine is switched to from advertisement machine by advertisement machine.
Yet another embodiment according to the present invention provides a kind of advertisement machine simultaneously playing device, be applied to server and
Multiple advertisement machines, include in the multiple advertisement machine a main advertisement machine and at least one from advertisement machine, the server memory
Principal and subordinate's role relation of all advertisement machines is contained, which includes:
Judgment module obtains the heartbeat signal of the main advertisement machine for the server and is sentenced according to the heartbeat signal
Whether the main advertisement machine of breaking is online;
Synchronization module, it is described to be believed from advertisement machine according to the clock of the main advertisement machine if online for the main advertisement machine
Breath synchronizes itself clock, and after clock synchronizes, and obtains the broadcast information of the main advertisement machine, and according to the broadcasting
Information adjusts the broadcasting process of itself;
Module is chosen, if offline for the main advertisement machine, the server chooses one from wide all from advertisement machine
Original main advertisement machine is switched to from advertisement machine by announcement machine as new main advertisement machine.
Another embodiment according to the present invention provides a kind of computer readable storage medium, and computer storage is situated between
Matter is stored with computer program, which, which is performed, executes above-mentioned advertisement machine synchronous broadcast method.
The technical scheme provided by this disclosed embodiment may include it is following the utility model has the advantages that
A kind of advertisement machine synchronous playing system and method in the present invention, when an advertisement machine being used to provide for other advertisement machines
Clock is synchronous and plays synchronous benchmark, relative to directly from the time synchronization of server, capable of greatly improving the quick of time synchronization
Property, stability and correctness;The presence of server monitoring advertisement machine, when main advertisement machine goes offline from other from advertisement machine
It chooses one to be played simultaneously from advertisement machine as the progress advertisement of main advertisement machine, carries out master-slave relationship switching, guarantee same between advertisement machine
Walk the continuity and stability played.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, letter will be made to attached drawing needed in the embodiment below
It singly introduces, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as to the present invention
The restriction of protection scope for those of ordinary skill in the art without creative efforts, can be with root
Other relevant attached drawings are obtained according to these attached drawings.
Fig. 1 shows a kind of structural schematic diagram of advertisement machine synchronous playing system provided in an embodiment of the present invention.
Fig. 2 shows the structural schematic diagrams of another advertisement machine synchronous playing system provided in an embodiment of the present invention.
Fig. 3 shows a kind of flow diagram of advertisement machine synchronous broadcast method provided in an embodiment of the present invention.
Fig. 4 shows a kind of structural schematic diagram of advertisement machine simultaneously playing device provided in an embodiment of the present invention.
Main element symbol description:
100- advertisement machine synchronous playing system;110- server;120- advertisement machine;130- router;200- advertisement machine is same
Walk playing device;210- judgment module;220- synchronization module;230- chooses module.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Embodiment 1
Fig. 1 shows a kind of structural schematic diagram of advertisement machine synchronous playing system provided in an embodiment of the present invention.
The advertisement machine synchronous playing system 100 includes server 110 and multiple advertisement machines 120.
The server 110 can store data and can carry out data communication and number with advertisement machine 120 to be any
Computer equipment or various platforms according to processing.
The server 110 connects the multiple advertisement machine 120, includes a main advertisement in the multiple advertisement machine 120
Machine and at least one from advertisement machine.
The server 110 is respectively that the multiple advertisement machine 120 configures principal and subordinate role, i.e., in all advertisement machines 120
It determines a main advertisement machine, i.e., all advertisement machines 120 except main advertisement machine is determined as from advertisement machine.
The server 110 stores the master of all advertisement machines 120 after the principal and subordinate role for determining all advertisement machines 120
From role relation.
Principal and subordinate's role relation of all advertisement machines 120 can be described by below table.
Advertisement machine number | Principal and subordinate role |
001 | Main advertisement machine |
002 | From advertisement machine |
…… | …… |
00N | From advertisement machine |
The server 110 will number the advertisement machine for being 001 and be arranged as main advertisement machine, and 002 to 00N advertisement machine is all provided with
It is set to from advertisement machine.Wherein, N is the integer greater than 1.
Further, the advertisement machine 120 sends role's acquisition instruction to the server 110 every preset time;Institute
Server 110 is stated to determine the corresponding role of the advertisement machine 120 according to principal and subordinate's role relation and be sent to the role
The advertisement machine 120.
Wherein, the role includes main advertisement machine role and from advertisement machine role.
Specifically, the advertisement machine 120 can send role's acquisition instruction to server 110 every preset time to obtain
Role belonging to itself, the role include main advertisement machine or from advertisement machine.
Further, when principal and subordinate's role relation of the advertisement machine 120 changes, the server 110 will variation
Principal and subordinate's role relation afterwards is issued to all advertisement machines 120.
Specifically, the advertisement machine 120 can also send role's acquisition instruction to the server 110 for the first time to obtain
Role belonging to itself will be become if principal and subordinate's role relation of the subsequent advertisement machine 120 changes by 110 active of server
Principal and subordinate's role relation of change is issued to all advertisement machines 120, and principal and subordinate's role relation determines certainly the advertisement machine 120 based on the received
New role belonging to body.
Further, the server 110 is also stored with advertisement playlist;The main advertisement machine by the IP of itself
Location be sent to it is all from advertisement machine while, the advertisement playlist is sent to all advertisement machines by the server 110
120;All advertisement machines 120 play in order the content of corresponding advertisement all in accordance with the advertisement playlist.
Specifically, the advertisement machine 120 then initializes after determining the role belonging to itself, waits and entering
Advertisement plays the page.
The advertisement playlist can be described by table.
Playing sequence | Advertisement number |
1 | A001 |
2 | A 002 |
…… | …… |
M | A 00M |
It include each advertisement of M in the advertisement playlist, first broadcasting is A001, and second broadcasting is A002,
Etc., m-th broadcasting is A00M.Wherein, M is the integer more than or equal to 1.
The advertisement playlist of storage is sent to all advertisement machines 120 by the server 110, plays the page in advertisement
Interior, all advertisement machines 120 play corresponding ad content all in accordance with the playing sequence in the advertisement playlist.
While the advertisement machine 120 plays content in the advertisement playlist, the main advertisement machine by itself
IP address is sent to all from advertisement machine.
Further, the IP address of itself is sent to all from advertisement machine by the main advertisement machine by way of multicast.
Specifically, the IP address of itself is sent to all from advertisement machine, improve data transfer by the main advertisement machine simultaneously
Rate reduces backbone network and a possibility that congestion occurs.
The server 110 is used to obtain the heartbeat signal of the main advertisement machine and according to heartbeat signal judgement
Whether main advertisement machine is online.
Specifically, the advertisement machine 120 sends heartbeat signal, the service to the server 110 every preset time
Device 110 starts timing after receiving the heartbeat signal that the advertisement machine 120 is sent, and is receiving the advertisement machine 120 transmission
Timing before is zeroed after next heartbeat signal, and restarts timing.
The server 110 judges whether the timing each time to the advertisement machine 120 reaches the predetermined time threshold
Value, after the timing reaches preset time threshold, judges the advertisement machine 120 for off-line state.
For example, the prefixed time interval is 1 second if the scheduled time threshold value is 30 minutes.The advertisement machine 120 exists
1st second to the server 110 send the first heartbeat signal, the server 110 after receiving first heartbeat signal,
Start first time timing;If the advertisement machine 120 had sent the second heartbeat signal, the server to server 110 at the 2nd second
110 after receiving second heartbeat signal, and the time of first time timing is zeroed, second of timing is restarted;If institute
It states advertisement machine 120 and had sent third heartbeat signal to server 110 at the 3rd second, the server 110 is receiving the third
After heartbeat signal, the time of second of timing is zeroed, third time timing is restarted;If the server 110 is after the 4th second
The heartbeat signal that the advertisement machine 120 is sent is not received, judges third time every preset time (for example, every 1 second)
Whether timing reaches 30 minutes, if third time timing reaches 30 minutes, judge the advertisement machine 120 for off-line state, otherwise,
The advertisement machine 120 is presence.
It is described when being used for according to the clock information of the main advertisement machine from advertisement machine to itself if the main advertisement machine is online
Clock synchronizes, and after clock synchronizes, and obtains the broadcast information of the main advertisement machine, and certainly according to broadcast information adjustment
The broadcasting process of body.
Further, described " it is described from advertisement machine be used for according to the clock information of the main advertisement machine to itself clock into
Row synchronizes " include:
The IP address of itself is sent to all from advertisement machine by the main advertisement machine;It is described wide according to the master from advertisement machine
The IP address of announcement machine is to the main advertisement machine tranmitting data register synchronization request;The main advertisement machine is asked receiving the clock and synchronize
After asking, the clock information of itself is sent to described from advertisement machine;It is described to be believed from advertisement machine according to the clock of the main advertisement machine
Breath synchronizes the clock of itself.
Specifically, it is described from advertisement machine after the clock information for receiving the main advertisement machine, with the main advertisement machine
On the basis of clock information, the clock information of itself is updated.
For example, if the clock information of the main advertisement machine be 2018/10/10 12:00:00, receive main advertisement machine when
The all of clock information adjust the clock information of itself to 2018/10/10 12:00:00 from advertisement machine.
Further, described " to obtain the broadcast information of the main advertisement machine, and itself is adjusted according to the broadcast information
Broadcasting process " includes:
Described sent from advertisement machine according to the IP address of the main advertisement machine to the main advertisement machine plays synchronization request;Institute
Main advertisement machine is stated after receiving broadcasting synchronization request, the broadcast information of itself is sent to from advertisement machine, wherein the broadcasting
Information includes advertisement ID being played on and playback progress value;It is described being played on according to advertisement ID switching from advertisement machine
Ad content, and adjust according to the playback progress value playback progress of the advertisement.
Specifically, it is described from advertisement machine after the broadcast information for receiving the main advertisement machine, cut according to the advertisement ID
Ad content being played on is changed, and the advertisement after switching is adjusted to the playback progress.
For example, the advertisement ID being played on of the main advertisement machine is A002, playback progress is the 15th second, is existed from advertisement machine
After the broadcast information for receiving the main advertisement machine, the broadcasting content of itself switches to the ad content of A002, and by A002
Playback progress adjust to the 15th second.It is described from advertisement machine by clock it is synchronous it is synchronous with broadcasting after, reach all advertisements and play
Same ad content and purpose with identical playback progress.
If the main advertisement machine is offline, the server 110 is also used to choose one from advertisement machine from advertisement machine all
As new main advertisement machine, original main advertisement machine is switched to from advertisement machine.
Specifically, if the server 110 monitors that the main advertisement machine is off-line state, the server 110 is from institute
Have and randomly select one from advertisement machine from advertisement machine as new main advertisement machine, original main advertisement machine is switched to from advertisement
Machine, and principal and subordinate's role relation is updated according to the role relation after change.
For example, main advertisement machine is A001 if the number of all advertisement machines 120 is N, and when A001 is offline, the server
110 randomly select one from advertisement machine as new main advertisement machine from advertisement machine at A002~A00N, and A001 is arranged
For from advertisement machine.
Further, the server 110 can be according to the main advertisement machine of setting of the number order of advertisement machine and from advertisement
The role of machine, and when main advertisement machine is offline, it will be next wide as new master from advertisement after the main advertisement machine number
Announcement machine.
For example, main advertisement machine is A001 if the number of all advertisement machines 120 is N, and when A001 is offline, the server
110 randomly select A002 as new main advertisement machine from advertisement machine at A002~A00N, and set A001 to from advertisement
Machine.
Further, whether the server 110 judges all online from advertisement machine, in all online slave advertisement machines
One is chosen from advertisement machine as new main advertisement machine.
For example, when main advertisement machine A001 is offline, the server 110 judge A002~A00N from advertisement machine whether
Line, if A002~A005 and A007~A00N are online, A006 is offline, then the server 110 is in A002~A005 and A007
One is chosen in~A00N from advertisement machine (such as A002) as new main advertisement machine, and sets A001 to from advertisement machine.
As shown in Fig. 2, shown advertisement machine synchronous playing system 100 further includes router 130, the server 110 and institute
The connection of router 130 is stated, the router 130 and the multiple advertisement machine 120 connect.The advertisement machine 120 passes through the road
Connection is realized by device 130 and the server 110, to carry out data transmission.
Further, the advertisement machine synchronous playing system 100 can also include multiple routers 130, the server
110 and the multiple router 130 connect, each router 130 and at least one described advertisement machine 120 connection.
Embodiment 2
Fig. 3 shows a kind of flow diagram of advertisement machine synchronous broadcast method provided in an embodiment of the present invention.The advertisement
Machine synchronous broadcast method is applied to server and multiple advertisement machines, includes a main advertisement machine and at least in the multiple advertisement machine
One from advertisement machine, the server memory contains principal and subordinate's role relation of all advertisement machines.The server connection is described more
A advertisement machine.
The advertisement machine synchronous broadcast method includes the following steps:
Step S110, server obtain the heartbeat signal machine of main advertisement machine according to heartbeat signal judge main advertisement machine whether
Line.
Step S120 carries out itself clock from advertisement machine according to the clock information of main advertisement machine if main advertisement machine is online
It is synchronous, and after clock synchronizes, the broadcast information of main advertisement machine is obtained, and the broadcasting process of itself is adjusted according to broadcast information.
Step S130, if main advertisement machine is offline, server it is all from advertisement machine choose one from advertisement machine as newly
Original main advertisement machine is switched to from advertisement machine by main advertisement machine.
Embodiment 3
Fig. 4 shows a kind of structural schematic diagram of advertisement machine simultaneously playing device provided in an embodiment of the present invention.The advertisement
Machine simultaneously playing device 200 is applied to server and multiple advertisement machines, include in the multiple advertisement machine a main advertisement machine and
, from advertisement machine, the server memory contains principal and subordinate's role relation of all advertisement machines at least one.The server connects institute
State multiple advertisement machines.
The advertisement machine simultaneously playing device 200 includes judgment module 210, synchronization module 220 and selection module 230.
Judgment module 210, the heartbeat signal machine for obtaining main advertisement machine for server judge main advertisement according to heartbeat signal
Whether machine is online.
Synchronization module 220, if for main advertisement machine it is online, from advertisement machine according to the clock information of main advertisement machine to itself when
Clock synchronizes, and after clock synchronizes, and obtains the broadcast information of main advertisement machine, and the broadcasting of itself is adjusted according to broadcast information
Process.
Module 230 is chosen, if offline for main advertisement machine, server chooses one from advertisement machine work all from advertisement machine
For new main advertisement machine, original main advertisement machine is switched to from advertisement machine.
The present embodiment additionally provides a kind of computer storage medium, and the computer storage medium is stored with computer journey
Sequence, the computer program are performed for executing the above-mentioned advertisement machine synchronous broadcast method.
So far, the present invention provides a kind of advertisement machine synchronous playing system and methods, and one is chosen in all advertisement machines
Advertisement machine is mentioned to be all from advertisement machine using remaining all advertisement machines as from advertisement machine by main advertisement machine as main advertisement machine
For the service that clock is synchronous and broadcasting is synchronous, so that all according to the clock information of the main advertisement machine and play letter from advertisement machine
It ceases and carries out time synchronization and play to synchronize, carry out clock synchronization and play to synchronize relative to from server, it is synchronous to improve clock
And play synchronous rapidity, stability and correctness;Server can monitor the presence of all advertisement machines in real time, main wide
Announcement machine be abnormal and cannot be normally online when, server from it is all chosen in advertisement machine it is one wide as new master from advertisement machine
Announcement machine completes the again established process of master-slave relationship, guarantees synchronous continuity using original advertisement machine as from advertisement machine
And stability.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and structure in attached drawing
Figure shows the system frame in the cards of the device of multiple embodiments according to the present invention, method and computer program product
Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code
A part, a part of the module, section or code includes one or more for implementing the specified logical function
Executable instruction.It should also be noted that function marked in the box can also be to be different from the implementation as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that in structure chart and/or flow chart
The combination of each box and the box in structure chart and/or flow chart, can function or movement as defined in executing it is dedicated
Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention can integrate one independence of formation together
Part, be also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be intelligence
Can mobile phone, personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic or disk etc. be various to can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.
Claims (10)
1. a kind of advertisement machine synchronous playing system, which is characterized in that including server and multiple advertisement machines, the multiple advertisement machine
In include main advertisement machine and at least one from advertisement machine, the principal and subordinate role that the server memory contains all advertisement machines is closed
System, the system include:
The server is used to obtain the heartbeat signal of the main advertisement machine and judges the main advertisement according to the heartbeat signal
Whether machine is online;
If the main advertisement machine is online, it is described from advertisement machine be used for according to the clock information of the main advertisement machine to itself clock into
Row synchronizes, and after clock synchronizes, and obtains the broadcast information of the main advertisement machine, and adjusts itself according to the broadcast information
Broadcasting process;
If the main advertisement machine is offline, the server is also used to all to choose one from advertisement machine from advertisement machine as newly
Original main advertisement machine is switched to from advertisement machine by main advertisement machine.
2. advertisement machine synchronous playing system according to claim 1, which is characterized in that described " server is for obtaining
Take the heartbeat signal of main advertisement machine and judge whether the main advertisement machine is online according to the heartbeat signal " before further include:
The advertisement machine sends role's acquisition instruction to the server every preset time;
The server determines the corresponding role of the advertisement machine according to principal and subordinate's role relation and is sent to the role
The advertisement machine.
3. advertisement machine synchronous playing system according to claim 1, which is characterized in that described " server is for obtaining
Take the heartbeat signal of the main advertisement machine and judge whether the main advertisement machine is online according to the heartbeat signal " include:
The main advertisement machine sends heartbeat signal to the server every preset time;
If the server is more than that preset time threshold does not receive the heartbeat signal that the main advertisement machine is sent, determine described in
Main advertisement machine is offline.
4. advertisement machine synchronous playing system according to claim 1, which is characterized in that described " described to be used for from advertisement machine
Itself clock is synchronized according to the clock information of the main advertisement machine " include:
The IP address of itself is sent to all from advertisement machine by the main advertisement machine;
It is described from advertisement machine according to the IP address of the main advertisement machine to the main advertisement machine tranmitting data register synchronization request;
The clock information of itself is sent to described from advertisement by the main advertisement machine after receiving the clock synchronization request
Machine;
It is described that the clock of itself is synchronized according to the clock information of the main advertisement machine from advertisement machine.
5. advertisement machine synchronous playing system according to claim 4, which is characterized in that described " to obtain the main advertisement machine
Broadcast information, and adjust according to the broadcast information itself broadcasting process " include:
Described sent from advertisement machine according to the IP address of the main advertisement machine to the main advertisement machine plays synchronization request;
The broadcast information of itself is sent to from advertisement machine, wherein institute by the main advertisement machine after receiving broadcasting synchronization request
Stating broadcast information includes advertisement ID being played on and playback progress value;
It is described that ad content being played on is switched according to the advertisement ID from advertisement machine, and adjusted according to the playback progress value
The playback progress of the advertisement.
6. advertisement machine synchronous playing system according to claim 4, which is characterized in that the main advertisement machine passes through multicast
The IP address of itself is sent to all from advertisement machine by mode.
7. advertisement machine synchronous playing system according to claim 1, which is characterized in that it further include router, the advertisement
Machine is connect by the router with the server.
8. advertisement machine synchronous playing system according to claim 4, which is characterized in that the server is also stored with advertisement
Playlist;
The main advertisement machine by the IP address of itself be sent to it is all from advertisement machine while, the server is by the advertisement
Playlist is sent to all advertisement machines;
All advertisement machines play in order the content of corresponding advertisement all in accordance with the advertisement playlist.
9. advertisement machine synchronous playing system according to claim 1, which is characterized in that in the principal and subordinate role of the advertisement machine
When relationship changes, principal and subordinate's role relation after variation is issued to all advertisement machines by the server.
10. a kind of advertisement machine synchronous broadcast method, which is characterized in that it is applied to server and multiple advertisement machines, it is the multiple wide
Include in announcement machine main advertisement machine and at least one from advertisement machine, the server memory contains the principal and subordinate angle of all advertisement machines
Color relationship, this method comprises:
The server obtains the heartbeat signal of the main advertisement machine and judges that the main advertisement machine is according to the heartbeat signal
It is no online;
It is described that itself clock is carried out together according to the clock information of the main advertisement machine from advertisement machine if the main advertisement machine is online
Step, and after clock synchronizes, the broadcast information of the main advertisement machine is obtained, and the broadcasting of itself is adjusted according to the broadcast information
Process;
If the main advertisement machine is offline, the server chooses one from advertisement machine as new main advertisement all from advertisement machine
Original main advertisement machine is switched to from advertisement machine by machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811385970.2A CN109218789A (en) | 2018-11-20 | 2018-11-20 | Advertisement machine synchronous playing system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811385970.2A CN109218789A (en) | 2018-11-20 | 2018-11-20 | Advertisement machine synchronous playing system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109218789A true CN109218789A (en) | 2019-01-15 |
Family
ID=64993895
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811385970.2A Pending CN109218789A (en) | 2018-11-20 | 2018-11-20 | Advertisement machine synchronous playing system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109218789A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110601914A (en) * | 2019-08-05 | 2019-12-20 | 深圳市大拿科技有限公司 | Method and system for monitoring survival state of server |
CN112511900A (en) * | 2020-11-24 | 2021-03-16 | 林嘉俊 | Digital screen advertisement monitoring system |
CN113329095A (en) * | 2021-06-18 | 2021-08-31 | 深圳市百方标识工程有限公司 | Signboard device and terminal sharing method thereof |
CN113746938A (en) * | 2021-09-17 | 2021-12-03 | 京东方科技集团股份有限公司 | File transmission method, device and system |
CN114125026A (en) * | 2021-11-24 | 2022-03-01 | 四川长虹电器股份有限公司 | Communication method for advertising player and advertising player |
CN114339351A (en) * | 2021-12-30 | 2022-04-12 | 湖南众益文化传媒股份有限公司 | Synchronous playing device and method of advertising player device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103151058A (en) * | 2013-01-30 | 2013-06-12 | 福建三元达通讯股份有限公司 | Method and system of displaying video simultaneously |
CN103200461A (en) * | 2013-01-14 | 2013-07-10 | 易程(苏州)智能系统有限公司 | Multiple-player-terminal synchronized playing system and playing method |
US20130328745A1 (en) * | 2012-06-08 | 2013-12-12 | Samsung Electronics Co., Ltd. | Display apparatus, display synchronization apparatus, display synchronization system, and method for synchronizing of display apparatus |
CN103475908A (en) * | 2013-07-23 | 2013-12-25 | 北京九华互联科技有限公司 | Multi-screen synchronization play method and device |
CN103634312A (en) * | 2013-11-26 | 2014-03-12 | 广州晶锐信息技术有限公司 | Device management method for realizing multi-audio fast synchrony based on audio sharing |
CN203482240U (en) * | 2013-08-27 | 2014-03-12 | 深圳市创品新媒体科技有限公司 | Synchronization play system of advertisement machines |
CN108055564A (en) * | 2017-12-20 | 2018-05-18 | 广州小百合信息技术有限公司 | Multiple playback terminal broadcasting content synchronous broadcast methods and system |
-
2018
- 2018-11-20 CN CN201811385970.2A patent/CN109218789A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130328745A1 (en) * | 2012-06-08 | 2013-12-12 | Samsung Electronics Co., Ltd. | Display apparatus, display synchronization apparatus, display synchronization system, and method for synchronizing of display apparatus |
CN103200461A (en) * | 2013-01-14 | 2013-07-10 | 易程(苏州)智能系统有限公司 | Multiple-player-terminal synchronized playing system and playing method |
CN103151058A (en) * | 2013-01-30 | 2013-06-12 | 福建三元达通讯股份有限公司 | Method and system of displaying video simultaneously |
CN103475908A (en) * | 2013-07-23 | 2013-12-25 | 北京九华互联科技有限公司 | Multi-screen synchronization play method and device |
CN203482240U (en) * | 2013-08-27 | 2014-03-12 | 深圳市创品新媒体科技有限公司 | Synchronization play system of advertisement machines |
CN103634312A (en) * | 2013-11-26 | 2014-03-12 | 广州晶锐信息技术有限公司 | Device management method for realizing multi-audio fast synchrony based on audio sharing |
CN108055564A (en) * | 2017-12-20 | 2018-05-18 | 广州小百合信息技术有限公司 | Multiple playback terminal broadcasting content synchronous broadcast methods and system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110601914A (en) * | 2019-08-05 | 2019-12-20 | 深圳市大拿科技有限公司 | Method and system for monitoring survival state of server |
CN112511900A (en) * | 2020-11-24 | 2021-03-16 | 林嘉俊 | Digital screen advertisement monitoring system |
CN113329095A (en) * | 2021-06-18 | 2021-08-31 | 深圳市百方标识工程有限公司 | Signboard device and terminal sharing method thereof |
CN113746938A (en) * | 2021-09-17 | 2021-12-03 | 京东方科技集团股份有限公司 | File transmission method, device and system |
CN113746938B (en) * | 2021-09-17 | 2023-08-08 | 京东方科技集团股份有限公司 | File transmission method, device and system |
CN114125026A (en) * | 2021-11-24 | 2022-03-01 | 四川长虹电器股份有限公司 | Communication method for advertising player and advertising player |
CN114125026B (en) * | 2021-11-24 | 2023-09-05 | 四川长虹电器股份有限公司 | Communication method for advertising machine and advertising machine |
CN114339351A (en) * | 2021-12-30 | 2022-04-12 | 湖南众益文化传媒股份有限公司 | Synchronous playing device and method of advertising player device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109218789A (en) | Advertisement machine synchronous playing system and method | |
CN105308673B (en) | For managing the method for the output in HDMI sources, system and medium | |
CN107071509A (en) | The live video precise synchronization method of multichannel | |
CN103517092A (en) | Method and device for video displaying | |
CN103839558A (en) | Method and server for synchronous playing and player | |
CN104581189A (en) | Multi-screen controlling method and system | |
CN102510395A (en) | Flash video scheduling method based on peer to server peer (P2SP) | |
WO2019001166A1 (en) | Television advertisement pushing method, system and electronic device | |
CN105337901A (en) | Router intelligent bandwidth allocation method and device | |
CN110933450B (en) | Multi-channel live broadcast synchronization method, system, edge device, terminal and storage medium | |
CN108810578A (en) | Advertisement cut-in method and system applied to user terminal | |
CN108366283A (en) | The media sync playback method of more equipment rooms | |
CN108833552A (en) | A kind of P2P content distribution system of promiscuous mode | |
CN106303626A (en) | Orientation pushes the system and method for diversity advertisement in real time | |
CN106911950A (en) | A kind of video synchronization method and system | |
CN108174267A (en) | The sending device of interactive information, method and computer readable storage medium in live streaming | |
CN103297707A (en) | Ultrahigh-definition video play system | |
CN108306942A (en) | Communication means, storage medium, electronic equipment and the system that multi-user is broadcast live simultaneously | |
CN107249136A (en) | Method for connecting network and device | |
CN107948703B (en) | Method and device for synchronizing playing progress | |
CN104661089A (en) | Terminal desktop display method, terminal desktop display device and terminal | |
CN104715062B (en) | A kind of method and device that advertisement pushing platform is docked with DSP servers | |
CN103248921A (en) | Advertising method, device and system | |
CN104766256A (en) | Method and device for determining activeness | |
CN102983984A (en) | Method and system for solution of aging of multicast entries |
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: 20190115 |
|
RJ01 | Rejection of invention patent application after publication |