Nothing Special   »   [go: up one dir, main page]

CN103020294A - Travel information integration system based on web services - Google Patents

Travel information integration system based on web services Download PDF

Info

Publication number
CN103020294A
CN103020294A CN2012105893920A CN201210589392A CN103020294A CN 103020294 A CN103020294 A CN 103020294A CN 2012105893920 A CN2012105893920 A CN 2012105893920A CN 201210589392 A CN201210589392 A CN 201210589392A CN 103020294 A CN103020294 A CN 103020294A
Authority
CN
China
Prior art keywords
service
information
sight spot
user
module
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
CN2012105893920A
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.)
Fuzhou University
Original Assignee
Fuzhou 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 Fuzhou University filed Critical Fuzhou University
Priority to CN2012105893920A priority Critical patent/CN103020294A/en
Publication of CN103020294A publication Critical patent/CN103020294A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a travel information integration system based on web services. The travel information integration system comprises a city scenic spot information acquisition and service publication module, a service logic processing module, a service acquisition module, a city scenic spot information service interface and a database, wherein the city scenic spot information acquisition and service publication module is used for acquiring city scenic spot information from related travel information websites, storing in the database, packaging into the web services, generating WSDL (Web Services Description Language) documents and publishing to a UDDI (Universal Description Discovery And Integration) registration center for others to call; the service logic processing module is used for receiving a user service request from a user, sending the user service request to the service acquisition module, waiting and receiving feedback data from the service acquisition module, and returning to the user; and the service acquisition module is used for acquiring corresponding services according to service types requested by the user and carrying out data feedback. The travel information integration system is favorable for integrating various travel information and achieving cross-platform and cross-language travel information sharing.

Description

