CN102868913B - A kind of remote synchronization virtual monitor method and system - Google Patents

A kind of remote synchronization virtual monitor method and system Download PDF

Info

Publication number
CN102868913B
CN102868913B CN201210375209.7A CN201210375209A CN102868913B CN 102868913 B CN102868913 B CN 102868913B CN 201210375209 A CN201210375209 A CN 201210375209A CN 102868913 B CN102868913 B CN 102868913B
Authority
CN
China
Prior art keywords
server
status information
current play
presentation facility
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210375209.7A
Other languages
Chinese (zh)
Other versions
CN102868913A (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 Huasheng Software Technology Co. Ltd.
Original Assignee
TCL Digital Technology Shenzhen 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 TCL Digital Technology Shenzhen Co Ltd filed Critical TCL Digital Technology Shenzhen Co Ltd
Priority to CN201210375209.7A priority Critical patent/CN102868913B/en
Publication of CN102868913A publication Critical patent/CN102868913A/en
Application granted granted Critical
Publication of CN102868913B publication Critical patent/CN102868913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention is applicable to computer application field, it is provided that a kind of remote synchronization virtual monitor method and system, described method includes: terminal presentation facility is set up socket with server and is connected;Current play status information, after receiving the monitor command that server sends, is sent to server by terminal presentation facility;Server is according to playing resource corresponding in described current play status information searching to server and synchronizes to play.Due to the fact that during monitoring, it is only necessary to the current play status information of terminal presentation facility is sent to server, and current play status capacity is little, it is not take up Internet resources, thus alleviates network burden, and owing to the data volume of transmission is little, spread speed is fast, accelerates the speed of synchronization monitoring.

Description

A kind of remote synchronization virtual monitor method and system
Technical field
The invention belongs to computer application field, particularly relate to a kind of remote synchronization virtual monitor method and system.
Background technology
Remote dummy monitoring technology is a kind of technology being widely used on digital signage system, can easily be right Having a very wide distribution, region disperses, and the broadcasting situation of large number of digital signage terminal monitors in real time. And in existing digital signage system, commonly used screen of grabbing realizes the monitoring to terminal presentation facility, it may be assumed that Terminal presentation facility grabs screen by sectional drawing, sectional drawing returns to server and monitors to realize remote dummy, but, This method is not only not convenient to use, and is grabbing screen frequency height, also can take too much net when the sectional drawing of transmission is many Network resource, and data transmission more slowly also result in monitoring asynchronous.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of remote synchronization virtual monitor method and system, it is intended to solve Certainly existing remote dummy monitors the problem that technology synchronizing speed is relatively slow and takies Internet resources.
The embodiment of the present invention is achieved in that a kind of remote synchronization virtual monitor method, and described method includes:
Terminal presentation facility is set up socket with server and is connected;
Current play status information, after receiving the monitor command that server sends, is sent out by terminal presentation facility Give server;
Server is according to playing resource corresponding in described current play status information searching to server and synchronizes Play.
The another object of the embodiment of the present invention is to provide a kind of remote synchronization virtual monitor system, described system Including terminal presentation facility and server, wherein:
Terminal presentation facility includes:
Terminal connection establishment module, is connected for setting up socket with server;
Status information returns module, for after receiving the monitor command that server sends, by currently playing Status information is sent to server;
Server includes:
Server connection establishment module, is connected for setting up socket with terminal presentation facility;
Monitor command sending module, for being sent to terminal presentation facility by monitor command;
Synchronize playing module, for server according to described current play status information searching to phase in server The playing resource answered also synchronizes to play.
In embodiments of the present invention, the resource play due to terminal presentation facility is stored in server end, Thus after when server transmission monitor command to terminal presentation facility, as long as terminal presentation facility will currently be broadcast Putting status information and be sent to server, server just can be looked at server end by this current play status information Play to corresponding playing resource synchronous preview, thus realize remote synchronization virtual monitor.Additionally, due to During monitoring, it is only necessary to the current play status information of terminal presentation facility is sent to server, and works as Front broadcast state capacity is little, is not take up Internet resources, thus alleviates network burden, and due to the number of transmission Little according to amount, spread speed is fast, accelerates the speed of synchronization monitoring.
Accompanying drawing explanation
Fig. 1 is the remote synchronization virtual monitor method flow diagram that first embodiment of the invention provides;
Fig. 2 is the remote synchronization virtual monitor method flow diagram that second embodiment of the invention provides;
Fig. 3 is the remote synchronization virtual monitor system structure schematic diagram that third embodiment of the invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein Only in order to explain the present invention, it is not intended to limit the present invention.
The embodiment of the present invention provides a kind of remote synchronization virtual monitor method, at terminal presentation facility and server After setting up network connection, current play status information is sent to server by terminal presentation facility so that service Device finds the playing resource of correspondence according to current state information at server end and synchronizes to play, and comes real with this Existing terminal presentation facility monitors with the remote synchronization of server.
In order to technical solutions according to the invention are described, illustrate below by specific embodiment.
Embodiment one:
It is illustrated in figure 1 the flow chart of the remote synchronization virtual monitor method that first embodiment of the invention provides, For convenience of description, illustrate only the part relevant to the embodiment of the present invention.
In step s 11, terminal presentation facility is set up socket (socket) and is connected with server.
In embodiments of the present invention, terminal presentation facility is connected to server by network, and builds with server After vertical socket connects, interacted with server by procotol.Terminal presentation facility can pass through herein Cable network or wireless network are connected to server, and the network that terminal presentation facility interacts with server Agreement can include multiple, does not limits at this.As: multiple terminal presentation facilities can pass through wireless WIFI net Network is connected to server, and after successful connection, terminal presentation facility and server can set up socket by Transmission Control Protocol Word connection interacts.When server sends request to terminal, terminal presentation facility is according to received Request returns data to server, thus completes an interaction.Wherein, terminal presentation facility include but It is not limited to: advertisement machine, mobile phone, notebook computer, panel computer, TV etc..
In step s 12, monitor command is sent to terminal presentation facility by server.
In step s 13, current play status information is sent to server by terminal presentation facility.
In embodiments of the present invention, terminal presentation facility is after starting and being connected with server foundation, and terminal shows Showing that equipment just records current play status information, the monitor command sent upon receipt of server, just by institute The current state information of record is sent to server.Wherein, current play status includes but not limited to: current The tag number of playing resource and reproduction time.
In step S14, server is play accordingly according in current play status information searching to server Resource also synchronizes to play.
In embodiments of the present invention, due in resource all presence servers that terminal presentation facility is play, because of And after server receives the current play status information that terminal presentation facility returns, according to current play status Information searching is to playing resource corresponding in server, and synchronizes to play this playing resource at server end, with This realizes the remote synchronization virtual monitor of server and terminal presentation facility.
In embodiments of the present invention, the resource play due to terminal presentation facility is stored in server end, Thus after when server transmission monitor command to terminal presentation facility, as long as terminal presentation facility will currently be broadcast Putting status information and be sent to server, server just can be looked at server end by this current play status information Play to corresponding playing resource synchronous preview, thus realize remote synchronization virtual monitor.Additionally, due to During monitoring, it is only necessary to the current play status information of terminal presentation facility is sent to server, and works as Front broadcast state capacity is little, is not take up Internet resources, thus alleviates network burden, and due to the number of transmission Little according to amount, spread speed is fast, accelerates the speed of synchronization monitoring.
Embodiment two:
It is illustrated in figure 2 the flow chart of the remote synchronization virtual monitor method that second embodiment of the invention provides, For convenience of description, illustrate only the part relevant to the embodiment of the present invention.
In the step s 21, terminal presentation facility is set up socket with server and is connected.
In step S22, terminal presentation facility monitors the monitor command that server sends.
In embodiments of the present invention, when server and terminal presentation facility all start, terminal presentation facility One thread can be responsible for setting up socket with server and be connected, and starts listening port, monitors server and sends Monitor command.
In step S23, terminal presentation facility resolves playlist and obtains current play status information.
In embodiments of the present invention, a thread of terminal presentation facility is setting up the socket with server even Connect, and when monitoring the monitor command of server transmission, another thread of terminal presentation facility is to played column After table is decrypted, resolves the content of playlist, from the playlist resolved, obtain currently playing shape State information.
Wherein, the playlists records broadcasting content information of terminal presentation facility, as terminal presentation facility is wanted The information such as the playing resource of broadcasting, reproduction time, type-setting mode.Wherein, the playing resource that terminal is to be play Include but not limited to: the playing resource such as video, picture, background music, captions.Wherein, playlist Form can be XML, javascript etc., does not limits at this.This sentences playlist is that XML format is Example, if playlist is playlist.xml, then includes video, picture, background sound in this playlist These playing resource are integrated into multiple unit in this playlist by the playing resource such as pleasure, captions simultaneously Unit, each unit unit, in addition to including above-mentioned playing resource, also include the row playing these playing resource Version mode and reproduction time etc..
In step s 24, monitor command is sent to terminal presentation facility by server.
In step s 25, current play status information is sent to server by terminal presentation facility.
In embodiments of the present invention, terminal presentation facility, after listening to the monitor command that server sends, connects Receive monitor command, and according to monitor command, current play status information is sent to server.Due to herein eventually What end display device was set up with server is that socket is connected, then terminal presentation facility often receives a server The monitor command sent, then return a current play status information to server.
The most still as a example by above-mentioned playlist playlist.xml, then terminal presentation facility is receiving monitoring After order, send following code to server and to return currently playing information to server.
MO,unit=167_1,vi=567,pi1=586,pi2=583,pi3=581,su=579,mp=576,ti=10;
Wherein, MO is head, represents the meaning of monitoring;Unit=167_1 represents and is currently played resource institute Unit unit number in playlist playlist.xml be 167_1;Vi=567 represents currently playing Video features number is 567;Pi1=586 represents that the first currently playing pictures tag number is 586;pi2=583 The the second pictures tag number representing currently playing is 583;Pi3=581 represents the 3rd currently playing pictures Tag number is 581;Su=579 represents that currently playing subtitles appearances number is 579;Mp=576 represents and currently broadcasts The background music tag number put is 576;Ti represents the reproduction time of currently playing resource, and unit is ms.
In embodiments of the present invention, only need due to terminal current play status information is sent to server, and Current play status information is only the shortest data slot, takies Internet resources less.
In step S26, server obtains currently playing by current play status information analysis playlist The type-setting mode of resource.
In embodiments of the present invention, owing in server, storage has the playlist identical with terminal presentation facility, Therefore after receiving the current play status information that terminal presentation facility sends, just can be by resolving played column Table obtains the type-setting mode of currently playing resource.
In step s 27, server is looked into according to the tag number of resource currently playing in current play status information Find the corresponding playing resource of storage in server.
In embodiments of the present invention, due in resource all presence servers that terminal presentation facility is play, because of And server just can find server according to the tag number of the currently playing resource in current play status information In the playing resource corresponding with these tag numbers.
In step S28, server is according to the type-setting mode of currently playing resource and current play status information In the reproduction time of currently playing resource synchronize to play the corresponding playing resource that found at server end.
In embodiments of the present invention, it is determined that the playing resource play with terminal presentation facility is corresponding After playing resource, according to the type-setting mode of currently playing resource, playing resource carried out typesetting, and according to currently The reproduction time of playing resource synchronizes to play corresponding playing resource at server end.
In embodiments of the present invention, the resource play due to terminal presentation facility is stored in server end, Thus after when server transmission monitor command to terminal presentation facility, as long as terminal presentation facility will currently be broadcast Putting status information and be sent to server, server just can be looked at server end by this current play status information Play to corresponding playing resource synchronous preview, thus realize remote synchronization virtual monitor.Additionally, due to During monitoring, it is only necessary to the current play status information of terminal presentation facility is sent to server, and works as Front broadcast state capacity is little, is not take up Internet resources, thus alleviates network burden, and due to the number of transmission Little according to amount, spread speed is fast, accelerates the speed of synchronization monitoring.
Embodiment three:
The remote synchronization virtual monitor system structure schematic diagram that Fig. 3 provides for the embodiment of the present invention, for the ease of Illustrate, illustrate only the part relevant to the embodiment of the present invention.Wherein:
In embodiments of the present invention, remote synchronization virtual monitor system includes terminal presentation facility 31 and server 32.Wherein, terminal presentation facility 31 includes: terminal connection establishment module 311, monitoring module 312, shape State data obtaining module 313 and status information return module 314.Server 32 includes: server connects to be built Formwork erection block 321, monitor command sending module 322 and synchronization playing module 323.Wherein:
For terminal presentation facility 31,
Terminal connection establishment module 311, is connected for setting up socket with server.
Monitor module 312, for monitoring the monitor command that server sends.
State information acquisition module 313, is used for resolving playlist and obtains current play status information.
Status information returns module 314, for after receiving the monitor command that server sends, by current Broadcast state information is sent to server.
For server 32,
Server connection establishment module 321, is connected for setting up socket with terminal presentation facility.
Monitor command sending module 322, for being sent to terminal presentation facility by monitor command.
Synchronize playing module 323, for server according to phase in current play status information searching to server The playing resource answered also synchronizes to play.
In embodiments of the present invention, synchronize playing module 323 and include three subelements, be respectively as follows:
Typesetting determines module 3231, currently broadcasts for being obtained by current play status information analysis playlist Put the type-setting mode of resource.
Playing resource searches module 3232, for the spy according to resource currently playing in current play status information The number of levying finds the corresponding playing resource of storage in server.
Synchronize to play submodule 3233, be used for the type-setting mode according to currently playing resource and current play status In information, the reproduction time of currently playing resource is play money accordingly what server end synchronization broadcasting found Source.
In embodiments of the present invention, the resource play due to terminal presentation facility is stored in server end, Thus after when server transmission monitor command to terminal presentation facility, as long as terminal presentation facility will currently be broadcast Putting status information and be sent to server, server just can be looked at server end by this current play status information Play to corresponding playing resource synchronous preview, thus realize remote synchronization virtual monitor.Additionally, due to During monitoring, it is only necessary to the current play status information of terminal presentation facility is sent to server, and works as Front broadcast state capacity is little, is not take up Internet resources, thus alleviates network burden, and due to the number of transmission Little according to amount, spread speed is fast, accelerates the speed of synchronization monitoring.
It will appreciated by the skilled person that all or part of step realizing in above-described embodiment method The program that can be by completes to instruct relevant hardware, and described program can be stored in a computer In read/write memory medium, described storage medium, such as ROM/RAM, disk, CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this Any amendment, equivalent and the improvement etc. made within bright spirit and principle, should be included in the present invention Protection domain within.

Claims (4)

1. a remote synchronization virtual monitor method, it is characterised in that described method comprises the steps:
Terminal presentation facility is set up socket with server and is connected, and monitors the monitor command that server sends;
Terminal presentation facility resolves the content of playlist, obtains currently playing from the playlist resolved Status information, described current play status information includes: the tag number of currently playing resource and reproduction time;
Current play status information, after receiving the monitor command that server sends, is sent out by terminal presentation facility Give server;
Server is according to playing resource corresponding in described current play status information searching to server and synchronizes Play;
Wherein, a thread of terminal presentation facility is connected with the socket of server in foundation, and monitors clothes Business device send monitor command time, another thread of terminal presentation facility after playlist is decrypted, Resolve the content of playlist, from the playlist resolved, obtain described current play status information.
2. the method for claim 1, it is characterised in that described server is according to described currently playing Status information finds in server corresponding playing resource and synchronizes broadcasting and include:
Server obtains the typesetting of currently playing resource by described current play status information analysis playlist Mode;
Server finds server according to the tag number of currently playing resource in described current play status information The corresponding playing resource of middle storage;
Server is according to currently playing in the type-setting mode of described currently playing resource and current play status information The reproduction time of resource synchronizes at server end to play the corresponding playing resource found.
3. a remote synchronization virtual monitor system, it is characterised in that described system includes terminal presentation facility And server, wherein:
Terminal presentation facility includes:
Terminal connection establishment module, is connected for setting up socket by a thread with server;
Monitor module, for monitoring, by one thread, the monitor command that server sends;
State information acquisition module, for resolving the content of playlist, from being resolved by another this thread Playlist in obtain current play status information, described current play status information includes: currently playing The tag number of resource and reproduction time;
Status information returns module, for after receiving the monitor command that server sends, by currently playing Status information is sent to server;
Server includes:
Server connection establishment module, is connected for setting up socket with terminal presentation facility;
Monitor command sending module, for being sent to terminal presentation facility by monitor command;
Synchronize playing module, for server according to described current play status information searching to phase in server The playing resource answered also synchronizes to play.
4. system as claimed in claim 3, it is characterised in that described synchronization playing module includes:
Typesetting determines module, currently broadcasts for being obtained by described current play status information analysis playlist Put the type-setting mode of resource;
Playing resource searches module, for according to the spy of currently playing resource in described current play status information The number of levying finds the corresponding playing resource of storage in server;
Synchronize to play submodule, be used for the type-setting mode according to described currently playing resource and current play status In information, the reproduction time of currently playing resource is play money accordingly what server end synchronization broadcasting found Source.
CN201210375209.7A 2012-09-29 2012-09-29 A kind of remote synchronization virtual monitor method and system Active CN102868913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210375209.7A CN102868913B (en) 2012-09-29 2012-09-29 A kind of remote synchronization virtual monitor method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210375209.7A CN102868913B (en) 2012-09-29 2012-09-29 A kind of remote synchronization virtual monitor method and system

Publications (2)

Publication Number Publication Date
CN102868913A CN102868913A (en) 2013-01-09
CN102868913B true CN102868913B (en) 2016-08-17

Family

ID=47447472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210375209.7A Active CN102868913B (en) 2012-09-29 2012-09-29 A kind of remote synchronization virtual monitor method and system

Country Status (1)

Country Link
CN (1) CN102868913B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184944B (en) * 2014-08-15 2016-03-16 小米科技有限责任公司 Obtain method and the device of multimedia data stream
CN106713085A (en) * 2016-12-14 2017-05-24 华东交通大学 Household music control system and method for controlling playing of household music
CN107820100B (en) * 2017-10-30 2020-08-28 北京四达时代软件技术股份有限公司 Internet audio and video playing method and device
CN108632657B (en) * 2018-07-06 2020-12-01 深圳创维-Rgb电子有限公司 Subtitle display method, storage medium and smart television

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008205669A (en) * 2007-02-19 2008-09-04 Victor Co Of Japan Ltd Network monitoring unit and network monitoring program
CN101751819A (en) * 2009-12-16 2010-06-23 四川长虹电器股份有限公司 Digital signage system and method for dynamically updating and remotely monitoring terminal
CN202111815U (en) * 2011-06-29 2012-01-11 福建省西西梯网络工程有限公司 Mobile multi-medium broadcast remote monitoring system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072359A (en) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 Method, system and user end for realizing network media audio-video synchronization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008205669A (en) * 2007-02-19 2008-09-04 Victor Co Of Japan Ltd Network monitoring unit and network monitoring program
CN101751819A (en) * 2009-12-16 2010-06-23 四川长虹电器股份有限公司 Digital signage system and method for dynamically updating and remotely monitoring terminal
CN202111815U (en) * 2011-06-29 2012-01-11 福建省西西梯网络工程有限公司 Mobile multi-medium broadcast remote monitoring system

Also Published As

Publication number Publication date
CN102868913A (en) 2013-01-09

Similar Documents

Publication Publication Date Title
US9936260B2 (en) Content reproduction method and apparatus in IPTV terminal
US8621505B2 (en) Method and system for closed caption processing
CN108600777B (en) Streaming media playback server and client
CN104065979A (en) Method for dynamically displaying information related with video content and system thereof
CN105049903A (en) Method and system for cross-device synchronization of media files and media playing device
CN104717542B (en) A kind of synchronizing information acquisition methods, the apparatus and system of smart television
CN104539977A (en) Live broadcast previewing method and device
WO2014190655A1 (en) Application synchronization method, application server and terminal
CN110062284A (en) Video broadcasting method, device and electronic equipment
CN102547443A (en) Resource sharing and interaction realizing method of multi-terminal system
CN102868913B (en) A kind of remote synchronization virtual monitor method and system
KR101472013B1 (en) Server and method for providing music streaming include data of add image
CN105959743A (en) Video advertisement playing method and device and server
CN102221959A (en) Multi-picture display and control method and system for embedded media player, and application
CN103118018B (en) A kind of media resource synchronous broadcast method based on DLNA and device
WO2015180446A1 (en) System and method for maintaining connection channel in multi-device interworking service
CN107613340A (en) A kind of virtual reality device method and system for playing video synchronous with intelligent television
CN104683858A (en) Preview method and device for content of stream medium
CN102984558A (en) Set top box and method of playing frames in channel switching process of set top box
CN103747326A (en) Continuous playing method and device for multimedia file
US9027052B2 (en) System and method for in-stream advertising on an internet connected device
CN104079589A (en) Display method and system for external subtitles as well as digital multimedia renderer
CN101588442A (en) Set-top box playing system and method
KR20150080238A (en) Method and server for providign vedio information related to music of first device to second device, and device
CN106453255B (en) Method, UPnP device and system for realizing service continuous playing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170711

Address after: 518000, Shenzhen, Guangdong, Nanshan District Zhongshan road 1001, TCL international E City, D1 building, 3 floor

Patentee after: Shenzhen Huasheng Software Technology Co. Ltd.

Address before: 518067 Guangdong city of Shenzhen province Nanshan District Shekou Industrial Road No. 5 Building 1 Lushi Arts crafts emporium E district two building 201

Patentee before: TCL Digital Technology (Shenzhen) Co., Ltd.