CN104866311B - A kind of method of front end page cross-system crawl data - Google Patents

A kind of method of front end page cross-system crawl data Download PDF

Info

Publication number
CN104866311B
CN104866311B CN201510266867.6A CN201510266867A CN104866311B CN 104866311 B CN104866311 B CN 104866311B CN 201510266867 A CN201510266867 A CN 201510266867A CN 104866311 B CN104866311 B CN 104866311B
Authority
CN
China
Prior art keywords
data
page
demand
window
jsp
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.)
Active
Application number
CN201510266867.6A
Other languages
Chinese (zh)
Other versions
CN104866311A (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.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud Technology 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 G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201510266867.6A priority Critical patent/CN104866311B/en
Publication of CN104866311A publication Critical patent/CN104866311A/en
Application granted granted Critical
Publication of CN104866311B publication Critical patent/CN104866311B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to software technology field, and in particular to a kind of method of front end page cross-system crawl data.The present invention is beneficial to the crawl that three independent jsp files complete data, and one is window page, and it includes two iframe labels;Second is jsp data grabber plug-in units, is deployed in data source systems, is submitted to demand data program for capturing after target pages data and uniformly receives the page;3rd is that demand data program uniformly receives the page, takes the parameter assignment of submission to the demand data page.The inventive method can not only capture data with cross-domain cross-system, and invasive all without code to data demand system and data source systems, dispose process very simple, be very beneficial for the usage scenario that this page data exchanges;It can be used for cross-domain cross-system crawl data.

Description

A kind of method of front end page cross-system crawl data
Technical field
The present invention relates to software technology field, and in particular to a kind of method of front end page cross-system crawl data.
Background technology
Generally there are more set software systems in present large enterprise, although more set systems can also integrate single-sign-on;But journey Sequence function is mutually isolated, and data are also isolated.Want to quote another system in the front page layout of a system Page data it is cumbersome.Such as OA systems want obtain HR some personnel's attribute of system when, if not having to page number According to exchange, bottom code must be write and go request interface to obtain data, the change to two systems is all quite big.There is code to invade Enter, and if what two systems or different vendor provided, then this collection achievement less benefit is managed, and thus everybody can only To be done by way of redundant data, so result in substantial amounts of repeated work with consume unnecessary software development into This.
The content of the invention
Present invention solves the technical problem that it is to provide a kind of method of front end page cross-system crawl data;Lift data The efficiency of crawl.
The present invention solve above-mentioned technical problem scheme be:
The crawl of data is completed beneficial to three independent jsp files, is comprised the following steps that:
The first step, three jsp files are write, one is window page, and it includes two iframe labels;Second is Jsp data grabber plug-in units, are deployed in data source systems, and demand data program system is submitted to after target pages data for capturing One receives the page;3rd is that demand data program uniformly receives the page, takes the parameter assignment of submission to the demand data page;
Second step, it is put into jsp data grabber plug-in units in integrated data source systems are needed;
3rd step, the method for neglecting window is ejected using the page, window page is called, by the target data of data source systems A page iframe page presentation wherein, data are selected for user;
When 4th step, data are submitted, window page another iframe requests are deployed in the jsp data of data source systems Plug-in unit is captured, demand data program is then submitted the data to and uniformly receives the page;
5th step, demand data program uniformly receive the page and mapped according to the parameter of transmission, and the data passed over are assigned It is worth and gives the demand data page;
Window is called to destroy function after the completion of 6th step, data exchange.
The beneficial effects of the invention are as follows:It can be used as public plug-in unit, to needing integrated two systems there is no code It is invasive, reduce the degree of coupling between system and system.Need to quote another on the page especially suitable for a system The scene of system page data, integrated result is convenient and swift, is a kind of very superior front end page cross-system crawl data Method.
Brief description of the drawings
The present invention is further described below in conjunction with the accompanying drawings:
Fig. 1 is the operational flowchart of the method
Embodiment
As shown in Figure 1, lower mask body tells about the concrete operations of this method by taking the exploitation of system page data grabber as an example.
There is following operation in another system page data procedures is captured:
The first step:Three jsp files are write, one is window page, and it includes two iframe labels, and second is Jsp data grabber plug-in units, are deployed in data source systems, and demand data program system is submitted to after target pages data for capturing One receives the page, and the 3rd is that demand data program uniformly receives the page, takes the parameter assignment of submission to the demand data page.
Second step:Jsp data grabber plug-in units are put into integrated data source systems are needed.
3rd step:The method of window is neglected using page ejection, window page is called, by the target data of data source systems A page iframe page presentation wherein, data are selected for user.
4th step:When data are submitted, window page another iframe requests are deployed in the jsp data of data source systems Plug-in unit is captured, demand data program is then submitted the data to and uniformly receives the page.
5th step:Demand data program uniformly receives the page and mapped according to the parameter of transmission, and the data passed over are assigned It is worth and gives the demand data page.
6th step:Window is called to destroy function after the completion of data exchange.

Claims (1)

  1. A kind of 1. method of front end page cross-system crawl data, it is characterised in that:Methods described comprises the following steps that:
    The first step, three jsp files are write, one is window page, and it includes two iframe labels;Second is jsp numbers According to crawl plug-in unit, data source systems are deployed in, demand data program is submitted to for capturing after target pages data and uniformly connects Receive the page;3rd is that demand data program uniformly receives the page, takes the parameter assignment of submission to the demand data page;
    Second step, it is put into jsp data grabber plug-in units in integrated data source systems are needed;
    3rd step, the method for neglecting window is ejected using the page, window page is called, by the target pages of data source systems at it In an iframe page presentation, select data for user;
    When 4th step, data are submitted, window page another iframe requests are deployed in the jsp data grabbers of data source systems Plug-in unit, then submit the data to demand data program and uniformly receive the page;
    5th step, demand data program uniformly receive the page and mapped according to the parameter of transmission, and the data passed over are assigned to The demand data page;
    Window is called to destroy function after the completion of 6th step, data exchange.
CN201510266867.6A 2015-05-22 2015-05-22 A kind of method of front end page cross-system crawl data Active CN104866311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510266867.6A CN104866311B (en) 2015-05-22 2015-05-22 A kind of method of front end page cross-system crawl data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510266867.6A CN104866311B (en) 2015-05-22 2015-05-22 A kind of method of front end page cross-system crawl data

Publications (2)

Publication Number Publication Date
CN104866311A CN104866311A (en) 2015-08-26
CN104866311B true CN104866311B (en) 2018-01-30

Family

ID=53912162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510266867.6A Active CN104866311B (en) 2015-05-22 2015-05-22 A kind of method of front end page cross-system crawl data

Country Status (1)

Country Link
CN (1) CN104866311B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388897A (en) * 2007-09-12 2009-03-18 福建富士通信息软件有限公司 Enterprise portal webpage integration system
CN101527640A (en) * 2009-03-03 2009-09-09 周佺喜 Method for carrying out real-time fee deduction during instant messaging
CN103092936A (en) * 2013-01-08 2013-05-08 华北电力大学(保定) Real-time information acquisition method of dynamic page of Internet of Things

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7533144B2 (en) * 2004-05-14 2009-05-12 Hisham Kassab Method of providing a web page with additional content inserted in an intermediate network entity (INE) platform
CN101802860A (en) * 2007-07-09 2010-08-11 维蒂公开股份有限公司 Mobile device marketing and advertising platforms, methods, and systems
CN102033881A (en) * 2009-09-30 2011-04-27 国际商业机器公司 Method and system for recognizing advertisement in web page

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388897A (en) * 2007-09-12 2009-03-18 福建富士通信息软件有限公司 Enterprise portal webpage integration system
CN101527640A (en) * 2009-03-03 2009-09-09 周佺喜 Method for carrying out real-time fee deduction during instant messaging
CN103092936A (en) * 2013-01-08 2013-05-08 华北电力大学(保定) Real-time information acquisition method of dynamic page of Internet of Things

Also Published As

Publication number Publication date
CN104866311A (en) 2015-08-26

Similar Documents

Publication Publication Date Title
CN106201170B (en) A kind of the footmark processing method and terminal of application icon
CN104021082B (en) A kind of remote debugging method for browser and device
CN106484421A (en) A kind of method and system quickly generating api interface
CN105653508A (en) Document template management method, document calling method and related device
CN107330858A (en) Picture processing method and device, electronic equipment and storage medium
CN101661484A (en) Query method and query system
CN102801565B (en) Method for carrying out centralized management on service configuration in network management system
CN106843871B (en) A kind of design system and design method of domain model frame
CN105760289A (en) Debugging method and device of embedded system
CN103916374A (en) Service gated launch method and device
CN108664665A (en) Data format method for transformation, device, equipment and readable storage medium storing program for executing
CN104239352A (en) Method and system for loading webpages
CN105824926A (en) Method for dynamically selecting and calling external system interface
CN104424224A (en) File index storage method and device
CN104463264A (en) Dynamic generation and display system for two-dimensional code and control method of dynamic generation and display system
CN104866311B (en) A kind of method of front end page cross-system crawl data
JPWO2015155846A1 (en) A system in which the storage device executes database hash join processing
CN108874392A (en) User's guideline interface generation method and device
CN107480242A (en) A kind of method and system of establishment file system snapshot tree
CN104318164A (en) Application program verification method
CN106168974A (en) The processing method of multisystem screenshotss file and system
CN103823682B (en) A kind of dynamic UI controls generation method and device
CN103677827A (en) Chip configuration method and device
CN103235838A (en) Automatic graph crossing connection method used for power distribution network
CN103595926B (en) A kind of distributed image Fusion Edges processing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 523808 19th Floor, Cloud Computing Center, Chinese Academy of Sciences, No. 1 Kehui Road, Songshan Lake Hi-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: G-Cloud Technology Co., Ltd.

Address before: 523808 No. 14 Building, Songke Garden, Songshan Lake Science and Technology Industrial Park, Dongguan City, Guangdong Province

Patentee before: G-Cloud Technology Co., Ltd.