CN205142283U - Multi -platform data sharing system - Google Patents
Multi -platform data sharing system Download PDFInfo
- Publication number
- CN205142283U CN205142283U CN201520914319.5U CN201520914319U CN205142283U CN 205142283 U CN205142283 U CN 205142283U CN 201520914319 U CN201520914319 U CN 201520914319U CN 205142283 U CN205142283 U CN 205142283U
- Authority
- CN
- China
- Prior art keywords
- server
- data
- mentioned
- client
- database
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The utility model discloses a multi -platform data sharing system. Above -mentioned system includes: the memory server, the primary server to above -mentioned memory server inquiry data, loading data and refresh data is connected with above -mentioned memory server, at least one follow server to above -mentioned memory server inquiry data, loading data is connected with above -mentioned the primary server and above -mentioned memory server, database server is connected from the server with above -mentioned the primary server and above -mentioned one or more. According to the utility model provides a technical scheme, under the authentic and valid prerequisite of the data of guaranteeing the memory server, minimum degree tie down the reliance to the database, this kind of mode has reduced the visit pressure of database, improvement that can be very big customer end time of refreshing data.
Description
Technical field
The utility model relates to the communications field, in particular to the multi-platform data-sharing systems of one.
Background technology
It is the hot issue of current research that the internal memory of different business platform is shared always, and mostly adopt http, the Base communication modes such as tcp, udp carry out information interaction.But because the server memory data management mode of different platform is not quite similar, the simple internal memory that relies on is accessed mutually and cannot be accomplished.In addition, also by Database vendors data, the advantage of database from needless to say, but his shortcoming to be data interaction too slow, be difficult to meet Data Update especially alternately than business more frequently.
In correlation technique, because the internal memory on server is according to certain logical construction enclosed storage, other servers cannot be accessed, can just seem necessary with other server shared drives, server logic framework as shown in Figure 1, A server is used for the data of receiving area reason applications client, concrete data variation logic (such as virtual location in game, activated state, exports, gold coin experience etc.), these interactive quantities are little, architecture logic is strong, and frequency abnormality is frequent, if customer end A (Client-A) is to the interactive mode of A server transmission data.Final data can be stored in database after A server process completes, and notify that B server is read out (due between 2 kinds of servers realizing here be weak alternately), for saving development cost, here B server generally can adopt periodic refreshing to extract data, and client at every turn by B server pulling data time, accessing database is not stopped in capital, so the invisible access of database of giving is added huge pressure, the time of each accessing database is also quite long simultaneously, be not suitable for the service interaction of too frequent visit data and so on.
Utility model content
The utility model discloses a kind of multi-platform data-sharing systems, adopt traditional server Logic Architecture at least to solve in correlation technique, each accessing database chronic, be not suitable for the problem of the service interaction of too frequent visit data and so on.
According to the utility model, provide a kind of multi-platform data-sharing systems.
Comprise according to multi-platform data-sharing systems of the present utility model: inner server; To above-mentioned inner server data query, the master server loading data and more new data, be connected with above-mentioned inner server; To above-mentioned inner server data query, load at least one of data from server, be connected with above-mentioned inner server with above-mentioned master server; Database server, to be one or morely connected from server with above-mentioned with above-mentioned master server.
Pass through the utility model, adopt designing a model of the auxiliary database of main memory of mixing, Memory Backup between the server that can reduce multiple stage variety classes, platform, ensureing under the prerequisite that the data of inner server are authentic and valid, the dependence tied down database of minimum degree, this mode reduces the access pressure of database, can greatly improve the time of client refreshes data.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the server logic framework according to correlation technique;
Fig. 2 is the structured flowchart of the multi-platform data-sharing systems according to the utility model embodiment; And
Fig. 3 is the schematic diagram of the multi-platform data-sharing systems according to the utility model preferred embodiment.
Embodiment
Below in conjunction with Figure of description, specific implementation of the present utility model is made a detailed description.
Fig. 2 is the structured flowchart of the multi-platform data-sharing systems according to the utility model embodiment.As shown in Figure 2, this multi-platform data-sharing systems comprises: inner server 20; To above-mentioned inner server data query, the master server 21 loading data and more new data, be connected with above-mentioned inner server; To above-mentioned inner server data query, load at least one of data from server 22, be connected with above-mentioned inner server 20 with above-mentioned master server 21; Database server 23, to be one or morely connected from server 22 with above-mentioned with above-mentioned master server 21.
Adopt the multi-platform data-sharing systems shown in Fig. 2, Memory Backup between the server that can reduce multiple stage variety classes, platform, ensureing under the prerequisite that the data of inner server are authentic and valid, the dependence tied down database of minimum degree, this mode reduces the access pressure of database, can greatly improve the time of client refreshes data.
In preferred implementation process, master server act as: audit memory server data information, loads data into inner server, upgrades inner server; Act as from server: audit memory server data information, loads data into inner server.Principal and subordinate's server all has and reads the function of data, and for preventing from many ways upgrading the dirty data that concurrent internal memory causes simultaneously, set master server just has write authority, and namely a side writes the pattern in many ways read.
Preferably, the data stored in above-mentioned inner server have default life cycle, and above-mentioned life cycle calculates from the up-to-date once-through operation time to these data, and at the end of above-mentioned life cycle, above-mentioned inner server discharges this data; And when above-mentioned inner server is restarted, redistribute internal memory, need to reload data.
Preferably, above-mentioned master server and above-mentioned at least one to read the data failure above-mentioned inner server from server time, above-mentioned master server and above-mentioned at least one from above-mentioned database server, extract Data import to above-mentioned inner server from server in Dynamic trigger mode.
Extracting from database in the mode of Dynamic trigger after principal and subordinate's server reads data failure is loaded in inner server, the reason reading data meeting failed is as follows, because the memory size of inner server is limited, so data setting to an internal memory life cycle, when the last operating time (such as read operation or write operation) start at, at the end of life cycle, server can be discharged automatically.In addition, also internal memory can be redistributed during Server Restart, this just needs to extract basic data from the database of specifying, designing a model of the auxiliary database of this main memory, control the concurrent write of multiple servers, and ensureing under the prerequisite that the data of inner server are authentic and valid, the dependence tied down database of minimum degree.
Preferably, above-mentioned multi-platform data-sharing systems can also comprise: at least one first client; Above-mentioned master server, be arranged at the data receiving and come from least one the first client above-mentioned, and the data received are processed, while the data write into Databasce server after process, with the data that key assignments form exists in the above-mentioned inner server of synchronized update.
Preferably, master server, be arranged in the above-mentioned inner server of synchronized update with key assignments form exist data after, with broadcast mode notify above-mentioned at least one from server; Above-mentioned at least one from the one or more servers server, be arranged at when needs obtain current latest data, directly from above-mentioned inner server, extract above-mentioned latest data.
Preferably, above-mentioned multi-platform data-sharing systems can also comprise: at least one second client, wherein, at least one second client above-mentioned, above-mentioned at least one from after the one or more servers server extract above-mentioned latest data from above-mentioned inner server, receive the above-mentioned latest data transmitted in above-mentioned one or more server.
Above-mentioned preferred implementation is further described below in conjunction with Fig. 3.
Fig. 3 is the schematic diagram of the multi-platform data-sharing systems according to the utility model preferred embodiment.As shown in Figure 3, this multi-platform data-sharing systems comprises: inner server, master server, from server (shown in figure one), database server, the first client (Client-A Fig. 3), the second client (Client-B in Fig. 3).
In preferred implementation process, master server receives the data coming from least one the first client, by while data write into Databasce after deal with data, the key assignments (data in internal memory are with the process of key-value mode) existed in isochronous memory server, so just can ensure that the data stored in inner server are valid data, master server is also broadcasted key assignments by broadcast mode as udp mode and is changed, other servers just can make corresponding process according to the server logic of oneself, when the second client (Client-B in Fig. 3) needs just can directly extract from inner server when obtaining latest data, pass to client.
Below in conjunction with the application example explanation of a group chat chatroom.Master server is c++ server, is php server from server.Chatroom is an object temporarily created, create when multiple user starts to chat, terminating chat is close, wherein relate to number of members, the speech of wheat under upper wheat, and the state variation of the self attributes of each member, multiple change, its service interaction is extremely frequent, and its mutual core is placed in c++ server.Php server is based on current pattern, the room record needing to know that people is current or once had, and the concrete state that each room is current, all only need from inner server, extract these information, only need extract from inner server and refresh when client receives Status Change notice.And do not need by periodic refreshing from server, and this mode reduces the access pressure of database, can improve the time of client refreshes data greatly.
In sum, by above-described embodiment that the utility model provides, this internal memory is adopted to share designing a model of the auxiliary database of the main memory mixed with database, multiple stage variety classes can be reduced, Memory Backup between the server of platform (need not often station server all store the memory block of same effect), a large amount of somewhat complex design is spent without server, communication interaction and code logic remove the internal storage data stationary problem safeguarded between each server, and ensureing under the prerequisite that the data of inner server are authentic and valid, the dependence tied down database of minimum degree, this mode reduces the access pressure of database, the time of client refreshes data can be greatly improved.
Be only several specific embodiment of the present utility model above, but the utility model is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection range of the present utility model.
Claims (6)
1. a multi-platform data-sharing systems, is characterized in that, comprising:
Inner server;
To described inner server data query, the master server loading data and more new data, be connected with described inner server;
To described inner server data query, load at least one of data from server, be connected with described inner server with described master server;
Database server, to be one or morely connected from server with described with described master server.
2. system according to claim 1, it is characterized in that, the data stored in described inner server have default life cycle, and described life cycle calculates from the up-to-date once-through operation time to these data, at the end of described life cycle, described inner server discharges this data; And when described inner server is restarted, redistribute internal memory, need to reload data.
3. system according to claim 2, it is characterized in that, described master server and described at least one to read the data failure described inner server from server time, described master server and described at least one from described database server, extract Data import to described inner server from server in Dynamic trigger mode.
4. system according to claim 1, is characterized in that, described multi-platform data-sharing systems also comprises: at least one first client;
Described master server, be arranged at the data receiving and come from least one the first client described, and the data received are processed, while the data write into Databasce server after process, with the data that key assignments form exists in inner server described in synchronized update.
5. system according to claim 4, is characterized in that,
Described master server, is arranged at after the data of key assignments form existence in inner server described in synchronized update, and described in notifying with broadcast mode, at least one is from server;
Described at least one from the one or more servers server, be arranged at when needs obtain current latest data, directly from described inner server, extract described latest data.
6. system according to claim 5, it is characterized in that, described multi-platform data-sharing systems also comprises: at least one second client, wherein, at least one second client described, described at least one from after the one or more servers server extract described latest data from described inner server, receive the described latest data transmitted in described one or more server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520914319.5U CN205142283U (en) | 2015-11-17 | 2015-11-17 | Multi -platform data sharing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520914319.5U CN205142283U (en) | 2015-11-17 | 2015-11-17 | Multi -platform data sharing system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN205142283U true CN205142283U (en) | 2016-04-06 |
Family
ID=55628032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201520914319.5U Active CN205142283U (en) | 2015-11-17 | 2015-11-17 | Multi -platform data sharing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN205142283U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106550037A (en) * | 2016-11-07 | 2017-03-29 | 天脉聚源(北京)传媒科技有限公司 | A kind of method and device of server data sharing |
CN106921746A (en) * | 2017-03-22 | 2017-07-04 | 重庆允升科技有限公司 | A kind of data synchronous system and method for data synchronization |
CN113672640A (en) * | 2021-06-28 | 2021-11-19 | 深圳云之家网络有限公司 | Data query method and device, computer equipment and storage medium |
-
2015
- 2015-11-17 CN CN201520914319.5U patent/CN205142283U/en active Active
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106550037A (en) * | 2016-11-07 | 2017-03-29 | 天脉聚源(北京)传媒科技有限公司 | A kind of method and device of server data sharing |
CN106550037B (en) * | 2016-11-07 | 2019-09-24 | 天脉聚源(北京)传媒科技有限公司 | A kind of method and device of server data sharing |
CN106921746A (en) * | 2017-03-22 | 2017-07-04 | 重庆允升科技有限公司 | A kind of data synchronous system and method for data synchronization |
CN113672640A (en) * | 2021-06-28 | 2021-11-19 | 深圳云之家网络有限公司 | Data query method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108848039B (en) | Server, message distribution method and storage medium | |
CN106506703B (en) | Service discovery method, apparatus and system, server based on shared drive | |
CN205142283U (en) | Multi -platform data sharing system | |
CN102495857A (en) | Load balancing method for distributed database | |
CN107908521A (en) | A kind of monitoring method of container performance on the server performance and node being applied under cloud environment | |
CN103164525A (en) | Method and device for WEB application release | |
CN102710763A (en) | Method and system for pooling, slicing and fault transfer of distributed cache | |
CN106446038A (en) | Hybrid database-based data access control system and method | |
CN105357306A (en) | Multi-platform data sharing system and data sharing method therefor | |
CN110888858A (en) | Database operation method and device, storage medium and electronic device | |
CN107844711B (en) | Data manipulation permission partition method, application server and computer readable storage medium | |
CN103581229A (en) | Distributed file system, file access method and client terminal | |
CN106372160A (en) | Distributive database and management method | |
US11741081B2 (en) | Method and system for data handling | |
CN102917036A (en) | Memcached-based distributed cache data synchronization realization method | |
CN109165712A (en) | Distributed generation method, device and computer storage medium by stages number | |
US11138231B2 (en) | Method and system for data handling | |
CN107590199A (en) | A kind of multi-thread data storehouse design method towards internal memory | |
CN104714923A (en) | Method and device for achieving equipment sharing | |
CN106469224A (en) | A kind of expansible data model for SaaS platform | |
CN110728379A (en) | Configuration information management method and device, electronic equipment and non-transitory storage medium | |
CN101751292A (en) | Method for realizing consistency function of multimachine core data in ATC (automatic timing corrector) system | |
CN104166820A (en) | Data management method and system | |
EP3686751A1 (en) | Method and system for data handling | |
CN115238006A (en) | Retrieval data synchronization method, device, equipment and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |