CN102291460A - information resource access method based on Web Service - Google Patents

information resource access method based on Web Service Download PDF

Info

Publication number
CN102291460A
CN102291460A CN2011102332440A CN201110233244A CN102291460A CN 102291460 A CN102291460 A CN 102291460A CN 2011102332440 A CN2011102332440 A CN 2011102332440A CN 201110233244 A CN201110233244 A CN 201110233244A CN 102291460 A CN102291460 A CN 102291460A
Authority
CN
China
Prior art keywords
service
web service
information resources
information
information resource
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.)
Granted
Application number
CN2011102332440A
Other languages
Chinese (zh)
Other versions
CN102291460B (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.)
State Grid Corp of China SGCC
North China Electric Power University
Information and Telecommunication Branch of State Grid Xinjiang Electric Power Co Ltd
Original Assignee
North China Electric Power University
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 North China Electric Power University filed Critical North China Electric Power University
Priority to CN 201110233244 priority Critical patent/CN102291460B/en
Publication of CN102291460A publication Critical patent/CN102291460A/en
Application granted granted Critical
Publication of CN102291460B publication Critical patent/CN102291460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention discloses an information resource access method based on Web Service in the field of computer information processing technology. The method comprises the following steps: a user sends inquiry information; an information resource access agent determines the Web Service items conforming to conditions through a Web Service agent; generating a service binding file by use of the SOAP (simple object access protocol), and sending the service binding file and the Web Service items conforming to conditions to an information resource integration agent; the Web Service agent realizes direct communication between the information resource access agent and the information resource integration agent according to the service binding file; the information resource integration agent analyzes and inquires the Web Service items conforming to conditions to obtain the information resource, and then returns the information resource to the information resource access agent; and the information resource access agent formats the information resource and returns the formatted information resource to the user. The method disclosed by the invention solves the problem in sharing of the distributed heterogeneous information resources.

Description