A kind of travel information integrated system based on Web Services
Technical field
The present invention relates to a kind of travel information integrated system based on Web Services.
Background technology
The most of tourist enterprises of China scale is less, and informationization relatively lags behind, and enterprise lacks information sharing in the e-commerce development process, not only be difficult to form scale effect, and has caused the website duplicate construction, causes the utilization of resources and development efficiency low.Information sharing realizes alternately by the mode of URL link often between existing enterprise, be difficult to the service effectiveness that reaches one-stop, make the user have to toss about in bed to collect the tourism relevant information of oneself wanting in each website at Internet, loaded down with trivial details like this preliminary work has been brought inconvenience to people.
Summary of the invention
The object of the present invention is to provide a kind of travel information integrated system based on Web Services, this system is conducive to integrated multiple travel information, realizes that cross-platform, as to stride language travel information is shared.
The technical solution used in the present invention is: a kind of travel information integrated system based on Web Services comprises that the city sight spot information obtains and serve release module, service logic processing module, service acquisition module, city sight spot information service interface and database;
Described city sight spot information obtains and serves release module and works as follows: the page that obtains the city sight spot information from tour information correlated website, then this page is carried out contents extraction, obtain the city sight spot information, be stored in the database, and the city sight spot information that gets access to is packaged into Web service, generate the WSDL document, provide corresponding service describing, expose the interface of this service by city sight spot information service interface, and with the issue of WSDL document registration to the realization service of UDDI registration center, search and call for service acquisition module or other system; For the city sight spot information of storing in the database, regularly search renewal;
Described service logic processing module receives user's services request that the user sends, and described user's services request is sent to described service acquisition module, then waits for the feedback data of described service acquisition module, and returns to the user;
Described service acquisition module, obtain respectively the WSDL document of city sight spot information, Weather information, train information and Flight Information from UDDI registration center, and respectively with corresponding city sight spot information service interface, weather information service supplier, train information service provider and Flight Information ISP binding; When receiving user's services request, COS according to user's request, obtain corresponding service and carry out the data feedback: if user's request is city sight spot information service, then from described database, call corresponding service by city sight spot information service interface, and result data is fed back to the service logic processing module; If user's request is Weather information, train information or Flight Information service, then described service acquisition module is directly called corresponding service from weather information service supplier, train information service provider or Flight Information ISP, and result data is fed back to the service logic processing module.
The invention has the beneficial effects as follows by Web Services technology and realize that the travel information of heterogeneous system is integrated, can sight spot, integrated city, the various travel informations such as weather, train, flight, realize that cross-platform, as to stride language travel information is shared, one-stop travel information service is provided, has broad application prospects in the travel navigation field.
Description of drawings
Fig. 1 is the system platform configuration diagram of the embodiment of the invention.
Embodiment
The present invention is based on the travel information integrated system of Web Services, as shown in Figure 1, comprise that the city sight spot information obtains and serve release module, service logic processing module, service acquisition module, city sight spot information service interface, public transport inquiry about the hotels functional module and BBS forum functional module etc.;
Described city sight spot information obtains and serves the issue that release module is carried out obtaining of city sight spot information and the service of city sight spot information as follows: send the HTTP request, obtain the page of city sight spot information from tour information correlated website, then this page being carried out text extracts, obtain the city sight spot information, be stored in the database, and the city sight spot information that gets access to is packaged into Web service, utilize JWS (Java Web Services) to generate the WSDL document of Web Services, provide corresponding service describing, expose the interface of this service by city sight spot information service interface, and with the issue of WSDL document registration to the realization service of UDDI registration center, search and call this service for service acquisition module or other system; For the city sight spot information of storing in the database, regularly search renewal, thereby guarantee the stability in sight spot information source, city;
Described service logic processing module receives user's services request that the user sends by browser, and described user's services request is sent to described service acquisition module, then waits for and receives the feedback data of described service acquisition module, and return to the user;
Described service acquisition module, obtain respectively the WSDL document of city sight spot information, Weather information, train information and Flight Information from UDDI registration center, and respectively with corresponding city sight spot information service interface, weather information service supplier, train information service provider and Flight Information ISP binding; When receiving user's services request, COS according to user's request, obtain corresponding service and carry out the data feedback: if user's request is city sight spot information service, then (used the service search operation because of described service acquisition module and obtained the WSDL document of required service from UDDI registration center by the method for calling the client encapsulation, by described WSDL document is resolved, obtain corresponding Web Services technical information, then according to described WSDL document, produce corresponding client code, realize the service binding with the remote service supplier), from database, call corresponding service and return results data (being the SOAP request/response), then result data is fed back to the service logic processing module; If user's request is Weather information, train information or Flight Information service, then described service acquisition module is called corresponding service from weather information service supplier, train information service provider or the Flight Information ISP (binding) of correspondence and is come obtaining information, then result data is fed back to the service logic processing module.In the process of information inquiry, address information, station platform information, Airport information call frequently, and system is buffered in database, the pressure of mitigation system network interaction with these information etc.There are different tourist attraction, the tourism partners of hotel that set up for own tourist enterprise characteristic in different tourist enterprises, to the integration of these heterogeneous platform Heterogeneous Informations are Web Services information integrated aspect the embodiment of advantage.
Obtaining of city sight spot information is the key that guarantees self system information steady sources.By the html page that shows information in the tour information correlated website is compared, be not difficult to find that the coded system of these pages is similar, be mainly reflected in the unitarity of label name.Page layout with a certain travel network is analyzed, and the label of article title is all named with artibodyTitle, and the label of body matter then uses artibody, and other relevant necessary informations all have identical characteristics.According to above analysis, we have provided the city sight spot information acquisition algorithm based on regular expression.Described city sight spot information obtains and serves in the release module, may further comprise the steps based on the city sight spot information acquisition algorithm of regular expression:
(1) HTTP by the specific URL of transmission asks the homepage HTML_Main of the tour information correlated website of acquisition, this page includes the piecemeal of different information types usually, then obtain in batches that the main chain of different information types connects among the HTML_Main, and several the news of showing in these modules are carried out URL link intercepting, deposit among the chained list ArrayList;
(2) take out successively the URL that stores among the chained list ArrayList, acquisition includes the page HTML_Whole of complete information, in general, in this page, include many irrelevant informations, as: JavaScript code, note and CSS code etc., use the position of irrelevant information in the page, regular expression location, and described irrelevant information removed processing, obtain the complete page HTML_New of pre-service;
(3) with the page info of page HTML_New according to specific label piecemeal Extracting Information, as: the label key word called after artibodyTitle of Sina website's article title, thus, we design regular expression " artibodyTitle.* h1〉" and extract article title HTML_title.In addition, need to do further processing to the extraction of article body matter, namely remove picture, URL link information etc., only keep word content HTML_content, at last the Web page text information of obtaining be deposited in the database.
Described public transport inquiry about the hotels functional module receives the public transport inquiry about the hotels request that the user sends by browser, calls corresponding service from the correlation function supplier, and result data is fed back to the user.
More than be preferred embodiment of the present invention, all changes of doing according to technical solution of the present invention when the function that produces does not exceed the scope of technical solution of the present invention, all belong to protection scope of the present invention.

