CN107040798A - Interaction display control method, system, server, control terminal and playback terminal - Google Patents

Interaction display control method, system, server, control terminal and playback terminal Download PDF

Info

Publication number
CN107040798A
CN107040798A CN201610079195.2A CN201610079195A CN107040798A CN 107040798 A CN107040798 A CN 107040798A CN 201610079195 A CN201610079195 A CN 201610079195A CN 107040798 A CN107040798 A CN 107040798A
Authority
CN
China
Prior art keywords
web server
terminal
control
playback terminal
websocket
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610079195.2A
Other languages
Chinese (zh)
Inventor
徐瑞华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guang Xigu Development In Science And Technology Co Ltd Of Shenzhen
Original Assignee
Guang Xigu Development In Science And Technology Co Ltd Of Shenzhen
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 Guang Xigu Development In Science And Technology Co Ltd Of Shenzhen filed Critical Guang Xigu Development In Science And Technology Co Ltd Of Shenzhen
Priority to CN201610079195.2A priority Critical patent/CN107040798A/en
Publication of CN107040798A publication Critical patent/CN107040798A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/02Network-specific arrangements or communication protocols supporting networked applications involving the use of web-based technology, e.g. hyper text transfer protocol [HTTP]
    • H04L67/025Network-specific arrangements or communication protocols supporting networked applications involving the use of web-based technology, e.g. hyper text transfer protocol [HTTP] for remote control or remote monitoring of the application
    • 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25816Management of client data involving client authentication
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Abstract

The present invention is applied to communication technical field, and there is provided interaction display control method, system, server, control terminal and playback terminal.This method includes:Web server is set up and is connected with control terminal, playback terminal by websocket;Control terminal is sent by websocket plays control instruction to Web server;Web server is forwarded to playback terminal by websocket by control instruction is played;Playback terminal receives and performs broadcasting control instruction.The present invention, as the base communications protocol of interaction display control system, B/S frameworks is united two into one with C/S frameworks, system architecture is enormously simplify, development and maintenance cost is effectively reduced using websocket;Control terminal and playback terminal use Web modes, therefore without for the different client softwares of the operating systems such as Windows, iOS or Android exploitation, without the maintenance work for carrying out client software, development and maintenance difficulty is greatly reduced, human cost is saved.

Description

