CN102368214B - Automatic interface generation method and system - Google Patents

Automatic interface generation method and system Download PDF

Info

Publication number
CN102368214B
CN102368214B CN 201110314247 CN201110314247A CN102368214B CN 102368214 B CN102368214 B CN 102368214B CN 201110314247 CN201110314247 CN 201110314247 CN 201110314247 A CN201110314247 A CN 201110314247A CN 102368214 B CN102368214 B CN 102368214B
Authority
CN
China
Prior art keywords
interface
man
content
equipment
application request
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.)
Expired - Fee Related
Application number
CN 201110314247
Other languages
Chinese (zh)
Other versions
CN102368214A (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.)
Shenzhen H&T Intelligent Control Co Ltd
Original Assignee
Shenzhen H&T Intelligent Control Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen H&T Intelligent Control Co Ltd filed Critical Shenzhen H&T Intelligent Control Co Ltd
Priority to CN 201110314247 priority Critical patent/CN102368214B/en
Publication of CN102368214A publication Critical patent/CN102368214A/en
Application granted granted Critical
Publication of CN102368214B publication Critical patent/CN102368214B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses an automatic interface generation method and system. The method comprises that: after establishing connection with human-computer interface provision equipment in various ways, terminal equipment transmits an interface application request to the human-computer interface provision equipment in a preset data frame format; and the human-computer interface provision equipment acquires interface contents from a network which may be a public network or an intranet according to the interface application request, locally stores the acquired interface contents, and generates a display interface according to the acquired interface contents. In the method and the system, the human-computer interface provision equipment can download the interface contents from the network according to the interface application request which is transmitted by the terminal equipment in the preset data frame format or use a public interface under an offline condition, the human-computer interface provision equipment and the terminal equipment perform function checking according to the interface contents, and if functions are feasible, the interface contents are saved, so the availability of the terminal equipment is improved; moreover, the display interface of the human-computer interface provision equipment is intuitive, flexible to operate and easy to update, preserves the style of a terminal equipment manufacturer and can ensure the applicability of the product under the offline condition.

Description

