CN102279734A - Automatic data mapping embedded system and method thereof - Google Patents

Automatic data mapping embedded system and method thereof Download PDF

Info

Publication number
CN102279734A
CN102279734A CN2010102004460A CN201010200446A CN102279734A CN 102279734 A CN102279734 A CN 102279734A CN 2010102004460 A CN2010102004460 A CN 2010102004460A CN 201010200446 A CN201010200446 A CN 201010200446A CN 102279734 A CN102279734 A CN 102279734A
Authority
CN
China
Prior art keywords
data
graphic
group
parameter
title
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.)
Pending
Application number
CN2010102004460A
Other languages
Chinese (zh)
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.)
HUANXU ELECTRONICS CO Ltd
Universal Global Scientific Industrial Co Ltd
Original Assignee
HUANXU ELECTRONICS CO Ltd
Universal Global Scientific Industrial 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 HUANXU ELECTRONICS CO Ltd, Universal Global Scientific Industrial Co Ltd filed Critical HUANXU ELECTRONICS CO Ltd
Priority to CN2010102004460A priority Critical patent/CN102279734A/en
Publication of CN102279734A publication Critical patent/CN102279734A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an automatic data mapping method of an embedded system. The automatic data mapping method comprises the steps of: respectively obtaining the names and parameters of a graphic component and an attribute component from a data displaying end; arranging the graphic name and the graphic parameters into a graphic group, arranging the attribute name and the attribute parameters into an attribute group, and arranging the graphic group and the attribute group in sequence to be packaged into a data array; transmitting the data array to a data management end by a data transmission interface; unlocking the data array by the data management end so as to obtain the graphic group and the attribute group; according to the instruction of the attribute parameters in the attribute group, transmitting the graphic parameters in the graphic group to a storage module comprising a data record sheet, wherein the data record sheet records the component name corresponding to the graphic name; and mapping the graphic parameters to the component name corresponding to the graphic name to be used as the storage parameter of the component name. By using the automatic data mapping method disclosed by the invention, the volume of data which is necessary to transmit can be reduced, and various designs of the graphical user interface can be adapted.

Description