Information resource access method based on Web Service
Technical field
The invention belongs to technical field of computer information processing, relate in particular to a kind of information resource access method based on Web Service.
Background technology
Along with popularizing rapidly and the progressively development of informatization of the develop rapidly of the information processing technology and constantly widening of application, particularly the Internet, network information resource quantity presents exponential increase.Yet because a large amount of information resources are stored in the environment of dispersion, and the difference of its data model, data structure, storage environment etc., make sharing of information resource have many difficulties.
Web Service is based on the development technique of the Internet, has self-contained, modularization, characteristics such as distributed, Network Based, has clear superiority in the distribution isomerous environment.Web Service technology is incorporated in the information resource access method, has more adaptability, more help the visit of information resources than conventional information resource access method.
At the demand, the present invention is applied to Web Service technology in the information resources access system, foundation is based on the information resource access method of Web Service, with various dispersions and information resources that be under the jurisdiction of different management organizations, organically integrate, form a Virtual Organization, for the user provides high performance information resources share service.This method is the solution of a kind of opening, the visit of flexible, adaptable information resources.
Summary of the invention
The objective of the invention is to, a kind of information resource access method based on Web Service is provided, in order to realize the visit of distribution type isomerization information resource.
To achieve these goals, the technical scheme that the present invention proposes is, a kind of information resource access method based on Web Service, by query interface is provided for the user and return Query Result the information resources access agent, the Client-initiated query requests carried out Web Service service discovery and select and the Web Service service broker that binds and the information resources integration proxy that data parsing is carried out in the user inquiring request realized in registration center, it is characterized in that described information resource access method comprises:
Step 1: the user sends Query Information to the information resources access agent;
Step 2: the information resources access agent carries out match query by Web Service service broker with the information resources of Query Information and registration center's registration, selects Web Service service entry;
Step 3: in Web Service service broker, judge whether the user has the access rights of the Web Service service entry of selecting, if the user has the access rights of the Web Service service entry of selecting, then execution in step 4; Otherwise, forward step 10 to;
Step 4: have the Web Service service entry of access rights from the user, determine qualified Web Service service entry;
Step 5: utilize the simple object access soap protocol to generate the service binding file, and qualified Web Service service entry and service binding file are transferred to the preservation of information resources integration proxy;
Step 6:Web Service service broker binds information resources access agent and information resources integration proxy according to the service binding file, realizes the direct communication of information resources access agent and information resources integration proxy;
Step 7: the information resources integration proxy is resolved qualified Web Service service entry;
Step 8: the qualified Web Service service entry behind the information resources integration proxy query parse, obtain information resources, described information resources and service binding file are returned to the information resources access agent;
Step 9: the information resources access agent formats the information resources that receive and handles and return to the user;
Step 10: finish.
The information resources of described registration center registration specifically are to utilize the Web Service descriptive language wsdl document of universal description discovery and integrated UDDI protocol encapsulation.
The present invention is applied to the information resources access process with Web Service technology, solved the sharing problem of distribution type isomerization information resource, for the user provides unification, efficient and safe information resources access services.
Description of drawings
Fig. 1 is based on the information resources access structure figure of Web Service;
Fig. 2 is based on the information resource access method flow chart of Web Service;
Fig. 3 is patterned information resources browsing process figure based on Web Service.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment is elaborated.Should be emphasized that following explanation only is exemplary, rather than in order to limit the scope of the invention and to use.
Fig. 1 is based on the information resources access structure figure of Web Service.Among Fig. 1, the information resource access method based on Web Service provided by the invention uses Web Service technology, realizes the visit to the information resources of distribution isomery.Wherein relate to information resources integration proxy, Web Service service broker, registration center and information resources access agent.
The information resources integration proxy is to point to the service broker that the information resources access agent returns the user inquiring result.Mainly comprise processes such as query parse and Query Result return.
Web Service service broker is meant the Client-initiated query requests is carried out service discovery, selection and binding.Mainly comprise processes such as service discovery, services selection and service binding.
Registration center is meant and is used for the registration of stored information resource and the service centre that releases news.
The information resources access agent is meant to the user provides query interface, and the Query Result that returns is formatd the service broker of processing.Mainly comprise processes such as user inquiring and Query Result format processing.
Embodiment 1
Fig. 2 is based on the information resource access method flow chart of Web Service.Among Fig. 2, specifically comprise based on the information resource access method of WebService:
Step 1: the user sends Query Information to the information resources access agent.
Step 2: the information resources access agent carries out match query by Web Service service broker with the information resources of Query Information and registration center's registration, selects Web Service service entry.
The information resources of registration center's registration specifically are Web Service descriptive language wsdl documents, and its concrete registration process is:
At first, the data source and the metadata of information resources integration proxy descriptor resource;
Secondly, data source and the metadata of describing is submitted to Web Service service broker;
Then, Web Service service broker utilizes UDDI (Universal Description Discovery and Integration, universal description discovery and integrated) agreement is encapsulated as WSDL (Web Service Describe Language, Web Service descriptive language) file with data source and the metadata of describing;
At last, utilize the wsdl document of UDDI (Universal Description Discovery and Integration, universal description is found and be integrated) after agreement will encapsulate to register and be published to registration center.
Wherein, data source comprises data source numbering, data source server IP address and database-name.The data source numbering is meant that the information resources integration proxy is the numbering that data source is distributed, and is used for distinguishing different data sources.Metadata comprises numbering, title, description, keyword, founder, creation-time, publisher, update time and the language of metadata.
Step 3: in Web Service service broker, judge whether the user has the access rights of the Web Service service entry of selecting, if the user has the access rights of the Web Service service entry of selecting, then execution in step 4; Otherwise, forward step 10 to.
Step 4: have the Web Service service entry of access rights from the user, determine qualified Web Service service entry.
Determine qualified Web Service service entry, need estimate the performance of Web Service service entry, and the method for service evaluation has multiple different algorithm according to the practical application difference.Can select a kind of algorithm according to actual needs, determine qualified Web Service service entry.
Step 5: (Simple Object Access Protocol: Simple Object Access Protocol) agreement generates the service binding file, and qualified Web Service service entry and service binding file are transferred to the preservation of information resources integration proxy to utilize SOAP.
Step 6:Web Service service broker binds information resources access agent and information resources integration proxy according to the service binding file, realizes the direct communication of information resources access agent and information resources integration proxy.
Step 7: the information resources integration proxy is resolved qualified Web Service service entry.
Step 8: the qualified Web Service service entry behind the information resources integration proxy query parse, obtain information resources, described information resources and service binding file are returned to the information resources access agent.
Step 9: the information resources access agent formats the information resources that receive and handles and return to the user.
Step 10: finish.
Embodiment 2
Fig. 3 is patterned information resources browsing process figure based on Web Service.Among Fig. 3, be example still, the embodiment based on the information resource access method of Web Service is set forth with " intelligent grid " database.
Step 101: user inquiring.
The user imports " electric power system ", " intelligent grid " key word of the inquiry.
Step 102: service discovery.
Web Service service broker inquires about the key word of the inquiry information that the user sends in the wsdl document of registration center, select satisfactory service.The example partial content of inquiring about from wsdl document is as follows:
Figure BDA0000083305080000051
Figure BDA0000083305080000061
Step 103: services selection.
Judge access privilege, if the user has this access rights, then continue visit, otherwise stop visit.
According to related algorithm, filter out more qualified Web Service service entry.The Web Service service entry example partial content that meets user's condition is as follows:
Figure BDA0000083305080000062
Step 104: service binding.
Use soap protocol, information resources access agent and information resources integration proxy are bound, realize the direct communication of information resources access agent and information resources integration proxy.Service binding file example partial content is as follows:
Figure BDA0000083305080000063
Figure BDA0000083305080000071
Step 105: query parse.
Information resources integration proxy end carries out data parsing to selected Web Service service entry.
Step 106: Query Result returns.
The information resources and the service binding file that obtain behind the information resources integration proxy end query parse are directly returned to the information resources access agent.
Step 107: the Query Result format is handled.
Information resources access agent end is presented to the user with the information resources that inquire with specific form.The exemplary query result partial content shows below with html format:
<table?width=″98%″border=″1″cellpadding=″0″cellspacing=″0″>
<tr〉<td height=" 25 " align=" left "〉time: 2006</td〉</tr 〉
<tr>
<td height=" 300 " align=" left "〉incident: " intelligent grid " solution that American I BM company proposes.The intelligent grid of IBM mainly is to solve electric power netting safe running, raising reliability, white paper as can be seen " the building the new approaches of intelligent grid innovation operation management-China Power development " of China's issue from it, this scheme provides a big framework, by optimum management, for relevant enterprise improves operational efficiency and reliability, reduces cost and described a blueprint to each link of electrical production, conveying, retail.
</td>
</tr>
</table>
By above flow process, realize information resources visit based on Web Service.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (2)

