CN101257501B - Data leading-in method, system as well as Web server - Google Patents

Data leading-in method, system as well as Web server Download PDF

Info

Publication number
CN101257501B
CN101257501B CN2008101038922A CN200810103892A CN101257501B CN 101257501 B CN101257501 B CN 101257501B CN 2008101038922 A CN2008101038922 A CN 2008101038922A CN 200810103892 A CN200810103892 A CN 200810103892A CN 101257501 B CN101257501 B CN 101257501B
Authority
CN
China
Prior art keywords
metadata
data
field
web
web server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2008101038922A
Other languages
Chinese (zh)
Other versions
CN101257501A (en
Inventor
王冬青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Big Data Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2008101038922A priority Critical patent/CN101257501B/en
Publication of CN101257501A publication Critical patent/CN101257501A/en
Application granted granted Critical
Publication of CN101257501B publication Critical patent/CN101257501B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a data inducting method, a system and a web server. The method application environment includes a web server on which a plurality of metadata are defined on the web server, and metadata is composed of at least a field. When data are inducted to the web server, the web server acquires the origin system address where the users input the inducted data and the types of the metadata and transmits to the web server. The web server fins the field contained in the metadata and displays the field to the users through the web server. The web server acquires the input field by the users and the associating relation of the position in the data to be inducted and transmits to the web server, then the web server inducts the data in the origin system to the home according to the associating relation. The invention realizes theinduct of the data, and when the data to be inducted has field expansion or type expansion, only the metadata is expanded.

Description

Data lead-in method, system and Web server
Technical field
The present invention relates to technical field of data transmission, be specifically related to data lead-in method, system and Web server.
Background technology
Web is based on browser/server (B/S, Browser/Server) application program of structure.The user imports the unified resource identifier (URL of Web server in Web browser, UniformResource Locator), Web browser sends HTML (Hypertext Markup Language) (HTTP to Web server, Hyper Text Transfer Protocol) request, after Web server is received this request, take out the data that the user needs from local data base, these data are generated HTML (HTML, HypertextMarkup Language) page, connect by transmission control protocol (TCP, Transfer ControlProtocol) then and send to Web browser.
Data on the Web server all import from other system usually, and with the process of the system importing Web server of data from Web server outside as shown in Figure 1, its concrete steps are as follows:
Step 101:Web server is preserved the field that data comprised that will import in advance, and in advance each field is adapted for the Web assembly, and the importing of the Web page composing form of pre-defined each Web assembly and data action.
For example: if the data that will import are user data, the field that data comprise can be user name, address, phone.The Web assembly can be: field+input frame, Web page composing form can be: each " field+input frame " is presented in the delegation respectively, that is: " user name "+input frame is presented at first row, and " address "+input frame is presented at second row, and " phone "+input frame is presented at the third line.
Step 102: the user need import Web server from origin system with data, and the user opens the importing interface on the Web browser, and in the address that imports input source system on the interface, Web browser sends to Web server with the origin system address by the HTTP request.
Step 103:Web server reception sources system address will be presented on the Web interface by Web browser according to predefined Web page composing form by the adaptive Web assembly of each field.
Step 104: the user imports the position of each field in the data that will import that will import data on the Web interface, the incidence relation of Web browser position in the data that will import with each field and this field sends to Web server.
For example: if user data first classify user name as, second classifies station address as, the 3rd when classifying subscriber phone as, the user can " user name " input frame afterwards on the Web interface in input " first is listed as "; Equally, input " secondary series " in " address " input frame afterwards, input in " phone " input frame afterwards " the 3rd row ".
Step 105:Web server imports data local according to described incidence relation and predefined importing action from origin system.
The shortcoming of prior art is: because the field that data comprised that will import pre-defines and can't expand, therefore the described importing process of Fig. 1 can only realize comprising the importing of the data of this predefined field, if data have been expanded new field, perhaps data have comprised the field different with pre-defined field, then can't adopt the described process of Fig. 1 to realize importing.
Summary of the invention
The invention provides data lead-in method, system and Web server, to realize the importing of several data.
Technical scheme of the present invention is achieved in that
A kind of data lead-in method comprises Web server in this method applied environment, has defined metadata of all categories on the described Web server, and the metadata of each classification is made up of at least one field, and this method comprises:
Web browser obtain user input the data place that will import origin system address and affiliated metadata categories and send to Web server, Web server is searched the field that the metadata of described classification comprises, and each field is shown to the user by Web browser;
Web browser obtains the incidence relation of each field of user input and the position of this field in the data that will import and sends to Web server, Web server according to this incidence relation with the data importing in the origin system.
Described method further comprises: the discovery metadata has been expanded new field, then increases this newer field in the metadata of this on Web server;
And/or the classification of metadata increases, then the metadata of this increase of definition on Web server.
Described Web server is shown to the user with each field by Web browser and comprises: the Web analyzing component device on the Web server is adapted for the Web assembly with each field, and each Web assembly is carried out the Web page set type, and is presented on the Web interface by Web browser.
Described method further comprises: the importing action of pre-defined metadata correspondence of all categories;
Described Web server comprises the data importing in the origin system to this locality: Web server determines to import action according to the classification of metadata, imports action and described incidence relation with the data importing in the origin system according to this.
A kind of data importing system comprises: Web browser and Web server, wherein:
Web browser, the origin system address that obtains the data place that will import of user's input reaches affiliated metadata categories and sends to Web server; Obtain the incidence relation of each field of metadata of user input and the position of this field in the data that will import and send to Web server;
Web server, pre-defined metadata of all categories, and the metadata of each classification is made up of at least one field; Search the field that the metadata of the described classification that Web browser sends comprises, each field is shown to the user by Web browser; The incidence relation of sending according to Web browser is with the data importing in the origin system.
A kind of Web server comprises:
The meta data definition unit, pre-defined metadata of all categories, the metadata of each classification is made up of at least one field;
Import the unit,, obtain the field that such other metadata comprises from the meta data definition unit, each field is shown to the user by Web browser according to the classification under the data that will import; The incidence relation of sending according to Web browser is with the data importing in the origin system.
Described meta data definition unit further is increased to the newer field of metadata expansion in this metadata, increases the metadata of the new classification of expansion.
Described importing unit comprises: Web analyzing component device, data map assembler and importing process controller, wherein:
Web analyzing component device, according to the classification under the data that will import, obtain the field that such other metadata comprises from the meta data definition unit, each field is adapted for the Web assembly, and the Web assembly is carried out the Web page set type, then each Web assembly is presented on the Web interface by Web browser;
The data map assembler from the origin system reading of data, sends to importing process controller with each field of data, metadata and the incidence relation of the position of this field in the data that will import according to the origin system address;
The importing process controller, according to described incidence relation with described data importing.
Described Web server further comprises: import the action definition unit, preserve metadata categories and the corresponding relation that imports action;
And described importing unit further obtains the importing action according to metadata categories from importing the action definition unit, imports action with data importing according to this.
Described importing action definition unit further increases the importing action corresponding with the newer field of metadata expansion, the importing action that increase is corresponding with the metadata of the new classification of expansion.
Compared with prior art, among the present invention, the pre-defined metadata of all categories of Web server, the metadata of each classification is made up of at least one field, when will be when Web server imports data, Web browser obtain user input the data place that will import origin system address and affiliated metadata categories and send to Web server, Web server is searched the field that the metadata of described classification comprises, and each field is shown to the user by Web browser; Web browser obtains the incidence relation of each field of user input and the position of this field in the data that will import and sends to Web server, Web server according to this incidence relation with the data importing in the origin system to local.The present invention has realized the importing to several data, and, when the field extension of the data that will import or classification expansion, as long as extended metadata; In addition, the present invention does not limit the storage mode of the data that will import, and can be extensive use of.
Description of drawings
Fig. 1 is the flow chart of existing realization data importing;
The flow chart of the realization data importing that Fig. 2 provides for the embodiment of the invention;
The composition diagram of the data importing system that Fig. 3 provides for the embodiment of the invention.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The flow chart of the realization data importing that Fig. 2 provides for the embodiment of the invention, as shown in Figure 2, its concrete steps are as follows:
Step 201:Web server is according to the classification that imports data, and the importing of the metadata of pre-defined each classification and the metadata of each classification is moved.
Import data and be divided into user data, device data etc., accordingly, the classification of metadata can be user metadata, device metadata etc.
The metadata of each classification is made up of at least one field, and each field can be character, password, date, optional value, expanding value etc., and each field has a unique ID, and each field has a name, and this name is used to be presented at the Web interface.
Each field of the metadata of same classification is identical, and each field of different classes of metadata is incomplete same.
For example: user metadata can be made up of following field: first field: user name; Second field: address; The 3rd field: phone.
Device metadata can be made up of following field: first field: device name; Second field: device mac address; The 3rd field: IP address of equipment.
Can the maximum length of each field of metadata be limited.
Step 202: the user need import data the purpose system of Web server side from origin system, the user opens the importing interface on the Web browser, in the address that imports input source system on the interface, and the classification of input importing data metadata corresponding, Web browser sends to Web server with origin system address and metadata categories by the HTTP request.
Step 203:Web server reception sources system address and metadata categories, Web analyzing component device on the Web server is searched the field that metadata comprised of described classification, each field is adapted for the Web assembly, and each Web assembly is carried out the Web page set type, and be presented on the Web interface by Web browser.
For example:, after the adaptive and Web page of Web analyzing component device is set type, be presented on the Web interface and be: " user name "+input frame, " address "+input frame, " phone "+input frame for user metadata.
Step 204: the user is in the position of each field in the data that will import of input metadata on the Web interface, and Web browser sends to Web server with each field of metadata and the incidence relation of the position of this field in the data that will import.
For example: when the data that will import are that first of user data and data are classified user name as, second classifies station address as, and the 3rd when classifying subscriber phone as, the user can " user name " input frame afterwards on the Web interface in input " first row "; Equally, input " secondary series " in " address " input frame afterwards, input in " phone " input frame afterwards " the 3rd row ".
Data map assembler on the step 205:Web server according to the origin system address from the origin system reading of data, the storage that reads in buffer memory, is sent to importing process controller on the Web server with buffer address, metadata categories and described incidence relation.
Step 206: the importing process controller determine to import action according to metadata categories, imports action and described buffer address, incidence relation according to this, imports data local from buffer memory.
After the importing data had been expanded newer field, the importing action that increases this newer field and this field correspondence in Web server in such other metadata that only needs define got final product; After the importing data had been expanded new classification, the importing action that only needs to increase such other metadata and such other metadata correspondence in Web server got final product.
The composition diagram of the data importing system that Fig. 3 provides for the embodiment of the invention, as shown in Figure 3, it mainly comprises: Web browser 31 and Web server 32, wherein:
Web browser 31: with the origin system address at the data place that will import of user input and under metadata categories send to Web server 32; Each field of the metadata that the user is determined and the incidence relation of the position of this field in the data that will import send to Web server 32.
Web server 32: according to the pre-defined metadata of all categories of classification that imports data, and the metadata of each classification is made up of at least one field; Search the field that the metadata of the described classification that Web browser 31 sends comprises, each field is shown to the user by Web browser 31; The incidence relation of sending according to Web browser 31 arrives the data importing in the origin system local.
As shown in Figure 3, Web server 32 comprises: meta data definition unit 321, importing action definition unit 322, Web analyzing component device 323, data map assembler 324, importing process controller 325, wherein:
Meta data definition unit 321: according to the pre-defined metadata of all categories of classification that imports data, and the metadata of each classification is made up of at least one field.
Import action definition unit 322: preserve metadata categories and the corresponding relation that imports action.
Web analyzing component device 323: receive the metadata categories that Web browser 31 is sent, obtain the field that such other metadata comprises from meta data definition unit 321, each field is adapted for the Web assembly, and the Web assembly is carried out the Web page set type, then each Web assembly is presented on the Web interface by WEB browser 31.
Data map assembler 324: receive the origin system address that Web browser 31 is sent, according to the origin system address from the origin system reading of data, storage in buffer memory, is sent to importing process controller 325 with each field of buffer address, metadata categories, metadata and the incidence relation of the position of this field in the data that will import.
Importing process controller 325: receive buffer address, metadata categories, each field of metadata and the incidence relation of the position of this field in the data that will import that data map assembler 324 is sent, obtain the importing action according to metadata categories from importing action definition unit 322, import action, buffer address and described incidence relation according to this, with the purpose system of data from buffer memory importing Web server.
Web analyzing component device 323, data map assembler 324, importing process controller 325 can be referred to as the importing unit.
After the importing data have been expanded newer field, increase this newer field in such other metadata that only needs to preserve in meta data definition unit 321, the importing action that increases this field correspondence in importing action definition unit 322 in the importing of this metadata categories correspondence of the preserving action simultaneously gets final product; After the importing data have been expanded new classification, only need in importing action definition unit 322, to increase such other metadata, the while increases this metadata categories correspondence in importing action definition unit 322 importing action gets final product.
The above only is process of the present invention and method embodiment, in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is not equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. data lead-in method, it is characterized in that, comprise Web server in this method applied environment, on the described Web server according to the classification that imports data pre-defined metadata of all categories, the metadata of each classification is made up of at least one field, and this method comprises:
Web browser obtain user input the data place that will import origin system address and affiliated metadata categories and send to Web server, Web server is searched the field that the metadata of described classification comprises, each field is shown to the user by Web browser, for each field the position in the data that will import of user in input metadata on the Web interface;
Web browser obtains the incidence relation of each field of user input and the position of this field in the data that will import and sends to Web server, Web server according to this incidence relation with the data importing in the origin system.
2. the method for claim 1 is characterized in that, described method further comprises: the discovery metadata has been expanded new field, then increases this newer field in the metadata of this on Web server;
And/or the classification of metadata increases, then the metadata of this increase of definition on Web server.
3. method as claimed in claim 1 or 2, it is characterized in that, described Web server is shown to the user with each field by Web browser and comprises: the Web analyzing component device on the Web server is adapted for the Web assembly with each field, and each Web assembly is carried out the Web page set type, and be presented on the Web interface by Web browser.
4. method as claimed in claim 1 or 2 is characterized in that, described method further comprises: the importing action of pre-defined metadata correspondence of all categories;
Described Web server comprises the data importing in the origin system to this locality: Web server determines to import action according to the classification of metadata, imports action and described incidence relation with the data importing in the origin system according to this.
5. a data importing system is characterized in that, comprising: Web browser and Web server, wherein:
Web browser, the origin system address that obtains the data place that will import of user's input reaches affiliated metadata categories and sends to Web server; Obtain the incidence relation of each field of metadata of user input and the position of this field in the data that will import and send to Web server;
Web server, according to the pre-defined metadata of all categories of classification that imports data, and the metadata of each classification is made up of at least one field; Search the field that the metadata of the described classification that Web browser sends comprises, each field is shown to the user by Web browser, for the position of each field in the data that will import of user in input metadata on the Web interface; The incidence relation of sending according to Web browser is with the data importing in the origin system.
6. a Web server is characterized in that, comprising:
The meta data definition unit, according to the pre-defined metadata of all categories of classification that imports data, the metadata of each classification is made up of at least one field;
Import the unit, according to the classification under the data that will import, obtain the field that such other metadata comprises from the meta data definition unit, each field is shown to the user by Web browser, for each field the position in the data that will import of user in input metadata on the Web interface; The incidence relation of sending according to Web browser is with the data importing in the origin system.
7. Web server as claimed in claim 6 is characterized in that, described meta data definition unit further is increased to the newer field of metadata expansion in this metadata, increases the metadata of the new classification of expansion.
8. as claim 6 or 7 described Web servers, it is characterized in that described importing unit comprises: Web analyzing component device, data map assembler and importing process controller, wherein:
Web analyzing component device, according to the classification under the data that will import, obtain the field that such other metadata comprises from the meta data definition unit, each field is adapted for the Web assembly, and the Web assembly is carried out the Web page set type, then each Web assembly is presented on the Web interface by Web browser;
The data map assembler from the origin system reading of data, sends to importing process controller with each field of data, metadata and the incidence relation of the position of this field in the data that will import according to the origin system address;
The importing process controller, according to described incidence relation with described data importing.
9. as claim 6 or 7 described Web servers, it is characterized in that described Web server further comprises: import the action definition unit, preserve metadata categories and the corresponding relation that imports action;
And described importing unit further obtains the importing action according to metadata categories from importing the action definition unit, imports action with data importing according to this.
10. Web server as claimed in claim 9 is characterized in that, described importing action definition unit further increases the importing action corresponding with the newer field of metadata expansion, the importing action that increase is corresponding with the metadata of the new classification of expansion.
CN2008101038922A 2008-04-11 2008-04-11 Data leading-in method, system as well as Web server Expired - Fee Related CN101257501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101038922A CN101257501B (en) 2008-04-11 2008-04-11 Data leading-in method, system as well as Web server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101038922A CN101257501B (en) 2008-04-11 2008-04-11 Data leading-in method, system as well as Web server

Publications (2)

Publication Number Publication Date
CN101257501A CN101257501A (en) 2008-09-03
CN101257501B true CN101257501B (en) 2011-07-27

Family

ID=39891970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101038922A Expired - Fee Related CN101257501B (en) 2008-04-11 2008-04-11 Data leading-in method, system as well as Web server

Country Status (1)

Country Link
CN (1) CN101257501B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541845A (en) * 2010-12-07 2012-07-04 金蝶软件(中国)有限公司 Method and device for acquiring network identity number automatically and information processing system
CN103593443A (en) * 2013-11-18 2014-02-19 南京新模式软件集成有限公司 Method for electronic file metadata expansion
CN105100203B (en) * 2015-06-12 2019-03-15 北京京东尚科信息技术有限公司 Show the method and terminal of monitoring data
CN105868284B (en) * 2016-03-23 2018-05-22 江苏中威科技软件系统有限公司 The dispositions method and system of a kind of enterprise directory

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1404590A (en) * 2000-12-22 2003-03-19 皇家菲利浦电子有限公司 Meta data category and a method of building an information portal
US6665659B1 (en) * 2000-02-01 2003-12-16 James D. Logan Methods and apparatus for distributing and using metadata via the internet
CN1512399A (en) * 2002-12-27 2004-07-14 鸿富锦精密工业(深圳)有限公司 Information report forming system and method
CN1625740A (en) * 2002-07-23 2005-06-08 三星电子株式会社 Index structure of metadata, method for providing indices of metadata, and metadata searching method and apparatus using the indices of metadata
CN1862543A (en) * 2006-06-21 2006-11-15 千乡万才科技(中国)有限公司 Method for leading-in and deriving data in browser/servicer system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665659B1 (en) * 2000-02-01 2003-12-16 James D. Logan Methods and apparatus for distributing and using metadata via the internet
CN1404590A (en) * 2000-12-22 2003-03-19 皇家菲利浦电子有限公司 Meta data category and a method of building an information portal
CN1625740A (en) * 2002-07-23 2005-06-08 三星电子株式会社 Index structure of metadata, method for providing indices of metadata, and metadata searching method and apparatus using the indices of metadata
CN1512399A (en) * 2002-12-27 2004-07-14 鸿富锦精密工业(深圳)有限公司 Information report forming system and method
CN1862543A (en) * 2006-06-21 2006-11-15 千乡万才科技(中国)有限公司 Method for leading-in and deriving data in browser/servicer system

Also Published As

Publication number Publication date
CN101257501A (en) 2008-09-03

Similar Documents

Publication Publication Date Title
CN103220371B (en) Content adaptation method and system
CN101355565B (en) Method and server for providing page service for various browsers
KR20160030381A (en) Method, device and router for access webpage
CN102098234A (en) Method and device for providing target content based on hyperlink in instant communication message
CN101178717A (en) Method for adaptation processing web page and web page adaptation device
CN101656985B (en) Method for managing url resource cache and device thereof
US20130282737A1 (en) Method and apparatus for intelligently deploying an application, method and apparatus for processing application access, system for intelligently deploying and scheduling an application
CN103123630A (en) Method, system, mobile terminal and server for obtaining webpage contents
WO2013163843A1 (en) Graphical bookmark realization method, device and terminal for embedded browser
CN102487403B (en) Method and device for executing JS (JavaScript) by server side
CN103347089A (en) Method and device for separating and accelerating dynamic resources and static resources of website
CN103347092A (en) Method and device for recognizing cacheable file
WO2020206660A1 (en) Network resource request method and apparatus, electronic device and storage medium
CN104978358A (en) Method for displaying web page fragment on desktop and system for capturing web page fragment to desktop for displaying
CN104038510A (en) IOS system transparent agent realization method and system
CN103731493A (en) Page transmission method, device and system
CN102033942A (en) Mobile communication equipment terminal-based tag display management method and system
CN105704246A (en) Network distribution device and method based on SDN architecture
CN100536472C (en) A method, module and server to control access to network resource
CN103139252B (en) The implementation method that a kind of network proxy cache is accelerated and device thereof
CN101257501B (en) Data leading-in method, system as well as Web server
CN102523296B (en) Method, device and system for optimizing wireless webpage browsing resources
CN110933193B (en) Domain name resolution method and device, electronic equipment and computer readable storage medium
CN101008946A (en) Search method of Chinese mobile communication information and device thereof
CN110955855B (en) Information interception method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180720

Address after: 450000 Grand View B18 building, 166 Du Ying Street, hi tech Industrial Development Zone, Zhengzhou, Henan

Patentee after: Xinhua three major data Technology Co., Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: Xinhua three Technology Co., Ltd.

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

Granted publication date: 20110727

Termination date: 20200411