Claims (4)

1. the travel information integrated system based on Web Services is characterized in that: comprise that the city sight spot information obtains and serve release module, service logic processing module, service acquisition module, city sight spot information service interface and database;
Described city sight spot information obtains and serves release module and works as follows: the page that obtains the city sight spot information from tour information correlated website, then this page is carried out contents extraction, obtain the city sight spot information, be stored in the database, and the city sight spot information that gets access to is packaged into Web service, generate the WSDL document, provide corresponding service describing, expose the interface of this service by city sight spot information service interface, and with the issue of WSDL document registration to the realization service of UDDI registration center, search and call for service acquisition module or other system; For the city sight spot information of storing in the database, regularly search renewal;
Described service logic processing module receives user's services request that the user sends, and described user's services request is sent to described service acquisition module, then waits for the feedback data of described service acquisition module, and returns to the user;
Described service acquisition module, obtain respectively the WSDL document of city sight spot information, Weather information, train information and Flight Information from UDDI registration center, and respectively with corresponding city sight spot information service interface, weather information service supplier, train information service provider and Flight Information ISP binding; When receiving user's services request, COS according to user's request, obtain corresponding service and carry out the data feedback: if user's request is city sight spot information service, then from described database, call corresponding service by city sight spot information service interface, and result data is fed back to the service logic processing module; If user's request is Weather information, train information or Flight Information service, then described service acquisition module is directly called corresponding service from weather information service supplier, train information service provider or Flight Information ISP, and result data is fed back to the service logic processing module.
2. a kind of travel information integrated system based on Web Services according to claim 1, it is characterized in that: described city sight spot information obtains and serves in the release module, carries out as follows based on the city sight spot information acquisition algorithm of regular expression:
(1) by sending the homepage HTML_Main of the tour information correlated website of HTTP request acquisition, this page includes the piecemeal of different information types, then obtain in batches that the main chain of different information types connects among the HTML_Main, and carry out URL link intercepting, deposit among the chained list ArrayList;
(2) take out successively the URL that stores among the chained list ArrayList, acquisition includes the page HTML_Whole of complete information, use the position of irrelevant information in the page, regular expression location, and described irrelevant information is removed processing, obtain the complete page HTML_New of pre-service;
(3) with the page info of page HTML_New according to specific label piecemeal Extracting Information, only keep word content HTML_content, at last the Web page text information of obtaining is deposited in the database.
3. the travel information integrated system based on Web Services according to claim 1, it is characterized in that: this system also comprises public transport inquiry about the hotels functional module, described public transport inquiry about the hotels functional module receives the public transport inquiry about the hotels request that the user sends, call corresponding service from the correlation function supplier, result data is fed back to the user.
4. the travel information integrated system based on Web Services according to claim 1, it is characterized in that: this system also comprises BBS forum functional module.
CN2012105893920A 2012-12-31 2012-12-31 Travel information integration system based on web services Pending CN103020294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105893920A CN103020294A (en) 2012-12-31 2012-12-31 Travel information integration system based on web services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105893920A CN103020294A (en) 2012-12-31 2012-12-31 Travel information integration system based on web services

Publications (1)

Publication Number Publication Date
CN103020294A true CN103020294A (en) 2013-04-03

Family

ID=47968897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105893920A Pending CN103020294A (en) 2012-12-31 2012-12-31 Travel information integration system based on web services