Interaction display control method, system, server, control terminal and playback terminal
Technical field
The invention belongs to communication technical field, more particularly to interaction display control method, system, server, Control terminal and playback terminal.
Background technology
Interaction display control system is widely used in the places such as exhibition room, studio and conference centre, for explaining Personnel or operating personnel carry out the application such as multi-screen interactive or switch contents.Conventional interaction display control at present System processed is based on C/S (Client/Server, client/server) framework, including an operation Server The control server of program, installs many playback terminals of playout software, and install the control of control software Terminal, server is communicated with playback terminal, control terminal by socket (socket).
In process of the present invention is realized, inventor has found that at least there are the following problems in the prior art:It is existing The structure of interaction display control system is more complicated, and server is divided into multiclass;Need to carry out bottom software exploitation, Streaming media service exploitation, mobile phone A pp (Application, application program) exploitations, playout software exploitation etc., Development cost is high, the construction cycle is long;Deployment, maintenance, upgrading are complicated, and the server of various frameworks is used with, Installation process is long, needs multi-party cooperative to investigate when going wrong, in addition, every playback terminal is required for deployment A set of client control software and playout software, need to carry out leak reparation or during function upgrading, it is necessary to Every playback terminal is handled respectively;Playback terminal can be PC (Personal Computer, individual Computer), or the embedded main board of operation Android system, for PC, it is necessary to developing Windows Under playout software, for running the embedded main board of Android system, it is necessary to which developing corresponding Android plays soft Part;Control terminal can then need to develop iOS using iOS or Android operation system etc., according to iOS Under control software, according to Android operation system, then need the control software developed under Android operation system.
The content of the invention
In consideration of it, the embodiments of the invention provide a kind of interaction display control method, system, Web server, Control terminal and playback terminal, many frameworks, multiclass service are based on to solve existing interaction display control technology Device and many type operating systems, the problem of exploitation and maintenance difficulties are larger, cost is higher.
In a first aspect, the embodiments of the invention provide a kind of interaction display control method, including:
Control terminal sends the first connection request to Web server by websocket;
The Web server is set up with the control terminal according to first connection request and is connected, and will The connection of the Web server and the control terminal is maintained in connection pool;
Playback terminal sends the second connection request to the Web server by websocket;
The Web server is set up with the playback terminal according to second connection request and is connected, and will The connection of the Web server and the playback terminal is maintained in the connection pool;
The control terminal is sent by websocket plays control instruction to the Web server;
The Web server determines the corresponding playback terminal of the broadcasting control instruction, and passes through The broadcasting control instruction is forwarded to the playback terminal by websocket;
The playback terminal receives the broadcasting control instruction by websocket, and performs the broadcasting control System instruction.
Second aspect, the embodiments of the invention provide a kind of interaction display control system, including:
Web server, control terminal and at least one playback terminal;
The control terminal, for sending the first connection request to the Web server by websocket, And broadcasting control instruction is sent to the Web server by websocket;
The playback terminal, for sending the second connection request to the Web server by websocket, And the broadcasting control instruction is received by websocket, and perform the broadcasting control instruction;
The Web server, is connected for being set up according to first connection request with the control terminal, The connection of the Web server and the control terminal is maintained in connection pool, connected according to described second Connect request to be connected with playback terminal foundation, by the connection of the Web server and the playback terminal It is maintained in the connection pool, determines the corresponding playback terminal of the broadcasting control instruction, and pass through The broadcasting control instruction is forwarded to the playback terminal by websocket.
The third aspect, the embodiments of the invention provide a kind of Web server, including:
First receiving unit, for receiving the first connection request that control terminal is sent by websocket;
First connection establishment unit, connects for being set up according to first connection request and the control terminal Connect, and the connection of the Web server and the control terminal is maintained in connection pool;
Second receiving unit, for receiving the second connection request that playback terminal is sent by websocket;
Second connection establishment unit, connects for being set up according to second connection request and the playback terminal Connect, and the connection of the Web server and the playback terminal is maintained in the connection pool;
3rd receiving unit, the broadcasting control for receiving the control terminal transmission by websocket refers to Order;
Retransmission unit, for determining the corresponding playback terminal of the broadcasting control instruction, and passes through The broadcasting control instruction is forwarded to the playback terminal by websocket, so that the playback terminal is received And perform the broadcasting control instruction.
Fourth aspect, the embodiments of the invention provide a kind of control terminal, including:
First transmitting element, for sending the first connection request to Web server by websocket, with Make the Web server be set up according to first connection request and the control terminal to be connected and by described in The connection of Web server and the control terminal is maintained in connection pool;
Second transmitting element, control instruction is played to the Web server for being sent by websocket, Controlled so that the broadcasting control instruction is forwarded to described play by the Web server by websocket Instruct the corresponding playback terminal.
5th aspect, the embodiments of the invention provide a kind of playback terminal, including:
3rd transmitting element, for sending the second connection request to Web server by websocket, with Make the Web server be set up according to second connection request and the playback terminal to be connected and by described in The connection of Web server and the playback terminal is maintained in the connection pool;
4th receiving unit, for receiving the broadcasting control that the Web server is forwarded by websocket Instruction, and perform the broadcasting control instruction.
The beneficial effect that the embodiment of the present invention exists compared with prior art is:The embodiment of the present invention is used Websocket as interaction display control system base communications protocol, by B/S (Browser/Server, Browser/server) framework unites two into one with C/S frameworks, enormously simplify system architecture, effectively reduction Development and maintenance costs;Control terminal and playback terminal use Web modes, therefore without for The operating systems such as Windows, iOS or Android develop different client softwares, without progress The maintenance work of client software, greatly reduces development and maintenance difficulty, saves human cost.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or existing skill The accompanying drawing used required in art description is briefly described, it should be apparent that, drawings in the following description are only Only it is some embodiments of the present invention, for those of ordinary skill in the art, is not paying creative labor On the premise of dynamic property, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the system architecture diagram of interaction display control system provided in an embodiment of the present invention;
Fig. 2 is the implementation process figure of interaction display control method provided in an embodiment of the present invention;
Fig. 3 is the structured flowchart of Web server provided in an embodiment of the present invention;
Fig. 4 is the structured flowchart of control terminal provided in an embodiment of the present invention;
Fig. 5 is the structured flowchart of playback terminal provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with accompanying drawing and reality Example is applied, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only Only to explain the present invention, it is not intended to limit the present invention.
Fig. 1 shows the system architecture diagram of interaction display control system provided in an embodiment of the present invention, in order to just In explanation, the part related to the embodiment of the present invention illustrate only.
Reference picture 1, the system includes:
Web server 11, control terminal 12 and at least one playback terminal 13;
The control terminal 12, for being taken by websocket the first connection requests of transmission to the Web Business device 11, and pass through websocket transmissions broadcasting control instruction to the Web server 11;
The playback terminal 13, for being taken by websocket the second connection requests of transmission to the Web It is engaged in device 11, and the broadcasting control instruction is received by websocket, and perform the broadcasting control referring to Order;
The Web server 11, for being set up according to first connection request with the control terminal 12 Connection, the connection of the Web server 11 and the control terminal 12 is maintained in connection pool, root Set up and be connected according to second connection request and the playback terminal 13, by the Web server 11 and The connection of the playback terminal 13 is maintained in the connection pool, determines that the broadcasting control instruction is corresponding The playback terminal 13, and the broadcasting control instruction is forwarded to by the playback terminal by websocket 13。
Preferably, the Web server 11, it is the control terminal 12 to be additionally operable to by HTTP service No. ID is distributed with the playback terminal 13;
The Web server 11, specifically for according to No. ID determination carried in the broadcasting control instruction It is described to play the corresponding playback terminal 13 of control instruction.
Preferably, the Web server 11 specifically for:
According to No. ID of the control terminal 12 carried in first connection request, IP address and/or MAC Address is authenticated to the control terminal 12, and authentication by afterwards with the control terminal 12 Set up connection;
According to No. ID of the playback terminal 13 carried in second connection request, IP address and/or MAC Address is authenticated to the playback terminal 13, and authentication by afterwards with the playback terminal 13 Set up connection.
The embodiment of the present invention, will using base communications protocols of the websocket as interaction display control system B/S (Browser/Server, browser/server) frameworks unite two into one with C/S frameworks, enormously simplify System architecture, effectively reduces development and maintenance cost;Control terminal and playback terminal use Web side Formula, therefore without for the different clients of the operating systems such as Windows, iOS or Android exploitation Software, without the maintenance work for carrying out client software, greatly reduces development and maintenance difficulty, saves Human cost.
Fig. 2 shows the implementation process figure of interaction display control method provided in an embodiment of the present invention, the flow The executive agent of figure can be Web server 11, control terminal 12 and playback terminal 13 in Fig. 1. Reference picture 2, this method includes:
In step s 201, control terminal sends the first connection request to Web service by websocket Device.
In embodiments of the present invention, control terminal can use the mobile terminals such as mobile phone or tablet personal computer, PC can be used, is not limited thereto.The operating system of control terminal can be iOS, Android operation System or Windows operating system etc., are not limited thereto.
Control terminal opens Web (webpage), and the first connection request is sent to Web by websocket Server, is connected with being set up with Web server.
As one embodiment of the present of invention, HTML (HyperText Markup are used in control terminal Language, HTML) 5 specifications.
In step S202, Web server is set up with control terminal according to the first connection request and is connected, and The connection of Web server and control terminal is maintained in connection pool.
Web server is authenticated according to the first connection request to control terminal, if authentication passes through, with control Terminal processed sets up connection, and the connection of Web server and control terminal is maintained in connection pool, and is returned Login authentication message is to control terminal, so that user carries out register in control terminal.
In step S203, playback terminal sends the second connection request to Web service by websocket Device.
In embodiments of the present invention, playback terminal can be PC or embedded main board etc., not limit herein It is fixed.The operating system of playback terminal can for Android operation system or Windows operating system etc., It is not limited thereto.
Playback terminal sends the second connection request to Web server by websocket, to be taken with Web Business device sets up connection.
In step S204, Web server is set up with playback terminal according to the second connection request and is connected, and The connection of Web server and playback terminal is maintained in connection pool.
Web server is authenticated according to the second connection request to playback terminal, if authentication passes through, with broadcasting Put terminal and set up connection, the connection of Web server and playback terminal is maintained in connection pool, and is returned Login authentication message is to playback terminal, so that user carries out register in playback terminal.
In embodiments of the present invention, by websocket, Web server and control terminal or broadcasting The browser of terminal only needs to do an action shaken hands with regard to that can be formed between Web server and browser Express passway, that is, set up the connection of Web server and control terminal, Web server and playback terminal. Due to the message that is communicated between Web server and control terminal, between Web server and playback terminal Message header very little, probably only 2Bytes, therefore system loading is significantly reduced using websocket.And By Web server actively to browser PUSH message, bottom is again based on TCP (Transmission Control Protocol, transmission control protocol), the control efficiency of traditional C/S frameworks can be reached.
HTTP (HyperText Transfer Protocol, Hyper text transfer are disposed on Web server simultaneously Agreement) service and websocket services.HTTP service is responsible for the back-stage management page, completes user right Distribution, playback terminal, No. ID distribution of control terminal, and carry out resource file management;By installing FFMPEG (Fast Forward Moving Picture Experts Group, F.F. dynamic image expert group) Plug-in unit supports streaming media service;Material reference address is provided by Web service, called for playback terminal, Download.Websocket services are responsible for receiving control terminal, the connection request of playback terminal, and safeguard connection Pond;The broadcasting control instruction that control terminal is sent is received, and parses the playback terminal of target, is controlled playing System instruction is forwarded to the playback terminal of target;By No. ID, IP address and/or MAC Address to playing eventually End, control terminal are authenticated.
In step S205, control terminal is sent by websocket plays control instruction to Web service Device.
The ID (Identification, identity) number of control terminal selection target playback terminal, and send The broadcasting control instruction of No. ID of target playback terminal is carried to Web server.
In step S206, Web server determines to play the corresponding playback terminal of control instruction.
No. ID of the playback terminal that Web server is carried according to playing in control instruction determines that playing control refers to Make the address of corresponding playback terminal.
In step S207, Web server is forwarded to broadcasting by websocket by control instruction is played Terminal.
In step S208, playback terminal is received by websocket plays control instruction, and execution is broadcast Put control instruction.
Playback terminal carries out DOM (Document Object Model, document object mould by Javascript Type) operation completes display layout, and pass through Javascript progress DOM operations according to control instruction is played Change interface content, such as change currentitem, switching picture, playing stream media content, to complete to control The response of terminal.
As one embodiment of the present of invention, playback terminal is received after broadcasting control instruction, is returned to confirmation and is disappeared Cease to Web server.Web server will confirm that message is forwarded to control after confirmation message is received Terminal.
In embodiments of the present invention, the client softwares such as traditional control software, playout software are replaced with webpage, Only need to by supporting the browser of HTML5 agreements to complete control, scheduling of resource and screen exhibition in real time The function such as show.
Preferably, before control terminal sends the first connection request to Web server by websocket, This method also includes:
Web server is that control terminal and playback terminal distribute No. ID by HTTP service;
Web server determines that playing the corresponding playback terminal of control instruction is specially:Web server is according to broadcasting No. ID carried in control instruction is put to determine to play the corresponding playback terminal of control instruction.
Preferably, Web server is set up to be connected according to the first connection request and control terminal is specially:Web Server is according to No. ID, IP (Internet Protocol, net of the control terminal carried in the first connection request Border agreement) address and/or MAC (Media Access Control, medium access control) addresses be to control Terminal is authenticated, and is connected in authentication by being set up afterwards with control terminal;
Web server is set up to be connected according to the second connection request and playback terminal:Web server root According to No. ID of the playback terminal carried in the second connection request, IP address and/or MAC Address to playing eventually End is authenticated, and is connected in authentication by being set up afterwards with playback terminal.
It should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to that execution is suitable The priority of sequence, the execution sequence of each process should be determined with its function and internal logic, real without tackling the present invention The implementation process for applying example constitutes any limit.
The embodiment of the present invention, will using base communications protocols of the websocket as interaction display control system B/S (Browser/Server, browser/server) frameworks unite two into one with C/S frameworks, enormously simplify System architecture, effectively reduces development and maintenance cost;Control terminal, playback terminal and Web server Web modes are used, are developed therefore without for operating systems such as Windows, iOS or Android Different client softwares, without the maintenance work for carrying out client software, greatly reduces exploitation and dimension Difficulty is protected, human cost is saved.
Fig. 3 shows the structured flowchart of Web server provided in an embodiment of the present invention, the Web server It can be the Web server 11 in Fig. 1.For convenience of description, it illustrate only and phase of the embodiment of the present invention The part of pass.
Reference picture 3, the Web server includes:
First receiving unit 31, for receiving the first connection request that control terminal is sent by websocket;
First connection establishment unit 32, connects for being set up according to first connection request and the control terminal Connect, and the connection of the Web server and the control terminal is maintained in connection pool;
Second receiving unit 33, for receiving the second connection request that playback terminal is sent by websocket;
Second connection establishment unit 34, connects for being set up according to second connection request and the playback terminal Connect, and the connection of the Web server and the playback terminal is maintained in the connection pool;
3rd receiving unit 35, for receiving the broadcasting control that the control terminal is sent by websocket Instruction;
Retransmission unit 36, for determining the corresponding playback terminal of the broadcasting control instruction, and passes through The broadcasting control instruction is forwarded to the playback terminal by websocket, so that the playback terminal is received And perform the broadcasting control instruction.
Preferably, the Web server also includes:
ID allocation units 37, for being the control terminal and the playback terminal by HTTP service Distribution ID.
The embodiment of the present invention, will using base communications protocols of the websocket as interaction display control system B/S (Browser/Server, browser/server) frameworks unite two into one with C/S frameworks, enormously simplify System architecture, effectively reduces development and maintenance cost;Control terminal and playback terminal use Web side Formula, therefore without for the different clients of the operating systems such as Windows, iOS or Android exploitation Software, without the maintenance work for carrying out client software, greatly reduces development and maintenance difficulty, saves Human cost.
Fig. 4 shows the structured flowchart of control terminal provided in an embodiment of the present invention, and the control terminal can be Control terminal 12 in Fig. 1.For convenience of description, it illustrate only the part related to the embodiment of the present invention.
Reference picture 4, the control terminal includes:
First transmitting element 41, for sending the first connection request to Web server by websocket, It is connected and by institute so that the Web server is set up according to first connection request and the control terminal The connection for stating Web server and the control terminal is maintained in connection pool;
Second transmitting element 42, for being taken by websocket transmissions broadcasting control instruction to the Web Business device, so that the broadcasting control instruction is forwarded to described broadcast by the Web server by websocket Put the corresponding playback terminal of control instruction.
The embodiment of the present invention, will using base communications protocols of the websocket as interaction display control system B/S (Browser/Server, browser/server) frameworks unite two into one with C/S frameworks, enormously simplify System architecture, effectively reduces development and maintenance cost;Control terminal and playback terminal use Web side Formula, therefore without for the different clients of the operating systems such as Windows, iOS or Android exploitation Software, without the maintenance work for carrying out client software, greatly reduces development and maintenance difficulty, saves Human cost.
Fig. 5 shows the structured flowchart of playback terminal provided in an embodiment of the present invention, and the playback terminal can be Playback terminal 13 in Fig. 1.For convenience of description, it illustrate only the part related to the embodiment of the present invention.
Reference picture 5, the playback terminal includes:
3rd transmitting element 51, for sending the second connection request to Web server by websocket, It is connected and by institute so that the Web server is set up according to second connection request and the playback terminal The connection for stating Web server and the playback terminal is maintained in the connection pool;
4th receiving unit 52, for receiving the broadcasting that the Web server is forwarded by websocket Control instruction, and perform the broadcasting control instruction.
The embodiment of the present invention, will using base communications protocols of the websocket as interaction display control system B/S (Browser/Server, browser/server) frameworks unite two into one with C/S frameworks, enormously simplify System architecture, effectively reduces development and maintenance cost;Control terminal and playback terminal use Web side Formula, therefore without for the different clients of the operating systems such as Windows, iOS or Android exploitation Software, without the maintenance work for carrying out client software, greatly reduces development and maintenance difficulty, saves Human cost.
Those of ordinary skill in the art with reference to what the embodiments described herein was described it is to be appreciated that respectively show The unit and algorithm steps of example, can be come with the combination of electronic hardware or computer software and electronic hardware Realize.These functions are performed with hardware or software mode actually, depending on the application-specific of technical scheme And design constraint.Professional and technical personnel can be realized to each specific application using distinct methods Described function, but this realization is it is not considered that beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, foregoing description System, server, the specific work process of terminal and unit, may be referred in preceding method embodiment Corresponding process, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, server, Terminal and method, can be realized by another way.For example, device embodiment described above is only It is schematical, for example, the division of the unit, only a kind of division of logic function, when actually realizing There can be other dividing mode, such as multiple units or component can combine or be desirably integrated into another System, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be by some interfaces, server, terminal or unit it is indirect Coupling is communicated to connect, and can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, as The part that unit is shown can be or may not be physical location, you can with positioned at a place, or It can also be distributed on multiple NEs.It can select according to the actual needs therein some or all of Unit realizes the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, Can also be that unit is individually physically present, can also two or more units be integrated in a unit In.
If the function is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, skill of the invention The part or the part of the technical scheme that art scheme substantially contributes to prior art in other words can be with Embodied in the form of software product, the computer software product is stored in a storage medium, including Some instructions are to cause a computer equipment (can be personal computer, server, or network are set It is standby etc.) perform all or part of step of each embodiment methods described of the invention.And foregoing storage medium Including:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), deposit at random Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various to be stored The medium of program code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited to This, any one skilled in the art the invention discloses technical scope in, can readily occur in Change or replacement, should all be included within the scope of the present invention.Therefore, protection scope of the present invention should It is described to be defined by scope of the claims.

