CN104125252B - Data-storage system and method - Google Patents
Data-storage system and method Download PDFInfo
- Publication number
- CN104125252B CN104125252B CN201310153124.9A CN201310153124A CN104125252B CN 104125252 B CN104125252 B CN 104125252B CN 201310153124 A CN201310153124 A CN 201310153124A CN 104125252 B CN104125252 B CN 104125252B
- Authority
- CN
- China
- Prior art keywords
- service data
- server
- storage
- synchronous service
- queue
- 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
Abstract
A kind of data-storage system, including application server, queue management system and storage server, wherein:The application server is used to obtain access request, generates business datum according to the access request, the business datum includes synchronous service data;The application server is additionally operable to that the synchronous service data is sent into the queue management system by UDP connections;The queue management system is used to the synchronous service data received being added in buffer queue, and extracts the synchronous service data in the buffer queue, sends it to the storage server;The storage server is used to store the synchronous service data received.In addition, additionally provide a kind of date storage method.Above-mentioned data-storage system and method can improve the real-time of business processing.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of data-storage system and method.
Background technology
The Internet, applications in conventional art generally have model layer, view layer and key-course three-decker.Model layer
Usually database or database caches, view layer are displayed page, and key-course is operation flow logic.When user is in internet
When the input operation of application is write operation, then the access request as corresponding to key-course obtains user's input operation, and generating correspondingly
Business datum, then by business datum write model layer database in.
However, in conventional art, the key-course generation business datum and operation for writing the database of model layer is synchronization
Operation, i.e., the business datum of generation is stored into model layer database by TCP connections.And traditional database is due to concurrent
Measure limited so that above-mentioned simultaneously operating has extremely low execution efficiency when visit capacity is larger, causes part to correspond to core business
Access request cannot handle and make the feedback information that user can not meet with a response in time as early as possible, so as to reduce business processing
Real-time.
The content of the invention
Based on this, it is necessary to provide a kind of data-storage system for the real-time that can improve business processing.
A kind of data-storage system, including application server, queue management system and storage server, wherein:
The application server is used to obtain access request, and business datum, the business are generated according to the access request
Data include synchronous service data;
The application server is additionally operable to that the synchronous service data is sent into the queue management system by UDP connections
System;
The queue management system is used to the synchronous service data received being added in buffer queue, and described in extraction
Synchronous service data in buffer queue, send it to the storage server;
The storage server is used to store the synchronous service data received.
In one of the embodiments, the queue management system also includes join the team server, queue memory;
The application server is additionally operable to the synchronous service data passing through UDP linkup transmits to the service of joining the team
Device;
The server of joining the team is used to the synchronous service data received being added in the queue memory.
In one of the embodiments, the queue management system also includes group server, it is described go out group server use
Synchronous service data is extracted in by the queue memory, and the synchronous service data extracted is sent to the storage and taken
Business device.
In one of the embodiments, the storage server is additionally operable to obtain the storage for storing the synchronous service data
State, by the storage state return to it is described go out group server;
It is described go out group server be additionally operable to record the storage state of the synchronous service data.
In one of the embodiments, the business datum also includes synchronous service data;
The application server is additionally operable to that the synchronous service data are sent into the storage service by TCP connections
Device;
The storage server is additionally operable to the synchronous service data that storage receives.
A kind of date storage method for the real-time that can improve business processing is provided in addition, there is a need to.
A kind of date storage method, this method are included based on foregoing data-storage system, this method:
The application server obtains access request, and business datum, the business datum are generated according to the access request
Including synchronous service data;
The synchronous service data is sent to the queue management system by the application server by UDP connections;
The synchronous service data received is added in buffer queue by the queue management system, and extracts the caching
Synchronous service data in queue, send it to the storage server;
The synchronous service data that the storage server storage receives.
In one of the embodiments, the queue management system also includes join the team server, queue memory;
The synchronous service data is sent to the step of the queue management system by UDP connections by the application server
Suddenly include:
The synchronous service data is passed through UDP linkup transmits to the server of joining the team by the application server;
The synchronous service data received is added in the queue memory by the server of joining the team.
In one of the embodiments, the queue management system also includes group server;
The queue management system extracts the synchronous service data in the buffer queue, sends it to the storage clothes
Be engaged in device the step of be:
It is described go out group server by extracting synchronous service data in the queue memory, and will extract what be obtained by described
Synchronous service data is sent to the storage server.
In one of the embodiments, after the step of synchronous service data that the storage server storage receives also
Including:
The storage server obtains the storage state for storing the synchronous service data, and the storage state is returned
It is described go out group server;
It is described go out synchronous service data described in group server record storage state.
In one of the embodiments, the business datum also includes synchronous service data;
Also include after the step of application server generates business datum according to the access request:
The synchronous service data are sent to the storage server by the application server by TCP connections;
The synchronous service data that the storage server storage receives.
Above-mentioned data-storage system and method, queue management system is sent to by way of UDP by synchronous service data,
Queue management system is added in buffer queue, then in order(Buffer queue is the order of first in first out)By caching team
Extract and be stored in storage server, and conventional art compared with TCP is directly by way of database connection in row, be
A kind of asynchronous mode, application server need to only handle synchronous service data and can return to response letter corresponding with access request
Breath, and without being blocked by the storing process of synchronous service data so that the processing speed of access request is accelerated, so as to carry
The high real-time of business processing.
Brief description of the drawings
Fig. 1 is the structural representation of data-storage system in one embodiment;
Fig. 2 is the structural representation of data-storage system in another embodiment;
Fig. 3 is the flow chart of date storage method in one embodiment.
Embodiment
In one embodiment, as shown in figure 1, a kind of data-storage system 10, including application server 100, queue pipe
Reason system 200 and storage server 300, wherein:
Application server 100 is used to obtain access request, generates business datum according to access request, business datum includes different
Walk business datum.
Application server 100 is additionally operable to that synchronous service data is sent into queue management system 200 by UDP connections.
Queue management system 200 is used to the synchronous service data received being added in buffer queue, and extracts caching
Synchronous service data in queue, send it to storage server 300.
Storage server 300 is used to store the synchronous service data received.
Application server 100 can be web server, game server etc..User can be by sending out to application server 100
Access request is sent to carry out write operation.For example, if user has carried out a MMOG by network game client,
In game process, user can input game command by network game client, and network game client is by the game command
It is encapsulated as access request and is sent to corresponding application server 100, so as to realizes the interaction with other players.
Business datum is that the needs that application server 100 generates according to the access request received store the number for arriving model layer
According to.Business datum may include synchronous service data and synchronous service data.
Synchronous service data are usually core data, it is necessary to synchronous storage is into model layer, and Holding Model layer returns
Storage state, that is, store success status or storing process abnormality.
Synchronous service data is usually noncore data, such as the daily record that application server 100 generates according to access request
Information, statistical information etc..Synchronous mode is not strict with storage to synchronous service data, stores synchronous service data
Storage state need not return to client corresponding to access request in real time.
In one embodiment, application server 100 can be used for synchronous service data are sent into storage by TCP connections
Server 300.
Storage server 300 is additionally operable to the synchronous service data that storage receives.
As above in example, user can control people's object angle in online game by the game command that network game client inputs
The attribute change of color, after application server 100 receives corresponding access request, due to needing will to be generated according to access request
The storage state of the attribute change value of character feeds back to network game client in time, and therefore, it is synchronous service data,
It can be synchronously stored into storage server 300 by the way of TCP connections.Application server 100 is additionally operable to receive storage
The storage state for the synchronous service data that server 300 returns(Storage achievement obtains storage failure), generate corresponding response message
And return it into.
It should be noted that the business datum that application server 100 generates can be both comprising synchronous service data or comprising different
Walk business datum.In the present embodiment, application server 100 receives depositing for the synchronous service data that storage server 300 returns
Storage state, the operation for generating corresponding response message and returning it into deliver a packet to queue management with being connected by UDP
The operation of system 200 is asynchronous operation, that is to say, that application server 100 delivers a packet to queue pipe by UDP connections
Reason system 200 does not interfere with it and generates the process of response message corresponding with the storage state of synchronous service data.
Buffer queue is provided with queue management system 200.Buffer queue has the data structure feature of first in first out.
In the present embodiment, queue management system 200 can be used for the asynchronous service that will be received by the way of multithreading
Data are added to the head of the queue of buffer queue, and extract synchronous service data from the tail of the queue of buffer queue, are sent to storage service
Device 300.
That is, can run addition thread in queue management system 200 and take out thread, addition thread is used for will be logical
Cross the synchronous service data received and be added to head of the queue;Thread is taken out to be used to extract asynchronous service number from the tail of the queue of buffer queue
According to.And addition thread and taking-up thread can asynchronous operations.
Storage server 300 can be based on database, file system or other storage devices.Storage server 300 receives
Can be by its persistent storage after to synchronous service data.
In one embodiment, as shown in Fig. 2 queue management system 200 also includes join the team server 220, queue storage
Device 240 and go out group server 260.
In the present embodiment, application server 100 is additionally operable to synchronous service data by UDP linkup transmits to entering team uniform
Business device 220.
The synchronous service data that server 220 is additionally operable to receive of joining the team is added in queue memory 240.
Preferably, server 220 of joining the team is deposited for the synchronous service data received to be added into queue by TCP connections
In reservoir 240.
In the present embodiment, application server 100 can be used for synchronous service data is sent to join the team server 220 it
Before, synchronous service data is encapsulated with default data format.Preferably, application server 100 can be used for passing through default data
Form is timestamp when synchronous service data sets when generating or sent.Server 220 of joining the team receives by UDP connections
First cached after synchronous service data after encapsulation and then by the synchronous service data in caching according to its corresponding time
Stamp sequence, and it is passed through into TCP linkup transmits to queue memory 240 in order.
In the present embodiment, server 220 of joining the team can be connected with multiple application servers 100.Due to UDP transmission means meetings
Cause the order of packet chaotic, therefore, timestamp is set for synchronous service data, and be transferred to queue in a manner of TCP and deposit
Reservoir 240 can ensure the accuracy for the synchronous service data that application server 100 is sent.
Preferably, queue memory 240 can be the terminal device based on Redis storage systems.Redis be a key-
Value(key-value)Storage system.It support data type it is relatively more, including string (character string), list (chained list),
Set (set) and zset (ordered set).These data types all support push/pop, add/remove and take common factor union and
Difference set and more rich operation, and these operations are all atomicities.On this basis, Redis supports various different modes
Sequence.For guaranteed efficiency, data are buffered in internal memory.Holding for buffer queue can be improved using Redis storage systems
Line efficiency, improve processing speed.
In the present embodiment, go out group server 260 to be additionally operable to by extracting synchronous service data in queue memory 240, and
The synchronous service data extracted is sent to storage server 300
Preferably, go out group server 260 to can be used for initiating data retrieval request, queue memory to queue memory 240
240 are additionally operable to extract synchronous service data according to data retrieval request, and go out group server 260 corresponding to sending it to.
Go out the asynchronous service that group server 260 can be used for receiving queue memory 240 to be extracted by the tail of the queue of buffer queue
Data.In one embodiment, go out group server 260 can have it is multiple.As it was previously stated, synchronous service data can be packaged into
Default data format, it is preferred that can ease up in data format comprising storage location, storage format corresponding to synchronous service data
Deposit the information such as position.Going out group server 260 can be according to the storage location defined in the data format, storage format and cache bit
The corresponding storage server 300 of selection is put to be stored.
In one embodiment, storage server 300 can be additionally used in the storage state for obtaining storage synchronous service data, and
Storage state is sent and provides team uniform business device 260.
Go out the storage state that group server 260 can also be used to record synchronous service data.
In one embodiment, data-storage system 10 may also include caching server(Do not indicated in figure), application service
Device 100 can be used for the synchronous service data of generation is stored into caching server to and obtained corresponding data buffer storage mark.Can
By data buffer storage mark, its corresponding synchronous service data is taken out in inquiry in caching server.
In the present embodiment, application server 100 and the transmission of server 220 of joining the team, store in queue memory 240
And it can be the synchronous service data being actually stored in caching server to go out the synchronous service data that group server 260 extracts
Corresponding data buffer storage mark.Go out group server 260 receive the data buffer storage mark after, can be identified according to the data buffer storage
Inquiry obtains corresponding synchronous service data in caching server.
For example, application server 100 generates synchronous service data A(May be larger, it is the data of kb levels)Afterwards, can be deposited
Store up in caching server, and the data buffer storage mark a0001 returned.Application server 100 can be used for being encapsulated into
Default data format:[a0001,19:00:00, log, 192.168.1.120], wherein, 19:00:00 is generation asynchronous service
The timestamp of data, log are the storage class of synchronous service data, and 192.168.1.120 is the IP address for the database specified.
Then application server 100 sends the synchronous service data after encapsulating to server 220 of joining the team, server 220 of joining the team
It is added to after being sorted according to the timestamp in queue memory 240.Go out group server 260 to initiate to take to queue memory 240
Go out request, queue memory 240 takes out the synchronous service data, and sends to group server 260 is gone out, and goes out group server 260
Corresponding storage server 300 is then found according to IP address, and according to the log numbers in type log connections storage server 300
According to storehouse, a0001 synchronous service datas actual corresponding to it is taken out in caching server are then identified according to data buffer storage, and
It is stored in foregoing log databases.
In one embodiment, go out group server 260 to be additionally operable to initiate length of buffer queue inquiry to queue memory 240
Request, and the length of the buffer queue returned according to queue memory 240 is newly-built with the connection of queue memory 240.In this reality
Apply in example, go out group server 260 and can be used for periodically initiating length of buffer queue inquiry request to queue memory 240.
For example, length of buffer queue inquiry request can be initiated every 5 minutes to queue memory 240 by going out group server 260
The length of buffer queue is obtained, if the length is more than threshold value, the newly-built and connection of queue memory 240, for accelerating to postpone
Deposit extraction abnormal traffic data in queue.In another embodiment, can also be accelerated by way of adding out group server 260
Abnormal traffic data are extracted from buffer queue.
Preferably, can also alert if the length of buffer queue is more than threshold value.For example, SMS can be passed through
Server attendant is notified etc. mode.Server attendant can be group server 260 to add immediately after having notice
Add connection or add and multiple extra go out group server to load.
In one embodiment, as shown in figure 3, a kind of date storage method, based on aforementioned data storage system, the data
Storage system includes application server, queue management system and storage server, and this method includes:
Step S102, application server obtain access request, generate business datum according to access request, business datum includes
Synchronous service data.
Synchronous service data is sent to queue management system by step S104, application server by UDP connections.
The synchronous service data received is added in buffer queue by step S106, queue management system, and extracts slow
The synchronous service data in queue is deposited, sends it to storage server.
Step S108, the synchronous service data that storage server storage receives.
Application server can be web server, game server etc..User can be accessed by being sent to application server
Ask to carry out write operation.For example, if user has carried out a MMOG by network game client, playing
During, user can input game command by network game client, and the game command is encapsulated as by network game client
Access request is simultaneously sent to corresponding application server, so as to realize the interaction with other players.
Business datum is that the needs that application server generates according to the access request received store the data for arriving model layer.
Business datum may include synchronous service data and synchronous service data.
Synchronous service data are usually core data, it is necessary to synchronous storage is into model layer, and Holding Model layer returns
Storage state, that is, store success status or storing process abnormality.
Synchronous service data is usually noncore data, such as the daily record that application server generates according to access request is believed
Breath, statistical information etc..Synchronous mode is not strict with storage to synchronous service data, stores depositing for synchronous service data
Storage state need not return to client corresponding to access request in real time.
In one embodiment, may also include after the step of application server generates business datum according to access request:
Synchronous service data are sent to storage server by application server by TCP connections;Storage server storage connects
The synchronous service data received.
As above in example, user can control people's object angle in online game by the game command that network game client inputs
The attribute change of color, after application server receives corresponding access request, due to the people for needing to be generated according to access request
The storage state of the attribute change value of object angle color feeds back to network game client in time, and therefore, it is synchronous service data, can
It is synchronously stored into storage server by the way of TCP connections.The synchronous service number that storage server storage receives
According to the step of after, application server can also receive storage server return synchronous service data storage state(Store into
Fruit obtains storage failure), generate corresponding response message and return it into.
It should be noted that the business datum of application server generation both comprising synchronous service data or can include asynchronous industry
Business data.In the present embodiment, application server receives the storage state for the synchronous service data that storage server returns, generation
Corresponding response message and the operation returned it into are connected with by UDP to be delivered a packet to the operation of queue management system and is
Asynchronous operation, that is to say, that application server delivers a packet to queue management system by UDP connections and do not interfere with its life
Into the process of response message corresponding with the storage state of synchronous service data.
Buffer queue is provided with queue management system.Buffer queue has the data structure feature of first in first out.
In the present embodiment, queue management system can be added the synchronous service data received by the way of multithreading
Synchronous service data is extracted to the head of the queue of buffer queue, and from the tail of the queue of buffer queue, is sent to storage server.
That is, can run addition thread in queue management system and take out thread, addition thread is used to pass through
The synchronous service data received is added to head of the queue;Thread is taken out to be used to extract asynchronous service number from the tail of the queue of buffer queue
According to.And addition thread and taking-up thread can asynchronous operations.
Storage server can be based on database, file system or other storage devices.Storage server receives asynchronous
Can be by its persistent storage after business datum.
In one embodiment, queue management system also includes joining the team server, queue memory and goes out group server.
In the present embodiment, synchronous service data is sent to queue management system by application server by UDP connections
Step may include:
Synchronous service data is passed through UDP linkup transmits to server of joining the team by application server;Server of joining the team will also connect
The synchronous service data received is added in queue memory.
Preferably, the synchronous service data received is added in queue memory by server of joining the team by TCP connections.
In the present embodiment, application server can be before server of joining the team be sent to, with default by synchronous service data
Data format encapsulation synchronous service data.Preferably, application server can be asynchronous service number by default data format
Timestamp when being generated according to setting or when sending.Server of joining the team is receiving the asynchronous service number after encapsulating by UDP connections
According to first being cached afterwards and then by the synchronous service data in caching according to its corresponding timestamp ordering, and in order by it
Pass through TCP linkup transmits to queue memory.
In the present embodiment, server of joining the team can be connected with multiple application servers.Because UDP transmission means can cause to count
It is chaotic according to the order of bag, therefore, timestamp is set for synchronous service data, and be transferred to queue memory in a manner of TCP can
Ensure the accuracy for the synchronous service data that application server is sent.
Preferably, queue memory can be the terminal device based on Redis storage systems.Redis is a key-value
(key-value)Storage system.It support data type it is relatively more, including string (character string), list (chained list),
Set (set) and zset (ordered set).These data types all support push/pop, add/remove and take common factor union and
Difference set and more rich operation, and these operations are all atomicities.On this basis, Redis supports various different modes
Sequence.For guaranteed efficiency, data are buffered in internal memory.Holding for buffer queue can be improved using Redis storage systems
Line efficiency, improve processing speed.
In the present embodiment, the synchronous service data in queue management system extraction buffer queue, sends it to storage
The step of server can be specially:
Go out group server by extracting synchronous service data in queue memory, and obtained synchronous service data hair will be extracted
Deliver to storage server.
Preferably, data retrieval request can be initiated to queue memory by going out group server, and queue memory carries according to data
Request extraction synchronous service data is taken, and goes out group server corresponding to sending it to.
Go out the synchronous service data that group server can be extracted in receiving queue memory by the tail of the queue of buffer queue.One
In individual embodiment, go out group server can have it is multiple.As it was previously stated, synchronous service data can be packaged into default data lattice
Formula, it is preferred that storage location, storage format and cache location etc. corresponding to synchronous service data can be included in data format and is believed
Breath.Going out group server can select accordingly according to the storage location defined in the data format, storage format and cache location
Storage server is stored.
In one embodiment, may also include after the step of synchronous service data that storage server storage receives:
Storage server obtains the storage state of storage synchronous service data, and the storage state is returned and provides team uniform
Business device;Go out group storage state of server record synchronous service data.
In one embodiment, data-storage system may also include caching server.Application server can be by the different of generation
Step business datum stores into caching server and obtains corresponding data buffer storage mark.It can be identified and cached by data buffer storage
Its corresponding synchronous service data is taken out in inquiry in server.
In the present embodiment, application server, server of joining the team send, it is being stored in queue memory and go out team uniform
Business device extraction synchronous service data can be the synchronous service data being actually stored in caching server corresponding to data delay
Deposit mark.Go out group server receive the data buffer storage mark after, can according to the data buffer storage identify in caching server
Inquiry obtains corresponding synchronous service data.
For example, after application server generation synchronous service data A, can be stored in caching server, and returned
The data buffer storage mark a0001 returned.Application server can be encapsulated into default data format:[a0001,19:00:00,
Log, 192.168.1.120], wherein, 19:00:00 is generates the timestamp of synchronous service data, and log is synchronous service data
Storage class, 192.168.1.120 is the IP address for the database specified.Then application server by this encapsulate after it is asynchronous
Business datum is sent to server of joining the team, and server of joining the team is sent to queue memory after being sorted according to the timestamp.Go out
Team's server initiates to take out request to queue memory, and queue memory takes out the synchronous service data, and sends to going out team
Server, go out group server and corresponding storage server is then found according to IP address, and according to type log connection storage services
Log databases on device, then according to data buffer storage identify a0001 by it is taken out in caching server corresponding to reality it is asynchronous
Business datum, and be stored in foregoing log databases.
In one embodiment, go out group server and also initiate length of buffer queue inquiry request, and root to queue memory
The length of the buffer queue returned according to queue memory is newly-built with the connection of queue memory.In the present embodiment, team uniform business is gone out
Device periodically can initiate length of buffer queue inquiry request to queue memory.
Delay for example, going out group server and can initiate the acquisition of length of buffer queue inquiry request to queue memory every 5 minutes
The length of queue is deposited, it is newly-built with the connection of queue memory if the length is more than threshold value, accelerate to extract from buffer queue different
Normal business datum.In another embodiment, can also accelerate to extract from buffer queue by way of adding out group server
Abnormal traffic data.
Preferably, can also alert if the length of buffer queue is more than threshold value.For example, SMS can be passed through
Server attendant is notified etc. mode.Server attendant can be group server addition to connect immediately after having notice
Connect or add and multiple extra go out group server to load.
Above-mentioned data-storage system and method, queue management system is sent to by way of UDP by synchronous service data,
Queue management system is added in buffer queue, then in order(Buffer queue is the order of first in first out)By caching team
Extract and be stored in storage server, and conventional art compared with TCP is directly by way of database connection in row, be
A kind of asynchronous mode, application server need to only handle synchronous service data and can return to response letter corresponding with access request
Breath, and without being blocked by the storing process of synchronous service data so that the processing speed of access request is accelerated, so as to carry
The high real-time of business processing.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access
Memory, RAM)Deng.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (8)
- A kind of 1. data-storage system, it is characterised in that including application server, queue management system and storage server, Wherein:The application server is used to obtain access request, and business datum, the business datum are generated according to the access request Including synchronous service data and synchronous service data;The application server is additionally operable to that the synchronous service data is sent into the queue management system by UDP connections;The queue management system is used to the synchronous service data received being added in buffer queue, and extracts the caching Synchronous service data in queue, send it to the storage server;The application server is additionally operable to that the synchronous service data are sent into the storage server by TCP connections;The storage server is used to store the synchronous service data received and synchronous service data.
- 2. data-storage system according to claim 1, it is characterised in that the queue management system is also included into team uniform Business device, queue memory;The application server is additionally operable to the synchronous service data passing through UDP linkup transmits to the server of joining the team;The server of joining the team is used to the synchronous service data received being added in the queue memory.
- 3. data-storage system according to claim 2, it is characterised in that the queue management system also includes team uniform Be engaged in device, it is described go out group server be used for by extracting synchronous service data, and the asynchronous industry that will be extracted in the queue memory Business data are sent to the storage server.
- 4. data-storage system according to claim 3, it is characterised in that the storage server is additionally operable to obtain storage The storage state of the synchronous service data, by the storage state return to it is described go out group server;It is described go out group server be additionally operable to record the storage state of the synchronous service data.
- 5. a kind of date storage method, this method is based on the data-storage system described in claim 1, it is characterised in that the party Method includes:The application server obtains access request, generates business datum according to the access request, the business datum includes Synchronous service data and synchronous service data;The synchronous service data is sent to the queue management system by the application server by UDP connections;The synchronous service data received is added in buffer queue by the queue management system, and extracts the buffer queue In synchronous service data, send it to the storage server;The synchronous service data are sent to the storage server by the application server by TCP connections;The synchronous service data and synchronous service data that the storage server storage receives.
- 6. date storage method according to claim 5, it is characterised in that the queue management system is also included into team uniform Business device, queue memory;The step of synchronous service data is sent to the queue management system by the application server by UDP connections is wrapped Include:The synchronous service data is passed through UDP linkup transmits to the server of joining the team by the application server;The synchronous service data received is added in the queue memory by the server of joining the team.
- 7. date storage method according to claim 6, it is characterised in that the queue management system also includes team uniform Business device;The queue management system extracts the synchronous service data in the buffer queue, sends it to the storage server The step of be:It is described go out group server by extracting synchronous service data in the queue memory, and by the asynchronous industry extracted and obtained Business data are sent to the storage server.
- 8. date storage method according to claim 7, it is characterised in that the storage server storage receives different Also include after the step of walking business datum:The storage server obtains the storage state for storing the synchronous service data, and by described in storage state return Go out group server;It is described go out synchronous service data described in group server record storage state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310153124.9A CN104125252B (en) | 2013-04-27 | 2013-04-27 | Data-storage system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310153124.9A CN104125252B (en) | 2013-04-27 | 2013-04-27 | Data-storage system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104125252A CN104125252A (en) | 2014-10-29 |
CN104125252B true CN104125252B (en) | 2017-12-01 |
Family
ID=51770516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310153124.9A Active CN104125252B (en) | 2013-04-27 | 2013-04-27 | Data-storage system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104125252B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601562B (en) * | 2015-01-04 | 2017-12-22 | 福建天晴数码有限公司 | The exchange method and system of game server and database |
RU2656228C9 (en) * | 2017-06-13 | 2019-04-16 | Олег Ростиславович Михайлов | WEAKLY CRYSTALLISED β-MODIFICATION OF (S)-ISOPROPYL 2-((S)-(((2R,3R,4R,5R)-5-(2,4-DIOXO-3,4-DIHYDROPYRIMIDIN-(2H)-YL)-4-FLUORO-3-HYDROXY-4-METHYLTETRAHYDROFURAN-2-YL)METHOXY)-(PHENOXY)PHOSPHORYLAMINO)PROPANOATE, METHOD FOR PRODUCTION THEREOF AND PHARMACEUTICAL COMPOSITION BASED THEREON |
CN108259269A (en) * | 2017-12-30 | 2018-07-06 | 上海陆家嘴国际金融资产交易市场股份有限公司 | The monitoring method and system of the network equipment |
CN109819044A (en) * | 2019-02-20 | 2019-05-28 | 深圳市显控科技股份有限公司 | Remote data acquisition method, apparatus, equipment and storage medium |
CN111311450B (en) * | 2020-02-28 | 2024-03-29 | 重庆百事得大牛机器人有限公司 | Big data management platform and method for legal consultation service |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101808121A (en) * | 2010-02-24 | 2010-08-18 | 深圳市五巨科技有限公司 | Method and device for writing server log of mobile terminal into database |
CN102694693A (en) * | 2012-06-28 | 2012-09-26 | 上海寰创通信科技股份有限公司 | Log recording method of network management system |
CN102946376A (en) * | 2011-11-29 | 2013-02-27 | Ut斯达康通讯有限公司 | Method for implementing asynchronous communication |
-
2013
- 2013-04-27 CN CN201310153124.9A patent/CN104125252B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101808121A (en) * | 2010-02-24 | 2010-08-18 | 深圳市五巨科技有限公司 | Method and device for writing server log of mobile terminal into database |
CN102946376A (en) * | 2011-11-29 | 2013-02-27 | Ut斯达康通讯有限公司 | Method for implementing asynchronous communication |
CN102694693A (en) * | 2012-06-28 | 2012-09-26 | 上海寰创通信科技股份有限公司 | Log recording method of network management system |
Also Published As
Publication number | Publication date |
---|---|
CN104125252A (en) | 2014-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104125252B (en) | Data-storage system and method | |
CN106502902B (en) | Web page operational efficiency monitoring method and device | |
US8266274B2 (en) | Method and apparatus for data processing | |
CN102130838B (en) | Method for realizing peer-to-peer network caching system based on Ares protocol | |
CN103338249B (en) | Caching method and device | |
CN101179435B (en) | Method of active push network management event and network management system | |
CN105306585B (en) | A kind of method of data synchronization of multiple data centers | |
CN103312624B (en) | A kind of Message Queuing Services system and method | |
CN106815112A (en) | A kind of mass data monitoring system and method based on deep-packet detection | |
CN101174972A (en) | System and method for analysis data collection and statistics | |
CN103488717B (en) | Lock-free data gathering method and lock-free data gathering device | |
CN104899161B (en) | A kind of caching method of the continuous data protection based on cloud storage environment | |
CN108809855A (en) | Information management method, device and electronic equipment | |
CN108287905A (en) | A kind of extraction of network flow feature and storage method | |
CN107613529A (en) | Message treatment method and base station | |
CN107864101A (en) | Load-balancing method and device | |
CN107333166A (en) | The method for robbing virtual present, device and equipment based on internet | |
CN108121776A (en) | A kind of method for reading data and device | |
CN107783881A (en) | Website dynamic property monitoring method and system based on memory queue | |
CN105933325A (en) | Kernel mode RPC (Remote Procedure CALL) communication acceleration method based on NFSoRDMA (Network File System over Remote Direct Memory Access) | |
CN105893429A (en) | Method and system for optimizing WEB cache | |
CN108345621A (en) | A kind of data account checking method, system and data system | |
CN103577577A (en) | Method, device and system for storing database logs | |
CN103067467A (en) | Cache method and cache device | |
CN104166820B (en) | A kind of data managing 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |