Summary of the invention
In view of problems of the prior art, the object of the present invention is to provide a kind of system and method for realizing remote control by mobile communication equipment terminals.
The invention provides and a kind ofly by mobile communication equipment terminals, realize the method to intelligent large-screen display equipment remote control, it is characterized in that comprising step:
User opens intelligent large-screen display equipment;
User opens Video Applications, and screen prompt user can pass through this Video Applications of mobile communication equipment terminals remote control;
User opens mobile communication equipment terminals, operates, thereby realize the pairing between mobile communication equipment terminals and intelligent large-screen display equipment according to the information showing on intelligent large-screen display equipment screen;
Mobile communication equipment terminals shows corresponding remote controller control interface automatically according to the interface of Video Applications;
Mobile communication equipment terminals is controlled interface by the remote controller showing on it and is selected control operation, associative operation information exchange is crossed the webserver and is sent to intelligent large-screen display equipment, the operation information executable operations that intelligence large-screen display equipment basis is received, thus realize distant control function.
Preferably, described pairing realizes by following steps:
The first step, user, by the Web browser access remote controller page of mobile communication equipment terminals, carries out logging in network server by input username and password, obtains the pairing character string that the webserver returns;
Second step, user provides the URL address of Video service or is arranged on local client software by opening the Web browser input of intelligent large-screen equipment, by input username and password, carry out logging in network server, obtain the pairing character string that the webserver returns, the pairing character string that wherein this pairing character string obtains with the first step is identical;
The 3rd step, mobile communication equipment terminals is realized pairing with intelligent large-screen equipment by obtaining identical pairing character string.
Wherein the order of the first step and second step can be changed.
Preferably, the generation of described pairing character string is that username and password is connected into a character string, then by some algorithms, generates.
Preferably, communicating by letter between wherein said mobile communication equipment terminals or intelligent large-screen display equipment and the webserver realized by websocket agreement.
Preferably, the operation of carrying out on wherein said mobile communication equipment terminals or intelligent large-screen display equipment realizes by third party application is installed.
Preferably, mobile communication equipment terminals is in remote control process, and the residing interface location of current video returning according to intelligent large-screen display equipment, switches corresponding remote controller interface.
The present invention also provides a kind of and has realized the system to intelligent large-screen display equipment remote control by mobile communication equipment terminals, it is characterized in that comprising:
Mobile communication equipment terminals, can communicate with network server end, realizes pairing and the control to controlled end with controlled end;
Intelligence large-screen display equipment, it can communicate with network server end, the pairing of realization and mobile communication equipment terminals, and provide current video client interface location of living in to mobile communication equipment terminals;
Network server end, it can be communicated by letter respectively with mobile communication equipment terminals and intelligent large-screen display equipment, realize the pairing between mobile communication equipment terminals and intelligent large-screen display equipment, and can the information between mobile communication equipment terminals and intelligent large-screen display equipment be forwarded, thereby realize the straighforward operation of mobile communication equipment terminals to intelligent large-screen display equipment.
Preferably, described pairing realizes in the following manner:
The first step, user, by the Web browser access remote controller page of mobile communication equipment terminals, carries out logging in network server by input username and password, obtains the pairing character string that the webserver returns;
Second step, user provides the URL address of Video service or is arranged on local client software by opening the Web browser input of intelligent large-screen equipment, by input username and password, carry out logging in network server, obtain the pairing character string that the webserver returns, the pairing character string that wherein this pairing character string obtains with the first step is identical;
The 3rd step, mobile communication equipment terminals is realized pairing with intelligent large-screen equipment by obtaining identical pairing character string.
Wherein the order of the first step and second step can be changed.
The present invention also provides a kind of mobile communication equipment terminals that intelligent large-screen display equipment is carried out to remote control of realizing, and it is characterized in that comprising:
Matching module, it can be communicated by letter with network server end, realizes the pairing between mobile communication equipment terminals and intelligent large-screen display equipment;
Receiver module, it can pass through the webserver, from intelligent large-screen display equipment, receives the residing interface location information of current video end;
Present module, it can present operation to user by display interface and control interface, for user, selects operation;
Control module, it can pass through the webserver, and the operational order that user is selected sends to intelligent large-screen display equipment, realizes the remote control to intelligent large-screen display equipment.
The present invention also provides a kind of can realize the intelligent large-screen display equipment of remote control by mobile communication equipment terminals, it is characterized in that comprising:
Matching module, it can be communicated by letter with network server end, realizes the pairing between mobile communication equipment terminals and intelligent large-screen display equipment;
Sending module, it can pass through the webserver, to mobile communication equipment terminals, sends the residing interface location information of current video end;
Receiver module, it can pass through the webserver, receives user's remote control command that mobile communication equipment terminals sends;
Executive Module, the remote control command that it can receive according to receiver module is carried out corresponding operation, realizes remote control.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage are become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
In order to make the present invention more easy-to-understand and be convenient to understand the present invention, the technical term that first may use the present invention carries out simplicity of explanation.
1, HTML5 standard:
Reference
http:// www.whatwg.org/specs/web-apps/current-work/multipage/
http://www.w3.org/TR/html5/the-iframe-element.html#the-video-element
HTML standard is after the HTML 4.01 of in December, 1999 issue, follow-up HTML 5 and other standard are laid aside and neglected, in order to promote the development of web standardization campaign, some companies join together, set up one and be called Web Hypertext Application Technology Working Group(Web hypertext application technology working group-WHATWG) tissue, the WebApplications 1.0 by name of predecessor of HTML5 draft, in 2004, by WHATWG, proposed, in 2007, by W3C, received, and set up new HTML working team.First part of formal draft of HTML 5 announced on January 22nd, 2008.HTML 5 has two large features: first, strengthened the performance performance of Web webpage.Secondly, appended the function of the Web application such as local data base.
This patent can be used html5 to build web page as the UI front end demonstration of controlled terminal and mobile communication equipment terminals.
2,WebSocket:
WebSocket is provided between HTML5 a kind of browser of starting to provide and the webserver by the network technology of full duplex communication.In WebSocketAPI, browser and the webserver only need to be done an action of shaking hands, and then, have just formed an express passway between browser and the webserver.Just directly can data transmit mutually between the two.Now, a lot of websites are in order to realize instant messaging, and technology used is all poll.Poll is in the specific time interval (as every 1 second), by browser, the webserver is sent to HTTP request, then by the webserver, returns to up-to-date data to the browser of client.This traditional pattern is brought shortcoming clearly, be that browser needs constantly to the webserver, to send request, yet the header of HTTP request is very long, the data that the inside comprises may be a very little value, can take a lot of bandwidth and network server resources like this.In the face of this situation, HTML5 has defined WebSocket agreement, can better save network server resources and bandwidth and reach real-time communication.
3,Socket.io:
Reference: http://socket.io/
Be the specific implementation with javascript language to WebSocket agreement, by Socket.io network server end and client, can use more easily WebSocket agreement to carry out two-way communication.In being integrated into Node.js as an expansion plugin of Node.js, uses by introducing the js class libraries of Socket.io in client network server end Socket.io.
4,Node.js:
Reference: http://nodejs.org
Node.js is an event-driven I/O network server end JavaScript environment, the V8 engine based on Google.Object is to write extendible network formula in order to provide, as Web service.Node.js is used as the Web webserver in this patent.
5, Json data format:
Reference: http://www.json.org
JSON (JavaScript Object Notation) is a kind of data interchange format of lightweight.It is based on JavaScript(Standard ECMA-262 3rd Edition-December 1999) a subset.JSON adopts the text formatting that is totally independent of language, but has also used the custom (comprising C, C++, C#, Java, JavaScript, Perl, Python etc.) that is similar to C family of language.These characteristics make JSON become desirable exchanges data language.Be easy to people and read and write, be also easy to machine simultaneously and resolve and generate.
6, intelligent large-screen display equipment:
Have third party's application can be installed, can pass through the display device of the function of browser access web, comprising: intelligent television, Intelligent set top box etc.
7, mobile communication equipment terminals:
There is the network connecting functions such as Wi-Fi connection and Presentation Function, third party's application can be installed, the mobile device that can access Internet.Comprise: smart mobile phone, Intelligent flat etc.
With reference to accompanying drawing 1, described in the present invention by an embodiment of the method flow of mobile communication equipment terminals remote-controlled intelligent large-screen equipment.
Step 100: user opens intelligent large-screen display equipment;
Intelligent large-screen display equipment described here can be such as being TV, PC, projector etc.
Step 200: user opens Video Applications, screen prompt user can pass through this Video Applications of mobile communication equipment terminals remote control;
Step 300: user opens mobile communication equipment terminals, operates according to the information showing on intelligent large-screen display equipment screen, thereby realizes the pairing between mobile communication equipment terminals and intelligent large-screen display equipment;
Step 400: mobile communication equipment terminals shows corresponding remote controller control interface automatically according to the interface of Video Applications;
Step 500: mobile communication equipment terminals is controlled interface by the remote controller showing on it and selected control operation, associative operation information exchange is crossed the webserver and is sent to intelligent large-screen display equipment, the operation information executable operations that intelligence large-screen display equipment basis is received, thus realize distant control function.
For a person skilled in the art, the mode that realizes its Function Extension on intelligent terminal by programming, install the modes such as third party application belongs to prior art, and smart machine possesses the function of interconnection network and the mode of various interconnection networks also all belongs to prior art, repeats no longer one by one here.
Pairing in embodiment mono-described in step 300 can have various ways to realize, and accompanying drawing 2 has provided an embodiment who matches between mobile communication equipment terminals and intelligent large-screen display equipment.
The first step: user is by the Web browser access remote controller page of smart mobile phone, on the page, need user to input username and password, user clicks " login " button on the page after input username and password, username and password can be used socket.io with websocket agreement, to submit to the webserver by the Internet with Json data format afterwards, the webserver can carry out authentication judgement after receiving user name password, returns to a pairing character string of mobile phone and a state return code equally afterwards with websocket agreement with Json data format.Mobile phone judges whether to login successfully according to return code.Login successfully prompting user and login successfully, login failure prompting login failed for user, please re-enter user name password login.
The generation of character string of wherein matching can be that username and password is connected into a character string, then by some algorithms, generates, and conventional algorithm has md5, sha1 etc.
Second step: similar with the first step.User provides the URL address of Video service or is arranged on local client software by opening the Web browser input of intelligent television.Now on screen, need user to input username and password, user clicks " login " button on the page after input username and password, username and password can be used socket.io with websocket agreement, to submit to the webserver by the Internet with Json data format afterwards, the webserver can carry out authentication judgement after receiving user name password, returns to a pairing character string of intelligent television and a state return code equally afterwards with websocket agreement with Json data format.Because the username and password of inputting on intelligent television is consistent with the user name of inputting on smart mobile phone and password, the algorithm of use is also consistent, thereby has guaranteed that this pairing character string is the same with the pairing character string that the first step produces.
Intelligent television judges whether to login successfully according to return code.Login successfully prompting user and login successfully, login failure prompting login failed for user, please re-enter user name password login.
Wherein the order of the first step and second step can be changed.
The 3rd step: pairing finishes after the first step and second step all complete." key " as both sides communicates by same pairing character string for smart mobile phone and intelligent television afterwards.
Both sides' communication is to be all transmitted to the other side by the webserver, the webserver finds the other side mutually by pairing character string, do a metaphor: intelligent television and the smart mobile phone of holding same pairing character string similarly are in a room, communication each other can, by the Communication Jamming in other rooms, can not affect the communication in other rooms yet.
After smart mobile phone and intelligent television successfully match, the operational instances of smart mobile phone remote-controlled intelligent TV can be for example:
Steps A: smart mobile phone shows corresponding remote controller control interface automatically according to the interface of Video Applications.What first application showed is that video is selected interface, and now the remote controller interface of smart mobile phone is " Navigation Control ", the mode that user can use smart mobile phone to carry out touch simulation mouse or direction navigation is selected video playback;
Step B: user selects certain video playback by " Navigation Control ".Now mobile communication equipment terminals automatically switches to " Play Control " interface, and user, by the broadcasting on remote controller, suspends, and volume controls, F.F., and the function keys such as rewind down realize Play Control.
Step C: user returns to main interface, selects " video search ".Now mobile communication equipment terminals automatically switches to " input control " interface, and user can carry out word input or microphone carries out phonetic entry by the simulating keyboard on remote controller.
User can carry out repeatable operation between steps A-C, and smart mobile phone remote controller can carry out dynamic Intelligent Matching.
Accompanying drawing 3 has provided Intelligent mobile equipment as mobile communication equipment terminals, and intelligent large-screen display equipment is as controlled end, actual a kind of possible Application Scenarios-Example while carrying out straighforward operation.
The first step: user enters the main interface of videoconference client on intelligent television.
Second step: videoconference client is to network server remote controlled transmission information, and content comprises the residing interface location of current video client.
Videoconference client is used sokcet.io with websocket agreement, interface location information and pairing character string Json data format to be issued to the webserver by the Internet.
The 3rd step: the webserver is transmitted to smart mobile phone remote controller by interface location information.
The webserver is used sokcet.io listen to the json data that second step sends over and found corresponding handset remote controller and positional information is issued to handset remote controller with json form by pairing character string.
The 4th step: smart mobile phone remote controller switches corresponding remote controller interface according to the positional information of receiving.
For example, as user enters other function interfaces of intelligent television videoconference client: play search.Repeating step one is to the step of step 4, and just interface location can change the position at the actual place of corresponding one-tenth to some extent.
In the present invention, the actual mode in intelligent large-screen display equipment and Intelligent mobile equipment execution demonstration and operation, can be to realize by web browser mode, also can realize by third party application is installed, for example browse the video at Yoqoo station, the mode that can enter www.youku.com website by browser operates, and also can realize by open the excellent cruel applications client of installing on equipment.Thereby application program remote controller can be a local application program, can be also a web page, be all with the webserver, to communicate by internet by WebSocket agreement.The control signal that the webserver is responsible for remote controller to send is transmitted to intelligent television.WebSocket is provided between HTML5 a kind of browser of starting to provide and the webserver by the network technology of full duplex communication.In WebSocket API, browser and the webserver only need to be done an action of shaking hands, and then, have just formed an express passway between browser and the webserver.Just directly can data transmit mutually between the two.
The present invention also provides a kind of system that realizes remote control by mobile communication equipment terminals, Fig. 4 example an embodiment of this system.
As shown in Figure 4, this system comprises:
Mobile communication equipment terminals, mobile communication equipment terminals, comprises smart mobile phone, pad etc., it can communicate with network server end, realizes pairing and the control to controlled end with controlled end;
Controlled end, be intelligent large-screen display equipment, comprise intelligent television, Intelligent set top box etc., it can communicate with network server end, the pairing of realization and mobile communication equipment terminals, and provide current video client interface location of living in to mobile communication equipment terminals;
Network server end, it can be communicated by letter respectively with mobile communication equipment terminals and controlled end, realize the pairing between controlled end and mobile communication equipment terminals, and can the information between mobile communication equipment terminals and controlled end be forwarded, thereby realize the straighforward operation of mobile communication equipment terminals to controlled end.
Detailed operating process in system shown in Figure 4 between each equipment is illustrated in embodiment before, succinct for what narrate, here repeat no more, those of ordinary skills can have a clear understanding of the specific works process of each equipment in full by reading specification.
The present invention also provides a kind of mobile communication equipment terminals of remote-controlled intelligent large-screen display equipment, and Fig. 5 is exemplified with an embodiment of this mobile communication equipment terminals.
As shown in Figure 5, this mobile communication equipment terminals includes:
Matching module, it can be communicated by letter with network server end, realizes the pairing between mobile communication equipment terminals and intelligent large-screen display equipment;
Receiver module, it can pass through the webserver, from intelligent large-screen display equipment, receives the residing interface location information of current video end;
Present module, it can present operation to user by display interface and control interface, for user, selects operation;
Control module, it can pass through the webserver, and the operational order that user is selected sends to intelligent large-screen display equipment, realizes the remote control to intelligent large-screen display equipment.
In Fig. 5 apparatus shown, the detailed operating process of each module is illustrated in embodiment before, succinct for what narrate, repeats no more here, and those of ordinary skills can have a clear understanding of the specific works process of each module in full by reading specification.
The present invention also provides a kind of can realize by mobile communication equipment terminals the intelligent large-screen display equipment of remote control, and Fig. 6 is exemplified with an embodiment of this intelligence large-screen display equipment.
As shown in Figure 6, this intelligence large-screen display equipment includes:
Matching module, it can be communicated by letter with network server end, realizes the pairing between mobile communication equipment terminals and intelligent large-screen display equipment;
Sending module, it can pass through the webserver, to mobile communication equipment terminals, sends the residing interface location information of current video end;
Receiver module, it can pass through the webserver, receives user's remote control command that mobile communication equipment terminals sends;
Executive Module, the remote control command that it can receive according to receiver module is carried out corresponding operation, realizes remote control.
In Fig. 6 apparatus shown, the detailed operating process of each module is illustrated in embodiment before, succinct for what narrate, repeats no more here, and those of ordinary skills can have a clear understanding of the specific works process of each module in full by reading specification.
By the present invention, can be achieved as follows technique effect:
1. remote controller is intelligent, can present prefabricated best remote control pattern according to the difference of application scenarios.
2. can simplify the learning curve of remote controller operation, significantly promote the user who uses this mode of remote control to control the application scenarios of watching video and experience.
3. can be according to the function of controlled terminal or interface variation configuration corresponding remote controller with it.
It is more than the detailed description that the preferred embodiments of the present invention are carried out, but those of ordinary skill in the art is to be appreciated that, within the scope of the present invention, and guided by the spirit, various improvement, interpolation and replacement are all possible, such as adjusting interface interchange order, change message format and content, the different programming language (as C, C++, Java etc.) of use and realize etc.In these protection ranges that all limit in claim of the present invention.