Claims (10)

1. a kind of interaction display control method, it is characterised in that including:
Control terminal sends the first connection request to Web server by websocket;
The Web server is set up with the control terminal according to first connection request and is connected, and will The connection of the Web server and the control terminal is maintained in connection pool;
Playback terminal sends the second connection request to the Web server by websocket;
The Web server is set up with the playback terminal according to second connection request and is connected, and will The connection of the Web server and the playback terminal is maintained in the connection pool;
The control terminal is sent by websocket plays control instruction to the Web server;
The Web server determines the corresponding playback terminal of the broadcasting control instruction, and passes through The broadcasting control instruction is forwarded to the playback terminal by websocket;
The playback terminal receives the broadcasting control instruction by websocket, and performs the broadcasting control System instruction.
2. the method as described in claim 1, it is characterised in that pass through websocket in the control terminal Send before the first connection request to Web server, methods described also includes:
The Web server is that the control terminal and the playback terminal distribute ID by HTTP service Number;
The Web server determines that the corresponding playback terminal of the broadcasting control instruction is specially:Institute State Web server and determine the broadcasting control instruction pair according to No. ID carried in the broadcasting control instruction The playback terminal answered.
3. method as claimed in claim 2, it is characterised in that the Web server is according to described One connection request is set up to be connected with the control terminal:The Web server is according to described first No. ID of the control terminal carried in connection request, IP address and/or MAC Address are to the control Terminal is authenticated, and is connected in authentication by being set up afterwards with the control terminal;
The Web server is set up to be connected according to second connection request with the playback terminal: The Web server is according to No. ID of the playback terminal carried in second connection request, IP Location and/or MAC Address are authenticated to the playback terminal, and authentication by afterwards with the playback terminal Set up connection.
4. a kind of interaction display control system, it is characterised in that including:
Web server, control terminal and at least one playback terminal;
The control terminal, for sending the first connection request to the Web server by websocket, And broadcasting control instruction is sent to the Web server by websocket;
The playback terminal, for sending the second connection request to the Web server by websocket, And the broadcasting control instruction is received by websocket, and perform the broadcasting control instruction;
The Web server, is connected for being set up according to first connection request with the control terminal, The connection of the Web server and the control terminal is maintained in connection pool, connected according to described second Connect request to be connected with playback terminal foundation, by the connection of the Web server and the playback terminal It is maintained in the connection pool, determines the corresponding playback terminal of the broadcasting control instruction, and pass through The broadcasting control instruction is forwarded to the playback terminal by websocket.
5. system as claimed in claim 4, it is characterised in that the Web server, is additionally operable to lead to It is that the control terminal and the playback terminal distribute No. ID to cross HTTP service;
The Web server, specifically for according to No. ID determination institute carried in the broadcasting control instruction State the corresponding playback terminal of broadcasting control instruction.
6. system as claimed in claim 5, it is characterised in that the Web server specifically for:
According to No. ID of the control terminal carried in first connection request, IP address and/or MAC Address is authenticated to the control terminal, and is connected in authentication by being set up afterwards with the control terminal;
According to No. ID of the playback terminal carried in second connection request, IP address and/or MAC Address is authenticated to the playback terminal, and is connected in authentication by being set up afterwards with the playback terminal.
7. a kind of Web server, it is characterised in that including:
First receiving unit, for receiving the first connection request that control terminal is sent by websocket;
First connection establishment unit, connects for being set up according to first connection request and the control terminal Connect, and the connection of the Web server and the control terminal is maintained in connection pool;
Second receiving unit, for receiving the second connection request that playback terminal is sent by websocket;
Second connection establishment unit, connects for being set up according to second connection request and the playback terminal Connect, and the connection of the Web server and the playback terminal is maintained in the connection pool;
3rd receiving unit, the broadcasting control for receiving the control terminal transmission by websocket refers to Order;
Retransmission unit, for determining the corresponding playback terminal of the broadcasting control instruction, and passes through The broadcasting control instruction is forwarded to the playback terminal by websocket, so that the playback terminal is received And perform the broadcasting control instruction.
8. Web server as claimed in claim 7, it is characterised in that the Web server is also wrapped Include:
ID allocation units, for being the control terminal and the playback terminal point by HTTP service With No. ID.
9. a kind of control terminal, it is characterised in that including:
First transmitting element, for sending the first connection request to Web server by websocket, with Make the Web server be set up according to first connection request and the control terminal to be connected and by described in The connection of Web server and the control terminal is maintained in connection pool;
Second transmitting element, control instruction is played to the Web server for being sent by websocket, Controlled so that the broadcasting control instruction is forwarded to described play by the Web server by websocket Instruct the corresponding playback terminal.
10. a kind of playback terminal, it is characterised in that including:
3rd transmitting element, for sending the second connection request to Web server by websocket, with Make the Web server be set up according to second connection request and the playback terminal to be connected and by described in The connection of Web server and the playback terminal is maintained in the connection pool;
4th receiving unit, for receiving the broadcasting control that the Web server is forwarded by websocket Instruction, and perform the broadcasting control instruction.
CN201610079195.2A 2016-02-04 2016-02-04 Interaction display control method, system, server, control terminal and playback terminal Pending CN107040798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610079195.2A CN107040798A (en) 2016-02-04 2016-02-04 Interaction display control method, system, server, control terminal and playback terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610079195.2A CN107040798A (en) 2016-02-04 2016-02-04 Interaction display control method, system, server, control terminal and playback terminal

