CN114286147A - Method for realizing large and small screen remote interaction in EPG page in JS mode - Google Patents

Method for realizing large and small screen remote interaction in EPG page in JS mode Download PDF

Info

Publication number
CN114286147A
CN114286147A CN202111588171.7A CN202111588171A CN114286147A CN 114286147 A CN114286147 A CN 114286147A CN 202111588171 A CN202111588171 A CN 202111588171A CN 114286147 A CN114286147 A CN 114286147A
Authority
CN
China
Prior art keywords
screen terminal
terminal
small
screen
operation instruction
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
CN202111588171.7A
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.)
E Surfing Video Media Co Ltd
Original Assignee
E Surfing Video Media 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 E Surfing Video Media Co Ltd filed Critical E Surfing Video Media Co Ltd
Priority to CN202111588171.7A priority Critical patent/CN114286147A/en
Publication of CN114286147A publication Critical patent/CN114286147A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for realizing large and small screen remote interaction in a JS mode on an EPG page, which is characterized in that a JS plug-in is embedded in the EPG page to provide a function of capturing and analyzing an operation instruction, and a socket signaling channel is established to establish connection between different terminals, wherein the instruction is captured and encapsulated by a sending terminal, and the instruction sent from the sending terminal is analyzed and executed by a receiving terminal, so that synchronous operation between the two sending terminals and the receiving terminal is realized. The invention can realize the large and small screen interaction between the mobile phone and the TV, and realize the functions of remote control of the mobile phone, video push large screen, same screen control and the like; the two terminals for realizing interaction do not need to be under the same local area network, and can be remotely controlled in different places through a public network or an IPTV; the mobile phone end does not need to install an APP, the TV end does not need to integrate and adapt to the APK, the JS plug-in is deployed on the EPG page, and the deployment is simple.

Description