The embedded system and the method thereof of automatic Image Data
Technical field
The present invention relates to a kind of embedded system and automatic mapping method thereof of automatic Image Data, particularly relate to front end data shows and Back end data is managed in the embedded system automatic image system and method.
Background technology
The embedded system great majority are used to the function and the service that provide specific, and its operation interface is also more adopts customized graphical user interface (GUI), and just along with difference service or function that embedded system provided, the design of graphical user interface is also different thereupon.For example: mobile phone promptly is to provide Communications service by embedded system, and the configuration of the graphical user interface of the mobile phone of different labels or model then can be along with difference service that embedded system provided and have nothing in common with each other.
Yet just because of the design of graphical user interface can be subjected to the restriction of function that embedded system provides, when change took place for function that system provided or service, operation-interface design originally nearly all can't be continued to use, and must significantly adjust; Add each deviser's design logic difference, often cause the data transmission quantitative change of front and back end how complicated again, influence the demonstration of user interface and data processor or the development process of application system.
Summary of the invention
The technical problem to be solved in the present invention is the defective that can be subjected to the restriction of function that embedded system provides for the design that overcomes graphical user interface in the prior art, a kind of embedded system and the automatic mapping method of data thereof of automatic Image Data are provided, display interface is set up out a kind of intuitive data structure according to the data that operation produced or showed, for the rear end platform of deal with data automatically and corresponding apace meaning and the operational mode that goes out every data, before the minimizing, the transmission quantity of Back end data and complexity, also have the characteristics that highly adapt to different display interfaces and Back end data management platform simultaneously, help to simplify the degree of difficulty of co-ordination between embedded system program developer and user interface developer.
The present invention solves above-mentioned technical matters by following technical proposals: a kind of embedded system of automatic Image Data, its characteristics are, it comprises: a data presentation end, this data presentation end comprises: a graphical user interface, this graphical user interface comprises at least one display page, this display page comprises at least one graphic assembly and at least one attribute assembly, this graphic assembly has a figure title, this attribute assembly has a Property Name, this graphic assembly is provided with a corresponding graphic parameter according to an input command, and this attribute assembly is provided with a corresponding property parameters according to this input command; An and package module, this figure title and corresponding this graphic parameter that this display page comprised are arranged as a figure group, and this Property Name and this property parameters be arranged as an attribute group, and arrange this figure group and this attribute group in regular turn to be encapsulated as a data array; One data management end, this data management end comprises: a decapsulation module receives and unties this data array, to obtain this figure group and this attribute group; One memory module, comprise a data logger, this data logger writes down at least one component Name, this component Name is to this figure title that should display page, this graphic parameter that this memory module is stored in this figure group is a stored parameter, and with this stored parameter video with this figure group in corresponding this component Name of this figure title; One parsing module receives this figure group and this attribute group that this decapsulation module is untied, and resolves this Property Name and this property parameters in this attribute group, with the indication according to this property parameters, stores this graphic parameter into this memory module; And a data transmission interface, receive this data array and send this data management end to.
Preferably, this data logger writes down this component Name with the tree structure corresponding to this display page.
Preferably, this data management end also comprises: a data application module, receive this figure title and this graphic parameter that this decapsulation module is untied, and change the setting of this embedded system according to this graphic parameter, and transmit this graphic parameter to this memory module; Wherein, this parsing module starts this data application module according to this Property Name and this property parameters, to change the setting of this embedded system.
Preferably, this parsing module receives the data presentation order that this data presentation end is transmitted, this data presentation order comprises this figure title of this graphic assembly of the required demonstration of this display page, this parsing module according to this data presentation order from this memory module read with this data presentation order this corresponding stored parameter of this figure title, and this stored parameter that will be read and this figure name group merge and are sent to this data presentation end.
Preferably, this data presentation end also comprises: a parameter configuration module, this stored parameter that this data management end is transmitted according to this figure title correspond to this graphic assembly and as this graphic parameter of this graphic assembly.
Preferably, this data presentation end is arranged at a user device, and this data transmission interface and this data management end are arranged at a servomechanism installation place, and this user's set and this servomechanism installation pass through network linking.
Another technical scheme of the present invention is: a kind of Image Data method of embedded system, this embedded system comprises a data presentation end, a data transmission interface and a data management end, its characteristics are, this method comprises: receive an input command in this data presentation termination, with the figure title that obtains the included at least one graphic assembly of a display page and a Property Name of at least one attribute assembly, and this graphic assembly and this attribute assembly graphic parameter and the property parameters that produce respectively; This figure title and this graphic parameter that this display page comprised are arranged as a figure group, and this Property Name and this property parameters are arranged as an attribute group, and arrange this figure group and this attribute group in regular turn to be encapsulated as a data array; This data transmission interface transmits this data array to this data management end; This this data array of data management end decapsulation is to obtain this figure group and this attribute group; According to this Property Name in this attribute group and this property parameters, this graphic parameter in this figure group is sent to a memory module, this memory module comprises a data logger, this data logger writes down at least one component Name, and this component Name is to this figure title that should display page; And with this graphic parameter video with this figure group in corresponding this component Name of this figure title, with a stored parameter as this component Name.
Preferably, according to this Property Name and this property parameters, this graphic parameter is sent in the step of this memory module, comprises: this data management end starts a data application module according to this Property Name and this property parameters of this attribute group; This data application module is set this embedded system according to this graphic parameter of this figure group; And will be sent to this memory module in order to this graphic parameter of setting this embedded system.
Preferably, when this display page comprised a plurality of this graphic assembly, this data logger write down this component Name and this stored parameter with a tree structure, and this tree structure is corresponding to the social strata relation of those graphic assemblies at this display page.
Preferably, this graphic parameter video this component Name with step as this stored parameter after, also comprise: this data presentation end sends a data presentation order and by this data transmission interface output, this data presentation order comprises this required figure title of this display page of demonstration; This data management termination is received this data presentation order, and in this memory module, search with this data presentation order in corresponding this component Name of this figure title; Read this stored parameter of this component Name; This stored parameter and this figure title that are read out are arranged as this figure group, and send back this data presentation end; This data presentation termination is received this figure group, and according to this figure title this stored parameter mapping is arrived this graphic assembly, with this graphic parameter as this graphic assembly; And this display page of demonstration.
Another technical scheme of the present invention is: a kind of Image Data method of embedded system, this embedded system is equipped on a servomechanism installation, its characteristics are that this method comprises: receive a data array, this data array comprises in regular turn at least one figure group of arranging and at least one attribute group; This data array of decapsulation is to obtain this figure group and this attribute group, and this figure group comprises a figure title and a graphic parameter, and this attribute group comprises a Property Name and a property parameters; This graphic parameter in this figure group is sent to a data logger, and this data logger comprises a plurality of component Names, corresponding this figure title of each component Name; And this graphic parameter of reflection to and corresponding this component Name of this figure title, with as a stored parameter of this component Name and be recorded in this data logger.
Preferably, before this graphic parameter of transmission arrives the step of this data logger, also comprise:, read this graphic parameter to change the setting of this embedded system according to this Property Name and this property parameters.
Preferably, this data logger writes down this component Name with a tree structure.
Preferably, this component Name is identical with the title of corresponding this figure title.
Preferably, at this graphic parameter of reflection and after being recorded in step in this data logger, also comprise: receive a data presentation order, this data presentation order comprises this figure title of the graphic assembly that a display page is included; Corresponding this component Name of this figure title in this data logger in search and this data presentation order; Read this stored parameter of this component Name; And this stored parameter that will be read out and this figure title be arranged as this figure group, and be sent to this display page.
Positive progressive effect of the present invention is: after the present invention all arranges various data and encapsulate according to a predetermined data structure, do not need the transmission interface of middle-end to carry out the work of any analysis or explanation in transmission course, it only need all be transferred to data management with packaged data and bring in identification and processing.The invention has the advantages that: can reduce necessary data quantity transmitted, and the design that can adapt to various graphical user interface.When the user interface of front end increases graphic assembly or attribute assembly and rear end program and makes amendment with newly-increased exercisable function, the data management end only needs to obtain the title of newly-increased assembly so that data logger to be set, can use the structure of identical data array, freely carry out data and link up, solve the puzzlement that past user interface design and data processor design pin down mutually with front end.
Description of drawings
Fig. 1 is the block scheme of first embodiment of the embedded system of a kind of automatic Image Data provided by the invention;
Fig. 2 is the block scheme of second embodiment of the embedded system of a kind of automatic Image Data provided by the invention;
Fig. 3 writes the process flow diagram of embodiment for the data of the Image Data method of a kind of embedded system provided by the invention;
Fig. 4 is the process flow diagram of data read embodiment of the Image Data method of a kind of embedded system provided by the invention;
Fig. 5 is the synoptic diagram of the display page embodiment of graphical user interface provided by the invention; And
Fig. 6 is the synoptic diagram of the embodiment of data logger provided by the invention.
[description of reference numerals]
10 embedded systems
12 user's sets
14 networks
16 servomechanism installations
20 data presentation ends
200 graphical user interface
2002 graphic assemblies
2004 attribute assemblies
202 package modules
204 parameter configuration module
30 data transmission interfaces
40 data management ends
400 decapsulation module
402 parsing modules
404 data application modules
406 memory modules
4060 data loggers
4062 storage unit
S501-S515
S601-S617
70 display pages
700,702,704 graphic assemblies
706,708,710 attribute assemblies
Embodiment
Fig. 1 is the block scheme of first embodiment of the embedded system of a kind of automatic Image Data provided by the invention, and described embedded system 10 is applicable to the various electronic installation that specific function and service are provided, as device for mobile communication or network bridging equipment etc.Embedded system 10 is divided into the data presentation end 20 inspecting and operate for the user, carries out the data management end 40 of data processing according to user's input or system directive, and the data transmission interface 30 of Data transmission between two parties.
Data presentation end 20 is operated with graphical user interface 200 for the user, the service that is provided according to embedded system 10, graphical user interface 200 can comprise that a plurality of display pages are in order to show different functional items, and comprise one or more graphic assemblies 2002 in each display page for user's operation, for example: literal input field (text field) or check box (checkbox); Also comprise simultaneously one or more attribute assemblies 2004 relevant with display page, Page Name for example, usefulness so that data management end 40 according to the attribute deal with data of display page.Each graphic assembly 2002 on display page all has a figure title, and each attribute assembly 2004 also all has a Property Name.
Data of on graphical user interface 200, being imported according to the user or the project of choosing, after user's input finishes and produces input command (for example: click the enter key on the display page), each graphic assembly 2002 can be provided with corresponding graphic parameter, and attribute assembly 2004 can be provided with corresponding property parameters.After embedded system 10 receives input command, the package module 202 of data presentation end 20 can be with in each graphic assembly 2002 that display page comprised, the figure title and the graphic parameter that belong to same graphic assembly 2002 are arranged as a figure group, and with in each attribute assembly 2004, the Property Name and the property parameters that belong to same attribute assembly 2004 are arranged as an attribute group.In order to send the data in each figure group and each attribute group to data management end 40, package module 202 produces a data array further, comprises each figure group and the attribute group of separating one by one and arranging with a plurality of separating elements in the described data array.After package module 202 produced data array, data transmission interface 30 can directly be sent to data management end 40 with whole data array, and did not need to handle in transport process any title or parameter.
Data management end 40 comprises a decapsulation module 400, a parsing module 402, at least one data application module 404 and a memory module 406.Decapsulation module 400 is in order to untie the data array of being transmitted from data transmission interface 30.Decapsulation module 400 is according to the data structure of data array, win out the figure group and the attribute group that are arranged between a plurality of separating elements, and arrange the mode of title and parameter according to package module 202, parse figure title and its graphic parameter in each figure group, and the Property Name in each attribute group and its property parameters.The property parameters that parsing module 402 is untied according to decapsulation module 400 is judged the work that should carry out, and for example: memory module 406 is directly stored graphic parameter in the indication according to property parameters; Or, start the data application module 404 that specific function or service are provided according to the indication of property parameters.Data application module 404 can change the setting of embedded system 10 with graphic parameter, for example change the network address of network bridging device or in device for mobile communication, increase contact data etc. newly, and after setting finishes, the parameter that is necessary to be write down is sent to memory module 406 deposits.
Memory module 406 comprises the data logger 4060 of an acquiescence, a plurality of component Names have wherein been write down, and each display page of corresponding data presentation end 20 and the social strata relation between the graphic assembly, it arranges and writes down described component Name with a tree structure.The figure title of each shown graphic assembly 2002 corresponds to a component Name of corresponding stratum in the data logger 4060 respectively on the display page; In other words, according to the special pattern title that stratum found of display page on the graphical user interface 200 and graphic assembly 2002 thereof, all can correspond to a specific components title in the identical stratum of tree structure of data logger 4060.In the present embodiment, corresponding component Name is identical with the title of figure title.When parsing module 402 or data application module 404 transmit graphic parameter to memory module 406 storages, graphic parameter is promptly according to the formed data hierarchy of giving tacit consent to of tree structure, by being corresponded to a specific component Name, and the stored parameter that is stored as this component Name is with to be read.Described specific components title is identical with the figure title of this graphic parameter.That is the figure title of arbitrary graphic assembly 2002 of graphical user interface 20 and graphic parameter all can search identical component Name and stored parameter thereof according to the stratum of tree structure after being sent to memory module 406 storages in data logger 4060.
When data presentation end 20 need the update displayed page or according to user's instruction on graphical user interface 20 during output data, graphical user interface 200 elder generations are according to the data of required output on the demonstration page or leaf that will be read, the data presentation order of sending reading of data to data management end 40.Display page with form web page is an example, the source document of display page (source file) has write down the title of each graphic assembly 2002 and attribute assembly 2004, graphical user interface 200 can therefrom be won out the figure title that needs output data (being graphic parameter) to give user's graphic assembly 2002, and one by one the figure title is separated with separating element, indicated by a specific Hypertext Markup Language label (HTML tag) again, passed to the parsing module 402 of data management end 40 by data transmission interface 30.
Parsing module 402 can be judged as the data presentation order with it according to label, and taking-up figure title wherein, search in the data logger 4060 of memory module 406 again with the data presentation order in the corresponding component Name of figure title, and the stored parameter of those component Names of will videoing takes out, read the storage unit 4062 of memory module 406 earlier, the stored parameter of component Name of then will videoing respectively again is arranged in corresponding figure title, form group one by one, after separating with separating element equally, form one group of character string returned data display end 20.
After the parameter configuration module 204 of data presentation end 20 receives character string, can be according to the figure title and the stored parameter that comprise in each group, directly stored parameter is videoed and the pairing graphic assembly 2002 of its figure title with group again, and with its graphic parameter as graphic assembly 2002.Thus, each graphic assembly 2002 on the display page can present display frame and the relevant image information watched for the user according to by after the graphic parameter initialization of videoing on graphical user interface 200.
Because the storage organization and the title of data are all corresponding mutually with the design data structure of data presentation end 20 in the data logger 4060 of data management end 40, therefore can from data logger 4060, obtain the parameters needed data very efficiently, and the data volume that the data volume that need to transmit also needs to transmit in the way than prior art is lacked, and so just can alleviate the computational burden of embedded system 10 and reduction system development personnel's design difficulty.
Fig. 2 is the block scheme of second embodiment of the embedded system of a kind of automatic Image Data provided by the invention, and different with first embodiment is, data presentation end 20 and data transmission interface 30 and data management end 40 are positioned at the different ends of network 14.The data presentation end 20 of second embodiment is arranged at a user's set 12 places, and data transmission interface 30 and data management end 40 then are arranged at a servomechanism installation 16 places.
Graphical user interface 200 in the user's set 12 is the graphical user interface (WEBGUI) of form web page, and it is inspected display page by web browser and receives input command or send the data presentation order.When data presentation end 20 receives input command, package module 202 will be sent to the graphic assembly 2002 of data management end 40 and the title and the parameter of attribute assembly 2004 is arranged as group respectively, be encapsulated as data array again, and add header (header) so that be transferred to the data transmission interface 30 of servomechanism installation 16 by network 14 to data array, by data transmission interface 30 data array is sent to data management end 40 again.
Data transmission interface 30 can (Common Gateway Interface, CGI), its request (request) calling order that is used for originally transmitting according to client be to obtain dynamic data for CGI (Common gateway interface).Data transmission interface of the prior art must carry out preliminary analysis and processing to the packet data from client in advance before data are sent to the kernel program of server, need to call out which program to obtain dynamic data so that learn; Therefore, if the design change of data presentation end 20, then data transmission interface 30 also must cooperate and adjusts, so that the correct meaning of unscrambling data display end 20 data that transmit.And in the present embodiment, 30 of data transmission interfaces need not the data array is carried out any analysis or processing, it only needs the header of the data array of boil down to package is removed, can directly send complete data array to data management end 40, carry out all data analyses and processing by data management end 40.
The decapsulation module 400 of data management end 40 and parsing module 402 can be the part of resident program (daemon) in the servomechanism installation 16 actually, be respectively applied for to handle and untie data array to obtain title and parameter in groups, and utilize Property Name and property parameters to judge the operation that to carry out, and servomechanism installation 16 is set, and the necessary graphic parameter of storage according to figure title and graphic parameter.
When the needs that upgrade because of user's operation or display page when the data presentation end 20 of user's set 12 produce the data presentation order, transmit the character string that has specific Hypertext Markup Language label by network, the figure title that needs the graphic assembly 2002 of display parameter content is submitted to the parsing module 402 of data management end 40, module 402 to be resolved is removed label, and after obtaining corresponding stored parameter according to the figure title, be arranged in again and comprise the corresponding title and the group of parameter, and a plurality of groups are combined into a continuous character string, be compressed into package by data transmission interface 30 at last, and transfer back to the parameter configuration module 204 of user's set 12 via network 14, for example: Java program language script (JavaScript), one by one according to the figure title in each group, with video graphic assembly 2002 under this figure title of corresponding stored parameter, as the graphic parameter of this graphic assembly 2002, make graphical user interface 200 present display page according to the graphic parameter that data management end 40 is provided.
Other of second embodiment and the similar part of first embodiment please refer to the explanation of first embodiment, no longer repeat herein.
Fig. 3 is the process flow diagram that the data of the Image Data method of a kind of embedded system provided by the present invention write embodiment.Reference block scheme shown in Figure 1 is so that understand simultaneously.When the data presentation end 20 of embedded system 10 receives an input command according to user's operation, each assembly in the display page of graphical user interface 200 has all produced corresponding parameters (S501), comprises the graphic parameter of graphic assembly 2002 and the property parameters that attribute assembly 2004 produces.Package module 202 is arranged as figure group with the graphic parameter of each graphic assembly 2002 and the figure title of this graphic assembly 2002 respectively, and the Property Name of property parameters and this attribute assembly 2004 is arranged as attribute group (S503), again each figure group and attribute group are separated with separating element and encapsulation after, form a data array (S505).Then, data presentation end 20 is sent to data management end 40 (S507) with data array by data transmission interface 30, and data transmission interface 30 can be CGI (Common gateway interface).
After data management end 40 receives data array, untie data array (S509), for example remove separating element, to win out each figure group and attribute group by decapsulation module 400.Then, parsing module 402 is according to Property Name in the attribute group and property parameters, call out and carry out specific data application module 404 (S511), so that data application module 404 is according to the setting (S513) of the change of the graphic parameter in figure group embedded system 10.Again the graphic parameter in the figure group is stored in the memory module 406 at last, and according to the tree structure in the data logger 4060 of figure title and memory module 406, with each graphic parameter corresponding component Name (S515) of videoing, with pending data display end 20 after read.
Fig. 4 then is the process flow diagram of data read embodiment of the Image Data method of a kind of embedded system provided by the present invention.When the memory module 406 of data management end 40 has been recorded in every graphic parameter in the data logger 4060 with tree structure after, if graphical user interface 200 will show one page display page, or during the information on the update displayed page, earlier included graphic assembly 2002 and attribute assembly 2004 according to the display page that will present, send data presentation order (S601), the figure title that has comprised the graphic assembly 2002 of the graphic parameter content that must demonstrate in the data presentation order, and the Property Name of the attribute assembly 2004 relevant with the display page operation, utilize label remittance whole those figure title and Property Names, be sent to data management end 40 (S603) via data transmission interface 30 as a Hypertext Markup Language.
After data management end 40 receives the data presentation order,, the label in the data presentation order is removed, to obtain each figure title and Property Name (S605) by parsing module 402 resolution data display commands.Then promptly according to the figure title in the data logger 4060 of memory module 406, search and the corresponding component Name of figure title, and win out the stored parameter (S607) that is mapped across the component Name that is searched, those stored parameters promptly are regarded as the graphic parameter corresponding to the graphic assembly 2002 of this figure title, and temporary in the storage unit 4062 of memory module 406; Then, in order to obtain the non-property parameters that is stored in the memory module 406, parsing module 402 is further according to the Property Name that receives, via specific service to read out relevant property parameters (S609), also temporary simultaneously in storage unit 4062, so that video this Property Name.
After the parameter of the assembly under every title included in the data presentation order all is read storage unit 4062, resolution unit 402 further is arranged as group respectively with corresponding figure title and graphic parameter (promptly from the stored parameter in the data logger 4060) and Property Name and property parameters, to form a character string (S611), transmit character string (S613) in the display page of data presentation end 20 again, for example directly in the source document with the display page of each group's embedded web page form; Again by parameter configuration module 204, as JavaScript, according to the title in the group, one by one corresponding parameter is configured to graphic assembly 2002 and attribute assembly 2004 (S615) on the display page, so that behind the supplemental characteristic initial setting display page that display page transmits according to data management end 40, on graphical user interface 200, this display page is presented (S617).The parameter that reads from data management end 40 not necessarily is presented on the display page all, for example: the presentation mode that the property parameters of attribute assembly 2004 is used to confirm the character of each display page or is used to set display page, the user will can't see the concrete manifestation of attribute assembly 2004 or property parameters on graphical user interface 200.
In order to be easier to understand described Image Data method, below to utilize Fig. 5 to lift a concrete example and be illustrated to Fig. 6.
Fig. 5 is a display page 70 that is used for supplying user's input data and sends input command.Display page 70 comprises the visible graphic assembly 700,702 and 704 of user, and the attribute assembly 706,708 and 710 relevant with display page 70 attributes.Wherein, the figure title 700N of graphic assembly 700 is statip, and graphic parameter 700V is " 192.168.2.2 " of user by the input equipment input; The figure title 702N of graphic assembly 702 is DNS0, and graphic parameter 702V is " 192.168.1.1 " of user's input; The figure title 704N of graphic assembly 704 is DNS1, and graphic parameter 704V then is " 192.168.1.2 ".Shown " address ", " habitual name server " reaches " other name servers " only for helping the user to understand the sign (label) of those graphic assemblies on the display page 70.The Property Name 706N of attribute assembly 706 is that page, property parameters 706V are " ipset.html ", has indicated the Page Name of display page 70; The Property Name 708N of attribute assembly 708 is prefix, and property parameters 708V is " cfg_aprt_WAN "; The Property Name 710N of attribute assembly 710 is flag, and property parameters is then selected to set or cancellation according to the user, and may be apply_save or cancel.
Wherein, attribute assembly 706 and 708 can't be presented on the display page 70, but by write down the attribute of this page as the mode that writes the webpage source document (source file) of display page 70.
Finish input on the display page 70 of user at the data presentation end, and click the setting button with after sending input command, display page 70 included graphic assembly and attribute assemblies produce aforesaid parameter respectively; Package module (as batch processing) is promptly won the title and the parameter of each graphic assembly 700 to 704 one by one, and the title and the parameter of attribute assembly 706 to 710, and is figure group according to the structure of " title=attribute " with the title and the parameter configuration of same graphic assembly, and be attribute group with the title and the parameter configuration of same attribute assembly, and be that separating element is separated one by one with special symbol as " | " again between each group, thereby produce a following column data array:
|page=ipset.html|prefix=cfg_abrt_WAN|flag=apply_save|statip=192.168.2.2|DNS0=192.168.1.1|DNS1=192.168.1.2|
Packaged data array directly is sent to data management end 40 via data transmission interface 30.Decapsulation module 400 disassembled data array comprise according to separating element data being disassembled being a plurality of groups, packet header of removing separating element or deleted data array.
Parsing module 402 is then judged according to the property parameters 710V of attribute assembly 710 and is needed to use graphic parameter that (apply) receive this moment and adjust embedded system 10 and stored, call relevant script simultaneously, with this example can for the relevant script of wide area network (WAN), and read graphic parameter 700V, 702V and the 704V of graphic assembly 700,702 and 704, change the network address of embedded system, habitual and other domain name server address according to this.Record in addition in the last data logger that again graphic parameter 700V, 702V and 704V is sent to memory module.
For graphic parameter 700V, 702V and 704V are videoed and figure title 700N, 702N and the corresponding component Name of 704N, parsing module 402 also utilizes the property parameters 708V of attribute assembly 708, pick out the prefix of those graphic parameters in the tree structure of data logger 4060 (referring to Fig. 6), and respectively graphic parameter 700V, 702V and 704V are videoed under the cfg_aprt_WAN catalogue of data logger 4060 according to this prefix, become the stored parameter that has each component Name of same names with graphic assembly.
When display page need show according to property parameters or graphic parameter, then organize the title of required attribute of display page or graphic assembly by the Hypertext Markup Language label, as:<tag get_data|statip|DNS0|prefix|/tag 〉, after transferring to the parsing module analysis, hunt out stored parameter that the same components title videoed graphic parameter in the data logger 4060 as graphic assembly, or carry out specific data application module to obtain the property parameters that is not stored in the data logger, respectively those parameter assignments are given graph of a correspondence title or Property Name to form group again, and behind the embedding display page, by java script according to figure in the group or Property Name, with video each assembly of display page of each graphic parameter and property parameters, so that the display page video data.
According to the disclosed technical characterictic of the various embodiments described above, the present invention discloses a kind of data logger that utilizes the tree structure correspondence, and the data mapping means that automatically data of the display end of embedded system and management end contrasted mutually.Compared with prior art, characteristic of the present invention is: after various data are all arranged and encapsulated according to a predetermined data structure, do not need the transmission interface of middle-end to carry out the work of any analysis or explanation in transmission course, it only need all be transferred to data management with packaged data and bring in identification and processing.The invention has the advantages that: can reduce necessary data quantity transmitted, and the design that can adapt to various graphical user interface.When the user interface of front end increases graphic assembly or attribute assembly and rear end program and makes amendment with newly-increased exercisable function, the data management end only needs to obtain the title of newly-increased assembly so that data logger to be set, can use the structure of identical data array, freely carry out data and link up, solve the puzzlement that past user interface design and data processor design pin down mutually with front end.
Though more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited by appended claims.Those skilled in the art can make numerous variations or modification to these embodiments under the prerequisite that does not deviate from principle of the present invention and essence, but these changes and modification all fall into protection scope of the present invention.

