CN102412993B - Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface - Google Patents

Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface Download PDF

Info

Publication number
CN102412993B
CN102412993B CN201110376219.8A CN201110376219A CN102412993B CN 102412993 B CN102412993 B CN 102412993B CN 201110376219 A CN201110376219 A CN 201110376219A CN 102412993 B CN102412993 B CN 102412993B
Authority
CN
China
Prior art keywords
terminal
server
end message
identification number
packet
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
CN201110376219.8A
Other languages
Chinese (zh)
Other versions
CN102412993A (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 CN201110376219.8A priority Critical patent/CN102412993B/en
Publication of CN102412993A publication Critical patent/CN102412993A/en
Application granted granted Critical
Publication of CN102412993B publication Critical patent/CN102412993B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a method for automatically displaying multiple terminals in an XML (Extensive Makeup Language) interface, wherein the multiple terminals are hardware products capable of being applied to the internet of things (IOT). The method specifically comprises the steps of: sending a data packet to a server in a preset data frame format, wherein the data packet at least comprises an identification number preset in the terminal, and the terminal is at least one in number; receiving the data packet and acquiring the identification number of the terminal by the server; searching terminal attributes pre-stored in the server according to the identification number, and acquiring the terminal attribute corresponding to the identification number to server as terminal information; and displaying the acquired terminal information in a same XML interface in real time. According to the method for automatically displaying the multiple terminals in the XML interface, provided by the invention, the same server can correspond to different terminals and be used for displaying the multiple terminals in the same XML interface, so that a user can perform browse and management on the multiple terminals in the same visual viewgraph.

Description

Automatically in the method and system of the multiple terminal of XML interface display
Technical field
The present invention relates to technology of Internet of things field, specifically the automatic method in the multiple terminal of XML interface display.
Background technology
The interface of current networking control equipment, uses fixing interface to deposit in device end, and this interface, only for limited end product, is not easy upgrading and upgrades, and needs to redesign interface, virtually add a lot of hardware cost when product changes.Another mode carrys out administration interface by central server, and a central server can manage multiple hardware, is provided with a large network platform, to manage multiple different hardware product corresponding to this mode.At present, following two schemes is usually adopted to realize the problem of network platform user interface: the interface system that 1, practicality one is large and complete, such as nested layer by layer, comprise all details; 2, use simple list, be divided into a lot of small interface.These two kinds of modes all cannot realize the intuitive management to hardware system, can not manage multiple hardware in same view interface.
Summary of the invention
Main purpose of the present invention is to provide a kind of automatically at XML (Extensible Markup Language, extend markup language) method of Interface debond terminal, for managing the terminal of multiple different manufacturers different model in same user interface, enhance the applicability of same user interface.
The present invention proposes a kind of automatically in the method for the multiple terminal of expandable mark language XML interface display, and described terminal is the hardware product that can be applicable in Internet of Things, and described method specifically comprises step:
Terminal sends packet to server with preset data frame format, and described packet at least includes preset identification number in the terminal, and described terminal is at least one;
Server receives described packet and obtains described identification number;
Search the terminal attribute of preset storage in server according to described identification number, acquisition corresponds to the terminal attribute of described identification number as end message;
The end message got is shown in real time in same XML interface.
Preferably, before described terminal sends packet to server with preset data frame format, also comprise: the analysis program of each identification number corresponding preset storage different terminals order in the server and terminal attribute, described attribute at least comprises the icon of terminal, model, producer.
Preferably, described end message at least comprises the icon of terminal, model, producer, hardware attributes and SOT state of termination.
Preferably, describedly obtain described identification number according to described packet, search the end message of preset storage in server according to described identification number, also comprise after obtaining end message:
According to described terminal iidentification number, call the station command analysis program of preset each terminal of correspondence in the server, resolve the station command comprised in described packet and obtain end message, and the end message stored in update server.
Preferably, the described terminal hardware information got display in real time specifically comprises step to same XML interface:
Server sends the end message that gets to XML interface browser;
After XML interface browser detects described end message, performance render engine shows described end message.
The present invention also proposes a kind of automatic system in the multiple terminal of XML interface display, comprises server and at least one terminal,
Described terminal is used for sending packet to server with preset data frame format, and described packet at least includes preset identification number in the terminal;
Described server also comprises:
Receiving element, for receiving described packet and obtaining described identification number;
Resolution unit, for searching the terminal attribute of preset storage in server according to described identification number, acquisition corresponds to the terminal attribute of described identification number as end message;
Display unit, for showing the end message got in real time in same XML interface.
Preferably, the analysis program of each identification number corresponding preset storage different terminals packet and terminal attribute in described server, described attribute at least comprises the icon of terminal, model, producer.
Preferably, described end message at least comprises the icon of terminal, model, producer and state.
Preferably, described resolution unit also for: according to described terminal iidentification number, call the packet analysis program of preset each terminal of correspondence in the server, resolve described packet, obtain end message the end message stored in update server.
Preferably, described display unit is specifically for sending the end message that gets to XML interface browser, and after described XML interface browser detects described end message, performance render engine shows described end message.
Automatically the method generating the corresponding Drawing Object of terminal in user interface provided by the invention, by the terminal iidentification number that receiving terminal sends, and the information of counterpart terminal is obtained according to different terminal iidentification number, by the information updating of terminal on user interface view, make user can realize, to the management of different manufacturers different model terminal, improve user experience in same interface view.
Accompanying drawing explanation
Fig. 1 is provided by the invention automatically in the flow chart of steps of method one embodiment of the multiple terminal of XML interface display;
Fig. 2 is provided by the invention automatically at the structural representation of system one embodiment of the multiple terminal of XML interface display.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The terminal related in the present invention specifically refers to Internet of things hardware product, the hardware products such as such as portable medical/health care electronic product, electrically driven curtain, this hardware product is with network savvy, can be specifically that itself is with WIFI, RJ45 interface or the hardware product by networking between GRPS, or hardware product itself is with communication interface, can be networked by external equipments such as Set Top Box, and the hardware product that other approach can be utilized to network.
Reference Fig. 1, Fig. 1 are the present invention shows multiple terminal automatically method in user interface, and the method operates in by server, specifically comprises step:
S110: terminal sends packet to server with preset data frame format, and described packet at least includes preset identification number in the terminal, and described terminal is at least one;
Can operate in the server on the Internet from being dynamically connected when terminal operating, after being connected to server, terminal sends packet to server with preset data frame format.In the present embodiment, packet at least comprises terminal iidentification number, and this identification number is in the terminal preset, is unique identification number corresponding to each terminal.This packet can also be a heartbeat packet, and between client and server, timing notifies that whether the other side oneself is online simultaneously.
S120: server receives this packet and obtains identification number;
Server receives this packet, and the middleware resolution data bag of server obtains terminal iidentification number.
S130: the terminal attribute searching preset storage in server according to described identification number, acquisition corresponds to the terminal attribute of this identification number as end message;
The terminal attribute such as icon, model, producer, hardware attributes of terminal and the analysis program of different terminals order is created respectively in the server according to each terminal iidentification number, each terminal iidentification number stores with terminal attribute, station command analysis program one_to_one corresponding, and database or other forms of storage list structure can be taked to store.In the present embodiment, end message is stored in server database, and server searches the attribute of terminal in a database according to described identification number, as icon, model, producer, hardware attributes etc.In other examples, end message also includes SOT state of termination, also station command is included in the packet that terminal sends, packet described in server parses obtains station command, the analysis program collection of resolving this station command is searched according to terminal iidentification number, resolve this station command and obtain end message, the end message got is updated to server database.Such as, when this SOT state of termination changes, the end command that state changes is included in the packet that terminal to server sends, server searches the analysis program collection of resolving this station command according to terminal iidentification number, call corresponding analysis program and resolve described end command, get SOT state of termination, update server database.After the database that server update stores, notice is connected to the XML interface browser of server in real time, more specifically, XML (Extensible Markup Language, extend markup language) interface browser is connected to server in real time by Websocket (a kind of specification of realization and server end two-way communication in a browser) technology.
S140: the information of each terminal got is sent in real time in same XML interface;
The end message that server gets can be the information of a terminal, also can be the information of multiple terminal.After XML interface browser Real-time Obtaining to the information such as state, hardware attributes (as equipment on-line/hardware attributes change/state change/equipment establishment etc.) of each terminal, by each end message got from server, performance render engine, is presented in same XML interface respectively.In the individual panel computer that XML interface may operate on mobile phone, on computer or supported web page is browsed.
The automatic method in the multiple terminal of XML interface display that the present embodiment provides, according to the identification number matched termination information of end product or the analysis program calling this end product order, make same server can corresponding multiple different terminal, and by multiple terminal demonstration in same XML interface, user can be browsed and management in same visual view to multiple terminal.
User can browse to multiple terminal in same XML interface, clicks terminal icon, just can control, manage and check terminal.When terminal is electric light, when user clicks at XML interface and turns on light order, server middleware receives the identification number of turn on light order and electric light, the analysis program collection of order of turning on light is called according to this identification number, the order that command analysis of this being turned on light can identify for electric light, and being sent to electric light, electric light performs the operation of turning on light.
User is on existing XML interface, if have purchased new hardware product, and carry out the operation of the information such as preset storage terminal attribute, command analysis program and relevant setting in the server, when terminal is connected to the Internet, automatically can increase the information such as terminal icon in same XML interface, make XML interface energy adapt to multiple terminals of new production.
With reference to Fig. 2, Fig. 2 be the present invention automatically in the system of the multiple terminal of XML interface display, this system specifically comprises: terminal 310 and server 320.
Terminal 310, for sending packet to server with preset data frame format, this packet at least includes preset identification number in the terminal;
Server 320 comprises:
Receiving element 321, for receiving packet and obtaining identification number;
Resolution unit 322, for searching the terminal attribute of preset storage in server according to described identification number, acquisition corresponds to the terminal attribute of this identification number as end message;
Display unit 323, for showing the end message got in real time in same XML interface.
Can operate in the server 320 on the Internet from being dynamically connected when terminal 310 is run, after being connected to server 320, terminal 310 sends packet to server 320 with preset data frame format.In the present embodiment, packet at least comprises terminal iidentification number, and this identification number is preset in terminal 310, is unique identification number corresponding to each terminal.This packet can also be a heartbeat packet, and between client and server, timing notifies that whether the other side oneself is online simultaneously.
Receiving element 321 receives this packet, and the middleware resolution data bag of server 320 obtains terminal iidentification number.
The terminal attribute such as icon, model, producer, hardware attributes of terminal and the analysis program of different terminals order is created respectively according to each terminal iidentification number in server 320, each terminal iidentification number stores with terminal attribute, station command analysis program one_to_one corresponding, and database or other forms of storage list structure can be taked to store.In the present embodiment, end message is stored in server database, and resolution unit 322 searches the attribute of terminal in a database according to described identification number, as icon, model, producer, hardware attributes etc.In other examples, end message also includes SOT state of termination, also station command is included in the packet that terminal sends, resolution unit 322 is also resolved described packet and is obtained station command, resolution unit 322 searches the analysis program collection of resolving this station command according to terminal iidentification number, resolve this station command and obtain end message, the end message got is updated to server database.Such as, when this SOT state of termination changes, the end command that state changes is included in the packet that terminal to server sends, resolution unit 322 searches the analysis program collection of resolving this station command according to terminal iidentification number, call corresponding analysis program and resolve described end command, get SOT state of termination, update server database.After the database that server update stores, notice is connected to the XML interface browser of server in real time, more specifically, XML (Extensible Markup Language, extend markup language) interface browser is connected to server 320 in real time by Websocket (a kind of specification of realization and server end two-way communication in a browser) technology.
The end message got is sent to XML interface browser by display unit 323, and wherein end message can be the information of a terminal, also can be the information of multiple terminal.After XML interface browser Real-time Obtaining to the information such as state, hardware attributes (as equipment on-line/hardware attributes change/state change/equipment establishment etc.) of terminal, by the end message got from server, performance render engine, is presented in XML interface.In the individual panel computer that XML interface may operate on mobile phone, on computer or supported web page is browsed.
User can browse to multiple terminal in same XML interface, clicks terminal icon, just can control, manage and check terminal.When terminal is electric light, when user clicks at XML interface and turns on light order, server middleware receives the identification number of turn on light order and electric light, the analysis program collection of order of turning on light is called according to this identification number, the order that command analysis of this being turned on light can identify for electric light, and being sent to electric light, electric light performs the operation of turning on light.
User is on existing XML interface, if have purchased new hardware product, and carry out the operation of the information such as preset storage terminal attribute, command analysis program and relevant setting in the server, when terminal is connected to the Internet, automatically can increase the information such as terminal icon in same XML interface, make XML interface energy adapt to multiple terminals of new production.
These are only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1., automatically in a method for the multiple terminal of expandable mark language XML interface display, described terminal is the hardware product that can be applicable in Internet of Things, it is characterized in that, described method specifically comprises step:
Terminal sends packet to server with preset data frame format, and described packet at least includes preset identification number in the terminal, and described terminal is at least one;
Server receives described packet and obtains described identification number;
Search the terminal attribute of preset storage in server according to described identification number, acquisition corresponds to the terminal attribute of described identification number as end message;
The end message got is shown in real time in same XML interface;
Describedly obtain described identification number according to described packet, search the end message of preset storage in server according to described identification number, also comprise after obtaining end message:
According to described terminal iidentification number, call the station command analysis program of preset each terminal of correspondence in the server, resolve the station command comprised in described packet and obtain end message, and the end message stored in update server; Wherein,
Described end message at least comprises the icon of terminal, model, producer, hardware attributes and SOT state of termination.
2. the automatic method in the multiple terminal of XML interface display as claimed in claim 1, it is characterized in that, before described terminal sends packet to server with preset data frame format, also comprise: the analysis program of each identification number corresponding preset storage different terminals order in the server and terminal attribute, described attribute at least comprises the icon of terminal, model, producer.
3. the automatic method in the multiple terminal of XML interface display as claimed in claim 1, it is characterized in that, the described terminal hardware information got display in real time specifically comprises step to same XML interface:
Server sends the end message that gets to XML interface browser;
After XML interface browser detects described end message, performance render engine shows described end message.
4., automatically in a system for the multiple terminal of XML interface display, comprise server and at least one terminal, it is characterized in that,
Described terminal is used for sending packet to server with preset data frame format, and described packet at least includes preset identification number in the terminal;
Described server also comprises:
Receiving element, for receiving described packet and obtaining described identification number;
Resolution unit, for searching the terminal attribute of preset storage in server according to described identification number, acquisition corresponds to the terminal attribute of described identification number as end message;
Display unit, for showing in same XML interface in real time by the end message got;
Described resolution unit also for: according to described terminal iidentification number, call the packet analysis program of preset each terminal of correspondence in the server, resolve described packet, obtain end message the end message stored in update server; Wherein,
Described end message at least comprises the icon of terminal, model, producer and state.
5. the automatic system in the multiple terminal of XML interface display as claimed in claim 4, it is characterized in that, the analysis program of each identification number corresponding preset storage different terminals packet and terminal attribute in described server, described attribute at least comprises the icon of terminal, model, producer.
6. the automatic system in the multiple terminal of XML interface display as claimed in claim 4, is characterized in that,
Described display unit is specifically for sending the end message that gets to XML interface browser, and after described XML interface browser detects described end message, performance render engine shows described end message.
CN201110376219.8A 2011-11-23 2011-11-23 Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface Expired - Fee Related CN102412993B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110376219.8A CN102412993B (en) 2011-11-23 2011-11-23 Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110376219.8A CN102412993B (en) 2011-11-23 2011-11-23 Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface

Publications (2)

Publication Number Publication Date
CN102412993A CN102412993A (en) 2012-04-11
CN102412993B true CN102412993B (en) 2015-07-01

Family

ID=45914855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110376219.8A Expired - Fee Related CN102412993B (en) 2011-11-23 2011-11-23 Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface

Country Status (1)

Country Link
CN (1) CN102412993B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761613A (en) * 2012-06-29 2012-10-31 惠州Tcl移动通信有限公司 Mobile terminal and device information obtaining method and system thereof as well as server
CN103731456B (en) * 2012-10-15 2019-04-26 腾讯科技(深圳)有限公司 A kind of method and terminal for realizing social networking service
CN103036654B (en) * 2012-12-26 2015-10-28 无锡博欧节能科技有限公司 For the non-real time one-way link communication method of Internet of Things
CN104104575B (en) * 2013-04-03 2019-01-29 腾讯科技(深圳)有限公司 A kind of means of communication and system of instant communication group
CN104780045B (en) * 2015-03-11 2018-02-06 小米科技有限责任公司 The management method and device of smart machine
CN106681710B (en) * 2016-11-30 2021-03-30 上海富欣智能交通控制有限公司 Interface display method for rail transit field
CN106909389A (en) * 2017-02-28 2017-06-30 百度在线网络技术(北京)有限公司 Method and apparatus for showing smart machine information
CN109697266A (en) * 2017-10-24 2019-04-30 中国电信股份有限公司 Page rendering system, page rendering method and page rendering device
CN110913202B (en) * 2019-11-26 2022-01-07 深圳英伦科技股份有限公司 Three-dimensional display cloud rendering method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481121A (en) * 2002-09-30 2004-03-10 联想(北京)有限公司 Method for validating validity of information device in household network
CN101393517A (en) * 2007-09-20 2009-03-25 上海宝信软件股份有限公司 Method and apparatus for implementing collocation based on XML and control
CN101441567A (en) * 2008-11-18 2009-05-27 宇龙计算机通信科技(深圳)有限公司 Method and system for supporting multiple-language user interface in mobile terminal
CN101477459A (en) * 2008-12-19 2009-07-08 北京数码大方科技有限公司 Node attribute display method used for tree view of management information system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481121A (en) * 2002-09-30 2004-03-10 联想(北京)有限公司 Method for validating validity of information device in household network
CN101393517A (en) * 2007-09-20 2009-03-25 上海宝信软件股份有限公司 Method and apparatus for implementing collocation based on XML and control
CN101441567A (en) * 2008-11-18 2009-05-27 宇龙计算机通信科技(深圳)有限公司 Method and system for supporting multiple-language user interface in mobile terminal
CN101477459A (en) * 2008-12-19 2009-07-08 北京数码大方科技有限公司 Node attribute display method used for tree view of management information system

Also Published As

Publication number Publication date
CN102412993A (en) 2012-04-11

Similar Documents

Publication Publication Date Title
CN102412993B (en) Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface
KR102185864B1 (en) Server-side rendering method and system of native content for presentation
CN103460670B (en) The method and system of remote desktop session is carried out for using HTTP processors and remote desktop client general-purpose interface
CN102375869B (en) The system that application program is managed in equipment, method and device
US20140258409A1 (en) Method, server and browser for pushing message actively
CN102982178B (en) A kind of image searching method, device and system
CN104618435B (en) Realize method and the long-distance desktop management system of remote desktop
US20130166527A1 (en) System and methods thereof for dynamically updating the contents of a folder on a device
CN111178012A (en) Form rendering method, device and equipment and storage medium
CN103024773A (en) Method, management device and system for upgrading software of wireless router
CN103279540A (en) Method and device for pushing application
CN108897510A (en) Large screen shows that the control system, method and large screen of information show information system
CN103699635B (en) Information processing method and device
CN103152392A (en) Providing method, acquisition method, equipment and system of installation package
CN108023918A (en) A kind of information on services acquisition methods, apparatus and system
CN108132945A (en) For generating the method and apparatus of report
CN103246699A (en) Method and device for data access control based on browser
CN110399583A (en) Page display method, device, electronic equipment and storage medium
CN105094868A (en) Software upgrading method, server and terminal
CN104717289A (en) Data synchronism method and device
CN108052661B (en) Aggregation retrieval method and device in distributed environment and readable storage medium
CN105224578B (en) The browser synchronisation control means and terminal and system of a kind of cross-terminal
CN106547806A (en) Page loading method and device
CN108540583B (en) Domain name issuing method and device in CDN system and electronic equipment
CN102804177B (en) The method of self-adaptation context model framework, device are provided

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

Granted publication date: 20150701

Termination date: 20191123

CF01 Termination of patent right due to non-payment of annual fee