Method for realizing large and small screen remote interaction in EPG page in JS mode
Technical Field
The invention relates to a method for realizing remote interaction between large-screen equipment and small-screen equipment.
Background
At present, screen projection functions in the market comprise mobile phone remote control, video pushing large screen, same screen control and the like, and in a local area network, the screen projection functions can be realized through technologies such as DLNA (digital living network alliance) and AIRPLAY (advanced video environment). Meanwhile, the functions of remote control of the mobile phone and screen push playing through a public network also exist at present. But the function of realizing remote on-screen control between the mobile phone and the television under the public network is lacked at present. Meanwhile, in the prior art, the realization of the remote screen-casting butt joint between the mobile phone and the television is complicated.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: at present, the function of realizing remote one-screen control between a mobile phone and a television under a public network is lacked.
In order to solve the technical problem, the technical scheme of the invention is to provide a method for realizing large and small screen remote interaction in an EPG page in a JS mode, which is characterized by comprising the following steps:
step 1, establishing a user-defined operation instruction protocol, wherein a corresponding instruction operational character is defined for each operation in the operation instruction protocol;
step 2, deploying socket service at the service end, registering the small-screen terminal to the service end based on the user identification, simultaneously registering the large-screen terminal to the service end based on the terminal identification, receiving the connection from each registered large-screen terminal and each registered small-screen terminal by the service end, and establishing a signaling channel between each large-screen terminal and the corresponding small-screen terminal;
step 3, deploying JS plug-in on the webpage needing to be controlled, and packaging and analyzing the operation command symbol defined in the step 1;
step 4, the large-screen terminal encapsulates the terminal identification in the two-dimensional code for the small-screen terminal to scan and bind;
step 5, the small-screen terminal scans the two-dimensional code provided by the large-screen terminal and binds the terminal identification with the user identification, so that the small-screen terminal and the large-screen terminal are in a binding relationship;
step 6, the large screen terminal and the small screen terminal which are bound with each other are connected to the server side, when the large screen terminal and the small screen terminal are bound, the server side establishes a signaling channel for the large screen terminal and the small screen terminal which are bound with each other according to the registered user identification and the terminal identification, and the small screen terminal and the large screen terminal display the same webpage as the webpage in the step 3;
step 7, the small-screen terminal accesses the webpage in the step 3, operation is carried out on the webpage, the JS plugin monitors relevant operation, and after the operation instruction is packaged into an operation instruction character according to the operation instruction protocol defined in the step 1, the operation instruction character is sent to the large-screen terminal bound with the current small-screen terminal through a signaling channel provided by the server;
and 8, after receiving the operation instruction, the large-screen terminal analyzes the operation instruction according to the operation instruction protocol defined in the step 1 and executes corresponding operation.
Preferably, the small screen terminal is a mobile phone terminal, and the large screen terminal is a TV terminal.
Preferably, in step 5, one large-screen terminal can be bound by a plurality of small-screen terminals at the same time.
Preferably, after the small-screen terminal is disconnected from the server, a logout instruction is sent to logout the user from the system.
The method and the device have the advantages that the JS plug-in is embedded in the EPG page to provide the function of capturing and analyzing the operation instruction, the socket signaling channel is established, and the connection between different terminals is established, wherein the instruction is captured and encapsulated by the sending end, and the instruction sent from the sending end is analyzed and executed by the receiving end, so that the synchronous operation between the two sending ends and the receiving end is realized.
Compared with the prior art, the invention has the following advantages:
1) the large-screen and small-screen interaction between the mobile phone and the TV can be realized, and the functions of mobile phone remote control, video push large screen, same-screen control and the like can be realized;
2) the two terminals for realizing interaction do not need to be under the same local area network, and can be remotely controlled in different places through a public network or an IPTV;
3) the mobile phone end does not need to install an APP, the TV end does not need to integrate and adapt to the APK, the JS plug-in is deployed on the EPG page, and the deployment is simple.
Drawings
FIG. 1 illustrates a block diagram of the present invention;
FIG. 2 illustrates a business flow diagram of the present invention;
fig. 3 illustrates a timing diagram of the present invention.
Detailed Description
The invention will be further illustrated with reference to the following specific examples. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and such equivalents may fall within the scope of the present invention as defined in the appended claims.
The invention provides a method for realizing large and small screen remote interaction in a JS mode on an EPG page, which comprises the following steps:
step 1, establishing a custom operation instruction protocol, where in this embodiment, the established custom operation instruction protocol is shown in table 1 below:
Figure BDA0003428304140000031
TABLE 1
In table 1 above, the operation command RG0 represents registration, the operation command RG1 represents registration return, the operation command RG2 represents logout, the operation command OP0 represents operation, the operation command DT0 represents data, and the like, and those skilled in the art can customize the operation command as needed.
Step 2, deploying socket service at the service end, receiving the connection from each large-screen terminal and each small-screen terminal, establishing a signaling channel between each large-screen terminal and the corresponding small-screen terminal, namely a data transmission channel, and managing each small-screen terminal.
In this embodiment, the present invention is further explained by taking a small screen terminal as a mobile phone terminal and a large screen terminal as a TV terminal as an example. The handset terminal is registered with the server with a user identification (e.g., PID), and the TV terminal is registered with the server with a TV terminal identification (e.g., TVID number, etc.).
And 3, deploying a JS plug-in on the EPG page needing to be controlled for packaging and analyzing the operation instruction defined in the step 1.
And 4, packaging the TV terminal identification in the two-dimensional code by the TV terminal for the mobile phone terminal to scan and bind.
And 5, scanning the two-dimensional code provided by the TV terminal by the mobile phone terminal, and binding the TV terminal identification with the user identification corresponding to the mobile phone terminal, so that the mobile phone terminal and the TV terminal establish a binding relationship. In the invention, one TV terminal can be bound by a plurality of mobile phone terminals at the same time.
And 6, the mutually bound TV terminal and mobile phone terminal are connected to the server, when the TV terminal and the mobile phone terminal are bound, the server establishes a signaling channel for the mutually bound TV terminal and mobile phone terminal according to the registered user identifier and TV terminal identifier, and the mobile phone terminal and the TV terminal display the same EPG page as in the step 3.
And 7, the mobile phone terminal accesses the EPG page in the step 3, clicking, sliding and other operations are carried out on the EPG page, the JS plug-in monitors related operations, and after the operation is packaged into an operation instruction according to the operation instruction protocol defined in the step 1, the operation instruction is sent to the TV terminal bound with the current mobile phone terminal through a signaling channel provided by the server.
And 8, after receiving the operation instruction, the TV terminal analyzes the operation instruction according to the operation instruction protocol defined in the step 1 and executes corresponding operation.
And 9, after the mobile phone terminal is disconnected, sending a logout instruction to logout the user from the system.
Compared with the prior art, the invention has the following advantages and effects.
1. The synchronous control between different terminals (mobile phone and television) can be realized by a public network mode, and different terminals do not need to be in the same local area network (such as an interface for controlling the television in a company).
2. The same-screen control can be remotely realized, the same interface is displayed on the mobile phone and the television, and the same operation is executed.
3. The method is simple in butt joint, and can be realized only by embedding js plug-ins into pages needing to be controlled on the same screen and establishing a binding relationship by scanning codes between terminals.