1. information resource access method based on Web Service, by query interface is provided for the user and return Query Result the information resources access agent, the Client-initiated query requests carried out Web Service service discovery and select and the Web Service service broker that binds and the information resources integration proxy that data parsing is carried out in the user inquiring request realized in registration center, it is characterized in that described information resource access method comprises:
Step 1: the user sends Query Information to the information resources access agent;
Step 2: the information resources access agent is by Web Service service broker, and the information resources log-on message of Query Information and registration center is carried out match query, selects Web Service service entry;
Step 3: in Web Service service broker, judge whether the user has the access rights of the Web Service service entry of selecting, if the user has the access rights of the Web Service service entry of selecting, then execution in step 4; Otherwise, forward step 10 to;
Step 4: have the Web Service service entry of access rights from the user, determine qualified Web Service service entry;
Step 5: utilize the simple object access soap protocol to generate the service binding file, and qualified Web Service service entry and service binding file are transferred to the preservation of information resources integration proxy;
Step 6:Web Service service broker binds information resources access agent and information resources integration proxy according to the service binding file, realizes the direct communication of information resources access agent and information resources integration proxy;
Step 7: the information resources integration proxy is resolved qualified Web Service service entry;
Step 8: the qualified Web Service service entry behind the information resources integration proxy query parse, obtain information resources, described information resources and service binding file are returned to the information resources access agent;
Step 9: the information resources access agent formats the information resources that receive and handles and return to the user;
Step 10: finish.
2. a kind of information resource access method based on Web Service according to claim 1, the information resources that it is characterized in that the registration of described registration center specifically are to utilize the Web Service descriptive language wsdl document of universal description discovery and integrated UDDI protocol encapsulation.
CN 201110233244 2011-08-15 2011-08-15 Information resource access method based on Web Service Active CN102291460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110233244 CN102291460B (en) 2011-08-15 2011-08-15 Information resource access method based on Web Service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110233244 CN102291460B (en) 2011-08-15 2011-08-15 Information resource access method based on Web Service