Claims (15)

1. the embedded system of automatic Image Data is characterized in that, it comprises:
One data presentation end, this data presentation end comprises:
One graphical user interface, this graphical user interface comprises at least one display page, this display page comprises at least one graphic assembly and at least one attribute assembly, this graphic assembly has a figure title, this attribute assembly has a Property Name, this graphic assembly is provided with a corresponding graphic parameter according to an input command, and this attribute assembly is provided with a corresponding property parameters according to this input command; And
One package module, this figure title and corresponding this graphic parameter that this display page comprised are arranged as a figure group, and this Property Name and this property parameters be arranged as an attribute group, and arrange this figure group and this attribute group in regular turn to be encapsulated as a data array; One data management end, this data management end comprises:
One decapsulation module receives and unties this data array, to obtain this figure group and this attribute group;
One memory module, comprise a data logger, this data logger writes down at least one component Name, this component Name is to this figure title that should display page, this graphic parameter that this memory module is stored in this figure group is a stored parameter, and with this stored parameter video with this figure group in corresponding this component Name of this figure title;
One parsing module receives this figure group and this attribute group that this decapsulation module is untied, and resolves this Property Name and this property parameters in this attribute group, with the indication according to this property parameters, stores this graphic parameter into this memory module; And
One data transmission interface receives this data array and sends this data management end to.
2. the embedded system of automatic Image Data as claimed in claim 1 is characterized in that, this data logger writes down this component Name with the tree structure corresponding to this display page.
3. the embedded system of automatic Image Data as claimed in claim 1 is characterized in that, this data management end also comprises:
One data application module receives this figure title and this graphic parameter that this decapsulation module is untied, changes the setting of this embedded system according to this graphic parameter, and transmits this graphic parameter to this memory module;
Wherein, this parsing module starts this data application module according to this Property Name and this property parameters, to change the setting of this embedded system.
4. the embedded system of automatic Image Data as claimed in claim 1, it is characterized in that, this parsing module receives the data presentation order that this data presentation end is transmitted, this data presentation order comprises this figure title of this graphic assembly of the required demonstration of this display page, this parsing module according to this data presentation order from this memory module read with this data presentation order this corresponding stored parameter of this figure title, and this stored parameter that will be read and this figure name group merge and are sent to this data presentation end.
5. the embedded system of automatic Image Data as claimed in claim 4 is characterized in that, this data presentation end also comprises:
One parameter configuration module, this stored parameter that this data management end is transmitted according to this figure title correspond to this graphic assembly and as this graphic parameter of this graphic assembly.
6. the embedded system of automatic Image Data as claimed in claim 1, it is characterized in that, this data presentation end is arranged at a user device, and this data transmission interface and this data management end are arranged at a servomechanism installation place, and this user's set and this servomechanism installation pass through network linking.
7. the Image Data method of an embedded system, this embedded system comprises a data presentation end, a data transmission interface and a data management end, it is characterized in that this method comprises:
Receive an input command in this data presentation termination, with the figure title that obtains the included at least one graphic assembly of a display page and a Property Name of at least one attribute assembly, and this graphic assembly and this attribute assembly graphic parameter and the property parameters that produce respectively;
This figure title and this graphic parameter that this display page comprised are arranged as a figure group, and this Property Name and this property parameters are arranged as an attribute group, and arrange this figure group and this attribute group in regular turn to be encapsulated as a data array;
This data transmission interface transmits this data array to this data management end;
This this data array of data management end decapsulation is to obtain this figure group and this attribute group;
According to this Property Name in this attribute group and this property parameters, this graphic parameter in this figure group is sent to a memory module, this memory module comprises a data logger, this data logger writes down at least one component Name, and this component Name is to this figure title that should display page; And
With this graphic parameter video with this figure group in corresponding this component Name of this figure title, with a stored parameter as this component Name.
8. the Image Data method of embedded system as claimed in claim 7 is characterized in that, according to this Property Name and this property parameters, this graphic parameter is sent in the step of this memory module, comprising:
This data management end starts a data application module according to this Property Name and this property parameters of this attribute group;
This data application module is set this embedded system according to this graphic parameter of this figure group; And
To be sent to this memory module in order to this graphic parameter of setting this embedded system.
9. the Image Data method of embedded system as claimed in claim 7, it is characterized in that, when this display page comprises a plurality of this graphic assembly, this data logger writes down this component Name and this stored parameter with a tree structure, and this tree structure is corresponding to the social strata relation of those graphic assemblies at this display page.
10. the Image Data method of embedded system as claimed in claim 7 is characterized in that, this graphic parameter video this component Name with step as this stored parameter after, also comprise:
This data presentation end sends a data presentation order and by this data transmission interface output, this data presentation order comprises this required figure title of this display page of demonstration;
This data management termination is received this data presentation order, and in this memory module, search with this data presentation order in corresponding this component Name of this figure title;
Read this stored parameter of this component Name;
This stored parameter and this figure title that are read out are arranged as this figure group, and send back this data presentation end;
This data presentation termination is received this figure group, and according to this figure title this stored parameter mapping is arrived this graphic assembly, with this graphic parameter as this graphic assembly; And
Show this display page.
11. the Image Data method of an embedded system, this embedded system is equipped on a servomechanism installation, it is characterized in that, this method comprises:
Receive a data array, this data array comprises in regular turn at least one figure group of arranging and at least one attribute group;
This data array of decapsulation is to obtain this figure group and this attribute group, and this figure group comprises a figure title and a graphic parameter, and this attribute group comprises a Property Name and a property parameters;
This graphic parameter in this figure group is sent to a data logger, and this data logger comprises a plurality of component Names, corresponding this figure title of each component Name; And
Video this graphic parameter to and corresponding this component Name of this figure title, with as a stored parameter of this component Name and be recorded in this data logger.
12. the Image Data method of embedded system as claimed in claim 11 is characterized in that, before this graphic parameter of transmission arrives the step of this data logger, also comprises:
According to this Property Name and this property parameters, read this graphic parameter to change the setting of this embedded system.
13. the Image Data method of embedded system as claimed in claim 11 is characterized in that this data logger writes down this component Name with a tree structure.
14. the Image Data method of embedded system as claimed in claim 13 is characterized in that, this component Name is identical with the title of corresponding this figure title.
15. the Image Data method of embedded system as claimed in claim 11 is characterized in that, at this graphic parameter of reflection and after being recorded in step in this data logger, also comprises:
Receive a data presentation order, this data presentation order comprises this figure title of the graphic assembly that a display page is included;
Corresponding this component Name of this figure title in this data logger in search and this data presentation order;
Read this stored parameter of this component Name; And
This stored parameter and this figure title that are read out are arranged as this figure group, and are sent to this display page.
CN2010102004460A 2010-06-12 2010-06-12 Automatic data mapping embedded system and method thereof Pending CN102279734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102004460A CN102279734A (en) 2010-06-12 2010-06-12 Automatic data mapping embedded system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102004460A CN102279734A (en) 2010-06-12 2010-06-12 Automatic data mapping embedded system and method thereof

