CN105931149A - Tourism system platform - Google Patents

Tourism system platform Download PDF

Info

Publication number
CN105931149A
CN105931149A CN201610242152.1A CN201610242152A CN105931149A CN 105931149 A CN105931149 A CN 105931149A CN 201610242152 A CN201610242152 A CN 201610242152A CN 105931149 A CN105931149 A CN 105931149A
Authority
CN
China
Prior art keywords
module
message
data
server
submodule
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
CN201610242152.1A
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.)
Hainan Smart City Technology Development Co Ltd
Original Assignee
Hainan Smart City Technology Development 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 Hainan Smart City Technology Development Co Ltd filed Critical Hainan Smart City Technology Development Co Ltd
Priority to CN201610242152.1A priority Critical patent/CN105931149A/en
Publication of CN105931149A publication Critical patent/CN105931149A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/14Travel agencies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The present invention relates to a tourism system platform which comprises a communication module, a packet analysis module, a monitoring module, a task execution module, a service start module, and a data access module. Through providing a shared, common, fast, convenient and safe transportation query system with a scale economy, the travel problem of people is solved, through using a database of a master-slave mode, the efficiency of reading and writing is greatly improved, and the system availability is improved.

Description

A kind of touring system platform
Technical field
The present invention relates to computer system, be specifically related to a kind of touring system platform.
Background technology
Growing along with science and technology, the living standard of people has had a large increase, diversified go out Line mode is that the trip of people provides many facilities, in order to adapt to the fastest rhythm of life, has Necessary structure is integrated with the resource query platform of multiple trip information, makes the rule of science for travel route Draw, and the relevant information of automobile, train and flight is provided, provide multiple choice for traveling for people, from And save the travel time, adapt to the rhythm of life of people.
And the integrated resource query platform for trip information unavoidably needs to use database technology, But, there is a lot of drawback in traditional database technology.
In Web application system, database performance be cause the topmost reason of systematic function bottleneck it One.In prior art, mostly all of function is all placed in a data base and carries out, such data Performance consumption will be the biggest, it is therefore necessary to change the operational mode of data base, thus promote number According to the operation effect in storehouse, develop the computer system being feasibly adopted for tourism trip.
Summary of the invention
For solving above-mentioned technical problem, gather social resources, common build possess the sharing of scale and benefit, Traffic Comprehensive Query System general, fast, convenient and safe, the present invention provides a kind of touring system to put down Platform.
The present invention realizes with following technical scheme, a kind of system being applied to tourism, described system Including communication module, packet parsing module, monitor module, task execution module, service startup module And Data access module,
Described communication module is for carrying out communication with third party's data source, and the data obtained is transmitted extremely Described packet parsing module, described communication module includes that agreement unpacks submodule, agreement package submodule Submodule is controlled with session,
Described packet parsing module is used for resolving the message that third party's data source sends, and by described message Being converted into the form being applicable to described system platform, described packet parsing module includes character code submodule Block, public transport GPS message submodule, taxi GPS message module and parsing weather message module,
Described monitoring module is used for monitoring PORT COM, and described monitoring module includes that public transport GPS monitors mould Block, hire out GPS and monitor module and client request monitoring module, described public transport GPS monitor module and Hire out GPS and monitor the data that the module described packet parsing module of acquisition resolves,
Described task execution module is used for performing scheduler task, synchronizes submodule and interior including basic data Deposit data storehouse synchronizes submodule,
Described Data access module is used for accessing data base, obtains passenger traffic information, traffic information and sight spot Information, described data base includes oracle and mysql, and described Data access module is to oracle and mysql Being attached, described oracle and mysql data base all carries out principal and subordinate's data separating pattern, and oracle Different principal and subordinate's data separating subpatterns is used with mysql,
Described service starts module and is used for starting business container, and loads monitoring module and tasks carrying mould Block, described startup business container includes load vessel configuration file and starts service container.
Preferably, in described principal and subordinate's data separating pattern, the main frame at oracle and mysql data base place Carry out database write operations, oracle and mysql data base place carry out data base's read operation from machine.
Preferably, mysql principal and subordinate segregant mode implementation method comprises the steps:
S1. configuration principal and subordinate's server, described master server enables binary log, described principal and subordinate's server All use corresponding IP value final stage as ID;
S2. on master server, set up account and authorize and carry out described master server reading behaviour from server Make;
S3. restart described principal and subordinate's server, and inquire about the state of master server, and keep described main service Device state value is constant;
S4. configure from server, and start from server replicates function;
S5. check from server replicates functional status, wherein, Slave_IO_Running with Slave_SQL_Running is yes;
S6. on master server, set up data base, and described data base is carried out write operation.
Preferably, described basic data synchronizes the submodule Back ground Information for synchrolock, described interior Deposit data storehouse synchronizes submodule and is used for synchronizing gps information, Back ground Information and sight spot information to internal storage data Storehouse.
Preferably, described task execution module is additionally operable to obtain passenger traffic information warehouse-in, obtain traffic information Ask with processing client.
Preferably, described packet parsing module includes 7 unit, is respectively the field of public transport message Public transport message abstraction unit, public transport message javabean and the taxi message javabean's that type is abstract Attribute loading unit, by public transport message and hire out message be converted to javabean message converting unit, Packet parsing unit, the type in message is converted to corresponding byte length byte computing unit, Transcoder unit and the taxi message abstraction unit abstract by hiring out message.
Preferably, described service startup module is additionally operable to configure message queue, configuration global abnormal, join Put program packing, configuration memory database and business container.
The invention provides a kind of touring system platform, by being provided with the shared, logical of scale and benefit With, fast, convenient and safe traffic Comprehensive Query System, solve the trip touring problem of people, logical Cross the data base using master slave mode, be greatly improved the efficiency of reading.In general internet, applications, Reach a conclusion through some data surveys, the ratio of read/write probably at about 10:1, substantial amounts of number It is the operation concentrating on reading according to operation, and write operation relates to the problem of lock, no matter be row lock or table Lock or block lock, be all the thing comparing reduction system execution efficiency.The separation of master slave mode is writing In operation set on one node, N number of node of read operation its other is carried out, from another side Face is effectively improved the efficiency of reading, it is ensured that the high availability of system.
Accompanying drawing explanation
Fig. 1 is embodiment of the present invention logical schematic.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to this Invention is described in further detail.
In one embodiment, as it is shown in figure 1, a kind of touring system platform, described system platform bag Include communication module, packet parsing module, monitor module, task execution module, service start module and Data access module,
Described communication module is for carrying out communication with third party's data source, and the data obtained is transmitted extremely Described packet parsing module, described communication module includes that agreement unpacks submodule, agreement package submodule Submodule is controlled with session,
Described packet parsing module is used for resolving the message that third party's data source sends, and by described message Being converted into the form being applicable to described system platform, described packet parsing module includes character code submodule Block, public transport GPS message submodule, taxi GPS message module and parsing weather message module,
Described monitoring module is used for monitoring PORT COM, and described monitoring module includes that public transport GPS monitors mould Block, hire out GPS and monitor module and client request monitoring module, described public transport GPS monitor module and Hire out GPS and monitor the data that the module described packet parsing module of acquisition resolves,
Described task execution module is used for performing scheduler task, synchronizes submodule and interior including basic data Deposit data storehouse synchronizes submodule,
Described Data access module is used for accessing data base, obtains passenger traffic information, traffic information and sight spot Information, described data base includes oracle and mysql, and described Data access module is to oracle and mysql Being attached, described oracle and mysql data base all carries out principal and subordinate's data separating pattern, and oracle Different principal and subordinate's data separating subpatterns is used with mysql,
Described service starts module and is used for starting business container, and loads monitoring module and tasks carrying mould Block, described startup business container includes load vessel configuration file and starts service container.
Specifically, in described principal and subordinate's data separating pattern, the main frame at oracle and mysql data base place Carry out database write operations, oracle and mysql data base place carry out data base's read operation from machine.
Specifically, described basic data synchronizes the submodule Back ground Information for synchrolock, described interior Deposit data storehouse synchronizes submodule and is used for synchronizing gps information, Back ground Information and sight spot information to internal storage data Storehouse.
Specifically, described task execution module is additionally operable to obtain passenger traffic information warehouse-in, obtain traffic information Ask with processing client.
Specifically, described packet parsing module includes 7 unit, is respectively the field of public transport message Public transport message abstraction unit, public transport message javabean and the taxi message javabean's that type is abstract Attribute loading unit, by public transport message and hire out message be converted to javabean message converting unit, Packet parsing unit, the type in message is converted to corresponding byte length byte computing unit, Transcoder unit and the taxi message abstraction unit abstract by hiring out message.
Specifically, described service startup module is additionally operable to configure message queue, configuration global abnormal, join Put program packing, configuration memory database and business container.
Specifically, mysql data base principal and subordinate separation method is as follows:
Mysql principal and subordinate's segregant mode implementation method comprises the steps:
S1. principal and subordinate's server is initialized;
S2. amendment master server master, the unique ID of described master server, takes IP final stage;
S3. revise from server slave, described from the unique ID of server, take IP final stage;
S4. the mysql of two-server is restarted;
S5. on master server, set up account and authorize from server;
S6. the mysql of master server, the state of inquiry master server are logged in;
S7. configure from server, start from server replicates function;
S8. check from server replicates functional status, Slave_IO_Running and The value of Slave_SQL_Running must be YES;
S9. on master server, set up data base, and described data base is carried out write operation.
Above disclosed only present pre-ferred embodiments, can not limit this with this certainly Bright interest field, the equivalent variations therefore made according to the claims in the present invention, still belong to the present invention and contained The scope of lid.