Interface automatic generation method and system
Technical field
The present invention relates to the system control technology field of Smart Home or intelligent building, relate in particular to interface automatic generation method and system in a kind of Smart Home or Intelligent Building System.
Background technology
At present, in intelligent control technology to household or building, the interface of household terminal device is solidified constant usually, the part interface can be with xml (Extensible Markup Language from equipment, extend markup language) form is downloaded interface content, but this interface content downloading mode is unfavorable for the renewal at interface, can takies a large amount of storage spaces of equipment simultaneously and be used for preserving the interface data content.In addition, under this interface content downloading mode, equipment generally can not be connected to ,You internet, internet and be controlled.
Therefore, under the downloading mode of existing interface, if equipment need to be controlled all multi-terminal equipments in household or building, probably cause interface not easy to operate, can't the former factory atmosphere lattice of embodiment device or follow-up new control style, and then can't meet consumers' demand.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of interface automatic generation method and system, is intended to improve the interface operation dirigibility of house control system.
In order to achieve the above object, the present invention proposes a kind of interface automatic generation method, comprises the following steps:
Terminal device, after with man-machine interface, providing equipment to connect, provides equipment to send interface application request with the data frame format of being scheduled to described man-machine interface;
Described man-machine interface provides equipment according to the application request of described interface, obtains interface content and preserves to local, and generate display interface according to the interface content obtained.
Preferably, described man-machine interface provides equipment according to the application request of described interface, obtains interface content to local step of preserving and comprises:
Described man-machine interface provides the application request of the described interface of device parses, according to analysis result, selects the interface icon identifier that described terminal device is corresponding;
The server corresponding with the interface network address obtained in the application request of the described interface of parsing or ip address set up socket and connected;
According to the interface icon identifier of described terminal device, from the server of described correspondence, download corresponding icon file;
Described icon file is inserted in local interface description file and preserved.
Preferably, described man-machine interface provides equipment according to the application request of described interface, obtains interface content to local step of preserving and also comprises:
When the interface network address obtained in resolving the application request of described interface or ip address are invalid, described man-machine interface provides the server that equipment is corresponding from the acquiescence network address of described device end to download interface content.
Preferably, described man-machine interface provides equipment according to the application request of described interface, obtains interface content to local step of preserving and also comprises:
When described man-machine interface provides equipment can't set up the network connection, described man-machine interface provides equipment by public version interface numbering and the predetermined icon sets content of being scheduled to, and forms interim interface.
Preferably, the step that described man-machine interface provides equipment to generate display interface according to the interface content obtained comprises:
Described man-machine interface provides equipment, by pre-defined algorithm, the interface content obtained is carried out to safety check;
Interface content after safety check is carried out to interface and play up, generate display interface.
Preferably, after the step that the interface content after described man-machine interface provides equipment to safety check carries out playing up at interface, also comprise:
Described man-machine interface provides equipment to pass through to send monitor command to described terminal device, and the interface content after interface is played up carries out function check; After the function check success, the described display interface generated is saved as to formal interface.
The present invention also proposes a kind of interface automatic creation system, comprising: terminal device and man-machine interface provide equipment, wherein:
Described terminal device, for after with man-machine interface, providing equipment to connect, provide equipment to send interface application request with the data frame format of being scheduled to described man-machine interface;
Described man-machine interface provides equipment, comprising:
The interface content acquisition module, for according to the application request of described interface, obtain interface content and preserve to local;
The interface generation module, generate display interface for the interface content according to obtaining.
Preferably, described interface content acquisition module comprises:
Resolve and selected cell, for resolving the application request of described interface, according to analysis result, select the interface icon identifier that described terminal device is corresponding;
Connect and set up unit, set up socket for server corresponding to interface network address or ip address obtained with the application request of the described interface of parsing and connect;
Download unit, for the interface icon identifier according to described terminal device, download corresponding icon file from the server of described correspondence;
Storage unit, preserved for described icon file being inserted to local interface description file.
Preferably, described interface content acquisition module is also for when resolving interface network address that the application request of described interface obtains or ip address when invalid, and the server corresponding from the acquiescence network address of described device end downloaded interface content; And, when described man-machine interface provides equipment can't set up the network connection, public version interface numbering and predetermined icon sets content by predetermined, form interim interface.
Preferably, described interface generation module comprises:
The safety check unit, for carrying out safety check by pre-defined algorithm to the interface content obtained;
Rendering unit, carry out interface for the interface content to after safety check and play up, and generates display interface;
The function check unit, send monitor command for passing through to described terminal device, and the interface content after interface is played up carries out function check; After the function check success, the described display interface generated is saved as to formal interface.
A kind of interface automatic generation method and system that the present invention proposes, terminal device is passing through LAN (Local Area Network), the zigbee network, after the modes such as radio-frequency communication are connected to man-machine interface equipment are provided, with the data frame format of being scheduled to, to man-machine interface, provide equipment to send interface application request, after man-machine interface provides equipment to receive request, according to content frame, online is downloaded interface content or using public version interface in the net situation, man-machine interface provides equipment and terminal device to carry out function check according to interface content simultaneously, if the feasible interface content of preserving of function, and at this interface control terminal device of follow-up use, thereby the man-machine interface that makes control terminal provides the objective interface of equipment, improved its interface operation dirigibility, retain terminal device manufacturer style, easily upgrade the icon outward appearance of terminal device on interface, also can guarantee the usability of product simultaneously in the suspension situation, meet consumers' demand.
The accompanying drawing explanation
Fig. 1 is the schematic flow sheet of interface of the present invention automatic generation method one embodiment;
Fig. 2 is that in automatic generation method one embodiment of interface of the present invention, man-machine interface provides equipment according to interface application request, obtains interface content to the local schematic flow sheet of preserving;
Fig. 3 is that in automatic generation method one embodiment of interface of the present invention, man-machine interface provides equipment to generate the schematic flow sheet of display interface according to the interface content obtained;
Fig. 4 is the structural representation of interface of the present invention automatic creation system one embodiment;
Fig. 5 is the structural representation that in automatic creation system one embodiment of interface of the present invention, man-machine interface provides equipment;
Fig. 6 is the structural representation that in automatic creation system one embodiment of interface of the present invention, man-machine interface provides the interface content acquisition module of equipment;
Fig. 7 is the structural representation that in automatic creation system one embodiment of interface of the present invention, man-machine interface provides the interface generation module of equipment.
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.
Embodiment
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Solution for embodiment of the invention is mainly: terminal device is passing through LAN (Local Area Network), the zigbee network, after the modes such as radio-frequency communication energy and man-machine interface provide device talk, with the data frame format of being scheduled to, to man-machine interface, provide equipment to send interface application request, after man-machine interface provides equipment to receive request, according to content frame, online is downloaded interface content or using public version interface in the net situation, man-machine interface provides equipment and terminal device to carry out function check according to interface content simultaneously, if the feasible interface content of preserving of function, and at this interface control terminal device of follow-up use, thereby the man-machine interface that makes control terminal provides the objective interface of equipment, improve the interface operation dirigibility.
The embodiment of the present invention relates to the control system of Smart Home or intelligent building, this system comprises that terminal device and man-machine interface provide equipment, wherein: terminal device can be any product of household, such as air-conditioning, washing machine or TV etc., man-machine interface provides equipment can be connected to the interface equipment that has of the Internet for Centralized Controller, gateway, smart mobile phone or panel computer etc.
Consider limitation and the cost factor of terminal resource, if adopt the different-style interface of coming display terminal with the terminal device of large-size screen monitors and high-performance processor, do not meet reality, and high expensive.And if man-machine interface provides well administration interface content of equipment, machine-made look & feel can't meet the demand of user to the different terminal equipment look & feel.
Based on above-mentioned factor, the present invention can improve the interface operation dirigibility that man-machine interface provides equipment.
Particularly, please refer to shown in Fig. 1, Fig. 1 is a kind of interface automatic generation method that one embodiment of the invention proposes, and comprising:
Step S101, terminal device, after with man-machine interface, providing equipment to connect, provides equipment to send interface application request with the data frame format of being scheduled to man-machine interface;
In the present embodiment, terminal device is passing through LAN (Local Area Network), zigbee network, after the modes such as radio-frequency communication are connected to man-machine interface equipment are provided, with the data frame format of being scheduled to, to man-machine interface, provide equipment to send interface application request, so that man-machine interface provides equipment to apply for icon information corresponding to this terminal device of acquisition request according to this interface, and then downloads corresponding interface content according to this icon information.
The interface application request of above-mentioned predetermined data frame format may all comprise or part comprises: the descriptor that terminal device is relevant, this descriptor comprises: device type, supplier number, device numbering, interface network address and public version interface numbering.
Wherein: which kind of electrical equipment is device type be expressed as, as air-conditioning, and washing machine etc.; Corresponding each manufacturer of supplier number has uniqueness in system; Device numbering means the actual model of terminal device in manufacturer; The interface network address is defaulted as the placement network address of terminal device in the manufacturer interface; A public version interface is to produce from the net class is unexpected in order to prevent, the basic function of terminal device is carried out to standardization setting, the interface that does not retain manufacturer's style and specific function and control command.
Step S102, man-machine interface provides equipment according to interface application request, obtains interface content and preserves to local, and generate display interface according to the interface content obtained.
After the interface application request that man-machine interface provides equipment to receive the terminal device transmission, this interface application request is resolved, use zigbee, radio-frequency communication, the real-time sense terminals equipment on-line of the technology such as network communication, attribute changes, state changes, the information such as equipment establishment, according to the interface icon corresponding informance provided after the resolution data content frame, server corresponding to interface network address from the application request of interface, download the interface icon data content that this terminal device is corresponding, be kept at this locality, and the interface content of downloading is carried out to safety check according to pre-defined algorithm.
Afterwards the interface content of downloading is carried out to interface by modes such as browsers and play up, and, by local program, interface content reasonably is inserted in local original interface description file, generate display interface.
Particularly, man-machine interface provides equipment in the process that generates display interface, when receiving the application request of interface that terminal device is sent, at first judge and self whether can connect server corresponding to interface application request median surface network address, if can complete socket with the server of interface network address appointment is connected, the interface network address provided according to this interface application request, and the icon information of this terminal device parsed from the application request of interface, also download the icon file of the correspondence of terminal device new interpolation or upgrading to corresponding server application, the corresponding interface content as this terminal device, the interface content obtained is added to man-machine interface to be provided in the local original interface description file of equipment, by browser etc., undertaken after interface plays up, in man-machine interface, provide the interface of equipment to generate display interface, the user can drag the terminal device icon on man-machine interface provides the interface of equipment, to mix optimal man-machine interface.
If the interface website links that interface application request provides is invalid, man-machine interface provides the acquiescence network address of equipment AutoLink terminal device, and according to equipment class, supplier number and device numbering, interface content is downloaded in application in the acquiescence network address.The network address of the family that such acquiescence network address is similar driving, can collect the interface content of each manufacturer issued, and has the interface content that is carried out verification approval by official on this network address.
If man-machine interface provides the equipment can not interconnection network, use predetermined public version interface numbering and predetermined icon sets content, form interim interface.Wherein, a public version interface only possesses general Control the content, does not possess the content that logo etc. has manufacturer's style.Public version interface is after man-machine interface provides equipment connection to network and successfully applies for arriving corresponding interface content, and the interface content be applied replaces.
In addition, when man-machine interface provides equipment to get corresponding interface content (comprising the interface content of downloading from corresponding server, public version interface or formal manufacturer interface) and is saved in this locality, man-machine interface provides equipment at first according to pre-defined algorithm, to carry out safety check, confirms whether interface content once was held as a hostage and revised in downloading process.If detect dangerously, abandon this interface content, again apply for; Otherwise, carry out follow-up interface and play up and the function check process.
The pre-defined algorithm that above-mentioned safety check adopts, can adopt the MD5 algorithm to realize, the MD5 algorithm belongs to prior art, at this, is not described further.
Interface render process for interface content comprises that this process and current web page compile the html files classes seemingly to interface content generation engine and compiling decipher, can adopt xml compiling decipher mode to realize the interface generation.
After interface content is downloaded and played up, need to carry out function check.In the function check process, man-machine interface provides equipment to simulate one by one people's mode of operation, send monitor command to terminal device, if the terminal device normal running is also fed back correct information, think that the interface of above-mentioned generation is exercisable interface, the interface of this generation provides on equipment and is saved into formal interface, in follow-up practical application in man-machine interface, when not running into official's renewal interface, do not need interface is changed.
In the specific embodiment process, as shown in Figure 2, in above-mentioned steps S102, man-machine interface provides equipment according to interface application request, obtains interface content to local step of preserving and comprises:
Step S1021, man-machine interface provides the application request of device parses interface, according to analysis result, selects interface icon identifier corresponding to terminal device;
Step S1022, judge that man-machine interface provides equipment whether can set up network and connects, if enter step S1023; Otherwise, enter step S1028;
Step S1023; Judge that whether the interface network address or the ip address that obtain in resolution interface application request be effective; If effectively, enter step S1024; Otherwise, enter step S1027;
Step S1024, the server corresponding with the interface network address obtained in resolution interface application request or ip address set up socket and connected;
Step S1025, according to the interface icon identifier of terminal device, download corresponding icon file from corresponding server;
Step S1026, insert icon file in local interface description file and preserved.
Step S1027, the server corresponding from the acquiescence network address of device end downloaded interface content.
Step S1028, public version interface numbering and predetermined icon sets content by predetermined, form interim interface.
As shown in Figure 3, the step that in above-mentioned steps S102, man-machine interface provides equipment to generate display interface according to the interface content obtained comprises:
Step S1029, man-machine interface provides equipment, by pre-defined algorithm, the interface content obtained is carried out to safety check;
Step S1030, carry out interface to the interface content after safety check and play up, and generates display interface.
Step S1031, by terminal device, sending monitor command, the interface content after interface is played up carries out function check; After the function check success, the display interface of generation is saved as to formal interface.
The present embodiment is after terminal device is connected to LAN, with certain data frame format, to man-machine interface, provide equipment to send interface application request, man-machine interface provides equipment download interface content or using public version interface in the net situation to the server of appointment according to above-mentioned request, simultaneously, man-machine interface provides equipment and terminal device to carry out function check according to the interface content of downloading.If function is feasible, man-machine interface provides equipment to preserve interface content, and in subsequent process, use this interface content to control corresponding terminal device, terminal device is effectively used, simultaneously objective interface, flexible operation, and retaining manufacturer's style, interface function and outward appearance are easily upgraded, and also can guarantee the usability of product in the suspension situation.
As shown in Figure 4, one embodiment of the invention proposes a kind of interface automatic creation system, comprising: terminal device 401 and man-machine interface provide equipment 402, wherein:
Terminal device 401, for after with man-machine interface, providing equipment 402 to connect, provide equipment 402 to send interface application request with the data frame format of being scheduled to man-machine interface;
Man-machine interface provides equipment 402, for according to interface application request, obtains interface content and preserves to local, and generate display interface according to the interface content obtained.
Particularly, as shown in Figure 5, man-machine interface provides equipment 402, comprising: interface content acquisition module 4021 and interface generation module 4022, wherein:
Interface content acquisition module 4021, for according to interface application request, obtain interface content and preserve to local;
Interface generation module 4022, generate display interface for the interface content according to obtaining.
In the present embodiment, terminal device 401 is passing through LAN (Local Area Network), zigbee network, after the modes such as radio-frequency communication are connected to man-machine interface equipment are provided, with the data frame format of being scheduled to, to man-machine interface, provide equipment 402 to send interface application request, so that man-machine interface provides equipment 402 can apply for according to this interface the icon information of these terminal device 401 correspondences of acquisition request, and then downloads corresponding interface content according to this icon information.
The interface application request of above-mentioned predetermined data frame format may all comprise or part comprises: the descriptor that terminal device 401 is relevant, this descriptor comprises: device type, supplier number, device numbering, interface network address and public version interface numbering.
Wherein: which kind of electrical equipment is device type be expressed as, as air-conditioning, and washing machine etc.; Corresponding each manufacturer of supplier number has uniqueness in system; Device numbering means the actual model of terminal device 401 in manufacturer; The interface network address is defaulted as the placement network address of terminal device 401 in the manufacturer interface; A public version interface is to produce from the net class is unexpected in order to prevent, the basic function of terminal device 401 is carried out to standardization setting, the interface that does not retain manufacturer's style and specific function and control command.
After the interface application request that man-machine interface provides equipment 402 to receive terminal device 401 transmissions, by 4021 pairs of this interface application requests of interface content acquisition module, resolved, use the information such as the real-time sense terminals equipment 401 of the technology such as zigbee, radio-frequency communication, network communication is online, attribute change, state change, equipment establishment, according to the interface icon corresponding informance provided after the resolution data content frame, server corresponding to interface network address from the application request of interface, download the interface icon data content of these terminal device 401 correspondences, be kept at this locality.
Afterwards the interface content by downloading 4022 pairs of downloads of these terminal device 401 median surface generation modules according to pre-defined algorithm carry out safety check, play up at interface and function check.Carry out interface while playing up, can carry out interface by modes such as browsers to the interface content of downloading and play up, and, by local program, interface content reasonably is inserted in local original interface description file, generating display interface.
Particularly, man-machine interface provides equipment 402 in the process that generates display interface, when receiving the application request of interface that terminal device 401 is sent, at first judge and self whether can connect server corresponding to interface application request median surface network address, if can complete socket with the server of interface network address appointment is connected, the interface network address provided according to this interface application request, and the icon information of this terminal device 401 parsed from the application request of interface, also download the icon file of the correspondence of terminal device 401 new interpolation or upgrading to corresponding server application, interface content as these terminal device 401 correspondences, the interface content obtained is added to man-machine interface to be provided in the local original interface description file of equipment 402, by browser etc., undertaken after interface plays up, in man-machine interface, provide the interface of equipment 402 to generate display interface, the user can drag terminal device 401 icons on man-machine interface provides the interface of equipment 402, to mix optimal man-machine interface.
If the interface website links that interface application request provides is invalid, man-machine interface provides the acquiescence network address of equipment 402 AutoLink terminal devices 401, and according to equipment class, supplier number and device numbering, interface content is downloaded in application in the acquiescence network address.The network address of the family that such acquiescence network address is similar driving, can collect the interface content of each manufacturer issued, and has the interface content that is carried out verification approval by official on this network address.
If man-machine interface provides the equipment 402 can not interconnection network, use predetermined public version interface numbering and predetermined icon sets content, form interim interface.Wherein, a public version interface only possesses general Control the content, does not possess the content that logo etc. has manufacturer's style.Public version interface is after man-machine interface provides equipment 402 to be connected to network and successfully applies for corresponding interface content, and the interface content be applied replaces.
In addition, when man-machine interface provides equipment 402 to get corresponding interface content (comprising the interface content of downloading from corresponding server, public version interface or formal manufacturer interface) and is saved in this locality, man-machine interface provides equipment 402 at first according to pre-defined algorithm, to carry out safety check, confirms whether interface content once was held as a hostage and revised in downloading process.If detect dangerously, abandon this interface content, again apply for; Otherwise, carry out follow-up interface and play up and the function check process.
The pre-defined algorithm that above-mentioned safety check adopts, can adopt the MD5 algorithm to realize, the MD5 algorithm belongs to prior art, at this, is not described further.
Interface render process for interface content comprises that this process and current web page compile the html files classes seemingly to interface content generation engine and compiling decipher, can adopt xml compiling decipher mode to realize the interface generation.
After interface content is downloaded and played up, need to carry out function check.In the function check process, man-machine interface provides equipment 402 to simulate one by one people's mode of operation, send monitor command to terminal device 401, if terminal device 401 normal runnings are also fed back correct information, think that the interface of above-mentioned generation is exercisable interface, the interface of this generation provides on equipment 402 and is saved into formal interface, in follow-up practical application in man-machine interface, when not running into official's renewal interface, do not need interface is changed.
Particularly, as shown in Figure 6, above-mentioned interface content acquisition module 4021 comprises: unit 40212, download unit 40213 and storage unit 40214 are set up in parsing and selected cell 40211, connection, wherein:
Resolve and selected cell 40211, for resolution interface application request, according to analysis result, select interface icon identifier corresponding to terminal device;
Connect and set up unit 40212, for the interface network address or server corresponding to ip that obtain with resolution interface application request, set up the socket connection;
Download unit 40213, for the interface icon identifier according to terminal device, download corresponding icon file from corresponding server;
Storage unit 40214, preserved for icon file being inserted to local interface description file.
Further, above-mentioned interface content acquisition module 4021 is also for when interface applies for that the interface network address of asking is invalid, and the server corresponding from the acquiescence network address of device end downloaded interface content.
Interface content acquisition module 4021 is also when providing equipment can't set up network to connect when man-machine interface, public version interface numbering and predetermined icon sets content by predetermined, form interim interface.
As shown in Figure 7, above-mentioned interface generation module 4022 comprises: safety check unit 40221, rendering unit 40222 and function check unit 40223, wherein:
Safety check unit 40221, for carrying out safety check by pre-defined algorithm to the interface content obtained;
Rendering unit 40222, carry out interface for the interface content to after safety check and play up, and generates display interface;
Function check unit 40223, send monitor command for passing through to terminal device, and the interface content after interface is played up carries out function check; After the function check success, the display interface of generation is saved as to formal interface.
Embodiment of the present invention interface automatic generation method and system, terminal device is after being connected to LAN, with the data frame format of being scheduled to, to man-machine interface, provide equipment to send interface application request, after man-machine interface provides equipment to receive request, according to content frame, online is downloaded interface content or using public version interface in the net situation, man-machine interface provides equipment and terminal device to carry out function check according to interface content simultaneously, if the feasible interface content of preserving of function, and at this interface control terminal device of follow-up use, thereby the man-machine interface that makes control terminal provides the objective interface of equipment, improved its interface operation dirigibility, retain terminal device manufacturer style, easily upgrade the icon outward appearance of terminal device on interface, also can guarantee the usability of product simultaneously in the suspension situation.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical field, all in like manner be included in scope of patent protection of the present invention.