Claims (4)

1. A method for realizing large and small screen remote interaction in a JS mode on an EPG page is characterized by comprising the following steps:
step 1, establishing a user-defined operation instruction protocol, wherein a corresponding instruction operational character is defined for each operation in the operation instruction protocol;
step 2, deploying socket service at the service end, registering the small-screen terminal to the service end based on the user identification, simultaneously registering the large-screen terminal to the service end based on the terminal identification, receiving the connection from each registered large-screen terminal and each registered small-screen terminal by the service end, and establishing a signaling channel between each large-screen terminal and the corresponding small-screen terminal;
step 3, deploying JS plug-in on the webpage needing to be controlled, and packaging and analyzing the operation command symbol defined in the step 1;
step 4, the large-screen terminal encapsulates the terminal identification in the two-dimensional code for the small-screen terminal to scan and bind;
step 5, the small-screen terminal scans the two-dimensional code provided by the large-screen terminal and binds the terminal identification with the user identification, so that the small-screen terminal and the large-screen terminal are in a binding relationship;
step 6, the large screen terminal and the small screen terminal which are bound with each other are connected to the server side, when the large screen terminal and the small screen terminal are bound, the server side establishes a signaling channel for the large screen terminal and the small screen terminal which are bound with each other according to the registered user identification and the terminal identification, and the small screen terminal and the large screen terminal display the same webpage as the webpage in the step 3;
step 7, the small-screen terminal accesses the webpage in the step 3, operation is carried out on the webpage, the JS plugin monitors relevant operation, and after the operation instruction is packaged into an operation instruction character according to the operation instruction protocol defined in the step 1, the operation instruction character is sent to the large-screen terminal bound with the current small-screen terminal through a signaling channel provided by the server;
and 8, after receiving the operation instruction, the large-screen terminal analyzes the operation instruction according to the operation instruction protocol defined in the step 1 and executes corresponding operation.
2. The method for realizing large and small screen remote interaction in the JS mode on the EPG page as recited in claim 1, wherein the small screen terminal is a mobile phone terminal and the large screen terminal is a TV terminal.
3. The method for realizing large-screen remote interaction in the manner of JS on the EPG page as recited in claim 1, wherein in step 5, one large-screen terminal can be bound by a plurality of small-screen terminals at the same time.
4. The method for implementing large and small screen remote interaction in a JS mode on an EPG page as claimed in claim 1, wherein the small screen terminal sends a logout command to logout the user from the system after disconnecting from the server.
CN202111588171.7A 2021-12-23 2021-12-23 Method for realizing large and small screen remote interaction in EPG page in JS mode Pending CN114286147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111588171.7A CN114286147A (en) 2021-12-23 2021-12-23 Method for realizing large and small screen remote interaction in EPG page in JS mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111588171.7A CN114286147A (en) 2021-12-23 2021-12-23 Method for realizing large and small screen remote interaction in EPG page in JS mode