Publications (2)

Publication Number Publication Date
CN102291460A true CN102291460A (en) 2011-12-21
CN102291460B CN102291460B (en) 2013-10-09

Family

ID=45337560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110233244 Active CN102291460B (en) 2011-08-15 2011-08-15 Information resource access method based on Web Service

Country Status (1)

Country Link
CN (1) CN102291460B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833343A (en) * 2012-09-03 2012-12-19 浙江财经学院 Virtual enterprise-cross Web service sharing system
CN103036954A (en) * 2012-12-03 2013-04-10 北京邮电大学 Mobile information aggregation system based on geographic information system (GIS) and mobile information aggregation method based on GIS
CN103269327A (en) * 2013-01-07 2013-08-28 广西电网公司 Method for realizing general file data service based on agent mechanism
CN103678701A (en) * 2013-12-31 2014-03-26 福建四创软件有限公司 Disaster prevention and reduction information processing system and method based on WebService
CN104144144A (en) * 2013-05-08 2014-11-12 北京航天长峰科技工业集团有限公司 Heterogeneous information system integrating method based on ROSO model
CN104679865A (en) * 2015-03-02 2015-06-03 科大国创软件股份有限公司 Method for integrating Web page as service for registration and monitoring
CN108632208A (en) * 2017-03-20 2018-10-09 江苏两融智能制造技术有限公司 Based on the shared pan class type data communication and network subsystem of service in electrical Intelligent Manufacturing Execution System
CN111641696A (en) * 2020-05-21 2020-09-08 远光软件股份有限公司 WebService service registration and management method and system based on distributed system environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004051505A2 (en) * 2002-12-02 2004-06-17 Sap Aktiengesellschaft Web service agent
CN1867898A (en) * 2003-10-14 2006-11-22 国际商业机器公司 Method and apparatus for processing service requests in a service-oriented architecture
CN101969466A (en) * 2010-10-18 2011-02-09 上海电机学院 Method for searching network services in distributed system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004051505A2 (en) * 2002-12-02 2004-06-17 Sap Aktiengesellschaft Web service agent
CN1867898A (en) * 2003-10-14 2006-11-22 国际商业机器公司 Method and apparatus for processing service requests in a service-oriented architecture
CN101969466A (en) * 2010-10-18 2011-02-09 上海电机学院 Method for searching network services in distributed system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李樨: "基于WebServices的信息资源集成系统的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科学辑》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833343A (en) * 2012-09-03 2012-12-19 浙江财经学院 Virtual enterprise-cross Web service sharing system
CN103036954A (en) * 2012-12-03 2013-04-10 北京邮电大学 Mobile information aggregation system based on geographic information system (GIS) and mobile information aggregation method based on GIS
CN103036954B (en) * 2012-12-03 2016-05-11 北京邮电大学 Mobile message paradigmatic system and method thereof based on GIS
CN103269327A (en) * 2013-01-07 2013-08-28 广西电网公司 Method for realizing general file data service based on agent mechanism
CN104144144A (en) * 2013-05-08 2014-11-12 北京航天长峰科技工业集团有限公司 Heterogeneous information system integrating method based on ROSO model
CN104144144B (en) * 2013-05-08 2019-03-08 北京航天长峰科技工业集团有限公司 A kind of heterogeneous system integration method based on ROSO model
CN103678701A (en) * 2013-12-31 2014-03-26 福建四创软件有限公司 Disaster prevention and reduction information processing system and method based on WebService
CN104679865A (en) * 2015-03-02 2015-06-03 科大国创软件股份有限公司 Method for integrating Web page as service for registration and monitoring
CN104679865B (en) * 2015-03-02 2018-03-06 科大国创软件股份有限公司 Using the integrated method registered and monitored as service of Web page
CN108632208A (en) * 2017-03-20 2018-10-09 江苏两融智能制造技术有限公司 Based on the shared pan class type data communication and network subsystem of service in electrical Intelligent Manufacturing Execution System
CN111641696A (en) * 2020-05-21 2020-09-08 远光软件股份有限公司 WebService service registration and management method and system based on distributed system environment