Claims (8)

1. an interface automatic generation method, is characterized in that, comprises the following steps:
Terminal device, after with man-machine interface, providing equipment to connect, provides equipment to send interface application request with the data frame format of being scheduled to described man-machine interface;
Described man-machine interface provides equipment according to the application request of described interface, obtains interface content and preserves to local, and generate display interface according to the interface content obtained; Wherein: described man-machine interface provides equipment according to the application request of described interface, obtains interface content to local step of preserving and comprises:
Described man-machine interface provides the application request of the described interface of device parses, according to analysis result, selects the interface icon identifier that described terminal device is corresponding;
Judge that man-machine interface provides equipment whether can set up network and connects, if,
Judge that whether the interface network address or the ip address that obtain in resolution interface application request be effective; If effectively, the server corresponding with the interface network address obtained in the application request of the described interface of parsing or ip address set up the socket connection;
According to the interface icon identifier of described terminal device, from the server of described correspondence, download corresponding icon file;
Described icon file is inserted in local interface description file and preserved.
2. method according to claim 1, is characterized in that, described man-machine interface provides equipment according to the application request of described interface, obtains interface content to local step of preserving and also comprise:
When the interface network address obtained in resolving the application request of described interface or ip address are invalid, described man-machine interface provides the server that equipment is corresponding from the acquiescence network address of described device end to download interface content.
3. method according to claim 1, is characterized in that, described man-machine interface provides equipment according to the application request of described interface, obtains interface content to local step of preserving and also comprise:
When described man-machine interface provides equipment can't set up the network connection, described man-machine interface provides equipment by public version interface numbering and the predetermined icon sets content of being scheduled to, and forms interim interface.
4. according to the described method of any one in claim 1-3, it is characterized in that, the step that described man-machine interface provides equipment to generate display interface according to the interface content obtained comprises:
Described man-machine interface provides equipment, by the MD5 algorithm, the interface content obtained is carried out to safety check;
Interface content after safety check is carried out to interface and play up, generate display interface.
5. method according to claim 4, is characterized in that, after the step that the interface content after described man-machine interface provides equipment to safety check carries out playing up at interface, also comprises:
Described man-machine interface provides equipment to pass through to send monitor command to described terminal device, and the interface content after interface is played up carries out function check; After the function check success, the described display interface generated is saved as to formal interface.
6. an interface automatic creation system, is characterized in that, comprising: terminal device and man-machine interface provide equipment, wherein:
Described terminal device, for after with man-machine interface, providing equipment to connect, provide equipment to send interface application request with the data frame format of being scheduled to described man-machine interface;
Described man-machine interface provides equipment, comprising:
The interface content acquisition module, for according to the application request of described interface, obtain interface content and preserve to local;
The interface generation module, generate display interface for the interface content according to obtaining; Wherein: described interface content acquisition module comprises:
Resolve and selected cell, for resolving the application request of described interface, according to analysis result, select the interface icon identifier that described terminal device is corresponding;
Connect and set up unit, for provide equipment can set up network connects and resolution interface application request obtains interface network address or ip address when effective when man-machine interface, with resolve the application request of described interface in server corresponding to the interface network address that obtains or ip address set up the socket connection;
Download unit, for the interface icon identifier according to described terminal device, download corresponding icon file from the server of described correspondence;
Storage unit, preserved for described icon file being inserted to local interface description file.
7. system according to claim 6, it is characterized in that, described interface content acquisition module is also for when resolving interface network address that the application request of described interface obtains or ip address when invalid, and the server corresponding from the acquiescence network address of described device end downloaded interface content; And, when described man-machine interface provides equipment can't set up the network connection, public version interface numbering and predetermined icon sets content by predetermined, form interim interface.
8. according to the described system of any one in claim 6-7, it is characterized in that, described interface generation module comprises:
The safety check unit, for carrying out safety check by the MD5 algorithm to the interface content obtained;
Rendering unit, carry out interface for the interface content to after safety check and play up, and generates display interface;
The function check unit, send monitor command for passing through to described terminal device, and the interface content after interface is played up carries out function check; After the function check success, the described display interface generated is saved as to formal interface.
CN 201110314247 2011-10-17 2011-10-17 Automatic interface generation method and system Expired - Fee Related CN102368214B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110314247 CN102368214B (en) 2011-10-17 2011-10-17 Automatic interface generation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110314247 CN102368214B (en) 2011-10-17 2011-10-17 Automatic interface generation method and system