Publications (1)

Publication Number Publication Date
CN107040798A true CN107040798A (en) 2017-08-11

Family

ID=59532241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610079195.2A Pending CN107040798A (en) 2016-02-04 2016-02-04 Interaction display control method, system, server, control terminal and playback terminal

Country Status (1)

Country Link
CN (1) CN107040798A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107580031A (en) * 2017-08-22 2018-01-12 四川长虹电器股份有限公司 A kind of more equipment room cooperative control systems and method
CN109189596A (en) * 2018-09-18 2019-01-11 杭州安恒信息技术股份有限公司 The method and apparatus that large-size screen monitors are shown are realized based on Websocket
CN110620953A (en) * 2019-10-08 2019-12-27 赛诺贝斯(北京)营销技术股份有限公司 Multi-screen interaction method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067458A (en) * 2012-12-17 2013-04-24 百度在线网络技术(北京)有限公司 Control method, terminal equipment and server
CN103491179A (en) * 2013-09-27 2014-01-01 百视通网络电视技术发展有限责任公司 Multi-screen interaction method and system based on Web
CN103702238A (en) * 2013-12-23 2014-04-02 华为终端有限公司 Multi-screen video sharing method, terminals and server
CN103826155A (en) * 2014-02-28 2014-05-28 深圳市同洲电子股份有限公司 Multi-screen interaction method, server, terminal and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067458A (en) * 2012-12-17 2013-04-24 百度在线网络技术(北京)有限公司 Control method, terminal equipment and server
CN103491179A (en) * 2013-09-27 2014-01-01 百视通网络电视技术发展有限责任公司 Multi-screen interaction method and system based on Web
CN103702238A (en) * 2013-12-23 2014-04-02 华为终端有限公司 Multi-screen video sharing method, terminals and server
CN103826155A (en) * 2014-02-28 2014-05-28 深圳市同洲电子股份有限公司 Multi-screen interaction method, server, terminal and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107580031A (en) * 2017-08-22 2018-01-12 四川长虹电器股份有限公司 A kind of more equipment room cooperative control systems and method
CN109189596A (en) * 2018-09-18 2019-01-11 杭州安恒信息技术股份有限公司 The method and apparatus that large-size screen monitors are shown are realized based on Websocket
CN110620953A (en) * 2019-10-08 2019-12-27 赛诺贝斯(北京)营销技术股份有限公司 Multi-screen interaction method, device and system