Also Published As

Publication number Publication date
CN102291460B (en) 2013-10-09

Similar Documents

Publication Publication Date Title
CN102291460B (en) Information resource access method based on Web Service
US7797450B2 (en) Techniques for managing interaction of web services and applications
US10241839B2 (en) Method and system for generating a virtual device resource accessible by an application
US20020120710A1 (en) Mechanism for caching dynamically generated content
US20170262549A1 (en) Representation/invocation of actions/functions in a hypermedia-driven environment
CN103383687B (en) A kind of page processing method and device
CN102831253B (en) Distributed full-text retrieval system
CN101609415B (en) Universal service calling system and method based on middleware
CN105760397B (en) Internet of things ontology model processing method and device
CN102663009B (en) Web-service integration method supporting data privatization of enterprise users
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
WO2012160814A1 (en) Information processing system, access rights management method, information processing device, and control method and control program therefor
KR100759186B1 (en) System and method to provide web service that delivers information from semi structured web document and database
CN102262677A (en) Information resource integration method based on Web Service
CN102255969A (en) Representational-state-transfer-based web service security model
CN101651656A (en) Method and system for message conversion in system integration of global station network of television station
CN103209199B (en) A kind of method and information carrying means of transmission information
Zhang 2-Tier Cloud Architecture with maximized RIA and SimpleDB via minimized REST
CN101051971A (en) Data exchanging method based on XML in digital home
CN102185896A (en) Cloud service-oriented device and method for sensing remote file request
Paul et al. Cooperative Distributed UDDI (dUDDI) Architecture for P2P Service Networks
Hai-tao et al. A dynamic web services composition and realization on the base of semantic
Austin et al. Joined up writing: an Internet portal for research into the Historic Environment
CN103414777A (en) Distributed geographic information matching system and method based on content distribution network
Ning et al. The Application of Web Service Technology in Government Information Resources Sharing System

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
ASS Succession or assignment of patent right

Owner name: STATE GRID CORPORATION OF CHINA INFORMATION COMMUN

Effective date: 20141102

C41 Transfer of patent application or patent right or utility model
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Li Guodong

Inventor after: Jin Pengfei

Inventor after: Wen Liangjun

Inventor after: Luo Han

Inventor after: Song Zili

Inventor after: Chou Jue

Inventor after: Liu Lin

Inventor after: Li Kai

Inventor after: Yin Jun

Inventor after: Nijiati.Najimi

Inventor after: Zhou Wenting

Inventor after: Ma Tianfu

Inventor after: Yun Kai

Inventor after: Li Guocui

Inventor before: Li Guodong

Inventor before: Liu Lin

Inventor before: Li Kai

Inventor before: Li Guocui

Inventor before: Jin Pengfei

Inventor before: Wen Liangjun

Inventor before: Luo Han

Inventor before: Song Zili

Inventor before: Chou Jue

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: LI GUODONG LIU LIN LI KAI LI GUOCUI JIN PENGFEI WEN LIANGJUN LUO HAN SONG ZILI CHOU JUE TO: LI GUODONG LIU LIN LI KAI YIN JUN NIJIATI NAJIMI ZHOU WENTING MA TIANFU YUN KAI LI GUOCUI JIN PENGFEI WEN LIANGJUN LUO HAN SONG ZILI CHOU JUE

TR01 Transfer of patent right

Effective date of registration: 20141102

Address after: 102206 Beijing city Changping District Zhu Daxinzhuang North Agricultural Road No. 2

Patentee after: North China Electric Power University

Patentee after: State Grid Corporation of China

Patentee after: INFORMATION & TELECOMMUNICATION COMPANY OF STATE GRID XINJIANG ELECTRIC POWER COMPANY

Address before: 102206 Beijing city Changping District Zhu Daxinzhuang North Agricultural Road No. 2

Patentee before: North China Electric Power University