Publications (1)

Publication Number Publication Date
CN102279734A true CN102279734A (en) 2011-12-14

Family

ID=45105205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102004460A Pending CN102279734A (en) 2010-06-12 2010-06-12 Automatic data mapping embedded system and method thereof

Country Status (1)

Country Link
CN (1) CN102279734A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142836A (en) * 2013-05-10 2014-11-12 鸿富锦精密工业(深圳)有限公司 Data processing system and method
CN111882482A (en) * 2020-07-10 2020-11-03 长沙景嘉微电子股份有限公司 Method, device and equipment for reading and writing graph block data and storage medium
CN114650224A (en) * 2020-12-21 2022-06-21 北京金山云网络技术有限公司 Node function configuration method and device, electronic equipment and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN88100793A (en) * 1987-03-30 1988-10-19 国际商用机器公司 Method for quickly opening magnetic disc file identified by path name
US20050066127A1 (en) * 2001-10-22 2005-03-24 Anuja Korgaonkar Determining maximum drive capacity for RAID-5 allocation in a virtualized storage pool

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN88100793A (en) * 1987-03-30 1988-10-19 国际商用机器公司 Method for quickly opening magnetic disc file identified by path name
US20050066127A1 (en) * 2001-10-22 2005-03-24 Anuja Korgaonkar Determining maximum drive capacity for RAID-5 allocation in a virtualized storage pool

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王建军等: "以太网协议数据封装动态仿真的设计与实现", 《计算机技术与发展》, vol. 20, no. 6, 10 June 2010 (2010-06-10) *
覃国蓉: "《基于B/S架构的软件项目实训》", 30 September 2004, article "基于B/S架构的软件项目", pages: 36,136,147-149,165-167 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142836A (en) * 2013-05-10 2014-11-12 鸿富锦精密工业(深圳)有限公司 Data processing system and method
CN111882482A (en) * 2020-07-10 2020-11-03 长沙景嘉微电子股份有限公司 Method, device and equipment for reading and writing graph block data and storage medium
WO2022007207A1 (en) * 2020-07-10 2022-01-13 长沙景嘉微电子股份有限公司 Tiled graphic data read/write method and apparatus, and device, and storage medium
CN114650224A (en) * 2020-12-21 2022-06-21 北京金山云网络技术有限公司 Node function configuration method and device, electronic equipment and system
CN114650224B (en) * 2020-12-21 2023-06-30 北京金山云网络技术有限公司 Configuration method, device, electronic equipment and system of node function