Country Status (1)

Country Link
CN (1) CN103020294A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310017A (en) * 2013-07-03 2013-09-18 百度在线网络技术(北京)有限公司 Service search method and system as well as search server
WO2018120430A1 (en) * 2016-12-28 2018-07-05 平安科技(深圳)有限公司 Page construction method, terminal, computer-readable storage medium and page construction device
CN109087218A (en) * 2018-08-10 2018-12-25 重庆市南岸区瑜目网络科技有限责任公司 A kind of system being collected and analyze user's tourism data according to satellite positioning
CN109325188A (en) * 2018-08-14 2019-02-12 双新电器(郑州)制造有限公司 A kind of zero distance service system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050060242A (en) * 2003-12-16 2005-06-22 한국전자통신연구원 Intelligent web service gateway system based on agent and operation method therof
CN102262677A (en) * 2011-08-15 2011-11-30 华北电力大学 Information resource integration method based on Web Service

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050060242A (en) * 2003-12-16 2005-06-22 한국전자통신연구원 Intelligent web service gateway system based on agent and operation method therof
CN102262677A (en) * 2011-08-15 2011-11-30 华北电力大学 Information resource integration method based on Web Service

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
廖广飞: "基于Web服务的旅游电子商务平台研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
张超: "基于分块的主题信息抽取研究与应用", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
毛湘秀 等: "基于Web Service的旅游电子商务平台研究", 《湖南农业大学学报(自然科学版)》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310017A (en) * 2013-07-03 2013-09-18 百度在线网络技术(北京)有限公司 Service search method and system as well as search server
WO2018120430A1 (en) * 2016-12-28 2018-07-05 平安科技(深圳)有限公司 Page construction method, terminal, computer-readable storage medium and page construction device
CN109087218A (en) * 2018-08-10 2018-12-25 重庆市南岸区瑜目网络科技有限责任公司 A kind of system being collected and analyze user's tourism data according to satellite positioning
CN109325188A (en) * 2018-08-14 2019-02-12 双新电器(郑州)制造有限公司 A kind of zero distance service system

Similar Documents

Publication Publication Date Title
Elgazzar et al. Clustering wsdl documents to bootstrap the discovery of web services
US7496497B2 (en) Method and system for selecting web site home page by extracting site language cookie stored in an access device to identify directional information item
US8131753B2 (en) Apparatus and method for accessing and indexing dynamic web pages
US9355385B2 (en) Location services in email and calendaring web services
CN101609415B (en) Universal service calling system and method based on middleware
CN102194008A (en) System and method for searching disparate datastores via a remote device
CN101000623A (en) Method for image identification search by mobile phone photographing and device using the method
CN104410711A (en) Cross-domain network resource request method and device for client
CN103139258A (en) Method and device and system for processing page access requests of mobile terminal
CN107590145A (en) A kind for the treatment of method and apparatus of page static resource
CN102110168B (en) Method and device for extending functions of mobile terminal browser
CN105404693B (en) A kind of service clustering method based on demand semanteme
CN102750352A (en) Method and device for classified collection of historical access records in browser
CN103020294A (en) Travel information integration system based on web services
CN102156749B (en) Anatomic search and judgment method, system and distributed server system for map sites
CN104980464B (en) A kind of network request processing method, network server and network system
CN103513986A (en) Method for using CGI technology for achieving dynamic web server in no-operation system
CN104516948B (en) A kind of positional information extracting method and device based on mass data
Huy et al. Web service gateway-A step forward to e-business
Parto Dezfouli A secure MTConnect compatible IoT platform for machine monitoring through integration of fog computing, cloud computing, and communication protocols
CN104021177A (en) Information integration method with combination of semantic network and geographic information features
Chen et al. Grid computing enhances standards-compatible geospatial catalogue service
KR101324393B1 (en) Method and system for RESTful web service composition
Rienzi et al. Towards an ESB-Based Enterprise Integration Platform for Geospatial Web Services
Brodie et al. Accelerating dynamic web content delivery using keyword-based fragment detection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130403