Claims (7)

1. a touring system platform, it is characterised in that described system platform includes communication module, report Literary composition parsing module, monitoring module, task execution module, service start module and Data access module;
Described communication module is for carrying out communication with third party's data source, and the data obtained is transmitted extremely Described packet parsing module, described communication module includes that agreement unpacks submodule, agreement package submodule Submodule is controlled with session;
Described packet parsing module is used for resolving the message that third party's data source sends, and by described message Being converted into the form being applicable to described system platform, described packet parsing module includes character code submodule Block, public transport GPS message submodule, taxi GPS message module and parsing weather message module;
Described monitoring module is used for monitoring PORT COM, and described monitoring module includes that public transport GPS monitors mould Block, hire out GPS and monitor module and client request monitoring module, described public transport GPS monitor module and Hire out GPS and monitor the data that the module described packet parsing module of acquisition resolves;
Described task execution module is used for performing scheduler task, synchronizes submodule and interior including basic data Deposit data storehouse synchronizes submodule;
Described Data access module is used for accessing data base, obtains passenger traffic information, traffic information and sight spot Information, described data base includes oracle and mysql, and described Data access module is to oracle and mysql Being attached, described oracle and mysql data base all carries out principal and subordinate's data separating pattern, and oracle Different principal and subordinate's data separating subpatterns is used with mysql;
Described service starts module and is used for starting business container, and loads monitoring module and tasks carrying mould Block, described startup business container includes load vessel configuration file and starts service container.
A kind of touring system platform the most according to claim 1, it is characterised in that described principal and subordinate In data separating pattern, the main frame at oracle and mysql data base place carries out database write operations, Oracle and mysql data base place carry out data base's read operation from machine.
A kind of touring system platform the most according to claim 1 and 2, it is characterised in that mysql Principal and subordinate's segregant mode implementation method comprises the steps:
S1. configuration principal and subordinate's server, described master server enables binary log, described principal and subordinate's server All use corresponding IP value final stage as ID;
S2. on master server, set up account and authorize and carry out described master server reading behaviour from server Make;
S3. restart described principal and subordinate's server, and inquire about the state of master server, and keep described main service Device state value is constant;
S4. configure from server, and start from server replicates function;
S5. check from server replicates functional status, wherein, Slave_IO_Running with Slave_SQL_Running is yes;
S6. on master server, set up data base, and described data base is carried out write operation.
A kind of touring system platform the most according to claim 3, it is characterised in that described basis Data syn-chronization submodule is for the Back ground Information of synchrolock, and described memory database synchronizes submodule and uses In synchronizing gps information, Back ground Information and sight spot information to memory database.
A kind of touring system platform the most according to claim 4, it is characterised in that described task Perform module to be additionally operable to obtain passenger traffic information warehouse-in, obtain traffic information and process client request.
A kind of touring system platform the most according to claim 5, it is characterised in that described message Parsing module includes 7 unit, is respectively and is taken out by public transport message abstract for the field type of public transport message As unit, public transport message javabean and the attribute loading unit of taxi message javabean, by public transport Message and hire out message be converted to the message converting unit of javabean, packet parsing unit, by message In type be converted to the byte computing unit of corresponding byte length, transcoder unit and will hire out The taxi message abstraction unit that message is abstract.
A kind of touring system platform the most according to claim 6, it is characterised in that described service Start module to be additionally operable to configure message queue, configuration global abnormal, configurator packing, configuration internal memory Data base and business container.
CN201610242152.1A 2016-04-19 2016-04-19 Tourism system platform Pending CN105931149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610242152.1A CN105931149A (en) 2016-04-19 2016-04-19 Tourism system platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610242152.1A CN105931149A (en) 2016-04-19 2016-04-19 Tourism system platform