Publications (1)

Publication Number Publication Date
CN114286147A true CN114286147A (en) 2022-04-05

Family

ID=80874399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111588171.7A Pending CN114286147A (en) 2021-12-23 2021-12-23 Method for realizing large and small screen remote interaction in EPG page in JS mode

Country Status (1)

Country Link
CN (1) CN114286147A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245959A (en) * 2014-05-27 2016-01-13 中国科学院声学研究所 System and method for maintaining connection channel in multi-device linkage services
CN106792058A (en) * 2016-12-30 2017-05-31 新东网科技有限公司 A kind of video screen long-distance remote-control method
US20170265056A1 (en) * 2016-03-14 2017-09-14 Le Holdings (Beijing) Co., Ltd. Method and electronic device for intelligent interconnection
CN107835453A (en) * 2017-08-31 2018-03-23 江苏省公用信息有限公司 A kind of method for getting rid of screen to television IPTV content based on webpage
WO2020220840A1 (en) * 2019-04-30 2020-11-05 深圳市鹰硕技术有限公司 Same-screen network connection method, apparatus, smart device, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245959A (en) * 2014-05-27 2016-01-13 中国科学院声学研究所 System and method for maintaining connection channel in multi-device linkage services
US20170265056A1 (en) * 2016-03-14 2017-09-14 Le Holdings (Beijing) Co., Ltd. Method and electronic device for intelligent interconnection
CN106792058A (en) * 2016-12-30 2017-05-31 新东网科技有限公司 A kind of video screen long-distance remote-control method
CN107835453A (en) * 2017-08-31 2018-03-23 江苏省公用信息有限公司 A kind of method for getting rid of screen to television IPTV content based on webpage
WO2020220840A1 (en) * 2019-04-30 2020-11-05 深圳市鹰硕技术有限公司 Same-screen network connection method, apparatus, smart device, and storage medium

Similar Documents

Publication Publication Date Title
EP2922304A1 (en) Information processing device, information processing method, and program
CN102883134A (en) Screen sharing and controlling method for video conference system
CN104270662A (en) System of terminal equipment for controlling intelligent television through browser
CN103024526A (en) Multi-screen interaction system based on digital television set-top box
CN102883135A (en) Screen sharing and control method thereof
CN104348878A (en) Method, device and system for remotely controlling mobile terminal as well as mobile terminal
CN105282601A (en) One screen sharing method, apparatus and system
CN105165019B (en) Method and apparatus for sending and receiving additional information in broadcast communication system
CN103796076A (en) Data processing method and corresponding media playing device and playing control device
CN102307211A (en) Method for realizing full-screen synchronization of whiteboard
CN101778285A (en) System and method for wireless transmission of audio and video signals
CN102316386A (en) Double-screen interaction method based on digital television receiving device, and device and system
CN104079597A (en) Transfer method of media stream and user equipment
CN101304349A (en) Method and apparatus for implementing remote white plate
CN107835445B (en) MQTT protocol-based television control method, mobile terminal and television
CN103595950A (en) Method for carrying out video communication based on cable digital television set top box
CN107547517B (en) Audio and video program recording method, network equipment and computer device
CN101594523A (en) A kind of implementation method of value-added service information guidance of digital television
CN105142001A (en) Screenshot method and system
CN105429832A (en) Dialing method and system based on PPPOE network, and router
CN102547397A (en) Internet television and intelligent EPG (electronic program guide) system thereof
CN106303750A (en) A kind of mobile instructor in broadcasting's platform
CN114286147A (en) Method for realizing large and small screen remote interaction in EPG page in JS mode
CN104602108A (en) Method and system for transferring files of mobile phone and set-top box
CN102143144A (en) Communication module, remote monitoring system and remote monitoring terminal

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