A kind of graph text information interface control method and device based on regarding networking
Technical field
The present invention relates to network technique fields, more particularly to a kind of graph text information interface control method based on regarding networking
And device.
Background technology
UI (User Interface, user interface) is the medium interacted between system and user with information exchange,
It realizes that the internal form of information and the mankind can receive the conversion between form.User interface be between user and hardware it
Between, link up the related software designed for interaction each other so that user can easily and effectively go operation hardware to reach
Desirable work is completed in two-way interaction, and user interface definition is extensive, contains human-computer interaction and graphic user interface, all
All there is user interfaces in the field of the information interchange of the participation mankind and machinery.
In current user interface, markup language is used to interact this type shown with request page with server
User interface, the traditional markup language of generally use, such as HTML (Hyper Text Markup Language, hypertext mark
Note language) it is interacted with server, the system resource that this kind of user interface occupies is more.When need it is displayed on the terminals these
When user interface, transmission is downloaded request to server by terminal, and all letters of requested user interface are downloaded from server
Breath, and due to being interacted using HTML, the information downloaded is transmitted in a text form.
When due to being interacted with server using HTML, the information transmitted in the form of text is bulky, and directly
All information of requested user interface are downloaded, therefore network transfer speeds are slower in downloading process, is in addition shown in terminal
When need that complicated analytics engine and graphics rendering engine carry out parsing and figure renders, processing procedure is complex, user's body
It tests poor.
Invention content
The present invention provides a kind of graph text information interface control methods and device based on regarding networking, to solve network transmission
Speed is compared with slow, processing procedure is complex, the poor problem of user experience.
To solve the above-mentioned problems, the invention discloses a kind of graph text information interface control method based on regarding networking,
It is characterized in that, the graph text information interface is the binary file compiled using graph text information markup language, including material information
With control information,
The method includes:
After starting depending on networked terminals, request is downloaded to sending first regarding networked server;
Ask to issue first is downloaded for described first depending on networked server described in receiving regards networking data packet;Described
One depending on networking data packet includes the material information regarding the corresponding whole graph text informations interface of networked terminals;
When needing to show some target graph text information interface, the second download request is sent to the networked server that regards;
Ask to issue second is downloaded for described second depending on networked server described in receiving regards networking data packet;Described
Two depending on the control information that networking data packet includes target graph text information interface;
The material information at target graph text information interface is obtained from the material information at whole graph text informations interface,
The material information and control information for parsing target graph text information interface, the target graph text information is shown according to analysis result
Interface.
Preferably, described first the terminal iidentification that request regards networked terminals including described in is downloaded;Described first regards networking number
Correspondence of the networked server according to pre-set terminal iidentification and material information is regarded to be described according to packet, acquisition is described to regard connection
The corresponding material information of terminal iidentification of network termination, and the number for including first path information that the material information package is generated
According to packet;The first path information regards networking data packet in the transmission path in networking for identifying described first;
Ask to issue first is downloaded for described first depending on networked server described in the reception regards networking data packet
Step includes:
According to the first path information, asked by receiving described downloaded for described first depending on networked server depending on networking
Issue first is asked to regard networking data packet.
Preferably, shown graph text information interface includes at least one control,
It is triggered after having received described first depending on networking data packet depending on networked terminals described in the second download request
Download request;
Alternatively,
Described second downloads request triggers depending on networked terminals after receiving the information for choosing a certain target widget to be described
Download request.
Preferably, when the second download request is receiving described first regarding networking data packet for the networked terminals that regard
When the download request triggered afterwards,
Described second, which downloads request, includes the terminal iidentification for regarding networked terminals;
Described second, which regards networking data packet, believes as the networked server that regards according to pre-set terminal iidentification and control
The correspondence of breath, obtains the corresponding control information of terminal iidentification for regarding networked terminals, and by the control information package
The data packet for including the second routing information generated;Second routing information exists for identifying described second regarding networking data packet
Depending on the transmission path in networking;
The corresponding information that controls of the terminal iidentification for regarding networked terminals is believed as the control at target graph text information interface
Breath;
Ask to issue second is downloaded for described second depending on networked server described in the reception regards networking data packet
Step includes:According to second routing information, downloaded for described second by regarding the networking reception networked server that regards
Issue second is asked to regard networking data packet.
Preferably, when the second download request is receiving the letter for choosing a certain target widget to be described depending on networked terminals
When the download request triggered after breath,
Described second downloads the mark that request includes target graph text information interface;
Described second regards networking data packet as the mark for obtaining target graph text information interface depending on networked server
Corresponding control information, and the data packet for including the second routing information that the control information package is generated;Second tunnel
Diameter information regards networking data packet in the transmission path in networking for identifying described second;
The corresponding control information of mark at target graph text information interface is the control at target graph text information interface
Information;
Ask to issue second is downloaded for described second depending on networked server described in the reception regards networking data packet
Step includes:According to second routing information, downloaded for described second by regarding the networking reception networked server that regards
Issue second is asked to regard networking data packet.
According to another aspect of the present invention, a kind of graph text information interface control device based on regarding networking is also disclosed,
It is characterized in that, the graph text information interface is the binary file compiled using graph text information markup language, including material information
With control information,
Described device includes:
First sending module, for after starting depending on networked terminals, request to be downloaded to sending first regarding networked server;
First receiving module asks issue first to regard for receiving described downloaded for described first depending on networked server
Networking data packet;Described first depending on networking data packet includes the material regarding the corresponding whole graph text informations interface of networked terminals
Information;
Second sending module, for when needing to show some target graph text information interface, networked server to be regarded to described
It sends second and downloads request;
Second receiving module asks issue second to regard for receiving described downloaded for described second depending on networked server
Networking data packet;Described second depending on the control information that networking data packet includes target graph text information interface;
Parsing module, for obtaining target graph text information circle from the material information at whole graph text informations interface
The material information in face parses the material information and control information at target graph text information interface, institute is shown according to analysis result
State target graph text information interface.
Preferably, described first the terminal iidentification that request regards networked terminals including described in is downloaded;Described first regards networking number
Correspondence of the networked server according to pre-set terminal iidentification and material information is regarded to be described according to packet, acquisition is described to regard connection
The corresponding material information of terminal iidentification of network termination, and the number for including first path information that the material information package is generated
According to packet;The first path information regards networking data packet in the transmission path in networking for identifying described first;
First receiving module is specifically used for according to the first path information, and by regarding, networking reception is described to regard connection
Network server downloads ask to issue first for described first and regards networking data packet.
Preferably, shown graph text information interface includes at least one control,
It is triggered after having received described first depending on networking data packet depending on networked terminals described in the second download request
Download request;
Alternatively,
Described second downloads request triggers depending on networked terminals after receiving the information for choosing a certain target widget to be described
Download request.
Preferably, when the second download request is receiving described first regarding networking data packet for the networked terminals that regard
When the download request triggered afterwards,
Described second, which downloads request, includes the terminal iidentification for regarding networked terminals;
Described second, which regards networking data packet, believes as the networked server that regards according to pre-set terminal iidentification and control
The correspondence of breath, obtains the corresponding control information of terminal iidentification for regarding networked terminals, and by the control information package
The data packet for including the second routing information generated;Second routing information exists for identifying described second regarding networking data packet
Depending on the transmission path in networking;
The corresponding information that controls of the terminal iidentification for regarding networked terminals is believed as the control at target graph text information interface
Breath;
Second receiving module is specifically used for according to second routing information, and by regarding, networking reception is described to regard connection
Network server downloads ask to issue second for described second and regards networking data packet.
Preferably, when the second download request is receiving the letter for choosing a certain target widget to be described depending on networked terminals
When the download request triggered after breath,
Described second downloads the mark that request includes target graph text information interface;
Described second regards networking data packet as the mark for obtaining target graph text information interface depending on networked server
Corresponding control information, and the data packet for including the second routing information that the control information package is generated;Second tunnel
Diameter information regards networking data packet in the transmission path in networking for identifying described second;
The corresponding control information of mark at target graph text information interface is the control at target graph text information interface
Information;
Second receiving module is specifically used for according to second routing information, and by regarding, networking reception is described to regard connection
Network server downloads ask to issue second for described second and regards networking data packet.
Compared with prior art, the present invention includes following advantages:
First, the graph text information interface in the present invention is the binary file compiled using graph text information markup language, and
And the relevant information at graph text information interface is divided into material information and control information.After starting depending on networked terminals, first from
The material information regarding the corresponding whole graph text informations interface of networked terminals is downloaded depending on networked server, subsequently is needing to show certain
When a target graph text information interface, the control information for downloading the target graph text information interface from server again is only needed.Therefore,
The information downloaded small volume, network transfer speeds for all information at graph text information interface are very fast;And institute
The information of download is binary file, while improving network transfer speeds, it is thus also avoided that complicated resolving, user's body
It tests preferably.
Secondly, first regard networking data packet and second regard networking data packet in include routing information, the routing information
For identifying the transmission path being transmitted in depending on networking depending on networking data packet, therefore in the transmission process regarding networking data packet
In, it is directly transmitted according to above-mentioned transmission path, without using the agreement (Internet interconnected between current network
Protocol, IP) solution, transmission route is voluntarily negotiated by each data packet, thereby may be ensured that the steady of transmission channel
It is fixed and unobstructed, the delay of multimedia service is avoided, network transfer speeds are further improved.
Description of the drawings
Fig. 1 is a kind of flow chart based on the graph text information interface control method regarding networking of the embodiment of the present invention one;
Fig. 2 is a kind of flow chart based on the graph text information interface control method regarding networking of the embodiment of the present invention two;
Fig. 3 is the schematic diagram at first order graph text information interface;
Fig. 4 is the schematic diagram at the graph text information interface entered after " intelligent medical treatment " control chosen in Fig. 3;
Fig. 5 is the schematic diagram at the graph text information interface entered after " emergency command " control chosen in Fig. 4;
Fig. 6 is the schematic diagram at the graph text information interface entered after " live broadcast " control chosen in Fig. 5;
Fig. 7 is the schematic diagram at the graph text information interface entered after " publication live streaming " control chosen in Fig. 6;
Fig. 8 is a kind of structure diagram based on the graph text information interface control device regarding networking of the embodiment of the present invention three.
Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is the more advanced form of internet, is a real-time network, depending on connection
Net can realize the whole network HD video real-time Transmission that current internet cannot achieve, and push numerous the Internet, applications to high definition and regard
Frequencyization, high definition is face-to-face, will finally realize that the world without distance, realizes that the distance of person to person in global range is a screen
Distance.Real-time high-definition video switching technology is used depending on networking, can be regarded required service, such as high definition in a network platform
Frequency meeting, video monitoring, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, scene are straight
It broadcasts, video on demand (Video On Demand, VOD), TV Mail, individual video video recording (Personal video
Recorder, PVR), Intranet (manage) tens of kinds of videos, voice, picture, the texts such as channel, intelligent video Broadcast Control, information publication by oneself
The services such as word, communication, data are all incorporated into a system platform, realize that high-definition quality video plays by TV or computer.
By the comprehensive multimedia Video service platform regarding the unified video technique framework of networking, traditional network is easily breached
The defect of video can realize thousands of to tens thousand of a HD videos, multimedia and data service point (terminal) on a platform
Unified intelligent management, realize real-time high-definition, the intelligentized video playing of height, video communication and transmission of video, and at
This is no longer high to be difficult to imagine.It can be with existing IP network, LAN, internet, 3G (Third Generation) Moblie (3rd- depending on networking
Generation, 3G) network, telephone network be compatible with entirely, and can with existing database, monitoring system, TV network into
Row docking, is realized fully compatible.
Depending on networked terminals researched and developed based on embedded platform, embedded platform has volume, function, reliability, power consumption etc.
Be strict with, it is therefore desirable to one it is small, take up less resources, efficient tool as regard networked terminals user's operation circle
Face.The markup languages such as current UI generally uses such as HTML are interacted with server, and the system resource that this kind of UI is occupied is more
Be not suitable for the UI for being used as embedded platform, and bulky, complicated analytics engine and graphics rendering engine is needed to be solved
Analysis and figure render, therefore network transfer speeds are slow, and processing procedure is complex.
The present invention in view of the above-mentioned problems, propose a kind of graph text information interface control method and device based on regarding networking,
To improve data transmission bauds, simplify data handling procedure.In the following, being described in detail by following each embodiment.
Embodiment one:
Referring to Fig.1, a kind of graph text information interface control method based on regarding networking of the embodiment of the present invention one is shown
Flow chart, this method can specifically include following steps:
Step 101, after starting depending on networked terminals, request is downloaded to sending first regarding networked server.
Wherein, the networked terminals that regard can be the terminals such as set-top box, regard networked terminals to access regarding networked server
It is required to be provided depending on networked terminals to regard networked server by being communicated with depending on networked server depending on networking after access for terminal
Service.
Graph text information interface in the embodiment of the present invention can be two compiled using graph text information markup language (GTML)
Binary file, and the relevant information at the graph text information interface can be divided into including material information and control information.
After starting depending on networked terminals, the first download request can be sent to regarding networked server by regarding networking first,
The first download request mainly notice is depending on networked server when forward sight networked terminals will download its corresponding graph text information interface
Material information.
Step 102, ask to issue first is downloaded for described first depending on networked server described in receiving regards networking data
Packet.
It is being received after the first download request that networked terminals are sent depending on networked server, is knowing that this regards networked terminals
To be downloaded be its corresponding graph text information interface material information, therefore depending on networked server can be directed to described first under
Load requests to generate first and regards networking data packet, and it is above-mentioned regarding networked terminals by being sent to depending on networking, namely eventually regarding networking
Hold will ask issue first to regard networking data packet depending on networked server described in receiving for first download.
Wherein, described first may include described regarding the corresponding whole graph text information interfaces of networked terminals depending on networking data packet
Material information, certainly, described first depending on can also include in networking data packet some with graph text information interface it is relevant other
Information, the embodiment of the present invention do not limit this.
Step 103, it when needing to show some target graph text information interface, is sent under second to the networked server that regards
Carry request.
When needing to show some target graph text information interface at depending on networked terminals, being somebody's turn to do can be by regarding depending on networked terminals
It networks and sends the second download request to regarding networked server, which mainly notifies to work as forward sight regarding networked server
Networked terminals will download the control information at target graph text information to display interface.
Step 104, ask to issue second is downloaded for described second depending on networked server described in receiving regards networking data
Packet.
It is being received after the second download request that networked terminals are sent depending on networked server, is knowing that this regards networked terminals
To be downloaded be its target graph text information to be shown interface control information, therefore can be directed to depending on networked server described
Second download requests to generate second and regards networking data packet, and it is above-mentioned regarding networked terminals by being sent to depending on networking, namely regards
Networked terminals will receive it is described regarding networked server for described second download that request issues second regarding networking data packet.
Wherein, described second depending on networking data packet may include target graph text information interface control information, certainly,
Described second depending on that can also include some and the relevant other information in graph text information interface, the embodiment of the present invention in networking data packet
This is not limited.
Step 105, the material at target graph text information interface is obtained from the material information at whole graph text information interfaces
Information parses the material information and control information at target graph text information interface, the target figure is shown according to analysis result
Literary information interface.
Depending on networked terminals after receiving the second data packet, you can shown to target graph text information interface.
Regard networking data Packet analyzing to first first, obtain including whole graph text information interfaces material information, and to second
Parsed depending on networking data packet, obtain including target graph text information interface control information;It then can be from whole
The material information at target graph text information interface is obtained in the material information at graph text information interface;Finally parse the target figure
The material information and control information of literary information interface, target graph text information interface can be shown according to analysis result.
For specifically parsing and showing that process, those skilled in the art are feasible using any one according to practical experience
Mode is handled, and the embodiment of the present invention is no longer discussed in detail herein.
Graph text information interface in the embodiment of the present invention is the binary file compiled using graph text information markup language, and
And the relevant information at graph text information interface is divided into material information and control information.After starting depending on networked terminals, first from
The material information regarding the corresponding whole graph text informations interface of networked terminals is downloaded depending on networked server, subsequently is needing to show certain
When a target graph text information interface, the control information for downloading the target graph text information interface from server again is only needed.Therefore,
The information downloaded small volume, network transfer speeds for all information at graph text information interface are very fast;And institute
The information of download is binary file, while improving network transfer speeds, it is thus also avoided that complicated resolving, user's body
It tests preferably.
Embodiment two:
In the following, through the embodiment of the present invention two pairs be situated between in detail based on the graph text information interface control method depending on networking
It continues.
With reference to Fig. 2, a kind of stream based on the graph text information interface control method regarding networking of inventive embodiments two is shown
Cheng Tu, this method can specifically include following steps:
Step 201, networked server is regarded depending on networked terminals access.
In networking, every allows the terminal to network to be required for registering in depending on networked server, the end that do not register
End can not network.Therefore, an endpoint registration information table can be safeguarded in depending on networked server, in the endpoint registration information table
May include mark, the address medium access control (Medium/Media Access Control, MAC) etc. of registered terminals
Information.I.e. the Union of Central Vision of embodiment of the present invention network termination first has to register in depending on networked server, the backsight networking succeeded in registration
This is regarded mark, MAC Address of networked terminals etc. and preserved into endpoint registration information table by server.
In order to ensure can smoothly to be communicated with depending on networked server depending on networked terminals, need that networked terminals will be regarded in advance
Access regards networked server, and after access, two-way communication can be carried out with regarding networked server depending on networked terminals.The present invention's
In a kind of preferred embodiment, networked terminals access can will be regarded in the following manner and regard networked server:
A1 is received depending on networked terminals and is regarded networking ID inquiring instruction depending on what networked server issued.It is described to regard networking identity
Inquiry instruction may include that the MAC Address for regarding networked terminals and the networked server that regards distribute as the networked terminals that regard
Regard networking address.
It, first can be from endpoint registration information table depending on networked server when to be accessed regarding networked server depending on networked terminals
In search the MAC Address for regarding networked terminals, then should be obtained depending on the log-on messages of networked terminals according in endpoint registration information table
One to networked server is regarded to be distributed regarding networked terminals regards networking address.Depending on networked server get above- mentioned information it
Afterwards, you can issued to depending on networked terminals regarding networking ID inquiring instruction, may include the above-mentioned MAC regarding networked terminals in the instruction
Address and regard networked server as this regard networked terminals distribution regard networking address.
A2, whether the networked terminals detection MAC Address that regards is correct, is sent out to the networked server that regards when correct
It send regarding ID inquiring response instruction of networking, it is described to include the mark regarding networked terminals regarding networking ID inquiring response instruction.
Depending on networked terminals receive issued depending on networked server regard networking ID inquiring instruction after, can examine first
Survey this depending on the MAC Address in networking ID inquiring instruction it is whether correct (detect the MAC Address whether with regarding networked terminals
MAC Address is identical).If correct, networking ID inquiring response instruction will be regarded to being sent regarding networked server depending on networked terminals, it should
Depending on may include the mark regarding networked terminals in networking ID inquiring response instruction.If incorrect, do not continue to execute
Follow-up step can be detected the mistake of appearance, or can retransmit depending on networked server and be looked into depending on networking identity
Instruction is ask to regarding networked terminals.
A3, described to receive the networking instruction issued depending on networked server depending on networked terminals, the networking instruction includes
It is described regard networked terminals regard networking address and the networked server that regards as the Subscriber Number regarding networked terminals distribution, institute
Networking instruction is stated to be verified to the mark depending on networked terminals depending on networked server, and sent after being verified.
Depending on networked server receive regarding networking ID inquiring response instruction after, first have to including regard networking eventually
The mark at end, which is verified, (verifies the mark mark regarding networked terminals corresponding with Registry for regarding networked terminals
It is whether identical).After being verified (when i.e. identical), regard networked server can as regarding networked terminals one Subscriber Number of distribution,
Later will to regarding networked terminals send network instruction, the networking instruction in may include it is described regarding networked terminals regard networking address
With the networked server that regards as the Subscriber Number regarding networked terminals distribution.If verification is not over (differing
When), then follow-up step is not continued to execute, the mistake of appearance can be detected, or carries out some other processing.For
The above-mentioned networked server that regards is, regarding the detailed process of networked terminals distributing user number, those skilled in the art is according to practical experience
Relevant treatment is carried out, the embodiment of the present invention is no longer discussed in detail herein.
A4, it is described depending on networked terminals by networking response instruction be sent to it is described regard networked server, it is described to regard networked terminals
It is successfully accessed described regarding networked server.
After receiving the instruction of networking successful respond depending on networked terminals, networking response instruction is returned to regarding networked server, depending on
After networked server receives, it is successfully accessed depending on networked terminals described regarding networked server.
Step 202, after starting depending on networked terminals, request is downloaded to sending first regarding networked server.
Text information services are a kind of services based on graphical interfaces, it is provided such as in a manner of patterned to user terminal
Electronic Program Guide, short message, Email browse and the service work(such as editor, questionnaire survey, Systems Bulletin message, information search
Energy.Graph text information interface refers to the graphical interfaces shown on the subscriber terminal to realize text information services, it is not
Only also include the sightless and relevant control information of human-computer interaction including the visible and relevant information of figure.
In one preferred embodiment of the invention, the graph text information interface is to be compiled using graph text information markup language
Binary file, graph text information markup language is a kind of for describing the language at graph text information interface, it is same it also simultaneously
It include the description to graphical information and control information.The relevant information at the graph text information interface can be divided into including material
Information and control information.
After starting depending on networked terminals, can be downloaded from regarding networked server should regard the corresponding whole of networked terminals first
Therefore the material information at graph text information interface can be sent to regarding networked server under first depending on networked terminals by regarding networking
Request is carried, may include the terminal iidentification regarding networked terminals in the first download request.
Step 203, ask to issue first is downloaded for described first depending on networked server described in receiving regards networking data
Packet;Described first depending on networking data packet includes the material information regarding the corresponding whole graph text informations interface of networked terminals.
In networked server, each element regarding the corresponding whole graph text informations interface of networked terminals can be being pre-saved
Material information, and the correspondence of terminal iidentification and material information is arranged is asked depending on networked server receiving above-mentioned first and download
After asking, you can the terminal iidentification in being asked according to first download and above-mentioned correspondence obtain the terminal iidentification pair
The material information answered, the material information are the material information regarding the corresponding whole graph text informations interface of networked terminals.So
Backsight networked server can by the material information package generate first regard networking data packet, and this first regard networking number
According to first path information is added in packet, the first path information regards networking data packet in networking for identifying described first
Transmission path.
That is, described first to regard networking data packet be the networked server that regards according to pre-set terminal iidentification and element
The correspondence of material information, obtains the corresponding material information of terminal iidentification for regarding networked terminals, and by the material information
It is packaged the data packet for including first path information generated, described first depending on may include that described regard is networked eventually in networking data packet
Hold the material information at corresponding whole graph text informations interface.
Therefore, which can specifically include:Depending on networked terminals according to the first path information, by regarding networking
Ask to issue first is downloaded for described first depending on networked server described in receiving regards networking data packet.It is being connect depending on networked terminals
First is received after networking data packet, you can save it in the storage medium of terminal local.
In one preferred embodiment of the invention, the first path information may include described regarding networked terminals
MAC Address and the MAC Address regarding networked server, wherein the MAC Address for regarding networked server is source address, institute
It states and regards the MAC Address of networked terminals as purpose address.Therefore, which is:The source address pair is received depending on networked terminals
That answers regards networked server according to the source address and destination address, and networking data packet is regarded by sent regarding networking first.
Step 204, it when needing to show some target graph text information interface, is sent under second to the networked server that regards
Carry request.
When needing to show some target graph text information interface on depending on networked terminals, should can be joined by regarding depending on networked terminals
Net sends the second download request to regarding networked server, to be shown depending on networked server when forward sight networked terminals will be downloaded with notice
The control information at the target graph text information interface shown.
In one preferred embodiment of the invention, there are following two situations for the transmission of the second download request.
The first situation:The second download request is receiving described first regarding networking data for the networked terminals that regard
The download request triggered after packet.
This kind of situation refers to, when starting depending on networked terminals and having downloaded described first regarding networking data packet, due to also
The control information at graph text information interface is not downloaded, therefore graph text information interface has not yet been displayed on depending on networked terminals, regards connection at this time
Automatic trigger second is downloaded and is asked by network termination, and the control information of corresponding picture and text information interface is downloaded from regarding networked server.
The second situation:Described second downloads request chooses a certain target widget receiving to be described depending on networked terminals
The download request triggered after information.
This kind of situation refers to that some graph text information interface has currently been had shown that on depending on networked terminals.The present invention is real
It applies in example, depending on may include at least one control in graph text information interface shown on networked terminals, each control can
A corresponding graph text information interface, after some control is chosen in click, you can enter the graph text information interface corresponding to the control,
Therefore, it can trigger second after receiving the information for choosing a certain target widget depending on networked terminals and download request.Wherein, described
The graph text information interface that control is currently located is the upper level interface for clicking the graph text information interface entered after the control, is clicked
The graph text information interface entered after the control is the next stage interface at the graph text information interface that the control is currently located;Or
The graph text information interface that the control is currently located is referred to as the father interface for clicking the graph text information interface entered after the control, point
Hit the sub-interface that the graph text information interface entered after the control is the graph text information interface that the control is currently located.
Control is the graphic element that a function is fairly simple in graph text information interface, according to its graphic feature and function
Be segmented into number of different types, for example, text box (text_box), edit box (editor_box), picture box (image_box),
Combobox (combo_box), check box (check_box), radio box (radio_box), group's frame (group_box) etc..
Control also has hierarchical structure, i.e. a control can include other controls, and commonly referred to as this relationship is set membership, i.e. father is controlled
Part includes child control, for example, it is the control clicked to click the control in the graph text information interface entered after some control
The child control of part.
Control is described by attribute, and attribute is the variable, such as the size of control, position etc. for describing control.Attribute is divided into
For essential attribute and proprietary attribute.Essential attribute refers to unrelated such as position, size, type, ID (mark) number with control type
Equal attributes, proprietary attribute is then related with the concrete type of control, and each type of control has its specific proprietary attribute list.
For example the proprietary attribute of an Input may include:The style of word, the direction of word, the type of data, intercharacter
Away from, line space, text color, character script, lteral data etc., the proprietary attribute of a picturebox control may include:Frame
Style, border width, border color, background colour, picture etc..Most essential attribute is unable to default definition, and big
Partial proprietary attribute can quote one with default definition, the proprietary attribute of default definition from default property list
Group;Same type of control possesses multigroup default property, and the proprietary attribute of a certain control of the type is if it is default definition, then
It can quote one group of default property from default property list.
Event is the means of control and user's interaction, and the event attribute of control belongs to one kind of essential attribute, event attribute
List of thing (event_list) element is shown as in the daughter element list of control, event_list is by multiple events
(event) element is constituted, and each event elements include event type (event_type) and action lists (action_list),
Event_type and customer incident corresponds to, and action_list is to need the action sequence executed after this event occurs.
Action_list is made of multiple action elements, and each action elements represent a specific action, including type of action
(action_type) it is determined by action_type with parameter list (param_list), the structure of param_list.Pass through control
The event attribute of part can access the resource regarding networked terminals.
Step 205, ask to issue second is downloaded for described second depending on networked server described in receiving regards networking data
Packet;Described second depending on the control information that networking data packet includes target graph text information interface.
If described second to download request be the above-mentioned download request triggered in the case of the first, in that case,
The second download request may include the terminal iidentification regarding networked terminals, and target picture and text interface is that this is regarded at this time
First order interface (i.e. first interface) corresponding to networked terminals.It networks each regard in networked server, can be pre-saved
The control information at the corresponding first order interface of terminal, and terminal iidentification is set and controls the correspondence of information, depending on the Internet services
Device is after receiving above-mentioned second download request, you can terminal iidentification and the above-mentioned correspondence in request are downloaded according to described second
Relationship, obtains the corresponding control information of the terminal iidentification, which is the control at target graph text information interface
Information.Then depending on networked server can by the control information package generate second regard networking data packet, and this second
Depending on adding the second routing information in networking data packet, second routing information exists for identifying described second regarding networking data packet
Depending on the transmission path in networking.
That is, described second to regard networking data packet be the networked server that regards according to pre-set terminal iidentification and control
The correspondence of information processed, obtains the corresponding control information of terminal iidentification for regarding networked terminals, and by the control information
It is packaged the data packet for including the second routing information generated, described second depending on may include the target picture and text in networking data packet
The control information of information interface.
In the embodiment of the present invention, each graph text information interface may have including a unique mark (ID), each
Control can also have identifies (ID) there are one unique.If second download asks to trigger under above-mentioned the second situation
Request is downloaded, then in that case, after clicking some control in picture and text this information interface currently shown, you can logical
The event attribute for crossing the control sends the second download request of the mark for including target graph text information interface, at this time the mesh
The interface marked on a map corresponding to as the clicked control in literary interface.
In networked server, each control information regarding the corresponding each interface of networked terminals can be being pre-saved,
And the correspondence of the mark and control information at graph text information interface is set, receiving above-mentioned second download depending on networked server
After request, you can download the mark at the target graph text information interface in request and above-mentioned correspondence according to described second, obtain
It is target graph text information interface to take the corresponding control information of the mark at target graph text information interface, the control information
Control information.Then the control information package can be generated second regarding networking data packet depending on networked server, and
Second depending on adding the second routing information in networking data packet, second routing information regards networking number for identifying described second for this
According to packet in the transmission path in networking.
That is, described second regards networking data packet and obtains target graph text information interface depending on networked server to be described
The data packet for including the second routing information for identifying corresponding control information, and the control information package being generated, described the
Two depending on may include in networking data packet target graph text information interface control information.
Therefore, which can specifically include:Depending on networked terminals according to second routing information, by regarding networking
Ask to issue second is downloaded for described second depending on networked server described in receiving regards networking data packet.
In one preferred embodiment of the invention, second routing information may include described regarding networked terminals
MAC Address and the MAC Address regarding networked server, wherein the MAC Address for regarding networked server is source address, institute
It states and regards the MAC Address of networked terminals as purpose address.Therefore, which is:The source address pair is received depending on networked terminals
That answers regards networked server according to the source address and destination address, and networking data packet is regarded by sent regarding networking second.
In one preferred embodiment of the invention, it can also include mesh that second under above-mentioned the second situation, which downloads request,
Information, the interface type such as interface type of literary information interface of marking on a map may include next stage interface and transparent interface etc..Such as
Fruit interface type be next stage interface, then depending on networked server can be according to pre-set graph text information interface mark and control
The correspondence of information processed obtains the corresponding control information of mark at target graph text information interface;If interface type is
Transparent interface then can give terminal one corresponding transparent page, can parsed at terminal depending on networked server with auto-returned
After show the transparent page.
Step 206, target graph text information interface is obtained from the material information at whole graph text informations interface
Material information parses the material information and control information at target graph text information interface, the mesh is shown according to analysis result
It marks on a map literary information interface.
Described second is being received after networking data packet depending on networked terminals, you can networking is regarded to first locally preserved
Data packet and what is received second parsed depending on networking data packet, obtain respectively including whole graph text information interfaces
The control information of material information and target graph text information interface;Then it is obtained from the material information at whole graph text informations interface
Take the material information at target graph text information interface;Finally parse material information and the control at target graph text information interface
Information can show target graph text information interface according to analysis result.
In one preferred embodiment of the invention, since the material information at graph text information interface may change,
Therefore good in Network status in order to ensure the update of material information, target graph text information circle can also downloaded
While the control information in face, the material information at target graph text information interface is also re-downloaded, to ensure the real-time of material information
Property.
In the following, in conjunction with Fig. 3 to Fig. 7, by a specific example to based on regarding the graph text information Interface Control side of networking
Method is introduced, and is introduced for sending second under above-mentioned the second situation and downloading request in the example.
Fig. 3 is the schematic diagram at first order graph text information interface.May include " intelligent medical treatment " in the interface, " wisdom is taught
Educate ", " wisdom monitoring ", " wisdom traffic ", " intelligence community " and " setting " 6 controls (picture box).Choose " intelligent medical treatment " this
The request command to be sent and data etc. can be filled up to corresponding agreement by a control by the event attribute of the control
In data packet, it is then sent to regarding networked server;The mark of request type and target graph text information interface can be included in request
Know (ID), this request only requests an interface to depending on networked server, and server can be to regarding networking after receiving this request
Terminal issues the control information at the interface, and after being received depending on networked terminals, interface shown in Fig. 4 is entered by resolving
(second level graph text information interface).
Fig. 4 is the schematic diagram at the graph text information interface entered after " intelligent medical treatment " control chosen in Fig. 3.It can in the interface
To include " video monitoring ", " video conference ", " remote medical consultation with specialists ", " emergency command ", " newest notice " and " interactive model " 6 controls
Part (picture box)." emergency command " this control is chosen, can be ordered the request to be sent by the event attribute of the control
Order and data etc. are filled up in corresponding protocol data packet, are then sent to regarding networked server;Can include to ask in request
Type and the mark (ID) at target graph text information interface are asked, this request only requests an interface to depending on networked server, clothes
Business device can be to the control information for issuing the interface depending on networked terminals, after being received depending on networked terminals after receiving this request, warp
It crosses resolving and enters interface shown in fig. 5 (third level graph text information interface).
Fig. 5 is the schematic diagram at the graph text information interface entered after " emergency command " control chosen in Fig. 4.It can in the interface
To include " emergency meeting ", " live broadcast ", " emergency command ", " information publication ", " media monitoring " and " data is reviewed " 6 controls
Part (picture box)." live broadcast " this control is chosen, can be ordered the request to be sent by the event attribute of the control
Order and data etc. are filled up in corresponding protocol data packet, are then sent to regarding networked server;Can include to ask in request
Type and the mark (ID) at target graph text information interface are asked, this request only requests an interface to depending on networked server, clothes
Business device can be to the control information for issuing the interface depending on networked terminals, after being received depending on networked terminals after receiving this request, warp
It crosses resolving and enters interface shown in fig. 6 (fourth stage graph text information interface).
Fig. 6 is the schematic diagram at the graph text information interface entered after " live broadcast " control chosen in Fig. 5.It can in the interface
To include " publication live streaming " and " watching live streaming " 2 controls (picture box)." publication live streaming " this control is chosen, it can be by this
The request command to be sent and data etc. are filled up in corresponding protocol data packet by the event attribute of control, are then sent
To regarding networked server;The mark (ID) of request type and target graph text information interface can be included in request, this request is only
An interface is requested to depending on networked server, server can be to the control for issuing the interface depending on networked terminals after receiving this request
After being received depending on networked terminals, interface shown in Fig. 7 (level V graph text information circle is entered by resolving for information processed
Face).
Fig. 7 is the schematic diagram at the graph text information interface entered after " publication live streaming " control chosen in Fig. 6.It can in the interface
To include " determination " and " return " 2 controls (picture box)." determination " this control is chosen, the event category of the control can be passed through
Property is sent a request to regarding networked server;The mark (ID) of request type and target graph text information interface can be included in request,
Server can issue a corresponding transparent page after receiving this request to depending on networked terminals, and send a response message,
After being received depending on networked terminals, the initialization of audio and video is carried out, and starts to receive and parse through audio, video data, and described
Playing audio-video data in bright interface.
It should be noted that Fig. 3 be only intended to process shown in Fig. 7 for example, in the embodiment of the present invention based on
Graph text information interface control method depending on networking is not limited to a kind of this application scenarios.
In the embodiment of the present invention by using GTML compilers by graph text information interface be compiled as binary file preserve to
Depending in networked server, general matter information is first loaded into local when terminal starts, and when user goes request target picture and text to believe
When ceasing interface, the binary file (the control information at target graph text information interface) for the only very little actually asked, because
The request that this terminal is sent out can meet with a response faster, independent of complicated analytics engine and graphics rendering engine, transmission
Speed and resolution speed are all very fast, greatly improve experience of the user when switching interface, and can also be needed according to user
It asks and customizes different interfaces, further increase user experience.In addition, regarding networking data packet and second first regards networking data packet
In include routing information, therefore in the transmission process regarding networking data packet, be directly transmitted according to above-mentioned routing information
, without the solution using current IP agreement, transmission route is voluntarily negotiated by each data packet, thereby may be ensured that
The stabilization of transmission channel and unobstructed, avoids the delay of multimedia service, further improves network transfer speeds.
For each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of combination of actions, but
Be those skilled in the art should understand that, the present invention is not limited by the described action sequence because according to the present invention, certain
A little steps can be performed in other orders or simultaneously.Secondly, it those skilled in the art should also know that, is retouched in specification
The embodiment stated belongs to preferred embodiment, and involved action and module are not necessarily essential to the invention.
Embodiment three:
With reference to Fig. 8, a kind of graph text information interface control device based on regarding networking of the embodiment of the present invention three is shown
Structure diagram, the graph text information interface are the binary file compiled using graph text information markup language, including material information
With control information.
It is described can be as positioned at the device in networked terminals 80 based on the graph text information interface control device for regarding networking, should
It is communicated with depending on networked server depending on networked terminals 80.Described device may include with lower module:
First sending module 801, for after starting depending on networked terminals, being asked to the first download is sent depending on networked server
It asks;
First receiving module 802 described downloads ask to issue the regarding networked server for receiving for described first
One regards networking data packet;Described first depending on networking data packet includes described regarding the corresponding whole graph text informations interface of networked terminals
Material information;
Second sending module 803, for when needing to show some target graph text information interface, the Internet services to be regarded to described
Device sends second and downloads request;
Second receiving module 804 described downloads ask to issue the regarding networked server for receiving for described second
Two regard networking data packet;Described second depending on the control information that networking data packet includes target graph text information interface;
Parsing module 805, for obtaining the target picture and text letter from the material information at whole graph text informations interface
The material information for ceasing interface parses the material information and control information at target graph text information interface, aobvious according to analysis result
Show target graph text information interface.
In one preferred embodiment of the invention, the first download request may include the end regarding networked terminals
End mark;Described first to regard networking data packet be the networked server that regards according to pre-set terminal iidentification and material information
Correspondence, obtain the corresponding material information of terminal iidentification for regarding networked terminals, and the material information package is given birth to
At the data packet for including first path information;The first path information for identify described first regard networking data packet regarding
Transmission path in networking;First receiving module specifically can be used for according to the first path information, by regarding networking
Ask to issue first is downloaded for described first depending on networked server described in receiving regards networking data packet.
May include at least one control in shown graph text information interface, described second downloads request regards connection to be described
The download request that network termination triggers after having received described first depending on networking data packet;Alternatively, described second downloads request as institute
State the download request triggered after receiving the information for choosing a certain target widget depending on networked terminals.
When the second download request is triggered depending on networked terminals after having received described first depending on networking data packet for described in
Download request when, it is described second download request may include the terminal iidentification regarding networked terminals;Described second regards networking
Data packet is the correspondence regarding networked server according to pre-set terminal iidentification and control information, is regarded described in acquisition
The corresponding control information of terminal iidentification of networked terminals, and what the control information package was generated includes the second routing information
Data packet;Second routing information regards networking data packet in the transmission path in networking for identifying described second;It is described
The corresponding control information of terminal iidentification of networked terminals is regarded as the control information at target graph text information interface;Described second connects
Module is received, specifically can be used for according to second routing information, institute is directed to by regarding the networking reception networked server that regards
It states the second download request issues second and regards networking data packet.
When the second download request is touched depending on networked terminals after receiving the information for choosing a certain target widget for described in
When the download request of hair, described second downloads the mark that request may include target graph text information interface;Described second regards
Networking data packet is the corresponding control information of mark that target graph text information interface is obtained depending on networked server, and will
The data packet for including the second routing information that the control information package generates;Second routing information is for identifying described the
Two regard networking data packet in the transmission path in networking;The corresponding control information of mark at target graph text information interface is
The control information at target graph text information interface;Second receiving module specifically can be used for according to second path
Information, by downloading ask to issue second regarding networking data for described second depending on networked server described in reception depending on networking
Packet.
In the embodiment of the present invention when needing to show some target graph text information interface, only need to download the mesh from server again
It marks on a map the control information of literary information interface.Therefore the information downloaded is for all information at graph text information interface
Small volume, network transfer speeds are very fast;And the information downloaded is binary file, is improving the same of network transfer speeds
When, it is thus also avoided that complicated resolving, better user experience.Networking data packet and second is regarded in networking data packet first
Directly it is transmitted according to routing information in the transmission process regarding networking data packet including routing information, without
Using the solution of IP agreement, transmission route is voluntarily negotiated by each data packet, thereby may be ensured that the stabilization of transmission channel
With it is unobstructed, avoid the delay of multimedia service, further improve network transfer speeds.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description
Place illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
The present invention can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Usually, program module includes routines performing specific tasks or implementing specific abstract data types, program, object, group
Part, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage device.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, commodity or equipment including a series of elements include not only that
A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, commodity or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in process, method, commodity or the equipment including the element.
Above to a kind of graph text information interface control method and device based on regarding networking provided by the present invention, carry out
It is discussed in detail, principle and implementation of the present invention are described for specific case used herein, above example
Illustrate the method and its core concept for being merely used to help understand the present invention;Meanwhile for those of ordinary skill in the art, according to
According to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification
It should not be construed as limiting the invention.