CN105553959A - Remote control method and system capable of dynamically generating intelligent device operation interface - Google Patents

Remote control method and system capable of dynamically generating intelligent device operation interface Download PDF

Info

Publication number
CN105553959A
CN105553959A CN201510912789.2A CN201510912789A CN105553959A CN 105553959 A CN105553959 A CN 105553959A CN 201510912789 A CN201510912789 A CN 201510912789A CN 105553959 A CN105553959 A CN 105553959A
Authority
CN
China
Prior art keywords
smart machine
html5
server
instant communication
operation interface
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.)
Granted
Application number
CN201510912789.2A
Other languages
Chinese (zh)
Other versions
CN105553959B (en
Inventor
郭一正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Corp
Original Assignee
TCL Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Corp filed Critical TCL Corp
Priority to CN201510912789.2A priority Critical patent/CN105553959B/en
Publication of CN105553959A publication Critical patent/CN105553959A/en
Application granted granted Critical
Publication of CN105553959B publication Critical patent/CN105553959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/75Indicating network or usage conditions on the user display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Abstract

The invention discloses a remote control method and system capable of dynamically generating an intelligent device operation interface. The method includes the following steps that: HTML5 pages of various kinds of intelligent devices are set in a web administration backstage according to an Internet-of-things message control protocol of the intelligent devices, and the HTML5 pages are uploaded to an HTML5 server; an application (APP) terminal accesses the HTML5 server through a built-in browser and loads the HTML5 pages of the various intelligent devices and generates an operation interface; the application (APP) terminal transmits control commands to an instant messaging server through the operation interface; and the instant messaging server forwards the control commands to corresponding intelligent devices. Thus, different intelligent devices can be remotely controlled through one application (APP) terminal, and it does not need to develop different applications for different devices, and therefore, development time and cost can be decreased, and troubles for downloading a variety of applications can be saved for a user.

Description

The long-range control method of dynamic generation smart machine operation interface and system
Technical field
The present invention relates to communication technical field, particularly a kind of long-range control method of dynamic generation smart machine operation interface and system.
Background technology
There is various intelligent control device on the market at present, if need to be controlled by APP equipment and obtain message, need for the different APP interface of different equipment developments, and for the service code that the messaging protocol of this equipment itself mates with this equipment itself server end exploitation, need time and the manpower of at substantial like this, development cost is high.
Therefore, existing technology need to improve.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide a kind of long-range control method and system of dynamic generation smart machine operation interface, only need develop an APP can control different equipment, saves the development time.
In order to achieve the above object, this invention takes following technical scheme:
A long-range control method for dynamic generation smart machine operation interface, described method comprises:
A, according to the thing of smart machine connection Message recover signature agreement, the HTML5 page of multiple smart machine is set in web administration backstage, and the described HTML5 page is uploaded in HTML5 server;
B, APP end, by built-in browser access HTML5 server, loads the HTML5 page of multiple smart machine and generating run interface;
C, described APP hold by described operation interface to instant communication server sending controling instruction;
Described control command is transmitted to corresponding smart machine by D, described instant communication server.
In the long-range control method of described dynamic generation smart machine operation interface, described steps A specifically comprises:
A1, in advance in web administration backstage, arrange the thing connection Message recover signature agreement of smart machine, smart machine, APP end, web administration backstage and instant communication server all join Message recover signature protocol realization transfer of data by the thing of described smart machine;
A2, web administration backstage provide the content format of the XML document defined file specification XML document of standard, XML label and attribute, in web administration backstage, adopt XML document to describe the HTML5 page of smart machine;
A3, generate the HTML5 page according to described XML document, and the described HTML5 page is uploaded in HTML5 server.
In the long-range control method of described dynamic generation smart machine operation interface, described APP end is provided with the JavaSriptAPI mutually exchanging communication with instant communication server; Described instant communication server is provided with the JavaSriptAPI holding with APP and mutually exchange communication equally.
The long-range control method of described dynamic generation smart machine operation interface, described step B specifically comprises, and: APP holds built-in browser to call JavaSriptAPI to be connected with web administration backstage, obtain HTML5 server address, load the HTML5 page in HTML5 server, form corresponding operation interface.
In the long-range control method of described dynamic generation smart machine operation interface, described step C specifically comprises:
C1, described smart machine are connected with instant communication server;
C2, APP end is bound by described instant communication server and described smart machine;
C3, APP termination controls the smart machine of binding after receiving binding instruction by described instant communication server; Described smart machine feeds back state and the message of self by described instant communication server.
A tele-control system for dynamic generation smart machine operation interface, comprising:
Web administration backstage, for the thing connection Message recover signature agreement according to smart machine, arranges the HTML5 page of multiple smart machine, and uploads in HTML5 server by the described HTML5 page;
Described HTML5 server, for storing the HTML5 page uploaded on web administration backstage;
APP holds, and for by calling built-in browser access HTML5 server, loads the HTML5 page of multiple smart machine and generating run interface, by described operation interface to instant communication server sending controling instruction;
Described instant communication server, for being transmitted to corresponding smart machine by described control command.
In the tele-control system of described dynamic generation smart machine operation interface, described web administration backstage comprises:
Presetting module, for arranging the thing connection Message recover signature agreement of smart machine, smart machine, APP end, web administration backstage and instant communication server are all by the thing connection Message recover signature protocol realization transfer of data of described smart machine; The content format of the XML document defined file specification XML document of standard, XML label and attribute are provided;
Online editor, for the HTML5 page adopting XML document to describe equipment;
Interface generation module, for generating the HTML5 page according to XML document, and uploads to the HTML5 page in HTML5 server.
In the tele-control system of described dynamic generation smart machine operation interface, described APP end is provided with the JavaSriptAPI mutually exchanging communication with instant communication server; Described instant communication server is provided with the JavaSriptAPI holding with APP and mutually exchange communication equally.
In the tele-control system of described dynamic generation smart machine operation interface, described APP end comprises:
Binding module, for being connected with instant communication server, after reception binding instruction, is bound by described instant communication server and described smart machine;
Interface load-on module, is connected with web administration backstage for calling JavaSriptAPI by built-in browser, obtains HTML5 server address, loads the HTML5 page in HTML5 server, forms corresponding operation interface;
Control module, for calling JavaSriptAPI by operation interface, by JavaSriptAPI and instant communication server communication; By the smart machine sending controling instruction of instant communication server to binding.
In the tele-control system of described dynamic generation smart machine operation interface, described instant communication server is XMPP instant communication server.
Compared to prior art, in the long-range control method of dynamic generation smart machine operation interface provided by the invention and system, described long-range control method comprises: according to the thing connection Message recover signature agreement of smart machine, the HTML5 page of multiple smart machine is set in web administration backstage, and the described HTML5 page is uploaded in HTML5 server; APP end, by built-in browser access HTML5 server, loads the HTML5 page of multiple smart machine and generating run interface; Described APP holds by described operation interface to instant communication server sending controling instruction; Described control command is transmitted to corresponding smart machine by described instant communication server.Thus, by an APP end and remote controlled different smart machine, without the need to for the different APP of different equipment developments, save development time and cost, also eliminate the trouble that user downloads various APP.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of the long-range control method of dynamic generation smart machine operation interface provided by the invention.
Fig. 2 is the structured flowchart of the tele-control system of dynamic generation smart machine operation interface provided by the invention.
Embodiment
The invention provides a kind of long-range control method and system of dynamic generation smart machine operation interface.For making object of the present invention, technical scheme and effect clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, the long-range control method of dynamic generation smart machine operation interface provided by the invention, comprises step:
S10, according to the thing of smart machine connection Message recover signature agreement, the HTML5(HTML of multiple smart machine is set in web administration backstage) page, and the described HTML5 page is uploaded in HTML5 server, meanwhile, the address of described web administration backstage record HTML5 server and the HTML5 page of plurality of devices are stored in the address in HTML5 server.Described smart machine preferably includes the various intelligent electric appliances of family expenses, as intelligent appliance products such as intelligent air condition, intelligent refrigerator, intelligent washing machine, intelligent televisions, certainly, also can be mobile phone, computer and other intelligent industrial equipment etc.The HTML5 page of multiple smart machine is stored in HTML5 server, the load address of the HTML5 page is provided by web administration backstage, make APP lightweight, greatly simplify the development difficulty of APP, decrease the construction cycle, save a large amount of manpower and materials.
S20, APP end, by built-in browser access HTML5 server, loads the HTML5 page of multiple smart machine and generating run interface.Described APP end comprises APP, and this APP can be arranged in various intelligent terminal, can control different smart machines by APP end.
S30, described APP hold by described operation interface to instant communication server sending controling instruction.
Described control command is transmitted to corresponding smart machine by S40, described instant communication server, and the state of self fed back by smart machine and message are transmitted to APP end.That is, APP end couples together with smart machine by described instant communication server, realizes the communication of APP end and smart machine, and described communication comprises APP end and sends control command, the state of smart machine feedback self and message to APP end etc. to smart machine.
It can thus be appreciated that, only need develop an APP, in APP, a built-in browser accessing HTML5 server can load the HTML5 page that user needs the smart machine controlled, thus formation operation interface, realize the control to smart machine thus, user only needs download APP, saves the operation of user and the memory space of user's intelligent terminal greatly, provide the user great facility.
Further, described step S10 specifically comprises:
S110, in advance in web administration backstage, arrange the thing connection Message recover signature agreement of smart machine, smart machine, APP end, web administration backstage and instant communication server all join Message recover signature protocol realization transfer of data by the thing of described smart machine.Because the operating system, the programming language of use, the software protocol and control command etc. that adopt between multiple smart machine may be had nothing in common with each other, therefore join the Message recover signature protocol development HTML5 page for the thing of smart machine, and make smart machine, APP end, web administration backstage and instant communication server all in accordance with this thing connection Message recover signature agreement, achieve the corresponding of the HTML5 page and smart machine, such that smart machine, APP hold, clog-free communication between web administration backstage and instant communication server.During follow-up newly-increased new smart machine, only need the thing of newly-increased smart machine connection Message recover signature agreement be joined in web administration backstage, very convenient and practical.
S120, web administration backstage provide the XML(extend markup language of standard) content format of document definition (dtd file) specification XML document, XML label and attribute, in web administration backstage, XML document is adopted to describe the HTML5 page of equipment.The operation interface of the client in multiple smart machine, be also all according to defer to dtd file definition form XML document institute map out the HTML5 page loading form.
S130, in advance in web administration backstage, by XSL(XSL) and JavaScript(to literal translate formula script) design possesses the HTML5 assembly of pattern.Described HTML5 assembly refers to the assemblies such as button, progress bar, window and form.In advance HTML5 assembly is set, when newly-increased smart machine, obtain or make the XML document of smart machine, by specifying label and attribute, correspond to corresponding HTML5 assembly, thus each XML label not only can describe the message content needed for label, HTML5 assembly and pattern that this label is corresponding on the HTML5 page can also be specified.Save the development time.
S140, be designed for the XML document of the HTML5 page describing smart machine, by XSL, XML document generated the HTML5 page.That is, design the XML document of assembly on web administration backstage after, XML document, by XML+XSL assembly, is generated the HTML5 page by XSLT technology (conversion of XML CSS) by the document.
S150, generate the HTML5 page according to described XML document, and the HTML5 page is uploaded in HTML5 server.Owing to adopting the HTML5 page as operation interface, the public network network address that APP end only need be provided by web administration backstage conducts interviews to this HTML5 page, gets final product load operation interface, convenient and swift.
It can thus be appreciated that, described web administration backstage: edit page is provided, the thing connection Message recover signature agreement of input smart machine, and deposit in a database, pass through Protocol document simultaneously, generate the HTML5 page (operation interface), JS code (Javascript) and instant communication server plug-in unit source code etc. based on XML+XSL technology, instant communication server plug-in unit source code and HTML5 interface, the online editor by web administration backstage is edited.Like this, no matter be the HTML5 page of a newly-increased smart machine, or upgrade the HTML5 page of smart machine, after web administration backstage increases newly or upgrades the HTML5 page, the HTML5 page has just uploaded to HTML5 server automatically, make user hold the operation interface obtained to be all up-to-date forever by APP, save operation interface greatly and increase newly and upgrade the spent time.
Further, described step S140 specifically comprises: the XML document being designed for the HTML5 page describing smart machine, and the part of the specification of standard compliant XML document defined file in described XML document generates corresponding HTML5 assembly automatically; The part of the specification of non-compliant XML document defined file in described XML document, generates corresponding HTML5 assembly by plug-in unit, all HTML5 assembly composition HTML5 pages.Described plug-in unit is packed by instant communication server plug-in unit source code and is formed, and described plug-in unit uploads in instant communication server after generating automatically.For example, the HTML5 page of intelligent air condition has been had in described HTML5 server, present need add the HTML5 page of intelligent washing machine, because the HTML5 page of intelligent air condition and intelligent washing machine all comprises switching on and shutting down button, mode switching key, increase and decrease button etc., therefore, both can directly continue to use by identical HTML5 assembly, and different parts, as the set of time button, pause button etc. of intelligent washing machine, undertaken expanding by plug-in unit.Certainly, the function of the smart machine of a newly-increased existing HTML5 page is also undertaken by this method.It can thus be appreciated that, by the long-range control method of dynamic generation smart machine operation interface provided by the invention, can to most smart machine setting operation interface, when newly-increased smart machine or what's new, without the need to from the beginning development and operation interface, only need very short time just can complete the exploitation of the operation interface of distinct device, realize the function such as control and message unloading to equipment.
Further, described APP end is provided with the JavaSriptAPI mutually exchanging communication with instant communication server; Described instant communication server is provided with the JavaSriptAPI holding with APP and mutually exchange communication equally.That is, described JavaSriptAPI(interface) to be held the interface on the browser webview that carries directly to be connected with instant communication server by APP.Described JavaSriptAPI is a kind of JavaSript function that APP end and instant communication server can be made mutually to exchange communication.In XML document, the JavaSriptAPI that the relevant action of this tag triggers is corresponding can be specified by the mode of label and attribute, thus after the generation HTML5 page, by JavaSriptAPI default on the assembly on click or other action triggers HTML5 pages and instant communication server communication.
Described step S20 specifically comprises: after receiving the control command of user, APP holds built-in browser to call JavaSriptAPI to be connected with web administration backstage, the WebAPI(network interface on concrete and web administration backstage), obtain HTML5 server address, load the HTML5 page in HTML5 server, form corresponding operation interface.
Described step S30 specifically comprises:
S310, described smart machine are connected with instant communication server by wireless network.
S320, APP end is bound by described instant communication server and described smart machine.
S330, APP termination controls the smart machine of binding after receiving binding instruction by described instant communication server; Described smart machine feeds back state and the message of self by described instant communication server.
Described instant communication server is XMPP instant communication server, and control command is sent in the smart machine of binding by immediate communication tool openfire by described XMPP instant communication server, thus realizes the control to smart machine.Described immediate communication tool openfire can load and perform described plug-in unit, achieves the expanded function of plug-in unit.
Described APP is arranged in mobile phone, described APP provides built-in browser webview, this browser is encapsulated by described APP, support described JavascriptAPI, the HTML5 of this JavascriptAPI and smart machine carries out interactive communication, this APP calls JavascriptAPI by browser webview again and communicates with instant communication server, so just can realize being communicated with instant communication server by HTML5.So comprise with the node of high in the clouds interaction message: the interface of HTML5 and assembly-->JavascriptAPI-->APP carries browser webview--> and unifies APP--> instant communication server.APP is by the address of the HTML5 page obtaining each smart machine that communicates with WebAPI, get the HTML5 page corresponding to each smart machine, load these HTML5 pages by browser and obtain operation interface, like this on mobile phone A PP namely by operation interface, with instant communication server communication, thus carry out interactive communication from various different equipment, thus reach and can be controlled various kinds of equipment by operation interface, messaging, the functions such as query facility state.And by operating on web administration backstage, keeper dynamically can generate the HTML5 page by the messaging protocol that this smart machine of input is relevant, only need very short time just can complete the functions such as the control of different intelligent equipment and message unloading.
It can thus be appreciated that, the present invention is by web administration consistency operation, the messaging protocol (thing connection Message recover signature agreement) that keeper is correlated with by input smart machine, the thing of this smart machine connection Message recover signature agreement is described by xml, and xml is stored in a database, simultaneously according to xml message semantic definition, generate the Javascript process function and control inerface (based on Html5) that mate with this equipment message agreement, again by the message semantic definition of this xml, in the mode of code generator, generate for the corresponding service code of each messaging protocol, these service codes can online modification, the plug-in unit of immediate communication tool openfire can be packaged into after amendment, and heat is disposed with openfire.This sample system just can accomplish the function of dynamic and intelligent device A PP interface and dynamic process smart machine business.
Based on the long-range control method of the dynamic generation smart machine operation interface that a upper embodiment provides, the present invention also provides a kind of tele-control system of dynamic generation smart machine operation interface.Refer to Fig. 2, described tele-control system comprises web administration backstage 10, HTML5 server 20, APP end 30, instant communication server 40 and equipment 50.
Described web administration backstage 10, for the thing connection Message recover signature agreement according to smart machine, the HTML5 page of multiple smart machine 50 is set, and the described HTML5 page is uploaded in HTML5 server 20, meanwhile, the address of described web administration backstage record HTML5 server and the HTML5 page of plurality of devices are stored in the address in HTML5 server.Described smart machine 50 preferably includes the intelligent electric appliance of various family expenses, as intelligent appliance products such as intelligent air condition, intelligent refrigerator, intelligent washing machine, intelligent televisions, certainly, also can be mobile phone, computer and other intelligent industrial equipment etc.The HTML5 page of multiple smart machine is stored in HTML5 server, the load address of the HTML5 page is provided by web administration backstage, make APP lightweight, greatly simplify the development difficulty of APP, decrease the construction cycle, save a large amount of manpower and materials.Described WebAPI refers to Web server interface.
Described HTML5 server 20, for storing the HTML5 page uploaded on web administration backstage 10.
Described APP end 30, for by calling built-in browser access HTML5 server 20, loads the HTML5 page of multiple smart machine and generating run interface, by described operation interface to instant communication server 40 sending controling instruction.Described APP end 30 comprises APP, and this APP can be arranged in various intelligent terminal, can control different smart machines 50 by APP end.
Described instant communication server 40, for described control command being transmitted to corresponding smart machine 50, and the state of self fed back by smart machine 50 and message are transmitted to APP end 30.Namely, APP end 30 couples together with smart machine 50 by described instant communication server 40, realize APP end 30 and the communication of smart machine 50, described communication comprises APP end 30 to the state that smart machine 50 sends control command, smart machine 50 feeds back self and message to APP end 30 etc.
It can thus be appreciated that, only need develop an APP, in APP, a built-in browser accessing HTML5 server can load the HTML5 page that user needs the smart machine controlled, realize the control to smart machine thus, user only need download an APP, save the operation of user and the memory space of user's intelligent terminal greatly, provide the user great facility.
Further, described web administration backstage 10 comprises presetting module, online editor and interface generation module.
Described presetting module, for arranging the thing connection Message recover signature agreement of smart machine, smart machine 50, APP end 30, web administration backstage 10 and instant communication server 50 are all by the thing connection Message recover signature protocol realization transfer of data of described smart machine 50; The content format of the XML document defined file specification XML document of standard, XML label and attribute are provided; The HTML5 assembly of pattern is possessed by XSL and JavaScript design.
Because the operating system, the programming language of use, the software protocol and control command etc. that adopt between multiple smart machine may be had nothing in common with each other, therefore join the Message recover signature protocol development HTML5 page for the thing of smart machine, and make all kinds of smart machine 50, APP end 30, web administration backstage 10 and instant communication server 40 all in accordance with this thing connection Message recover signature agreement, achieve the corresponding of the HTML5 page and smart machine, make smart machine 50, APP hold 30, clog-free communication between web administration backstage 10 and instant communication server 40.During follow-up newly-increased new smart machine, only need the thing of newly-increased smart machine connection Message recover signature agreement be joined in web administration backstage, very convenient and practical.
Client in various kinds of equipment 50 be all according to the form deferring to dtd file definition XML document the HTML5 interface that maps out.
Described HTML5 assembly refers to the assemblies such as button, progress bar, window and form.In advance HTML5 assembly is set, when newly-increased smart machine, the XML document of acquisition or making apparatus, by specifying label and attribute, correspond to corresponding HTML5 assembly, thus each XML label not only can describe the message content needed for label, the HTML5 assembly that this label can also be specified corresponding on HTML5 and pattern.Save the development time.
Described online editor, for the HTML5 page adopting XML document to describe equipment.
Described interface generation module, for generating the HTML5 page according to XML document, and uploads to the HTML5 page in HTML5 server 20.
That is, design the XML document of assembly in web administration backstage 10 after, XML document, by XML+XSL assembly, is generated the HTML5 page by XSLT technology (conversion of XML CSS) by the document.Owing to adopting the HTML5 page as operation interface, the public network network address that APP end only need be provided by WebAPI conducts interviews to this HTML5 page, gets final product load operation interface, convenient and swift.
It can thus be appreciated that, described web administration backstage: edit page is provided, the thing connection Message recover signature agreement of input smart machine, and deposit in a database, pass through Protocol document simultaneously, generate the HTML5 page (operation interface), JS code (Javascript) and instant communication server plug-in unit source code etc. based on XML+XSL technology, instant communication server plug-in unit source code and HTML5 interface, the online editor by web administration backstage is edited.Like this, no matter be the HTML5 page of a newly-increased smart machine, or upgrade the HTML5 page of smart machine, after web administration backstage increases newly or upgrades the HTML5 page, the HTML5 page has just uploaded to HTML5 server automatically, make user hold the operation interface obtained to be all up-to-date forever by APP, save operation interface greatly and increase newly and upgrade the spent time.
Further, described online editor specifically for: be designed for the XML document of the HTML5 page describing smart machine, the part of the specification of standard compliant XML document defined file in described XML document, automatically generate corresponding HTML5 assembly; The part of the specification of non-compliant XML document defined file in described XML document, generates corresponding HTML5 assembly by plug-in unit, all HTML5 assembly composition HTML5 pages.Described plug-in unit is packed by instant communication server plug-in unit source code and is formed, and described plug-in unit uploads in instant communication server after generating automatically.For example, the HTML5 page of intelligent air condition has been had in described HTML5 server, present need add the HTML5 page of intelligent washing machine, because the HTML5 page of intelligent air condition and intelligent washing machine all comprises switching on and shutting down button, mode switching key, increase and decrease button etc., therefore, both can directly continue to use by identical HTML5 assembly, and different parts, as the set of time button, pause button etc. of intelligent washing machine, undertaken expanding by plug-in unit.Certainly, the function of the smart machine of a newly-increased existing HTML5 page is also undertaken by this method.It can thus be appreciated that, by the tele-control system of dynamic generation smart machine operation interface provided by the invention, can to most smart machine setting operation interface, when newly added equipment or what's new, without the need to from the beginning development and operation interface, only need very short time just can complete the exploitation of the operation interface of distinct device, realize the function such as control and message unloading to equipment.
Further, described APP end 30 is provided with the JavaSriptAPI mutually exchanging communication with instant communication server 40; Described instant communication server 40 is provided with equally holds the 30 mutual JavaSriptAPI exchanging communication with APP.That is, described JavaSriptAPI(interface) hold the interface on the 30 browser webview carried directly to be connected with instant communication server 40 by APP.Described JavaSriptAPI is that a kind of APP that can make holds 30 and the mutual JavaSript function exchanging communication of instant communication server 40.In XML document, the JavaSriptAPI that the relevant action of this tag triggers is corresponding can be specified by the mode of label and attribute, thus after the generation HTML5 page, by JavaSriptAPI default on the assembly on click or other action triggers HTML5 pages and instant communication server 40 communication.
Described APP end 30 comprises binding module, interface load-on module and control module.
Described binding module, for being connected with instant communication server, after reception binding instruction, is bound with described smart machine 50 by described instant communication server 40.
Described interface load-on module, being connected with web administration backstage for calling JavaSriptAPI by built-in browser, being specifically connected with the WebAPI on web administration backstage, obtain HTML5 server address, load the HTML5 page in HTML5 server, form corresponding operation interface.
Described control module, for calling JavaSriptAPI by operation interface, by JavaSriptAPI and instant communication server 40 communication; By smart machine 50 sending controling instruction of instant communication server 40 to binding.
Described instant communication server 40 is XMPP instant communication server, and control command is sent in the smart machine of binding by immediate communication tool openfire by described XMPP instant communication server, thus realizes the control to smart machine.Described immediate communication tool openfire can load and perform described plug-in unit, achieves the expanded function of plug-in unit.
Described APP is arranged in mobile phone, described APP provides built-in browser webview, this browser is encapsulated by described APP, support described JavascriptAPI, the HTML5 of this JavascriptAPI and smart machine carries out interactive communication, this APP calls JavascriptAPI by browser webview again and communicates with instant communication server, so just can realize being communicated with instant communication server by HTML5.So comprise with the node of high in the clouds interaction message: the interface of HTML5 and assembly-->JavascriptAPI-->APP carries browser webview--> and unifies APP--> instant communication server.APP is by the address of the HTML5 page obtaining each smart machine that communicates with WebAPI, get the HTML5 interface (operation interface) corresponding to each smart machine, these interfaces are loaded by browser, like this on mobile phone A PP namely by the HTML5 page, with instant communication server communication, thus carry out interactive communication from various different equipment, thus reach and can be controlled various kinds of equipment by operation interface, messaging, the functions such as query facility state.And by operating on web administration backstage, keeper dynamically can generate the HTML5 page by the messaging protocol that this smart machine of input is relevant, only need very short time just can complete the functions such as the control of different intelligent equipment and message unloading.
Be understandable that, for those of ordinary skills, can be equal to according to technical scheme of the present invention and inventive concept thereof and replace or change, and all these change or replace the protection range that all should belong to the claim appended by the present invention.

Claims (10)

1. dynamically generate a long-range control method for smart machine operation interface, it is characterized in that, described method comprises:
A, according to the thing of smart machine connection Message recover signature agreement, the HTML5 page of multiple smart machine is set in web administration backstage, and the described HTML5 page is uploaded in HTML5 server;
B, APP end, by built-in browser access HTML5 server, loads the HTML5 page of multiple smart machine and generating run interface;
C, described APP hold by described operation interface to instant communication server sending controling instruction;
Described control command is transmitted to corresponding smart machine by D, described instant communication server.
2. the long-range control method of dynamic generation smart machine operation interface according to claim 1, it is characterized in that, described steps A specifically comprises:
A1, in advance in web administration backstage, arrange the thing connection Message recover signature agreement of smart machine, smart machine, APP end, web administration backstage and instant communication server all join Message recover signature protocol realization transfer of data by the thing of described smart machine;
A2, web administration backstage provide the content format of the XML document defined file specification XML document of standard, XML label and attribute, in web administration backstage, adopt XML document to describe the HTML5 page of smart machine;
A3, generate the HTML5 page according to described XML document, and the described HTML5 page is uploaded in HTML5 server.
3. the long-range control method of dynamic generation smart machine operation interface according to claim 2, is characterized in that, described APP end is provided with the JavaSriptAPI mutually exchanging communication with instant communication server; Described instant communication server is provided with the JavaSriptAPI holding with APP and mutually exchange communication equally.
4. the long-range control method of dynamic generation smart machine operation interface according to claim 3, it is characterized in that, described step B specifically comprises, and: APP holds built-in browser to call JavaSriptAPI to be connected with web administration backstage, obtain HTML5 server address, load the HTML5 page in HTML5 server, form corresponding operation interface.
5. the long-range control method of dynamic generation smart machine operation interface according to claim 4, it is characterized in that, described step C specifically comprises:
C1, described smart machine are connected with instant communication server;
C2, APP end is bound by described instant communication server and described smart machine;
C3, APP termination controls the smart machine of binding after receiving binding instruction by described instant communication server; Described smart machine feeds back state and the message of self by described instant communication server.
6. dynamically generate a tele-control system for smart machine operation interface, it is characterized in that, comprising:
Web administration backstage, for the thing connection Message recover signature agreement according to smart machine, arranges the HTML5 page of multiple smart machine, and uploads in HTML5 server by the described HTML5 page;
Described HTML5 server, for storing the HTML5 page uploaded on web administration backstage;
APP holds, and for by calling built-in browser access HTML5 server, loads the HTML5 page of multiple smart machine and generating run interface, by described operation interface to instant communication server sending controling instruction;
Described instant communication server, for being transmitted to corresponding smart machine by described control command.
7. the tele-control system of dynamic generation smart machine operation interface according to claim 6, it is characterized in that, described web administration backstage comprises:
Presetting module, for arranging the thing connection Message recover signature agreement of smart machine, smart machine, APP end, web administration backstage and instant communication server are all by the thing connection Message recover signature protocol realization transfer of data of described smart machine; The content format of the XML document defined file specification XML document of standard, XML label and attribute are provided;
Online editor, for the HTML5 page adopting XML document to describe equipment;
Interface generation module, for generating the HTML5 page according to XML document, and uploads to the HTML5 page in HTML5 server.
8. the tele-control system of dynamic generation smart machine operation interface according to claim 7, is characterized in that, described APP end is provided with the JavaSriptAPI mutually exchanging communication with instant communication server; Described instant communication server is provided with the JavaSriptAPI holding with APP and mutually exchange communication equally.
9. the tele-control system of dynamic generation smart machine operation interface according to claim 8, is characterized in that, described APP end comprises:
Binding module, for being connected with instant communication server, after reception binding instruction, is bound by described instant communication server and described smart machine;
Interface load-on module, is connected with web administration backstage for calling JavaSriptAPI by built-in browser, obtains HTML5 server address, loads the HTML5 page in HTML5 server, forms corresponding operation interface;
Control module, for calling JavaSriptAPI by operation interface, by JavaSriptAPI and instant communication server communication; By the smart machine sending controling instruction of instant communication server to binding.
10. the tele-control system of dynamic generation smart machine operation interface according to claim 9, it is characterized in that, described instant communication server is XMPP instant communication server.
CN201510912789.2A 2015-12-11 2015-12-11 Remote control method and system for dynamically generating operation interface of intelligent equipment Active CN105553959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510912789.2A CN105553959B (en) 2015-12-11 2015-12-11 Remote control method and system for dynamically generating operation interface of intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510912789.2A CN105553959B (en) 2015-12-11 2015-12-11 Remote control method and system for dynamically generating operation interface of intelligent equipment

Publications (2)

Publication Number Publication Date
CN105553959A true CN105553959A (en) 2016-05-04
CN105553959B CN105553959B (en) 2019-12-10

Family

ID=55832895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510912789.2A Active CN105553959B (en) 2015-12-11 2015-12-11 Remote control method and system for dynamically generating operation interface of intelligent equipment

Country Status (1)

Country Link
CN (1) CN105553959B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055564A (en) * 2016-05-18 2016-10-26 平安科技(深圳)有限公司 Method and device for page loading
CN106375409A (en) * 2016-08-31 2017-02-01 杭州古北电子科技有限公司 Method for automatically generating smart device control interface
CN106790351A (en) * 2016-11-14 2017-05-31 中国联合网络通信集团有限公司 A kind of method and system of equipment control
CN106792058A (en) * 2016-12-30 2017-05-31 新东网科技有限公司 A kind of video screen long-distance remote-control method
CN107656953A (en) * 2016-12-30 2018-02-02 深圳市谷熊网络科技有限公司 A kind of method and device for manipulating smart machine
CN107770011A (en) * 2017-09-30 2018-03-06 四川长虹电器股份有限公司 App controls the implementation method and state synchronization method of multiple equipment
CN108108219A (en) * 2017-12-30 2018-06-01 上海壹账通金融科技有限公司 Application program operation method, device, computer equipment and storage medium
CN110199331A (en) * 2017-01-17 2019-09-03 开放电视公司 Long-range control dependent on application program
CN111413876A (en) * 2020-03-02 2020-07-14 青岛聚好联科技有限公司 Method for configuring control page of APP, cloud platform and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426750A (en) * 2013-09-11 2015-03-18 腾讯科技(深圳)有限公司 Method, equipment and system for instant messaging
CN104635543A (en) * 2015-01-22 2015-05-20 腾讯科技(北京)有限公司 Method and device for carrying out management operation
CN104660714A (en) * 2015-03-13 2015-05-27 张泽 Remote control method, remote control device and remote control system of terminal equipment
US20150188983A1 (en) * 2013-12-31 2015-07-02 Interneer, Inc. Dynamically launching a server-based application on a mobile device
CN105049340A (en) * 2015-08-14 2015-11-11 北京奇虎科技有限公司 Method and device for accessing intelligent equipment based on instant communication
CN105049339A (en) * 2015-08-14 2015-11-11 北京奇虎科技有限公司 Method and device for loading control interface of intelligent device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426750A (en) * 2013-09-11 2015-03-18 腾讯科技(深圳)有限公司 Method, equipment and system for instant messaging
US20150188983A1 (en) * 2013-12-31 2015-07-02 Interneer, Inc. Dynamically launching a server-based application on a mobile device
CN104635543A (en) * 2015-01-22 2015-05-20 腾讯科技(北京)有限公司 Method and device for carrying out management operation
CN104660714A (en) * 2015-03-13 2015-05-27 张泽 Remote control method, remote control device and remote control system of terminal equipment
CN105049340A (en) * 2015-08-14 2015-11-11 北京奇虎科技有限公司 Method and device for accessing intelligent equipment based on instant communication
CN105049339A (en) * 2015-08-14 2015-11-11 北京奇虎科技有限公司 Method and device for loading control interface of intelligent device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055564A (en) * 2016-05-18 2016-10-26 平安科技(深圳)有限公司 Method and device for page loading
CN106055564B (en) * 2016-05-18 2019-03-12 平安科技(深圳)有限公司 Page loading method and device
CN106375409A (en) * 2016-08-31 2017-02-01 杭州古北电子科技有限公司 Method for automatically generating smart device control interface
CN106790351A (en) * 2016-11-14 2017-05-31 中国联合网络通信集团有限公司 A kind of method and system of equipment control
CN106792058A (en) * 2016-12-30 2017-05-31 新东网科技有限公司 A kind of video screen long-distance remote-control method
CN107656953A (en) * 2016-12-30 2018-02-02 深圳市谷熊网络科技有限公司 A kind of method and device for manipulating smart machine
CN110199331A (en) * 2017-01-17 2019-09-03 开放电视公司 Long-range control dependent on application program
CN110199331B (en) * 2017-01-17 2021-07-20 开放电视公司 Application dependent remote control
CN107770011A (en) * 2017-09-30 2018-03-06 四川长虹电器股份有限公司 App controls the implementation method and state synchronization method of multiple equipment
CN108108219A (en) * 2017-12-30 2018-06-01 上海壹账通金融科技有限公司 Application program operation method, device, computer equipment and storage medium
CN108108219B (en) * 2017-12-30 2020-10-27 深圳壹账通智能科技有限公司 Application program running method and device, computer equipment and storage medium
CN111413876A (en) * 2020-03-02 2020-07-14 青岛聚好联科技有限公司 Method for configuring control page of APP, cloud platform and terminal equipment

Also Published As

Publication number Publication date
CN105553959B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN105553959A (en) Remote control method and system capable of dynamically generating intelligent device operation interface
CN106055337B (en) Interface generation method and device
CN101321080B (en) Method for configuring network appliance, network appliance and network system
CN102368214B (en) Automatic interface generation method and system
CN104967650A (en) Third-party e-commerce platform unified releasing method
CN104735143A (en) Batch control system and method based on smart home cloud platform
JP2004038876A (en) Data format conversion method and device for program and the like, and controller management system using the data format conversion device
CN102770850B (en) For the token communicated with main equipment, corresponding communication system and method
CN103002010A (en) Method, device and system for updating data based on incremental data
EP1836567A1 (en) Platform-specific application user interface remoting
CN102393857A (en) Method and system for local call based on web page
CN104426967B (en) A kind of cross-platform and striding equipment mobile application development system
CN102508722B (en) Inter-process communication method under embedded environment
CN106230977B (en) A kind of client functionality loading method, system, client and server-side
CN103118082A (en) Method, device and system for embedding additional information
CN103051694B (en) The method and mobile communication terminal of mobile communication terminal control device
CN103747074B (en) mobile monitoring system based on Web server
CN104572092A (en) Method and device for webpage making
CN103237083A (en) Mobile information service resource aggregation system and mobile information service resource aggregation method
CN104035783A (en) Platform integrating method and platform integrating system matched with third party web page in application program
CN108897291A (en) A kind of control method of intelligent appliance, mobile terminal and control system
CN102567061A (en) Method and system for bidirectionally updating television and remote controller
CN101808218B (en) Method, device and system for acquiring and updating content of electronic program guide
CN103870280B (en) Webpage seamless combining processing method based on FLEX and JSP
CN101964742B (en) Method, system and device for using network open ability

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant