Summary of the invention
Technical problem to be solved by this invention is: a kind of portable terminal, remote control system and method are provided, can be by the various digital household appliances in the portable terminal remote control home network, make the user more convenient to operate, be simple and easy to use.
For solving technical problem of the present invention, the present invention discloses a kind of remote control application service system based on Widget, comprise portable terminal, controlled device, home gateway and application support system, wherein said portable terminal, controlled device and home gateway are formed local home network, and described home gateway is connected by bidirectional communication network with described application support system;
Described application support system presets based on the remote control initiator application bag of Widget with based on the remote control receiving terminal program package of Widget;
The unlatching remote control application instruction that home gateway sends according to application support system from application support system obtain and store described based on Widget remote control initiator application bag and based on the remote control receiving terminal program package of Widget;
Described remote control initiator application bag based on Widget is downloaded and moved to described portable terminal from home gateway, and the remote control application program based on Widget is installed; Send remote control command by described remote control application program based on Widget;
Described remote control receiving terminal program package based on Widget is downloaded and moved to described controlled device from home gateway, starts the remote control service based on Widget; Receive and resolve described remote control command by described remote control service routine, carry out corresponding operating based on Widget.
For solving technical problem of the present invention, the present invention also discloses a kind of portable terminal that is used for described remote control application service system, comprise main processing block, and the display module that is connected with main processing block, key-press module, data communication module and memory module, it is characterized in that, described data communication module is used for sending the request that connects home network to home gateway, connects with home gateway; From the remote control initiator application bag of home gateway download based on Widget; And to controlled device transmission remote control command;
Described main processing block is used to move described remote control initiator application bag based on Widget, and the remote control application program based on Widget is installed; And send remote control command to controlled device by the described described data communication module of remote control application program control based on Widget;
Described key-press module is used to receive the remote control command information that the user presses, and is sent to described main processing block.
For solving technical problem of the present invention, the present invention also discloses a kind of remote control application method of servicing based on Widget, may further comprise the steps:
S1, application support system preset based on the remote control initiator application bag of Widget with based on the remote control receiving terminal program package of Widget;
The unlatching remote control application instruction that S2, home gateway send according to application support system from application support system obtain and store described based on Widget remote control initiator application bag and based on the remote control receiving terminal program package of Widget;
S3, portable terminal and controlled device are connected to local home network by described home gateway;
Described remote control receiving terminal program package based on Widget is downloaded and moved to S4, described controlled device from home gateway, start the remote control service based on Widget; Described remote control initiator application bag based on Widget is downloaded and moved to described portable terminal from home gateway, and the remote control application program based on Widget is installed;
S5, described portable terminal send remote control command by described remote control application program based on Widget;
S6, controlled device receive and resolve described remote control command by described remote control service routine based on Widget, carry out corresponding operating.
Compared with prior art, the present invention has following beneficial effect: portable terminal of the present invention obtains to be used for the remote control application program based on Widget of local other controlled devices of home network of remote control by home gateway, thereby can be very convenient, by portable terminal various controlled devices are carried out remote control simply, be very easy to user's operation.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
As shown in Figure 1, the embodiment of the invention provides a kind of remote control application service system based on Widget, comprise portable terminal, controlled device, home gateway and application support system, wherein said portable terminal, controlled device and home gateway are formed local home network, and described home gateway is connected by bidirectional communication network with described application support system;
At first, need in application support system, to preset based on the remote control initiator application bag of Widget with based on the remote control receiving terminal program package of Widget.
Described remote control initiator application bag based on Widget is an application package of following the Widget standard, has wherein comprised the remote controller operation interface and the command information of form web page.
Described remote control receiving terminal program package based on Widget is a program that is installed in the controlled device the inside, is responsible for resolving the remote control command that portable terminal sends over by the remote control interface based on widget.
When the user submits the request of opening telecontrol service to application support system, carry user totem information (for example: registered user name or ID information) in this request, and user's portable terminal identification information (for example: phone number); After application support system received described request, checking by described request, and generated corresponding unique authentication password, and binds mutually with user's portable terminal identification information by behind the user totem information; Application support system sends the instruction of opening remote control application according to described user totem information again to corresponding home gateway.In the present embodiment, the user is the registered user of application support system, and log-on message comprises user totem information, login password, user's the home gateway network address (IP address) and port; Application support system finds out its corresponding home gateway network address and port according to registered user's user totem information, sends the instruction of opening remote control application to this home gateway.
The unlatching remote control application instruction that home gateway sends according to application support system from application support system obtain and store described based on Widget remote control initiator application bag and based on the remote control receiving terminal program package of Widget; And will be sent to corresponding controlled device based on the remote control receiving terminal program package of Widget, in the present embodiment, if the user does not specify controlled device, then be defaulted as receiving terminal for digital television, application support system to home gateway send be used for the control figure television receive terminal based on the remote control initiator application bag of Widget with based on the remote control receiving terminal program package of Widget, home gateway is sent to receiving terminal for digital television with described remote control receiving terminal program package based on Widget.If the user has specified certain controlled device, then home gateway is with the described controlled device that is sent to this user's appointment based on the remote control receiving terminal program package of Widget.
In the present embodiment, receiving terminal for digital television includes but not limited to: and set-top box, network protocol television (Internet Protocol Television, IPTV), digital TV integrated machine etc. has the terminal of receiving digital television function.
Described remote control receiving terminal program package based on Widget is downloaded and moved to described controlled device from home gateway, starts the remote control service based on Widget, then, increases the remote control application service entry in the application service tabulation.In the present embodiment, local home network is that home gateway and each controlled device pass through the local Wifi network that Wifi (wirelessfdelity, wireless fidelity) forms, and also can pass through other wireless or wired mode organizing cost ground home networks.After controlled device inserts local home network, must start DLNA and use (Digital Living Network Alliance, DLNA), follow UPnP (UniversalPlug and Play, UPnP) AV1.0 standard, after the remote control service that starts based on Widget, in DLNA application service tabulation, increase the remote control application service entry.Described application service list records the various application services that controlled device provided.
Described remote control initiator application bag based on Widget is downloaded and moved to described portable terminal from home gateway, and the remote control application program based on Widget is installed.Wherein, the portable terminal of the embodiment of the invention includes but not limited to: mobile phone, PDA (Personal Digital Assistant, palmtop PC), panel computer, portable computer etc.
Particularly, in the present embodiment, portable terminal can insert in the local home network by the wifi function, opening DLNA uses, by the UPnP agreement is obtained controlled device from home gateway application service tabulation, search whether have the remote control service, if, then download and move described remote control initiator application bag, the remote control application program based on Widget is installed based on Widget from home gateway.
In the present embodiment, when portable terminal moves described remote control application program based on Widget for the first time, need finish initial setting up, portable terminal identification information, controlled device website information and authentication password promptly are set, and be sent to home gateway; Home gateway receives described portable terminal identification information, controlled device website information and authentication password, is back to described application support system again and carries out initial authentication; Application support system authenticates portable terminal identification information and authentication password, if authentication success then returns token by home gateway to portable terminal; Home gateway writes down described token and described portable terminal identification information, and sends to controlled device and preserve; Described portable terminal receives and preserves described portable terminal identification information and token.
After finishing initial setting up and passing through authentication, the user can use portable terminal to open remote control application program based on Widget, send various remote control commands by physical button on the portable terminal or touch-screen virtual key, for example: change platform, increase/reduction volume, check EPG (Electronic Program Guide, electronic program guides) information etc., simultaneously, portable terminal also sends token and portable terminal identification information to controlled device;
Described controlled device receives described remote control command, token and portable terminal identification information by the remote control service routine based on Widget, authenticates described token and described portable terminal identification information; If authentication is passed through, then resolve described remote control command, then, controlled device is carried out corresponding operation according to the remote control command after resolving.
In addition, in embodiments of the present invention, described home gateway can be built in the described controlled device; This controlled device can be intelligent appliance equipment such as receiving terminal for digital television or computer.
As shown in Figure 2, the embodiment of the invention also provides a kind of portable terminal, comprise main processing block, and the display module that is connected with main processing block, key-press module, data communication module and memory module, described data communication module is used for sending the request that connects home network to home gateway, connects with home gateway; From the remote control initiator application bag of home gateway download based on Widget; And to controlled device transmission remote control command; Main processing block is used to move described remote control initiator application bag based on Widget, and the remote control application program based on Widget is installed; And send remote control command to controlled device by the described described data communication module of remote control application program control based on Widget;
Key-press module is used to receive the remote control command information that the user presses, and is sent to described main processing block.
Wherein, the display module of the portable terminal of present embodiment can be touch-screen display module; Then, corresponding key-press module is the virtual key module; Portable terminal shows virtual key by touch-screen display module, and receives user's touch track, generates corresponding remote control command information, is sent to described main processing block.
As shown in Figure 3, the embodiment of the invention also provides a kind of remote control application method of servicing based on Widget, may further comprise the steps:
S1, application support system preset based on the remote control initiator application bag of Widget with based on the remote control receiving terminal program package of Widget;
The unlatching remote control application instruction that S2, home gateway send according to application support system from application support system obtain and store described based on Widget remote control initiator application bag and based on the remote control receiving terminal program package of Widget;
S3, portable terminal and controlled device are connected to local home network by described home gateway;
Described remote control receiving terminal program package based on Widget is downloaded and moved to S4, described controlled device from home gateway, start the remote control service based on Widget; Described remote control initiator application bag based on Widget is downloaded and moved to described portable terminal from home gateway, and the remote control application program based on Widget is installed;
S5, described portable terminal send remote control command by described remote control application program based on Widget;
S6, controlled device receive and resolve described remote control command by described remote control service routine based on Widget, carry out corresponding operating.
Wherein, described step S3 can carry out before step S1 or S2.
In described step S4, download and move described remote control receiving terminal program package at controlled device from home gateway based on Widget, start remote control service based on Widget, also comprise step afterwards:
S41, controlled device increase the remote control application service entry in the application service tabulation;
In described step S4, described remote control initiator application bag based on Widget is downloaded and moved to described portable terminal from home gateway, and the remote control application program based on Widget is installed, and specifically comprises step:
S42, portable terminal obtain the application service tabulation of controlled device from home gateway;
S43, portable terminal judge whether to exist the remote control service, are then to download and move described remote control initiator application bag based on Widget from home gateway, and the remote control application program based on Widget is installed.
Before described step S2, also comprise step:
S21, application support system receive the request of opening telecontrol service that the user sends, and carry user totem information and user's portable terminal identification information in the described request;
S22, application support system pass through described request, the portable terminal identification information that generates authentication password and bind described user;
S23, application support system send the instruction of opening remote control application according to described user totem information to corresponding home gateway.
Before described step S5, also comprise step:
S51, the described remote control application program based on Widget of described running of mobile terminal are finished initial setting up, portable terminal identification information, controlled device website information and authentication password are set, and are sent to home gateway;
S52, described home gateway receive described portable terminal identification information, controlled device website information and authentication password, are back to described application support system and carry out initial authentication;
S53, if authentication success, then application support system returns token by home gateway to portable terminal, home gateway writes down described token and described portable terminal identification information, and sends to controlled device and preserve;
S54, described portable terminal receive and preserve described portable terminal identification information and token.
Portable terminal in described step S5 also sends described token and described portable terminal identification information when sending remote control command by described remote control application program based on Widget;
Described step S6 specifically comprises step:
S61, described remote control service routine based on Widget authenticate token and the described portable terminal identification information in the described remote control command;
S62, if authentication is passed through, then resolve described remote control command based on the remote control service routine of Widget, controlled device is carried out corresponding operating.
The concrete operation principle and the execution mode based on the remote control application method of servicing of Widget of present embodiment, above-mentioned based on the remote control application service system of Widget in existing the description, repeat no more herein.
In sum, the portable terminal of the embodiment of the invention can be very convenient, simply the various controlled devices in the local home network are carried out remote control, is very easy to user's operation.
More than lift preferred embodiment; the purpose, technical solutions and advantages of the present invention are further described; institute is understood that; the above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all; any modification of being done, be equal to replacement, improvement etc.; all should be included within protection scope of the present invention, the interest field that the present invention advocated should be as the criterion so that the patent application scope is described, but not only limits to the foregoing description.