CN104751257A - Management system of hotel data - Google Patents
Management system of hotel data Download PDFInfo
- Publication number
- CN104751257A CN104751257A CN201310729100.3A CN201310729100A CN104751257A CN 104751257 A CN104751257 A CN 104751257A CN 201310729100 A CN201310729100 A CN 201310729100A CN 104751257 A CN104751257 A CN 104751257A
- Authority
- CN
- China
- Prior art keywords
- data
- hotel
- management system
- order
- static
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a management system of hotel data. The management system comprises a static database, a dynamic database, a writing interface and a unique reading interface, wherein the static database is used for storing static data of a hotel; the daily variation of the static data is of a first order of magnitude; the dynamic database is used for storing dynamic data of the hotel; the daily variation of the dynamic data is of a second order of magnitude; the first order of the magnitude is lower than the second order of magnitude; the writing interface is used for writing the static data in the static database and the dynamic data in the dynamic database into at least one data node according to writing configuration; each data node corresponds to a data node backup storing a data image of the data node; and the unique reading interface is used for receiving an application request input by a user, and reading data matched with the application request from the data node backups according to reading configuration. Through adoption of the management system, the writing bottleneck of the databases is broken; the consistence of the interface logic is ensured; data overflow is effectively prevented; and the reading-writing performance of data is enhanced.
Description
Technical field
The present invention relates to the management system of a kind of hotel data, particularly relate to a kind of can utilization and unified read the management system that interface reads hotel's data of hotel's data of distributed storage.
Background technology
As shown in Figure 1, in the management system of existing hotel data, whole hotel's data are all kept in a database, cause the data that store in database too many, cause database write bottleneck serious, artificial frequency and quantity of reducing some write data is needed, Data Update ageing bad when data volume is too large.And, respective buffer memory is set up in each application (comprising inquiry application, the application of data details and order application) for hotel all respectively, the reading logic causing each to apply and cache logic are respective exploitations, independently, even if read the unified field in the uniform data table of same database, also may be inconsistent for different applied logics.And it is more difficult for all making independently distributed caching to each application, because the size of buffer memory is usually limited, when data volume is too large, data from overflow can be caused.Interface simultaneously for different application cannot carry out parallel expansion, and when data volume or concurrency increase, server has the possibility that time-out even stops service.
Summary of the invention
The technical problem to be solved in the present invention is all kept in a database to overcome hotel's data whole in prior art, and respective buffer memory is set up for different application, causing data to be write, bottleneck is serious, reading logic of each application is all not identical with cache logic and application interface cannot carry out the defect of parallel expansion, provides a kind of can utilization unified to read the management system that interface reads hotel's data of hotel's data of distributed storage.
The present invention solves above-mentioned technical matters by following technical proposals:
The invention provides the management system of a kind of hotel data, its feature is, comprising:
One static database, for storing the static data in described hotel, the daily variation of described static data is one first order of magnitude;
One dynamic data base, for storing the dynamic data in described hotel, the daily variation of described dynamic data is one second order of magnitude; Described first order of magnitude is less than described second order of magnitude;
One writes interface, for writing at least one back end according to writing configuration by the dynamic data in the static data in described static database and described dynamic data base; Each back end all corresponding at least one store the back end backup of the data image of described back end;
One unique reads interface, for receiving the application request of user's input, reads the data matched with described application request according to reading to configure from back end backup.
Changeless data are also stored in described static database, the address in such as each hotel, the telephone number etc. in each hotel, in the management system of hotel of the present invention data, by a large amount of hotel's data are transferred to multiple back end from same database, database is made no longer to occur writing bottleneck, and utilize unified interface of reading to read data, ensure that the consistance of interface logic.Further, in the present invention, no longer need to set up respective buffer memory to different application, effectively prevent the spilling of data, ensure that the normal operation of server, thus improve the readwrite performance of data, improve the ageing of data and consistance.
Wherein, described in write configuration and described in read configuration all can modify according to actual needs, thus customize with achieving configurableization reading or return data.
Preferably, the data stored in each described back end major key that all correspondence one is unique, records the database, tables of data and the data field that store data in described major key.
Preferably, the form of the data stored in described back end is character string, xml(extend markup language) field, list or Hash table.
Preferably, described first order of magnitude is 1,000,000 grades, and described second order of magnitude is millions or hundred million grades.
Preferably, described application request is inquiry request, the request of data details or order request.
Preferably, the static data stored in described static database comprises hotel information, user's order and user data.
Preferably, the dynamic data stored in described dynamic data base comprises hotel's room rate, hotel room amount and hotel room state.
Positive progressive effect of the present invention is: the present invention is by transferring to multiple back end by a large amount of hotel's data from same database, database is made no longer to occur writing bottleneck, and utilize unified interface of reading to read data, ensure that the consistance of interface logic.In the present invention, no longer need to set up respective buffer memory to different application, effectively prevent the spilling of data, ensure that the normal operation of server, thus improve the readwrite performance of data, improve the ageing of data and consistance, customize reading or return data with achieving configurableization.
Accompanying drawing explanation
Fig. 1 is the structural representation of the management system of hotel's data of prior art.
Fig. 2 is the structural representation of the management system of hotel's data of a preferred embodiment of the present invention.
Embodiment
Mode below by embodiment further illustrates the present invention, but does not therefore limit the present invention among described scope of embodiments.
As shown in Figure 2, the management system of hotel of the present invention data comprises that static database 1, dynamic data base 2, writes interface 3, at least one back end 4, at least one back end backup 5 and unique read interface 6.
Wherein, the static data of the core in described hotel can be stored in described static database 1, such as hotel information, user's order and user data etc., the true property of this type of data alignment requires higher, data volume is relatively little, the variable quantity of every day at 1,000,000 grades, certainly, some changeless data are also stored, the address in such as each hotel, the telephone number etc. in each hotel in described static database.
Then store a large amount of changes data frequently in described dynamic data base 2, comprise hotel's room rate, hotel room amount and hotel room state etc., the renewal amount of this kind of data is very large, and the variable quantity of every day is substantially at about hundred million grades.
Described write interface 3 bases write configuration the static data in described static database 1 and the dynamic data in described dynamic data base 2 are write at least one back end 4, data in each back end 4 store with the form of " major key-data content ", wherein major key is the unique identification of each data, wherein record and store the database of data, tables of data and data field, and the form of data in data content can be character string, xml field, list or Hash table etc.Described configuration those data that then can control in described static database 1 and described dynamic data base 2 of writing can write at least one back end 4 described, describedly write configuration and can modify online according to actual needs, described in write interface 3 and just configure the data of specifying write at least one back end 4 described by by described writing.
Wherein, back end 4 can distributed parallel expansion, and it is only write, and writes the data that interface 3 writes described in receiving only.Each back end 4 is corresponding at least one data node standby 5 also, described back end backup 5 is the mirror image of back end 4, wherein store the data image in described back end 4, described back end backup 5 is read-only, reads interface 6 and be supplied to each application described in data wherein can being passed through.
Described read interface 6 can receive user input application request, which application according to what read that Allocation Analysis user specifically asks, can be such as inquiry request, the request of data details or order request etc., then from described back end backup 5, read the data matched with described application request, described in read configuration and also can modify according to actual needs.
In the management system of hotel of the present invention data, by a large amount of hotel's data are transferred to multiple back end from same database, make database no longer occur writing bottleneck, and utilize unified interface of reading to read data, ensure that the consistance of interface logic.In the present invention, no longer need to set up respective buffer memory to different application, effectively prevent the spilling of data, ensure that the normal operation of server, thus improve the readwrite performance of data, improve the ageing of data and consistance.
Although the foregoing describe the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is defined by the appended claims.Those skilled in the art, under the prerequisite not deviating from principle of the present invention and essence, can make various changes or modifications to these embodiments, but these change and amendment all falls into protection scope of the present invention.
Claims (7)
1. a management system for hotel's data, is characterized in that, comprising:
One static database, for storing the static data in described hotel, the daily variation of described static data is one first order of magnitude;
One dynamic data base, for storing the dynamic data in described hotel, the daily variation of described dynamic data is one second order of magnitude; Described first order of magnitude is less than described second order of magnitude;
One writes interface, for writing at least one back end according to writing configuration by the dynamic data in the static data in described static database and described dynamic data base; Each back end all corresponding at least one store the back end backup of the data image of described back end;
One unique reads interface, for receiving the application request of user's input, reads the data matched with described application request according to reading to configure from back end backup.
2. management system as claimed in claim 1, is characterized in that, the data stored in each described back end major key that all correspondence one is unique, records the database, tables of data and the data field that store data in described major key.
3. management system as claimed in claim 2, it is characterized in that, the form of the data stored in described back end is character string, xml field, list or Hash table.
4. as the management system in claim 1-3 as described in any one, it is characterized in that, described first order of magnitude is 1,000,000 grades, and described second order of magnitude is millions or hundred million grades.
5. management system as claimed in claim 4, it is characterized in that, described application request is inquiry request, the request of data details or order request.
6. management system as claimed in claim 5, it is characterized in that, the static data stored in described static database comprises hotel information, user's order and user data.
7. management system as claimed in claim 6, it is characterized in that, the dynamic data stored in described dynamic data base comprises hotel's room rate, hotel room amount and hotel room state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310729100.3A CN104751257A (en) | 2013-12-25 | 2013-12-25 | Management system of hotel data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310729100.3A CN104751257A (en) | 2013-12-25 | 2013-12-25 | Management system of hotel data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104751257A true CN104751257A (en) | 2015-07-01 |
Family
ID=53590901
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310729100.3A Pending CN104751257A (en) | 2013-12-25 | 2013-12-25 | Management system of hotel data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104751257A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105894640A (en) * | 2016-04-28 | 2016-08-24 | 北京佳阳科技有限公司 | Guest room door lock management method and device |
CN107402982A (en) * | 2017-07-07 | 2017-11-28 | 阿里巴巴集团控股有限公司 | Data write-in, data matching method, device and computing device |
CN110221778A (en) * | 2019-05-27 | 2019-09-10 | 携程计算机技术(上海)有限公司 | Processing method, system, storage medium and the electronic equipment of hotel's data |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183377A (en) * | 2007-12-10 | 2008-05-21 | 华中科技大学 | High availability data-base cluster based on message middleware |
CN101493826A (en) * | 2008-12-23 | 2009-07-29 | 中兴通讯股份有限公司 | Database system based on WEB application and data management method thereof |
CN101578599A (en) * | 2006-08-07 | 2009-11-11 | 米谋萨系统有限公司 | Synthesis of fatty acids |
CN101582090A (en) * | 2009-07-07 | 2009-11-18 | 北京黑米世纪信息技术有限公司 | Distributed processing method and system based on WEB analysis |
CN102033889A (en) * | 2009-09-29 | 2011-04-27 | 熊凡凡 | Distributed database parallel processing system |
CN102053982A (en) * | 2009-11-02 | 2011-05-11 | 阿里巴巴集团控股有限公司 | Method and equipment for managing database information |
CN102999587A (en) * | 2011-11-16 | 2013-03-27 | 微软公司 | Arrangement for mirror database across different servers used for failover |
CN103186554A (en) * | 2011-12-28 | 2013-07-03 | 阿里巴巴集团控股有限公司 | Distributed data mirroring method and data storage node |
-
2013
- 2013-12-25 CN CN201310729100.3A patent/CN104751257A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101578599A (en) * | 2006-08-07 | 2009-11-11 | 米谋萨系统有限公司 | Synthesis of fatty acids |
CN101183377A (en) * | 2007-12-10 | 2008-05-21 | 华中科技大学 | High availability data-base cluster based on message middleware |
CN101493826A (en) * | 2008-12-23 | 2009-07-29 | 中兴通讯股份有限公司 | Database system based on WEB application and data management method thereof |
CN101582090A (en) * | 2009-07-07 | 2009-11-18 | 北京黑米世纪信息技术有限公司 | Distributed processing method and system based on WEB analysis |
CN102033889A (en) * | 2009-09-29 | 2011-04-27 | 熊凡凡 | Distributed database parallel processing system |
CN102053982A (en) * | 2009-11-02 | 2011-05-11 | 阿里巴巴集团控股有限公司 | Method and equipment for managing database information |
CN102999587A (en) * | 2011-11-16 | 2013-03-27 | 微软公司 | Arrangement for mirror database across different servers used for failover |
CN103186554A (en) * | 2011-12-28 | 2013-07-03 | 阿里巴巴集团控股有限公司 | Distributed data mirroring method and data storage node |
Non-Patent Citations (2)
Title |
---|
段博: "B2B电子商务分销模式的研究与实践", 《中国优秀硕士学位论文全文数据库(经济与管理科学辑)》 * |
王德文 等: "基于Hive的电力设备状态信息数据仓库", 《电力系统保护与控制》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105894640A (en) * | 2016-04-28 | 2016-08-24 | 北京佳阳科技有限公司 | Guest room door lock management method and device |
CN107402982A (en) * | 2017-07-07 | 2017-11-28 | 阿里巴巴集团控股有限公司 | Data write-in, data matching method, device and computing device |
CN110221778A (en) * | 2019-05-27 | 2019-09-10 | 携程计算机技术(上海)有限公司 | Processing method, system, storage medium and the electronic equipment of hotel's data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11403321B2 (en) | System and method for improved performance in a multidimensional database environment | |
US20090210464A1 (en) | Storage management system and method thereof | |
CN108009008A (en) | Data processing method and system, electronic equipment | |
CN100585595C (en) | Method for managing file system data using dbms | |
CN105183839A (en) | Hadoop-based storage optimizing method for small file hierachical indexing | |
CN101576918A (en) | Data buffering system with load balancing function | |
CN103488685B (en) | Fragmented-file storage method based on distributed storage system | |
CN104111804A (en) | Distributed file system | |
CN107807787B (en) | Distributed data storage method and system | |
CN105677251A (en) | Storage system based on Redis cluster | |
CN105718217A (en) | Method and device for maintaining data consistency of thin provisioning database | |
CN109804359A (en) | For the system and method by write back data to storage equipment | |
EP3864518A1 (en) | Generating hash trees for database schemas | |
CN105653720A (en) | Database hierarchical storage optimization method capable of achieving flexible configuration | |
CN1987864A (en) | Method and system for access data base | |
US11249968B2 (en) | Large object containers with size criteria for storing mid-sized large objects | |
CN103473258A (en) | Cloud storage file system | |
CN103279489A (en) | Method and device for storing metadata | |
CN106155580B (en) | A kind of storage method and system based on embedded multi-media card eMMC | |
CN104751257A (en) | Management system of hotel data | |
CN112334891A (en) | Centralized storage for search servers | |
CN107291386B (en) | A kind of cache management system and method for blue light VTL gateways | |
CN101261639B (en) | Sharing of database objects | |
CN109983452A (en) | System and method for continuously available Network File System (NFS) status data | |
CN107885824A (en) | A kind of data read-write method and 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 |
Application publication date: 20150701 |
|
RJ01 | Rejection of invention patent application after publication |