Similar Documents

Publication Publication Date Title
US9201631B2 (en) Method and system for providing content
CN107808010A (en) A kind of pop-up page generation method, device, browser and storage medium
CN105512190A (en) Interface jumping method and device
CN102098327A (en) Method and device for downloading online video sniffer
CN101697139A (en) Method, device and registry for remote procedure call
CN105718313A (en) Application operation method and device
CN103176834B (en) A kind of method of invoke extensions interface and device
CN103177115B (en) A kind of method and apparatus extracting Webpage link
CN102609264A (en) Method and device for generating calling codes by calling application programming interfaces
CN107038519B (en) Method and system for bidirectional data synchronization between systems
CN103873918A (en) Picture processing method, device and terminal
US10757193B2 (en) Increased interoperability between web-based applications and hardware functions
CN105068806A (en) Browser cache control method and system
CN102096582A (en) Off-line gadget integration development environment
CA2846581A1 (en) Data infrastructure for providing interconnectivity between platforms, devices and operating systems
CN107301137A (en) RSET interface realizing methods and device and electronic equipment and computer-readable recording medium
CN105094868A (en) Software upgrading method, server and terminal
CN105808587A (en) Method and system for embedding information into webpage and gateway device
CN106126197A (en) Make the method and device of the mobile terminal application page and PC end application page synchronization
CN110059278A (en) Web page configuration method, server and computer readable storage medium
CN102662838A (en) Method and system for debugging Flash in browser
CN101876998B (en) Method and system for editing data
CN102279734A (en) Automatic data mapping embedded system and method thereof
CN105786476A (en) Data processing method and system based on mobile client and server
AU2019222873B2 (en) Method and system for providing content

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20111214