Publications (1)

Publication Number Publication Date
CN105931149A true CN105931149A (en) 2016-09-07

Family

ID=56839259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610242152.1A Pending CN105931149A (en) 2016-04-19 2016-04-19 Tourism system platform

Country Status (1)

Country Link
CN (1) CN105931149A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600313A (en) * 2018-03-22 2018-09-28 厦门欣旅通科技有限公司 A kind of travelling products delivery system, method and system docking facilities

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593208A (en) * 2009-07-09 2009-12-02 浙江大学 A kind of ancestor ground space-time data storage means of the dynamic correction extended model based on ground state
CN101830241A (en) * 2009-03-12 2010-09-15 上海科泰信息技术有限公司 Configurator of track traffic system and method thereof
US20130265154A1 (en) * 2012-04-05 2013-10-10 Amadeus S.A.S. Traveler hurry status monitor
CN104468211A (en) * 2014-12-02 2015-03-25 中广核工程有限公司 Nuclear power station numerical control system platform communication failure diagnostic system and method
CN104952007A (en) * 2015-06-25 2015-09-30 华迪计算机集团有限公司 Tour guide terminal system and tour guide method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101830241A (en) * 2009-03-12 2010-09-15 上海科泰信息技术有限公司 Configurator of track traffic system and method thereof
CN101593208A (en) * 2009-07-09 2009-12-02 浙江大学 A kind of ancestor ground space-time data storage means of the dynamic correction extended model based on ground state
US20130265154A1 (en) * 2012-04-05 2013-10-10 Amadeus S.A.S. Traveler hurry status monitor
CN104468211A (en) * 2014-12-02 2015-03-25 中广核工程有限公司 Nuclear power station numerical control system platform communication failure diagnostic system and method
CN104952007A (en) * 2015-06-25 2015-09-30 华迪计算机集团有限公司 Tour guide terminal system and tour guide method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600313A (en) * 2018-03-22 2018-09-28 厦门欣旅通科技有限公司 A kind of travelling products delivery system, method and system docking facilities
CN108600313B (en) * 2018-03-22 2021-05-07 厦门欣旅通科技有限公司 Tourism product release system, method and system docking device