Publications (2)

Publication Number Publication Date
CN102368214A CN102368214A (en) 2012-03-07
CN102368214B true CN102368214B (en) 2013-12-25

Family

ID=45760779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110314247 Expired - Fee Related CN102368214B (en) 2011-10-17 2011-10-17 Automatic interface generation method and system

Country Status (1)

Country Link
CN (1) CN102368214B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679017B (en) * 2012-09-05 2017-06-16 腾讯科技(深圳)有限公司 Prevent the device and method that user interface is held as a hostage
CN102945171A (en) * 2012-09-29 2013-02-27 珠海市新域智能科技有限公司 Method and system for processing business logic interface and controlling peripheral equipment
CN105629908B (en) * 2014-10-31 2019-02-01 腾讯科技(深圳)有限公司 Internet of things equipment control method and device
CN106708348B (en) * 2015-07-16 2020-04-14 深圳市奇辉电气有限公司 Dynamic color icon display method and device
CN106406127B (en) * 2015-07-31 2019-08-13 腾讯科技(深圳)有限公司 The generation method and generating means of the control interface of internet of things equipment
CN105554520A (en) * 2015-12-30 2016-05-04 深圳创维数字技术有限公司 Intelligent television desktop background pushing method and server
CN106502891B (en) * 2016-10-19 2019-05-17 广州视源电子科技股份有限公司 The automatic testing method and device of user interface
CN109388066A (en) * 2017-08-04 2019-02-26 阿里巴巴集团控股有限公司 Methods, devices and systems for process container
CN109539484B (en) * 2018-11-22 2020-03-10 珠海格力电器股份有限公司 Setting method and device for display interface background image, control device and unit
CN109765793B (en) * 2018-12-07 2022-04-12 深圳绿米联创科技有限公司 Equipment state display method and device, terminal and storage medium
CN111158810B (en) * 2019-12-16 2023-05-02 深圳市显控科技股份有限公司 HMI human-machine interface data communication method and HMI human-machine interface device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6654784B1 (en) * 2000-01-14 2003-11-25 Nexaweb Technologies, Inc Computing architecture
CN1481121A (en) * 2002-09-30 2004-03-10 联想(北京)有限公司 Method for validating validity of information device in household network
CN1481119A (en) * 2002-09-29 2004-03-10 联想(北京)有限公司 System and method for controlling electrical applicances in household network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002041276A (en) * 2000-07-24 2002-02-08 Sony Corp Interactive operation-supporting system, interactive operation-supporting method and recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6654784B1 (en) * 2000-01-14 2003-11-25 Nexaweb Technologies, Inc Computing architecture
CN1481119A (en) * 2002-09-29 2004-03-10 联想(北京)有限公司 System and method for controlling electrical applicances in household network
CN1481121A (en) * 2002-09-30 2004-03-10 联想(北京)有限公司 Method for validating validity of information device in household network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《IPv6家庭网关的集中控制技术》;陈萍等;《大连理工大学学报》;20051031;第45卷;增刊S1-S4 *
陈萍等.《IPv6家庭网关的集中控制技术》.《大连理工大学学报》.2005,第45卷增刊S1-S4.