Similar Documents

Publication Publication Date Title
CN103297327B (en) Information push method, device and display terminal
Cai et al. Toward gaming as a service
CN105406975A (en) Method and system for giving virtual gifts and triggering special effects in chat room
CN104602098A (en) Video barrage display method and equipment thereof
US11019119B2 (en) Web-based live broadcast
CN101115185B (en) Device for the third party to implement audio-video play in IPTV and method therefor
CN103702238A (en) Multi-screen video sharing method, terminals and server
CN107040798A (en) Interaction display control method, system, server, control terminal and playback terminal
CN105142011A (en) Web-based television terminal multi-screen interaction method and device
CN103650458A (en) Transmission method, device and system of media streams
CN102025786B (en) Operation method and system for interactive control of three-network terminals
CN103177095A (en) Embedded browser and implement method thereof
US20180035143A1 (en) Popping-screen push system and method
CN108156488A (en) Interactive approach and electronic equipment based on gateway server
CN105407369A (en) Web application based terminal communication method and device
CN103514219A (en) Method and system for sharing Web content between multiple terminals
CN101127780A (en) Method for downloading, saving and replaying online video and construction of online video network
CN104349177A (en) Method for turning to play multimedia file under desktop cloud, virtual machine and system
CN103347215B (en) A kind of multi-screen interaction method and Set Top Box
CN103096181A (en) Method providing interactive application business and device
CN104954860A (en) Set-top box, electronic program server, multimedia system and data interaction method
US10531165B1 (en) Embedded content synchronization
CN102098554A (en) Cloud computing-based television application service method and system
CN105450767A (en) Network connection method and apparatus for intelligent device and intelligent device
CN105578231A (en) Game control method, device and system

Legal Events

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

Application publication date: 20170811