Similar Documents

Publication Publication Date Title
DE102020208776A1 (en) DECENTRALIZED EDGE COMPUTING TRANSACTIONS WITH FINE GRANULAR TIME COORDINATION
Bao et al. Managing massive trajectories on the cloud
US8949175B2 (en) Meta-data driven data ingestion using MapReduce framework
CN116737775A (en) Data serialization in a distributed event processing system
CN106775883B (en) Dynamic packaging method and packaging system for tourism resources
US9723045B2 (en) Communicating tuples in a message
Limkar et al. A novel method for parallel indexing of real time geospatial big data generated by IoT devices
CN108363713A (en) Video image information resolver, system and method
CN103259872A (en) Multi-source heterogeneous geographic information service platform based on open-type grid system
CN109257422B (en) Method for reconstructing perception network information
CN114398194A (en) Data collection method and device, electronic equipment and readable storage medium
CN114386509A (en) Data fusion method and device, electronic equipment and storage medium
Li et al. Graph-based semantic evolution for context information management platforms
CN106022727B (en) Enterprise supply chain management method
CN105931149A (en) Tourism system platform
CN106791932A (en) Distributed trans-coding system, method and its device
CN110532313A (en) DEU data exchange unit
CN105956944A (en) System used for trip
Zhu et al. Rtic-c: A cloud computing platform for history data mining of traffic information
CN109669777B (en) Industrial internet big data element demand service providing method and system
CN106022615B (en) Enterprise resource management method based on cloud computing
Liu et al. Web service integrated cloud computing management information system
CN102903030B (en) The method that between heterogeneous system, different working flow carries out task process
ZHANG et al. An Enhanced Microkernel for the Design of Location Based Services (LBS) using Free Open Source Software (FOSS).
CN108090061A (en) A kind of difference organization data source 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160907