Also Published As

Publication number Publication date
CN102368214A (en) 2012-03-07

Similar Documents

Publication Publication Date Title
CN102368214B (en) Automatic interface generation method and system
CN105159122B (en) A kind of intelligent home control system and control method
CN105553959B (en) Remote control method and system for dynamically generating operation interface of intelligent equipment
CN106302448B (en) Remote access control method and device
CN102014224B (en) Mobile terminal and remote control system as well as method
EP2963933A1 (en) Remote control processing method, apparatus and system
CN102752369B (en) The supplying method of TV applications service and virtual content service platform
CN107450899B (en) Method and device for generating terminal control script
CN106533813A (en) Method for remotely controlling upgrade of intelligent device
CN105739460A (en) Method and device for automatically generating control interface of Internet-of-Things household appliances
CN103297506A (en) Method and system for controlling household equipment
US9244754B2 (en) Error code conversion method and system, PPPoE server and mobile terminal
CN103747074B (en) mobile monitoring system based on Web server
CN103607654A (en) A mobile terminal auxiliary input apparatus based on a multi-screen cooperation system and a method
CN109495433A (en) Data download method and device, storage medium and electronic device
CN104618435A (en) Method for achieving remote desktops and remote desktop management system
CN106230977B (en) A kind of client functionality loading method, system, client and server-side
CN102412993A (en) Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface
CN112954717B (en) Household appliance network distribution method and device based on H5 page
CN103139271A (en) System and method of controlling communication between terminals
CN109408090B (en) Upgrading method of equipment software, data converter and readable storage medium
CN110933170A (en) Multi-device linkage control method and device of ZigBee gateway and storage medium
CN105095220B (en) A kind of browser implementation method, terminal and virtualization agent device
CN104023262A (en) HTML-based multi-screen set top box remote controller system and method
CN202799005U (en) Cloud computing based internet monitoring system of set top box and set top box

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131225

Termination date: 20201017